1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-31 11:13:50 +00:00
Commit Graph

132225 Commits

Author SHA1 Message Date
Jordan Wilson
88ef31abd4 Avoid file-name errors when viewing PDF from Gnus
* lisp/doc-view.el (doc-view-mode): Run the output file name
through 'convert-standard-filename', to avoid problems with
characters that are not allowed in file names on some
systems.  (Bug#32989)

Copyright-paperwork-exempt: yes
2018-11-03 10:30:33 +02:00
Eli Zaretskii
c9390423d6 Avoid crashes with remapped default face in Org mode
* src/xfaces.c (face_at_buffer_position): Look up BASE_FACE_ID
anew if it is not in the frame's face cache.  This avoids
crashes when Org mode sets up for a new major mode in embedded
code fragment, and the default face is remapped.  (Bug#33222)
2018-11-02 12:07:47 +02:00
Eric Abrahamsen
97660fa9d6 Doc fix for checkdoc-continue
* lisp/emacs-lisp/checkdoc.el (checkdoc-continue): There is no second
  optional argument, and the function always starts from point.
2018-11-01 13:21:27 -07:00
Eli Zaretskii
96f055bb4b Fix a typo in autoload.el
* lisp/emacs-lisp/autoload.el (update-directory-autoloads):
Remove stray backslashes.  (Bug#33231)
2018-11-01 20:56:31 +02:00
Glenn Morris
d53a2b65db ; Auto-commit of loaddefs files. 2018-11-01 06:24:27 -04:00
Stefan Monnier
9962cf959f * doc/lispref/control.texi (Destructuring patterns): New subsection. 2018-10-31 15:34:45 -04:00
Gemini Lasswell
c3cf85b1c1 Add regression test for Bug#33014
Backport from master.
* test/src/eval-tests.el:
(eval-tests-byte-code-being-evaluated-is-protected-from-gc): New test.
(eval-tests-33014-var): New variable.
(eval-tests-33014-func, eval-tests-33014-redefine): New functions.
2018-10-30 21:17:34 -07:00
Paul Eggert
1ad2903a48 Refer to bytecode constant vectors (Bug#33014)
Backport from master.
* src/bytecode.c (exec_byte_code): Save VECTOR into stack slot
so that it survives GC.  The stack slot was otherwise unused,
so this doesn’t cost us memory, only a store insn.
2018-10-30 21:17:33 -07:00
Stefan Monnier
eb903d8f20 * lisp/emacs-lisp/pcase.el: Improve docstrings. 2018-10-30 14:24:31 -04:00
Eli Zaretskii
86abbb3cb8 * lisp/emacs-lisp/rx.el (rx): Fix typo in doc string. (Bug#33205) 2018-10-30 19:25:14 +02:00
Eli Zaretskii
ced58d3e15 Improve doc string of 'call-process'
* src/callproc.c (Fcall_process): Clarify DESTINATION in the
doc string.
2018-10-30 13:08:28 +02:00
Eli Zaretskii
38f88a7f00 Document that generic functions cannot be commands
* doc/lispref/commands.texi (Defining Commands):
* doc/lispref/functions.texi (Generic Functions): Document
that generic functions cannot be turned into commands.
(Bug#33170)
2018-10-30 12:14:19 +02:00
Charles A. Roelli
5aeddfac2a * lisp/mail/rmailsum.el (rmail-summary-output): Add lost word to doc. 2018-10-28 20:29:45 +01:00
Charles A. Roelli
10e0fd8ca9 Add index entries for more isearch commands/bindings (Bug#32990)
* doc/emacs/search.texi (Basic Isearch): Index isearch-exit,
isearch-abort, isearch-cancel, isearch-repeat-forward,
isearch-repeat-backward and their bindings.
(Repeat Isearch): Index isearch-ring-advance,
isearch-ring-retreat and isearch-edit-string.
(Special Isearch): Index isearch-quote-char,
isearch-char-by-name and their bindings.  Index
isearch-query-replace and isearch-query-replace-regexp, and
the latter's binding.  Explain what
isearch-query-replace-regexp does.  Index isearch-complete.
(Word Search): Index isearch-toggle-word.
2018-10-28 18:07:01 +01:00
Noam Postavsky
de2818432a * lisp/simple.el (filter-buffer-substring): Clarify doc (Bug#33179). 2018-10-27 17:56:28 -04:00
Eli Zaretskii
d192c1671c Fix recent change in lispref/processes.texi.
* doc/lispref/processes.texi (Asynchronous Processes): Clarify
wording.  Suggested by Thomas Fitzsimmons <fitzsim@fitzsim.org>.
(Bug#33050)
2018-10-27 21:47:59 +03:00
Eli Zaretskii
df64da8eb8 * lisp/simple.el (region-extract-function): Doc fix. (Bug#33167) 2018-10-27 14:08:40 +03:00
Eli Zaretskii
520c486d8b * lisp/simple.el (region-bounds): Doc fix. (Bug#33168) 2018-10-27 13:50:34 +03:00
Eli Zaretskii
9193db08de Improve documentation of 'process-connection-type'
* doc/lispref/processes.texi (Asynchronous Processes): Clarify
better when it is advisable to use pipes for communicating
with subprocesses.  (Bug#33050)
2018-10-27 13:18:33 +03:00
Pierre Téchoueyres
106b9e138f Unify prompt for gnupg passphrase between GNU/Linux and MS-Windows.
* lisp/epg.el (epg--start): Use 'raw-text' for coding system instead
of 'binary', in order to avoid spurious carriage return on Microsoft
Windows and MS-DOS when prompting for a password.  (Bug#33040)
2018-10-27 12:36:00 +03:00
Eli Zaretskii
2a416161b2 Doc fix of 'gnus-fetch-old-headers'
* lisp/gnus/gnus-sum.el (gnus-fetch-old-headers): Avoid
treating 'some' and 'invisible' as symbols that need to be
hyperlinked.  Reported by Robert Pluim <rpluim@gmail.com>.
(Bug#33090)
2018-10-27 12:14:35 +03:00
Eric Abrahamsen
29a76443c9 Deactivate incorrect hyperlinking in gnus-build-sparse-threads doc
* lisp/gnus/gnus-sum.el (gnus-build-sparse-threads): Add the word
"symbol" so it doesn't link to the `some' function.  (Bug#33090)
2018-10-27 12:10:42 +03:00
Eli Zaretskii
53ae90f493 Minor copyedits in cmdargs.texi
* doc/emacs/cmdargs.texi (Initial Options): Document '-nsl'.
Add a cross-reference to "Writing Dynamic Modules".
2018-10-27 11:40:33 +03:00
Eli Zaretskii
fc2e65ae82 Improve documentation of X resource loading
* doc/emacs/cmdargs.texi (Initial Options):
* doc/emacs/frames.texi (Frame Parameters):
* doc/emacs/xresources.texi (Resources): Document the
'--no-x-resources' command-line option and the fact that X
resources override .emacs settings of frame parameters.
(Bug#32975)
2018-10-27 11:24:53 +03:00
Michael Albinus
13132b3993 * lisp/net/tramp-sh.el (tramp-inline-compress-commands):
Suppress warnings about obsolete environment variable GZIP.
2018-10-27 09:22:18 +02:00
Michael Albinus
8361292fec ; Fix sorting in admin/MAINTAINERS 2018-10-27 09:21:53 +02:00
Noam Postavsky
92de44fa1f Don't error when indenting malformed Lisp (Bug#30891)
* lisp/emacs-lisp/lisp-mode.el (lisp-indent-calc-next): If we run out
of indent stack, reset the parse state.
2018-10-25 17:55:49 -04:00
Charles A. Roelli
c3adbc88a0 Improve 'isearch-delete-char' documentation (Bug#32990)
* doc/emacs/search.texi (Basic Isearch): Index
'isearch-delete-char', its keybinding and the isearch "input
item" concept, and define the latter.
(Error in Isearch): Clarify the different uses of DEL and
C-M-w during isearch.

* lisp/isearch.el (isearch-delete-char): Correct its
documentation and link to the Info node '(emacs)Basic Isearch'
which explains less technically how this function works in
everyday usage.
2018-10-25 21:01:53 +02:00
Charles A. Roelli
6ca71ceb68 ; * lisp/help.el (with-help-window): Remove extra space in doc. 2018-10-25 20:40:49 +02:00
Alan Third
f5f95838bd Improve XPM load failure message (bug#33126)
* src/image.c (xpm_load_image): Only XPM3 is supported, so make that
explicit.
2018-10-25 16:01:15 +01:00
Eli Zaretskii
f3d01d4653 Avoid infloop in CPerl mode fontification
* lisp/progmodes/cperl-mode.el
(cperl-font-lock-fontify-region-function): Stop the loop at
EOB, to avoid inflooping there.  (Bug#33114)
2018-10-25 17:57:34 +03:00
Andreas Schwab
71a2d509f9 Fix minibuffer-help-form for lexical binding
* lisp/simple.el (set-variable): Substitute var into
minibuffer-help-form.
* lisp/cus-edit.el (custom-prompt-variable): Likewise.
2018-10-25 11:04:34 +02:00
Alan Third
7e8eee60a9 Fix some NS drawing issues (bug#32932)
* src/nsterm.m (ns_clip_to_rect):
(ns_reset_clipping): Remove gsaved variable and associated code.
(ns_flush_display): Remove function.
(ns_copy_bits): use translateRectsNeedingDisplayInRect:by: to copy any
pending drawing actions along with the image.
([EmacsView windowWillResize:toSize:]): Remove unneeded call.
([EmacsView drawRect:]): Remove redundant call to ns_clear_frame_area,
and optimize the exposed rectangles.
(ns_draw_window_cursor): Remove unneeded disabling of screen updates.
2018-10-24 11:32:23 +01:00
Katsumi Yamaoka
d72975a654 * lisp/gnus/mm-util.el (mm-decompress-buffer): Fix split-string args. 2018-10-24 10:09:51 +00:00
Noam Postavsky
c97a5f1f44 * doc/misc/calc.texi (Summary): The +/- key is 'p', not 'P'. 2018-10-23 21:48:36 -04:00
Robert Pluim
2efd40076c Correct typo in GNU ELPA url
* doc/misc/efaq.texi (Packages that do not come with Emacs):
Correct typo in GNU ELPA url (Bug#33072).  Change other url
references to use https scheme.
2018-10-23 12:20:13 +02:00
Eli Zaretskii
6239016ca6 * doc/misc/dired-x.texi (Omitting Variables): Fix wording. (Bug#33112) 2018-10-22 08:47:18 +03:00
Michael Heerdegen
1531bca523 Fix help-form binding in dired-create-files
This fixes Bug#32630: since "dired-aux" moved to lexical binding mode,
the free variable TO in the constructed HELP-FORM got out of scope of
the surrounding 'let'.

* lisp/dired-aux.el (dired-create-files): Make the binding of
HELP-FORM a string.
2018-10-20 18:51:38 +02:00
Eli Zaretskii
cf7932712a Fix a pasto in a Gnus doc string
* lisp/gnus/gnus-art.el (gnus-article-treat-fold-newsgroups):
Doc string fix.  (Bug#33081)
2018-10-20 11:26:33 +03:00
Eli Zaretskii
a4e40f6cb0 ; * doc/emacs/files.texi (Reverting): Improve wording in last change. 2018-10-19 11:58:53 +03:00
Mauro Aranda
f632ecbb99 Update revert-buffer documentation
* doc/emacs/files.texi (Reverting): Document that revert-buffer
does keep undo history.  (Bug#33084)

Copyright-paperwork-exempt: yes
2018-10-19 11:56:34 +03:00
Juri Linkov
eb6768977e * lisp/mail/smtpmail.el (smtpmail-send-queued-mail): Load file with .el suffix.
For the case when load-prefer-newer is t, ensure loading the right file
by explicitly adding the .el suffix.  Use the same variable names
as in the function smtpmail-send-it.  (Bug#33055)
2018-10-18 01:24:43 +03:00
Eli Zaretskii
433e364add ; * etc/NEWS: Announce that emacs-module.h is now installed. 2018-10-16 18:48:21 +03:00
Glenn Morris
e456ddaa30 Tweak Makefile emacs-module.h handling
* Makefile.in (install-arch-indep, uninstall): Respect DESTDIR.
Handle whitespace.  Remove non-portable mkdir argument.

(cherry picked from commit c1d0dbd6ca)
2018-10-16 18:43:45 +03:00
Philipp Stephani
1dce1b2ffb Install emacs-module.h (Bug#31929)
* Makefile.in (includedir): New variable.
(install-arch-indep): Install emacs-module.h.
(uninstall): Uninstall emacs-module.h.

(cherry picked from commit 00ea749f2a)
2018-10-16 18:43:18 +03:00
Alan Mackenzie
73babba26a Clarify documentation of fractional vertical scrolling and some doc strings
* doc/lispref/windows.texi (vertical scrolling): Clarify the meaning of
vertical scrolling by referring to tall screen lines, images, and the display
action.  Clarify an ambiguous English tense.

* src/window.c (window-vscroll, set-window-vscroll): Amend doc strings to
refer to display.
2018-10-15 19:04:05 +00:00
Charles A. Roelli
b20c51d62f * lisp/isearch.el (isearch-cmds): Recall absent isearch--state slot. 2018-10-15 19:51:47 +02:00
Alan Mackenzie
700acbd991 doc/lispref/edebug.texi (Specification List) Remove obstrusive blank line 2018-10-14 18:22:23 +00:00
Eli Zaretskii
190245035f Fix wording in module API documentation
* doc/lispref/internals.texi (Module Functions): Fix confusing
wording.  Reported by Basil L. Contovounesios <contovob@tcd.ie>.
2018-10-14 19:12:49 +03:00
Eli Zaretskii
e724a8f669 Fix redisplay of glyphless characters
* src/conf_post.h (bool_bf): Use 'unsigned int' in the MinGW
builds.  Suggested by Tom Tromey <tom@tromey.com>.  (Bug#33017)
* src/dispnew.c (scrolling_window): Update commentary
regarding xwidget builds.
2018-10-13 19:47:01 +03:00