emacs-devel
[Top][All Lists]
Advanced

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

Re: Wrong LENGTH passed to AFTER-CHANGED-FUNCTIONS when using UNCOMMENT-


From: Stefan Monnier
Subject: Re: Wrong LENGTH passed to AFTER-CHANGED-FUNCTIONS when using UNCOMMENT-REGION with MARKER arguments?
Date: Wed, 10 Feb 2021 16:41:10 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> However, the LENGTH should be 10 instead of 7.
> Any ideas?

Right, the code in `combine-change-calls-1` clearly expects to be called
with integers rather than markers, and I think that's the origin of
the problem.

If you change your `M-:` to pass `(point)` rather than `(point-marker)`,
then it will not exhibit this misbehavior.

I just pushed a fix for it on `master`.


        Stefan




reply via email to

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