From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4081 Path: main.gmane.org!not-for-mail From: steve@miranova.com (Steven L. Baur) Newsgroups: gmane.emacs.gnus.general Subject: Re: `mouse-face' under XEmacs Date: 24 Nov 1995 11:22:17 -0800 Organization: Miranova Systems, Inc. Sender: steve@miranova.com Message-ID: References: <199511220031.QAA15455@desiree.teleport.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035144881 28471 80.91.224.250 (20 Oct 2002 20:14:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:14:41 +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 MAA15150 for ; Fri, 24 Nov 1995 12:16:43 -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 ; Fri, 24 Nov 1995 20:22:14 +0100 Original-Received: (from steve@localhost) by miranova.com (8.6.11/8.6.9) id LAA14841; Fri, 24 Nov 1995 11:22:18 -0800 Original-To: ding@ifi.uio.no X-Url: http://www.miranova.com/%7Esteve/ In-Reply-To: larsi@ifi.uio.no's message of 23 Nov 1995 04:37:01 -0800 Original-Lines: 32 X-Mailer: September Gnus v0.14 Xref: main.gmane.org gmane.emacs.gnus.general:4081 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4081 >>>>> "Lars" == Lars Magne Ingebrigtsen writes: >> if the highlighting went to the window edge, or if it didn't >> diddle the background color, then it would look ok. Lars> Yes, I guess... Can one do that under XEmacs? The way I read the documention suggests that the text be blank padded on the right to achieve that effect. Lars> Speaking of `mouse-face', you can now do this: Lars> (setq gnus-summary-line-format "%3(%U%R%z%I%)%(%[%4L: Lars> %-20,20n%]%) %2(%s%)\n") (setq gnus-mouse-face-2 'bold) Lars> (setq gnus-mouse-face-3 'italic) Lars> Then the Subject will magically become bold when you put the Lars> mouse cursor on that part of the text. How... useless! I Lars> love it! :-) Lars> (This won't work under XEmacs, of course.) Actually, I think it could be made to work, but not without some fancy, low win (IMHO) code: set the highlight property, set additional (unique) properties per field, install mouse tracking code, and call the extent highlight routines directly with suitable adjustment to the highlight face. Do the different highlights imply that something different is done when either is clicked on? That might have a use ... -- steve@miranova.com baur