From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: S-M-right problem in orgstruct-mode Date: Sat, 09 Mar 2013 14:54:46 +0100 Message-ID: <87boasy8yh.fsf@bzg.ath.cx> References: <87ehfo3owk.fsf@bzg.ath.cx> <87boasg076@ch.ristopher.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEKEi-0000MP-GO for emacs-orgmode@gnu.org; Sat, 09 Mar 2013 08:55:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEKEc-0003OV-FU for emacs-orgmode@gnu.org; Sat, 09 Mar 2013 08:54:56 -0500 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:46168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEKEc-0003NJ-6M for emacs-orgmode@gnu.org; Sat, 09 Mar 2013 08:54:50 -0500 Received: by mail-we0-f172.google.com with SMTP id d46so2031515wer.31 for ; Sat, 09 Mar 2013 05:54:49 -0800 (PST) In-Reply-To: <87boasg076@ch.ristopher.com> (Christopher Schmidt's message of "Sat, 9 Mar 2013 13:41:13 +0000 (GMT)") 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: Christopher Schmidt Cc: emacs-orgmode@gnu.org Hi Christopher, Christopher Schmidt writes: > I agree. I will come up with a patch ASAP. Thanks! > ( 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. ) Beware that there are *many* commands conditionally called by org-metaright, org-metaleft, etc.: org-do-demote, org-do-promote and the like. It would be too much to make all these commands take the value of `orgstruct-heading-prefix-regexp' into account, even if we end up using a macro `org-with-heading-prefix-regexp' and calling these commands from within the macro. Perhaps accepting some limitations will be the right thing, not sure. Best, -- Bastien