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>
Subject: bug#9870: closed (Re: bug#9870: Completion breaks text properties)
Date: Tue, 25 Oct 2011 23:38:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#9870: Completion breaks text properties

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 9870 <at> debbugs.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: 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

[Message part 3 (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



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

Previous Next


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