From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Schmidt Subject: Re: S-M-right problem in orgstruct-mode Date: Sat, 9 Mar 2013 13:41:13 +0000 (GMT) Message-ID: <87boasg076@ch.ristopher.com> References: <87ehfo3owk.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEK1b-0006Ax-Q7 for emacs-orgmode@gnu.org; Sat, 09 Mar 2013 08:41:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEK1V-0007ZY-9G for emacs-orgmode@gnu.org; Sat, 09 Mar 2013 08:41:23 -0500 Received: from ristopher.com ([146.185.21.93]:60834 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEK1V-0007ZL-0y for emacs-orgmode@gnu.org; Sat, 09 Mar 2013 08:41:17 -0500 In-Reply-To: <87ehfo3owk.fsf@bzg.ath.cx> (Bastien's message of "Sat, 09 Mar 2013 10:26:03 +0100") 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 Bastien writes: > Alan Schmitt writes: > >> and do a shift-meta-right on the second line, I get: >> >> #+BEGIN_SRC emacs-lisp >> ;;; * Test 1 >> ****** Test2 >> #+END_SRC > > I confirm this issue. > > The easiest thing to do is to prevent some commands to run when > `orgstruct-mode' is on and `orgstruct-heading-prefix-regexp' is > non-nil. I agree. I will come up with a patch ASAP. ( In the long term this should be fixed properly. Considering that point is already on an actual headline, Org just needs to add or remove a star. This should not be too hard with org-heading-regexp. ) Christopher