From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: how to change the headline starter * Date: Mon, 25 Jul 2011 23:33:45 +0200 Message-ID: <87fwluhwp2.fsf@gnu.org> References: <1240511841.2591431310664738370.JavaMail.root@zimbra29-e5.priv.proxad.net> <6820.1310666504@alphaville.americas.hpqcorp.net> <616D63EE-FB0A-4A33-8DB2-4A241A4AE45A@gmail.com> <87bowujunf.fsf@altern.org> <28E8C3C2-BF94-4072-88DB-88CD05EB775C@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlSmD-00041Z-FV for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 17:33:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlSmC-0004D9-JL for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 17:33:25 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:46303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlSmC-0004D5-Dd for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 17:33:24 -0400 Received: by wyg36 with SMTP id 36so3742779wyg.0 for ; Mon, 25 Jul 2011 14:33:23 -0700 (PDT) In-Reply-To: <28E8C3C2-BF94-4072-88DB-88CD05EB775C@gmail.com> (Carsten Dominik's message of "Tue, 19 Jul 2011 07:16:26 +0200") 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: Carsten Dominik Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, harven@free.fr Hi Carsten, Carsten Dominik writes: >> This confirms my intuition that the "*" should be hardcoded. > > One argument against hardcoding would be that you can use org-cycle > in other modes, with outline-minor-mode, and I think a number of people > make use of this. Yes, I confirm this is (partly) broken. I use this in emacs-lisp-mode: #+begin_src emacs-lisp (defun org-cycle-global () (interactive) (org-cycle t)) (defun org-cycle-local () (interactive) (save-excursion (move-beginning-of-line nil) (org-cycle))) (global-set-key (kbd "C-M-]") 'org-cycle-global) (global-set-key (kbd "M-]") 'org-cycle-local) #+end_src org-cycle-local still works, but org-cycle-global doesn't anymore. I'll try to look at this. > Of cause, if indeed an interesting speed bump can be achieved, we > can provide a stand-alone org-cycle, maybe even integrate it into > outline-mode itself. Yes, this makes sense to have this in outline-mode rather than in org-mode. -- Bastien