Re: [O] change completion function in a headline in a minor mode

2015-07-17 Thread darc...@gmail.com
I don't know much lisp and Emacs completion framework details, but if you
use company-mode there's a nice article explaining how to create a new
company backend
http://sixty-north.com/blog/writing-the-simplest-emacs-company-mode-backend

There's also a second part improving the backend with extra information.

--
Darlan

Em qui, 16 de jul de 2015 23:52, Matt Price mopto...@gmail.com escreveu:

 Hi,

 I am thinking of turning my marking stuff into a minor mode (
 http://matt.hackinghistory.ca/2015/07/15/mailing-subtrees-with-attachments/).
 One feature that is missing from my current setup is a function that will
 let me use org-contacts-complete-name to complete names when I'm in certain
 headlines (level 2).  Does anyone know how to do that?  I don't understand
 the completion framework in emacs, looks so complicated...

 Thanks as always,
 m



[O] change completion function in a headline in a minor mode

2015-07-16 Thread Matt Price
Hi,

I am thinking of turning my marking stuff into a minor mode (
http://matt.hackinghistory.ca/2015/07/15/mailing-subtrees-with-attachments/).
One feature that is missing from my current setup is a function that will
let me use org-contacts-complete-name to complete names when I'm in certain
headlines (level 2).  Does anyone know how to do that?  I don't understand
the completion framework in emacs, looks so complicated...

Thanks as always,
m