From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: italics and fill paragraph behavior Date: Fri, 18 Jul 2008 07:44:07 -0700 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v924) 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 1KJrBx-0000Na-4s for emacs-orgmode@gnu.org; Fri, 18 Jul 2008 10:44:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJrBv-0000Lx-BT for emacs-orgmode@gnu.org; Fri, 18 Jul 2008 10:44:16 -0400 Received: from [199.232.76.173] (port=52878 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJrBv-0000Lp-6b for emacs-orgmode@gnu.org; Fri, 18 Jul 2008 10:44:15 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:11850) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJrBu-0001K4-LL for emacs-orgmode@gnu.org; Fri, 18 Jul 2008 10:44:14 -0400 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: Rustom Mody Cc: emacs-orgmode@gnu.org On Jul 18, 2008, at 1:26 AM, Rustom Mody wrote: > 1. When I ue italics with /something in italics/ and the text spans > across multile lines org arbitrarily does from italics into roman and > back ( in a way which I cannot fathom). By default Org looks only for a max of two lines for emphasis. You can change this by customizing the variable org-emphasis-regexp- components, the last element gives the max number of lines you want to allow. A restart of Emacs maybe required after you changed this before it becomes effective. Also, generally font-lock can have problems with font lock expressions that span multiple lines while you type them. For example, when you type /bkjkkjjk .... text including one newline .... lkjflkjsl/ font-lock fails to see this. Do M-x font-lock-fontify-buffer to fix such cases. Next time you open the buffer, font-lock does look at the entire buffer and finds such multiline locations. > Is there some other prefered way for multiline italics? You can use @ .... @ if you are only interested in italics for HTML export, but I do not think this is a "preferred" way. > 2. M-q (fill-paragraph) messes up paragraphs which have lines ending > in '\\' ie it joins lines ending \\ to the next and the \\ stops > acting Yes, this is a problem I do not know how to fix. - Carsten