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: Detecting minibuffer-hood? Date: Thu, 20 Jun 2002 08:55:29 -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_01C21859.C12EF030" X-Trace: main.gmane.org 1024579036 4132 127.0.0.1 (20 Jun 2002 13:17:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Jun 2002 13:17:16 +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 17L1oJ-00014Q-00 for ; Thu, 20 Jun 2002 15:17:15 +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 17L1kV-0005IU-00; Thu, 20 Jun 2002 09:13:19 -0400 Original-Received: from [66.33.150.97] (helo=adirmail01.adirtech.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17L1il-0005Du-00 for ; Thu, 20 Jun 2002 09:11:31 -0400 Original-Received: by ADIRMAIL01 with Internet Mail Service (5.5.2653.19) id ; Thu, 20 Jun 2002 09:04:14 -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:499 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:499 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_01C21859.C12EF030 Content-Type: text/plain How can I know if a specific buffer is a minibuffer? I could get the buffer's name and then see if it begins with a space (' '), but that seems somewhat ungraceful. I have a post-command-hook that shouldn't do anything interesting in a minibuffer. 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 use emacs. Adir has lawyers. ------_=_NextPart_001_01C21859.C12EF030 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Detecting minibuffer-hood?

How can I know if a specific buffer is a = minibuffer?

I could get the buffer's name and then see if it = begins with a space (' '), but that seems somewhat ungraceful.

I have a post-command-hook that shouldn't do anything = interesting in a minibuffer.

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 use emacs.  Adir = has lawyers.

------_=_NextPart_001_01C21859.C12EF030--