View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009505 | Rocky-Linux-9 | emacs | public | 2025-05-19 18:35 | 2025-05-19 19:04 |
Reporter | Scott Anderson | Assigned To | Louis Abel | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Platform | x86_64 | OS | Rocky | OS Version | 9.5 (Blue Onyx) |
Summary | 0009505: RPM for Emacs-common has a files.el that is missing defvar enable-dir-local-variables which breaks "dired" command | ||||
Description | On Tuesday, May 13, I installed updates to Rocky Linux in the usual way. These updates included Emacs. However, my users quickly noticed that the Emacs "dired" command was broken. I tracked it down to a missing variable in files.el. I downloaded the source code from the Emacs website and compared it to the files.el that is in the RPM, and they differ. I think something is not right with the Rocky Linux RPM for Emacs. The variable definition seems to have been caught up by mistake in a CVE patch: https://git.rockylinux.org/staging/rpms/emacs/-/blob/r9/SOURCES/emacs-CVE-2024-53920.patch | ||||
Steps To Reproduce | Run emacs and use the command M-x dired RET. instead of giving a directory listing, it will give an error: Symbol’s value as variable is void: enable-dir-local-variables The variable should be defined in files.el, but it is not. | ||||
Additional Information | The variable is listed here: https://emacsdocs.org/docs/elisp/Directory-Local-Variables#variable-enable-dir-local-variables I downloaded the Emacs source code for 27.2 from https://ftpmirror.gnu.org/emacs/emacs-27.2.tar.gz and compared files.el with the version in the Rocky RPM, and indeed, the variable is missing: > (defvar enable-dir-local-variables t > "Non-nil means enable use of directory-local variables. > Some modes may wish to set this to nil to prevent directory-local > settings being applied, but still respect file-local ones.") | ||||
Tags | No tags attached. | ||||
Upstream issue: https://issues.redhat.com/browse/RHEL-92550 CentOS Stream 9 commit, as it will also affect them: https://gitlab.com/redhat/centos-stream/rpms/emacs/-/commit/5db29a96ac3647a7529a088376dfc31101525717#f1057e73df4fb9688273a336bdde9eea2a465f9c_0_127 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-05-19 18:35 | Scott Anderson | New Issue | |
2025-05-19 19:04 | Louis Abel | Assigned To | => Louis Abel |
2025-05-19 19:04 | Louis Abel | Status | new => acknowledged |
2025-05-19 19:04 | Louis Abel | Note Added: 0010198 |