unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
@ 2008-10-03 14:53 ` Stefano Zacchiroli
       [not found]   ` <handler.1078.B.122306088011051.ack@emacsbugs.donarmstrong.com>
                     ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Stefano Zacchiroli @ 2008-10-03 14:53 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: rfrancoise

  [ 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...






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: Acknowledgement (23.0.60; font faces setting ignored by emacsclient run against --daemon)
       [not found]   ` <handler.1078.B.122306088011051.ack@emacsbugs.donarmstrong.com>
@ 2008-10-03 21:10     ` Stefano Zacchiroli
  0 siblings, 0 replies; 25+ messages in thread
From: Stefano Zacchiroli @ 2008-10-03 21:10 UTC (permalink / raw)
  To: 1078; +Cc: 1066

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





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-03 14:53 ` bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon Stefano Zacchiroli
       [not found]   ` <handler.1078.B.122306088011051.ack@emacsbugs.donarmstrong.com>
@ 2008-10-04  5:45   ` Dan Nicolaescu
  2008-10-04  8:44     ` Stefano Zacchiroli
  2008-10-14 22:20   ` bug#1078: marked as forwarded (23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded) Emacs bug Tracking System
                     ` (3 subsequent siblings)
  5 siblings, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2008-10-04  5:45 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: rfrancoise, 1078

zack@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.






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-04  5:45   ` bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon Dan Nicolaescu
@ 2008-10-04  8:44     ` Stefano Zacchiroli
  2008-10-04 10:26       ` Dan Nicolaescu
  0 siblings, 1 reply; 25+ messages in thread
From: Stefano Zacchiroli @ 2008-10-04  8:44 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 1078

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






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-04  8:44     ` Stefano Zacchiroli
@ 2008-10-04 10:26       ` Dan Nicolaescu
  2008-10-04 16:34         ` Stefano Zacchiroli
  0 siblings, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2008-10-04 10:26 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: rfrancoise, 1078

Stefano Zacchiroli <zack@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.






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-04 10:26       ` Dan Nicolaescu
@ 2008-10-04 16:34         ` Stefano Zacchiroli
  2008-10-06  9:22           ` Stefano Zacchiroli
  0 siblings, 1 reply; 25+ messages in thread
From: Stefano Zacchiroli @ 2008-10-04 16:34 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: rfrancoise, 1078

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






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-04 16:34         ` Stefano Zacchiroli
@ 2008-10-06  9:22           ` Stefano Zacchiroli
  2008-10-06 10:13             ` Dan Nicolaescu
  2008-10-06 20:32             ` Dan Nicolaescu
  0 siblings, 2 replies; 25+ messages in thread
From: Stefano Zacchiroli @ 2008-10-06  9:22 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: rfrancoise, 1078

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@usha:~$ emacs --help|grep daemon
    --daemon                    start a server in the background
    zack@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






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-06  9:22           ` Stefano Zacchiroli
@ 2008-10-06 10:13             ` Dan Nicolaescu
  2008-10-07 18:08               ` Romain Francoise
  2008-10-06 20:32             ` Dan Nicolaescu
  1 sibling, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2008-10-06 10:13 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: rfrancoise, 1078

Stefano Zacchiroli <zack@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.






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-06  9:22           ` Stefano Zacchiroli
  2008-10-06 10:13             ` Dan Nicolaescu
@ 2008-10-06 20:32             ` Dan Nicolaescu
  2008-10-07  8:14               ` Stefano Zacchiroli
  1 sibling, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2008-10-06 20:32 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: rfrancoise, 1078

Stefano Zacchiroli <zack@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@usha:~$ emacs --help|grep daemon
  >     --daemon                    start a server in the background
  >     zack@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






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-06 20:32             ` Dan Nicolaescu
@ 2008-10-07  8:14               ` Stefano Zacchiroli
  2008-10-07 14:16                 ` Dan Nicolaescu
  0 siblings, 1 reply; 25+ messages in thread
From: Stefano Zacchiroli @ 2008-10-07  8:14 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: rfrancoise, 1078

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






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-07  8:14               ` Stefano Zacchiroli
@ 2008-10-07 14:16                 ` Dan Nicolaescu
  2008-10-07 18:10                   ` Romain Francoise
  0 siblings, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2008-10-07 14:16 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: rfrancoise, 1078

Stefano Zacchiroli <zack@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.






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-06 10:13             ` Dan Nicolaescu
@ 2008-10-07 18:08               ` Romain Francoise
  2008-10-09  9:02                 ` Stefano Zacchiroli
  0 siblings, 1 reply; 25+ messages in thread
From: Romain Francoise @ 2008-10-07 18:08 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: Stefano Zacchiroli, 1078

Dan Nicolaescu <dann@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@debian.org>
http://people.debian.org/~rfrancoise/






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-07 14:16                 ` Dan Nicolaescu
@ 2008-10-07 18:10                   ` Romain Francoise
  0 siblings, 0 replies; 25+ messages in thread
From: Romain Francoise @ 2008-10-07 18:10 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: Stefano Zacchiroli, 1078

Dan Nicolaescu <dann@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@debian.org>
http://people.debian.org/~rfrancoise/






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-07 18:08               ` Romain Francoise
@ 2008-10-09  9:02                 ` Stefano Zacchiroli
  2008-10-13 13:30                   ` Dan Nicolaescu
  0 siblings, 1 reply; 25+ messages in thread
From: Stefano Zacchiroli @ 2008-10-09  9:02 UTC (permalink / raw)
  To: Romain Francoise; +Cc: Dan Nicolaescu, 1078

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

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

[-- Attachment #2: .emacs --]
[-- Type: text/plain, Size: 1142 bytes --]


(setq viper-mode t)			;; I'm an Emacs rebel!
(require 'viper)

(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")))))

(column-number-mode 1)			;; UI settings
(scroll-bar-mode nil)
(tool-bar-mode nil)
(show-paren-mode t)
;; (mouse-avoidance-mode 'banish)
(iswitchb-mode 1)
(setq compilation-scroll-output t)

(setq backup-inhibited t)		;; misc settings

(server-start)				;; Emacs server

(setq add-log-mailing-address		;; about me
      "zack@upsilon.cc")

(add-to-list 'load-path			;; local extensions
	     (expand-file-name "~/.emacs.d"))
(load "ispell-change-dictionary-hook")
(load "zack-hooks")
(load "zack-keys")
(load "zack-disabled-cmds")
(load "zack-automodes")
(load "zack-autoload")

[-- Attachment #3: ispell-change-dictionary-hook.el --]
[-- Type: text/plain, Size: 342 bytes --]

;; Rationale: unfortunately there is no hook to run stuff after
;; (ispell-change-dictionary). See
;; http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1110

(defadvice ispell-change-dictionary (after flyspell-buffer
					   (dict &optional arg))
  "(Re-) flyspell the current buffer after changing dictionary"
  (flyspell-buffer))

[-- Attachment #4: zack-autoload.el --]
[-- Type: text/plain, Size: 36 bytes --]


;; (autoload 'rnc-mode "rnc-mode")

[-- Attachment #5: zack-automodes.el --]
[-- Type: text/plain, Size: 173 bytes --]

;; enable modes on the bases of filename regexps

(add-to-list 'auto-mode-alist '("/tmp/mutt-.*" . mail-mode))
(add-to-list 'auto-mode-alist '(".*\.mdwn" . markdown-mode))


[-- Attachment #6: zack-disabled-cmds.el --]
[-- Type: text/plain, Size: 103 bytes --]

;; enabling disabled commands

(put 'upcase-region 'disabled nil)
(put 'downcase-region 'disabled nil)

[-- Attachment #7: zack-hooks.el --]
[-- Type: text/plain, Size: 206 bytes --]

;; hooks collection

(add-hook 'text-mode-hook 'auto-fill-mode)
(add-hook 'mail-mode-hook 'turn-on-flyspell)
(add-hook 'latex-mode-hook 'turn-on-flyspell)
;; (add-hook 'flyspell-mode-hook 'flyspell-buffer)

[-- Attachment #8: zack-keys.el --]
[-- Type: text/plain, Size: 361 bytes --]


(global-set-key (kbd "M-/") 'hippie-expand)

;; local keybindings should start with C-c and be a letter (uppercase
;; or lowercase), in order to match best-practices

(global-set-key (kbd "C-c c") 'comment-region)
(global-set-key (kbd "C-c d") 'ispell-change-dictionary)
(global-set-key (kbd "C-c k") 'compile)
(global-set-key (kbd "C-c u") 'uncomment-region)

^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-09  9:02                 ` Stefano Zacchiroli
@ 2008-10-13 13:30                   ` Dan Nicolaescu
  2008-10-13 20:34                     ` Stefano Zacchiroli
  0 siblings, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2008-10-13 13:30 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: 1078, Romain Francoise

Stefano Zacchiroli <zack@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... 






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-13 13:30                   ` Dan Nicolaescu
@ 2008-10-13 20:34                     ` Stefano Zacchiroli
  2008-10-13 20:45                       ` Processed (with 5 errors): " Emacs bug Tracking System
  2008-10-14  6:22                       ` Dan Nicolaescu
  0 siblings, 2 replies; 25+ messages in thread
From: Stefano Zacchiroli @ 2008-10-13 20:34 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 1078, Romain Francoise

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Processed (with 5 errors): Re: bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-13 20:34                     ` Stefano Zacchiroli
@ 2008-10-13 20:45                       ` Emacs bug Tracking System
  2008-10-14  6:22                       ` Dan Nicolaescu
  1 sibling, 0 replies; 25+ messages in thread
From: Emacs bug Tracking System @ 2008-10-13 20:45 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: Emacs Bugs

Processing commands for control@emacsbugs.donarmstrong.com:

> retitle 1078 23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded
bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
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'.

> On Mon, Oct 13, 2008 at 06:30:45AM -0700, Dan Nicolaescu wrote:
Unknown command or malformed arguments to command.

> > Normally we ask people to debug their own .emacs...
Unknown command or malformed arguments to command.

> I fully understand, I attached them only because (I thought) I was
Unknown command or malformed arguments to command.

> asked that. Anyhow thanks for trying, and in fact ...
Unknown command or malformed arguments to command.

> > But only this time I took a quick look, and you have:
Unknown command or malformed arguments to command.

Too many unknown commands, stopping here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
  2008-10-13 20:34                     ` Stefano Zacchiroli
  2008-10-13 20:45                       ` Processed (with 5 errors): " Emacs bug Tracking System
@ 2008-10-14  6:22                       ` Dan Nicolaescu
  1 sibling, 0 replies; 25+ messages in thread
From: Dan Nicolaescu @ 2008-10-14  6:22 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: Romain Francoise, 1078

Stefano Zacchiroli <zack@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






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: marked as forwarded (23.0.60; font faces setting  ignored by emacsclient vs --daemon, when Viper mode is loaded)
  2008-10-03 14:53 ` bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon Stefano Zacchiroli
       [not found]   ` <handler.1078.B.122306088011051.ack@emacsbugs.donarmstrong.com>
  2008-10-04  5:45   ` bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon Dan Nicolaescu
@ 2008-10-14 22:20   ` Emacs bug Tracking System
       [not found]   ` <handler.1078.C.123239464432766.notifdonectrl.0@emacsbugs.donarmstrong.com>
                     ` (2 subsequent siblings)
  5 siblings, 0 replies; 25+ messages in thread
From: Emacs bug Tracking System @ 2008-10-14 22:20 UTC (permalink / raw)
  To: Stefano Zacchiroli

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]


