From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.devel Subject: Re: *Occur in buf*? Date: Fri, 26 Jul 2002 13:53:54 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200207261536.g6QFa4U08962@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027706099 7042 127.0.0.1 (26 Jul 2002 17:54:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2002 17:54:59 +0000 (UTC) Cc: simon.marshall@misys.com, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Y9In-0001pR-00 for ; Fri, 26 Jul 2002 19:54:57 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Y9Yg-0003Zm-00 for ; Fri, 26 Jul 2002 20:11:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Y9J5-0008EU-00; Fri, 26 Jul 2002 13:55:15 -0400 Original-Received: from mail.cis.ohio-state.edu ([164.107.115.5] helo=cis.ohio-state.edu) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Y9I2-00081B-00; Fri, 26 Jul 2002 13:54:10 -0400 Original-Received: from eta.cis.ohio-state.edu (daemon@eta.cis.ohio-state.edu [164.107.112.62]) by cis.ohio-state.edu (8.9.1/8.9.1) with ESMTP id NAA29079; Fri, 26 Jul 2002 13:53:59 -0400 (EDT) Original-Received: (from rutt@localhost) by eta.cis.ohio-state.edu (8.11.6/8.11.6) id g6QHrsJ14683; Fri, 26 Jul 2002 13:53:54 -0400 (EDT) X-Authentication-Warning: eta.cis.ohio-state.edu: rutt set sender to rutt@cis.ohio-state.edu using -f Original-To: rms@gnu.org Mail-Followup-To: rms@gnu.org, simon.marshall@misys.com, emacs-devel@gnu.org In-Reply-To: <200207261536.g6QFa4U08962@aztec.santafe.edu> (Richard Stallman's message of "Fri, 26 Jul 2002 09:36:04 -0600 (MDT)") Original-Lines: 16 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (sparc-sun-solaris2.8) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6067 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6067 Richard Stallman writes: > IWBNI M-x occur created an *Occur in buf* buffer so that I wouldn't have > to do this, rather than *Occur*. > > I think that for most users this would create unnecessary clutter. > Perhaps it is best if you simply do this as a customization. Here is one such easy customization: ;; occur - make it work on occur buffers (defadvice occur (before occur-uniquify activate) "Make occur work in *Occur* buffers." (if (string-match "\*Occur\*" (buffer-name)) (rename-uniquely))) -- Benjamin