From: oscarfv@telefonica.net (Óscar Fuentes)
To: 19339@debbugs.gnu.org
Subject: bug#19339: 25.0.50; Buffer-local value of face-remapping-alist leaks to other buffers
Date: Wed, 10 Dec 2014 19:24:19 +0100 [thread overview]
Message-ID: <874mt3cqi4.fsf@telefonica.net> (raw)
emacs -Q
Eval this in *scratch* :
(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"))))
The minibuffer window now has a green background, as expected. Now do
`C-x b' to switch to another buffer. Now the *scratch* buffer also has
the green background.
If, instead of `C-x b', you press `C-j', part of the buffer remains with
the original background and the rest is painted green. Also, a "nil"
string is inserted in *scratch* everytime you press `C-j'. And the
minibuffer window reverts to its original background.
In GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, X toolkit)
of 2014-11-18 on qcore
Repository revision: 07556b0299b33b52cf352581bfdd6554819eea30
Windowing system distributor `The X.Org Foundation', version 11.0.11600000
System Description: Ubuntu 14.10
Configured using:
`configure --without-toolkit-scroll-bars --with-x-toolkit=lucid'
Configured features:
XAW3D XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY LIBXML2 FREETYPE XFT
ZLIB
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
next reply other threads:[~2014-12-10 18:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-10 18:24 Óscar Fuentes [this message]
2014-12-10 20:13 ` bug#19339: 25.0.50; Buffer-local value of face-remapping-alist leaks to other buffers Stefan Monnier
2014-12-10 20:23 ` Óscar Fuentes
2021-12-02 12:05 ` bug#19339: face-remapping-alist ignored in echo-area Lars Ingebrigtsen
2021-12-02 13:17 ` martin rudalics
2021-12-02 15:30 ` Lars Ingebrigtsen
2021-12-02 16:43 ` martin rudalics
2021-12-02 16:49 ` Lars Ingebrigtsen
2021-12-02 17:22 ` Michael Heerdegen
2014-12-10 20:25 ` bug#19339: 25.0.50; Buffer-local value of face-remapping-alist leaks to other buffers Óscar Fuentes
2014-12-10 21:55 ` bug#19339: 25.0.50; face-remapping-alist ignored in echo-area Stefan Monnier
2014-12-10 22:12 ` Óscar Fuentes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874mt3cqi4.fsf@telefonica.net \
--to=oscarfv@telefonica.net \
--cc=19339@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.