all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: luangruo@yahoo.com, 50699@debbugs.gnu.org
Subject: bug#50699: 28.0.50; Assertation failed when built with checking and mouse face is set to :box 0
Date: Fri, 26 Aug 2022 14:30:15 +0200	[thread overview]
Message-ID: <87o7w7b31k.fsf@gnus.org> (raw)
In-Reply-To: <83mto71k7g.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Sep 2021 15:54:11 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> Btw, there's a lot of strange stuff going on with this.
>
> First, we accept (:box N) and (:box (N . M)) forms, but they are not
> documented.  The form (:box (:line-width (N . M))) is also
> undocumented.

The latter is mentioned:

 @item @code{(:line-width (@var{vwidth} . @var{hwidth}) :color @var{color} :style @var{style})}

But I've now clarified that the elements are optional.

I don't think we need to document the alternate forms -- I think they
just confuse the issue.

> Second, we disallow zero in (:box 0), but allow it in (:box (0 . 0))
> and also in (:box (:line-width 0)) (and handle them as if 1 was
> specified instead of zero).

And I don't think we need to mention this, either.  0 is a degenerate
value for something that's supposed to be about a box's line widths, so
either erroring out or defaulting to 1 makes as much sense (which is
probably why one form does the one thing and the other does the other).

Po Lu <luangruo@yahoo.com> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>> Thanks, should be fixed now.
>
> Works as advertised, thanks :)

So I'm closing this bug report.





  reply	other threads:[~2022-08-26 12:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <874kaf4h94.fsf.ref@yahoo.com>
2021-09-20 11:29 ` bug#50699: 28.0.50; Assertation failed when built with checking and mouse face is set to :box 0 Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-20 12:23   ` Eli Zaretskii
2021-09-20 12:54     ` Eli Zaretskii
2022-08-26 12:30       ` Lars Ingebrigtsen [this message]
2021-09-21  0:35     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=87o7w7b31k.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=50699@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.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.
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.