[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20846: 24.4; Electric-indent-mode does not call indent-line-function
From: |
Lars Ingebrigtsen |
Subject: |
bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment |
Date: |
Sun, 30 May 2021 06:14:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> The logic here is that the functions on the hook can return either nil
> to mean "indent, of course" or `no-indent` or `do-indent` where this
> last one overrides the default "don't indent inside a string or comment"
> (and it also overrides potential other functions on that hook which
> might have said `no-indent`).
Right. By the way, `electric-indent-functions' talks about the
`no-indent' symbol, while `indent-line-function' talks about the
`noindent' symbol... but skimming the code, I guess they're used in
different contexts, so that's not actually an issue.
>> so could you do the necessary here? :-)
>
> Done. Can we close this bug?
Yup; done now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, (continued)
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, Lars Ingebrigtsen, 2021/05/27
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, Eli Zaretskii, 2021/05/28
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, Dmitry Gutov, 2021/05/28
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, Eli Zaretskii, 2021/05/28
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, Dmitry Gutov, 2021/05/28
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, Eli Zaretskii, 2021/05/28
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, Stefan Monnier, 2021/05/28
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, Eli Zaretskii, 2021/05/28
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, Lars Ingebrigtsen, 2021/05/28
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment, Stefan Monnier, 2021/05/29
- bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment,
Lars Ingebrigtsen <=