emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] problems with org and pabbrev


From: orgmode
Subject: Re: [O] problems with org and pabbrev
Date: Wed, 10 Feb 2016 12:47:42 +0100
User-agent: Roundcube Webmail

Thanks very much.  The following line did the trick:

(define-key pabbrev-mode-map [tab] 'pabbrev-expand-maybe)

I set this after loading orgmode. It seems pabbrev uses \tab and not [tab]. or orgmode somehow overrides it, and it has to be set explicitly.



On 2016-02-09 16:50, Eric S Fraga wrote:
On Tuesday,  9 Feb 2016 at 15:43, orgmode wrote:
Hi,

somehow pabbrev mode doesn't work anymore with org, since I use org
from elpa.

after loading org, pabbrev is a minor mode, as indicated in the
modeline.

However <tab> runs the command org-cycle instead of
pabbrev-expand-maybe.

In my case, <tab> seems to work although I do refer to it as [tab] in my
initialisation code:

#+begin_src emacs-lisp
  (require 'pabbrev)
  (setq pabbrev-idle-timer-verbose nil
        pabbrev-read-only-error nil)
  (define-key pabbrev-mode-map [tab] 'pabbrev-expand-maybe)
  (add-hook 'text-mode-hook (lambda () (pabbrev-mode)))
#+end_src



reply via email to

[Prev in Thread] Current Thread [Next in Thread]