Commit graph

132656 commits

Author SHA1 Message Date
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
Juanma Barranquero
9d48979ca8 Fix Python tests depending on system-type
* test/lisp/progmodes/python-tests.el (python-virt-bin): New function.
(python-shell-calculate-exec-path-2)
(python-shell-calculate-exec-path-3)
(python-shell-calculate-exec-path-4)
(python-shell-with-environment-1, python-shell-with-environment-2):
Use it.
2019-06-17 02:48:21 +02:00
Juanma Barranquero
fcf6cc3177 Fix problem with wdired test when symlinks cannot be created.
* test/lisp/wdired-tests.el (wdired-test-symlink-name):
Skip test if 'make-symbolic-link' fails for whatever reason;
that's not what's being tested.
2019-06-16 21:57:44 +02:00
Eli Zaretskii
4701e0663e Improve wording of documentation of click events
* doc/lispref/commands.texi (Click Events, Accessing Mouse):
Improve and clarify wording.  (Bug#36232)
2019-06-16 18:29:21 +03:00
Mattias Engdegård
bea31a3794 Backport: Fix typo in regexp-opt example code
* doc/lispref/searching.texi (Regexp Functions):
Fix typo in example code (Bug#34596).
2019-06-16 11:48:38 +02:00
Stefan Kangas
2b765c650a Remove outdated comment in winner.el (Bug#36185)
* lisp/winner.el: Remove outdated comment.
2019-06-15 17:49:31 -04:00
Michael Albinus
f87a9e359e Fix accidential change in tramp-tests; do not merge with master
* lisp/net/trampver.el: Change version to "2.3.5.26.3".
(customize-package-emacs-version-alist): Add Tramp version
integrated in Emacs 26.3.

* test/lisp/net/tramp-tests.el (tramp-test42-auto-load):
Add skip for w32.
2019-06-15 21:38:11 +02:00
Juanma Barranquero
200f63cfa5 tramp-test42-auto-load: Add expected-result.
* test/lisp/net/tramp-tests.el (tramp-test42-auto-load):
Expect a failed result if remote file access is not enabled,
as it happens while doing the test on Windows.
2019-06-15 07:23:25 +02:00
Juanma Barranquero
7a8f22b004 * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://. 2019-06-15 05:29:03 +02:00