From: Jacob Faibussowitsch <jacob.fai@gmail.com>
To: 49712@debbugs.gnu.org
Subject: bug#49712: [Emacs 28.0.50 Master] Error: (wrong-type-argument listp string-match)
Date: Fri, 23 Jul 2021 13:43:33 -0400 [thread overview]
Message-ID: <4CA7DB5E-ED4E-45B2-ACC3-496389E5571D@gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2021-07-23 17:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-23 17:43 Jacob Faibussowitsch [this message]
2021-07-23 18:19 ` bug#49712: [Emacs 28.0.50 Master] Error: (wrong-type-argument listp string-match) Lars Ingebrigtsen
2021-07-23 18:23 ` Jacob Faibussowitsch
2021-07-23 18:23 ` Lars Ingebrigtsen
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=4CA7DB5E-ED4E-45B2-ACC3-496389E5571D@gmail.com \
--to=jacob.fai@gmail.com \
--cc=49712@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 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.