1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 14:02:07 -08:00
Commit graph

132664 commits

Author SHA1 Message Date
Philipp Stephani
b83f83ccd4 Ignore pending_signals when checking for quits.
pending_signals is often set if no quit is pending.  This results in
bugs in module code if the module returns but no quit is actually
pending.

* src/emacs-module.c (module_should_quit): Use QUITP macro to check
whether the caller should quit.

* src/eval.c: Remove obsolete comment.
2019-08-07 18:16:36 +02:00
Basil L. Contovounesios
e7818cb73f Fix nnmail-expiry-wait docs and custom :types
* doc/misc/gnus.texi (Group Parameters, Expiring Mail):
* lisp/gnus/gnus-cus.el (gnus-group-parameters): Clarify
descriptions of nnmail-expiry, nnmail-expiry-wait, and
nnmail-expiry-wait-function.
* lisp/gnus/nnmail.el (nnmail-expiry-wait)
(nnmail-expiry-wait-function): Clarify docstrings and fix custom
:types (bug#36850).
2019-08-03 15:29:12 +03:00
Eli Zaretskii
8b7c7762da * lisp/simple.el (kill-do-not-save-duplicates): Doc fix. (Bug#36827) 2019-08-03 14:21:18 +03:00
Eli Zaretskii
5a5ad99d2f Improve documentation of debugging Lisp syntax error
* doc/lispref/debugging.texi (Syntax Errors, Excess Open)
(Excess Close): Name the commands invoked by the key
sequences.  Add cross-references to appropriate sections of
the Emacs manual.  (Bug#21385)

(cherry picked from commit faafd467a3)
2019-08-03 12:43:10 +03:00
Glenn Morris
0148fc7353 ; Auto-commit of loaddefs files. 2019-08-01 06:08:11 -07:00
Eli Zaretskii
8fbe46252f ; * doc/lispref/positions.texi (List Motion): Fix last change. 2019-07-30 17:50:32 +03:00
Noam Postavsky
1d9efc0b3a Add index for "\( in strings" (Bug#25195)
* doc/emacs/programs.texi (Left Margin Paren): Add index for "\( in
strings".
* doc/lispref/positions.texi (List Motion): Add index, and cross
reference.
2019-07-30 09:06:18 -04:00
Martin Rudalics
304e96f50d Fix doc-string of 'fit-window-to-buffer' (Bug#36848)
* lisp/window.el (fit-window-to-buffer): Fix doc-string.

Suggested by Drew Adams <drew.adams@oracle.com>
2019-07-30 09:23:22 +02:00
Tino Calancha
d4c49875ea Update view-mode docstring
Not all the kill commands save the text in the kill ring
by default (e.g. `kill-rectangle').
It is more precise to just say that the kill commands save
the text and do not change the buffer (Bug#36741).
* lisp/view.el (view-mode): Update docstring.
2019-07-26 17:24:53 +02:00
Noam Postavsky
d6ca1fc531 ; * lisp/term.el: Add missing / to esc seq commentary. 2019-07-25 22:51:28 -04:00
Noam Postavsky
b3e20737d8 Fix subproc listening when setting filter to non-t (Bug#36591)
* src/process.c (Fset_process_filter): Call add_process_read_fd
according to the state of process filter before it's updated.  This
restores the correct functioning as it was before 2016-02-16 "Allow
setting the filter masks later".  Inline the set_process_filter_masks
call instead of fixing it that function, because it is also called
from connect_network_socket, and we don't want to change the behavior
of that function so close to release.
* test/src/process-tests.el (set-process-filter-t): New test.
2019-07-25 18:36:03 -04:00
Noam Postavsky
f671950284 * etc/NEWS.25: Belatedly announce rcirc-reconnect-delay. 2019-07-25 18:23:55 -04:00
Noam Postavsky
7f42277b96 Mention term.el's \032 dir tracking in commentary (Bug#19524)
* lisp/term.el: Mention both forms of directory tracking in
commentary.  Remove obsolete ChangeLog comments.  Move more relevant
summary comments to the top.
2019-07-25 18:23:55 -04:00
Stefan Kangas
16a529e215 Remove upload functionality of package-x from the elisp manual
Suggested by Stefan Monnier.
Ref: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19537#8

* doc/lispref/package.texi (Package Archives): Don't document
package-x upload functions in the elisp manual, since they are not
very commonly used.  (Bug#19537)
* lisp/emacs-lisp/package-x.el (package-archive-upload-base)
(package-upload-buffer, package-upload-file): Add to the doc strings
any details removed from the elisp manual that would otherwise be
missing.
2019-07-25 18:23:55 -04:00
Nicolas Petton
78e6c2ada6
* etc/AUTHORS: Update. 2019-07-25 22:50:07 +02:00
Basil L. Contovounesios
086a56ed43 Clarify Gravatar docs
For discussion, see the following thread:
https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00528.html
* doc/misc/gnus.texi (X-Face): Fix cross-reference.
(Gravatars):
* lisp/gnus/gnus-gravatar.el (gnus-gravatar-too-ugly):
* lisp/image/gravatar.el (gravatar-cache-ttl, gravatar-rating)
(gravatar-size): Clarify user option descriptions.
(gravatar-retrieve, gravatar-retrieve-synchronously): Document
return value.
2019-07-23 09:30:39 +01:00
Alan Mackenzie
05924677f0 * doc/lispref/display.texi (Defining Faces): Say a face can't be undefined. 2019-07-22 14:57:41 +00:00
Noam Postavsky
150bdfe43a Handle completely undecoded input in term (Bug#29918)
* lisp/term.el (term-emulate-terminal): Avoid errors if the whole
decoded string is eight-bit characters.  Don't attempt to save the
string for next iteration in that case.
* test/lisp/term-tests.el (term-decode-partial)
(term-undecodable-input): New tests.
2019-07-20 21:35:21 -04:00
N. Jackson
021f32cca1 * doc/misc/forms.texi (Control File Format): Fix a doc error.
(Bug#36693)

Copyright-paperwork-exempt: yes
2019-07-20 12:53:10 +03:00
Basil L. Contovounesios
76538d09b7 Fix typo in package-alist docstring
Pointed out by Michael Heerdegen <michael_heerdegen@web.de>.
* lisp/emacs-lisp/package.el (package-alist): Fix docstring
grammar (bug#17403).
2019-07-17 15:07:16 +01:00
Markus Triska
b2fde4b5e8 * doc/lispref/text.texi (Mode-Specific Indent): Fix a typo (bug#36646). 2019-07-14 10:56:38 +03:00
Eli Zaretskii
7e62778548 ; Another minor change in 'bidi-display-reordering's doc string. 2019-07-13 14:24:15 +03:00
Eli Zaretskii
4455ddbe56 Improve doc string of 'bidi-display-reordering'
* src/buffer.c (syms_of_buffer) <bidi-display-reordering>:
Further doc fix.
2019-07-13 14:21:41 +03:00
Stefan Kangas
34ee26dd93 Add warning to bidi-display-reordering doc string
This explanation was given by Eli Zaretskii on emacs-devel.
For discussion, see:
https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00294.html

* src/buffer.c (syms_of_buffer): Add warning to doc string of
bidi-display-reordering to explain that it should only be used for
debugging.
2019-07-13 14:17:13 +03:00
YAMAMOTO Mitsuharu
305abae50e Raise required librsvg version so as to match the current use
* configure.ac: Set RSVG_REQUIRED to 2.14.0 as rsvg_handle_get_dimensions
needs it.
2019-07-12 09:03:39 +09:00
Michael Albinus
c6775bc9ca * lisp/net/tramp-sh.el (tramp-inline-compress-start-size): Set nil on w32. 2019-07-10 10:34:02 +02:00
Stefan Monnier
7d6eeef682 * lisp/progmodes/verilog-mode.el: One more ELPA Version: 2019-07-09 09:27:07 -04:00
Eli Zaretskii
1e6d8e003c ; * doc/emacs/killing.texi (Secondary Selection): Fix last change. 2019-07-06 21:33:45 +03:00
Stefan Monnier
e2344a770e * lisp/svg.el, lisp/progmodes/ada-mode.el: Fix bug#36360.
Tell package.el their version number, for better behavior w.r.t the
versions available in GNU ELPA
2019-07-06 12:16:24 -04:00
Eli Zaretskii
ff738ab8b8 Minor copyedit of "Font Lock" in user manual
* doc/emacs/display.texi (Font Lock): Make the wording about
"enabling Font Lock" crystal clear.  (Bug#36529)
2019-07-06 17:25:46 +03:00
Eli Zaretskii
faf99dcb37 Improve description of image descriptors
* doc/lispref/display.texi (Image Descriptors): More accurate
description of where image files are looked up.  (Bug#36523)
2019-07-06 15:32:20 +03:00
Eli Zaretskii
21351ccc00 ; * src/lread.c (Fread): Make the comment wording more accurate. 2019-07-06 11:40:49 +03:00
Eli Zaretskii
d176090fc2 Improve documentation of secondary selections
* doc/emacs/killing.texi (Secondary Selection): Improve
wording.  Mention that 'M-mouse-1' can be used to cancel
secondary selections.  (Bug#36365)
2019-07-06 11:30:35 +03:00
Eli Zaretskii
8910fe1db0 * src/fns.c (Fmapconcat): Doc fix. (Bug#36418) 2019-07-06 10:31:06 +03:00
YAMAMOTO Mitsuharu
f0db687a28 Avoid crash inside CFCharacterSetIsLongCharacterMember (Bug#36507)
* src/macfont.m (macfont_supports_charset_and_languages_p)
(macfont_has_char): Don't pass integers outside the Unicode codespace to
CFCharacterSetIsLongCharacterMember.  Do not merge to master.
2019-07-06 14:24:34 +09:00
Noam Postavsky
e97c0437aa Fix python.el docstring (Bug#36458)
* lisp/progmodes/python.el (python-shell--prompt-calculated-output-regexp):
python-shell-set-prompt-regexp doesn't exist, presumably
python-shell-prompt-set-calculated-regexps was meant.
2019-07-05 21:50:37 -04:00
Noam Postavsky
e6608010d7 ; Add thing-at-point-looking-at test (Bug#35708)
* test/lisp/thingatpt-tests.el (thing-at-point-looking-at): New test.
2019-07-05 21:50:37 -04:00
Noam Postavsky
f5b48469f1 ; Fix typo, insure -> ensure in ChangeLogs 2019-07-05 21:50:29 -04:00
Eli Zaretskii
cb8fb597e5 * lisp/hi-lock.el (hi-lock-line-face-buffer): Doc fix. (Bug36448) 2019-07-03 15:55:10 +03:00
Glenn Morris
dc5ed2c838 ; Auto-commit of loaddefs files. 2019-07-01 06:08:24 -07:00
Stefan Kangas
316f5a3b71 Fix typo in doc string of file-exists-p (bug#36408)
* src/fileio.c (Ffile_exists_p): Fix typo in doc string.
2019-06-29 10:37:26 +03:00
Juanma Barranquero
bfc7c6e0d3 * test/lisp/url/url-file-tests.el (url-file): Fix for POSIX filenames. 2019-06-28 15:22:00 +02:00
Stefan Kangas
13b95e1cc7 Fix typo in windows.texi
* doc/lispref/windows.texi (Window History): Fix typo.  (Bug#36412)
2019-06-28 10:38:08 +03:00
Basil L. Contovounesios
8b775c30ad Clarify & update (elisp) Writing Emacs Primitives
* doc/lispref/internals.texi (Writing Emacs Primitives): Update some
of the sample code listings, fixing argument lists and parentheses.
Replace ... with @dots{}.  Describe UNEVALLED special forms as
taking a single argument. (bug#36392)
2019-06-26 22:16:52 +01:00
Eli Zaretskii
7648c125df Clarify a subtle issue in the Internals chapter of lispref
* doc/lispref/internals.texi (Writing Emacs Primitives):
Clarify the issue with relocation of buffer or string text as
side effect of Lisp evaluation.  (Bug#36392)
2019-06-26 18:02:26 +03:00
Noam Postavsky
e62ad04963 Fix sgml-mode handling of quotes within parens (Bug#36347)
* lisp/textmodes/sgml-mode.el (sgml-syntax-propertize): Use
syntax-ppss-table if set.  This is only needed on the release branch,
on master the caller (syntax-propertize) already does this.
(sgml-mode): Set syntax-ppss-table to sgml-tag-syntax-table.  This
correctly classifies parens as punctuation, so they won't confuse the
parser.
* test/lisp/textmodes/sgml-mode-tests.el (sgml-tests--quotes-syntax):
New test copied from master, with two cases added for this bug.
2019-06-25 18:58:23 -04:00
Noam Postavsky
06b35b2f92 ; * lisp/frame.el: Enhance add-variable-watcher commentary. 2019-06-25 18:58:23 -04:00
Juanma Barranquero
572e34bb6f Rename 'make-symbolic-link' argument NEWNAME to LINKNAME
* src/fileio.c (Fmake_symbolic_link): Fix docstring.
* doc/lispref/files.texi (Changing Files): Doc fix.
2019-06-21 21:42:36 +02:00
Robert Pluim
04477adedc Check that length of data returned by sysctl is non-zero
The length of the data returned by sysctl can be zero, which was not
checked for.  This could cause crashes, e.g. when querying
non-existent processes.  (Bug#36279)

* src/sysdep.c (list_system_processes) [DARWIN_OS || __FreeBSD__]:
(system_process_attributes) [__FreeBSD__]:
(system_process_attributes) [DARWIN_OS]:
* src/filelock.c (get_boot_time) [CTL_KERN && KERN_BOOTTIME]: Check
  for zero length data returned by sysctl.
2019-06-20 10:42:21 +02:00
Juanma Barranquero
81535eeadb * test/lisp/progmodes/python-tests.el (python-virt-bin): Doc fix. 2019-06-17 03:12:45 +02:00