all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#49712: [Emacs 28.0.50 Master] Error: (wrong-type-argument listp string-match)
@ 2021-07-23 17:43 Jacob Faibussowitsch
  2021-07-23 18:19 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Jacob Faibussowitsch @ 2021-07-23 17:43 UTC (permalink / raw)
  To: 49712

[-- Attachment #1: Type: text/plain, Size: 2239 bytes --]

Hello,

Full error message:

Directory-local variables error: (wrong-type-argument listp string-match)

How to reproduce:

$ emacs -Q

OR

$ git checkout master
$ make all

(The warning will appear when byte-compiling emacs internals in the second case)

What I think went wrong:

I am pretty sure this was introduced in https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ad5faa424a5d2f0d67265906d21f7af98220df26 <https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ad5faa424a5d2f0d67265906d21f7af98220df26>, in set-auto-mode--apply-alist() in lisp/files.el (+3198 $EMACS_DIR/lisp/files.el for the lazy). Specifically line 3224:

  +(while name
  +  (setq mode
  +     (if case-insensitive-p
  +            ;; Filesystem is case-insensitive.
  +            (let ((case-fold-search t))
> +              (assoc-default alist 'string-match)))

Every other assoc-default() in this routine has “name” as an argument except the above, i.e.

(assoc-default name alist ’string-match)

————————————————————————————————————— 

Version and config info:

In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.5.0)
Repository revision: fcae435f598471a2911641412125c5ac4f73559f
Repository branch: master
System Description:  macOS 11.5

Configured using:
 'configure CC=clang CXX=clang++ 'CFLAGS=-O3 -march=native -flto=thin
 -flto-jobs=5 -std=gnu17 -Wno-unused-command-line-argument'
 'CXXFLAGS=-O3 -march=native -flto=thin -flto-jobs=5 -std=gnu++17
 -Wno-unused-command-line-argument' LDFLAGS=-mmacosx-version-min=11.4
 'LIBS=-lpng -ljpeg' --with-gnutls --without-x --with-xml2 --with-dbus
 --with-modules --with-json --without-ns --with-jpeg --with-tiff
 --with-gif --with-png --with-rsvg --with-libsystemd --with-cairo
 --with-zlib --with-libgmp --with-toolkit-scroll-bars
 --disable-gcc-warnings --with-native-compilation’

Configured features:
ACL GMP GNUTLS JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE
PDUMPER THREADS XIM ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Best regards,

Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)


[-- Attachment #2: Type: text/html, Size: 4865 bytes --]

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

end of thread, other threads:[~2021-07-23 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-23 17:43 bug#49712: [Emacs 28.0.50 Master] Error: (wrong-type-argument listp string-match) Jacob Faibussowitsch
2021-07-23 18:19 ` Lars Ingebrigtsen
2021-07-23 18:23   ` Jacob Faibussowitsch
2021-07-23 18:23     ` Lars Ingebrigtsen

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.