From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65471 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.gnus.general Subject: [sdl.web@gmail.com: window-system in face definition] Date: Sun, 28 Oct 2007 09:50:30 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193579531 6554 80.91.229.12 (28 Oct 2007 13:52:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2007 13:52:11 +0000 (UTC) To: ding@gnus.org, emacs-devel@gnus.org Original-X-From: ding-owner+M13972@lists.math.uh.edu Sun Oct 28 14:52:13 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1Im8Yj-0005Yw-Oq for ding-account@gmane.org; Sun, 28 Oct 2007 14:52:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Im8Xf-0007Qm-OV; Sun, 28 Oct 2007 08:51:03 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Im8Xe-0007Qd-P7 for ding@lists.math.uh.edu; Sun, 28 Oct 2007 08:51:02 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1Im8XB-0003Te-9o for ding@lists.math.uh.edu; Sun, 28 Oct 2007 08:51:02 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Im8X4-0006g7-00; Sun, 28 Oct 2007 14:50:27 +0100 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Im8X8-0000tK-Mr; Sun, 28 Oct 2007 09:50:30 -0400 X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65471 Archived-At: Would someone please DTRT then ack? ------- Start of forwarded message ------- X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.1.0 From: Leo To: Richard Stallman Subject: window-system in face definition Date: Sat, 27 Oct 2007 15:45:24 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Dear Richard, I intend to report a bug about Gnus which I have reported to Gnus mailing list but apparently no one has paid attention. Now that multi-tty has been merged into Emacs, window-system has become a frame-local variable and is not sufficient to tell which single device Emacs displays on or rather we should assume window-system is t in this case. So the following code need to be changed (simplified) accordingly. There might be other occurrences of such structure. - ---- line 1119 of gnus-art.el ---- (defcustom gnus-treat-emphasize (and (or window-system (featurep 'xemacs)) 50000) "Emphasize text. Valid values are nil, t, `head', `first', `last', an integer or a predicate. See Info node `(gnus)Customizing Articles'." :group 'gnus-article-treat :link '(custom-manual "(gnus)Customizing Articles") :type gnus-article-treat-custom) - --------------------------------- Should be simplified to: (defcustom gnus-treat-emphasize 5000 ...) HTH, - -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the most powerful email client -- http://gnus.org/ ------- End of forwarded message -------