[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp primitives and their calling of the change hooks
From: |
Alan Mackenzie |
Subject: |
Re: Lisp primitives and their calling of the change hooks |
Date: |
Sat, 6 Jan 2018 20:24:03 +0000 |
User-agent: |
Mutt/1.7.2 (2016-11-26) |
Hello, Stefan.
On Sat, Jan 06, 2018 at 10:51:30 -0500, Stefan Monnier wrote:
> > I've found a discrepancy. Just one. In (transpose-regions 1 10 11 20),
> > the hook calls are, in order, ((1 10) (11 20) (1 20 19)). The two
> > consecutive b-c-f's happen when the two regions are of equal size and
> > non-contiguous.
> Sounds like a bug alright.
> > The cause of this is not hard to find: in Ftranspose_region, editfns.c
> > L5204, there are two calls to modify_text on consecutive lines. This
> > seems to be some sort of optimisation. It is not done elsewhere in
> > Ftranspose_region. I dare say this could be fixed easily.
> Feel free to fix it (on master).
Done.
[ .... ]
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
- Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/03
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/03
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/04
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/04
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/04
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/04
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/06
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/06
- Re: Lisp primitives and their calling of the change hooks, Eli Zaretskii, 2018/01/06
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/06
- Re: Lisp primitives and their calling of the change hooks,
Alan Mackenzie <=
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/07
- Re: Lisp primitives and their calling of the change hooks, Eli Zaretskii, 2018/01/07
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/07
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/07
- [SUSPECTED SPAM] Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/07
- Re: Lisp primitives and their calling of the change hooks, Eli Zaretskii, 2018/01/07
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/07
- Re: Lisp primitives and their calling of the change hooks, Eli Zaretskii, 2018/01/07
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/07
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/07