1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00
emacs/doc/lispref
Mattias Engdegård 26f735ff19 Add standard unmatchable regexp
Add `regexp-unmatchable' as a standard unmatchable regexp, defined as
"\\`a\\`".  Use it where such a regexp is needed, replacing slower
expressions in several places.
From a suggestion by Philippe Schnoebelen.

* lisp/subr.el (regexp-unmatchable): New defconst.
* etc/NEWS (Lisp Changes): Mention `regexp-unmatchable'.
* doc/lispref/searching.texi (Regexp Functions): Document it.
* lisp/emacs-lisp/regexp-opt.el (regexp-opt)
* lisp/progmodes/cc-defs.el (cc-conditional-require-after-load)
(c-make-keywords-re)
* lisp/progmodes/cc-engine.el (c-beginning-of-statement-1)
(c-forward-<>-arglist-recur, c-forward-decl-or-cast-1)
(c-looking-at-decl-block)
* lisp/progmodes/cc-fonts.el (c-doc-line-join-re)
(c-doc-bright-comment-start-re)
* lisp/progmodes/cc-langs.el (c-populate-syntax-table)
(c-assignment-op-regexp)
(c-block-comment-ender-regexp, c-font-lock-comment-end-skip)
(c-block-comment-start-regexp, c-line-comment-start-regexp)
(c-doc-comment-start-regexp, c-decl-start-colon-kwd-re)
(c-type-decl-prefix-key, c-type-decl-operator-prefix-key)
(c-pre-id-bracelist-key, c-enum-clause-introduction-re)
(c-nonlabel-token-2-key)
* lisp/progmodes/cc-mode.el (c-doc-fl-decl-start, c-doc-fl-decl-end)
* lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-name-re)
(c-noise-macro-name-re, c-make-noise-macro-regexps)
* lisp/progmodes/octave.el (octave-help-mode)
* lisp/vc/vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-revision-completion-table)
* lisp/vc/vc-git.el (vc-git-log-view-mode)
* lisp/vc/vc-hg.el (vc-hg-log-view-mode)
* lisp/vc/vc-mtn.el (vc-mtn-log-view-mode):
Use `regexp-unmatchable'.
* lisp/textmodes/ispell.el (ispell-non-empty-string):
Use `regexp-unmatchable', fixing a broken never-match regexp.
2019-05-15 18:55:27 +02:00
..
abbrevs.texi Merge from origin/emacs-26 2019-02-20 12:07:22 -08:00
anti.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
back.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
backups.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
book-spine.texi
buffers.texi Merge from origin/emacs-26 2019-03-09 10:07:46 -08:00
ChangeLog.1 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
commands.texi Clarify what constitutes an event (bug#35238) 2019-05-07 18:00:20 +01:00
compile.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
control.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
customize.texi Backport: Improve pure and side-effect-free docs 2019-04-22 16:14:33 +01:00
debugging.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
display.texi Merge from origin/emacs-26 2019-04-17 09:32:39 -07:00
doclicense.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
edebug.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
elisp.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
errors.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eval.texi Backport: Improve pure and side-effect-free docs 2019-04-22 16:14:33 +01:00
files.texi Fix misuses of NULL when talking about the NUL character 2019-03-21 23:55:28 -04:00
frames.texi Fix handling of minibuffer-only child frames (Bug#33498) 2019-03-05 10:46:19 +01:00
functions.texi Backport: Improve pure and side-effect-free docs 2019-04-22 16:14:33 +01:00
gpl.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
hash.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
help.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
hooks.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
index.texi
internals.texi Export major version of latest Emacs supported by emacs-module.h. 2019-04-28 20:08:25 +02:00
intro.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
keymaps.texi Merge from origin/emacs-26 2019-03-09 10:07:46 -08:00
lay-flat.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
lists.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
loading.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
macros.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
Makefile.in Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
maps.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
markers.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
minibuf.texi Merge from origin/emacs-26 2019-04-12 07:51:35 -07:00
modes.texi Merge from origin/emacs-26 2019-04-29 09:12:53 -07:00
nonascii.texi Merge from origin/emacs-26 2019-04-29 09:08:19 -07:00
numbers.texi Fix logb on zero, infinite, NaN args 2019-01-06 16:25:40 -08:00
objects.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
os.texi Clarify what constitutes an event (bug#35238) 2019-05-07 18:00:20 +01:00
package.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
positions.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
processes.texi Merge from origin/emacs-26 2019-05-08 07:51:46 -07:00
README Update copyright year to 2019 2019-01-01 01:01:13 +00:00
records.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
searching.texi Add standard unmatchable regexp 2019-05-15 18:55:27 +02:00
sequences.texi New seq-contains-p predicate (Bug#34852) 2019-03-21 21:08:28 +01:00
spellfile
streams.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
strings.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
symbols.texi Backport: Improve pure and side-effect-free docs 2019-04-22 16:14:33 +01:00
syntax.texi Merge from origin/emacs-26 2019-02-20 12:07:22 -08:00
text.texi Merge from origin/emacs-26 2019-05-14 17:18:18 -07:00
threads.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
tips.texi * doc/lispref/tips.texi (Documentation Tips): Fix quotes. (Bug#34372) 2019-02-07 19:49:57 +02:00
two-volume-cross-refs.txt Update copyright year to 2019 2019-01-01 01:01:13 +00:00
two-volume.make Update copyright year to 2019 2019-01-01 01:01:13 +00:00
variables.texi Do not hardcode "/bin/sh" in compile. Bug#24338, Bug#29723 2019-03-09 16:44:24 +01:00
windows.texi Merge from origin/emacs-26 2019-04-10 09:07:16 -07:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2019 Free Software Foundation, Inc.  -*- outline -*-
See the end of the file for license conditions.


README for the Emacs Lisp Reference Manual.

* This directory contains the texinfo source files for the Emacs Lisp
Reference Manual.

* Report bugs in the Lisp Manual (or in Emacs) using M-x report-emacs-bug.
To ask questions, use the help-gnu-emacs mailing list.

* The Emacs Lisp Reference Manual is quite large.  It totals around
1100 pages in smallbook format; the info files total around 3.0 megabytes.

* You can format this manual for Info, for printing hardcopy using TeX,
or for HTML.

* You can buy nicely printed copies from the Free Software Foundation.
Buying a manual from the Free Software Foundation helps support our GNU
development work.  See <https://shop.fsf.org/>.
(At time of writing, this manual is out of print.)

* The master file for formatting this manual for Tex is called 'elisp.texi'.
It contains @include commands to include all the chapters that make up
the manual.

* This distribution contains a Makefile that you can use with GNU Make.

** To make an Info file, you need to install Texinfo, then run 'make info'.

** Use 'make elisp.pdf' or 'make elisp.html' to create PDF or HTML versions.


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.