all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org>
Cc: 15099-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#15099: 24.3.50; Box has no right border
Date: Fri, 23 Aug 2013 23:59:47 +0200	[thread overview]
Message-ID: <86d2p4oyp8.fsf@somewhere.org> (raw)
In-Reply-To: <83siy0j3si.fsf-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Fri, 23 Aug 2013 09:54:05 +0300")

Eli Zaretskii wrote:
>> From: "Fabrice Niessen" <fni-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
>> 
>> > I fixed this for display tables in trunk revision 113890.
>> 
>> It works much better (almost there), but I still see two problems:
>> 
>> - The "..." are underlined twice (two parallel lines). Why?
>
> Because the org-ellipsis face specifies both box and underline.  Type
> "M-x list-faces-display RET", then click mouse-1 on this face in the
> *Faces* buffer, and you will see this:
>
>   Face: org-ellipsis (sample) (customize this face)
>
>   Documentation:
>   Face for the ellipsis in folded text.
>
>   Defined in `org-faces.el'.
>
> 	  Family: unspecified
> 	 Foundry: unspecified
> 	   Width: unspecified
> 	  Height: unspecified
> 	  Weight: unspecified
> 	   Slant: unspecified
>       Foreground: #999999
>       Background: #FFF8C0
>        Underline: t   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> 	Overline: unspecified
>   Strike-through: unspecified
> 	     Box: (:line-width 1 :color #999999)
> 	 Inverse: unspecified
> 	 Stipple: unspecified
> 	    Font: unspecified
> 	 Fontset: unspecified
> 	 Inherit: unspecified
>
> And indeed in org-faces.el we see:
>
>   (defface org-ellipsis
>     '((((class color) (background light)) (:foreground "DarkGoldenrod" :underline t))
>       (((class color) (background dark)) (:foreground "LightGoldenrod" :underline t))
>       (t (:strike-through t)))

OK. So adding explicitly :underline nil does solve the problem, indeed.

(set-face-attribute 'org-ellipsis nil
                    :box '(:line-width 1 :color "#999999")
                    :foreground "#999999" :background "#FFF8C0"
                    :underline nil)

Thanks!

>> - When moving the "character cursor" (I mean: not the mouse) over the "...",
>>   the first dot becomes boxed on its own. Tab'ing multiple times (to expand
>>   and collapse the hidden region) fixes the box back.
>
> That's a separate and unrelated problem, you should see it with the
> box face on buffer text as well, in any Emacs version prior to the
> above change.  The block cursor is drawn and/or erased incorrectly
> when the underlying character has the box face attribute.  Feel free
> to file a separate bug report about that.

I'll do.

> Do I understand correctly that the two other problems you have shown
> in your original report are also solved, and I can therefore close
> this bug?  If not, could you please give recipes to reproduce the
> other problems with box faces?

The other problems are solved. Thanks a lot.

Best regards,
  Seb






  parent reply	other threads:[~2013-08-23 21:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15  8:51 bug#15099: 24.3.50; Box has no right border Fabrice Niessen
2013-08-15 15:35 ` Eli Zaretskii
     [not found]   ` <83siybnf0r.fsf-mXXj517/zsQ@public.gmane.org>
2013-08-18  8:30     ` Fabrice Niessen
2013-08-18 10:22       ` Andreas Schwab
2013-08-18 15:50       ` Eli Zaretskii
2013-08-18 18:26         ` Glenn Morris
     [not found]           ` <tgd2pa6ek6.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
2013-08-19 11:58             ` Fabrice Niessen
     [not found] ` <mailman.73.1376580915.10748.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.73.1376580915.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-08-22 20:51     ` Fabrice Niessen
2013-08-23  6:54       ` Eli Zaretskii
     [not found]         ` <83siy0j3si.fsf-mXXj517/zsQ@public.gmane.org>
2013-08-23 21:59           ` Sebastien Vauban [this message]
2013-08-24  6:35             ` Eli Zaretskii

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=86d2p4oyp8.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=15099-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=eliz-mXXj517/zsQ@public.gmane.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.