unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Takenari Shinohara <takenari.shinohara@gmail.com>, 37824@debbugs.gnu.org
Subject: bug#37824: Args out of range error
Date: Sun, 20 Oct 2019 15:22:38 +0200	[thread overview]
Message-ID: <87zhhveem7.fsf@Ergus.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <834l047i6b.fsf@gnu.org>

This is the same issue than 37806.

I fixed it locally also the other member names. But I'll commit
tomorrow after testing the change. 

On Sat, Oct 19, 2019 at 08:34:53PM +0300, Eli Zaretskii wrote:
>> From: Takenari Shinohara <takenari.shinohara@gmail.com>
>> Date: Sun, 20 Oct 2019 00:27:22 +0900
>>
>> After building recent head, I started to see Args out of range errors occasionally.
>>
>>  sort: Args out of range: [nil :family :foundry :swidth :height :weight :slant :underline :inverse :foreground ...], 19
>>
>> I inspected a little, and I think a found the problem.
>> Commit f9206f34d63104c50659a15d3615646a09df87bf intorduced new LFACE_EXTEND_INDEX enum for lface_attribute_index
>> in src/dispextern.h, but probably forgot to add corresponding value to internal-lisp-face-attributes defvar,
>> causing an arg-out-of-range error for few face related functions.
>>
>> After adding :extend keyword to internal-lisp-face-attributes the error don't occur.
>>
>> (setq internal-lisp-face-attributes
>>   [nil
>>    :family :foundry :swidth :height :weight :slant :underline :inverse
>>    :foreground :background :stipple :overline :strike :box
>>    :font :inherit :fontset :vector :extend])
>
>Thanks.
>
>Jimmy, could you please take a look at this issue?





  reply	other threads:[~2019-10-20 13:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-19 15:27 bug#37824: Args out of range error Takenari Shinohara
2019-10-19 17:34 ` Eli Zaretskii
2019-10-20 13:22   ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2019-10-20 20:03   ` Ergus 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

  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=87zhhveem7.fsf@Ergus.i-did-not-set--mail-host-address--so-tickle-me \
    --to=bug-gnu-emacs@gnu.org \
    --cc=37824@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=spacibba@aol.com \
    --cc=takenari.shinohara@gmail.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 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).