all messages for Emacs-related lists mirrored at yhetil.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

* bug#9870: Completion breaks text properties
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2011-10-25 23:18 UTC (permalink / raw)
  To: Štěpán Němec; +Cc: 9870

Štěpán Němec wrote:

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

This was done last week.

2011-10-17  Stefan Monnier  <monnier at iro.umontreal.ca>

  * minibuffer.el (completion--replace): Inherit surrounding properties
    (bug#114).





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

* bug#9870: Completion breaks text properties
  2011-10-25 23:18 ` Glenn Morris
@ 2011-10-25 23:30   ` Štěpán Němec
  0 siblings, 0 replies; 3+ messages in thread
From: Štěpán Němec @ 2011-10-25 23:30 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 9870-done

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





^ 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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.