Subject: bug#9870: closed (Re: bug#9870: Completion breaks text properties)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 25 Oct 2011 23:38:02 +0000

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 [email-masked].

-- 
9870: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9870
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#9870: Completion breaks text properties
From: Štěpán Němec <[email-masked]>
To: Glenn Morris <[email-masked]>
Cc: [email-masked]
Date: Wed, 26 Oct 2011 01:30:12 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: Completion breaks text properties
From: Štěpán Němec <[email-masked]>
To: bug-gnu-emacs <[email-masked]>
Date: Wed, 26 Oct 2011 00:11:47 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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