]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 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.

6 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.

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

6 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.

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

6 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.

6 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.

6 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.

6 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

6 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.

6 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.

6 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'.

6 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)

6 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.

6 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)

6 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

6 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.

6 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)

6 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)

6 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.

6 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.

6 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>.

6 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.

6 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.

6 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.

6 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)'.

6 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)

6 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

6 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.

6 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

6 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.

6 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)

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

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

6 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.

6 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)

6 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.

6 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.

6 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.

6 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.

6 years ago; * ChangeLog.3: Update.
Nicolas Petton [Thu, 5 Apr 2018 09:27:04 +0000 (11:27 +0200)]
; * ChangeLog.3: Update.

6 years ago* lisp/emacs-lisp/inline.el: Clarify apparent typos
Stefan Monnier [Thu, 5 Apr 2018 01:15:36 +0000 (21:15 -0400)]
* lisp/emacs-lisp/inline.el: Clarify apparent typos

6 years ago; * lisp/auth-source.el (auth-sources): Update the :version tag.
Eli Zaretskii [Wed, 4 Apr 2018 19:16:09 +0000 (22:16 +0300)]
; * lisp/auth-source.el (auth-sources): Update the :version tag.

6 years agoAllow sexp customization type in auth-sources
Ted Zlatanov [Wed, 4 Apr 2018 18:14:27 +0000 (14:14 -0400)]
Allow sexp customization type in auth-sources

* lisp/auth-source.el (auth-sources): Allow sexp customization type.
Update the :version tag.

(cherry picked from commit 447da5b0d49b7aa14fa5d6969015770fdf9b9f92)

6 years ago; * lisp/ldefs-boot.el: Update.
Nicolas Petton [Tue, 3 Apr 2018 20:46:40 +0000 (22:46 +0200)]
; * lisp/ldefs-boot.el: Update.

6 years ago* etc/NEWS: Remove temporary markup.
Nicolas Petton [Tue, 3 Apr 2018 20:33:13 +0000 (22:33 +0200)]
* etc/NEWS: Remove temporary markup.

6 years ago* Update etc/AUTHORS
Nicolas Petton [Tue, 3 Apr 2018 13:00:12 +0000 (15:00 +0200)]
* Update etc/AUTHORS

6 years ago* ChangeLog.3: Update
Nicolas Petton [Tue, 3 Apr 2018 12:31:27 +0000 (14:31 +0200)]
* ChangeLog.3: Update

6 years agoFix Bug#31022
Michael Albinus [Tue, 3 Apr 2018 07:51:01 +0000 (09:51 +0200)]
Fix Bug#31022

