1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

131801 commits

Author SHA1 Message Date
Thien-Thi Nguyen
4d7e54acff Use EXPVAL in docstrings of patterns defined using pcase-defmacro
Suggested by Drew Adams (Bug#31311).

* lisp/emacs-lisp/cl-macs.el (cl-struct): ...here.
* lisp/emacs-lisp/eieio.el (eieio): Likewise.
* lisp/emacs-lisp/radix-tree.el (radix-tree-leaf): Likewise.
* lisp/emacs-lisp/rx.el (rx): Likewise.
2018-05-27 10:36:35 +02:00
Thien-Thi Nguyen
7e8227ed68 Introduce EXPVAL for pcase, pcase-defmacro docstrings
Suggested by Drew Adams (Bug#31311).

* lisp/emacs-lisp/pcase.el (pcase): Use EXPVAL in
docstring to stand for the result of evaluating EXP.
(pcase-defmacro): Add (fn ...) form in docstring
that includes [DOC], and the EXPVAL convention.
2018-05-27 10:36:35 +02:00
Thien-Thi Nguyen
e6de5b3d51 Ensure pcase doc shows `QPAT first among extensions
* lisp/emacs-lisp/pcase.el (pcase--make-docstring):
Split extensions display into two phases, collection
and display, separated by a reordering step that
ensures backquote is the first.
2018-05-27 10:36:34 +02:00
Nicolas Petton
07f8f9bc5a
; * lisp/ldefs-boot.el: Update. 2018-05-25 18:38:07 +02:00
Nicolas Petton
5cec2b03ef
* etc/HISTORY: Update for Emacs 26.1 release. 2018-05-25 17:28:58 +02:00
Nicolas Petton
7c474e1c26
* etc/AUTHORS: Update. 2018-05-25 17:19:29 +02:00
Nicolas Petton
ddc7bea7f0
; * ChangeLog.3: Update. 2018-05-25 17:19:27 +02:00
Nicolas Petton
35574609dd
; * admin/authors.el: Update. 2018-05-25 15:39:46 +02:00
Noam Postavsky
2f44d2d5b1 Note caveat for backward regexp searching in docstring (Bug#31584)
* src/search.c (Fre_search_backward): Emphasize that backwards
searches may give shorter than expected matches.
* doc/lispref/searching.texi (Regexp Search): Add an anchor for
re-search-backward to reference.
2018-05-25 07:54:30 -04:00
Eli Zaretskii
3145d08cae Update backtrace in Emacs Lisp Intro
* doc/lispintro/emacs-lisp-intro.texi (Making Errors): Update the
backtrace to match Emacs 26.  (Bug#31589)
2018-05-25 11:35:42 +03:00
Roland Winkler
43a9c268c7 Move window-point in bibtex-search-entry
* lisp/textmodes/bibtex.el (bibtex-search-entry): Move window-point
to record found.
2018-05-24 13:38:48 -05:00
Eli Zaretskii
4bb2741b7e More fixes of Intro to Emacs Lisp
* doc/lispintro/emacs-lisp-intro.texi (Finding More): Tell the
reader how to invoke 'M-.' without a tags table.  Add a
cross-reference to the Emacs manual for when a tags table does
need to be created.
(append save-excursion): Rephrase a confusing sentence.
(Bug#31578)
2018-05-24 20:37:15 +03:00
Eli Zaretskii
c57c226839 ; * doc/emacs/misc.texi (FFAP): Fix a typo. (Bug#31580) 2018-05-24 19:55:40 +03:00
Eli Zaretskii
0a51113397 Add a footnote to Emacs Lisp Intro
* doc/lispintro/emacs-lisp-intro.texi (Run a Program): Describe
the detailed output of integer value evaluation in a footnote, to
prevent confusion.  (Bug#31579)
2018-05-24 19:49:34 +03:00
Eli Zaretskii
5eabe4a024 ; * doc/emacs/msdos.texi (ls in Lisp): Fix a typo. (Bug#31575) 2018-05-24 19:32:40 +03:00
Eli Zaretskii
d5e0ceb8b0 * lisp/help.el (with-help-window): Doc fix. (Bug#31574) 2018-05-24 19:30:33 +03:00
Eli Zaretskii
e7952bdfc8 Fix some cross-references in emacs-lisp-intro.texi
* doc/lispintro/emacs-lisp-intro.texi (List Processing)
(Determining the Element, graph-body-print): Fix cross-references
to subsections that don't exist in the printed version of the
manual.  (Bug#31567)
2018-05-23 19:31:38 +03:00
Eli Zaretskii
a89795944b Minor copyedits in Emacs manual in macos.texi
* doc/emacs/macos.texi (Mac / GNUstep Basics)
(Mac / GNUstep Events): Fix markup and capitalization.
(Bug#31568)
2018-05-23 19:02:00 +03:00
Noam Postavsky
e3f00f5637 Clarify when to use advice-add vs add-function
* lisp/emacs-lisp/nadvice.el (add-function): Note in docstring that
advice-add should be used for named functions.
2018-05-22 20:08:01 -04:00
Eli Zaretskii
c0f3e6b56b Minor formatting tweak in the Emacs manual
* doc/emacs/custom.texi (Directory Variables): Don't have 2
footnotes back to back, it looks bad in HTML.  (Bug#31555)
2018-05-22 20:27:28 +03:00
Eli Zaretskii
fadf6535c0 Update comments in Intro to Emacs Lisp
* doc/lispintro/emacs-lisp-intro.texi: Explain in the comments
what are roman page numbers in Preface about.  (Bug#31541)
2018-05-22 20:03:09 +03:00
Philipp Stephani
52ccb24aba ; * doc/os.texi (Batch Mode): use = after --eval 2018-05-22 15:33:22 +02:00
Noam Postavsky
d65430f6cb * etc/NEWS: Mention change in `edebug-prin1-to-string'. 2018-05-21 17:11:29 -04:00
Eli Zaretskii
ef4aec14d1 ; * doc/lispref/hash.texi (Defining Hash): Fix typos. 2018-05-21 21:08:39 +03:00
Eli Zaretskii
2981952b6c Another attempt to fix sql.el
* lisp/progmodes/sql.el (sql-product-interactive): Fix calculation
of the SQL buffer name.  (Bug#31446)
2018-05-21 18:43:03 +03:00
Eli Zaretskii
b1b96d7cd9 Update binding of 'M-.' in Intro to Emacs Lisp
* doc/lispintro/emacs-lisp-intro.texi (On Reading this Text)
(Finding More, Buffer Related Review, Buffer Exercises)
(Find a File, Conclusion): 'M-.' is now bound to
'xref-find-definitions'.  (Bug#31542)
2018-05-21 18:01:57 +03:00
Eli Zaretskii
b239a096f1 Fix a typo in last change in sql.el
* lisp/progmodes/sql.el (sql-product-interactive): Use 'null',
not 'zerop'.  (Bug#31446)
2018-05-21 05:33:57 +03:00
Eli Zaretskii
0d8bae5c55 Fix capitalization of mail headers
* doc/emacs/sending.texi (Mail Format, Mail Headers)
(Mail Aliases, Header Editing): Use consistent capitalization of
CC, BCC, and FCC.  (Bug#31532)
2018-05-20 12:08:03 +03:00
Eli Zaretskii
845fe038e7 Fix buffer names in sql.el
* lisp/progmodes/sql.el (sql-product-interactive): Fix the way the
buffer name is determined by prefix arg.  (Bug#31446)
2018-05-20 10:25:26 +03:00
Eli Zaretskii
a3885f5653 Minor fixes in the Emacs manual
* doc/emacs/misc.texi (Gnus Group Buffer): Fix a typo.  (Bug#31534)
(Single Shell): Rephrase an unclear sentence.  (Bug#31535)
(Remote Host): Use @command where appropriate.  (Bug#31536)
2018-05-20 10:11:05 +03:00
Eli Zaretskii
542f830247 Fix a typo in rmail.texi
* doc/emacs/rmail.texi (Rmail Summary Edit): Add markup to 'nil'.
(Bug#31533)
2018-05-19 23:08:38 +03:00
Paul Eggert
eb0bc6f7b3 * etc/PROBLEMS: Document Bug#31305. 2018-05-18 09:26:26 -07:00
Lars Ingebrigtsen
152a5569c8 (gnus-blocked-images): Clarify privacy implications
* lisp/gnus/gnus-art.el (gnus-blocked-images): Clarify the privacy
implication of altering the value of this variable.

(cherry picked from commit f4d9fd3dd4)
2018-05-18 17:18:58 +03:00
Eli Zaretskii
73bc6f8693 Fix a typo in describing input methods
* lisp/help-mode.el (help-make-xrefs): Fix a typo.  (Bug#31448)
2018-05-18 10:58:11 +03:00
Eli Zaretskii
6b4bafedbc ; Add a comment to emacs-lisp-intro.texi
* doc/lispintro/emacs-lisp-intro.texi: Add a comment with the
rationale for the manual's seemingly too large size.
2018-05-18 09:31:24 +03:00
Eli Zaretskii
c2ef847d3c Clarify the mode-line indicators in CC Mode
* doc/emacs/programs.texi (Electric C): Explain '*' and '/' in the
CC Mode mode-line.  (Bug31445)
2018-05-14 19:28:06 +03:00
João Távora
934bb475b9 Fix filesystem littering by Flymake's legacy backend
The Flymake legacy "proc" backend, which is active by default will try
to syntax-check foo.c/foo.cpp and many other types of files, but on
failing to find a suitable Makefile target, will fail.  There's
nothing wrong with that except that it used to leave behind the
foo_flymake.c and foo_flymake.cpp auxiliary files behind, littering
the filesystem.

* lisp/progmodes/flymake-proc.el (flymake-proc-legacy-flymake):
Call init-function inside of the unwind-protect.
2018-05-12 11:37:48 +01:00
Eli Zaretskii
b98cf9cdab ; Fix a typo in the Emacs manual
* doc/emacs/fixit.texi (Transpose): Fix a typo.  Reported by
Takesi Ayanokoji <ayanokoji.takesi@gmail.com>.
2018-05-12 12:09:05 +03:00
Paul Eggert
700fcd77d7 * doc/emacs/help.texi: Fix paren typo. 2018-05-11 16:09:35 -07:00
Eli Zaretskii
c9c0e40d67 More minor changes in shell-related nodes of Emacs manual
* doc/emacs/misc.texi (Interactive Shell): Clarify how the window
that displays "*shell*" is selected.
(Shell Prompts): Fix a typo.  Reported by Jorge
<jorge+list@disroot.org> in emacs-manual-bugs.
2018-05-11 12:39:52 +03:00
Eli Zaretskii
e6bf19cfff Fix inaccuracies in "Shell Ring" node of Emacs manual
* doc/emacs/misc.texi (Shell Ring): Don't mention 'M-s' and don't
insist on Shell history commands being "jsut like" similar
commands that operate on minibuffer history.  Reported by Jorge
<jorge+list@disroot.org> in emacs-manual-bugs.
2018-05-11 12:32:31 +03:00
Eli Zaretskii
087681b859 Improve documentation of kmacro commands and variables.
* lisp/kmacro.el (kmacro-start-macro-or-insert-counter)
(kmacro-counter, kmacro-set-format, kmacro-set-counter)
(kmacro-add-counter, kmacro-counter-format)
(kmacro-insert-counter): Clarify and improve the doc strings.
(Bug#31243)
2018-05-11 12:11:14 +03:00
Noam Postavsky
be2e8cb8be * doc/man/emacs.1.in: Document --fg-daemon and --bg-daemon. 2018-05-10 22:47:04 -04:00
Noam Postavsky
1d9e66aea1 Don't check non-X frames for z order (Bug#31373)
* src/xfns.c (x_frame_list_z_order): Only use frames with
`output_method' set to `output_x_window'.
2018-05-07 21:35:25 -04:00
Alan Third
7dc028e250 Check NSWindow is actually a frame
* src/nsfns.m (Fns_frame_list_z_order): Check NSWindow is an instance
of EmacsView before treating it as one.
2018-05-07 22:58:42 +01:00
Xu Chunyang
1d732d699d Fix gud-statement for pdb
* lisp/progmodes/gud.el (pdb): Fix the gud-print implementation.
(Bug#31363)
2018-05-06 22:46:04 +03:00
Eli Zaretskii
91a68b5f61 ; * msdos/INSTALL: Add info about GCC versions. 2018-05-04 18:12:32 +03:00
Eli Zaretskii
7ddcc9ab1a Document 'custom-group'
* doc/lispref/customize.texi (Group Definitions): Document the
'custom-group' property.
2018-05-04 18:00:02 +03:00
Eli Zaretskii
58f9e15a49 A minor addition to etc/DEBUG
* etc/DEBUG: Add a note for macOS users who get error messages
when trying to run GDB.
2018-05-04 17:43:29 +03:00
Daniel Pittman
4590414265 Avoid errors in ispell.el when Enchant returns empty extra chars
* lisp/textmodes/ispell.el (ispell--get-extra-word-characters):
Handle the case of empty extra characters returned by the
Enchant '-lsmod' command. (Bug#31344)

Copyright-paperwork-exempt: yes
2018-05-04 17:37:10 +03:00