From mboxrd@z Thu Jan 1 00:00:00 1970 From: Birnle Subject: Re: How to get rid of first line indent? Date: Tue, 13 Jun 2017 03:24:03 +0200 Message-ID: <606BD9DA-D681-4B43-B093-3970F51FC920@gmx.de> References: <9ef25cc73d884cbbbfe6c097f7b5f8a7@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <877f0ifugj.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_B37416A4-55DA-4CDB-BC59-52FB813DD768_=" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKaZ5-0004k1-DQ for emacs-orgmode@gnu.org; Mon, 12 Jun 2017 21:24:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKaZ2-0005xW-9z for emacs-orgmode@gnu.org; Mon, 12 Jun 2017 21:24:15 -0400 Received: from mout.gmx.net ([212.227.17.21]:55783) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKaZ1-0005wV-Ui for emacs-orgmode@gnu.org; Mon, 12 Jun 2017 21:24:12 -0400 In-Reply-To: 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" To: "emacs-orgmode@gnu.org" Cc: John Kitchin --=_MailMate_B37416A4-55DA-4CDB-BC59-52FB813DD768_= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Yes, John, you are surely right. From the beginning I use the Prelude Emacs distribution (http://batsov.com/prelude/) that comes with a bunch of preinstalled packages, so I don’t know yet what is original Emacs/Org and what is optional. So much to learn, so little time. Even for a text editing professional like me (publishing manager, foreign language typesetter, book producer, copy editor) Emacs is like an almost undiscovered parallel universe. I try boldly to go where just a few men have gone before … So thank you all, group, for being patient with an Emacs novice like me. Best, Birnle On 13 Jun 2017, at 1:13, John Kitchin wrote: > The C-c n binding is not defined in org-mode though as far as I know. > That > suggests it is something outside of org-mode doing that. > > John > > ----------------------------------- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > On Mon, Jun 12, 2017 at 5:42 PM, Birnle wrote: > >> Thank you, John, for your answer. And no, it’s much too early for >> me to be >> sure … But C-c n does actually indent each (first) line with >> whitespace >> according to the number of asterisks in the heading. >> >> The easiest and fastest solution is in fact deleting the leading >> whitespace in every line by replace-regexp (replace ^ + by nothing). >> >> >> On 12 Jun 2017, at 18:57, John Kitchin wrote: >> >> >> On Mon, Jun 12, 2017 at 11:49 AM, Birnle wrote: >> >>> crux-cleanup-buffer-or-region >>> >> >> if that command is what does it, then it is happening outside of >> org-mode. >> I guess it is a command from here: https://github.com/bbatsov/crux >> and >> that it is in a hook function somewhere. >> >> However, I am skeptical this command is what is doing it, because I >> also >> see this happen occasionally. Are you sure it isn't because >> of org-indent-mode? >> >> >> >> John >> >> ----------------------------------- >> Professor John Kitchin >> Doherty Hall A207F >> Department of Chemical Engineering >> Carnegie Mellon University >> Pittsburgh, PA 15213 >> 412-268-7803 <(412)%20268-7803> >> @johnkitchin >> http://kitchingroup.cheme.cmu.edu >> >> --=_MailMate_B37416A4-55DA-4CDB-BC59-52FB813DD768_= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
<= p dir=3D"auto">Yes, John, you are surely right. From the beginning I use = the Prelude Emacs distribution (http://batsov.com/prelude/) that comes with a b= unch of preinstalled packages, so I don=E2=80=99t know yet what is origin= al Emacs/Org and what is optional. So much to learn, so little time.

=

Even for a text editing professional like me (publishing = manager, foreign language typesetter, book producer, copy editor) Emacs i= s like an almost undiscovered parallel universe. I try boldly to go where= just a few men have gone before =E2=80=A6

So thank you all, group, for being patient with an Emacs = novice like me.

Best,
Birnle

On 13 Jun 2017, at 1:13, John Kitchin wrote:

The C-c n binding is not defined in org-mode though as far= as I know. That suggests it is something outside of org-mode doing that.= =C2=A0

John

-----------------------------------
Pro= fessor John Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical= Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412= -268-7803

On Mon, Jun 12, 2017 at 5:42 PM, Birnle <bi= rnle@gmx.de> wrote:
=
<= p dir=3D"auto">Thank you, John, for your answer. And no, it=E2=80=99s muc= h too early for me to be sure =E2=80=A6 But C-c n does actually indent ea= ch (first) line with whitespace according to the number of asterisks in t= he heading.

The easiest and fastest solution is in fact deleting the = leading whitespace in every line by replace-regexp (replace ^ + by nothin= g).



On 12 Jun 2017, at 18:57, John Kitchin wrote:

=

On Mon, Jun 12, 2017 at 11:49 AM, Birnle <birnle@gmx.de= > wrote:
crux-= cleanup-buffer-or-region

if that command is w= hat does it, then it is happening outside of org-mode. I guess it is a co= mmand from here:=C2=A0https://github.com/bbatsov/crux and that it is in a hoo= k function somewhere.

However, I am skeptical this command is what is doing i= t, because I also see this happen occasionally. Are you sure it isn't= because of=C2=A0org-indent-mode?



John

-----------------------------------
Professor John= Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical Engineerin= g
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803<= /a>

--=_MailMate_B37416A4-55DA-4CDB-BC59-52FB813DD768_=--