From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4023 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: 16 Nov 1995 20:10:23 -0800 Organization: Miranova Systems, Inc. Sender: steve@miranova.com Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035144831 28289 80.91.224.250 (20 Oct 2002 20:13:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:13:51 +0000 (UTC) Cc: Lars Magne Ingebrigtsen 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 UAA04732 for ; Thu, 16 Nov 1995 20:48:51 -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 ; Fri, 17 Nov 1995 05:10:35 +0100 Original-Received: (from steve@localhost) by miranova.com (8.6.11/8.6.9) id UAA04091; Thu, 16 Nov 1995 20:10:26 -0800 Original-To: ding@ifi.uio.no X-Url: http://www.miranova.com/%7Esteve/ In-Reply-To: Per Abrahamsen's message of Fri, 17 Nov 1995 03:52:31 +0100 Original-Lines: 26 X-Mailer: September Gnus v0.13 Xref: main.gmane.org gmane.emacs.gnus.general:4023 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4023 >>>>> "Per" == Per Abrahamsen writes: Per> I don't think XEmacs supports mouse-face, at least I couln't Per> find it in the documentation when writing `custom.el'. It Per> does support `highlight' instead, but the value is flag Per> rather than a face. If the flag is set the text will be Per> highlighted when the mouse is over it, with some fixed face Per> (presumably `highlight'). Per> I use the following in custom.el: (defconst mouse-face (if (string-match "XEmacs" emacs-version) 'highlight 'mouse-face) "Symbol used for highlighting text under mouse.") Per> (put-text-property 1 4 mouse-face 'bold) Per> which seems to work. highlight on XEmacs is a boolean property. So the 'bold there just means t. Highlighting is done in the face called ``highlight''. -- steve@miranova.com baur