emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: Bernt Hansen <bernt@norang.ca>, Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: M-S-RET doesn't work anymore?
Date: Wed, 23 Jan 2019 21:50:01 +0100	[thread overview]
Message-ID: <84va2fhzeu.fsf@gmail.com> (raw)
In-Reply-To: 87y37bup0p.fsf@norang.ca

Hi!

> I regularly create checkbox lists on the fly with
>
> 1. [ ] blah and M-S-RET to create  the second entry
>
> 2. [ ] 

I can confirm this.

> But the checkbox is missing today.  Has this functionality changed?
>
> I am running the latest master from git on windows emacs 25.1

I guess the new behavior is due to commit 8a1957d59201940613ee90be9ed0a49e70131f37.

#+begin_src diff
-(org-defkey org-mode-map (kbd "S-<return>") #'org-table-copy-down)
-(org-defkey org-mode-map (kbd "M-S-<return>") #'org-insert-todo-heading)
-(org-defkey org-mode-map (kbd "ESC S-<return>") #'org-insert-todo-heading)
+(org-defkey org-mode-map (kbd "S-RET>") #'org-table-copy-down)
+(org-defkey org-mode-map (kbd "M-S-RET") #'org-insert-todo-heading)
+(org-defkey org-mode-map (kbd "ESC S-RET") #'org-insert-todo-heading)
#+end_src

I think you could use M-S-C-m with the current code.

As a workaround you can evaluate the lines (that were active before the
commit)

(org-defkey org-mode-map (kbd "S-<return>") #'org-table-copy-down)
(org-defkey org-mode-map (kbd "M-S-<return>") #'org-insert-todo-heading)
(org-defkey org-mode-map (kbd "ESC S-<return>") #'org-insert-todo-heading)

or put them into your init file AFAICS.

Is this a reliable fix to add these lines to the source code again?
To be honest I don't see clearly.


Ciao,
     Marco

  parent reply	other threads:[~2019-01-23 20:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-23 19:56 M-S-RET doesn't work anymore? Bernt Hansen
2019-01-23 20:44 ` Kaushal Modi
2019-01-23 20:50 ` Marco Wahl [this message]
2019-01-23 21:04   ` Kaushal Modi
2019-01-24 13:19     ` Nicolas Goaziou
2019-01-24 14:27       ` Bernt Hansen
2019-01-24 19:47     ` Kévin Le Gouguec
2019-01-24  0:37   ` Amin Bandali
2019-01-24  1:43     ` Kaushal Modi

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=84va2fhzeu.fsf@gmail.com \
    --to=marcowahlsoft@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).