From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: multiline description list, partial patch Date: Fri, 11 Sep 2009 05:49:35 +0200 Message-ID: <0C91519D-C1B7-47A0-98F0-C686B4FACD29@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mlx8v-0004CJ-6Z for emacs-orgmode@gnu.org; Thu, 10 Sep 2009 23:49:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mlx8q-0004Ae-Ms for emacs-orgmode@gnu.org; Thu, 10 Sep 2009 23:49:48 -0400 Received: from [199.232.76.173] (port=35133 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mlx8q-0004AZ-GC for emacs-orgmode@gnu.org; Thu, 10 Sep 2009 23:49:44 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:54412) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mlx8q-0006Jk-0C for emacs-orgmode@gnu.org; Thu, 10 Sep 2009 23:49:44 -0400 Received: by ewy7 with SMTP id 7so698626ewy.31 for ; Thu, 10 Sep 2009 20:49:43 -0700 (PDT) In-Reply-To: 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: Eric Schulte Cc: Org Mode Hi Eric, I am assuming you are trying to do something like this: - a very long description item :: here is the explanation This is not going to work properly with export. - Carsten On Sep 9, 2009, at 9:59 PM, Eric Schulte wrote: > Hi, > > I've noticed that the bold face isn't applied to multiline description > lists. This patch [1] partially fixes the problem, but for some > reason > I keep losing the bold. Any thoughts/ideas? > > On a related topic, I'd like to consistently indent my decision list > text, rather than sometimes moving back to the depth of the bold > portion, does anyone else feel similarly and is this supported? > > thanks -- Eric > > Footnotes: > [1] > diff --git a/lisp/org.el b/lisp/org.el > index 39ef466..ed8d776 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -4703,7 +4703,7 @@ between words." > '("\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\]" > (0 (org-get-checkbox-statistics-face) t))) > ;; Description list items > - '("^[ \t]*\\([-+*]\\|[0-9]+[.)]\\) +\\(.*? ::\\)" > + '("^[ \t]*\\([-+*]\\|[0-9]+[.)]\\) +\\(.*?\n?.*? ::\\)" > 2 'bold prepend) > ;; ARCHIVEd headings > (list (concat "^\\*+ \\(.*:" org-archive-tag ":.*\\)") > @@ -16272,7 +16272,7 @@ which make use of the date at the cursor." > (setq column (current-column))) > ((org-in-item-p) > (org-beginning-of-item) > - (looking-at "[ \t]*\\(\\S-+\\)[ \t]*\\(\\[[- X]\\][ \t]*\\|.*? :: \ > \)?") > + (looking-at "[ \t]*\\(\\S-+\\)[ \t]*\\(\\[[- X]\\][ \t]*\\|.*? > \n?.*? :: \\)?") > (setq bpos (match-beginning 1) tpos (match-end 0) > bcol (progn (goto-char bpos) (current-column)) > tcol (progn (goto-char tpos) (current-column)) > @@ -16372,7 +16372,7 @@ In particular, this makes sure hanging > paragraphs for hand-formatted lists > work correctly." > (cond ((looking-at "#[ \t]+") > (match-string 0)) > - ((looking-at "[ \t]*\\([-*+] .*? :: \\)") > + ((looking-at "[ \t]*\\([-*+] .*?\n?.*? :: \\)") > (save-excursion > (if (> (match-end 1) (+ (match-beginning 1) > org-description-max-indent)) > > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode