From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Blank lines between bullet items Date: Thu, 14 Sep 2006 12:12:19 +0200 Message-ID: References: <44d0d9630609131322v2fd8e178hc904624e0b8d0398@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNoT9-0005nw-2E for emacs-orgmode@gnu.org; Thu, 14 Sep 2006 06:29:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNoT5-0005mM-5i for emacs-orgmode@gnu.org; Thu, 14 Sep 2006 06:29:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNoT4-0005mH-N2 for emacs-orgmode@gnu.org; Thu, 14 Sep 2006 06:29:14 -0400 Received: from [64.233.182.187] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GNoUz-0008Ht-Qv for emacs-orgmode@gnu.org; Thu, 14 Sep 2006 06:31:14 -0400 Received: by nf-out-0910.google.com with SMTP id q29so2154129nfc for ; Thu, 14 Sep 2006 03:29:13 -0700 (PDT) In-Reply-To: <44d0d9630609131322v2fd8e178hc904624e0b8d0398@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ed Hirgelt Cc: emacs-orgmode On Sep 13, 2006, at 22:22, Ed Hirgelt wrote: > I find that I prefer a blank line between items in plain lists.=A0=20 > org-insert-item doesn't do that.=A0 The following patch remedies that=20= > under the control of a customization option.=A0 Feel free to = incorporate=20 > this into a release if you think others would find it useful. Thanks, this is a useful extension - I will take this, but modify so=20 that you can have the same for headlines as well. - Carsten > > > *** org.el=A0=A0=A0 Fri Sep=A0 8 11:49:10 2006 > --- /c/hirged/recentElisp/org/org.el=A0=A0=A0 Wed Sep 13 13:13:36 2006 > *************** > *** 463,468 **** > --- 463,474 ---- > =A0=A0=A0 :group 'org-plain-lists > =A0=A0=A0 :type 'boolean) > =A0 > + (defcustom org-blank-before-bullet t > +=A0=A0 "Non-nil means to insert an extra blank before bullet items=20 > created with > + \\[org-insert-item]." > +=A0=A0 :group 'org-plain-lists > +=A0=A0 :type 'boolean) > + > =A0 (defcustom org-provide-checkbox-statistics t > =A0=A0=A0 "Non-nil means, update checkbox statistics after insert and = toggle. > =A0 When this is set, checkbox statistics is updated each time you=20 > either insert > *************** > *** 3834,3840 **** > =A0 =A0=A0=A0 (open-line 1)) > =A0=A0=A0=A0=A0=A0=A0=A0 ((<=3D (point) eow) > =A0 =A0=A0=A0 (beginning-of-line 1)) > !=A0=A0=A0=A0=A0=A0=A0 (t (newline))) > =A0=A0=A0=A0=A0=A0=A0 (insert bul (if checkbox "[ ]" "")) > =A0=A0=A0=A0=A0=A0=A0 (just-one-space) > =A0=A0=A0=A0=A0=A0=A0 (setq pos (point)) > --- 3840,3846 ---- > =A0 =A0=A0=A0 (open-line 1)) > =A0=A0=A0=A0=A0=A0=A0=A0 ((<=3D (point) eow) > =A0 =A0=A0=A0 (beginning-of-line 1)) > !=A0=A0=A0=A0=A0=A0=A0 (t (newline (if org-blank-before-bullet 2 1)))) > =A0=A0=A0=A0=A0=A0=A0 (insert bul (if checkbox "[ ]" "")) > =A0=A0=A0=A0=A0=A0=A0 (just-one-space) > =A0=A0=A0=A0=A0=A0=A0 (setq pos (point)) > > > Thanks, > Ed > > > --=20 > Ed Hirgelt > > Discovery consists of seeing what everybody has seen > and thinking what nobody has thought. -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477