[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] orgalist-mode: wrong indentation in message mode after recent ch
From: |
Nicolas Goaziou |
Subject: |
Re: [O] orgalist-mode: wrong indentation in message mode after recent change in emacs |
Date: |
Tue, 23 Apr 2019 10:20:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
"Basil L. Contovounesios" <address@hidden> writes:
> The first is whether orgalist-mode couldn't use a custom
> indent-line-function instead of advising what may or may not be set to
> indent-relative by the user.
I don't know how that would work in practice. But a minor mode taking
control over `indent-line-function' sounds wrong.
> The second is why advice--buffer-local does what it does. Stefan, why
> does it behave differently depending on local-variable-p? Why can't it
> simply call make-local-variable before returning the symbol-value?
>
> The third is why indent-according-to-mode hard-codes the check for
> indent-relative and indent-relative-first-indent-point. Wouldn't it be
> nice if this check instead looked up some variable akin to
> electric-indent-functions-without-reindent, that can be more easily
> customised?
So what is the current status of this? Do I still need to add
a workaround around a workaround around a genuine Emacs bug? :)
Regards,
--
Nicolas Goaziou