]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 years ago* lisp/calculator.el (calculator-paste-decimals): Add version.
Glenn Morris [Fri, 23 Mar 2018 23:49:28 +0000 (19:49 -0400)]
* lisp/calculator.el (calculator-paste-decimals): Add version.

6 years ago; Use GNU not Gnu in docs
Glenn Morris [Fri, 23 Mar 2018 20:01:12 +0000 (16:01 -0400)]
; Use GNU not Gnu in docs

6 years agoMore proofreading of the Emacs manual
Eli Zaretskii [Fri, 23 Mar 2018 16:08:32 +0000 (19:08 +0300)]
More proofreading of the Emacs manual

* doc/emacs/trouble.texi (DEL Does Not Delete): Improve wording.
(Screen Garbled): Mention the command name.
(Bug Criteria): Mention that problems in packages should first be
reported to the respective maintainers.
(Checklist): Fix wording.
(Contributing, Copyright Assignment): Minor copyedits.
* doc/emacs/misc.texi (Amusements): Remove Landmark.
* doc/emacs/picture-xtra.texi (Tabs in Picture): Improve wording.
(Rectangles in Picture): Add a cross-reference to "Registers".
* doc/emacs/misc.texi (Gnus Group Buffer, Gnus Summary Buffer):
Mention command names in parentheses.
(Gnus Summary Buffer): Document "M-r".
(Network Security): Document that current NSM works with TLS
encryption.  Fix markup.
(Document View): Improve wording and fix a typo.
(DocView Conversion): Rephrase description of
doc-view-cache-directory.
(Single Shell): Mention variables that control when shell output
appears in the echo area.
(Shell Mode): Improve wording.
(Shell Prompts): Fix a typo.
(Shell Ring, Term Mode): Mention command names.
(History References): Add a cross-reference to "Rebinding".
(Remote Host): Mention SSH.
(TCP Emacs server): Improve wording.
(emacsclient Options): Minor improvements.
(PostScript): Fix wording.
(PostScript Variables): Mention that ps-font-size could be a cons.
(Sorting): Minor improvements.  Suggested by Michael Albinus
<michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org

6 years ago* src/lisp.h (struct Lisp_Buffer_Local_Value): Update commentary.
Noam Postavsky [Fri, 23 Mar 2018 08:51:53 +0000 (04:51 -0400)]
* src/lisp.h (struct Lisp_Buffer_Local_Value): Update commentary.

6 years ago* doc/emacs/trouble.texi: Fix location of `emacs-version' index.
Noam Postavsky [Thu, 15 Mar 2018 11:42:40 +0000 (07:42 -0400)]
* doc/emacs/trouble.texi: Fix location of `emacs-version' index.

