[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how to change the headline starter *

From: Bastien
Subject: Re: [O] how to change the headline starter *
Date: Mon, 25 Jul 2011 23:33:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Carsten,

Carsten Dominik <address@hidden> 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 ()
  (org-cycle t))

(defun org-cycle-local ()
    (move-beginning-of-line nil)

(global-set-key (kbd "C-M-]") 'org-cycle-global)
(global-set-key (kbd "M-]") 'org-cycle-local)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]