From: Takenari Shinohara <takenari.shinohara@gmail.com>
To: 37824@debbugs.gnu.org
Subject: bug#37824: Args out of range error
Date: Sun, 20 Oct 2019 00:27:22 +0900 [thread overview]
Message-ID: <CAKNh7-B4q6PORzUzhtrrbs790qCC-gA1DesertuvFJtwiLf7XQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 854 bytes --]
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])
[-- Attachment #2: Type: text/html, Size: 1076 bytes --]
next reply other threads:[~2019-10-19 15:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-19 15:27 Takenari Shinohara [this message]
2019-10-19 17:34 ` bug#37824: Args out of range error Eli Zaretskii
2019-10-20 13:22 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=CAKNh7-B4q6PORzUzhtrrbs790qCC-gA1DesertuvFJtwiLf7XQ@mail.gmail.com \
--to=takenari.shinohara@gmail.com \
--cc=37824@debbugs.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).