From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ed Hirgelt" Subject: Blank lines between bullet items Date: Wed, 13 Sep 2006 13:22:36 -0700 Message-ID: <44d0d9630609131322v2fd8e178hc904624e0b8d0398@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2018999519==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNbFn-0000Tv-2Y for emacs-orgmode@gnu.org; Wed, 13 Sep 2006 16:22:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNbFl-0000Ti-QE for emacs-orgmode@gnu.org; Wed, 13 Sep 2006 16:22:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNbFl-0000Tf-L1 for emacs-orgmode@gnu.org; Wed, 13 Sep 2006 16:22:37 -0400 Received: from [64.233.162.207] (helo=nz-out-0102.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GNbHY-0005d8-MN for emacs-orgmode@gnu.org; Wed, 13 Sep 2006 16:24:28 -0400 Received: by nz-out-0102.google.com with SMTP id z31so1114503nzd for ; Wed, 13 Sep 2006 13:22:36 -0700 (PDT) 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: Carsten Dominik Cc: emacs-orgmode --===============2018999519== Content-Type: multipart/alternative; boundary="----=_Part_21131_31217861.1158178956608" ------=_Part_21131_31217861.1158178956608 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I find that I prefer a blank line between items in plain lists. org-insert-item doesn't do that. The following patch remedies that under the control of a customization option. Feel free to incorporate this into a release if you think others would find it useful. *** org.el Fri Sep 8 11:49:10 2006 --- /c/hirged/recentElisp/org/org.el Wed Sep 13 13:13:36 2006 *************** *** 463,468 **** --- 463,474 ---- :group 'org-plain-lists :type 'boolean) + (defcustom org-blank-before-bullet t + "Non-nil means to insert an extra blank before bullet items created with + \\[org-insert-item]." + :group 'org-plain-lists + :type 'boolean) + (defcustom org-provide-checkbox-statistics t "Non-nil means, update checkbox statistics after insert and toggle. When this is set, checkbox statistics is updated each time you either insert *************** *** 3834,3840 **** (open-line 1)) ((<= (point) eow) (beginning-of-line 1)) ! (t (newline))) (insert bul (if checkbox "[ ]" "")) (just-one-space) (setq pos (point)) --- 3840,3846 ---- (open-line 1)) ((<= (point) eow) (beginning-of-line 1)) ! (t (newline (if org-blank-before-bullet 2 1)))) (insert bul (if checkbox "[ ]" "")) (just-one-space) (setq pos (point)) Thanks, Ed -- Ed Hirgelt Discovery consists of seeing what everybody has seen and thinking what nobody has thought. ------=_Part_21131_31217861.1158178956608 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I find that I prefer a blank line between items in plain lists.  org-insert-item doesn't do that.  The following patch remedies that under the control of a customization option.  Feel free to incorporate this into a release if you think others would find it useful.


*** org.el    Fri Sep  8 11:49:10 2006
--- /c/hirged/recentElisp/org/org.el    Wed Sep 13 13:13:36 2006
***************
*** 463,468 ****
--- 463,474 ----
    :group 'org-plain-lists
    :type 'boolean)
 
+ (defcustom org-blank-before-bullet t
+   "Non-nil means to insert an extra blank before bullet items created with
+ \\[org-insert-item]."
+   :group 'org-plain-lists
+   :type 'boolean)
+
  (defcustom org-provide-checkbox-statistics t
    "Non-nil means, update checkbox statistics after insert and toggle.
  When this is set, checkbox statistics is updated each time you either insert
***************
*** 3834,3840 ****
      (open-line 1))
         ((<= (point) eow)
      (beginning-of-line 1))
!        (t (newline)))
        (insert bul (if checkbox "[ ]" ""))
        (just-one-space)
        (setq pos (point))
--- 3840,3846 ----
      (open-line 1))
         ((<= (point) eow)
      (beginning-of-line 1))
!        (t (newline (if org-blank-before-bullet 2 1))))
        (insert bul (if checkbox "[ ]" ""))
        (just-one-space)
        (setq pos (point))


Thanks,
Ed


--
Ed Hirgelt

Discovery consists of seeing what everybody has seen
and thinking what nobody has thought. ------=_Part_21131_31217861.1158178956608-- --===============2018999519== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============2018999519==--