[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kill-ring visualization
From: |
Juri Linkov |
Subject: |
Re: kill-ring visualization |
Date: |
Tue, 30 Mar 2010 19:07:59 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
>>>> + ((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.
In the patch I sent earlier, yank-pop doesn't insert the string selected
from the *Completions* buffer. It searches for selected completion string
in the kill-ring (using `member' that ignores the `display' property),
gets its position in the kill-ring, and calls `yank' with this position
as a numeric index.
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: anything.el inclusion, (continued)
- Re: anything.el inclusion, Ted Zlatanov, 2010/03/29
- regexp completion (was: kill-ring visualization), Stefan Monnier, 2010/03/25
- Re: kill-ring visualization, Juri Linkov, 2010/03/25
- Re: kill-ring visualization, Stefan Monnier, 2010/03/25
- Re: kill-ring visualization, Juri Linkov, 2010/03/26
- Re: kill-ring visualization, Stefan Monnier, 2010/03/26
- Re: kill-ring visualization, Juri Linkov, 2010/03/27
- Re: kill-ring visualization, Stefan Monnier, 2010/03/27
- Re: kill-ring visualization,
Juri Linkov <=
- Re: kill-ring visualization, Stefan Monnier, 2010/03/30
- Re: kill-ring visualization, Juri Linkov, 2010/03/31
- RE: kill-ring visualization, Drew Adams, 2010/03/25
RE: kill-ring visualization, Drew Adams, 2010/03/18