From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#18094: 24.4.50; emacs_backtrace.txt Date: Fri, 25 Jul 2014 07:32:11 -0700 (PDT) Message-ID: <38b65679-eb9e-4214-a699-3ecc7223e613@default> References: <> <<83y4vhinh5.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406298809 19506 80.91.229.3 (25 Jul 2014 14:33:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2014 14:33:29 +0000 (UTC) Cc: 18094@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 25 16:33:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XAgYj-0003ED-4I for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jul 2014 16:33:21 +0200 Original-Received: from localhost ([::1]:55190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAgYi-0003lP-L2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jul 2014 10:33:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAgYY-0003jT-BE for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 10:33:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAgYQ-0006BD-7F for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 10:33:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAgYQ-0006B9-3a for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 10:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XAgYP-0000Xq-Jc for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 10:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Jul 2014 14:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 18094-submit@debbugs.gnu.org id=B18094.14062987512041 (code B ref 18094); Fri, 25 Jul 2014 14:33:01 +0000 Original-Received: (at 18094) by debbugs.gnu.org; 25 Jul 2014 14:32:31 +0000 Original-Received: from localhost ([127.0.0.1]:37894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAgXq-0000Wk-T7 for submit@debbugs.gnu.org; Fri, 25 Jul 2014 10:32:30 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:38279) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAgXk-0000WR-VV for 18094@debbugs.gnu.org; Fri, 25 Jul 2014 10:32:25 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s6PEWDFi008925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 25 Jul 2014 14:32:14 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s6PEWD2u006085 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Jul 2014 14:32:13 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s6PEWCG2001302; Fri, 25 Jul 2014 14:32:12 GMT In-Reply-To: <<83y4vhinh5.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91789 Archived-At: > This makes no sense to me. The crash is here: > base_face =3D FACE_FROM_ID (f, base_face_id); > eassert (base_face); <<<<<<<<<<<<<<<<<<<<<<<<<< >=20 > The argument base_face_id comes from the current mode line face, which > must be a valid face. What in the world are you doing with your mode > line format?? I use these faces on parts of the mode line: (defface modelinepos-column-warning '((t (:foreground "Red"))) "*Face used to highlight the modeline column number. This is used when the current column number is greater than `modelinepos-column-limit'." :group 'Modeline :group 'Convenience :group 'Help :group 'faces) (defface modelinepos-region '((t :inherit region)) "*Face used to highlight the modeline position and size when the region is active." :group 'Modeline :group 'Convenience :group 'Help :group 'faces) (defface modelinepos-region-acting-on '((t (:inherit region :box (:line-width 3 :color "Red")))) "*Face for modeline position & size when a command acts on active region.= " :group 'Modeline :group 'Convenience :group 'Help :group 'faces) As for what in the world I am doing with my mode line format, the code is here: http://www.emacswiki.org/emacs-en/download/modeline-posn.el. At least that is much of what in the world I am doing with my mode line format. And this is what I use for face `mode-line-buffer-id': ((t (:overline "red" :underline "red"))). And another piece of what in the world I am doing with my mode line format is here: http://www.emacswiki.org/emacs-en/download/bindings%2b.el. And another piece, for Dired buffers, is function `diredp-nb-marked-in-mode-name', from here: http://www.emacswiki.org/emacs-en/download/dired%2b.el And I sometimes dynamically put different things in the mode-line, using this face: (defface icicle-mode-line-help '((((background dark)) (:foreground "#AC4AAC4A0000")) (t (:foreground "Blue"))) "*Face used to highlight help shown in the mode-line." :group 'Icicles-Completions-Display :group 'Icicles-Miscellaneous :group 'faces) See functions `icicle-display-candidates-in-Completions' `icicle-show-help-in-mode-line', and `icicle-show-in-mode-line' in this file, for the code that does that: http://www.emacswiki.org/emacs-en/download/icicles-fn.el. It is done at various times, including on `post-command-hook'. I also have code that dynamically changes one or more lighters. For example, `icicle-(un)highlight-lighter', in icicles-fn.el. I also make changes to the mode line in certain modes. For example, in Info, I (optionally) insert breadcrumbs in the mode line. The relevant code is in `Info-insert-breadcrumbs-in-mode-line', `Info-set-mode-line' and `Info-breadcrumbs-in-mode-line-mode', here: http://www.emacswiki.org/emacs-en/download/info%2b.el And in Isearch, I update the lighter to show case-sensitivity. The code is `isearchp-highlight-lighter', here: http://www.emacswiki.org/emacs-en/download/isearch%2b.el That's a start wrt what in the world I am doing with my mode line format. There are other places where I change things in the mode-line, but they are likely to be even less relevant. FWIW, I am not doing anything new with my mode-line. Whatever in the world I am doing with my mode-line I have been doing for years now.