From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Vektor Newsgroups: gmane.emacs.help Subject: Re: is there any hook like switch-buffer-hook or change-buffer-hook? Date: Sat, 28 Aug 2004 13:41:57 +0800 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093672243 1227 80.91.224.253 (28 Aug 2004 05:50:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Aug 2004 05:50:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 28 07:50:31 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C0w6h-0001Gt-00 for ; Sat, 28 Aug 2004 07:50:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0wBO-00026V-K6 for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Aug 2004 01:55:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsgate.cistron.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: 61.190.137.57 Original-X-Trace: quimby.gnus.org 1093672099 32552 61.190.137.57 (28 Aug 2004 05:48:19 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 28 Aug 2004 05:48:19 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:124989 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20339 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20339 I have consult the elisp info and find this IS exactly what I need now. Thank you again for the useful information. Joakim Hove writes: > Maybe you could try to advise the set-buffer or switch-to-buffer > functions. See the section "Advising Functions" in the Elisp (info) > manual. > -- Remove all XYZ from my email to get the real one.