From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Schmidt Subject: Re: [bug] orgstruct has suddenly become overly opinionated about legal keystrokes Date: Fri, 22 Feb 2013 17:11:59 +0000 (GMT) Message-ID: <871uc88e8q@ch.ristopher.com> References: <87wqu0jnlf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8wAL-0002Hg-I3 for emacs-orgmode@gnu.org; Fri, 22 Feb 2013 12:12:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8wAH-0001Bd-J2 for emacs-orgmode@gnu.org; Fri, 22 Feb 2013 12:12:09 -0500 Received: from ristopher.com ([146.185.21.93]:57534 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8wAH-0001Ao-62 for emacs-orgmode@gnu.org; Fri, 22 Feb 2013 12:12:05 -0500 In-Reply-To: <87wqu0jnlf.fsf@gmail.com> (Eric Schulte's message of "Fri, 22 Feb 2013 09:54:36 -0700") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Eric Schulte writes: > I use orgstruct mode in my message mode, so that I may easily include > tables and lists when writing and responding to mail. orgstruct-mode does not help you with tables. That is orgtbl-mode. > This week, I've suddenly noticed that when I press meta-RET in message >mode with orgstruct mode enabled, Org-struct returns the error > > orgstruct-error: This key has no function outside structure elements > > However, orgstruct should (and used to) just pass this key combo > through to the underlying major mode. orgstruct-mode tries to but does not find an appropriate key binding. Does this patch help? (Apply and restart Emacs.) --=-=-= Content-Type: text/x-diff Content-Disposition: inline --- a/lisp/org.el +++ b/lisp/org.el @@ -8621,7 +8621,7 @@ buffer. It will also recognize item context in multiline items." (where-is-internal f outline-mode-map))) ;; TODO use local-function-key-map (dolist (rep '(("" . "TAB") - ("" . "RET") + ("" . "RET") ("" . "ESC") ("" . "DEL"))) (setq binding (read-kbd-macro (replace-regexp-in-string --=-=-= Content-Type: text/plain > This is new behavior as of the last couple of weeks. That's my fault. I am sorry. Christopher --=-=-=--