unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Leo <sdl.web@gmail.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: kill-ring visualization
Date: Thu, 18 Mar 2010 20:37:45 +0100	[thread overview]
Message-ID: <m3634t1kvq.fsf@verona.se> (raw)
In-Reply-To: <xbaiy6hpfp90.fsf@cam.ac.uk> (Leo's message of "Thu, 18 Mar 2010 18:39:39 +0000")

Leo <sdl.web@gmail.com> writes:

> On 2010-03-18 14:06 +0000, Stefan Monnier wrote:
>>> I find browse-kill-ring very convenient.
>>> It cleverly advices m-y so if its run before any preceding yank, it
>>> shows the contents of the kill-ring and the user can select one entry to
>>> be yanked.
>>> Could something like this be included in Emacs-24? I feel it would be
>>> useful to newcomers (and old-timers with bad short-term memory like me)
>>
>> I think it's indeed a very nice feature.  I end up not using it much,
>> but at least it seems like a natural use for M-y.
>>
>> OTOH the few times I've used it I wished it use a form of completion.
>> Basically, I'd like it to use an interface similar to completing-read,
>> except maybe that it'd bring up the *Completions* buffer right away (and
>> that the completion would use a substring search).
>>
>> So I think if we want to enable such a feature by default, it'd need to
>> be better integrated with the completion code.
>
> I think at least it should be built on top of ewoc. It seems like a
> natural choice.
>
> I have been using b-k-r for around 2 years, at least keeping it around.
> But unfortunately when I need it, it refuses to insert the text from
> time to time, which is really annoying. So I wrote something really

I think this happens because b-k-r doesnt wash away overlays. For
instance, when killing a text containing a button, that button is still
active in the b-k-r buffer. That ought to be fixable.

That said, I dont have any particular preference on the implementation
used in the end.

> simple for myself and I tried to make it work with the existing kill
> yank facility in Emacs. I think new features can be easily added.
>
> I posted the code here: http://paste.lisp.org/display/96565

Looks nice!

>
>>         Stefan
>
> Cheers,
> Leo
-- 
Joakim Verona




  reply	other threads:[~2010-03-18 19:37 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18  6:18 kill-ring visualization joakim
2010-03-18 14:06 ` Stefan Monnier
2010-03-18 18:39   ` Leo
2010-03-18 19:37     ` joakim [this message]
2010-03-24  9:34   ` Juri Linkov
2010-03-24 13:54     ` Stefan Monnier
2010-03-25  7:04       ` Juri Linkov
2010-03-25  9:47         ` Thierry Volpiatto
2010-03-25 10:13           ` joakim
2010-03-25 10:20             ` Thierry Volpiatto
2010-03-25 13:56               ` anything.el inclusion (was: kill-ring visualization) Ted Zlatanov
2010-03-25 17:28                 ` anything.el inclusion Juri Linkov
2010-03-26  6:37                   ` Thierry Volpiatto
2010-03-26  7:01                     ` Juri Linkov
2010-03-26  7:22                       ` Thierry Volpiatto
2010-03-26 20:19                         ` Stefan Monnier
2010-03-29 18:32                           ` Ted Zlatanov
2010-03-29 19:34                             ` Thierry Volpiatto
2010-04-03  5:44                               ` Thierry Volpiatto
2010-04-03 13:53                             ` Stefan Monnier
2010-04-03 14:17                               ` Thierry Volpiatto
2010-04-03 19:08                                 ` Stefan Monnier
2010-03-26 17:09                   ` Ted Zlatanov
2010-03-27 19:38                     ` Juri Linkov
2010-03-27 21:35                       ` Johan Busk Eriksson
2010-03-28  7:58                       ` Yoni Rabkin
2010-03-28 17:39                         ` joakim
2010-03-29 18:25                       ` Ted Zlatanov
2010-03-26  2:00         ` regexp completion (was: kill-ring visualization) Stefan Monnier
2010-03-25 17:29       ` kill-ring visualization Juri Linkov
2010-03-26  2:53         ` Stefan Monnier
2010-03-26  7:09           ` Juri Linkov
2010-03-26 20:17             ` Stefan Monnier
2010-03-27 19:42               ` Juri Linkov
2010-03-27 20:37                 ` Stefan Monnier
2010-03-30 16:07                   ` Juri Linkov
2010-03-30 20:35                     ` Stefan Monnier
2010-03-31 15:04                       ` Juri Linkov
2010-03-25 16:49     ` Drew Adams
2010-03-18 15:16 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3634t1kvq.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).