* bug#2147: Default font in Emacs
@ 2009-02-02 3:06 ` Herbert Euler
2009-02-02 6:05 ` bug#2147: marked as done (Default font in Emacs) Emacs bug Tracking System
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Herbert Euler @ 2009-02-02 3:06 UTC (permalink / raw
To: bug-gnu-emacs
Package: Emacs
Version: 23.0.90.1
Because I prefer the FreeMono font to the default font provided, I
tweak it in my ~/.emacs like this:
(let ((font (cond ((eq window-system 'w32)
"-outline-courier new-normal-r-normal-normal-16-120-96-96-c-*-fontset-auto2"
)
((eq window-system 'x)
"FreeMono-13"
))))
(set-default-font font)
(add-to-list 'default-frame-alist `(font . ,font)))
When I start emacs as a daemon:
$ emacs --daemon
The cons cell added to `default-frame-alist' seems to be '(font
. nil). This causes a segfault when running `emacsclient -c':
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb700f700 (LWP 28215)]
0x0806f438 in estimate_mode_line_height (f=0xa832b38, face_id=MODE_LINE_INACTIVE_FACE_ID) at xdisp.c:1646
1646 int height = FONT_HEIGHT (FRAME_FONT (f));
(gdb) p FRAME_FONT (f)
$1 = (struct font *) 0x0
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/photos.aspx
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2147: marked as done (Default font in Emacs)
2009-02-02 3:06 ` bug#2147: Default font in Emacs Herbert Euler
@ 2009-02-02 6:05 ` Emacs bug Tracking System
2009-02-02 15:45 ` bug#2147: marked as done (Crash when adding (font . nil) to `default-frame-alist') Emacs bug Tracking System
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Emacs bug Tracking System @ 2009-02-02 6:05 UTC (permalink / raw
To: Dan Nicolaescu
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]
Your message dated Sun, 1 Feb 2009 21:57:19 -0800 (PST)
with message-id <200902020557.n125vJFY007048@rodan.ics.uci.edu>
and subject line Re: bug#2147: Default font in Emacs
has caused the Emacs bug report #2147,
regarding Default font in Emacs
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.)
--
2147: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2147
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 3286 bytes --]
From: Herbert Euler <herberteuler@hotmail.com>
To: <bug-gnu-emacs@gnu.org>
Subject: Default font in Emacs
Date: Mon, 2 Feb 2009 11:06:35 +0800
Message-ID: <BAY143-W310FD2E108689FF598816ADAC50@phx.gbl>
Package: Emacs
Version: 23.0.90.1
Because I prefer the FreeMono font to the default font provided, I
tweak it in my ~/.emacs like this:
(let ((font (cond ((eq window-system 'w32)
"-outline-courier new-normal-r-normal-normal-16-120-96-96-c-*-fontset-auto2"
)
((eq window-system 'x)
"FreeMono-13"
))))
(set-default-font font)
(add-to-list 'default-frame-alist `(font . ,font)))
When I start emacs as a daemon:
$ emacs --daemon
The cons cell added to `default-frame-alist' seems to be '(font
. nil). This causes a segfault when running `emacsclient -c':
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb700f700 (LWP 28215)]
0x0806f438 in estimate_mode_line_height (f=0xa832b38, face_id=MODE_LINE_INACTIVE_FACE_ID) at xdisp.c:1646
1646 int height = FONT_HEIGHT (FRAME_FONT (f));
(gdb) p FRAME_FONT (f)
$1 = (struct font *) 0x0
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/photos.aspx
[-- Attachment #3: Type: message/rfc822, Size: 2917 bytes --]
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Herbert Euler <herberteuler@hotmail.com>
Cc: 2147-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2147: Default font in Emacs
Date: Sun, 1 Feb 2009 21:57:19 -0800 (PST)
Message-ID: <200902020557.n125vJFY007048@rodan.ics.uci.edu>
Herbert Euler <herberteuler@hotmail.com> writes:
> Package: Emacs
> Version: 23.0.90.1
>
> Because I prefer the FreeMono font to the default font provided, I
> tweak it in my ~/.emacs like this:
>
> (let ((font (cond ((eq window-system 'w32)
> "-outline-courier new-normal-r-normal-normal-16-120-96-96-c-*-fontset-auto2"
> )
> ((eq window-system 'x)
> "FreeMono-13"
> ))))
> (set-default-font font)
> (add-to-list 'default-frame-alist `(font . ,font)))
>
> When I start emacs as a daemon:
>
> $ emacs --daemon
>
> The cons cell added to `default-frame-alist' seems to be '(font
> . nil).
The bug is in your .emacs
C-h v window-system RET
Documentation:
Name of window system through which the selected frame is displayed.
The value is a symbol--for instance, `x' for X windows.
The value is nil if the selected frame is on a text-only-terminal.
When "emacs --daemon" starts there's no X frame.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2147: marked as done (Crash when adding (font . nil) to `default-frame-alist')
2009-02-02 3:06 ` bug#2147: Default font in Emacs Herbert Euler
2009-02-02 6:05 ` bug#2147: marked as done (Default font in Emacs) Emacs bug Tracking System
@ 2009-02-02 15:45 ` Emacs bug Tracking System
2009-02-03 21:40 ` Emacs bug Tracking System
2009-02-06 16:55 ` Emacs bug Tracking System
3 siblings, 0 replies; 5+ messages in thread
From: Emacs bug Tracking System @ 2009-02-02 15:45 UTC (permalink / raw
To: Stefan Monnier
[-- Attachment #1: Type: text/plain, Size: 893 bytes --]
Your message dated Mon, 02 Feb 2009 10:38:00 -0500
with message-id <jwvmyd47svx.fsf-monnier+emacsbugreports@gnu.org>
and subject line Re: bug#2147: Default font in Emacs
has caused the Emacs bug report #2147,
regarding Crash when adding (font . nil) to `default-frame-alist'
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.)
--
2147: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2147
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 3286 bytes --]
From: Herbert Euler <herberteuler@hotmail.com>
To: <bug-gnu-emacs@gnu.org>
Subject: Default font in Emacs
Date: Mon, 2 Feb 2009 11:06:35 +0800
Message-ID: <BAY143-W310FD2E108689FF598816ADAC50@phx.gbl>
Package: Emacs
Version: 23.0.90.1
Because I prefer the FreeMono font to the default font provided, I
tweak it in my ~/.emacs like this:
(let ((font (cond ((eq window-system 'w32)
"-outline-courier new-normal-r-normal-normal-16-120-96-96-c-*-fontset-auto2"
)
((eq window-system 'x)
"FreeMono-13"
))))
(set-default-font font)
(add-to-list 'default-frame-alist `(font . ,font)))
When I start emacs as a daemon:
$ emacs --daemon
The cons cell added to `default-frame-alist' seems to be '(font
. nil). This causes a segfault when running `emacsclient -c':
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb700f700 (LWP 28215)]
0x0806f438 in estimate_mode_line_height (f=0xa832b38, face_id=MODE_LINE_INACTIVE_FACE_ID) at xdisp.c:1646
1646 int height = FONT_HEIGHT (FRAME_FONT (f));
(gdb) p FRAME_FONT (f)
$1 = (struct font *) 0x0
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/photos.aspx
[-- Attachment #3: Type: message/rfc822, Size: 2610 bytes --]
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Herbert Euler <herberteuler@hotmail.com>
Cc: 2147-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2147: Default font in Emacs
Date: Mon, 02 Feb 2009 10:38:00 -0500
Message-ID: <jwvmyd47svx.fsf-monnier+emacsbugreports@gnu.org>
> Because I prefer the FreeMono font to the default font provided, I
> tweak it in my ~/.emacs like this:
> (let ((font (cond ((eq window-system 'w32)
> "-outline-courier new-normal-r-normal-normal-16-120-96-96-c-*-fontset-auto2"
> )
> ((eq window-system 'x)
> "FreeMono-13"
> ))))
> (set-default-font font)
> (add-to-list 'default-frame-alist `(font . ,font)))
> When I start emacs as a daemon:
> $ emacs --daemon
> The cons cell added to `default-frame-alist' seems to be '(font
> . nil). This causes a segfault when running `emacsclient -c':
Emacs just does what you told him to. The same problem happens if you
start "emacs -nw" and then M-x make-frame-on-display.
In both cases `window-system' is neither `w32' nor `x' so your `font'
variable is set to nil.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2147: marked as done (Crash when adding (font . nil) to `default-frame-alist')
2009-02-02 3:06 ` bug#2147: Default font in Emacs Herbert Euler
2009-02-02 6:05 ` bug#2147: marked as done (Default font in Emacs) Emacs bug Tracking System
2009-02-02 15:45 ` bug#2147: marked as done (Crash when adding (font . nil) to `default-frame-alist') Emacs bug Tracking System
@ 2009-02-03 21:40 ` Emacs bug Tracking System
2009-02-06 16:55 ` Emacs bug Tracking System
3 siblings, 0 replies; 5+ messages in thread
From: Emacs bug Tracking System @ 2009-02-03 21:40 UTC (permalink / raw
To: Stefan Monnier
[-- Attachment #1: Type: text/plain, Size: 893 bytes --]
Your message dated Tue, 03 Feb 2009 16:32:32 -0500
with message-id <jwveiyfp5qz.fsf-monnier+emacsbugreports@gnu.org>
and subject line Re: bug#2147: Default font in Emacs
has caused the Emacs bug report #2147,
regarding Crash when adding (font . nil) to `default-frame-alist'
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.)
--
2147: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2147
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 3286 bytes --]
From: Herbert Euler <herberteuler@hotmail.com>
To: <bug-gnu-emacs@gnu.org>
Subject: Default font in Emacs
Date: Mon, 2 Feb 2009 11:06:35 +0800
Message-ID: <BAY143-W310FD2E108689FF598816ADAC50@phx.gbl>
Package: Emacs
Version: 23.0.90.1
Because I prefer the FreeMono font to the default font provided, I
tweak it in my ~/.emacs like this:
(let ((font (cond ((eq window-system 'w32)
"-outline-courier new-normal-r-normal-normal-16-120-96-96-c-*-fontset-auto2"
)
((eq window-system 'x)
"FreeMono-13"
))))
(set-default-font font)
(add-to-list 'default-frame-alist `(font . ,font)))
When I start emacs as a daemon:
$ emacs --daemon
The cons cell added to `default-frame-alist' seems to be '(font
. nil). This causes a segfault when running `emacsclient -c':
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb700f700 (LWP 28215)]
0x0806f438 in estimate_mode_line_height (f=0xa832b38, face_id=MODE_LINE_INACTIVE_FACE_ID) at xdisp.c:1646
1646 int height = FONT_HEIGHT (FRAME_FONT (f));
(gdb) p FRAME_FONT (f)
$1 = (struct font *) 0x0
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/photos.aspx
[-- Attachment #3: Type: message/rfc822, Size: 2037 bytes --]
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Herbert Euler <herberteuler@hotmail.com>
Cc: <2147-done@emacsbugs.donarmstrong.com>
Subject: Re: bug#2147: Default font in Emacs
Date: Tue, 03 Feb 2009 16:32:32 -0500
Message-ID: <jwveiyfp5qz.fsf-monnier+emacsbugreports@gnu.org>
> Hehe, when I combined the code in my config file that is currently not
> suitable to use with terminal and the daemon usage, my intention was
> really not to tell Emacs to crash :)
Duh! I somehow completely overlooked the fact that you got a seg-fault.
Of course, that needs to be fixed. Thanks for insisting,
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2147: marked as done (Crash when adding (font . nil) to `default-frame-alist')
2009-02-02 3:06 ` bug#2147: Default font in Emacs Herbert Euler
` (2 preceding siblings ...)
2009-02-03 21:40 ` Emacs bug Tracking System
@ 2009-02-06 16:55 ` Emacs bug Tracking System
3 siblings, 0 replies; 5+ messages in thread
From: Emacs bug Tracking System @ 2009-02-06 16:55 UTC (permalink / raw
To: Chong Yidong
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]
Your message dated Fri, 06 Feb 2009 11:50:04 -0500
with message-id <87r62b33yb.fsf@cyd.mit.edu>
and subject line Re: Default font in Emacs
has caused the Emacs bug report #2147,
regarding Crash when adding (font . nil) to `default-frame-alist'
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.)
--
2147: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2147
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 3286 bytes --]
From: Herbert Euler <herberteuler@hotmail.com>
To: <bug-gnu-emacs@gnu.org>
Subject: Default font in Emacs
Date: Mon, 2 Feb 2009 11:06:35 +0800
Message-ID: <BAY143-W310FD2E108689FF598816ADAC50@phx.gbl>
Package: Emacs
Version: 23.0.90.1
Because I prefer the FreeMono font to the default font provided, I
tweak it in my ~/.emacs like this:
(let ((font (cond ((eq window-system 'w32)
"-outline-courier new-normal-r-normal-normal-16-120-96-96-c-*-fontset-auto2"
)
((eq window-system 'x)
"FreeMono-13"
))))
(set-default-font font)
(add-to-list 'default-frame-alist `(font . ,font)))
When I start emacs as a daemon:
$ emacs --daemon
The cons cell added to `default-frame-alist' seems to be '(font
. nil). This causes a segfault when running `emacsclient -c':
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb700f700 (LWP 28215)]
0x0806f438 in estimate_mode_line_height (f=0xa832b38, face_id=MODE_LINE_INACTIVE_FACE_ID) at xdisp.c:1646
1646 int height = FONT_HEIGHT (FRAME_FONT (f));
(gdb) p FRAME_FONT (f)
$1 = (struct font *) 0x0
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/photos.aspx
[-- Attachment #3: Type: message/rfc822, Size: 1084 bytes --]
From: Chong Yidong <cyd@stupidchicken.com>
To: Herbert Euler <herberteuler@hotmail.com>
Cc: 2147-done@emacsbugs.donarmstrong.com
Subject: Re: Default font in Emacs
Date: Fri, 06 Feb 2009 11:50:04 -0500
Message-ID: <87r62b33yb.fsf@cyd.mit.edu>
I've checked in a fix. Thanks for the bug report.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-02-06 16:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200902020557.n125vJFY007048@rodan.ics.uci.edu>
2009-02-02 3:06 ` bug#2147: Default font in Emacs Herbert Euler
2009-02-02 6:05 ` bug#2147: marked as done (Default font in Emacs) Emacs bug Tracking System
2009-02-02 15:45 ` bug#2147: marked as done (Crash when adding (font . nil) to `default-frame-alist') Emacs bug Tracking System
2009-02-03 21:40 ` Emacs bug Tracking System
2009-02-06 16:55 ` Emacs bug Tracking System
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.