* lisp/cus-start.el (temporary-file-directory): Suppress file name
handlers when calling `shell-command-to-string'.  (Bug#31022)

6 years agoUpdate "Calendrical Calculations" cites
Paul Eggert [Tue, 3 Apr 2018 05:42:26 +0000 (22:42 -0700)]
Update "Calendrical Calculations" cites

* lisp/calendar/calendar.el: Update citations to the book
"Calendrical Calculations" and its predecessors.

6 years ago; * doc/lispref/compile.texi (Compilation Functions): Fix wording.
Eli Zaretskii [Mon, 2 Apr 2018 17:25:52 +0000 (20:25 +0300)]
; * doc/lispref/compile.texi (Compilation Functions): Fix wording.

6 years ago; * doc/lispref/compile.texi (Compilation Functions): Fix typo
Tino Calancha [Mon, 2 Apr 2018 15:43:25 +0000 (00:43 +0900)]
; * doc/lispref/compile.texi (Compilation Functions): Fix typo

6 years agoFix term.el rendering following a window resize (Bug#30544)
Noam Postavsky [Mon, 2 Apr 2018 10:55:29 +0000 (06:55 -0400)]
Fix term.el rendering following a window resize (Bug#30544)

* lisp/term.el (term-reset-size): Reset cached row and column values
before changing point.

6 years ago* files.el (auto-save-visited-mode): Don't prompt for filenames.
Philipp Stephani [Sat, 31 Mar 2018 10:26:30 +0000 (12:26 +0200)]
* files.el (auto-save-visited-mode): Don't prompt for filenames.

6 years ago; * etc/NEWS: Improve the entry about pinentry.el removal.
Eli Zaretskii [Mon, 2 Apr 2018 05:59:27 +0000 (08:59 +0300)]
; * etc/NEWS: Improve the entry about pinentry.el removal.

6 years agoQuote a few backticks in docstrings.
Philipp Stephani [Sun, 1 Apr 2018 21:33:16 +0000 (23:33 +0200)]
Quote a few backticks in docstrings.

* lisp/emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*)
(macroexp-if): Quote backtick in docstrings.

6 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sun, 1 Apr 2018 10:25:39 +0000 (06:25 -0400)]
; Auto-commit of loaddefs files.

6 years agoMinor copyedits of completion-at-point-functions documentation
Eli Zaretskii [Sun, 1 Apr 2018 09:19:49 +0000 (12:19 +0300)]
Minor copyedits of completion-at-point-functions documentation

* lisp/minibuffer.el (completion-at-point-functions):
* doc/lispref/minibuf.texi (Completion in Buffers): Fix wording
and filling.

(cherry picked from commit a8ddd05d7d32946b892b9faaba6c9736ed2ad847)

6 years ago(completion-at-point-functions): Improve doc
Stefan Monnier [Tue, 27 Mar 2018 20:01:30 +0000 (16:01 -0400)]
(completion-at-point-functions): Improve doc

(cherry picked from commit b56c56f203f8b066dd71e6ae6a254121b3ac3f08)

6 years ago* lisp/net/shr.el (shr-browse-url): Doc fix. (Bug#30957)
Eli Zaretskii [Sun, 1 Apr 2018 09:09:54 +0000 (12:09 +0300)]
* lisp/net/shr.el (shr-browse-url): Doc fix.  (Bug#30957)

6 years ago; * doc/emacs/msdos.texi: Fix wording of last change.
Eli Zaretskii [Sat, 31 Mar 2018 08:16:05 +0000 (11:16 +0300)]
; * doc/emacs/msdos.texi: Fix wording of last change.

6 years agoMention `key-description' as inverse of `kbd' (Bug#30942)
Hong Xu [Sun, 25 Mar 2018 21:35:51 +0000 (14:35 -0700)]
Mention `key-description' as inverse of `kbd' (Bug#30942)

* lisp/subr.el (kbd): Add `key-description' as inverse of `kbd' in the
doc.

6 years agoDocument return value of pcase (Bug#30425)
Noam Postavsky [Sat, 31 Mar 2018 04:40:43 +0000 (00:40 -0400)]
Document return value of pcase (Bug#30425)

* doc/lispref/control.texi (Pattern matching case statement):
* lisp/emacs-lisp/pcase.el (pcase): State that pcase returns nil if no
patterns match.
(pcase-exhaustive): State that an error is signaled if no patterns
match.

6 years ago* doc/emacs/macos.texi: Tweak grammar and capitalization.
Paul Eggert [Sat, 31 Mar 2018 02:07:48 +0000 (19:07 -0700)]
* doc/emacs/macos.texi: Tweak grammar and capitalization.

6 years agoDistinguish free from non-free OSes
Richard Stallman [Sat, 31 Mar 2018 02:05:22 +0000 (19:05 -0700)]
Distinguish free from non-free OSes

6 years ago* doc/emacs/misc.texi (Amusements): Avoid non-printing character.
Glenn Morris [Wed, 28 Mar 2018 19:00:58 +0000 (15:00 -0400)]
* doc/emacs/misc.texi (Amusements): Avoid non-printing character.

; Hey fellow kids, remember that gag from 2008?  Emacs does.

6 years agoFix xrefs in pdf Emacs manual
Glenn Morris [Wed, 28 Mar 2018 18:20:57 +0000 (14:20 -0400)]
Fix xrefs in pdf Emacs manual

* doc/emacs/fortran-xtra.texi (ForIndent Cont, ForIndent Num)
(Fortran Columns):
* doc/emacs/picture-xtra.texi (Rectangles in Picture):
Fix recent changes that neglected the splitting of the pdf manuals.

6 years ago* doc/misc/org.texi (Installation): Fix clone commands.
Michael Albinus [Wed, 28 Mar 2018 08:38:26 +0000 (10:38 +0200)]
* doc/misc/org.texi (Installation): Fix clone commands.

6 years agoUpdate Org to v9.1.9
Rasmus [Tue, 27 Mar 2018 21:34:41 +0000 (23:34 +0200)]
Update Org to v9.1.9

Please note this is a bugfix release. See etc/ORG-NEWS for details.

6 years ago; Fix some tiny doc typos
Glenn Morris [Tue, 27 Mar 2018 21:02:04 +0000 (17:02 -0400)]
; Fix some tiny doc typos

6 years agoDe-obsolete `if-let' and `when-let'
Michael Heerdegen [Sat, 10 Mar 2018 15:39:41 +0000 (16:39 +0100)]
De-obsolete `if-let' and `when-let'

For the following release it is planned to make `if-let*' and
`when-let*' aliases for `if-let' and `when-let'.  For now we revert
declaring `if-let' and `when-let' obsolete and tweak the docstrings.

* lisp/emacs-lisp/subr-x.el (if-let*, when-let*): Make docstrings
refer to those of `if-let' and `when-let'.
(if-let, when-let): De-obsolete.  Rewrite documentation.

6 years ago* lisp/htmlfontify.el (hfy-begin-span-handler): Doc fix.
Glenn Morris [Mon, 26 Mar 2018 20:12:51 +0000 (16:12 -0400)]
* lisp/htmlfontify.el (hfy-begin-span-handler): Doc fix.

6 years ago* doc/lispref/functions.texi (Defining Functions): Improve indexing.
Eli Zaretskii [Mon, 26 Mar 2018 15:58:20 +0000 (18:58 +0300)]
* doc/lispref/functions.texi (Defining Functions): Improve indexing.

6 years agoFix crash after frame is freed on macOS (bug#30800)
Aaron Jensen [Thu, 22 Mar 2018 05:30:08 +0000 (22:30 -0700)]
Fix crash after frame is freed on macOS (bug#30800)

* src/nsterm.m (x_free_frame_resources): Clear represented_frame.
(bug#30800)

6 years agoMore manual editing
Michael Albinus [Sun, 25 Mar 2018 13:15:20 +0000 (15:15 +0200)]
More manual editing

* doc/emacs/basic.texi:
* doc/emacs/calendar.texi:
* doc/emacs/display.texi:
* doc/emacs/mini.texi:
* doc/emacs/misc.texi:
* doc/emacs/picture-xtra.texi:
* doc/misc/info.texi: Prefer <PageDown> and <PageUp> over
<next> and <prior>.  Add missing @kindex entries.

* doc/emacs/custom.texi (Function Keys): Fix and add missing
key symbols.

6 years agoMinor manual changes changes
Michael Albinus [Sun, 25 Mar 2018 10:18:09 +0000 (12:18 +0200)]
Minor manual changes changes

* doc/emacs/misc.texi (FFAP): Complete commands.
(Amusements): Add some @cindex entries.  Add "M-x butterfly".

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.