From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski (by way of Marcin Borkowski ) Subject: Re: Markup (blod for instance) over line breaks Date: Sun, 13 Oct 2013 22:22:47 +0200 Message-ID: <20131013222247.59a95700@aga-netbook> References: <903E805A-AF87-4B12-8A26-A19CBB4CAA93@gmail.com> <20131013213833.25a6d954@aga-netbook> <20088ECB-A097-4B42-BC3C-748313F4586C@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVSC2-0004Sb-Cz for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 16:23:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVSBy-0000CF-0s for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 16:23:14 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:55063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVSBx-0000C5-Po for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 16:23:09 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 044E84E1D2 for ; Sun, 13 Oct 2013 22:23:08 +0200 (CEST) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IO1r+r5MYv-P for ; Sun, 13 Oct 2013 22:23:07 +0200 (CEST) Received: from aga-netbook (99-52.echostar.pl [213.156.99.52]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 53B654E1CC for ; Sun, 13 Oct 2013 22:23:07 +0200 (CEST) In-Reply-To: <20088ECB-A097-4B42-BC3C-748313F4586C@gmail.com> Resent-Message-ID: <20131013222305.7568c580@aga-netbook> Resent-To: Org-mode mailing list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dror Atariah Dnia 2013-10-13, o godz. 21:58:20 Dror Atariah napisa=C5=82(a): >=20 > On Oct 13, 2013, at 21:38 PM, Marcin Borkowski wrote: >=20 > > Dnia 2013-10-13, o godz. 20:49:30 > > Dror Atariah napisa=C5=82(a): > >=20 > >> Dear org-moders, > >>=20 > >> It might be terribly simple, but I failed to find a solution. How > >> can I mark several words as bold (or emphasized or any similar > >> markup), in particular if the words spans over *more then one > >> line*? > >>=20 > >> A similar problem can occur when one is pasting a long line into an > >> org-mode buffer and then, after it is being broken into shorter > >> lines, you try to make it bold. > >>=20 > >> The documentation > >> (http://orgmode.org/org.html#Emphasis-and-monospace) states that > >> this kind of markup is aimed at words - so it might not support > >> sentences and in particular long ones... Is it correct? > >=20 > > Not really an answer, but does visual-line-mode help in your use > > case? > It does help. Doesn't org-mode has some sort of dedicated > line-breaking mechanism? How would you turn it into a complete > solution? Not that I know of. Basically, "lines" may be /visual/ (i.e., broken by the display engine at spaces etc., but the whole paragraph is one long line in the file) or /physical/ (i.e., with newline characters at the end of each line). In Emacs, you an use M-q to "fill" a paragraph (more or less, convert from visual to physical lines), and something along the lines of C-u 9 9 9 9 9 C-x f M-q to "unfill" a paragraph. (There are also "unfill" functions (quod google), though they are not part of stock Emacs.) There is an ongoing discussion on which is better, too long to repeat any of the arguments here. For a LaTeX-centric approach, see e.g. http://tex.stackexchange.com/questions/4376/good-strategy-for-line-breaks-w= ith-paragraphs-of-latex-source (note that Emacs's longline-mode was a predecessor of visual-line-mode). And indeed, bold/italic spanning more than a few words might not be a good idea. And in cases it is, it's problably better to define a specialized "environment" (in LaTeX lingo) - like one for theorems (which are often typeset in italics). > Best, > Dror Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University