GNU bug report logs - #9870
Completion breaks text properties

Previous Next

Package: emacs;

Reported by: Štěpán Němec <stepnem <at> gmail.com>

Date: Tue, 25 Oct 2011 22:20:02 UTC

Severity: normal

Done: Štěpán Němec <stepnem <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Štěpán Němec
 <stepnem <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#9870: closed (Completion breaks text properties)
Date: Tue, 25 Oct 2011 23:38:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 26 Oct 2011 01:30:12 +0200
with message-id <20111025233012.GH11154 <at> headley>
and subject line Re: bug#9870: Completion breaks text properties
has caused the debbugs.gnu.org bug report #9870,
regarding Completion breaks text properties
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
9870: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9870
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Štěpán Němec <stepnem <at> gmail.com>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: Completion breaks text properties
Date: Wed, 26 Oct 2011 00:11:47 +0200
In-buffer completion as performed by `completion-at-point' is really
just another form of user text insertion (i.e., typing) and should
respect text properties just as `self-insert-command' does. But it
doesn't.

Replacing `insert' with `insert-and-inherit' inside
`completion--replace' seems to fix things for me.

-- 
Štěpán


[Message part 3 (message/rfc822, inline)]
From: Štěpán Němec <stepnem <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9870-done <at> debbugs.gnu.org
Subject: Re: bug#9870: Completion breaks text properties
Date: Wed, 26 Oct 2011 01:30:12 +0200
On Tue, Oct 25, 2011 at 07:18:51PM -0400, Glenn Morris wrote:
> This was done last week.
> 
> 2011-10-17  Stefan Monnier  <monnier at iro.umontreal.ca>
> 
>   * minibuffer.el (completion--replace): Inherit surrounding properties
>     (bug#114).

Great, thank you!

(And sorry for the noise.)

-- 
Štěpán


This bug report was last modified 13 years and 270 days ago.

Previous Next


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