unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9870: Completion breaks text properties
@ 2011-10-25 22:11 Štěpán Němec
  2011-10-25 23:18 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Štěpán Němec @ 2011-10-25 22:11 UTC (permalink / raw)
  To: 9870

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-25 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-25 22:11 bug#9870: Completion breaks text properties Štěpán Němec
2011-10-25 23:18 ` Glenn Morris
2011-10-25 23:30   ` Štěpán Němec

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).