From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dror Atariah Subject: Markup (blod for instance) over line breaks Date: Sun, 13 Oct 2013 20:49:30 +0200 Message-ID: <903E805A-AF87-4B12-8A26-A19CBB4CAA93@gmail.com> Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: multipart/alternative; boundary=Apple-Mail-3--343955232 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVQjU-0006LT-QT for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 14:49:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVQjP-00006M-4w for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 14:49:40 -0400 Received: from mail-ea0-x233.google.com ([2a00:1450:4013:c01::233]:60145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVQjO-00006I-T3 for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 14:49:35 -0400 Received: by mail-ea0-f179.google.com with SMTP id b10so2948995eae.10 for ; Sun, 13 Oct 2013 11:49:33 -0700 (PDT) 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: emacs-orgmode@gnu.org --Apple-Mail-3--343955232 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Dear org-moders, 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*? 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. 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? Thanks in advance, Dror= --Apple-Mail-3--343955232 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Dear org-moders,

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*?

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.

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 particula r long ones... Is it correct?

Thanks in advance,
Dror
--Apple-Mail-3--343955232-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Markup (blod for instance) over line breaks Date: Sun, 13 Oct 2013 21:38:33 +0200 Message-ID: <20131013213833.25a6d954@aga-netbook> References: <903E805A-AF87-4B12-8A26-A19CBB4CAA93@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]:53478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVRUx-0004uq-FF for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 15:38:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVRUs-0004hl-NI for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 15:38:43 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:54041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVRUs-0004hR-Es for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 15:38:38 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id DCAE94E1D2 for ; Sun, 13 Oct 2013 21:38:34 +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 g-wyM9tTGbnK for ; Sun, 13 Oct 2013 21:38:34 +0200 (CEST) Received: from aga-netbook (99-52.echostar.pl [213.156.99.52]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id BA8394E1CC for ; Sun, 13 Oct 2013 21:38:34 +0200 (CEST) In-Reply-To: <903E805A-AF87-4B12-8A26-A19CBB4CAA93@gmail.com> 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: emacs-orgmode@gnu.org Dnia 2013-10-13, o godz. 20:49:30 Dror Atariah napisa=C5=82(a): > 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? Not really an answer, but does visual-line-mode help in your use case? > Thanks in advance, > Dror Hth, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dror Atariah Subject: Re: Markup (blod for instance) over line breaks Date: Sun, 13 Oct 2013 21:58:20 +0200 Message-ID: <20088ECB-A097-4B42-BC3C-748313F4586C@gmail.com> References: <903E805A-AF87-4B12-8A26-A19CBB4CAA93@gmail.com> <20131013213833.25a6d954@aga-netbook> Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVRo6-0000UU-Sl for Emacs-orgmode@gnu.org; Sun, 13 Oct 2013 15:58:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVRo0-0001i2-Ub for Emacs-orgmode@gnu.org; Sun, 13 Oct 2013 15:58:30 -0400 Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]:58417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVRo0-0001hy-No for Emacs-orgmode@gnu.org; Sun, 13 Oct 2013 15:58:24 -0400 Received: by mail-ee0-f44.google.com with SMTP id b47so2971342eek.17 for ; Sun, 13 Oct 2013 12:58:23 -0700 (PDT) In-Reply-To: <20131013213833.25a6d954@aga-netbook> 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: Marcin Borkowski Cc: Emacs-orgmode@gnu.org On Oct 13, 2013, at 21:38 PM, Marcin Borkowski wrote: > 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? Best, Dror= 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Markup (blod for instance) over line breaks Date: Mon, 14 Oct 2013 13:11:59 +0800 Message-ID: <87vc10jv1c.fsf@ericabrahamsen.net> References: <903E805A-AF87-4B12-8A26-A19CBB4CAA93@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVaQr-0000L8-OF for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 01:11:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVaQl-0006ZQ-Kh for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 01:11:05 -0400 Received: from plane.gmane.org ([80.91.229.3]:47114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVaQl-0006ZG-EB for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 01:10:59 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VVaQj-0000nK-II for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 07:10:57 +0200 Received: from 114.250.111.127 ([114.250.111.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Oct 2013 07:10:57 +0200 Received: from eric by 114.250.111.127 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Oct 2013 07:10:57 +0200 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: emacs-orgmode@gnu.org Dror Atariah writes: > Dear org-moders, > > 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*? > > 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. > > 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 particula r long ones... Is it correct? > > Thanks in advance, > Dror I use autofill mode, and then change the value of `org-emphasis-regexp-components'. That variable is a list, the fifth element of which says how many newlines the emphasis markers will allow. I set it to three: (setf (nth 4 org-emphasis-regexp-components) 3) Hope that helps, Eric From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dror Atariah Subject: Re: Markup (blod for instance) over line breaks Date: Mon, 14 Oct 2013 08:53:49 +0200 Message-ID: <47452F99-13DF-430C-AF20-B0083E66580D@gmail.com> References: <903E805A-AF87-4B12-8A26-A19CBB4CAA93@gmail.com> <20131013213833.25a6d954@aga-netbook> <20088ECB-A097-4B42-BC3C-748313F4586C@gmail.com> <20131013222247.59a95700@aga-netbook> Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVc2R-0004MN-KA for Emacs-orgmode@gnu.org; Mon, 14 Oct 2013 02:54:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVc2M-0007ox-QN for Emacs-orgmode@gnu.org; Mon, 14 Oct 2013 02:53:59 -0400 Received: from mail-bk0-x234.google.com ([2a00:1450:4008:c01::234]:49898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVc2M-0007or-Hx for Emacs-orgmode@gnu.org; Mon, 14 Oct 2013 02:53:54 -0400 Received: by mail-bk0-f52.google.com with SMTP id e11so2375854bkh.25 for ; Sun, 13 Oct 2013 23:53:53 -0700 (PDT) In-Reply-To: <20131013222247.59a95700@aga-netbook> 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: Marcin Borkowski Cc: Emacs-orgmode@gnu.org On Oct 13, 2013, at 22:22 PM, Marcin Borkowski wrote: > Dnia 2013-10-13, o godz. 21:58:20 > Dror Atariah napisa=C5=82(a): >=20 >>=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? >=20 > 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.) >=20 > 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-= with-paragraphs-of-latex-source > (note that Emacs's longline-mode was a predecessor of = visual-line-mode). In this case I suppose I will revert to visual-line-mode, just like I = have in my LaTeX buffers.=20 > 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). What is the org-mode's equivalent of LaTeX's environment? That COULD be = very helpful. Thanks, Dror= From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dror Atariah Subject: Re: Markup (blod for instance) over line breaks Date: Mon, 14 Oct 2013 08:55:26 +0200 Message-ID: <16FB7D63-8D53-4AA9-916B-860FDC3AB835@gmail.com> References: <903E805A-AF87-4B12-8A26-A19CBB4CAA93@gmail.com> <87vc10jv1c.fsf@ericabrahamsen.net> Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVc42-0005F5-ND for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 02:55:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVc3v-0008Ie-2k for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 02:55:38 -0400 Received: from mail-bk0-x230.google.com ([2a00:1450:4008:c01::230]:37304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVc3u-0008IU-Qq for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 02:55:30 -0400 Received: by mail-bk0-f48.google.com with SMTP id my13so2405844bkb.21 for ; Sun, 13 Oct 2013 23:55:29 -0700 (PDT) In-Reply-To: <87vc10jv1c.fsf@ericabrahamsen.net> 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: Eric Abrahamsen Cc: emacs-orgmode@gnu.org On Oct 14, 2013, at 07:11 AM, Eric Abrahamsen wrote: > Dror Atariah writes: >=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 particula r long ones... Is it correct? >>=20 >> Thanks in advance, >> Dror >=20 > I use autofill mode, and then change the value of > `org-emphasis-regexp-components'. That variable is a list, the fifth > element of which says how many newlines the emphasis markers will = allow. > I set it to three: >=20 > (setf (nth 4 org-emphasis-regexp-components) 3) Thanks for the tip. It somehow didn't help. I did "M-x org-reload" after = setting this, but it didn't help spanning the italic in my case over = several lines. Cheers, Dror= From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Markup (blod for instance) over line breaks Date: Mon, 14 Oct 2013 16:19:20 +0800 Message-ID: <8738o4jmd3.fsf@ericabrahamsen.net> References: <903E805A-AF87-4B12-8A26-A19CBB4CAA93@gmail.com> <87vc10jv1c.fsf@ericabrahamsen.net> <16FB7D63-8D53-4AA9-916B-860FDC3AB835@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVdME-0007i8-Ry for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 04:18:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVdM8-0006ft-Pd for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 04:18:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:45060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVdM8-0006fp-Ip for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 04:18:24 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VVdM3-0002xK-35 for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 10:18:19 +0200 Received: from 114.250.111.127 ([114.250.111.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Oct 2013 10:18:19 +0200 Received: from eric by 114.250.111.127 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Oct 2013 10:18:19 +0200 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: emacs-orgmode@gnu.org Dror Atariah writes: > On Oct 14, 2013, at 07:11 AM, Eric Abrahamsen wrote: > >> Dror Atariah writes: >> >>> Dear org-moders, >>> >>> 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*? >>> >>> 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. >>> >>> 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 particula r long ones... Is it correct? >>> >>> Thanks in advance, >>> Dror >> >> I use autofill mode, and then change the value of >> `org-emphasis-regexp-components'. That variable is a list, the fifth >> element of which says how many newlines the emphasis markers will allow. >> I set it to three: >> >> (setf (nth 4 org-emphasis-regexp-components) 3) > Thanks for the tip. It somehow didn't help. I did "M-x org-reload" after setting this, but it didn't help spanning the italic in my case over several lines. Hmm. I do find it sometimes needs to be "poked" a few times to really take -- sometimes reloading org more than once, or calling "org-mode" in a buffer that's already org-mode. Often hitting M-q to refill the paragraph is enough to do the trick. It won't show the italic over even a single line break? E From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Markup (blod for instance) over line breaks Date: Mon, 14 Oct 2013 22:14:03 +0200 Message-ID: <20131014221403.03ac36a6@aga-netbook> References: <903E805A-AF87-4B12-8A26-A19CBB4CAA93@gmail.com> <20131013213833.25a6d954@aga-netbook> <20088ECB-A097-4B42-BC3C-748313F4586C@gmail.com> <20131013222247.59a95700@aga-netbook> <47452F99-13DF-430C-AF20-B0083E66580D@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]:39964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVoWt-0006Ag-Lm for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 16:14:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVoWl-0005Kz-F2 for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 16:14:15 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:60017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVoWl-0005KO-7u for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 16:14:07 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 20C2D4E1D6 for ; Mon, 14 Oct 2013 22:14:05 +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 8Vj8RuqLmsHt for ; Mon, 14 Oct 2013 22:14:05 +0200 (CEST) Received: from aga-netbook (99-52.echostar.pl [213.156.99.52]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id EB34D4E1CC for ; Mon, 14 Oct 2013 22:14:04 +0200 (CEST) In-Reply-To: <47452F99-13DF-430C-AF20-B0083E66580D@gmail.com> 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: emacs-orgmode@gnu.org Dnia 2013-10-14, o godz. 08:53:49 Dror Atariah napisa=C5=82(a): > > 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). > What is the org-mode's equivalent of LaTeX's environment? That COULD > be very helpful. AFAIR, you can say just \begin{theorem} blah, blah \end{theorem} Of course, if you export to HTML or anything non-LaTeX-y, you're toast. There are all these #+BEGIN... ... #+END... things, but I don't know how to define new ones like these. > Thanks, > Dror Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University