From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Douglas Lewan Newsgroups: gmane.emacs.help Subject: switch-to-buffer hook? Date: Fri, 14 Jun 2002 08:41:19 -0400 Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C213A0.C85A9570" X-Trace: main.gmane.org 1024059654 17034 127.0.0.1 (14 Jun 2002 13:00:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2002 13:00:54 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17IqhC-0004QV-00 for ; Fri, 14 Jun 2002 15:00:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17IqgS-0002sW-00; Fri, 14 Jun 2002 09:00:08 -0400 Original-Received: from [66.33.150.97] (helo=adirmail01.adirtech.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Iqdf-0002gY-00 for ; Fri, 14 Jun 2002 08:57:15 -0400 Original-Received: by ADIRMAIL01 with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Jun 2002 08:50:00 -0400 Original-To: "'help-gnu-emacs@gnu.org'" X-Mailer: Internet Mail Service (5.5.2653.19) Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:471 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:471 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C213A0.C85A9570 Content-Type: text/plain Hi, Is there a hook that can be executed on switching buffers? I'd like to change colors based on the major release of the code that I'm looking at, but that looks like it is frame-wide and that still wouldn't necessarily remind me which version of a particular file I'm looking at. Of course, alternative solutions are also welcome. Thanks. ,Doug Douglas Lewan ADIR Technologies 732 836 3916 dlewan@adirtech.com The legal department has requested that this message appear as a footnote to all e-mails sent from my computer. This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by reply e-mail and delete all copies of this message and attachments. Thank you. Proprietary content: I write code. We have releases. I use emacs (often with more than one buffer.) Don't tell anyone. ------_=_NextPart_001_01C213A0.C85A9570 Content-Type: text/html Content-Transfer-Encoding: quoted-printable switch-to-buffer hook?

Hi,

Is there a hook that can be executed on switching = buffers?

I'd like to change colors based on the major release = of the code that I'm looking at, but that looks like it is frame-wide = and that still wouldn't necessarily remind me which version of a = particular file I'm looking at.

Of course, alternative solutions are also = welcome.

Thanks.

,Doug
Douglas Lewan
ADIR Technologies
732 836 3916
dlewan@adirtech.com

The legal department has requested that this message = appear as a footnote to all e-mails sent from my computer.

This e-mail and attachments, if any, may contain = confidential and/or proprietary information. Please be advised that the = unauthorized use or disclosure of the information is strictly = prohibited. If you are not the intended recipient, please notify the = sender immediately by reply e-mail and delete all copies of this = message and attachments. Thank you.

Proprietary content:  I write code.  We = have releases.  I use emacs (often with more than one = buffer.)  Don't tell anyone.

------_=_NextPart_001_01C213A0.C85A9570--