From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Li Subject: Re: [Bug] M-S Ret keybinding translated to M-Ret Date: Thu, 08 Feb 2018 05:06:00 +0000 Message-ID: References: <87shad3kll.fsf@fastmail.fm> <878tc4iibv.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejePV-0002PX-0b for emacs-orgmode@gnu.org; Thu, 08 Feb 2018 00:06:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejePT-0007KL-VA for emacs-orgmode@gnu.org; Thu, 08 Feb 2018 00:06:12 -0500 Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]:44605) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ejePT-0007KF-Qo for emacs-orgmode@gnu.org; Thu, 08 Feb 2018 00:06:11 -0500 Received: by mail-qt0-x230.google.com with SMTP id f18so4538581qth.11 for ; Wed, 07 Feb 2018 21:06:11 -0800 (PST) In-Reply-To: <878tc4iibv.fsf@fastmail.fm> 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 List On Wed, Feb 7, 2018 at 1:47 PM Matt Lundin wrote: > Matt Lundin writes: > > I discovered that when trying to insert a new item with a checkbox usin= g > > 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. I'm pretty sure your patch would break those binding in terminal Emacs completely, since cannot be typed in the terminal and Emacs does not remap these bindings. Furthermore, I cannot reproduce your issue on Org mode version 9.1.6 (9.1.6-33-g5b4a71-elpaplus) C-h C-k M-S- runs the command org-insert-todo-heading (found in org-mode-map), which is an interactive compiled Lisp function in =E2=80=98org.el=E2=80=99. It is bound to . (org-insert-todo-heading ARG &optional FORCE-HEADING)