Your message dated Wed, 15 Oct 2008 00:11:39 +0200
with message-id <20081014221139.GA20609@usha.takhisis.invalid>
has caused the   report #1078,
regarding 23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded
to be marked as having been forwarded to the upstream software
author(s) Michael Kifer <kifer@cs.stonybrook.edu>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
1078: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1078
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3432 bytes --]

From: Stefano Zacchiroli <zack@debian.org>
To: Michael Kifer <kifer@cs.stonybrook.edu>
Cc: Dan Nicolaescu <dann@ics.uci.edu>, 1078-forwarded@emacsbugs.donarmstrong.com, Romain Francoise <rfrancoise@debian.org>
Subject: Re: bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
Date: Wed, 15 Oct 2008 00:11:39 +0200
Message-ID: <20081014221139.GA20609@usha.takhisis.invalid>

On Mon, Oct 13, 2008 at 11:22:57PM -0700, Dan Nicolaescu wrote:
> Stefano Zacchiroli <zack@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://emacsbugs.donarmstrong.com/cgi-bin/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


^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon
       [not found] ` <20081014211221.6b8f74d1@kiferserv>
@ 2008-10-18 12:42   ` Stefano Zacchiroli
  0 siblings, 0 replies; 25+ messages in thread
From: Stefano Zacchiroli @ 2008-10-18 12:42 UTC (permalink / raw)
  To: Michael Kifer; +Cc: 1078


