From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: How do I tell when the current buffer is the minibuffer? Date: Sat, 05 Mar 2016 23:04:57 +0100 Message-ID: <87lh5w37jq.fsf@linux-m68k.org> References: <20160305210248.GA26757@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457215537 29547 80.91.229.3 (5 Mar 2016 22:05:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2016 22:05:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 05 23:05:28 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1acKKD-0004zU-TC for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2016 23:05:26 +0100 Original-Received: from localhost ([::1]:48190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acKKD-00029D-0z for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2016 17:05:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acKJv-000240-FF for emacs-devel@gnu.org; Sat, 05 Mar 2016 17:05:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acKJq-0001gv-8g for emacs-devel@gnu.org; Sat, 05 Mar 2016 17:05:07 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:34202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acKJq-0001fd-1z for emacs-devel@gnu.org; Sat, 05 Mar 2016 17:05:02 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qHg2y5cn4z3hjb4; Sat, 5 Mar 2016 23:04:58 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qHg2y3bQjzvhMN; Sat, 5 Mar 2016 23:04:58 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id XedgjhvCALz4; Sat, 5 Mar 2016 23:04:57 +0100 (CET) X-Auth-Info: ULlvo0RcDny2zut4cMMcp6n5MuMLS9mZG4QGyHxKfT9hu0IdTjyxZZcqohKW2J3U Original-Received: from igel.home (ppp-88-217-5-227.dynamic.mnet-online.de [88.217.5.227]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 5 Mar 2016 23:04:57 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 3E9402C124E; Sat, 5 Mar 2016 23:04:57 +0100 (CET) X-Yow: I'm encased in the lining of a pure pork sausage!! In-Reply-To: <20160305210248.GA26757@acm.fritz.box> (Alan Mackenzie's message of "Sat, 5 Mar 2016 21:02:49 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200975 Archived-At: Alan Mackenzie writes: > Part of my program is being called from `signal_after_change' after > activity in the minibuffer. However, in that program the buffer local > variables for the main buffer (not the minibuffer) are still in scope. How can that happen? A minibuffer is a buffer on its own, with its own local variables. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."