[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kill-ring visualization

From: Stefan Monnier
Subject: Re: kill-ring visualization
Date: Sat, 27 Mar 2010 16:37:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> Also, to tell you the truth, I'd want this format to be specified by the
>> completion table rather than by the code calling the completing-read.
> If this means dropping `completion--insert-strings',
> then I don't see benefits of doing that.

I don't see why you'd think there should be such a connection.

>>> +        ((eq completions-format 'line)
>>> +         ;; One-line format
>>> +         (setq str (query-replace-descr str)))
>> But this will not just change the string displayed, but also the string
>> inserted by the yank.  We need to distinguish the two.
> Maybe to put the `display' property with the value "^J" on newlines?

That would only work if this property is removed when the string in
subsequently inserted.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]