GNU bug report logs -
#1078
23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1078 in the body.
You can then email your comments to 1078 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
zack <at> upsilon.cc (Stefano Zacchiroli)
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[ Disclaimer: I'm not sure this bug is legitimate, as it is about an
emacs feature (--daemon) which is not even yet documented. Feel free
to close it as bogus; I'm reporting it in the hope it is useful
feedback ]
I'm routinely using "emacsclient -c" against a main Emacs which have
a (server-start) in its ~/.emacs to start the Emacs server by
default. Everything is fine in that setting.
However, if instead of using a main Emacs I use an Emacs demonized
with --daemon, then the clients started by "emacsclient -c" start
properly, but they ignore setting about font faces.
For reference, the customized faces I'm using have been set using
Custom, here is the relevant sexp from my ~/.emacs:
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background "white"
:foreground "black" :inverse-video nil :box nil :strike-through nil
:overline nil :underline nil :slant normal :weight normal :height 90
:width normal :foundry "monospace" :family "monospace"))))
In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.11)
of 2008-09-28 on elegiac, modified by Debian
(emacs-snapshot package, version 1:20080928-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: en_US.UTF-8
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: it_IT.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
iswitchb-mode: t
show-paren-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<help-echo> M-x e m <backspace> <backspace> r e p o
<tab> r <tab> <return> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> C-g C-h r C-s f
o n t C-s <return> <prior> <prior> <prior> <prior>
C-s f a c e <return> C-x C-f ~ / . e m <tab> <return>
M-x r e p o <tab> r <tab> <return>
Recent messages:
uncompressing emacs-8.gz...done
uncompressing emacs-2.gz...done
uncompressing emacs-3.gz...done
uncompressing emacs-4.gz...done
uncompressing emacs-5.gz...done
uncompressing emacs-6.gz...done
uncompressing emacs-7.gz...done
uncompressing emacs-8.gz...done
Mark saved where search started [2 times]
Making completion list...
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Stefano Zacchiroli <zack <at> upsilon.cc>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #10 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
FWIW, it is very likely that this bug (#1078) is a duplicate of #1066.
Cheers.
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic -- Manoj \/ right keys at the right time
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Message #13 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
zack <at> upsilon.cc (Stefano Zacchiroli) writes:
> [ Disclaimer: I'm not sure this bug is legitimate, as it is about an
> emacs feature (--daemon) which is not even yet documented.
Please check the manual, and emacs --help.
>
> I'm routinely using "emacsclient -c" against a main Emacs which have
> a (server-start) in its ~/.emacs to start the Emacs server by
> default. Everything is fine in that setting.
>
> However, if instead of using a main Emacs I use an Emacs demonized
> with --daemon, then the clients started by "emacsclient -c" start
> properly, but they ignore setting about font faces.
>
> For reference, the customized faces I'm using have been set using
> Custom, here is the relevant sexp from my ~/.emacs:
>
> (custom-set-faces
> ;; custom-set-faces was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(default ((t (:inherit nil :stipple nil :background "white"
> :foreground "black" :inverse-video nil :box nil :strike-through nil
> :overline nil :underline nil :slant normal :weight normal :height 90
> :width normal :foundry "monospace" :family "monospace"))))
I slightly changed your code to make the background blue and the font
underline to be able to easily check that setting the face and font work
(no idea how to deal with the foundry and family...)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background "blue"
:foreground "black" :inverse-video nil :box nil :strike-through nil
:overline nil :underline t :slant normal :weight normal :height 90
:width normal :foundry "monospace" :family "monospace")))))
and frames created with:
emacs
and emacs --daemon ; emacsclient -c
look identical.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Stefano Zacchiroli <zack <at> debian.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #18 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Fri, Oct 03, 2008 at 10:45:58PM -0700, Dan Nicolaescu wrote:
> > [ Disclaimer: I'm not sure this bug is legitimate, as it is about an
> > emacs feature (--daemon) which is not even yet documented.
>
> Please check the manual, and emacs --help.
$ emacs --help 2>&1 | grep daemon
$
The manual in fact now describes --daemon in the initial option
section, my bad.
> I slightly changed your code to make the background blue and the font
> underline to be able to easily check that setting the face and font work
> (no idea how to deal with the foundry and family...)
>
> (custom-set-faces
> ;; custom-set-faces was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(default ((t (:inherit nil :stipple nil :background "blue"
> :foreground "black" :inverse-video nil :box nil :strike-through nil
> :overline nil :underline t :slant normal :weight normal :height 90
> :width normal :foundry "monospace" :family "monospace")))))
>
>
> and frames created with:
> emacs
> and emacs --daemon ; emacsclient -c
>
> look identical.
I've tried with your settings, but unfortunately here they do not look
identical at all. The one created with "emacs" has a blue background,
while the one created with "emacs --daemon ; emacsclient -c" has the
default pale yellow background.
How can I help you discovering more info about this issue from my
machine?
Cheers.
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic -- Manoj \/ right keys at the right time
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Message #21 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefano Zacchiroli <zack <at> debian.org> writes:
> On Fri, Oct 03, 2008 at 10:45:58PM -0700, Dan Nicolaescu wrote:
> > > [ Disclaimer: I'm not sure this bug is legitimate, as it is about an
> > > emacs feature (--daemon) which is not even yet documented.
> >
> > Please check the manual, and emacs --help.
>
> $ emacs --help 2>&1 | grep daemon
Your emacs is not up to date.
> I've tried with your settings, but unfortunately here they do not look
> identical at all. The one created with "emacs" has a blue background,
> while the one created with "emacs --daemon ; emacsclient -c" has the
> default pale yellow background.
>
> How can I help you discovering more info about this issue from my
> machine?
There's a chance that this would work for you too when you update your
emacs. Other than that, I don't know.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Stefano Zacchiroli <zack <at> debian.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #26 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Sat, Oct 04, 2008 at 03:26:46AM -0700, Dan Nicolaescu wrote:
> > $ emacs --help 2>&1 | grep daemon
> Your emacs is not up to date.
OK, thanks, I'll give a try when a new snapshot will be available and
keep this bug posted.
Cheers.
PS Romain: hint, hint :)
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic -- Manoj \/ right keys at the right time
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Stefano Zacchiroli <zack <at> debian.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #31 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Sat, Oct 04, 2008 at 05:34:24PM +0100, Stefano Zacchiroli wrote:
> On Sat, Oct 04, 2008 at 03:26:46AM -0700, Dan Nicolaescu wrote:
> > > $ emacs --help 2>&1 | grep daemon
> > Your emacs is not up to date.
OK, now it is:
zack <at> usha:~$ emacs --help|grep daemon
--daemon start a server in the background
zack <at> usha:~$ emacs --version |head -n 1
GNU Emacs 23.0.60.1
> OK, thanks, I'll give a try when a new snapshot will be available and
> keep this bug posted.
Still, the problem persists: font faces are set properly in main Emacs
and in its clients, but not in clients of the daemonized Emacs.
Cheers.
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic -- Manoj \/ right keys at the right time
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Message #34 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefano Zacchiroli <zack <at> debian.org> writes:
> On Sat, Oct 04, 2008 at 05:34:24PM +0100, Stefano Zacchiroli wrote:
> > On Sat, Oct 04, 2008 at 03:26:46AM -0700, Dan Nicolaescu wrote:
> > OK, thanks, I'll give a try when a new snapshot will be available and
> > keep this bug posted.
>
> Still, the problem persists: font faces are set properly in main Emacs
> and in its clients, but not in clients of the daemonized Emacs.
Unfortunately given that I can't reproduce the problem, I can't really
help debug it. Maybe Romain can.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Message #37 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefano Zacchiroli <zack <at> debian.org> writes:
> On Sat, Oct 04, 2008 at 05:34:24PM +0100, Stefano Zacchiroli wrote:
> > On Sat, Oct 04, 2008 at 03:26:46AM -0700, Dan Nicolaescu wrote:
> > > > $ emacs --help 2>&1 | grep daemon
> > > Your emacs is not up to date.
>
> OK, now it is:
>
> zack <at> usha:~$ emacs --help|grep daemon
> --daemon start a server in the background
> zack <at> usha:~$ emacs --version |head -n 1
> GNU Emacs 23.0.60.1
>
> > OK, thanks, I'll give a try when a new snapshot will be available and
> > keep this bug posted.
>
> Still, the problem persists: font faces are set properly in main Emacs
> and in its clients, but not in clients of the daemonized Emacs.
Can you please try to see if you can reproduce the problem with emacs
from CVS ?
Get it from CVS, and then do:
./configure && make
and run src/emacs
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Stefano Zacchiroli <zack <at> debian.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #42 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Mon, Oct 06, 2008 at 01:32:03PM -0700, Dan Nicolaescu wrote:
> Can you please try to see if you can reproduce the problem with emacs
> from CVS ?
> Get it from CVS, and then do:
> ./configure && make
> and run src/emacs
I'm already using the emacs-snapshot package provided by Romain. The
version I'm using is 20081005, which is a CVS snapshot from 2 days
ago.
Cheers.
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic -- Manoj \/ right keys at the right time
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Message #45 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefano Zacchiroli <zack <at> debian.org> writes:
> On Mon, Oct 06, 2008 at 01:32:03PM -0700, Dan Nicolaescu wrote:
> > Can you please try to see if you can reproduce the problem with emacs
> > from CVS ?
> > Get it from CVS, and then do:
> > ./configure && make
> > and run src/emacs
>
> I'm already using the emacs-snapshot package provided by Romain. The
> version I'm using is 20081005, which is a CVS snapshot from 2 days
> ago.
AFAIK, the debian package has changes vs CVS, I wanted to make totally
sure that those changes are not the ones causing you to see what you
see.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Romain Francoise <rfrancoise <at> debian.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #50 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
Dan Nicolaescu <dann <at> ics.uci.edu> writes:
> Unfortunately given that I can't reproduce the problem, I can't
> really help debug it. Maybe Romain can.
I can't reproduce it here, neither with emacs-snapshot 20081005-1
nor with CVS HEAD as of a few moments ago.
Zack, do you have any other settings in your init files which could
be relevant?
Thanks,
--
Romain Francoise <rfrancoise <at> debian.org>
http://people.debian.org/~rfrancoise/
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Romain Francoise <rfrancoise <at> debian.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #55 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
Dan Nicolaescu <dann <at> ics.uci.edu> writes:
> AFAIK, the debian package has changes vs CVS [...]
None that would be relevant in this case. For reference, the
emacs-snapshot patches can be browsed at:
http://git.orebokech.com/?p=debian/emacs-snapshot.git;a=tree;f=patches
--
Romain Francoise <rfrancoise <at> debian.org>
http://people.debian.org/~rfrancoise/
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Stefano Zacchiroli <zack <at> debian.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #60 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, Oct 07, 2008 at 08:08:31PM +0200, Romain Francoise wrote:
> I can't reproduce it here, neither with emacs-snapshot 20081005-1
> nor with CVS HEAD as of a few moments ago.
>
> Zack, do you have any other settings in your init files which could
> be relevant?
My full Emacs configuration is attached (it is not that big actually),
have a look and let me know if you see anything weird I should comment
out before trying again.
All files other than ~/.emacs itself are stored in my ~/.emacs.d/ .
Cheers
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic -- Manoj \/ right keys at the right time
[.emacs (text/plain, attachment)]
[ispell-change-dictionary-hook.el (text/plain, attachment)]
[zack-autoload.el (text/plain, attachment)]
[zack-automodes.el (text/plain, attachment)]
[zack-disabled-cmds.el (text/plain, attachment)]
[zack-hooks.el (text/plain, attachment)]
[zack-keys.el (text/plain, attachment)]
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Message #63 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefano Zacchiroli <zack <at> debian.org> writes:
> On Tue, Oct 07, 2008 at 08:08:31PM +0200, Romain Francoise wrote:
> > I can't reproduce it here, neither with emacs-snapshot 20081005-1
> > nor with CVS HEAD as of a few moments ago.
> >
> > Zack, do you have any other settings in your init files which could
> > be relevant?
>
> My full Emacs configuration is attached (it is not that big actually),
> have a look and let me know if you see anything weird I should comment
> out before trying again.
>
> All files other than ~/.emacs itself are stored in my ~/.emacs.d/ .
Normally we ask people to debug their own .emacs...
But only this time I took a quick look, and you have:
(setq viper-mode t) ;; I'm an Emacs rebel!
(require 'viper)
which from what I remember wants to do some stuff interactively, so
please try to comment out that part and see if things work. Just
guessing here...
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Stefano Zacchiroli <zack <at> debian.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #68 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
retitle 1078 23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded
On Mon, Oct 13, 2008 at 06:30:45AM -0700, Dan Nicolaescu wrote:
> Normally we ask people to debug their own .emacs...
I fully understand, I attached them only because (I thought) I was
asked that. Anyhow thanks for trying, and in fact ...
> But only this time I took a quick look, and you have:
> (setq viper-mode t) ;; I'm an Emacs rebel!
> (require 'viper)
... bingo! Viper is the culprit, removing it font faces are set
properly. Still, it is part of the standard Emacs distribution, so I
guess the bug is still relevant, isn't it? I've retitled the bug
report, let me know if you want me to forward it to the Viper
maintainer.
Thanks for the nice catch.
Cheers.
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è sempre /oo\ All one has to do is hit the right
uno zaino -- A.Bergonzoni \__/ keys at the right time -- J.S.Bach
[signature.asc (application/pgp-signature, inline)]
Changed bug title to `23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded' from `23.0.60; font faces setting ignored by emacsclient run against --daemon'.
Request was from
Stefano Zacchiroli <zack <at> debian.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Mon, 13 Oct 2008 20:45:03 GMT)
Full text and
rfc822 format available.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Message #73 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefano Zacchiroli <zack <at> debian.org> writes:
> retitle 1078 23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded
>
> On Mon, Oct 13, 2008 at 06:30:45AM -0700, Dan Nicolaescu wrote:
> > Normally we ask people to debug their own .emacs...
>
> I fully understand, I attached them only because (I thought) I was
> asked that. Anyhow thanks for trying, and in fact ...
>
> > But only this time I took a quick look, and you have:
> > (setq viper-mode t) ;; I'm an Emacs rebel!
> > (require 'viper)
>
> ... bingo! Viper is the culprit, removing it font faces are set
> properly. Still, it is part of the standard Emacs distribution, so I
> guess the bug is still relevant, isn't it? I've retitled the bug
> report, let me know if you want me to forward it to the Viper
> maintainer.
That would be probably helpful.
> Thanks for the nice catch.
You're welcome!
--dan
Reply sent to
Stefano Zacchiroli <zack <at> debian.org>
:
You have marked bug as forwarded.
Full text and
rfc822 format available.
Message #76 received at 1078-forwarded <at> emacsbugs.donarmstrong.com (full text, mbox):
On Mon, Oct 13, 2008 at 11:22:57PM -0700, Dan Nicolaescu wrote:
> Stefano Zacchiroli <zack <at> debian.org> writes:
> > > But only this time I took a quick look, and you have:
> > > (setq viper-mode t) ;; I'm an Emacs rebel!
> > > (require 'viper)
> > ... bingo! Viper is the culprit, removing it font faces are set
> > properly. Still, it is part of the standard Emacs distribution, so I
> > guess the bug is still relevant, isn't it? I've retitled the bug
> > report, let me know if you want me to forward it to the Viper
> > maintainer.
> That would be probably helpful.
Hi Michael,
a while ago I've reported a bug against Emacs not respecting font-face
settings when --daemon was in use (a feature provided by current Emacs
snapshot). It has been discovered that the bug is triggered by Viper,
when it is not configured to be loaded the bug vanishes.
The full bug story is available at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1078.
Can you maybe have a look?
Many thanks in advance,
Cheers.
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è sempre /oo\ All one has to do is hit the right
uno zaino -- A.Bergonzoni \__/ keys at the right time -- J.S.Bach
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Stefano Zacchiroli <zack <at> debian.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #81 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, Oct 14, 2008 at 09:12:21PM -0400, Michael Kifer wrote:
> I can take a look, but doubt that this is a viper problem.
> What is the minimal .emacs that triggers this behavior?
Very basic ~/.emacs which is just enabling Viper (and setting custom
font faces, because otherwise it is not possible to actually observe
the problem) is enough. Similarly, I'm able to reproduce it with a
very basic ~/.viper, only setting the expert level to 5.
Both sample files are attached.
TIA,
Cheers.
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è sempre /oo\ All one has to do is hit the right
uno zaino -- A.Bergonzoni \__/ keys at the right time -- J.S.Bach
[.emacs (text/plain, attachment)]
[.viper (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Message #82 received at 1078-forwarded <at> emacsbugs.donarmstrong.com (full text, mbox):
This is not a viper problem. Seems like something with advice when it is loaded
before custom-set-faces. Try this as the .emacs file - the same problem.
(require 'advice)
(custom-set-faces
'(default ((t (:inherit nil :stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 90 :width normal :foundry "monospace" :family "monospace")))))
There is no problem what advice is loaded after.
On Wed, 15 Oct 2008 00:11:39 +0200
Stefano Zacchiroli <zack <at> debian.org> wrote:
> On Mon, Oct 13, 2008 at 11:22:57PM -0700, Dan Nicolaescu wrote:
> > Stefano Zacchiroli <zack <at> debian.org> writes:
> > > > But only this time I took a quick look, and you have:
> > > > (setq viper-mode t) ;; I'm an Emacs rebel!
> > > > (require 'viper)
> > > ... bingo! Viper is the culprit, removing it font faces are set
> > > properly. Still, it is part of the standard Emacs distribution, so I
> > > guess the bug is still relevant, isn't it? I've retitled the bug
> > > report, let me know if you want me to forward it to the Viper
> > > maintainer.
> > That would be probably helpful.
>
> Hi Michael,
>
> a while ago I've reported a bug against Emacs not respecting font-face
> settings when --daemon was in use (a feature provided by current Emacs
> snapshot). It has been discovered that the bug is triggered by Viper,
> when it is not configured to be loaded the bug vanishes.
>
> The full bug story is available at
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1078.
>
> Can you maybe have a look?
>
> Many thanks in advance,
> Cheers.
>
Removed annotation that bug had been forwarded to Michael Kifer <kifer <at> cs.stonybrook.edu>.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 11 Dec 2008 22:55:03 GMT)
Full text and
rfc822 format available.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
Full text and
rfc822 format available.
Message #87 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
I think this has been fixed, please close it if so.
bug closed, send any further explanations to zack <at> upsilon.cc (Stefano Zacchiroli)
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Mon, 19 Jan 2009 20:00:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
(Mon, 19 Jan 2009 22:25:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefano Zacchiroli <zack <at> upsilon.cc>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 19 Jan 2009 22:25:03 GMT)
Full text and
rfc822 format available.
Message #94 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
reopen 1078
thanks
On Mon, Jan 19, 2009 at 12:00:03PM -0800, Emacs bug Tracking System wrote:
> This is an automatic notification regarding your bug report
> #1078: 23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded,
> which was filed against the emacs package.
>
> It has been marked as closed by one of the developers, namely
> Chong Yidong <cyd <at> stupidchicken.com>.
Why has it been closed?
I can still reproduce it, and I'm using an Emacs snapshot not older
than 3 days ago.
Please explain.
Reopening the bug in the mean time.
Cheers.
--
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
bug reopened, originator not changed.
Request was from
Stefano Zacchiroli <zack <at> upsilon.cc>
to
control <at> emacsbugs.donarmstrong.com
.
(Mon, 19 Jan 2009 22:25:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
(Tue, 20 Jan 2009 03:00:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 20 Jan 2009 03:00:03 GMT)
Full text and
rfc822 format available.
Message #101 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
The problem seems to related to face setting.
Using the .emacs and .viper given in a previous message:
.emacs:
(setq viper-mode t) (require 'viper)
(custom-set-faces
'(default ((t (:inherit nil :stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 90 :width normal :foundry "monospace" :family "monospace")))))
.viper:
(setq viper-inhibit-startup-message t
viper-expert-level 5)
And then run
emacs --daemon --eval '(setq debug-on-error t)'
emacsclient -c ~/emacs
then use C-x C-e on the `custom-set-faces' form.
It gets this error:
Debugger entered--Lisp error: (error "Undefined color" "unspecified-fg")
internal-set-lisp-face-attribute(default :foreground "unspecified-fg" #<frame buildem <at> dannlt 0x898e680>)
set-face-attribute(default #<frame buildem <at> dannlt 0x898e680> :stipple nil :background "unspecified-bg" :foreground "unspecified-fg" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 1 :width normal :foundry "default" :family "default")
apply(set-face-attribute default #<frame buildem <at> dannlt 0x898e680> (:stipple nil :background "unspecified-bg" :foreground "unspecified-fg" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 1 :width normal :foundry "default" :family "default"))
face-spec-set-2(default #<frame buildem <at> dannlt 0x898e680> ((t :stipple nil :background "unspecified-bg" :foreground "unspecified-fg" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 1 :width normal :foundry "default" :family "default")))
face-spec-recalc(default #<frame buildem <at> dannlt 0x898e680>)
face-spec-set(default ((t (:inherit nil :stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 90 :width normal :foundry "monospace" :family "monospace"))) t)
custom-theme-set-faces(user (default ((t ...))))
apply(custom-theme-set-faces user (default ((t ...))))
custom-set-faces((default ((t ...))))
eval((custom-set-faces (quote (default ...))))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
This does not happen if not using "(setq viper-mode t) (require 'viper)"
Reply sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
(Thu, 13 Aug 2009 16:10:05 GMT)
Full text and
rfc822 format available.
Notification sent
to
zack <at> upsilon.cc (Stefano Zacchiroli)
:
bug acknowledged by developer.
(Thu, 13 Aug 2009 16:10:06 GMT)
Full text and
rfc822 format available.
Message #106 received at 1078-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefano Zacchiroli wrote:
> I'm routinely using "emacsclient -c" against a main Emacs which have
> a (server-start) in its ~/.emacs to start the Emacs server by
> default. Everything is fine in that setting.
>
> However, if instead of using a main Emacs I use an Emacs demonized
> with --daemon, then the clients started by "emacsclient -c" start
> properly, but they ignore setting about font faces.
I found the problem. Viper loads advice, which loads help-fns.el, which
defines the `help-argument-name' face. In daemon mode, this causes this
face to be defined out of order, before the foreground and background
colors are initialized. This can be solved by moving
`help-argument-name' into faces.el.
I've checked the fix into CVS trunk.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1078
; Package
emacs
.
(Mon, 17 Aug 2009 08:35:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefano Zacchiroli <zack <at> pps.jussieu.fr>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 17 Aug 2009 08:35:04 GMT)
Full text and
rfc822 format available.
Message #111 received at 1078 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Thu, Aug 13, 2009 at 04:10:06PM +0000, Emacs bug Tracking System wrote:
> I found the problem. Viper loads advice, which loads help-fns.el, which
> defines the `help-argument-name' face. In daemon mode, this causes this
> face to be defined out of order, before the foreground and background
> colors are initialized. This can be solved by moving
> `help-argument-name' into faces.el.
>
> I've checked the fix into CVS trunk.
Wonderful!, thanks a lot.
Cheers.
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic -- Manoj \/ right keys at the right time
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Mon, 14 Sep 2009 14:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 247 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.