emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Smie-auto-fill doesn’t respect comment-auto-fill-only-comments


From: Ian Dunn
Subject: Re: Smie-auto-fill doesn’t respect comment-auto-fill-only-comments
Date: Tue, 02 May 2017 21:14:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>
> But maybe a cleaner patch would change the C code so it doesn't (funcall
> auto-fill-function) directly but instead it calls a fixed Elisp function
> which does the comment-auto-fill-only-comments check and then funcalls
> auto-fill-function.  This would probably make it desirable to
> move auto-fill-function from buffer.c to simple.el or fill.el.
>

I agree.  It'd be easier for developers if the logic of
comment-auto-fill-only-comments were dealt with outside of auto-fill-function.

-- 
Ian Dunn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]