From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Holger Sparr Newsgroups: gmane.emacs.help Subject: Re: pasting many times Date: Thu, 26 Oct 2006 09:49:17 +0200 Message-ID: References: <1161778696.317614.27570@e3g2000cwe.googlegroups.com> <1161786070.670917.225130@f16g2000cwb.googlegroups.com> <453fb2ea$0$49199$14726298@news.sunsite.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161852319 6620 80.91.229.2 (26 Oct 2006 08:45:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Oct 2006 08:45:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 26 10:45:17 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gd0rQ-0002Zh-Ur for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Oct 2006 10:45:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gd0rQ-0007oW-8H for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Oct 2006 04:45:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-X-Trace: news.dfncis.de jj9tSK7yDSkeXtzAbTwegg2tikWvChnXG/o6ASFmJp95O7 Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:zXNklyXrI1qAZ8iZVoVBhodRygc= Original-Xref: shelby.stanford.edu gnu.emacs.help:142674 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38294 Archived-At: "Colin S. Miller" writes: > Holger Sparr wrote: >> On 25 Oct 2006, Florian Kaufmann wrote: [...] >>> I guess that's just my taste. When I have a task where I have to >>> kill/yank a lot of text I like to have the kill ring displayed all the >>> time. If it isn't displayed all the time, and I want to yank something >>> I killed earlier, I first have to display the buffer, then visually >>> search the item i want to yank. If its diplayed all the time, I >>> visually find the item I want much faster. >> >> Right. >> >> One idea: >> >> (add-hook ' (lambda () (with-current-buffer "*Kill Ring*" >> (browse-kill-ring-update)))) >> >> but I have no clue which hook would serve you best. There does not seem >> to be a hook like e.g. `post-kill-hook', or does it? [...] > Nasty hack - > use defadvice on kill-region et all > the advice function will use add-timer > to call browse-kill-ring-update > after a suitable delay (10 to 100ms) Does `kill-region' change the the `kill-ring' exclusively? Holger