emacs.git
7 years agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent might
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory, and then delete
  via "rm -rf" to ignore any vanishing files.

7 years agoDon't try to build src/macuvs.h (via IVD_Sequences.txt)
Rob Browning [Wed, 22 Oct 2014 00:10:17 +0000 (19:10 -0500)]
Don't try to build src/macuvs.h (via IVD_Sequences.txt)

These are OS X specific, and were removed for now, due to uncertainty
over the licensing.

7 years agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
7 years agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

7 years agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

7 years agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs.

Author: Rob Browning <rlb@defaultvalue.org>

7 years agoPrefer /usr/share/info/emacs/
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs/

Emacs prefers /usr/share/info/emacs to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs before /usr/share/info.

7 years agoMerge upstream version 26.1
Rob Browning [Sat, 15 Dec 2018 18:58:02 +0000 (12:58 -0600)]
Merge upstream version 26.1

7 years ago; * lisp/ldefs-boot.el: Update.
Nicolas Petton [Fri, 25 May 2018 16:38:07 +0000 (18:38 +0200)]
; * lisp/ldefs-boot.el: Update.

7 years ago* etc/HISTORY: Update for Emacs 26.1 release.
Nicolas Petton [Fri, 25 May 2018 15:28:58 +0000 (17:28 +0200)]
* etc/HISTORY: Update for Emacs 26.1 release.

7 years ago* etc/AUTHORS: Update.
Nicolas Petton [Fri, 25 May 2018 15:19:16 +0000 (17:19 +0200)]
* etc/AUTHORS: Update.

7 years ago; * ChangeLog.3: Update.
Nicolas Petton [Fri, 25 May 2018 15:19:11 +0000 (17:19 +0200)]
; * ChangeLog.3: Update.

7 years ago; * admin/authors.el: Update.
Nicolas Petton [Fri, 25 May 2018 13:38:29 +0000 (15:38 +0200)]
; * admin/authors.el: Update.

