emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: orgmode <orgmode@h-rd.org>
To: emacs-orgmode@gnu.org
Subject: Re: problems with org and pabbrev
Date: Wed, 10 Feb 2016 12:47:42 +0100	[thread overview]
Message-ID: <8ff504f9e01131fda8a7bcb2f2cc97e0@h-rd.org> (raw)
In-Reply-To: <87pow5x4pr.fsf@delle7240.chemeng.ucl.ac.uk>

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	other threads:[~2016-02-10 11:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-09 14:43 problems with org and pabbrev orgmode
2016-02-09 15:50 ` Eric S Fraga
2016-02-10 11:47   ` orgmode [this message]
2016-02-10 16:22     ` Eric S Fraga

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=8ff504f9e01131fda8a7bcb2f2cc97e0@h-rd.org \
    --to=orgmode@h-rd.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).