unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus
Date: Sun, 17 Feb 2008 00:56:56 +0100	[thread overview]
Message-ID: <87skzs1mlz.fsf@escher.local.home> (raw)
In-Reply-To: 87fxvzsdf3.fsf@escher.local.home

On Mon, 11 Feb 2008 16:47:28 +0100 Stephen Berman <Stephen.Berman@gmx.net> wrote:

> 1. emacs -Q
> 2. Eval this:
>    (setq gnus-summary-line-format "%U%R%z%((%4L) %-20,20f \x2502 %*%B%s%)\n"
> 	  gnus-sum-thread-tree-root "\x25b6 "
> 	  gnus-sum-thread-tree-false-root "\x25b7 "
> 	  gnus-sum-thread-tree-vertical "\x2502 "
> 	  gnus-sum-thread-tree-leaf-with-other "\x251c\x2500\x25b8 ..."
> 	  gnus-sum-thread-tree-single-leaf "\x2570\x2500\x25b8 ...")
> 3. M-x gnus, browse a group that has threaded messages and see the fancy
> threading display produced by the above settings in the Summary buffer.
> 4. Select a subject header in the Summary buffer, such that the subject
> contains one of the fancy threading characters, or one of the strings
> "Re: ", "RE: ", "23.", "2.", and place the cursor on one of these
> characters (on the first character in the strings "Re: ", "RE: ", "23.",
> "2.").
> 5. Move the mouse over the subject header and observe the highlighting
> everywhere except the character after the cursor (in the case of
> "\x251c\x2500\x25b8 ..." and "\x2570\x2500\x25b8 ...", if the cursor is
> over "\x2500", the both the immediately preceding and immediately
> following characters are not highlighted).
>
> Repeat the above in Emacs 23.0.50 but with the following settings in
> step 2 (since the above are invalid characters in pre-unicode-2 Emacs):
>    (setq gnus-summary-line-format "%U%R%z%((%4L) %-20,20f \x49022 %*%B%s%)\n"
> 	    gnus-sum-thread-tree-root "\x490f6 "
> 	    gnus-sum-thread-tree-false-root "\x490f7 "
> 	    gnus-sum-thread-tree-leaf-with-other "\x4903c\x49020\x490fa ..."
> 	    gnus-sum-thread-tree-vertical "\x49022"
> 	    gnus-sum-thread-tree-single-leaf "\x490b0\x49020\x490fa ...")
> Now at step 5 the entire subject shows mouse-face highlighting as it
> should, i.e. no gaps.

I made a mistake above: either step 1 should be this:

1'. emacs -Q -fn "Dejavu Sans Mono"

or before step 5 use set-frame-font to switch to Dejavu Sans Mono (then
it's without anti-aliasing, but that does not matter).  Other Dejavu
fonts also show the gap in highlighting, but the range of susceptible
strings seems to be less than with Dejavu Sans Mono.  I have tried using
a number of other fonts but so far haven't found any others that show
the display problem.

Steve Berman





  reply	other threads:[~2008-02-16 23:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-11 15:47 23.0.60; broken mouse-face highlighting in Gnus Stephen Berman
2008-02-16 23:56 ` Stephen Berman [this message]
2008-02-17  0:40   ` 23.0.60; Deja vu font breaks " Johan Bockgård
2008-02-17 13:07     ` Stephen Berman
2008-02-17 20:25       ` Johan Bockgård
2008-02-17 20:47         ` Bad drawing of xft fonts overlapping box cursor Johan Bockgård
2008-02-18  0:36           ` Stephen Berman
2008-02-18  0:58             ` Jason Rumney
2008-02-18  0:36         ` 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus Stephen Berman
2008-02-18  1:12           ` Johan Bockgård

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87skzs1mlz.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).