GNU bug report logs -
#74090
31.0.50; Problems with dabbrev-expand
Previous Next
Reported by: Stephen Berman <stephen.berman <at> gmx.net>
Date: Tue, 29 Oct 2024 17:07:02 UTC
Severity: normal
Found in version 31.0.50
Done: Stephen Berman <stephen.berman <at> gmx.net>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 74090 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 29 Oct 2024 18:06:18 +0100
> From: Stephen Berman via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> >From my debugging of these problems, I think they arise because the code
> in dabbrev-expand that sets up looking for an expansion (either
> directly, or after a space, or as a replacement for the current
> expansion) wrongly using positions in the buffer from which
> dabbrev-expand was invoked instead of the buffer in which the expansion
> is found. The attached patch fixes these problems, according to my
> tests. The patch includes comments justifying or at least motivating
> the changes.
Thanks, feel free to install on the emacs-30 branch.
> + ;; Comparing with point only makes sense in the buffer
> + ;; where we called dabbrev-exand, but if that differs
^^^^^^^^^^^^^
Typo.
This bug report was last modified 230 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.