From unknown Thu Sep 11 12:10:05 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2147: Default font in Emacs Reply-To: Herbert Euler , 2147@debbugs.gnu.org Resent-From: Herbert Euler Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 02 Feb 2009 03:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2147 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123354400617497 (code B ref -1); Mon, 02 Feb 2009 03:15:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Feb 2009 03:06:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=HAS_PACKAGE,IMPRONONCABLE_2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1236dPC017491 for ; Sun, 1 Feb 2009 19:06:40 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTp8w-0003HV-Lg for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTp8v-0003HJ-4z for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:38 -0500 Received: from [199.232.76.173] (port=45456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTp8u-0003HG-Vp for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:37 -0500 Received: from bay0-omc2-s28.bay0.hotmail.com ([65.54.246.164]:60393) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTp8u-0000ez-Im for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:36 -0500 Received: from BAY143-W31 ([65.55.154.66]) by bay0-omc2-s28.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Feb 2009 19:06:35 -0800 Message-ID: X-Originating-IP: [202.165.107.100] From: Herbert Euler To: Date: Mon, 2 Feb 2009 11:06:35 +0800 Importance: Normal Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 02 Feb 2009 03:06:35.0296 (UTC) FILETIME=[41C9DA00:01C984E3] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ Package: Emacs Version: 23.0.90.1 =20 Because I prefer the FreeMono font to the default font provided=2C I tweak it in my ~/.emacs like this: =20 (let ((font (cond ((eq window-system 'w32) "-outline-courier new-normal-r-normal-normal-16-120-9= 6-96-c-*-fontset-auto2" ) ((eq window-system 'x) "FreeMono-13" )))) (set-default-font font) (add-to-list 'default-frame-alist `(font . =2Cfont))) =20 When I start emacs as a daemon: =20 $ emacs --daemon =20 The cons cell added to `default-frame-alist' seems to be '(font . nil). This causes a segfault when running `emacsclient -c': =20 Program received signal SIGSEGV=2C Segmentation fault. [Switching to Thread 0xb700f700 (LWP 28215)] 0x0806f438 in estimate_mode_line_height (f=3D0xa832b38=2C face_id=3DMODE_= LINE_INACTIVE_FACE_ID) at xdisp.c:1646 1646 int height =3D FONT_HEIGHT (FRAME_FONT (f))=3B (gdb) p FRAME_FONT (f) $1 =3D (struct font *) 0x0 _________________________________________________________________ Drag n=92 drop=97Get easy photo sharing with Windows Live=99 Photos. http://www.microsoft.com/windows/windowslive/photos.aspx= From unknown Thu Sep 11 12:10:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Herbert Euler Subject: bug#2147 closed by Dan Nicolaescu (Re: bug#2147: Default font in Emacs) Message-ID: References: <200902020557.n125vJFY007048@rodan.ics.uci.edu> X-Emacs-PR-Message: they-closed 2147 X-Emacs-PR-Package: emacs Reply-To: 2147@debbugs.gnu.org Date: Mon, 02 Feb 2009 06:05:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1233554707-29136-1" This is a multi-part message in MIME format... ------------=_1233554707-29136-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2147: Default font in Emacs It has been closed by Dan Nicolaescu . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Dan Nicolaescu by replying to this email. --=20 2147: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2147 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1233554707-29136-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2147-done) by emacsbugs.donarmstrong.com; 2 Feb 2009 05:57:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n125vWS0026985 for <2147-done@emacsbugs.donarmstrong.com>; Sun, 1 Feb 2009 21:57:33 -0800 Received: from rodan.ics.uci.edu (rodan.ics.uci.edu [128.195.6.9]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id n125vKAr017361; Sun, 1 Feb 2009 21:57:20 -0800 (PST) Received: (from dann@localhost) by rodan.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n125vJFY007048; Sun, 1 Feb 2009 21:57:19 -0800 (PST) Date: Sun, 1 Feb 2009 21:57:19 -0800 (PST) Message-Id: <200902020557.n125vJFY007048@rodan.ics.uci.edu> From: Dan Nicolaescu To: Herbert Euler Cc: 2147-done@debbugs.gnu.org Subject: Re: bug#2147: Default font in Emacs References: X-Debbugs-No-Ack: yes In-Reply-To: (Herbert Euler's message of "Mon, 2 Feb 2009 11:06:35 +0800") Lines: 34 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n125vKAr017361 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@rodan.ics.uci.edu Herbert Euler 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. ------------=_1233554707-29136-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 2 Feb 2009 03:06:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=HAS_PACKAGE,IMPRONONCABLE_2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1236dPC017491 for ; Sun, 1 Feb 2009 19:06:40 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTp8w-0003HV-Lg for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTp8v-0003HJ-4z for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:38 -0500 Received: from [199.232.76.173] (port=45456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTp8u-0003HG-Vp for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:37 -0500 Received: from bay0-omc2-s28.bay0.hotmail.com ([65.54.246.164]:60393) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTp8u-0000ez-Im for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:36 -0500 Received: from BAY143-W31 ([65.55.154.66]) by bay0-omc2-s28.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Feb 2009 19:06:35 -0800 Message-ID: X-Originating-IP: [202.165.107.100] From: Herbert Euler To: Subject: Default font in Emacs Date: Mon, 2 Feb 2009 11:06:35 +0800 Importance: Normal Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 02 Feb 2009 03:06:35.0296 (UTC) FILETIME=[41C9DA00:01C984E3] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ Package: Emacs Version: 23.0.90.1 =20 Because I prefer the FreeMono font to the default font provided=2C I tweak it in my ~/.emacs like this: =20 (let ((font (cond ((eq window-system 'w32) "-outline-courier new-normal-r-normal-normal-16-120-9= 6-96-c-*-fontset-auto2" ) ((eq window-system 'x) "FreeMono-13" )))) (set-default-font font) (add-to-list 'default-frame-alist `(font . =2Cfont))) =20 When I start emacs as a daemon: =20 $ emacs --daemon =20 The cons cell added to `default-frame-alist' seems to be '(font . nil). This causes a segfault when running `emacsclient -c': =20 Program received signal SIGSEGV=2C Segmentation fault. [Switching to Thread 0xb700f700 (LWP 28215)] 0x0806f438 in estimate_mode_line_height (f=3D0xa832b38=2C face_id=3DMODE_= LINE_INACTIVE_FACE_ID) at xdisp.c:1646 1646 int height =3D FONT_HEIGHT (FRAME_FONT (f))=3B (gdb) p FRAME_FONT (f) $1 =3D (struct font *) 0x0 _________________________________________________________________ Drag n=92 drop=97Get easy photo sharing with Windows Live=99 Photos. http://www.microsoft.com/windows/windowslive/photos.aspx= ------------=_1233554707-29136-1-- From dann@rodan.ics.uci.edu Mon Feb 2 07:03:35 2009 Received: (at control) by emacsbugs.donarmstrong.com; 2 Feb 2009 15:03:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=ONEWORD,VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12F3UWX001903 for ; Mon, 2 Feb 2009 07:03:31 -0800 Received: from rodan.ics.uci.edu (rodan.ics.uci.edu [128.195.6.9]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id n12F3IGr019741 for ; Mon, 2 Feb 2009 07:03:18 -0800 (PST) Received: (from dann@localhost) by rodan.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n12F3GM2015926; Mon, 2 Feb 2009 07:03:17 -0800 (PST) Date: Mon, 2 Feb 2009 07:03:17 -0800 (PST) Message-Id: <200902021503.n12F3GM2015926@rodan.ics.uci.edu> From: Dan Nicolaescu To: control@debbugs.gnu.org Subject: reopen X-Debbugs-No-Ack: yes Lines: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n12F3IGr019741 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@rodan.ics.uci.edu reopen 2147 retitle 2147 Crash when adding (font . nil) to `default-frame-alist' quit From unknown Thu Sep 11 12:10:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Herbert Euler Subject: bug#2147 closed by Stefan Monnier (Re: bug#2147: Default font in Emacs) Message-ID: References: X-Emacs-PR-Message: they-closed 2147 X-Emacs-PR-Package: emacs Reply-To: 2147@debbugs.gnu.org Date: Mon, 02 Feb 2009 15:45:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1233589503-12357-1" This is a multi-part message in MIME format... ------------=_1233589503-12357-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2147: Crash when adding (font . nil) to `default-frame-alist' It has been closed by Stefan Monnier . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Stefan Monnier by replying to this email. --=20 2147: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2147 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1233589503-12357-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2147-done) by emacsbugs.donarmstrong.com; 2 Feb 2009 15:38:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12Fc6WX011062 for <2147-done@emacsbugs.donarmstrong.com>; Mon, 2 Feb 2009 07:38:08 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AswEACaihknO+IQk/2dsb2JhbACBbslHhBQGgmw X-IronPort-AV: E=Sophos;i="4.37,365,1231131600"; d="scan'208";a="33201480" Received: from 206-248-132-36.dsl.teksavvy.com (HELO pastel.home) ([206.248.132.36]) by ironport2-out.teksavvy.com with ESMTP; 02 Feb 2009 10:38:01 -0500 Received: by pastel.home (Postfix, from userid 20848) id 1B9608229; Mon, 2 Feb 2009 10:38:00 -0500 (EST) From: Stefan Monnier To: Herbert Euler Cc: 2147-done@debbugs.gnu.org Subject: Re: bug#2147: Default font in Emacs Message-ID: References: Date: Mon, 02 Feb 2009 10:38:00 -0500 In-Reply-To: (Herbert Euler's message of "Mon, 2 Feb 2009 11:06:35 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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 ------------=_1233589503-12357-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 2 Feb 2009 03:06:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=HAS_PACKAGE,IMPRONONCABLE_2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1236dPC017491 for ; Sun, 1 Feb 2009 19:06:40 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTp8w-0003HV-Lg for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTp8v-0003HJ-4z for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:38 -0500 Received: from [199.232.76.173] (port=45456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTp8u-0003HG-Vp for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:37 -0500 Received: from bay0-omc2-s28.bay0.hotmail.com ([65.54.246.164]:60393) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTp8u-0000ez-Im for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:36 -0500 Received: from BAY143-W31 ([65.55.154.66]) by bay0-omc2-s28.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Feb 2009 19:06:35 -0800 Message-ID: X-Originating-IP: [202.165.107.100] From: Herbert Euler To: Subject: Default font in Emacs Date: Mon, 2 Feb 2009 11:06:35 +0800 Importance: Normal Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 02 Feb 2009 03:06:35.0296 (UTC) FILETIME=[41C9DA00:01C984E3] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ Package: Emacs Version: 23.0.90.1 =20 Because I prefer the FreeMono font to the default font provided=2C I tweak it in my ~/.emacs like this: =20 (let ((font (cond ((eq window-system 'w32) "-outline-courier new-normal-r-normal-normal-16-120-9= 6-96-c-*-fontset-auto2" ) ((eq window-system 'x) "FreeMono-13" )))) (set-default-font font) (add-to-list 'default-frame-alist `(font . =2Cfont))) =20 When I start emacs as a daemon: =20 $ emacs --daemon =20 The cons cell added to `default-frame-alist' seems to be '(font . nil). This causes a segfault when running `emacsclient -c': =20 Program received signal SIGSEGV=2C Segmentation fault. [Switching to Thread 0xb700f700 (LWP 28215)] 0x0806f438 in estimate_mode_line_height (f=3D0xa832b38=2C face_id=3DMODE_= LINE_INACTIVE_FACE_ID) at xdisp.c:1646 1646 int height =3D FONT_HEIGHT (FRAME_FONT (f))=3B (gdb) p FRAME_FONT (f) $1 =3D (struct font *) 0x0 _________________________________________________________________ Drag n=92 drop=97Get easy photo sharing with Windows Live=99 Photos. http://www.microsoft.com/windows/windowslive/photos.aspx= ------------=_1233589503-12357-1-- From monnier@IRO.UMontreal.CA Tue Feb 3 13:33:19 2009 Received: (at control) by emacsbugs.donarmstrong.com; 3 Feb 2009 21:33:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=HAS_BUG_NUMBER, VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n13LXGvA010081 for ; Tue, 3 Feb 2009 13:33:17 -0800 Received: from alfajor.home (vpn-132-204-232-163.acd.umontreal.ca [132.204.232.163]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n13LXtet032033 for ; Tue, 3 Feb 2009 16:33:55 -0500 Received: by alfajor.home (Postfix, from userid 20848) id 0684FA22D1; Tue, 3 Feb 2009 16:33:15 -0500 (EST) From: Stefan Monnier Subject: Re: bug#2147: Default font in Emacs Message-ID: References: Date: Tue, 03 Feb 2009 16:33:14 -0500 In-Reply-To: (Herbert Euler's message of "Tue, 3 Feb 2009 09:19:30 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: undisclosed-recipients:; X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3203=0 reopen 2147 thanks From unknown Thu Sep 11 12:10:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Herbert Euler Subject: bug#2147 closed by Stefan Monnier (Re: bug#2147: Default font in Emacs) Message-ID: References: X-Emacs-PR-Message: they-closed 2147 X-Emacs-PR-Package: emacs Reply-To: 2147@debbugs.gnu.org Date: Tue, 03 Feb 2009 21:40:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1233697205-11439-1" This is a multi-part message in MIME format... ------------=_1233697205-11439-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2147: Crash when adding (font . nil) to `default-frame-alist' It has been closed by Stefan Monnier . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Stefan Monnier by replying to this email. --=20 2147: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2147 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1233697205-11439-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2147-done) by emacsbugs.donarmstrong.com; 3 Feb 2009 21:32:41 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n13LWXkN010062 for <2147-done@emacsbugs.donarmstrong.com>; Tue, 3 Feb 2009 13:32:35 -0800 Received: from alfajor.home (vpn-132-204-232-163.acd.umontreal.ca [132.204.232.163]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n13LWWWA018618; Tue, 3 Feb 2009 16:32:32 -0500 Received: by alfajor.home (Postfix, from userid 20848) id 86ADDA22D1; Tue, 3 Feb 2009 16:32:32 -0500 (EST) From: Stefan Monnier To: Herbert Euler Cc: <2147-done@debbugs.gnu.org> Subject: Re: bug#2147: Default font in Emacs Message-ID: References: Date: Tue, 03 Feb 2009 16:32:32 -0500 In-Reply-To: (Herbert Euler's message of "Tue, 3 Feb 2009 09:19:30 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3203=0 > 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 ------------=_1233697205-11439-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 2 Feb 2009 03:06:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=HAS_PACKAGE,IMPRONONCABLE_2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1236dPC017491 for ; Sun, 1 Feb 2009 19:06:40 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTp8w-0003HV-Lg for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTp8v-0003HJ-4z for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:38 -0500 Received: from [199.232.76.173] (port=45456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTp8u-0003HG-Vp for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:37 -0500 Received: from bay0-omc2-s28.bay0.hotmail.com ([65.54.246.164]:60393) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTp8u-0000ez-Im for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:36 -0500 Received: from BAY143-W31 ([65.55.154.66]) by bay0-omc2-s28.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Feb 2009 19:06:35 -0800 Message-ID: X-Originating-IP: [202.165.107.100] From: Herbert Euler To: Subject: Default font in Emacs Date: Mon, 2 Feb 2009 11:06:35 +0800 Importance: Normal Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 02 Feb 2009 03:06:35.0296 (UTC) FILETIME=[41C9DA00:01C984E3] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ Package: Emacs Version: 23.0.90.1 =20 Because I prefer the FreeMono font to the default font provided=2C I tweak it in my ~/.emacs like this: =20 (let ((font (cond ((eq window-system 'w32) "-outline-courier new-normal-r-normal-normal-16-120-9= 6-96-c-*-fontset-auto2" ) ((eq window-system 'x) "FreeMono-13" )))) (set-default-font font) (add-to-list 'default-frame-alist `(font . =2Cfont))) =20 When I start emacs as a daemon: =20 $ emacs --daemon =20 The cons cell added to `default-frame-alist' seems to be '(font . nil). This causes a segfault when running `emacsclient -c': =20 Program received signal SIGSEGV=2C Segmentation fault. [Switching to Thread 0xb700f700 (LWP 28215)] 0x0806f438 in estimate_mode_line_height (f=3D0xa832b38=2C face_id=3DMODE_= LINE_INACTIVE_FACE_ID) at xdisp.c:1646 1646 int height =3D FONT_HEIGHT (FRAME_FONT (f))=3B (gdb) p FRAME_FONT (f) $1 =3D (struct font *) 0x0 _________________________________________________________________ Drag n=92 drop=97Get easy photo sharing with Windows Live=99 Photos. http://www.microsoft.com/windows/windowslive/photos.aspx= ------------=_1233697205-11439-1-- From monnier@iro.umontreal.ca Tue Feb 3 18:27:13 2009 Received: (at control) by emacsbugs.donarmstrong.com; 4 Feb 2009 02:27:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.5 required=4.0 tests=HAS_BUG_NUMBER, VALID_BTS_CONTROL,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n142R5IV018963 for ; Tue, 3 Feb 2009 18:27:07 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag0FAAqMiEnO+J73/2dsb2JhbACBbs4EhBQGgnc X-IronPort-AV: E=Sophos;i="4.37,375,1231131600"; d="scan'208";a="33292973" Received: from 206-248-158-247.dsl.teksavvy.com (HELO pastel.home) ([206.248.158.247]) by ironport2-out.teksavvy.com with ESMTP; 03 Feb 2009 21:26:59 -0500 Received: by pastel.home (Postfix, from userid 20848) id 957378296; Tue, 3 Feb 2009 21:26:59 -0500 (EST) From: Stefan Monnier To: control@debbugs.gnu.org Subject: bug#2147: Default font in Emacs Message-ID: Date: Tue, 03 Feb 2009 21:26:59 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii reopen 2147 thanks From unknown Thu Sep 11 12:10:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Herbert Euler Subject: bug#2147 closed by Chong Yidong (Re: Default font in Emacs) Message-ID: References: <87r62b33yb.fsf@cyd.mit.edu> X-Emacs-PR-Message: they-closed 2147 X-Emacs-PR-Package: emacs Reply-To: 2147@debbugs.gnu.org Date: Fri, 06 Feb 2009 16:55:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1233939304-23042-1" This is a multi-part message in MIME format... ------------=_1233939304-23042-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2147: Crash when adding (font . nil) to `default-frame-alist' It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 2147: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2147 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1233939304-23042-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2147-done) by emacsbugs.donarmstrong.com; 6 Feb 2009 16:49:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16GnNwl021828 for <2147-done@emacsbugs.donarmstrong.com>; Fri, 6 Feb 2009 08:49:24 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id B4B1C57E196; Fri, 6 Feb 2009 11:50:04 -0500 (EST) From: Chong Yidong To: Herbert Euler Cc: 2147-done@debbugs.gnu.org Subject: Re: Default font in Emacs Date: Fri, 06 Feb 2009 11:50:04 -0500 Message-ID: <87r62b33yb.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've checked in a fix. Thanks for the bug report. ------------=_1233939304-23042-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 2 Feb 2009 03:06:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=HAS_PACKAGE,IMPRONONCABLE_2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1236dPC017491 for ; Sun, 1 Feb 2009 19:06:40 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTp8w-0003HV-Lg for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTp8v-0003HJ-4z for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:38 -0500 Received: from [199.232.76.173] (port=45456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTp8u-0003HG-Vp for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:37 -0500 Received: from bay0-omc2-s28.bay0.hotmail.com ([65.54.246.164]:60393) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTp8u-0000ez-Im for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:06:36 -0500 Received: from BAY143-W31 ([65.55.154.66]) by bay0-omc2-s28.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Feb 2009 19:06:35 -0800 Message-ID: X-Originating-IP: [202.165.107.100] From: Herbert Euler To: Subject: Default font in Emacs Date: Mon, 2 Feb 2009 11:06:35 +0800 Importance: Normal Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 02 Feb 2009 03:06:35.0296 (UTC) FILETIME=[41C9DA00:01C984E3] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ Package: Emacs Version: 23.0.90.1 =20 Because I prefer the FreeMono font to the default font provided=2C I tweak it in my ~/.emacs like this: =20 (let ((font (cond ((eq window-system 'w32) "-outline-courier new-normal-r-normal-normal-16-120-9= 6-96-c-*-fontset-auto2" ) ((eq window-system 'x) "FreeMono-13" )))) (set-default-font font) (add-to-list 'default-frame-alist `(font . =2Cfont))) =20 When I start emacs as a daemon: =20 $ emacs --daemon =20 The cons cell added to `default-frame-alist' seems to be '(font . nil). This causes a segfault when running `emacsclient -c': =20 Program received signal SIGSEGV=2C Segmentation fault. [Switching to Thread 0xb700f700 (LWP 28215)] 0x0806f438 in estimate_mode_line_height (f=3D0xa832b38=2C face_id=3DMODE_= LINE_INACTIVE_FACE_ID) at xdisp.c:1646 1646 int height =3D FONT_HEIGHT (FRAME_FONT (f))=3B (gdb) p FRAME_FONT (f) $1 =3D (struct font *) 0x0 _________________________________________________________________ Drag n=92 drop=97Get easy photo sharing with Windows Live=99 Photos. http://www.microsoft.com/windows/windowslive/photos.aspx= ------------=_1233939304-23042-1--