From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: [Bug] M-S Ret keybinding translated to M-Ret Date: Wed, 07 Feb 2018 15:46:28 -0600 Message-ID: <878tc4iibv.fsf@fastmail.fm> References: <87shad3kll.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejXY5-0001ty-DE for emacs-orgmode@gnu.org; Wed, 07 Feb 2018 16:46:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejXY0-0007O5-Gt for emacs-orgmode@gnu.org; Wed, 07 Feb 2018 16:46:37 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55021) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ejXY0-0007N1-9o for emacs-orgmode@gnu.org; Wed, 07 Feb 2018 16:46:32 -0500 Received: from archpad (wcnat-96-20.wheaton.edu [209.147.96.20]) by mail.messagingengine.com (Postfix) with ESMTPA id 7183F7E2E5 for ; Wed, 7 Feb 2018 16:46:29 -0500 (EST) In-Reply-To: <87shad3kll.fsf@fastmail.fm> (Matt Lundin's message of "Tue, 06 Feb 2018 14:54:14 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org Mode --=-=-= Content-Type: text/plain Matt Lundin writes: > I discovered that when trying to insert a new item with a checkbox using > M-S Return (org-insert-todo-heading), the keybinding is "translated" to > M-Return (org-meta-return). As a result, all I get is simple list item > without a checkbox. > The attached patch fixes this issue. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-return-bindings.patch >From 240caa630ef053a27536fe9c4725d0480dc4c570 Mon Sep 17 00:00:00 2001 From: Matt Lundin Date: Wed, 7 Feb 2018 15:45:45 -0600 Subject: [PATCH] Fix return bindings --- lisp/org.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 688e48bcc..133bf038a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -18859,11 +18859,11 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names." (define-key org-mode-map (kbd "") #'org-shifttab) ;;;; RET key with modifiers -(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) -(org-defkey org-mode-map (kbd "M-RET") #'org-meta-return) -(org-defkey org-mode-map (kbd "ESC RET") #'org-meta-return) +(org-defkey org-mode-map (kbd "S-") #'org-table-copy-down) +(org-defkey org-mode-map (kbd "M-S-") #'org-insert-todo-heading) +(org-defkey org-mode-map (kbd "ESC S-") #'org-insert-todo-heading) +(org-defkey org-mode-map (kbd "M-") #'org-meta-return) +(org-defkey org-mode-map (kbd "ESC ") #'org-meta-return) ;;;; Cursor keys with modifiers (org-defkey org-mode-map (kbd "M-") #'org-metaleft) -- 2.16.1 --=-=-=--