From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4019 Path: main.gmane.org!not-for-mail From: wmperry@spry.com (William Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: `mouse-face' under XEmacs Date: Thu, 16 Nov 95 19:37 PST Message-ID: References: Reply-To: wmperry@spry.com NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035144827 28281 80.91.224.250 (20 Oct 2002 20:13:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:13:47 +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 UAA04090 for ; Thu, 16 Nov 1995 20:10:21 -0800 Original-Received: from monolith (root@monolith.spry.com [198.185.1.186]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id ; Fri, 17 Nov 1995 04:31:21 +0100 Original-To: Lars Magne Ingebrigtsen Errors-to: wmperry@spry.com X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 Xref: main.gmane.org gmane.emacs.gnus.general:4019 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4019 Lars Magne Ingebrigtsen writes: > steve@miranova.com (Steven L. Baur) writes: > > > What is that example supposed to do? If you want to make text > > highlight underneath the mouse you do > > (put-text-property 1 4 'highlight t) > > > > There is no 'mouse-face property documented in my copy of the manual. > > No wonder it didn't work. :-) > > Does that mean that you can't decide how the mouse-highlighting is to > look? Under Emacs you can use any face you want... The best way to do this is to set up buffer-specific face values for 'highlight' in the various mode hooks. Like: (set-face-foreground 'highlight "green" (current-buffer)) -Bill P.