[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Default behaviour of RET.
From: |
Alan Mackenzie |
Subject: |
Re: Default behaviour of RET. |
Date: |
Sun, 20 Oct 2013 15:00:51 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello, Stefan.
On Sat, Oct 19, 2013 at 06:20:24PM -0400, Stefan Monnier wrote:
> >> but also possibly quite low.
> > Just how low does it have to be before we can ignore it?
> That was not the question.
> Anyway, it does look like there are indeed many incorrect uses of
> newline (most of those (or (bolp) (newline)) will break sooner or later
> because of unexpected filling and/or abbrev/skeleton expansion).
We don't know that the filling, etc., is unexpected. The crucial point
is that all these secondary actions of `newline' happen on the _previous_
line, leaving the main point of newline: "Insert a newline, and move to
left margin of the new line ...." unaffected.
> So I installed a patch which makes `newline' only run
> post-self-insert-hook when called interactively, so as to try and
> preserve compatibility with those dubious uses.
Thanks.
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
- Re: Default behaviour of RET., (continued)
- RE: Default behaviour of RET., Drew Adams, 2013/10/21
- Re: Default behaviour of RET., Jarek Czekalski, 2013/10/22
- Re: Default behaviour of RET., Rustom Mody, 2013/10/22
- Re: Default behaviour of RET., Alan Mackenzie, 2013/10/23
- Re: Default behaviour of RET., Stephen J. Turnbull, 2013/10/23
- Re: Default behaviour of RET., Dmitry Gutov, 2013/10/23
- Re: Default behaviour of RET., Xue Fuqiao, 2013/10/21
- Re: Default behaviour of RET., Stefan Monnier, 2013/10/19
- Re: Default behaviour of RET.,
Alan Mackenzie <=
- Re: Default behaviour of RET., Alan Mackenzie, 2013/10/18
Re: electric-indent-mode: abolition of `newline' function is not the Right Thing., Matthias Meulien, 2013/10/13
- Re: electric-indent-mode: abolition of `newline' function is not the Right Thing., Stefan Monnier, 2013/10/14
- Re: electric-indent-mode: abolition of `newline' function is not the Right Thing., Matthias Meulien, 2013/10/14
- Re: electric-indent-mode: abolition of `newline' function is not the Right Thing., Stefan Monnier, 2013/10/14
- Re: electric-indent-mode: abolition of `newline' function is not the Right Thing., Davis Herring, 2013/10/15
- Re: electric-indent-mode: abolition of `newline' function is not the Right Thing., Matthias Meulien, 2013/10/15
- Re: electric-indent-mode: abolition of `newline' function is not the Right Thing., Stefan Monnier, 2013/10/15