emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rémi Vanicat" <vanicat@debian.org>
To: emacs-orgmode@gnu.org
Subject: Re: Org Contacts, Gnus and Yasnippet Not Playing Nicely
Date: Tue, 24 May 2011 17:50:03 +0200	[thread overview]
Message-ID: <87oc2sp07o.dlv@debian.org> (raw)
In-Reply-To: 4DDBB3A3.5090707@manor-farm.org

Ian Barton <lists@manor-farm.org> writes:

> On 24/05/11 11:21, Tassilo Horn wrote:
>> Ian Barton<lists@manor-farm.org>  writes:
>>
>> Hi Ian,
>>
>>> I am trying to set up Org Contacts and gnus. Org Contacts suggests
>>> that pressing +<Tab>  in the To: field in a message buffer should
>>> offer a list of tags from my contacts file. However, I just get a Tab.
>>>

[...]

>
> Thanks Tassilo. I am using Emacs 23.2.1. `C-h k TAB' shows:
>
> TAB (translated from <tab>) runs the command yas/expand, which is an

[...]


For those (like me) that stay with old Emacs 23, this will fix it:

#+begin_src emacs-lisp
  (defun set-yas/fallback-behavior ()
    (setq yas/fallback-behavior '(apply completion-at-point)))
  
  (add-hook 'message-mode-hook 'set-yas/fallback-behavior)
#+end_src


-- 
Rémi Vanicat

      reply	other threads:[~2011-05-24 15:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 17:32 Org Contacts, Gnus and Yasnippet Not Playing Nicely Ian Barton
2011-05-23 17:57 ` Maurice
2011-05-24 10:21 ` Tassilo Horn
2011-05-24 13:33   ` Ian Barton
2011-05-24 15:50     ` Rémi Vanicat [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oc2sp07o.dlv@debian.org \
    --to=vanicat@debian.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).