* different fonts in Emacs and Emacsclient!?
@ 2010-01-10 0:17 Peter Tury
2010-01-10 9:27 ` Peter Dyballa
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Peter Tury @ 2010-01-10 0:17 UTC (permalink / raw
To: help-gnu-emacs
Hi,
I have different (size) fonts when I start Emacs (via 'emacs') and
emacsclient (via 'emacsclient -c -a=""').
What can be the reason, what to check?
Thanks,P
I use "GNU Emacs 23.1.91.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3)
of 2010-01-10" on Ubuntu 9.10.
My .emacs has "
(custom-set-faces
'(default ((t (:inherit nil :stipple nil :background
"#ffffff" :foreground "#1a1a1a" :inverse-video nil :box nil :strike-
through nil :overline nil :underline nil :slant normal :weight
normal :height 120 :width normal :foundry "unknown" :family
"Inconsolata")))))
".
My ~/.Xresources is
"Emacs.FontBackend: x,xft
Xft.dpi: 129"
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
2010-01-10 0:17 different fonts in Emacs and Emacsclient!? Peter Tury
@ 2010-01-10 9:27 ` Peter Dyballa
[not found] ` <mailman.1136.1263115682.18930.help-gnu-emacs@gnu.org>
2010-03-26 13:55 ` Daniel Brunner
2 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2010-01-10 9:27 UTC (permalink / raw
To: Peter Tury; +Cc: help-gnu-emacs
Am 10.01.2010 um 01:17 schrieb Peter Tury:
> What can be the reason, what to check?
Maybe it helps to set default- and initial-frame-alist...
--
Mit friedvollen Grüßen
Pete
Treffen sich zwo Parallelen an einer Straßenecke. Sagt die eine zur
anderen: "So, hier beginnt also die Unendlichkeit!"
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
[not found] ` <mailman.1136.1263115682.18930.help-gnu-emacs@gnu.org>
@ 2010-01-10 19:41 ` Peter Tury
2010-01-10 21:39 ` Peter Tury
` (6 more replies)
0 siblings, 7 replies; 12+ messages in thread
From: Peter Tury @ 2010-01-10 19:41 UTC (permalink / raw
To: help-gnu-emacs
On jan. 10, 10:27, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Maybe it helps to set default- and initial-frame-alist...
Thanks, Peter, for the suggestion!
In fact I already have these (related to frame-settings) in my .emacs:
'(default-frame-alist (quote ((tool-bar-lines . 0) (menu-bar-lines .
1))))
'(display-buffer-reuse-frames t)
'(emacsw32-style-frame-title t) ;; I use EmacsW32 on MS Windows and
try to use the same .emacs...
'(initial-frame-alist (quote ((top . 20) (left . 430) (height . 58)
(width . 100))))
'(special-display-frame-alist (quote ((height . 44) (width . 75)
(unsplittable . t) (user-size . t) (left . 10) (top . 10) (user-
position . t))))
'(w32-feeling-max-frames nil)
It seems for me that fonts are OK when I start "emacs". If I run
`server-start' and then connect to it with "emacsclient -c", then
fonts remain OK. I guess maybe the '-a=""' option starts the server
(daemon) in a different (faulty?) way...?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
2010-01-10 19:41 ` Peter Tury
@ 2010-01-10 21:39 ` Peter Tury
2010-01-10 21:39 ` Peter Tury
` (5 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Peter Tury @ 2010-01-10 21:39 UTC (permalink / raw
To: help-gnu-emacs
For me it seems the problem is around --daemon: if I
1a) start emacs as daemon and then
1b) connect to it (with emacsclient),
I get different fonts than if I
2a) start emacs normally, then
2b) start server in it (with `server-start') and then
2c) connect to it (with emacsclient).
It seems as if daemon start would somehow loose some (user-related?)
info affecting final font size. I don't know if fork, execvp etc.
(used in emacs.c for handling --daemon) could cause this...
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
2010-01-10 19:41 ` Peter Tury
2010-01-10 21:39 ` Peter Tury
@ 2010-01-10 21:39 ` Peter Tury
2010-01-10 21:45 ` Peter Dyballa
` (4 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Peter Tury @ 2010-01-10 21:39 UTC (permalink / raw
To: help-gnu-emacs
For me it seems the problem is around --daemon: if I
1a) start emacs as daemon and then
1b) connect to it (with emacsclient),
I get different fonts than if I
2a) start emacs normally, then
2b) start server in it (with `server-start') and then
2c) connect to it (with emacsclient).
It seems as if daemon start would somehow loose some (user-related?)
info affecting final font size. I don't know if fork, execvp etc.
(used in emacs.c for handling --daemon) could cause this...
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
2010-01-10 19:41 ` Peter Tury
2010-01-10 21:39 ` Peter Tury
2010-01-10 21:39 ` Peter Tury
@ 2010-01-10 21:45 ` Peter Dyballa
2010-01-10 22:56 ` Peter Tury
` (3 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2010-01-10 21:45 UTC (permalink / raw
To: Peter Tury; +Cc: help-gnu-emacs
Am 10.01.2010 um 20:41 schrieb Peter Tury:
> I guess maybe the '-a=""' option starts the server
> (daemon) in a different (faulty?) way...?
Why do you use it at all?
--
Mit friedvollen Grüßen
Pete
Imbecility, n.:
A kind of divine inspiration, or sacred fire affecting censorious
critics of this dictionary.
– Ambrose Bierce: _The Devil's Dictionary_
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
2010-01-10 19:41 ` Peter Tury
` (2 preceding siblings ...)
2010-01-10 21:45 ` Peter Dyballa
@ 2010-01-10 22:56 ` Peter Tury
[not found] ` <mailman.1172.1263159953.18930.help-gnu-emacs@gnu.org>
` (2 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Peter Tury @ 2010-01-10 22:56 UTC (permalink / raw
To: help-gnu-emacs
For me it seems the problem is around --daemon: if I
1a) start emacs as daemon and then
1b) connect to it (with emacsclient),
I get different fonts than if I
2a) start emacs normally, then
2b) start server in it (with `server-start') and then
2c) connect to it (with emacsclient).
It seems as if daemon start would somehow loose some (user-related?)
info affecting final font size. I don't know if fork, execvp etc.
(used in emacs.c for handling --daemon) could cause this...
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
[not found] ` <mailman.1172.1263159953.18930.help-gnu-emacs@gnu.org>
@ 2010-01-10 23:06 ` Peter Tury
2010-01-10 23:07 ` Peter Tury
1 sibling, 0 replies; 12+ messages in thread
From: Peter Tury @ 2010-01-10 23:06 UTC (permalink / raw
To: help-gnu-emacs
On jan. 10, 22:45, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Why do you use it at all?
((Long story: because I start emacs as daemon when I start Ubuntu.
After this I always use emacsclient for "everything". Some "default"
things are set for this scenario in my Ubuntu. However, these defaults
should work well also in the exceptional cases when I killed emacs
before (could happen sometines). So these defaults should have -a=""
to work properly always.))
However, as I wrote above, it seems the problem is not with -a="", but
with --daemon itself...
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
[not found] ` <mailman.1172.1263159953.18930.help-gnu-emacs@gnu.org>
2010-01-10 23:06 ` Peter Tury
@ 2010-01-10 23:07 ` Peter Tury
1 sibling, 0 replies; 12+ messages in thread
From: Peter Tury @ 2010-01-10 23:07 UTC (permalink / raw
To: help-gnu-emacs
On jan. 10, 22:45, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Why do you use it at all?
((Long story: because I start emacs as daemon when I start Ubuntu.
After this I always use emacsclient for "everything". Some "default"
things are set for this scenario in my Ubuntu. However, these defaults
should work well also in the exceptional cases when I killed emacs
before (could happen sometines). So these defaults should have -a=""
to work properly always.))
However, as I wrote above, it seems the problem is not with -a="", but
with --daemon itself...
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
2010-01-10 19:41 ` Peter Tury
` (4 preceding siblings ...)
[not found] ` <mailman.1172.1263159953.18930.help-gnu-emacs@gnu.org>
@ 2010-01-10 23:14 ` Peter Dyballa
[not found] ` <mailman.1178.1263165308.18930.help-gnu-emacs@gnu.org>
6 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2010-01-10 23:14 UTC (permalink / raw
To: Peter Tury; +Cc: help-gnu-emacs
Am 10.01.2010 um 20:41 schrieb Peter Tury:
> '(initial-frame-alist (quote ((top . 20) (left . 430) (height . 58)
> (width . 100))))
> '(special-display-frame-alist (quote ((height . 44) (width . 75)
> (unsplittable . t) (user-size . t) (left . 10) (top . 10) (user-
> position . t))))
No font or fontset, no default-frame-alist.
--
Mit friedvollen Grüßen
Pete
The box said "Use Windows 95 or better," so I got a Macintosh.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
[not found] ` <mailman.1178.1263165308.18930.help-gnu-emacs@gnu.org>
@ 2010-01-11 10:10 ` Peter Tury
0 siblings, 0 replies; 12+ messages in thread
From: Peter Tury @ 2010-01-11 10:10 UTC (permalink / raw
To: help-gnu-emacs
On Jan 11, 12:14 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> No font or fontset, no default-frame-alist.
If I understand you well, your suggestion would be some kind of a
workaround solution, am I right?
Default-frame-alist is set as well (without font settings), please
find it above.
I feel that if "(custom-set-faces '(default ..." is set, and no fonts
are set elsewhere, then it should work without any further settings.
Especially: it should work for "emacs" and "emacs --daemon" in the
very same way, isn't it.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: different fonts in Emacs and Emacsclient!?
2010-01-10 0:17 different fonts in Emacs and Emacsclient!? Peter Tury
2010-01-10 9:27 ` Peter Dyballa
[not found] ` <mailman.1136.1263115682.18930.help-gnu-emacs@gnu.org>
@ 2010-03-26 13:55 ` Daniel Brunner
2 siblings, 0 replies; 12+ messages in thread
From: Daniel Brunner @ 2010-03-26 13:55 UTC (permalink / raw
To: help-gnu-emacs; +Cc: Peter Tury
Hi, well, I face the similiar problem. I start emacs --daemon and it
seems that some user based configuration doesn't come up. Therefore the
emacsclient opens a frame without any color/font adjustments. Greetings,
Daniel.
Peter Tury <tury.peter@gmail.com> writes:
> Hi,
>
> I have different (size) fonts when I start Emacs (via 'emacs') and
> emacsclient (via 'emacsclient -c -a=""').
>
> What can be the reason, what to check?
>
> Thanks,P
>
> I use "GNU Emacs 23.1.91.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3)
> of 2010-01-10" on Ubuntu 9.10.
>
> My .emacs has "
> (custom-set-faces
> '(default ((t (:inherit nil :stipple nil :background
> "#ffffff" :foreground "#1a1a1a" :inverse-video nil :box nil :strike-
> through nil :overline nil :underline nil :slant normal :weight
> normal :height 120 :width normal :foundry "unknown" :family
> "Inconsolata")))))
> ".
>
> My ~/.Xresources is
> "Emacs.FontBackend: x,xft
> Xft.dpi: 129"
>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2010-03-26 13:55 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-10 0:17 different fonts in Emacs and Emacsclient!? Peter Tury
2010-01-10 9:27 ` Peter Dyballa
[not found] ` <mailman.1136.1263115682.18930.help-gnu-emacs@gnu.org>
2010-01-10 19:41 ` Peter Tury
2010-01-10 21:39 ` Peter Tury
2010-01-10 21:39 ` Peter Tury
2010-01-10 21:45 ` Peter Dyballa
2010-01-10 22:56 ` Peter Tury
[not found] ` <mailman.1172.1263159953.18930.help-gnu-emacs@gnu.org>
2010-01-10 23:06 ` Peter Tury
2010-01-10 23:07 ` Peter Tury
2010-01-10 23:14 ` Peter Dyballa
[not found] ` <mailman.1178.1263165308.18930.help-gnu-emacs@gnu.org>
2010-01-11 10:10 ` Peter Tury
2010-03-26 13:55 ` Daniel Brunner
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.