all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#37824: Args out of range error
@ 2019-10-19 15:27 Takenari Shinohara
  2019-10-19 17:34 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Takenari Shinohara @ 2019-10-19 15:27 UTC (permalink / raw)
  To: 37824

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-20 20:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2019-10-20 20:03   ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors

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.