unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jorgen Schaefer <forcer@forcix.cx>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 12619@debbugs.gnu.org
Subject: bug#12619: completion-at-point and changing buffer
Date: Wed, 24 Oct 2012 18:35:46 +0200	[thread overview]
Message-ID: <20121024183546.77834f77@forcix.kollektiv-hamburg.de> (raw)
In-Reply-To: <jwvpq484kx2.fsf-monnier+emacs@gnu.org>

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





  reply	other threads:[~2012-10-24 16:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-10 19:39 bug#12619: completion-at-point and changing buffer Jorgen Schaefer
2012-10-11  0:37 ` Stefan Monnier
2012-10-11 18:19   ` Jorgen Schaefer
2012-10-24  3:19     ` Stefan Monnier
2012-10-24 16:35       ` Jorgen Schaefer [this message]
2012-10-24 17:48         ` Stefan Monnier
2012-10-24 18:58           ` Jorgen Schaefer
2012-10-24 19:40             ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121024183546.77834f77@forcix.kollektiv-hamburg.de \
    --to=forcer@forcix.cx \
    --cc=12619@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).