emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Birnle <birnle@gmx.de>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Cc: John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Re: How to get rid of first line indent?
Date: Mon, 12 Jun 2017 23:42:16 +0200	[thread overview]
Message-ID: <CB34B639-C50B-4A5A-82DA-9030F2867639@gmx.de> (raw)
In-Reply-To: <CAJ51ETpLA__Y2fEBSxz=n5Ek94eVNc2tKr4TVj5BtGBZMZGBUg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]

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 <birnle@gmx.de> 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
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu



[-- Attachment #2: Type: text/html, Size: 2547 bytes --]

  reply	other threads:[~2017-06-12 21:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9ef25cc73d884cbbbfe6c097f7b5f8a7@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-11 14:51 ` How to get rid of first line indent? Eric S Fraga
2017-06-12 15:49   ` Birnle
2017-06-12 16:57     ` John Kitchin
2017-06-12 21:42       ` Birnle [this message]
2017-06-12 23:13         ` John Kitchin
2017-06-13  1:24           ` Birnle
2017-06-13  3:26             ` Marcin Borkowski
2017-06-17 10:14               ` Birnle
2017-06-13  3:21         ` Marcin Borkowski
2017-06-13  8:07           ` Birnle
     [not found]   ` <2108366ff0a84d9f9bd291a78ceb30ec@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-12 16:01     ` Eric S Fraga
2017-06-12 16:14       ` Birnle
2017-06-12 17:15         ` John Ankarström
2017-06-12 21:47           ` Birnle
     [not found]       ` <1916abece6014b148905df8633e60e0e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-13  7:09         ` Eric S Fraga
2017-06-08 20:57 Birnle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CB34B639-C50B-4A5A-82DA-9030F2867639@gmx.de \
    --to=birnle@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).