From: Stefan Vollmar <vollmar@nf.mpg.de>
To: mailing-list-org-mode Mode <emacs-orgmode@gnu.org>
Subject: Fwd: Redefining M-<tab>
Date: Thu, 22 Apr 2010 10:02:58 +0200 [thread overview]
Message-ID: <8256F2F0-B9BC-4101-ACE3-C92976819D30@nf.mpg.de> (raw)
In-Reply-To: 1AE3C9A5-BE44-43D9-93D1-7F28D09371C5@nf.mpg.de
[-- Attachment #1.1: Type: text/plain, Size: 1779 bytes --]
Dear all,
my snippet does work as it should, I had tried it on an already open Org-mode buffer in which case org-mode-hook is not called again (I think) - after restarting Emacs now everything works fine.
Sorry for the noise.
Warm regards,
Stefan
Begin forwarded message:
> From: Stefan Vollmar <vollmar@nf.mpg.de>
> Date: 22. April 2010 09:45:13 MESZ
> To: mailing-list-org-mode Mode <emacs-orgmode@gnu.org>
> Subject: [Orgmode] Redefining M-<tab>
>
> Hallo,
>
> I want to globally use M-<tab> to cycle between buffers (using a function by Xah Lee). It works fine except when in Org-mode where this key is bound to org-complete in org.el. I have tried:
>
> (add-hook 'org-mode-hook
> (lambda ()
> (define-key org-mode-map [(meta tab)] 'previous-user-buffer)))
>
> unfortunately, the original Org-mode setting prevails. What is going wrong?
>
> Many thanks in advance.
> Warm regards,
> Stefan
> --
> Dr. Stefan Vollmar, Dipl.-Phys.
> Head of IT group
> Max-Planck-Institut für neurologische Forschung
> Gleuelerstr. 50, 50931 Köln, Germany
> Tel.: +49-221-4726-213 FAX +49-221-4726-298
> Tel.: +49-221-478-5713 Mobile: 0160-93874279
> Email: vollmar@nf.mpg.de http://www.nf.mpg.de
>
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
--
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
Email: vollmar@nf.mpg.de http://www.nf.mpg.de
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5513 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2010-04-22 8:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 7:45 Redefining M-<tab> Stefan Vollmar
2010-04-22 8:02 ` Stefan Vollmar [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=8256F2F0-B9BC-4101-ACE3-C92976819D30@nf.mpg.de \
--to=vollmar@nf.mpg.de \
--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).