1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/lisp/progmodes
Mattias Engdegård 4acdd7fe58 Fix edge case errors in filename-matching regexps
These changes fix actual or latent bugs in regexps that match
file names, such as PATTERN arguments to 'directory-files'.  See
https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00265.html

* admin/authors.el (authors-obsolete-files-regexps)
(authors-renamed-files-regexps):
* lisp/auth-source-pass.el (auth-source-pass-entries):
* lisp/calendar/todo-mode.el (todo-show, todo-find-filtered-items-file)
(todo-filter-items, todo-reset-nondiary-marker, todo-reset-done-string)
(todo-reset-comment-string, todo-reset-highlight-item):
* lisp/cedet/semantic/db-ebrowse.el (semanticdb-load-ebrowse-caches):
* lisp/cedet/semantic/texi.el (semantic-texi-associated-files):
* lisp/cedet/srecode/map.el (srecode-map-update-map):
* lisp/dired.el (dired-re-no-dot):
* lisp/emacs-lisp/autoload.el (update-directory-autoloads):
* lisp/emacs-lisp/shadow.el (load-path-shadows-find):
* lisp/files.el (auto-mode-alist, directory-files-no-dot-files-regexp):
* lisp/finder.el (finder-compile-keywords):
* lisp/generic-x.el (inetd-conf-generic-mode, named-boot-generic-mode)
(resolve-conf-generic-mode, etc-modules-conf-generic-mode):
* lisp/gnus/gnus-agent.el (gnus-agent-read-agentview)
(gnus-agent-regenerate-group, gnus-agent-update-files-total-fetched-for):
* lisp/gnus/gnus-cache.el (gnus-cache-articles-in-group):
* lisp/gnus/gnus-score.el (gnus-score-search-global-directories):
* lisp/gnus/gnus-util.el (gnus-delete-directory):
* lisp/gnus/gnus-uu.el (gnus-uu-dir-files):
* lisp/gnus/nndraft.el (nndraft-request-group):
* lisp/gnus/nnmh.el (nnmh-request-group, nnmh-request-create-group):
(nnmh-request-delete-group, nnmh-active-number, nnmh-update-gnus-unreads):
* lisp/gnus/nnspool.el (nnspool-request-group):
* lisp/gnus/spam-stat.el (spam-stat-process-directory)
(spam-stat-test-directory):
* lisp/help-fns.el (help-fns--first-release):
* lisp/help.el (view-emacs-news):
* lisp/international/quail.el (quail-update-leim-list-file):
* lisp/international/titdic-cnv.el (batch-titdic-convert):
* lisp/mail/mspools.el (mspools-set-vm-spool-files)
(mspools-get-spool-files):
* lisp/mail/rmail.el (rmail-secondary-file-regexp)
(rmail-speedbar-match-folder-regexp):
* lisp/net/ange-ftp.el (ange-ftp-delete-directory):
* lisp/net/tramp.el (tramp-use-absolute-autoload-file-names):
* lisp/obsolete/gulp.el (gulp-send-requests):
* lisp/obsolete/vc-arch.el (vc-arch-trim-revlib):
* lisp/org/ob-core.el (org-babel-remove-temporary-directory):
* lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp, ebnf-style-database):
* lisp/progmodes/executable.el (executable-command-find-posix-p):
* lisp/startup.el (command-line):
* lisp/textmodes/refer.el (refer-get-bib-files):
* lisp/url/url-about.el (url-probe-protocols):
* lisp/vc/vc-rcs.el (vc-rcs-register, vc-rcs-unregister):
* test/lisp/net/tramp-archive-tests.el
(tramp-archive-test19-directory-files-and-attributes):
* test/lisp/net/tramp-tests.el (tramp-test19-directory-files-and-attributes):
Replace ^ and $ with \` and \', respectively.
Use (rx (or (not ".") "...")), translated into "[^.]\\|\\.\\.\\.",
to match anything but "." and "..", instead of several incorrect
regexps.
2020-04-14 12:25:16 +02:00
..
antlr-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
asm-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
autoconf.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bat-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bug-reference.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cc-align.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cc-awk.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cc-bytecomp.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cc-cmds.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cc-defs.el * lisp/progmodes/cc-defs.el (c-version): update to 5.34.1 for Emacs 27.1 2020-03-14 11:39:40 +00:00
cc-engine.el Java Mode: Fix fontification of variable decl inside `for' 2020-02-23 12:41:20 +00:00
cc-fonts.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cc-guess.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cc-langs.el Reformulate c-end-of-macro, handling multiline block comments better 2020-02-16 12:14:41 +00:00
cc-menus.el Objective C Mode imenu: cease recognizing "functions" within comments, etc. 2020-01-07 20:11:37 +00:00
cc-mode.el CC Mode: Fix the handling of two adjacent after-change-functionses. 2020-03-04 21:17:04 +00:00
cc-styles.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cc-vars.el Finish the documentation for c-noise-macro-{,with-parens-}names. 2020-01-27 18:10:34 +00:00
cfengine.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cmacexp.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
compile.el Make OMake support slightly less expensive (bug#39595) 2020-02-17 11:23:41 +01:00
cperl-mode.el Prefer saying "Info manual" to "info page" in docs 2020-01-23 02:36:04 +01:00
cpp.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cwarn.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dcl-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ebnf-abn.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ebnf-bnf.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ebnf-dtd.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ebnf-ebx.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ebnf-iso.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ebnf-otz.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ebnf-yac.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ebnf2ps.el Fix edge case errors in filename-matching regexps 2020-04-14 12:25:16 +02:00
ebrowse.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
elisp-mode.el Do setup Flymake in file-less Elisp buffers 2020-04-12 15:17:15 +01:00
etags.el Honor tags-case-fold-search during xref identifer completion 2020-01-18 00:23:46 +03:00
executable.el Fix edge case errors in filename-matching regexps 2020-04-14 12:25:16 +02:00
f90.el ; Unmaintain fortran elisp 2020-01-15 18:49:21 -08:00
flymake-cc.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
flymake-proc.el flymake: fix typo in variable binding (bug#38752) 2020-01-10 18:15:03 +01:00
flymake.el Fix 'flymake-show-diagnostics-buffer' when line numbers are displayed 2020-04-13 08:00:14 +03:00
fortran.el ; Unmaintain fortran elisp 2020-01-15 18:49:21 -08:00
gdb-mi.el ; * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Fix commentary. 2020-01-31 11:41:14 +02:00
glasses.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
grep.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gud.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
hideif.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
hideshow.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
icon.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
idlw-complete-structtag.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
idlw-help.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
idlw-shell.el Correct "different than" to "different from" where appropriate 2020-02-09 14:33:14 +00:00
idlw-toolbar.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
idlwave.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
inf-lisp.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
js.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ld-script.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
m4-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
make-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
meta-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mixal-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
modula2.el Revert "* lisp/calc/calc-ext.el (math-scalarp): Fix typo" 2019-06-26 10:24:59 -04:00
octave.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
opascal.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pascal.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
perl-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
prog-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
project.el Handle project--files-in-directory finding no files better 2020-03-30 23:16:27 +03:00
prolog.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ps-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
python.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ruby-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
scheme.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sh-script.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
simula.el Fix broken regexps 2020-02-20 11:25:25 +01:00
sql.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
subword.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tcl.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
vera-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
verilog-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
vhdl-mode.el Don't misinterpret doc string as initial value 2020-03-04 14:46:46 +01:00
which-func.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xref.el Handle project--files-in-directory finding no files better 2020-03-30 23:16:27 +03:00
xscheme.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00