[-- Attachment #1.1: Type: text/plain, Size: 808 bytes --]

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

[-- Attachment #1.2: .emacs --]
[-- Type: text/plain, Size: 340 bytes --]

(setq viper-mode t)			;; I'm an Emacs rebel!
(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")))))

[-- Attachment #1.3: .viper --]
[-- Type: text/plain, Size: 81 bytes --]

(setq viper-inhibit-startup-message   t
      viper-expert-level              5)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Processed: close 1078
       [not found] <87hc3vf524.fsf@cyd.mit.edu>
@ 2009-01-19 20:00 ` Emacs bug Tracking System
  0 siblings, 0 replies; 25+ messages in thread
From: Emacs bug Tracking System @ 2009-01-19 20:00 UTC (permalink / raw)
  To: Chong Yidong; +Cc: bug 1078 done for {1078}, Emacs Bugs

Processing commands for control@emacsbugs.donarmstrong.com:

> close 1078
bug#1078: 23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded
'close' is deprecated; see http://emacsbugs.donarmstrong.com/Developer.html#closing.
bug closed, send any further explanations to zack@upsilon.cc (Stefano Zacchiroli)

> thanks
Stopping processing here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)




^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: acknowledged by developer (close 1078)
       [not found]   ` <handler.1078.C.123239464432766.notifdonectrl.0@emacsbugs.donarmstrong.com>
@ 2009-01-19 22:15     ` Stefano Zacchiroli
  2009-01-19 22:25       ` Processed: Re: bug#1078 " Emacs bug Tracking System
  0 siblings, 1 reply; 25+ messages in thread
From: Stefano Zacchiroli @ 2009-01-19 22:15 UTC (permalink / raw)
  To: 1078, Chong Yidong; +Cc: control

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@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






^ permalink raw reply	[flat|nested] 25+ messages in thread

* Processed: Re: bug#1078 acknowledged by developer (close 1078)
  2009-01-19 22:15     ` bug#1078: acknowledged by developer (close 1078) Stefano Zacchiroli
@ 2009-01-19 22:25       ` Emacs bug Tracking System
  0 siblings, 0 replies; 25+ messages in thread
From: Emacs bug Tracking System @ 2009-01-19 22:25 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: Emacs Bugs

Processing commands for control@emacsbugs.donarmstrong.com:

> reopen 1078
bug#1078: 23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded
bug reopened, originator not changed.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)




^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: marked as done (23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded)
  2008-10-03 14:53 ` bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon Stefano Zacchiroli
                     ` (3 preceding siblings ...)
       [not found]   ` <handler.1078.C.123239464432766.notifdonectrl.0@emacsbugs.donarmstrong.com>
@ 2009-08-13 16:10   ` Emacs bug Tracking System
       [not found]   ` <handler.1078.D1078.125017944519805.notifdone@emacsbugs.donarmstrong.com>
  5 siblings, 0 replies; 25+ messages in thread
From: Emacs bug Tracking System @ 2009-08-13 16:10 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]


Your message dated Thu, 13 Aug 2009 12:03:51 -0400
with message-id <878whn4s60.fsf@stupidchicken.com>
and subject line Re: 23.0.60; font faces setting ignored by emacsclient run against --daemon
has caused the Emacs bug report #1078,
regarding 23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1078: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1078
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5496 bytes --]

From: zack@upsilon.cc (Stefano Zacchiroli)
To: emacs-pretest-bug@gnu.org
Cc: rfrancoise@debian.org
Subject: 23.0.60; font faces setting ignored by emacsclient run against --daemon
Date: Fri,  3 Oct 2008 16:53:30 +0200 (CEST)
Message-ID: <20081003145330.435E66A98@usha.takhisis.invalid>

  [ 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...



[-- Attachment #3: Type: message/rfc822, Size: 2252 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: 1078-done@emacsbugs.donarmstrong.com, zack@upsilon.cc, rfrancoise@debian.org
Subject: Re: 23.0.60; font faces setting ignored by emacsclient run against --daemon
Date: Thu, 13 Aug 2009 12:03:51 -0400
Message-ID: <878whn4s60.fsf@stupidchicken.com>

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.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#1078: closed by Chong Yidong <cyd@stupidchicken.com> (Re: 23.0.60; font faces setting ignored by emacsclient run against --daemon)
       [not found]   ` <handler.1078.D1078.125017944519805.notifdone@emacsbugs.donarmstrong.com>
@ 2009-08-17  8:25     ` Stefano Zacchiroli
  0 siblings, 0 replies; 25+ messages in thread
From: Stefano Zacchiroli @ 2009-08-17  8:25 UTC (permalink / raw)
  To: 1078

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





^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2009-08-17  8:25 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87hc3vf524.fsf@cyd.mit.edu>
2009-01-19 20:00 ` Processed: close 1078 Emacs bug Tracking System
     [not found] <20081014221139.GA20609@usha.takhisis.invalid>
2008-10-03 14:53 ` bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon Stefano Zacchiroli
     [not found]   ` <handler.1078.B.122306088011051.ack@emacsbugs.donarmstrong.com>
2008-10-03 21:10     ` bug#1078: Acknowledgement (23.0.60; font faces setting ignored by emacsclient run against --daemon) Stefano Zacchiroli
2008-10-04  5:45   ` bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon Dan Nicolaescu
2008-10-04  8:44     ` Stefano Zacchiroli
2008-10-04 10:26       ` Dan Nicolaescu
2008-10-04 16:34         ` Stefano Zacchiroli
2008-10-06  9:22           ` Stefano Zacchiroli
2008-10-06 10:13             ` Dan Nicolaescu
2008-10-07 18:08               ` Romain Francoise
2008-10-09  9:02                 ` Stefano Zacchiroli
2008-10-13 13:30                   ` Dan Nicolaescu
2008-10-13 20:34                     ` Stefano Zacchiroli
2008-10-13 20:45                       ` Processed (with 5 errors): " Emacs bug Tracking System
2008-10-14  6:22                       ` Dan Nicolaescu
2008-10-06 20:32             ` Dan Nicolaescu
2008-10-07  8:14               ` Stefano Zacchiroli
2008-10-07 14:16                 ` Dan Nicolaescu
2008-10-07 18:10                   ` Romain Francoise
2008-10-14 22:20   ` bug#1078: marked as forwarded (23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded) Emacs bug Tracking System
     [not found]   ` <handler.1078.C.123239464432766.notifdonectrl.0@emacsbugs.donarmstrong.com>
2009-01-19 22:15     ` bug#1078: acknowledged by developer (close 1078) Stefano Zacchiroli
2009-01-19 22:25       ` Processed: Re: bug#1078 " Emacs bug Tracking System
2009-08-13 16:10   ` bug#1078: marked as done (23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded) Emacs bug Tracking System
     [not found]   ` <handler.1078.D1078.125017944519805.notifdone@emacsbugs.donarmstrong.com>
2009-08-17  8:25     ` bug#1078: closed by Chong Yidong <cyd@stupidchicken.com> (Re: 23.0.60; font faces setting ignored by emacsclient run against --daemon) Stefano Zacchiroli
     [not found] ` <20081014211221.6b8f74d1@kiferserv>
2008-10-18 12:42   ` bug#1078: 23.0.60; font faces setting ignored by emacsclient run against --daemon Stefano Zacchiroli

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).