GNU bug report logs - #12619
completion-at-point and changing buffer

Previous Next

Package: emacs;

Reported by: Jorgen Schaefer <forcer <at> forcix.cx>

Date: Wed, 10 Oct 2012 19:53:01 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Jorgen Schaefer <forcer <at> forcix.cx>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 12619 <at> debbugs.gnu.org
Subject: Re: bug#12619: completion-at-point and changing buffer
Date: Wed, 24 Oct 2012 18:35:46 +0200
On Tue, 23 Oct 2012 23:19:21 -0400
Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:

> I've just installed a patch which should solve those problems.
> Can you confirm it fixes your case?

I'm afraid it doesn't (tested with trunk/110646). The problem is that
`minibuffer-force-complete' uses `field-beginning' and `field-end',
neither of which returns a marker. So even if the original function
uses markers, at this point they are turned into absolute buffer
positions.

Wrapping both calls in `copy-marker' fixes the problem for me.

Regards,
	-- Jorgen




This bug report was last modified 12 years and 209 days ago.

Previous Next


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