From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: oscarfv@telefonica.net (=?UTF-8?Q?=C3=93scar?= Fuentes) Newsgroups: gmane.emacs.bugs Subject: bug#19339: 25.0.50; Buffer-local value of face-remapping-alist leaks to other buffers Date: Wed, 10 Dec 2014 21:25:01 +0100 Message-ID: <87iohjb6ci.fsf@wanadoo.es> References: <874mt3cqi4.fsf@telefonica.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418243195 31068 80.91.229.3 (10 Dec 2014 20:26:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Dec 2014 20:26:35 +0000 (UTC) To: 19339@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 10 21:26:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Xynpx-0005qU-8U for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Dec 2014 21:26:17 +0100 Original-Received: from localhost ([::1]:47804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xynpw-0006kU-RC for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Dec 2014 15:26:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xynpo-0006kL-74 for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2014 15:26:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xynpi-0004O1-Ao for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2014 15:26:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xynpi-0004Nv-7U for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2014 15:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xynpi-00079w-0v for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2014 15:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: oscarfv@telefonica.net (=?UTF-8?Q?=C3=93scar?= Fuentes) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Dec 2014 20:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19339-submit@debbugs.gnu.org id=B19339.141824311227429 (code B ref 19339); Wed, 10 Dec 2014 20:26:01 +0000 Original-Received: (at 19339) by debbugs.gnu.org; 10 Dec 2014 20:25:12 +0000 Original-Received: from localhost ([127.0.0.1]:42016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xynou-00078L-8L for submit@debbugs.gnu.org; Wed, 10 Dec 2014 15:25:12 -0500 Original-Received: from smtp21.acens.net ([86.109.99.145]:18216 helo=smtp.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xynor-000782-0F for 19339@debbugs.gnu.org; Wed, 10 Dec 2014 15:25:10 -0500 X-CTCH-RefID: str=0001.0A0B020D.5488AC1E.0262, ss=1, re=0.001, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-Spam: Unknown Original-Received: from qcore (88.10.128.129) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 54430CAB01BBE6DA for 19339@debbugs.gnu.org; Wed, 10 Dec 2014 20:25:02 +0000 In-Reply-To: (Stefan Monnier's message of "Wed, 10 Dec 2014 15:13:23 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97168 Archived-At: Stefan Monnier writes: > Too many parentheses, Thanks. Here the revised version: (dolist (b (buffer-list)) (when (or (string= (buffer-name b) " *Echo Area 0*") (string= (buffer-name b) " *Echo Area 1*")) (with-current-buffer b (make-local-variable 'face-remapping-alist) (add-to-list 'face-remapping-alist '(default (:background "green")))))) Still, the background of the minibuffer goes away as soon as you move the cursor around and the funny "nil" strings are inserted on *scratch* when you press `C-j'.