From: William Perry <wmperry@spry.com>
Cc: ding@ifi.uio.no
Subject: Re: `mouse-face' under XEmacs
Date: Fri, 24 Nov 1995 12:30:05 -0800 [thread overview]
Message-ID: <199511242030.MAA03289@monolith.spry.com> (raw)
In-Reply-To: <m2n39lq0ly.fsf@diana.miranova.com>
Steven L. Baur writes:
> >>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@ifi.uio.no> 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.
next prev parent reply other threads:[~1995-11-24 20:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-17 1:23 Lars Magne Ingebrigtsen
1995-11-17 2:52 ` Per Abrahamsen
1995-11-17 3:59 ` Lars Magne Ingebrigtsen
1995-11-17 4:58 ` Steven L. Baur
1995-11-17 11:32 ` Peter Arius
1995-11-17 17:53 ` Steven L. Baur
1995-11-19 7:43 ` Lars Magne Ingebrigtsen
1995-11-22 0:31 ` Felix Lee
1995-11-23 12:37 ` Lars Magne Ingebrigtsen
1995-11-24 19:22 ` Steven L. Baur
1995-11-24 20:30 ` William Perry [this message]
1995-11-26 14:28 ` Lars Magne Ingebrigtsen
1995-11-17 3:06 ` Steven L. Baur
1995-11-17 3:17 ` Lars Magne Ingebrigtsen
1995-11-17 3:37 ` William Perry
1995-11-17 3:30 ` William Perry
1995-11-17 4:10 ` Steven L. Baur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199511242030.MAA03289@monolith.spry.com \
--to=wmperry@spry.com \
--cc=ding@ifi.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).