emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* change completion function in a headline in a minor mode
@ 2015-07-17  2:51 Matt Price
  2015-07-17 13:20 ` darcamo
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Price @ 2015-07-17  2:51 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 625 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: change completion function in a headline in a minor mode
  2015-07-17  2:51 change completion function in a headline in a minor mode Matt Price
@ 2015-07-17 13:20 ` darcamo
  0 siblings, 0 replies; 2+ messages in thread
From: darcamo @ 2015-07-17 13:20 UTC (permalink / raw)
  To: Matt Price, Org Mode

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

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 <moptop99@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
>

[-- Attachment #2: Type: text/html, Size: 1425 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-17 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-17  2:51 change completion function in a headline in a minor mode Matt Price
2015-07-17 13:20 ` darcamo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).