[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to get rid of first line indent?
From: |
Eric S Fraga |
Subject: |
Re: [O] How to get rid of first line indent? |
Date: |
Mon, 12 Jun 2017 17:01:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
On Monday, 12 Jun 2017 at 15:49, Birnle wrote:
> Is there no command to "unclean" the file again?
Difficulty is defining what "unclean" means. For instance, if it is
simply removing spaces at the start of a line, you could use
,----[ C-h f replace-regexp RET ]
| replace-regexp is an interactive compiled Lisp function in
| ‘replace.el’.
|
| (replace-regexp REGEXP TO-STRING &optional DELIMITED START END
| BACKWARD)
|
| This function is for interactive use only;
| [...]
`----
and replace "^ +" with "" (no quotes typed). But this would apply to
all lines. If you can come up with a regexp for "unclean" lines then
this could work.
HTH,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.7-531-g530113
signature.asc
Description: PGP signature
- Re: [O] How to get rid of first line indent?, (continued)
- Re: [O] How to get rid of first line indent?, Eric S Fraga, 2017/06/12
- Re: [O] How to get rid of first line indent?, Birnle, 2017/06/12
- Re: [O] How to get rid of first line indent?, John Kitchin, 2017/06/12
- Re: [O] How to get rid of first line indent?, Birnle, 2017/06/12
- Re: [O] How to get rid of first line indent?, John Kitchin, 2017/06/12
- Re: [O] How to get rid of first line indent?, Birnle, 2017/06/12
- Re: [O] How to get rid of first line indent?, Marcin Borkowski, 2017/06/12
- Re: [O] How to get rid of first line indent?, Birnle, 2017/06/17
- Re: [O] How to get rid of first line indent?, Marcin Borkowski, 2017/06/12
- Re: [O] How to get rid of first line indent?, Birnle, 2017/06/13
Message not available
Message not availableRe: [O] How to get rid of first line indent?, Eric S Fraga, 2017/06/13