Gnus development mailing list
 help / color / mirror / Atom feed
From: steve@miranova.com (Steven L. Baur)
Subject: Re: `mouse-face' under XEmacs
Date: 24 Nov 1995 11:22:17 -0800	[thread overview]
Message-ID: <m2n39lq0ly.fsf@diana.miranova.com> (raw)
In-Reply-To: larsi@ifi.uio.no's message of 23 Nov 1995 04:37:01 -0800

>>>>> "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.

    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


  reply	other threads:[~1995-11-24 19:22 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 [this message]
1995-11-24 20:30                 ` William Perry
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=m2n39lq0ly.fsf@diana.miranova.com \
    --to=steve@miranova.com \
    /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).