[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12619: completion-at-point and changing buffer
From: |
Jorgen Schaefer |
Subject: |
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@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