From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4042 Path: main.gmane.org!not-for-mail From: steve@miranova.com (Steven L. Baur) Newsgroups: gmane.emacs.gnus.general Subject: [sgnus 0.14] customizing strings for mouse highlight fails Date: 18 Nov 1995 15:07:51 -0800 Organization: Miranova Systems, Inc. Sender: steve@miranova.com Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035144847 28366 80.91.224.250 (20 Oct 2002 20:14:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:14:07 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.6.11/8.6.9) with ESMTP id PAA17404 for ; Sat, 18 Nov 1995 15:59:33 -0800 Original-Received: from miranova.com (steve@miranova.com [204.212.162.100]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sun, 19 Nov 1995 00:07:55 +0100 Original-Received: (from steve@localhost) by miranova.com (8.6.11/8.6.9) id PAA17084; Sat, 18 Nov 1995 15:07:53 -0800 Original-To: ding@ifi.uio.no X-Url: http://www.miranova.com/%7Esteve/ Original-Lines: 43 X-Mailer: September Gnus v0.14 Xref: main.gmane.org gmane.emacs.gnus.general:4042 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4042 This patch is divided into two parts, and should fix a problem on GNU Emacs as well. Problem: Customizing the Group format line fails on XEmacs. All of the selected text that should be highlighted by the mouse fails to appear in the buffer. Patch: Now that there is a unified interface to the mouse highlight stuffs, it should not be disabled in gnus-xmas.el. --- gnus-xmas.el~ Thu Nov 16 19:36:23 1995 +++ gnus-xmas.el Sat Nov 18 15:00:19 1995 @@ -307,7 +307,6 @@ (defun gnus-xmas-redefine () - (fset 'gnus-mouse-face-function 'identity) (fset 'gnus-summary-make-display-table (lambda () nil)) (fset 'gnus-visual-turn-off-edit-menu 'identity) (fset 'gnus-highlight-selected-summary Problem: The gnus-mouse-face-function fails when attempting to render a customized format. This should affect both GNU Emacs 19.29 and XEmacs 19.13. Patch: An extraneous comma got left in gnus-mouse-face-function (the function that compiles the string format specification). --- gnus.el~ Thu Nov 16 19:36:25 1995 +++ gnus.el Sat Nov 18 14:53:32 1995 @@ -2164,7 +2164,7 @@ (defun gnus-mouse-face-function (form) (` (put-text-property (point) (progn (insert (, form)) (point)) - ,gnus-mouse-face-prop gnus-mouse-face))) + gnus-mouse-face-prop gnus-mouse-face))) (defun gnus-max-width-function (el max-width) (or (numberp max-width) (signal 'wrong-type-argument '(numberp max-width))) -- steve@miranova.com baur