[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to automatically align to first word of previous line?
From: |
Stefan Monnier |
Subject: |
Re: How to automatically align to first word of previous line? |
Date: |
Tue, 08 Mar 2022 22:14:10 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Jean Louis [2022-03-09 04:41:16] wrote:
> * Stefan Monnier via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> [2022-03-09 01:08]:
>> > I see that TAB works, the text moves to first line, though is there
>> > any way in Emacs to automatically invoke such alignment?
>> What major mode are you using?
> Just fundamental I guess.
Then try something like `text-mode`, maybe try playing with
`paragraph-indent-minor-mode`, or `adaptive-fill-mode`.
You may also want to check the various `adaptive-fill-prefix` variables.
Oh, and GNU ELPA has `filladapt-mode` which could also be a way to
a solution.
Stefan