6 years agoExplain more about (defvar foo) form (Bug#18059)
Noam Postavsky [Sat, 10 Feb 2018 19:06:05 +0000 (14:06 -0500)]
Explain more about (defvar foo) form (Bug#18059)

* doc/lispref/variables.texi (Defining Variables)
(Using Lexical Binding):
* doc/lispref/compile.texi (Compiler Errors): Emphasize that omitting
VALUE for `defvar' marks the variable special only locally.
* doc/lispref/variables.texi (Using Lexical Binding): Add example of
using `defvar' without VALUE.

6 years ago* doc/lispref/buffers.texi (Buffer List): Fix grammar.
Charles A. Roelli [Thu, 22 Mar 2018 19:43:42 +0000 (20:43 +0100)]
* doc/lispref/buffers.texi (Buffer List): Fix grammar.

6 years ago* doc/lispref/anti.texi (Antinews): Fix grammar.
Charles A. Roelli [Thu, 22 Mar 2018 19:40:02 +0000 (20:40 +0100)]
* doc/lispref/anti.texi (Antinews): Fix grammar.

6 years ago* lisp/org/ob-lisp.el (org-babel-lisp-eval-fn): Tweak type.
Glenn Morris [Thu, 22 Mar 2018 18:37:45 +0000 (14:37 -0400)]
* lisp/org/ob-lisp.el (org-babel-lisp-eval-fn): Tweak type.

Avoids type mismatch when relevant library is not present/loaded.

6 years agosql.el defcustom fixes
Glenn Morris [Thu, 22 Mar 2018 18:31:33 +0000 (14:31 -0400)]
sql.el defcustom fixes

* lisp/progmodes/sql.el (sql-login-params): Update.
Avoids type mismatch with postgres and sqlite login params.
(sql-postgres-login-params): Bump version.

6 years agoDocument DEFUN attributes
Eli Zaretskii [Thu, 22 Mar 2018 12:57:43 +0000 (14:57 +0200)]
Document DEFUN attributes

* doc/lispref/internals.texi (Writing Emacs Primitives): Document
specification of function attributes in DEFUN.

6 years ago* etc/NEWS: Add an entry for auth-source-pass.
Nicolas Petton [Thu, 22 Mar 2018 10:55:15 +0000 (11:55 +0100)]
* etc/NEWS: Add an entry for auth-source-pass.

6 years agoFix the MSDOS build
Eli Zaretskii [Thu, 22 Mar 2018 09:15:23 +0000 (11:15 +0200)]
Fix the MSDOS build

* msdos/sed2v2.inp (HAVE_SBRK): Define to 1.

6 years agoImprove warning and error messages
Eric Abrahamsen [Sat, 10 Mar 2018 08:26:38 +0000 (16:26 +0800)]
Improve warning and error messages

* lisp/emacs-lisp/eieio-base.el (eieio-persistent-read,
  (eieio-persistent-validate/fix-slot-value): Indicate exactly what
  went wrong.

6 years agoAdjust eieio persistence tests for expected failure
Eric Abrahamsen [Sat, 30 Dec 2017 18:12:22 +0000 (10:12 -0800)]
Adjust eieio persistence tests for expected failure

* test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
 (eieio-test-persist-hash-and-vector,
  eieio-test-persist-interior-lists): Persistence does not currently
 handle deeply-nested objects. Expect current failures, and mark for
 future fixes.

6 years agoLet eieio-persistent-read read what object-write has written
Eric Abrahamsen [Fri, 29 Dec 2017 02:14:47 +0000 (18:14 -0800)]
Let eieio-persistent-read read what object-write has written

* lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
  `object-write' may quote lists inside hash tables and vectors, so
  unquote those lists here.

This patch allows the eieio-persistent write/restore process to
perform a clean round trip. It only handles a very specific and
limited range of object structures, but at least the write and read
procedures match.

6 years agoHandle possible classtype values in eieio-persistent-read
Eric Abrahamsen [Tue, 19 Dec 2017 22:56:13 +0000 (14:56 -0800)]
Handle possible classtype values in eieio-persistent-read

* lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
  The function `eieio-persistent-slot-type-is-class-p' could return
  either a single class, or a list of classes.

6 years agoAdd new tests for eieio persistence
Pierre Téchoueyres [Fri, 15 Dec 2017 20:42:21 +0000 (21:42 +0100)]
Add new tests for eieio persistence

* test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el:
  (hash-equal): New comparison test for hash-tables.
  (persist-test-save-and-compare): Use test for hash-tables.
  (eieio-test-persist-hash-and-vector,
  eieio-test-persist-interior-lists): New tests.

6 years ago* lisp/gnus/gnus-cloud.el (gnus-cloud-synced-files): Fix doc & type.
Glenn Morris [Thu, 22 Mar 2018 00:47:28 +0000 (20:47 -0400)]
* lisp/gnus/gnus-cloud.el (gnus-cloud-synced-files): Fix doc & type.

6 years ago* lisp/ibuf-ext.el (ibuffer-never-search-content-mode): Fix type.
Glenn Morris [Wed, 21 Mar 2018 23:38:44 +0000 (19:38 -0400)]
* lisp/ibuf-ext.el (ibuffer-never-search-content-mode): Fix type.

6 years ago* doc/lispref/windows.texi (Selecting Windows): Fix a typo.
Glenn Morris [Wed, 21 Mar 2018 20:58:11 +0000 (16:58 -0400)]
* doc/lispref/windows.texi (Selecting Windows): Fix a typo.

6 years ago* doc/lispref/internals.texi (Writing Emacs Primitives): Fix grammar.
Charles A. Roelli [Wed, 21 Mar 2018 19:52:35 +0000 (20:52 +0100)]
* doc/lispref/internals.texi (Writing Emacs Primitives): Fix grammar.

6 years agoFirm up documentation of generalized variables
Alan Mackenzie [Wed, 21 Mar 2018 17:36:34 +0000 (17:36 +0000)]
Firm up documentation of generalized variables

* doc/lispref/variables.texi (Generalized Variables)
(Setting Generalized Variables): Define a generalized variable as something
setf can write to.  Remove the insinuation that hackers have poor memories.
State explicitly that the list of GVs given is complete.  Remove the
suggestion that `setf' has superseded, or is in the process of superseding,
`setq'.  Make minor corrections to the English.

6 years agoImprove documentation of Auto-Revert mode
Eli Zaretskii [Wed, 21 Mar 2018 16:57:41 +0000 (18:57 +0200)]
Improve documentation of Auto-Revert mode

* doc/emacs/files.texi (Reverting): Mention that Aut-Revert
applies to Dired buffers as well.  Suggested by Michael Albinus
<michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.

6 years agoImprovements in dired.texi
Eli Zaretskii [Wed, 21 Mar 2018 16:49:29 +0000 (18:49 +0200)]
Improvements in dired.texi

* doc/emacs/dired.texi (Dired): Mention that Dired works with
remote directories.
(Dired Enter): ls-lisp is used on some remote systems as well.
(Dired Navigation): Mention and index the command names.
(Dired Deletion): Document the 'always' value of
dired-recursive-deletes.  Mention the alternative deletion method.
(Marks vs Flags): Fix spelling of Auto-Revert mode.  Document what
marking does on a subdirectory header line.
(Operating on Files): Document that 'Z' uses gzip or compress.
(Comparison in Dired): Mention ediff-files.
(Misc Dired Features): Fix a typo.  Suggested by Michael Albinus
<michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.

6 years agoRevert "Support all perl variable declarators and prefixes"
Noam Postavsky [Tue, 20 Mar 2018 23:18:33 +0000 (19:18 -0400)]
Revert "Support all perl variable declarators and prefixes"

It highlights normal variable names in perl programs (Bug#30812).
* lisp/progmodes/perl-mode.el (perl-imenu-generic-expression)
(perl-font-lock-keywords-2): Restore values prior to Bug#27613 fix.

Don't merge to master, we will fix Bug#27613 properly there (it's too
close to release to do that on emacs-26).

6 years agoPort to 32-bit sparc64
Paul Eggert [Tue, 20 Mar 2018 16:54:20 +0000 (09:54 -0700)]
Port to 32-bit sparc64

Backport from master.
Problem reported by Ulrich Mueller; fix suggested by Eli Zaretskii
and Andreas Schwab (Bug#30855).
* src/alloc.c (mark_memory): Call mark_maybe_object only on
pointers that are properly aligned for Lisp_Object.

6 years ago; Rewrap doc string
Paul Eggert [Tue, 20 Mar 2018 15:57:40 +0000 (08:57 -0700)]
; Rewrap doc string

6 years agoCorrect Info link markup
Robert Pluim [Mon, 12 Mar 2018 16:43:23 +0000 (17:43 +0100)]
Correct Info link markup

* lisp/gnus/gnus-agent.el (gnus-agent-auto-agentize-methods):
Correct markup for Info link.
* src/minibuf.c (Fcompleting_read): Likewise.

6 years agoImprove documentation of 'with-help-window'
Nick Helm [Sun, 18 Mar 2018 08:05:44 +0000 (21:05 +1300)]
Improve documentation of 'with-help-window'

* doc/lispref/help.texi (Help Functions): Change variable name
to 'buffer-or-name'.

* lisp/help.el (with-help-window): Change variable name to
'buffer-or-name' and rewrite the doc string, adding reference
to 'help-window-setup'.  (Bug#30792)

6 years agoMinor improvements in building.texi
Eli Zaretskii [Tue, 20 Mar 2018 09:34:14 +0000 (11:34 +0200)]
Minor improvements in building.texi

* doc/emacs/building.texi (Compilation Shell): Mention that this
section is for local compilation buffers.
(Compilation, Compilation Mode): Mention that 'g' is bound to
'recompile' in compilation buffers.
(Grep Searching): Add a cross-reference to "Compilation Mode".
Suggested by Michael Albinus <michael.albinus@gmx.de> in
emacs-manual-bugs@gnu.org.

6 years ago* lisp/textmodes/bibtex.el (bibtex-mark-entry): activate mark
Alex Branham [Fri, 19 Jan 2018 18:54:00 +0000 (12:54 -0600)]
* lisp/textmodes/bibtex.el (bibtex-mark-entry): activate mark

6 years ago; Spelling fix
Paul Eggert [Tue, 20 Mar 2018 01:53:21 +0000 (18:53 -0700)]
; Spelling fix

6 years ago* doc/emacs/building.texi (Starting GUD): Mention 'guiler'.
Eli Zaretskii [Mon, 19 Mar 2018 20:01:55 +0000 (22:01 +0200)]
* doc/emacs/building.texi (Starting GUD): Mention 'guiler'.

6 years agoYet more proofreading of the Emacs manual
Eli Zaretskii [Mon, 19 Mar 2018 19:53:52 +0000 (21:53 +0200)]
Yet more proofreading of the Emacs manual

* doc/emacs/building.texi (Compilation, Grep Searching)
(Debuggers, GUD Customization, Source Buffers)
(Breakpoints Buffer, Threads Buffer): Minor fixes and updates.
Suggested by Michael Albinus <michael.albinus@gmx.de> in
emacs-manual-bugs@gnu.org.

6 years ago* doc/emacs/rmail.texi: Fix broken link.
Paul Eggert [Mon, 19 Mar 2018 18:44:07 +0000 (11:44 -0700)]
* doc/emacs/rmail.texi: Fix broken link.

6 years ago; Spelling fix
Paul Eggert [Mon, 19 Mar 2018 18:41:40 +0000 (11:41 -0700)]
; Spelling fix

6 years agoFix recently-added POP doc glitch
Paul Eggert [Mon, 19 Mar 2018 18:41:24 +0000 (11:41 -0700)]
Fix recently-added POP doc glitch

* doc/emacs/rmail.texi (Remote Mailboxes):
POP3 → POP, when talking about POP in general.

6 years agoMore proofreading of the Emacs manual
Eli Zaretskii [Mon, 19 Mar 2018 15:18:47 +0000 (17:18 +0200)]
More proofreading of the Emacs manual

* doc/emacs/macos.texi (Mac / GNUstep Basics): Fix typos.  Improve
indexing.
(Mac / GNUstep Basics, Mac / GNUstep Customization)
(Mac / GNUstep Events): Improve indexing.

* doc/emacs/rmail.texi (Rmail): Mention Gnus.
(Rmail Basics, Rmail Scrolling): Improve cross-references and
indexing.
(Rmail Motion): Minor improvements.
(Rmail Inbox): Remove outdated text about Babyl format.
(Rmail Files): Formatting changes.  Comment out
set-rmail-inbox-list in the table of commands, as it is commented
out in the text that follows.
(Rmail Output, Rmail Labels, Rmail Reply, Rmail Make Summary):
Minor copyedits.
(Rmail Summary Edit): Document
rmail-summary-scroll-between-messages.
(Rmail Editing): Improve indexing.
(Movemail): Fix typos.
(Remote Mailboxes): Use "POP3" rather than "POP".

6 years agoFix typo in the Emacs manual's VC chapter
Simen Heggestøyl [Mon, 19 Mar 2018 09:01:01 +0000 (10:01 +0100)]
Fix typo in the Emacs manual's VC chapter

* doc/emacs/maintaining.texi (VC Directory Buffer): Fix a typo.

6 years agoPass json-readtable-error data as a list (bug#30489)
Basil L. Contovounesios [Fri, 16 Feb 2018 17:11:49 +0000 (17:11 +0000)]
Pass json-readtable-error data as a list (bug#30489)

* lisp/json.el (json-readtable-dispatch): Fix error data.
* test/lisp/json-tests.el (test-json-read): Check error data is a
list.

6 years agoImprove word motion docs (Bug#30815)
Noam Postavsky [Wed, 14 Mar 2018 02:17:43 +0000 (22:17 -0400)]
Improve word motion docs (Bug#30815)

* doc/lispref/positions.texi (Word Motion): Fix reference to
`char-script-table'.
* lisp/simple.el (backward-word):
* src/syntax.c (forward-word): Mention `char-script-table' and add
link to the 'Word Motion' manual section.

6 years agoReplace "carriage-return" by "carriage return" in manuals
Michael Albinus [Thu, 15 Mar 2018 09:56:08 +0000 (10:56 +0100)]
Replace "carriage-return" by "carriage return" in manuals

* doc/emacs/msdos.texi:
* doc/emacs/mule.texi:
* doc/emacs/screen.texi:
* doc/lispref/nonascii.texi:
* doc/misc/calc.texi: Replace "carriage-return" by "carriage
return".  Suggested by Richard Stallman <rms@gnu.org> in
emacs-manual-bugs@gnu.org.

6 years agoMinor copyedits in mule.texi
Eli Zaretskii [Thu, 15 Mar 2018 06:36:09 +0000 (08:36 +0200)]
Minor copyedits in mule.texi

* doc/emacs/mule.texi (Recognize Coding, Fontsets): Minor changes
in wording.  Suggested by Richard Stallman <rms@gnu.org> in
emacs-manual-bugs@gnu.org.

6 years agoFix problems caused by fontconfig-2.13.0
Eli Zaretskii [Wed, 14 Mar 2018 18:11:16 +0000 (20:11 +0200)]
Fix problems caused by fontconfig-2.13.0

* src/xterm.c (x_term_init): Call fixup_locale after
xg_initialize, to countermand the call to setlocale in some
versions of fontconfig.  (Bug#30788)

6 years agoFix some allout.el aliases
Glenn Morris [Tue, 13 Mar 2018 18:48:37 +0000 (14:48 -0400)]
Fix some allout.el aliases

* lisp/allout.el (allout-passphrase-verifier-string)
(allout-passphrase-hint-string): Fix alias.

6 years ago* lisp/progmodes/ada-mode.el (ada-clean-buffer-before-saving): Doc fix.
Glenn Morris [Tue, 13 Mar 2018 18:48:02 +0000 (14:48 -0400)]
* lisp/progmodes/ada-mode.el (ada-clean-buffer-before-saving): Doc fix.

6 years agoDoc fixes re obsolete items
Glenn Morris [Tue, 13 Mar 2018 18:47:41 +0000 (14:47 -0400)]
Doc fixes re obsolete items

* doc/emacs/mini.texi (Completion Commands): Small update re mouse.
* doc/misc/htmlfontify.texi (Customization): Replace obsolete alias.

6 years agoReplace an obsolete alias in tpu-mapper
Glenn Morris [Tue, 13 Mar 2018 17:49:53 +0000 (13:49 -0400)]
Replace an obsolete alias in tpu-mapper

* lisp/obsolete/tpu-mapper.el (tpu-map-key, tpu-mapper):
Replace obsolete alias.

6 years agoDoc fixes re obsolete items
Glenn Morris [Tue, 13 Mar 2018 17:49:05 +0000 (13:49 -0400)]
Doc fixes re obsolete items

* doc/emacs/maintaining.texi (VC Undo):
* doc/misc/efaq-w32.texi (Font names): Replace obsolete aliases.
* doc/misc/url.texi (Customization):
Don't mention url-temporary-directory, it essentially does nothing.
* lisp/hilit-chg.el
(highlight-changes-global-changes-existing-buffers): Doc fix.
; * lisp/w32-fns.el: Comment.
; * etc/TODO: Remove obsolete ffap mention.

6 years agoMinor changes in mule.texi
Eli Zaretskii [Tue, 13 Mar 2018 17:40:24 +0000 (19:40 +0200)]
Minor changes in mule.texi

* doc/emacs/mule.texi (International, Coding Systems)
(Bidirectional Editing): Minor wording changes and typo fixes.
Suggested by Michael Albinus <michael.albinus@gmx.de> in
emacs-manual-bugs@gnu.org.

6 years agoAvoid assertion violation under visual-order-cursor-movement
Eli Zaretskii [Tue, 13 Mar 2018 16:00:23 +0000 (18:00 +0200)]
Avoid assertion violation under visual-order-cursor-movement

* src/xdisp.c (Fmove_point_visually): Don't let point exceed the
BEGV..ZV range.  Signal Beginning of buffer error when there's a
before-string at BEGV.  (Bug#30787)

6 years agoStop mentioning options.el in doc
Glenn Morris [Tue, 13 Mar 2018 01:09:36 +0000 (21:09 -0400)]
Stop mentioning options.el in doc

* doc/misc/calc.texi (Customizing Embedded Mode):
Remove mentions of the obsolete (since 22.1) options.el.
* lisp/progmodes/meta-mode.el: Comment fix.

6 years ago; * lisp/minibuffer.el (completion-cycle-threshold): Fix last change.
Eli Zaretskii [Mon, 12 Mar 2018 20:08:54 +0000 (22:08 +0200)]
; * lisp/minibuffer.el (completion-cycle-threshold): Fix last change.

6 years ago* lisp/vc/vc-dir.el (vc-dir-unmark): Fix documentation.
Charles A. Roelli [Mon, 12 Mar 2018 19:16:53 +0000 (20:16 +0100)]
* lisp/vc/vc-dir.el (vc-dir-unmark): Fix documentation.

6 years ago* lisp/minibuffer.el (completion-cycle-threshold): Doc fix.
Eli Zaretskii [Mon, 12 Mar 2018 17:25:10 +0000 (19:25 +0200)]
* lisp/minibuffer.el (completion-cycle-threshold): Doc fix.

6 years agoFix last change in Xref documentation
Eli Zaretskii [Mon, 12 Mar 2018 16:02:15 +0000 (18:02 +0200)]
Fix last change in Xref documentation

* doc/emacs/maintaining.texi (Looking Up Identifiers): More
accurate wording for the description of xref-etags-mode.

6 years agoMore changes in the Emacs manual
Eli Zaretskii [Sun, 11 Mar 2018 18:07:38 +0000 (20:07 +0200)]
More changes in the Emacs manual

* doc/emacs/text.texi (Words, Foldout, Table Conversion): Clarify
text.  Reported by Gijs Hillenius <gijs@hillenius.net> in
emacs-manual-bugs@gnu.org.

* doc/emacs/msdos.texi (Windows Keyboard):
* doc/emacs/msdos-xtra.texi (MS-DOS Keyboard):
* doc/emacs/macos.texi (Mac / GNUstep Basics):
* doc/emacs/glossary.texi (Glossary):
* doc/emacs/custom.texi (Function Keys, Init Syntax):
* doc/emacs/commands.texi (User Input):
* doc/emacs/basic.texi (Arguments): Fix capitalization of "Meta".
* doc/emacs/msdos.texi (Windows Keyboard):
* doc/emacs/dired.texi (Dired Updating):
* doc/emacs/custom.texi (Init Rebinding): Fix misuses of @key.
Suggested by Richard Stallman <rms@gnu.org>.

6 years agoImprove documentation of Xref
Eli Zaretskii [Sun, 11 Mar 2018 17:38:48 +0000 (19:38 +0200)]
Improve documentation of Xref

* doc/emacs/maintaining.texi (Looking Up Identifiers): Document
xref-etags-mode.

6 years agoFix create_process bug breaking eudc-expand-inline
Paul Eggert [Sun, 11 Mar 2018 02:26:01 +0000 (18:26 -0800)]
Fix create_process bug breaking eudc-expand-inline

Problem reported by Thomas Fitzsimmons (Bug#30762).
* src/process.c (create_process) [HAVE_PTYS]:
Call setsid even if !PTY_FLAG.

6 years agoClarify that nil doesn't match itself as a cl-case clause (Bug#30749)
Noam Postavsky [Thu, 8 Mar 2018 23:48:39 +0000 (18:48 -0500)]
Clarify that nil doesn't match itself as a cl-case clause (Bug#30749)

* lisp/emacs-lisp/cl-macs.el (cl-case): Mention that the ATOM
=> (ATOM) short form is only for non-nil ATOMs.

6 years agoImprove SVG documentation
Charles A. Roelli [Sat, 10 Mar 2018 18:19:00 +0000 (19:19 +0100)]
Improve SVG documentation

* doc/lispref/display.texi (ImageMagick Images): Remove an
outdated comment that references a fixed bug.
(SVG Images): Fix grammar, and call functions functions (there are
no commands in lisp/svg.el).

6 years agoDocument the "URL" keyword in library headers
Eli Zaretskii [Sat, 10 Mar 2018 11:57:33 +0000 (13:57 +0200)]
Document the "URL" keyword in library headers

* doc/lispref/tips.texi (Library Headers): "URL" is an alias for
"Homepage".  Suggested by Peter Oliver <p.d.oliver@mavit.org.uk>.
(Bug#30571)

6 years ago* test/lisp/international/mule-tests.el:
Glenn Morris [Fri, 9 Mar 2018 19:05:36 +0000 (14:05 -0500)]
* test/lisp/international/mule-tests.el:
Avoid local variables confusion.

6 years ago; * lisp/org/org-table.el: Replace obsolete alias in comment.
Glenn Morris [Fri, 9 Mar 2018 17:43:21 +0000 (12:43 -0500)]
; * lisp/org/org-table.el: Replace obsolete alias in comment.

6 years agoAdd missing findex entries for recently removed kindex entries
Bill Wohler [Sat, 3 Mar 2018 23:57:43 +0000 (15:57 -0800)]
Add missing findex entries for recently removed kindex entries

* doc/misc/mh-e.texi:

(cherry picked from commit a56a3fc6849b89a71c9a00afcb088021ccbe94e5)

6 years agoReplace the obsolete process-kill-without-query in documentation
Glenn Morris [Fri, 9 Mar 2018 01:18:18 +0000 (20:18 -0500)]
Replace the obsolete process-kill-without-query in documentation

* lisp/comint.el (comint-exec-hook):
* lisp/term.el (term-exec-hook):
* lisp/eshell/esh-proc.el (eshell-exec-hook):
Doc fixes re the obsolete process-kill-without-query.
; * lisp/net/ange-ftp.el: Comment.

6 years ago; Tiny fix for recent doc change
Glenn Morris [Thu, 8 Mar 2018 16:41:52 +0000 (08:41 -0800)]
; Tiny fix for recent doc change

6 years agoMinor change in the manual
Michael Albinus [Thu, 8 Mar 2018 16:08:47 +0000 (17:08 +0100)]
Minor change in the manual

* doc/emacs/display.texi (Useless Whitespace):
Don't upcase "TAB" and "SPC" when alluding to characters.

6 years agoMore minor changes in the manual
Eli Zaretskii [Thu, 8 Mar 2018 15:53:09 +0000 (17:53 +0200)]
More minor changes in the manual

* doc/emacs/display.texi (Useless Whitespace): Don't upcase "TAB"
and "SPC" when alluding to characters.  Suggested by Richard
Stallman <rms@gnu.org>.

* doc/emacs/buffers.texi (Misc Buffer): Clarify what "read-only"
means for buffers.
(Buffers): Define and describe "buffer contents".  Suggested by
Richard Stallman <rms@gnu.org>.  (Bug#30685)

6 years agoReplace some obsolete aliases in code
Glenn Morris [Wed, 7 Mar 2018 20:44:08 +0000 (15:44 -0500)]
Replace some obsolete aliases in code

* lisp/net/eudc-bob.el (eudc-bob-mail-keymap):
* lisp/textmodes/reftex-toc.el (reftex-make-separate-toc-frame):
Replace obsolete aliases.

6 years agoReplace some obsolete aliases in documentation
Glenn Morris [Wed, 7 Mar 2018 20:41:29 +0000 (15:41 -0500)]
Replace some obsolete aliases in documentation

* doc/misc/efaq-w32.texi (Incoming mail with Rmail):
* doc/misc/speedbar.texi (Major Display Modes):
* lisp/mh-e/mh-folder.el (mh-restore-desktop-buffer):
Doc fixes re obsolete aliases.
; * lisp/autoinsert.el (auto-insert):
; * lisp/ffap.el (ffap-newfile-prompt):
; * lisp/woman.el (woman-insert-file-contents): Comment fixes.

6 years agoMinor improvements in manuals
Eli Zaretskii [Wed, 7 Mar 2018 19:51:59 +0000 (21:51 +0200)]
Minor improvements in manuals

* doc/lispref/variables.texi (Local Variables): Make more clear
that local bindings of 'let' are in effect only within the body.
Suggested by Marcin Borkowski <mbork@mbork.pl>, see
http://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00217.html
for the details.

* doc/emacs/programs.texi (Matching): Fix a typo.  Reported by
Alex Branham <alex.branham@gmail.com> in emacs-manual-bugs@gnu.org.
Improve indexing.

6 years agoMinor copyedits in display.texi
Eli Zaretskii [Wed, 7 Mar 2018 19:02:24 +0000 (21:02 +0200)]
Minor copyedits in display.texi

* doc/emacs/display.texi (Highlight Interactively)
(Useless Whitespace, Line Truncation, Visual Line Mode): Minor
changes of wording and typo corrections.  Suggested by Michael
Albinus <michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.

6 years agoRemove some unused spam.el variables
Glenn Morris [Wed, 7 Mar 2018 01:18:54 +0000 (20:18 -0500)]
Remove some unused spam.el variables

* lisp/gnus/spam.el (spam-ifile-path, spam-ifile-database-path)
(spam-bogofilter-path, spam-bsfilter-path)
(spam-spamassassin-path, spam-sa-learn-path):
Remove variables that are described as obsolete, but are
really completely unused, and have been for years.

6 years agoReplace some obsolete aliases in code
Glenn Morris [Wed, 7 Mar 2018 01:16:52 +0000 (20:16 -0500)]
Replace some obsolete aliases in code

* lisp/emulation/viper.el (viper-set-hooks):
* lisp/epa-hook.el (auto-encryption-mode):
* lisp/term/pc-win.el (set-frame-font): Replace obsolete aliases.
* lisp/net/quickurl.el (quickurl--assoc-function): New.
(quickurl-assoc-function): Use it.

6 years agoReplace some obsolete aliases in documentation
Glenn Morris [Wed, 7 Mar 2018 01:13:51 +0000 (20:13 -0500)]
Replace some obsolete aliases in documentation

* doc/emacs/text.texi (Nroff Mode):
* doc/misc/efaq.texi (How to add fonts):
* lisp/gnus/nnheader.el (nnheader-insert-file-contents):
* lisp/progmodes/pascal.el (pascal-outline-mode):
Doc fixes re obsolete aliases.
; * src/frame.c (do_switch_frame): Comment.

6 years agoMerge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26
Eli Zaretskii [Tue, 6 Mar 2018 20:45:33 +0000 (22:45 +0200)]
Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26

6 years agoObsolete eshell-cmpl-suffix-list
Glenn Morris [Tue, 6 Mar 2018 20:07:15 +0000 (15:07 -0500)]
Obsolete eshell-cmpl-suffix-list

* lisp/eshell/em-cmpl.el (eshell-cmpl-suffix-list):
Make obsolete, to match pcomplete-suffix-list.

6 years agoMore minor changes in the Glossary of the Emacs manual
Eli Zaretskii [Tue, 6 Mar 2018 17:32:39 +0000 (19:32 +0200)]
More minor changes in the Glossary of the Emacs manual

* doc/emacs/glossary.texi (Glossary): Improve cross-references for
modifier keys.  Fix typos.  Suggested by Gijs Hillenius
<gijs@hillenius.net> in emacs-manual-bugs@gnu.org.

6 years agoRevert last commit
Michael Heerdegen [Tue, 6 Mar 2018 17:28:51 +0000 (18:28 +0100)]
Revert last commit

This reverts commit af4697faa1f5b643f63a9ea61aa205a4c1432e23.  It's
too late for this to be in the release.

6 years agoDefine if-let* and derivatives as aliases for if-let etc
Michael Heerdegen [Wed, 21 Feb 2018 10:15:37 +0000 (11:15 +0100)]
Define if-let* and derivatives as aliases for if-let etc

This commit reverts declaring `if-let' and `when-let' obsolete in
favor of the new `if-let*' and `when-let*' versions because of the
compiler warning mess (Bug#30039).  Instead we make foo-let* aliases
for foo-let.  The old single-tuple variable spec case is still
supported for backward compatibility.
* lisp/emacs-lisp/subr-x.el (if-let, when-let): Don't declare
obsolete.  Tweak edebug specs.
(and-let): Renamed from `and-let*' for compatibility with the names
`if-let' and `when-let'.
(if-let*, when-let*, and-let*): Define as aliases for `if-let',
`when-let' and `and-let'.
* test/lisp/emacs-lisp/subr-x-tests.el (if-let-single-tuple-case-test)
(when-let-single-tuple-case-test): New tests for the single-binding
tuple case.
In the whole file, prefer the names without "*".

6 years agoMinor fix in Emacs manual's Glossary
Eli Zaretskii [Mon, 5 Mar 2018 18:37:34 +0000 (20:37 +0200)]
Minor fix in Emacs manual's Glossary

* doc/emacs/glossary.texi (Glossary): Fix outdated text about
primary selection.  Reported by Gijs Hillenius
<gijs@hillenius.net> in emacs-manual-bugs@gnu.org.

6 years ago; Spelling fixes
Paul Eggert [Mon, 5 Mar 2018 01:09:52 +0000 (17:09 -0800)]
; Spelling fixes

6 years ago* lisp/progmodes/grep.el (zrgrep):
Juri Linkov [Sat, 3 Mar 2018 21:33:15 +0000 (23:33 +0200)]
* lisp/progmodes/grep.el (zrgrep):

Let-bind grep-use-null-filename-separator to nil (bug#30559).

6 years agoMinor copyedits in doc/emacs/text.texi
Eli Zaretskii [Sat, 3 Mar 2018 17:39:55 +0000 (19:39 +0200)]
Minor copyedits in doc/emacs/text.texi

* doc/emacs/text.texi (TeX Mode): Use @code for command markup.
(HTML Mode): Add a note about "C-x C-v" binding in HTML mode.

6 years agoRemove outdated comment in syntax.el
Eli Zaretskii [Sat, 3 Mar 2018 12:41:16 +0000 (14:41 +0200)]
Remove outdated comment in syntax.el

* lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Remove
outdated comment.  (Bug#30617)

6 years agoPrevent Flyspell from changing unrelated words
Eli Zaretskii [Sat, 3 Mar 2018 10:47:47 +0000 (12:47 +0200)]
Prevent Flyspell from changing unrelated words

* lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Avoid
using stale cached data from previous invocations of this command.
(Bug#30462)

6 years agoAvoid errors in flymake in builds --without-x
Eli Zaretskii [Sat, 3 Mar 2018 10:41:31 +0000 (12:41 +0200)]
Avoid errors in flymake in builds --without-x

* lisp/progmodes/flymake.el: Require 'mwheel'.  (Bug#28732)

6 years agoMore improvements of the Emacs manual
Eli Zaretskii [Sat, 3 Mar 2018 09:50:24 +0000 (11:50 +0200)]
More improvements of the Emacs manual

* doc/emacs/rmail.texi (Rmail Reply, Rmail Sorting): Improve
wording.  Suggested by Daniel Chakraborty
<danielmchakraborty@gmail.com>.

* doc/emacs/glossary.texi (Glossary): Add cross-references.
Improve and clarify wording.  Suggested by Gijs Hillenius
<gijs@hillenius.net> in emacs-manual-bugs@gnu.org.

* doc/emacs/text.texi (Org Authoring): Add more supported formats
to the list.
(TeX Print): Improve wording.  Slightly rearrange stuff.
(TeX Misc): Mention doctex-mode-hook.
(Two-Column): Minor rearrangement of text.  Suggested by Michael
Albinus <michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.

* doc/emacs/misc.texi (Saving Emacs Sessions):
* doc/emacs/programs.texi (Program Modes): Remove redundant text
and index entries.

6 years agoBackport: xref--next-error-function: Move xref's window point
Dmitry Gutov [Wed, 28 Feb 2018 02:03:16 +0000 (04:03 +0200)]
Backport: xref--next-error-function: Move xref's window point

* lisp/progmodes/xref.el (xref--next-error-function): Move
xref's window point if it's visible.  When we don't do that,
navigation can start looping after a while.

(cherry picked from commit 108ce84432d597f92637ea74bd0a094224d157de)

6 years ago; * lisp/wheel.el: Rearrange to match master, to reduce merge conflicts
Glenn Morris [Fri, 2 Mar 2018 20:05:16 +0000 (15:05 -0500)]
; * lisp/wheel.el: Rearrange to match master, to reduce merge conflicts

No need to merge to master.

6 years agomwheel minor consistency fix
Glenn Morris [Fri, 2 Mar 2018 19:53:06 +0000 (14:53 -0500)]
mwheel minor consistency fix

* lisp/mwheel.el (mwheel-scroll-left-function)
(mwheel-scroll-right-function):
Change from defcustom to defvar, for consistency with pre-existing.

6 years ago* src/window.c (Frecenter): Improve commentary.
Eli Zaretskii [Fri, 2 Mar 2018 09:24:24 +0000 (11:24 +0200)]
* src/window.c (Frecenter): Improve commentary.

6 years agoFix downloading non-text files in EWW
Eli Zaretskii [Fri, 2 Mar 2018 08:44:44 +0000 (10:44 +0200)]
Fix downloading non-text files in EWW

* lisp/net/eww.el (eww-download-callback): Bind
coding-system-for-read to 'no-conversion', to avoid any code- or
EOL-conversions in downloaded files.  (Bug#30664)

6 years ago; Spelling fixes
Paul Eggert [Fri, 2 Mar 2018 02:43:07 +0000 (18:43 -0800)]
; Spelling fixes

6 years ago; Spelling fixes
Paul Eggert [Fri, 2 Mar 2018 02:34:17 +0000 (18:34 -0800)]
; Spelling fixes

6 years agoRename some mwheel options, for consistency
Tak Kunihiro [Fri, 2 Mar 2018 01:44:22 +0000 (20:44 -0500)]
Rename some mwheel options, for consistency

* lisp/mwheel.el (mouse-wheel-tilt-scroll)
(mouse-wheel-flip-direction): Rename from mwheel-tilt-scroll-p,
mwheel-flip-direction.
(mwheel-scroll): Update for option renaming.
* doc/emacs/frames.texi (Mouse Commands):
Update for option renaming.

6 years ago* lisp/vc/add-log.el (add-change-log-entry): Replace obsolete alias.
Glenn Morris [Thu, 1 Mar 2018 22:48:21 +0000 (17:48 -0500)]
* lisp/vc/add-log.el (add-change-log-entry): Replace obsolete alias.

6 years agoImprove the Emacs manual
Eli Zaretskii [Thu, 1 Mar 2018 15:51:25 +0000 (17:51 +0200)]
Improve the Emacs manual

* doc/emacs/xresources.texi (Table of Resources): Mention that
some resources are ignored by toolkit builds.
* doc/emacs/custom.texi (Key Bindings): Improve indexing.
(Bug#30530)