7 years agoNote caveat for backward regexp searching in docstring (Bug#31584)
Noam Postavsky [Thu, 24 May 2018 23:49:11 +0000 (19:49 -0400)]
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.

7 years agoUpdate backtrace in Emacs Lisp Intro
Eli Zaretskii [Fri, 25 May 2018 08:35:42 +0000 (11:35 +0300)]
Update backtrace in Emacs Lisp Intro

* doc/lispintro/emacs-lisp-intro.texi (Making Errors): Update the
backtrace to match Emacs 26.  (Bug#31589)

7 years agoMove window-point in bibtex-search-entry
Roland Winkler [Thu, 24 May 2018 18:38:48 +0000 (13:38 -0500)]
Move window-point in bibtex-search-entry

* lisp/textmodes/bibtex.el (bibtex-search-entry): Move window-point
to record found.

7 years agoMore fixes of Intro to Emacs Lisp
Eli Zaretskii [Thu, 24 May 2018 17:37:15 +0000 (20:37 +0300)]
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)

7 years ago; * doc/emacs/misc.texi (FFAP): Fix a typo. (Bug#31580)
Eli Zaretskii [Thu, 24 May 2018 16:55:40 +0000 (19:55 +0300)]
; * doc/emacs/misc.texi (FFAP): Fix a typo.  (Bug#31580)

7 years agoAdd a footnote to Emacs Lisp Intro
Eli Zaretskii [Thu, 24 May 2018 16:49:34 +0000 (19:49 +0300)]
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)

7 years ago; * doc/emacs/msdos.texi (ls in Lisp): Fix a typo. (Bug#31575)
Eli Zaretskii [Thu, 24 May 2018 16:32:40 +0000 (19:32 +0300)]
; * doc/emacs/msdos.texi (ls in Lisp): Fix a typo.  (Bug#31575)

7 years ago* lisp/help.el (with-help-window): Doc fix. (Bug#31574)
Eli Zaretskii [Thu, 24 May 2018 16:30:33 +0000 (19:30 +0300)]
* lisp/help.el (with-help-window): Doc fix.  (Bug#31574)

7 years agoFix some cross-references in emacs-lisp-intro.texi
Eli Zaretskii [Wed, 23 May 2018 16:31:38 +0000 (19:31 +0300)]
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)

7 years agoMinor copyedits in Emacs manual in macos.texi
Eli Zaretskii [Wed, 23 May 2018 16:02:00 +0000 (19:02 +0300)]
Minor copyedits in Emacs manual in macos.texi

* doc/emacs/macos.texi (Mac / GNUstep Basics)
(Mac / GNUstep Events): Fix markup and capitalization.
(Bug#31568)

7 years agoClarify when to use advice-add vs add-function
Noam Postavsky [Wed, 23 May 2018 00:08:01 +0000 (20:08 -0400)]
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.

7 years agoMinor formatting tweak in the Emacs manual
Eli Zaretskii [Tue, 22 May 2018 17:27:28 +0000 (20:27 +0300)]
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)

7 years agoUpdate comments in Intro to Emacs Lisp
Eli Zaretskii [Tue, 22 May 2018 17:03:09 +0000 (20:03 +0300)]
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)

7 years ago; * doc/os.texi (Batch Mode): use = after --eval
Philipp Stephani [Tue, 22 May 2018 13:33:22 +0000 (15:33 +0200)]
; * doc/os.texi (Batch Mode): use = after --eval

7 years ago* etc/NEWS: Mention change in `edebug-prin1-to-string'.
Noam Postavsky [Mon, 21 May 2018 20:48:18 +0000 (16:48 -0400)]
* etc/NEWS: Mention change in `edebug-prin1-to-string'.

7 years ago; * doc/lispref/hash.texi (Defining Hash): Fix typos.
Eli Zaretskii [Mon, 21 May 2018 18:08:39 +0000 (21:08 +0300)]
; * doc/lispref/hash.texi (Defining Hash): Fix typos.

7 years agoAnother attempt to fix sql.el
Eli Zaretskii [Mon, 21 May 2018 15:43:03 +0000 (18:43 +0300)]
Another attempt to fix sql.el

* lisp/progmodes/sql.el (sql-product-interactive): Fix calculation
of the SQL buffer name.  (Bug#31446)

7 years agoUpdate binding of 'M-.' in Intro to Emacs Lisp
Eli Zaretskii [Mon, 21 May 2018 15:01:57 +0000 (18:01 +0300)]
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)

7 years agoFix a typo in last change in sql.el
Eli Zaretskii [Mon, 21 May 2018 02:33:57 +0000 (05:33 +0300)]
Fix a typo in last change in sql.el

* lisp/progmodes/sql.el (sql-product-interactive): Use 'null',
not 'zerop'.  (Bug#31446)

7 years agoFix capitalization of mail headers
Eli Zaretskii [Sun, 20 May 2018 09:08:03 +0000 (12:08 +0300)]
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)

7 years agoFix buffer names in sql.el
Eli Zaretskii [Sun, 20 May 2018 07:25:26 +0000 (10:25 +0300)]
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)

7 years agoMinor fixes in the Emacs manual
Eli Zaretskii [Sun, 20 May 2018 07:11:05 +0000 (10:11 +0300)]
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)

7 years agoFix a typo in rmail.texi
Eli Zaretskii [Sat, 19 May 2018 20:08:38 +0000 (23:08 +0300)]
Fix a typo in rmail.texi

* doc/emacs/rmail.texi (Rmail Summary Edit): Add markup to 'nil'.
(Bug#31533)

7 years ago* etc/PROBLEMS: Document Bug#31305.
Paul Eggert [Fri, 18 May 2018 16:24:04 +0000 (09:24 -0700)]
* etc/PROBLEMS: Document Bug#31305.

7 years ago(gnus-blocked-images): Clarify privacy implications
Lars Ingebrigtsen [Fri, 18 May 2018 14:05:02 +0000 (16:05 +0200)]
(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 f4d9fd3dd45f767eca33fbf1beee40da790fa74e)

7 years agoFix a typo in describing input methods
Eli Zaretskii [Fri, 18 May 2018 07:58:11 +0000 (10:58 +0300)]
Fix a typo in describing input methods

* lisp/help-mode.el (help-make-xrefs): Fix a typo.  (Bug#31448)

7 years ago; Add a comment to emacs-lisp-intro.texi
Eli Zaretskii [Fri, 18 May 2018 06:31:24 +0000 (09:31 +0300)]
; 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.

7 years agoClarify the mode-line indicators in CC Mode
Eli Zaretskii [Mon, 14 May 2018 16:28:06 +0000 (19:28 +0300)]
Clarify the mode-line indicators in CC Mode

* doc/emacs/programs.texi (Electric C): Explain '*' and '/' in the
CC Mode mode-line.  (Bug31445)

7 years agoFix filesystem littering by Flymake's legacy backend
João Távora [Fri, 11 May 2018 22:28:40 +0000 (23:28 +0100)]
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.

7 years ago; Fix a typo in the Emacs manual
Eli Zaretskii [Sat, 12 May 2018 09:09:05 +0000 (12:09 +0300)]
; Fix a typo in the Emacs manual

* doc/emacs/fixit.texi (Transpose): Fix a typo.  Reported by
Takesi Ayanokoji <ayanokoji.takesi@gmail.com>.

7 years ago* doc/emacs/help.texi: Fix paren typo.
Paul Eggert [Fri, 11 May 2018 23:09:14 +0000 (16:09 -0700)]
* doc/emacs/help.texi: Fix paren typo.

7 years agoMore minor changes in shell-related nodes of Emacs manual
Eli Zaretskii [Fri, 11 May 2018 09:39:52 +0000 (12:39 +0300)]
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.

7 years agoFix inaccuracies in "Shell Ring" node of Emacs manual
Eli Zaretskii [Fri, 11 May 2018 09:32:31 +0000 (12:32 +0300)]
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.

7 years agoImprove documentation of kmacro commands and variables.
Eli Zaretskii [Fri, 11 May 2018 09:11:14 +0000 (12:11 +0300)]
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)

7 years ago* doc/man/emacs.1.in: Document --fg-daemon and --bg-daemon.
Noam Postavsky [Fri, 11 May 2018 02:47:04 +0000 (22:47 -0400)]
* doc/man/emacs.1.in: Document --fg-daemon and --bg-daemon.

7 years agoDon't check non-X frames for z order (Bug#31373)
Noam Postavsky [Sun, 6 May 2018 14:07:25 +0000 (10:07 -0400)]
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'.

7 years agoCheck NSWindow is actually a frame
Alan Third [Sun, 6 May 2018 20:49:31 +0000 (21:49 +0100)]
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.

7 years agoFix gud-statement for pdb
Xu Chunyang [Sun, 6 May 2018 19:46:04 +0000 (22:46 +0300)]
Fix gud-statement for pdb

* lisp/progmodes/gud.el (pdb): Fix the gud-print implementation.
(Bug#31363)

7 years ago; * msdos/INSTALL: Add info about GCC versions.
Eli Zaretskii [Fri, 4 May 2018 15:12:32 +0000 (18:12 +0300)]
; * msdos/INSTALL: Add info about GCC versions.

7 years agoDocument 'custom-group'
Eli Zaretskii [Fri, 4 May 2018 15:00:02 +0000 (18:00 +0300)]
Document 'custom-group'

* doc/lispref/customize.texi (Group Definitions): Document the
'custom-group' property.

7 years agoA minor addition to etc/DEBUG
Eli Zaretskii [Fri, 4 May 2018 14:43:29 +0000 (17:43 +0300)]
A minor addition to etc/DEBUG

* etc/DEBUG: Add a note for macOS users who get error messages
when trying to run GDB.

7 years agoAvoid errors in ispell.el when Enchant returns empty extra chars
Daniel Pittman [Fri, 4 May 2018 14:37:10 +0000 (17:37 +0300)]
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

7 years agoMake 'ispell-initialize-spellchecker-hook' work again
Eli Zaretskii [Fri, 4 May 2018 14:25:33 +0000 (17:25 +0300)]
Make 'ispell-initialize-spellchecker-hook' work again

* lisp/textmodes/ispell.el (ispell-base-dicts-override-alist):
Defvar it to allow dynamic binding.  (Bug#31341)

7 years agoHandle selected_window change in prepare_menu_bars (Bug#31312)
Noam Postavsky [Fri, 4 May 2018 00:54:25 +0000 (20:54 -0400)]
Handle selected_window change in prepare_menu_bars (Bug#31312)

* src/xdisp.c (redisplay_internal): Check selected_window after
calling prepare_menu_bars, since it can call lisp hooks.

7 years ago; * INSTALL: Fix Emacs version number. (Bug#31358)
Eli Zaretskii [Thu, 3 May 2018 18:19:07 +0000 (21:19 +0300)]
; * INSTALL: Fix Emacs version number.  (Bug#31358)

7 years agoFix report-emacs-bug via mailclient on MS-Windows
Eli Zaretskii [Thu, 3 May 2018 18:04:17 +0000 (21:04 +0300)]
Fix report-emacs-bug via mailclient on MS-Windows

* lisp/net/browse-url.el (browse-url-default-windows-browser):
On MS-Windows, call url-unhex-string only for file:// URLs.
(Bug#31351)

7 years agoPort collation tests to glibc 2.27
Paul Eggert [Wed, 2 May 2018 18:14:07 +0000 (11:14 -0700)]
Port collation tests to glibc 2.27

* test/src/fns-tests.el (fns-tests-collate-strings)
(fns-tests-collate-sort): Don’t make unportable assumptions
about how en_US.UTF-8 collation works.  These assumptions
are not true on Fedora 28, which ships with glibc 2.27.

7 years agoPort --enable-gcc-warnings to GCC 8
Paul Eggert [Tue, 1 May 2018 00:17:11 +0000 (17:17 -0700)]
Port --enable-gcc-warnings to GCC 8

Backport from master.
* lib-src/emacsclient.c (fail):
Do not dereference a null pointer.
* src/frame.c (delete_frame):
Add a decl with UNINIT to work around GCC bug 85563.
* src/menu.h (finish_menu_items):
Do not use attribute const.
* src/regex.c (analyze_first): Use FALLTHROUGH, not a comment.

7 years agoAdvise CFLAGS= operand, not in environment, when configuring
Paul Eggert [Mon, 30 Apr 2018 17:13:40 +0000 (10:13 -0700)]
Advise CFLAGS= operand, not in environment, when configuring

Backport from master.

7 years ago; * etc/DEBUG: Minor clarification.
Eli Zaretskii [Sun, 29 Apr 2018 16:27:55 +0000 (19:27 +0300)]
; * etc/DEBUG: Minor clarification.

7 years agoUpdate the Emacs FAQ
Eli Zaretskii [Sat, 28 Apr 2018 12:03:17 +0000 (15:03 +0300)]
Update the Emacs FAQ

* doc/misc/efaq.texi (Latest version of Emacs): Update versions.
(New in Emacs 26): New node.

* admin/release-process: Mention the FAQ update as part of the
release.

7 years ago* etc/DEBUG: Minor copyedits.
Eli Zaretskii [Sat, 28 Apr 2018 11:28:24 +0000 (14:28 +0300)]
* etc/DEBUG: Minor copyedits.

7 years agoClarify wording of NS drag n drop documentation
Alan Third [Sun, 22 Apr 2018 10:06:42 +0000 (11:06 +0100)]
Clarify wording of NS drag n drop documentation

* doc/emacs/macos.texi (Mac / GNUstep Events): Clarify wording of
ns-drag-n-drop description.

7 years agoImprove kill-related documentation (bug#31209)
Basil L. Contovounesios [Wed, 18 Apr 2018 17:35:38 +0000 (18:35 +0100)]
Improve kill-related documentation (bug#31209)

* doc/lispref/text.texi (Low-Level Kill Ring): Fix typo under
current-kill.  Mention interprogram-paste-function under kill-new
and kill-append.
* lisp/simple.el (save-interprogram-paste-before-kill, kill-new)
(kill-append-merge-undo, kill-append): Touch-up docstrings.

7 years ago* lisp/simple.el (region-extract-function): Don't hide the 'nil' case.
Stefan Monnier [Tue, 24 Apr 2018 18:06:20 +0000 (14:06 -0400)]
* lisp/simple.el (region-extract-function): Don't hide the 'nil' case.

7 years agoFix pre- and post-command-hook errors in term.el
Karl Otness [Sun, 22 Apr 2018 03:01:11 +0000 (23:01 -0400)]
Fix pre- and post-command-hook errors in term.el

Before this patch, after the terminal process dies the command
hooks added in term-mode's char mode would produce errors.
This fix removes these hooks when the process dies.
* lisp/term.el (term-handle-exit): Remove pre-command-hook and
post-command-hook because the process is dead.  (Bug#31236)

Copyright-paperwork-exempt: yes

7 years ago* doc/lispref/display.texi (Glyphless Chars): Fix grammar.
Charles A. Roelli [Sun, 22 Apr 2018 09:15:37 +0000 (11:15 +0200)]
* doc/lispref/display.texi (Glyphless Chars): Fix grammar.

7 years agoFix macOS drag n drop event documentation
Alan Third [Sat, 21 Apr 2018 13:32:50 +0000 (14:32 +0100)]
Fix macOS drag n drop event documentation

* doc/emacs/macos.texi (Mac / GNUstep Customization): Remove
references to color panel.
(Mac / GNUstep Events): Remove ns-drag-file, and add ns-drag-n-drop.

7 years agoUpdate the documentation of 'perform-replace'
Eli Zaretskii [Fri, 20 Apr 2018 07:18:06 +0000 (10:18 +0300)]
Update the documentation of 'perform-replace'

* doc/lispref/searching.texi (Search and Replace): Update the
documentation of 'perform-replace'.

7 years ago* etc/NEWS: Another fix for the last change (noted by Juri Linkov)
Martin Rudalics [Fri, 20 Apr 2018 06:12:10 +0000 (08:12 +0200)]
* etc/NEWS: Another fix for the last change (noted by Juri Linkov)

7 years agoFix use of @key in Texinfo manuals
Eli Zaretskii [Thu, 19 Apr 2018 09:21:06 +0000 (12:21 +0300)]
Fix use of @key in Texinfo manuals

* doc/misc/efaq-w32.texi (Location of init file):
* doc/misc/org.texi (Editing source code, Export settings)
(Closing items, Drawers, Structure editing):
* doc/misc/gnus.texi (Spam and Ham Processors, Terminology):
* doc/misc/calc.texi (Keypad Functions Menu, Keypad Binary Menu)
(Keypad Vectors Menu, Keypad Main Menu, Basic Arithmetic)
(Symbolic Mode):
* doc/misc/sc.texi (Electric References):
* doc/misc/info.texi (Help-^L):
* doc/misc/reftex.texi (Reference Styles):
* doc/misc/idlwave.texi (Troubleshooting, Examining Variables)
(Lesson III---User Catalog, Using the Shell):
* doc/misc/eshell.texi (Bugs and ideas):
* doc/misc/ada-mode.texi (Automatic Casing):
* doc/misc/ediff.texi (Selective Browsing):
* doc/misc/vip.texi (Customizing Constants):
* doc/misc/pcl-cvs.texi (Selected files):
* doc/misc/efaq.texi (Replying to the sender of a message)
(Basic keys, No Meta key, Matching parentheses)
(Origin of the term Emacs, Installing Texinfo documentation)
(Learning how to do something, Emacs manual, Extended commands):
* doc/misc/viper.texi (Rudimentary Changes):
* doc/misc/tramp.texi (Frequently Asked Questions):
* doc/emacs/kmacro.texi (Basic Keyboard Macro):
* doc/emacs/frames.texi (Frame Commands):
* doc/emacs/msdos.texi (Windows Keyboard):
* doc/emacs/search.texi (Query Replace):
* doc/lispintro/emacs-lisp-intro.texi (Keybindings)
(Note for Novices):
* doc/lispref/tips.texi (Key Binding Conventions): Fix use of
@key.  For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00390.html.

7 years agoImprove documentation of actual arglist
Eli Zaretskii [Thu, 19 Apr 2018 08:29:50 +0000 (11:29 +0300)]
Improve documentation of actual arglist

* doc/lispref/functions.texi (Function Documentation): Advise
against using '(fn ARGLIST)' method of advertising a calling
convention when the old calling convention is deprecated.
(Bug#31191)

7 years ago; * etc/NEWS: Improve last change as proposed by Phil Sainty
Martin Rudalics [Wed, 18 Apr 2018 12:19:21 +0000 (14:19 +0200)]
; * etc/NEWS: Improve last change as proposed by Phil Sainty

7 years agoDon't assume term-current-row cache is valid (Bug#31193)
Noam Postavsky [Tue, 17 Apr 2018 23:17:18 +0000 (19:17 -0400)]
Don't assume term-current-row cache is valid (Bug#31193)

* lisp/term.el (term-down): Call `term-current-row' instead of
directly accessing the variable `term-current-row.  Following a resize
of the terminal's window, `term-current-row' is reset to nil, so it is
not safe to assume it is a number.

7 years ago; * etc/NEWS: Mention 'display-buffer-in-major-side-window' change (Bug#31194)
Martin Rudalics [Wed, 18 Apr 2018 07:10:03 +0000 (09:10 +0200)]
; * etc/NEWS: Mention 'display-buffer-in-major-side-window' change (Bug#31194)

7 years agoFix flyspell-auto-correct-previous-word broken by recent change
Eli Zaretskii [Tue, 17 Apr 2018 17:45:51 +0000 (20:45 +0300)]
Fix flyspell-auto-correct-previous-word broken by recent change

* lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Keep
flyspell-auto-correct-region also when repeatedly invoking
flyspell-auto-correct-previous-word.  (Bug#31188)

7 years ago* test/src/lread-tests.el (lread-test-bug-31186): New test.
Eli Zaretskii [Tue, 17 Apr 2018 15:40:41 +0000 (18:40 +0300)]
* test/src/lread-tests.el (lread-test-bug-31186): New test.

7 years agoFix undefined behaviour while looking for lexical-binding file variable (bug 31186)
Andreas Schwab [Tue, 17 Apr 2018 09:36:36 +0000 (11:36 +0200)]
Fix undefined behaviour while looking for lexical-binding file variable (bug 31186)

* src/lread.c (lisp_file_lexically_bound_p): Reset
beg_end_state before reading variable or value.

7 years agoMinor wording improvement in "Bookmarks"
Eli Zaretskii [Sun, 15 Apr 2018 17:34:44 +0000 (20:34 +0300)]
Minor wording improvement in "Bookmarks"

* doc/emacs/regs.texi (Bookmarks): Improve wording.  Suggested by
"Siraphob (Ben) Phipathananunth" <siraben@disroot.org>.

7 years agoFix building etc/DOC in the MSDOS port
Eli Zaretskii [Sat, 14 Apr 2018 12:52:40 +0000 (15:52 +0300)]
Fix building etc/DOC in the MSDOS port

* msdos/sed1v2.inp (lisp.mk): Fix escaping in Sed commands.

7 years ago* lisp/select.el (gui-get-selection): Doc fix.
Eli Zaretskii [Sat, 14 Apr 2018 07:53:34 +0000 (10:53 +0300)]
* lisp/select.el (gui-get-selection): Doc fix.

7 years ago; * doc/lispref/display.texi (Temporary Displays): Fix typos.
Eli Zaretskii [Fri, 13 Apr 2018 17:19:17 +0000 (20:19 +0300)]
; * doc/lispref/display.texi (Temporary Displays): Fix typos.

7 years agoComplete documentation of syntax flags by adding `c'
Alan Mackenzie [Fri, 13 Apr 2018 14:35:13 +0000 (14:35 +0000)]
Complete documentation of syntax flags by adding `c'

* doc/lispref/syntax.texi ("Syntax Table Internals"): Add entry for `c'
as `(1 lsh 23)'.

7 years agoFix typos and minor wording issues in ELisp manual
Eli Zaretskii [Fri, 13 Apr 2018 13:44:05 +0000 (16:44 +0300)]
Fix typos and minor wording issues in ELisp manual

* doc/lispref/internals.texi (Writing Emacs Primitives):
* doc/lispref/display.texi (Temporary Displays): Fix typos.
* doc/lispref/text.texi (Filling, Changing Properties)
(Transposition): Clarify and fix typos.
* doc/lispref/positions.texi (Screen Lines): Improve wording.
* doc/lispref/modes.texi (Minor Mode Conventions)
(Font Lock Multiline): Fix typos.
* doc/lispref/variables.texi (Dynamic Binding Tips): Fix a
cross-reference.  Fix a typo.
* doc/lispref/sequences.texi (Sequence Functions): Fix typos.
(Bug#31143)

7 years agoMerge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26
Eli Zaretskii [Fri, 13 Apr 2018 12:49:13 +0000 (15:49 +0300)]
Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26

7 years agoAvoid segfault in processes of type 'pipe'
Eli Zaretskii [Fri, 13 Apr 2018 12:48:04 +0000 (15:48 +0300)]
Avoid segfault in processes of type 'pipe'

* src/process.c (Fmake_pipe_process): Set up the decoding and
encoding buffers.  For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00295.html.

7 years agoRemove repetitions in documentation strings
Robert Pluim [Fri, 13 Apr 2018 10:09:35 +0000 (12:09 +0200)]
Remove repetitions in documentation strings

* lisp/bindings.el (right-word): Remove repetition
(left-word): Likewise.

* lisp/image-mode.el (image-mode-as-hex): Likewise.

* lisp/cedet/semantic/tag-ls.el (semantic-tag-similar-p): Likewise.

* lisp/textmodes/reftex-vars.el (reftex-view-crossref-extra): Likewise

7 years ago* lisp/image.el (image-load-path): Doc fix.
Eli Zaretskii [Thu, 12 Apr 2018 12:44:06 +0000 (15:44 +0300)]
* lisp/image.el (image-load-path): Doc fix.

7 years ago; * etc/NEWS: Remove a FIXME. (Bug#31122)
Eli Zaretskii [Tue, 10 Apr 2018 15:25:27 +0000 (18:25 +0300)]
; * etc/NEWS: Remove a FIXME.  (Bug#31122)

7 years ago; * ChangeLog.3: Update.
Nicolas Petton [Mon, 9 Apr 2018 19:00:56 +0000 (21:00 +0200)]
; * ChangeLog.3: Update.

7 years ago* etc/AUTHORS: Regenerate.
Nicolas Petton [Mon, 9 Apr 2018 19:00:47 +0000 (21:00 +0200)]
* etc/AUTHORS: Regenerate.

7 years ago* lisp/files.el (kept-new-versions): Improve documentation string.
Charles A. Roelli [Mon, 9 Apr 2018 18:26:50 +0000 (20:26 +0200)]
* lisp/files.el (kept-new-versions): Improve documentation string.

7 years agoFix a minor mistake in the ELisp manual
Eli Zaretskii [Mon, 9 Apr 2018 14:53:37 +0000 (17:53 +0300)]
Fix a minor mistake in the ELisp manual

* doc/lispref/files.texi (Reading from Files): Fix copy/paste
mistake.  (Bug#31107)

7 years ago; * src/dispextern.h (struct it): Fix a typo in a comment.
Eli Zaretskii [Sat, 7 Apr 2018 14:24:01 +0000 (17:24 +0300)]
; * src/dispextern.h (struct it): Fix a typo in a comment.

7 years ago* lisp/files.el (find-file-literally): Doc fix.
Eli Zaretskii [Fri, 6 Apr 2018 06:44:42 +0000 (09:44 +0300)]
* lisp/files.el (find-file-literally): Doc fix.

7 years agoFix typos in doc strings
Eli Zaretskii [Thu, 5 Apr 2018 18:38:07 +0000 (21:38 +0300)]
Fix typos in doc strings

* lisp/simple.el (undo-auto--boundary-timer)
(undo-auto--boundary-ensure-timer): Fix typos in doc strings.

7 years agoBump Emacs version to 26.1
Nicolas Petton [Thu, 5 Apr 2018 09:56:27 +0000 (11:56 +0200)]
Bump Emacs version to 26.1

* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 26.1.