emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <jean.christophe.helary@gmail.com>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: keybindings again...
Date: Fri, 30 Jun 2017 11:42:15 +0900	[thread overview]
Message-ID: <A29F8BFF-C831-497D-A0FE-86020EDB2957@gmail.com> (raw)

I'm using emacs built from master, emacs -nw, after moving .emacs.el and .emacs.d away, on OSX 10.12.


I'm trying to assign M-S-RET to org-insert-todo-heading because for some reason it is not assigned by default: every time I hit ESC S-RET I get ESC RET only.

So, I tried things from
http://ergoemacs.org/emacs/keystroke_rep.html

First, this works fine:
(global-set-key (kbd "M-b") 'org-insert-todo-heading)

But this doesn't:
(global-set-key (kbd "M-<return>") 'org-insert-todo-heading)

What I get here is the old M-return = org-insert-heading.

What is the problem here ?

Jean-Christophe 

             reply	other threads:[~2017-06-30  2:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-30  2:42 Jean-Christophe Helary [this message]
2017-06-30  2:51 ` keybindings again Kaushal Modi
2017-06-30  5:10   ` Jean-Christophe Helary
2017-06-30  5:27     ` Nicolas Goaziou
2017-06-30  7:23       ` Jean-Christophe Helary
2017-06-30 22:08         ` Emanuel Berg
2017-06-30  7:56       ` Jean-Christophe Helary
2017-06-30  8:14         ` Nicolas Goaziou
2017-06-30  8:40           ` Jean-Christophe Helary
2017-06-30  9:56             ` Michael Ax
2017-06-30  5:33     ` Kaushal Modi
2017-06-30  6:17     ` Eli Zaretskii
2017-06-30  7:28       ` Jean-Christophe Helary
2017-06-30  6:22     ` Yuri Khan
2017-06-30 21:55     ` Emanuel Berg
2017-07-01  0:00       ` Emanuel Berg

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=A29F8BFF-C831-497D-A0FE-86020EDB2957@gmail.com \
    --to=jean.christophe.helary@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=help-gnu-emacs@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).