[Top][All Lists]

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

Re: [Orgmode] Electric insert of headline stars

From: Bastien
Subject: Re: [Orgmode] Electric insert of headline stars
Date: Thu, 25 Oct 2007 12:29:36 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Hi Piotr,

"Piotr Zielinski" <address@hidden> writes:

> (defun local-org-insert-stars ()
>   (interactive)
>   (when (looking-back "^ *" (point-at-bol))

This should be "+", otherwise you get a message saying "Replaced 0
occurrence" when you insert a "*" at the beginning of the line.

Also remark that this is not suitable for people using "*" for list
items, although the manual suggests using "*" for list items is not 
a very good idea.

Anyway, i guess this might be useful for some people, thanks!


reply via email to

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