From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4085 Path: main.gmane.org!not-for-mail From: William Perry Newsgroups: gmane.emacs.gnus.general Subject: Re: `mouse-face' under XEmacs Date: Fri, 24 Nov 1995 12:30:05 -0800 Message-ID: <199511242030.MAA03289@monolith.spry.com> References: <199511220031.QAA15455@desiree.teleport.com> Reply-To: wmperry@spry.com NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035144884 28483 80.91.224.250 (20 Oct 2002 20:14:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:14:44 +0000 (UTC) Cc: ding@ifi.uio.no 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 NAA15528 for ; Fri, 24 Nov 1995 13:13:38 -0800 Original-Received: from homer.spry.com (homer.spry.com [165.121.12.50]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Fri, 24 Nov 1995 21:23:49 +0100 Original-Received: from monolith.spry.com (wmperry@spry-xy1-p16 [165.121.12.216]) by homer.spry.com (8.6.9/8.6.9) with ESMTP id MAA01102; Fri, 24 Nov 1995 12:24:01 -0800 Original-Received: (from wmperry@localhost) by monolith.spry.com (8.6.12/8.6.9) id MAA03289; Fri, 24 Nov 1995 12:30:05 -0800 Original-To: steve@miranova.com (Steven L. Baur) Errors-to: wmperry@spry.com X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 Xref: main.gmane.org gmane.emacs.gnus.general:4085 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4085 Steven L. Baur writes: > >>>>> "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. Currently that is the only way. > 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 ... I just sent a patch to the xemacs-beta list that implements the mouse-face stuff as Emacs19 does, and still keeps the old 'highlight' behaviour that most packages use for XEmacs. We'll see whether it makes it into 19.14 or not. -Bill P.