GNU bug report logs - #1948
confusion and bug in dabbrev.el

Previous Next

Package: emacs;

Reported by: Peter Tury <tury.peter <at> gmail.com>

Date: Sun, 18 Jan 2009 19:45:04 UTC

Severity: normal

Tags: confirmed, fixed, patch

Fixed in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 1948 <at> debbugs.gnu.org (full text, mbox):

From: Alan J Third <alan <at> idiocy.org>
To: Peter Tury <tury.peter <at> gmail.com>
Cc: 1948 <at> debbugs.gnu.org
Subject: Re: bug#1948: confusion and bug in dabbrev.el
Date: Sat, 09 Jan 2016 23:36:13 +0000
Peter Tury <tury.peter <at> gmail.com> writes:

> * type these two lines into a buffer (with double spaces between the words!):
> one  tt
> one  ww
>
> * then type "on" in the next line and call `dabbrev-expand' two times.
> Your buffer should look like this at the end:
> one  tt
> one  ww
> one tt
> But instead you will get this:
> one  tt
> one tt
> one ww

I'm still getting this weird behaviour in 25.1, but the above doesn't
work exactly for me.

Set dabbrev-eliminate-newlines to "t".

Type:

one  tt
one  ww

Then in the next line I have to type:

one 
   ^- space

and M-/ (dabbrev-expand) completes it to:

one ww

Then if I hit M-/ again, point jumps up to the line above and replaces
"ww". Subsequent M-/'s continue to fiddle with the same line.
-- 
Alan Third




This bug report was last modified 9 years and 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.