From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Trunk emacs infelicity with linum mode Date: Wed, 03 Sep 2014 18:50:31 +0300 Message-ID: <834mwog0u0.fsf@gnu.org> References: <87zjeix7hg.fsf@glaurung.internal.golden-gryphon.com> <838um1gar9.fsf@gnu.org> <87ppfdyhpf.fsf@glaurung.internal.golden-gryphon.com> <8361h5g7mv.fsf@gnu.org> <87zjehw5cs.fsf@glaurung.internal.golden-gryphon.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1409759451 18074 80.91.229.3 (3 Sep 2014 15:50:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2014 15:50:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Manoj Srivastava Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 03 17:50:44 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XPCpX-0004Up-JO for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2014 17:50:43 +0200 Original-Received: from localhost ([::1]:46239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPCpX-00019S-2c for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2014 11:50:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPCpI-00012F-L4 for emacs-devel@gnu.org; Wed, 03 Sep 2014 11:50:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPCpC-0006TE-P5 for emacs-devel@gnu.org; Wed, 03 Sep 2014 11:50:28 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:36136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPCpB-0006Rk-Az for emacs-devel@gnu.org; Wed, 03 Sep 2014 11:50:22 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NBC00K001ARNK00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 03 Sep 2014 18:50:19 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBC00KEG1BUIT40@a-mtaout22.012.net.il>; Wed, 03 Sep 2014 18:50:19 +0300 (IDT) In-reply-to: <87zjehw5cs.fsf@glaurung.internal.golden-gryphon.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173984 Archived-At: > From: Manoj Srivastava > Date: Wed, 03 Sep 2014 00:06:11 -0700 > > > Also, after you load it, do you see the 'linum' face in the buffer > > popped up by "M-x list-faces-display"? > > Yes, the face does exist. I can also see the same face in the > line numbers on the left. In previous sessions, I had tried > customizing the face, to no avail (I have since removed the > customization). I don't understand how is this possible. I can only suggest to run Emacs under GDB, put a breakpoint on the line in xfaces.c marked below: static Lisp_Object lface_from_face_name_no_resolve (struct frame *f, Lisp_Object face_name, int signal_p) { Lisp_Object lface; if (f) lface = assq_no_quit (face_name, f->face_alist); else lface = assq_no_quit (face_name, Vface_new_frame_defaults); if (CONSP (lface)) lface = XCDR (lface); else if (signal_p) signal_error ("Invalid face", face_name); <<<<<<<<<<<<<<<<<<<<<< check_lface (lface); return lface; } and then post the backtrace when the breakpoint breaks. (Please make sure GDB reads the .gdbinit file when you start it, so that the backtrace includes the Lisp level.)