From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1821: 23.0.60; customizing ediff-highlight-all-diffs or ediff-use-faces customizations => no effect Date: Wed, 07 Jan 2009 16:57:13 -0500 Message-ID: <87ljtmdbk6.fsf@mcbain.luannocracy.com> Reply-To: David Abrahams , 1821@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1231367063 23263 80.91.229.12 (7 Jan 2009 22:24:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2009 22:24:23 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 07 23:25:33 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LKgpc-0001sf-Cd for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jan 2009 23:25:05 +0100 Original-Received: from localhost ([127.0.0.1]:57770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKgoL-00080u-7D for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jan 2009 17:23:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKgoH-00080b-7D for bug-gnu-emacs@gnu.org; Wed, 07 Jan 2009 17:23:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKgoD-0007yx-AH for bug-gnu-emacs@gnu.org; Wed, 07 Jan 2009 17:23:32 -0500 Original-Received: from [199.232.76.173] (port=60525 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKgoD-0007yp-7v for bug-gnu-emacs@gnu.org; Wed, 07 Jan 2009 17:23:29 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54832) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LKgoC-0001Ah-2v for bug-gnu-emacs@gnu.org; Wed, 07 Jan 2009 17:23:29 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n07MNObn003428; Wed, 7 Jan 2009 14:23:24 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n07M563H031225; Wed, 7 Jan 2009 14:05:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: David Abrahams Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 07 Jan 2009 22:05:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1821 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123136544729044 (code B ref -1); Wed, 07 Jan 2009 22:05:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 7 Jan 2009 21:57:27 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n07LvNna029038 for ; Wed, 7 Jan 2009 13:57:24 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:36506 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LKgNm-0007na-H4 for emacs-pretest-bug@gnu.org; Wed, 07 Jan 2009 16:56:10 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LKgOt-00071o-DT for emacs-pretest-bug@gnu.org; Wed, 07 Jan 2009 16:57:22 -0500 Original-Received: from boost-consulting.com ([206.71.190.141]:64040) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKgOt-00071f-0d for emacs-pretest-bug@gnu.org; Wed, 07 Jan 2009 16:57:19 -0500 Original-Received: from mcbain.luannocracy.com.boostpro.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com [207.172.223.249]) (Authenticated sender: dave) by boost-consulting.com (Postfix) with ESMTPSA id A02681CC1E for ; Wed, 7 Jan 2009 13:47:07 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 07 Jan 2009 17:23:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23901 gmane.emacs.pretest.bugs:23660 Archived-At: --=-=-= Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: emacs -q -load einit.el where einit.el is enclosed. I have also enclosed a patch that fixes this problem, which I hereby place into the public domain. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=einit.el Content-Transfer-Encoding: quoted-printable (custom-set-variables '(ediff-highlight-all-diffs nil nil nil " only highlight the selected diff (keeps down gray cruft onscreen)") '(ediff-use-faces nil nil nil)) (require 'ediff-init) (message "ediff-highlight-all-diffs: %s ediff-use-faces: %s (should both be= nil)"=20 ediff-highlight-all-diffs ediff-use-faces) --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=ediff-init.el.patch --- ediff-init.el.~1.95.~ 2008-12-03 00:48:23.000000000 -0500 +++ ediff-init.el 2009-01-07 16:43:55.469063558 -0500 @@ -560,7 +560,6 @@ :group 'ediff) -(ediff-defvar-local ediff-use-faces t "") (defcustom ediff-use-faces t "If t, differences are highlighted using faces, if device supports faces. If nil, differences are highlighted using ASCII flags, ediff-before-flag @@ -568,6 +567,7 @@ highlighted using ASCII flags." :type 'boolean :group 'ediff-highlighting) +(ediff-defvar-local ediff-use-faces t "") ;; this indicates that diff regions are word-size, so fine diffs are ;; permanently nixed; used in ediff-windows-wordwise and ediff-regions-wordwise @@ -604,13 +604,13 @@ :type 'boolean :group 'ediff) -(ediff-defvar-local ediff-highlight-all-diffs t "") (defcustom ediff-highlight-all-diffs t "If nil, only the selected differences are highlighted. Otherwise, all difference regions are highlighted, but the selected region is shown in brighter colors." :type 'boolean :group 'ediff-highlighting) +(ediff-defvar-local ediff-highlight-all-diffs t "") ;; The suffix of the control buffer name. --=-=-= If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-01-05 on mcbain Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure '--with-x-toolkit=gtk' '--prefix=/usr/local'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Diff Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t global-auto-revert-mode: t delete-selection-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x b e d i f e i n C-x v = C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-x C-n M-x d i f f - C-g M-x c u s t o m - a p v c - d i C-g M-x c u c s t o s s t o m i - v a r v c - = d i f s w C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-e C-n C-e C-, C-, C-n C-n C-n C-n C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-e C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-, C-, 3 C-n - d C-p C-f C-f 2 - d u C-n C-a C-. C-b 1 C-x C-b C-x v = C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-x C-w / t m p / e d i f f - i n i t . e l . p a t c h M-x e m a c s - b u f g r e r e p o r t - e m Recent messages: To install your edits, invoke [State] and choose the Set operation [2 times] M-TAB: complete field; RET: enter value Wrote /home/dave/elisp/custom.el Compiling /home/dave/elisp/custom.el...done Wrote /home/dave/elisp/custom.elc Finding changes in /home/dave/src/emacs/lisp/ediff-init.el...done Wrote /tmp/ediff-init.el.patch Making completion list... Scanning for dabbrevs...100% [2 times] Mark deactivated -- Dave Abrahams BoostPro Computing http://www.boostpro.com --=-=-=--