]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 years agoQuieten without-x lisp compilation
Glenn Morris [Mon, 26 Feb 2018 21:59:42 +0000 (16:59 -0500)]
Quieten without-x lisp compilation

* lisp/international/fontset.el (fontset-alias-alist):
* lisp/term/ns-win.el (mouse-wheel-scroll-amount)
(mouse-wheel-progressive-speed): Declare for without-x builds.

6 years ago* lisp/net/rcirc.el (rcirc-prompt-start-marker): Define before using.
Glenn Morris [Mon, 26 Feb 2018 20:41:02 +0000 (15:41 -0500)]
* lisp/net/rcirc.el (rcirc-prompt-start-marker): Define before using.

6 years ago* lisp/term/ns-win.el (ns-version-string): Declare for non-ns builds.
Glenn Morris [Mon, 26 Feb 2018 20:40:02 +0000 (15:40 -0500)]
* lisp/term/ns-win.el (ns-version-string): Declare for non-ns builds.

6 years agoRemove compiler warnings due to #'
Glenn Morris [Mon, 26 Feb 2018 18:51:01 +0000 (13:51 -0500)]
Remove compiler warnings due to #'

* lisp/gnus/mm-decode.el (mm-convert-shr-links):
* lisp/ps-print.el (ps-print-region-function):
Remove compiler warnings due to #'.

6 years agoUpdate some lisp function declarations
Glenn Morris [Mon, 26 Feb 2018 18:35:30 +0000 (13:35 -0500)]
Update some lisp function declarations

6 years agoMake bare "make" in src actually build emacs again
Daniel Colascione [Mon, 26 Feb 2018 17:18:02 +0000 (09:18 -0800)]
Make bare "make" in src actually build emacs again

* src/Makefile.in (all): Move target ahead of dep-file inclusion.

6 years agoUpdate from gnulib
Paul Eggert [Mon, 26 Feb 2018 16:57:44 +0000 (08:57 -0800)]
Update from gnulib

* build-aux/config.guess, build-aux/config.sub: Copy from gnulib.

6 years agoMerge from origin/emacs-26
Glenn Morris [Sat, 24 Feb 2018 17:44:13 +0000 (09:44 -0800)]
Merge from origin/emacs-26

560a23e (origin/emacs-26) Document reserved keys
b0be19b ; * doc/emacs/xresources.texi (Table of Resources): Fix last ...

6 years agoDocument reserved keys
Eli Zaretskii [Sat, 24 Feb 2018 17:39:16 +0000 (19:39 +0200)]
Document reserved keys

* doc/emacs/custom.texi (Key Bindings): Mention keys reserved for
users.  (Bug#30530)

6 years ago; * doc/emacs/xresources.texi (Table of Resources): Fix last change.
Eli Zaretskii [Sat, 24 Feb 2018 16:07:28 +0000 (18:07 +0200)]
; * doc/emacs/xresources.texi (Table of Resources): Fix last change.

6 years agoMerge from origin/emacs-26
Glenn Morris [Sat, 24 Feb 2018 15:50:30 +0000 (07:50 -0800)]
Merge from origin/emacs-26

7e7f2ea (origin/emacs-26) * src/keyboard.c (syms_of_keyboard): Doc fi...
c0676d4 Improve documentation of X resources
d806d69 ; Use @minus for negative numbers in some texi files
4a8ea7d * lisp/international/mule.el (keyboard-coding-system): Doc fix.
8a73b80 Minor doc fixes, mostly for timestamp issues
361a8b9 * doc/emacs/mini.texi (Completion Styles): Improve indexing.
2dc24d5 Fix @findex and @vindex entries in manuals
76f5242 Document, in the Elisp manual, how to get a character's raw s...
5fb2957 Improvements in the Emacs manual
de17b8e Tiny doc/misc markup fixes

6 years agoDescribe 'view-lossage' changes in its docstring and NEWS
Robert Pluim [Sat, 24 Feb 2018 11:15:42 +0000 (13:15 +0200)]
Describe 'view-lossage' changes in its docstring and NEWS

* lisp/help.el (view-lossage): Mention that this now uses the same
format as `edit-last-kbd-macro'.  (Bug#30560)

* etc/NEWS: Improve the wording of the entry.

6 years ago* src/keyboard.c (syms_of_keyboard): Doc fix. (Bug#30588)
Eli Zaretskii [Sat, 24 Feb 2018 09:30:02 +0000 (11:30 +0200)]
* src/keyboard.c (syms_of_keyboard): Doc fix.  (Bug#30588)

6 years agoImprove documentation of X resources
Eli Zaretskii [Sat, 24 Feb 2018 09:14:10 +0000 (11:14 +0200)]
Improve documentation of X resources

* doc/emacs/xresources.texi (Table of Resources): Add menu-related
resources.  Add cross-references to "GTK Resources".

6 years ago; Use @minus for negative numbers in some texi files
Glenn Morris [Fri, 23 Feb 2018 21:00:44 +0000 (16:00 -0500)]
; Use @minus for negative numbers in some texi files

6 years ago* lisp/international/mule.el (keyboard-coding-system): Doc fix.
Glenn Morris [Fri, 23 Feb 2018 20:41:29 +0000 (15:41 -0500)]
* lisp/international/mule.el (keyboard-coding-system): Doc fix.

Since multi-tty, this is always set.

6 years ago* .gitignore: revert latest change; not currently needed
Paul Eggert [Fri, 23 Feb 2018 19:57:52 +0000 (11:57 -0800)]
* .gitignore: revert latest change; not currently needed

6 years agoMinor doc fixes, mostly for timestamp issues
Paul Eggert [Fri, 23 Feb 2018 19:51:31 +0000 (11:51 -0800)]
Minor doc fixes, mostly for timestamp issues

6 years ago* lisp/vc/vc-git.el: Silence compiler.
Glenn Morris [Fri, 23 Feb 2018 19:14:58 +0000 (14:14 -0500)]
* lisp/vc/vc-git.el: Silence compiler.

6 years ago* admin/automerge: Quieten initial pull if start with reset.
Glenn Morris [Fri, 23 Feb 2018 17:52:11 +0000 (12:52 -0500)]
* admin/automerge: Quieten initial pull if start with reset.

6 years ago* doc/emacs/mini.texi (Completion Styles): Improve indexing.
Eli Zaretskii [Fri, 23 Feb 2018 15:39:23 +0000 (17:39 +0200)]
* doc/emacs/mini.texi (Completion Styles): Improve indexing.

6 years agoFix @findex and @vindex entries in manuals
Michael Albinus [Fri, 23 Feb 2018 14:30:19 +0000 (15:30 +0100)]
Fix @findex and @vindex entries in manuals

* doc/emacs/building.texi:
* doc/emacs/calendar.texi:
* doc/emacs/cmdargs.texi:
* doc/emacs/mini.texi:
* doc/emacs/misc.texi:
* doc/emacs/trouble.texi:
* doc/emacs/windows.texi:
* doc/lispintro/emacs-lisp-intro.texi:
* doc/lispref/edebug.texi:
* doc/lispref/frames.texi:
* doc/lispref/os.texi:
* doc/lispref/windows.texi:
* doc/misc/cc-mode.texi:
* doc/misc/dired-x.texi:
* doc/misc/ediff.texi:
* doc/misc/mh-e.texi:
* doc/misc/pcl-cvs.texi:
* doc/misc/reftex.texi:
* doc/misc/sc.texi:
* doc/misc/vhdl-mode.texi:
* doc/misc/viper.texi: Fix @findex and @vindex entries.

6 years agoFix documentation from recent changes
Eli Zaretskii [Fri, 23 Feb 2018 06:54:28 +0000 (08:54 +0200)]
Fix documentation from recent changes

* lisp/isearch.el (isearch-yank-symbol-or-char): Doc fix.

* doc/emacs/search.texi (Isearch Yank): Fix wording.
* doc/emacs/building.texi (Grep Searching): Fix last change.

6 years agoAdd more build outputs to .gitignore
Daniel Colascione [Fri, 23 Feb 2018 01:45:01 +0000 (17:45 -0800)]
Add more build outputs to .gitignore

* .gitignore: Add more generated files

6 years agoAdd isearch-yank-symbol-or-char
Daniel Colascione [Fri, 23 Feb 2018 01:42:48 +0000 (17:42 -0800)]
Add isearch-yank-symbol-or-char

* doc/emacs/search.texi (Isearch Yank): Document new
function, keybindings.

* etc/NEWS: Mention isearch changes.

* lisp/isearch.el (isearch--yank-char-or-syntax): New function.
(isearch-yank-word-or-char): Call it.
(isearch-yank-symbol-or-char): New function.
(isearch-mode-map): Change 'C-M-w' binding from
'isearch-del-char' to isearch-yank-symbol-or-char; add 'C-M-d'
binding for 'isearch-del-char'.

6 years agoRemove unnecessary explicit subword-mode use from isearch
Daniel Colascione [Fri, 23 Feb 2018 01:28:38 +0000 (17:28 -0800)]
Remove unnecessary explicit subword-mode use from isearch

* lisp/isearch.el (isearch-yank-word-or-char): Remove explicit
use of subword-mode. These days, subword-mode use is an
automatic side effect of forward-word.

6 years ago* lisp/vc/vc-git.el: Avoid bootstrap errors since recent grep change.
Glenn Morris [Fri, 23 Feb 2018 01:47:26 +0000 (20:47 -0500)]
* lisp/vc/vc-git.el: Avoid bootstrap errors since recent grep change.

The introduction of grep-find-hide-properties caused an
"invalid read syntax" failure when saving ja-dic.el,
when vc-git.el loaded grep.el.  Fortunately, vc-git doesn't
actually need to load grep when being compiled.

6 years ago* test/lisp/emacs-lisp/package-tests.el: Improve signature tests
Stefan Monnier [Thu, 22 Feb 2018 21:59:30 +0000 (16:59 -0500)]
* test/lisp/emacs-lisp/package-tests.el: Improve signature tests

(package-test-signed): Don't rely on return value of 'package-install'.
Make sure 'package-install' does indeed install the package.

6 years ago* lisp/help.el (view-lossage): Use the same format as in edit-last-kbd-macro.
Juri Linkov [Thu, 22 Feb 2018 21:59:32 +0000 (23:59 +0200)]
* lisp/help.el (view-lossage): Use the same format as in edit-last-kbd-macro.

Call comment-indent with let-bound comment-start and comment-column.
(Bug#30560)

6 years ago* lisp/progmodes/grep.el (grep-find-hide): New defcustom (bug#30503).
Juri Linkov [Thu, 22 Feb 2018 21:51:41 +0000 (23:51 +0200)]
* lisp/progmodes/grep.el (grep-find-hide): New defcustom (bug#30503).

(grep-find-hide-properties): New variable.
(grep-mode-font-lock-keywords): Put grep-find-hide-properties
on part of grep command line.
(grep-find-show): New function.
* doc/emacs/building.texi (Grep Searching): Document grep-find-hide.

6 years agoDocument, in the Elisp manual, how to get a character's raw syntax descriptor
Alan Mackenzie [Thu, 22 Feb 2018 18:21:47 +0000 (18:21 +0000)]
Document, in the Elisp manual, how to get a character's raw syntax descriptor

* doc/lispref/syntax.texi (Syntax Table internals): mention the use of `aref'
to get a character's raw syntax descriptor.

6 years agoImprovements in the Emacs manual
Eli Zaretskii [Thu, 22 Feb 2018 18:27:24 +0000 (20:27 +0200)]
Improvements in the Emacs manual

* doc/emacs/custom.texi (Customization Groups)
(Changing a Variable, Browsing Custom, Customizing Faces): Fix
markup of keys.
(Changing a Variable, Saving Customizations): Update the
description of buttons in the Custom buffer.
(Face Customization): More accurate description.
(Specific Customization, Examining, Locals): Add blank lines in
the @table.  Reported by Michael Albinus <michael.albinus@gmx.de>
in emacs-manual-bugs@gnu.org.

6 years agoTiny doc/misc markup fixes
Glenn Morris [Thu, 22 Feb 2018 17:42:13 +0000 (12:42 -0500)]
Tiny doc/misc markup fixes

* doc/misc/ediff.texi (Patch and Diff Programs):
* doc/misc/viper.texi (File and Buffer Handling): Fix markup typos.

6 years agoMerge from origin/emacs-26
Glenn Morris [Thu, 22 Feb 2018 17:27:21 +0000 (09:27 -0800)]
Merge from origin/emacs-26

83187cd (origin/emacs-26) Skip mouse-face overlap check when mouse-fa...
a6d8f2b Fix capitalization of "Mail-Followup-To"
f9640f9 * lisp/progmodes/grep.el (grep-compute-defaults):
3a26c8a Semantic manual fixes
106a9f6 More improvements in the Emacs manual
244db85 * doc/misc/viper.texi (File and Buffer Handling): Add missing...
f0d6a16 Fix documentation of 'x-underline-at-descent-line'
69a8f45 * lisp/textmodes/flyspell.el (flyspell-get-word): Doc fix.
05214c6 Correct variable markup in manuals
355c644 Improve the "Sending Mail" chapter of Emacs manual

Conflicts:
src/nsterm.m
src/w32term.c

6 years agoFix for: "25.0.50; auto-revert-mode breaks git rebase" (Bug#21559)
Alexei Khlebnikov [Thu, 22 Feb 2018 11:21:49 +0000 (12:21 +0100)]
Fix for: "25.0.50; auto-revert-mode breaks git rebase" (Bug#21559)

* lisp/autorevert.el (auto-revert-handler):
Set "revert-buffer-in-progress-p" flag before calling
"vc-refresh-state".

* lisp/vc/vc-git.el (vc-git-command):
If "revert-buffer-in-progress-p" flag is set, prepend
"GIT_OPTIONAL_LOCKS=0" to "process-environment".  (Bug#21559)

6 years agoFix Bug#30533
Michael Albinus [Thu, 22 Feb 2018 10:49:07 +0000 (11:49 +0100)]
Fix Bug#30533

* lisp/net/ange-ftp.el (ange-ftp-file-regular-p)
(ange-ftp-real-file-regular-p): New defuns.  (Bug#30533)

6 years agoSkip mouse-face overlap check when mouse-face is hidden (Bug#30519)
Martin Rudalics [Thu, 22 Feb 2018 07:50:47 +0000 (08:50 +0100)]
Skip mouse-face overlap check when mouse-face is hidden (Bug#30519)

* src/xdisp.c (note_mouse_highlight): Skip check whether
mouse-face highlighting overlay overlaps other mouse-face
overlays when mouse-face highlighting is hidden (Bug#30519).

6 years agoFix capitalization of "Mail-Followup-To"
Eli Zaretskii [Thu, 22 Feb 2018 07:37:00 +0000 (09:37 +0200)]
Fix capitalization of "Mail-Followup-To"

* doc/emacs/sending.texi (Header Editing, Mail Headers):
Standardize on "Mail-Followup-To" as the capitalization.

6 years ago* admin/automerge (merge): Report no. of commits if too few.
Glenn Morris [Thu, 22 Feb 2018 02:00:23 +0000 (21:00 -0500)]
* admin/automerge (merge): Report no. of commits if too few.

6 years agoSpeed up parallel make check by testing slower files first
Glenn Morris [Thu, 22 Feb 2018 01:49:40 +0000 (20:49 -0500)]
Speed up parallel make check by testing slower files first

* test/Makefile.in (SLOW_TESTS): New variable.
(ELFILES): Move slow tests to the front.

6 years ago* admin/automerge: Speed up check phase.
Glenn Morris [Thu, 22 Feb 2018 01:44:37 +0000 (20:44 -0500)]
* admin/automerge: Speed up check phase.

6 years ago* lisp/simple.el (next-error-find-buffer-function): New defcustom.
Juri Linkov [Wed, 21 Feb 2018 21:30:18 +0000 (23:30 +0200)]
* lisp/simple.el (next-error-find-buffer-function): New defcustom.

(next-error-last-buffer): Make variable buffer-local.
(next-error-buffer-on-selected-frame): New function.
(next-error-find-buffer): Use next-error-find-buffer-function
at the first step instead of ad-hoc logic of using one window
on the selected frame.
(next-error, next-error-internal): Set default value of
next-error-last-buffer.  Display message with the name of last
next-error buffer.
(next-error-select-buffer): New command.
(Bug#20489)

6 years ago* lisp/vc/vc-dispatcher.el (vc-do-command): Bind message-truncate-lines to t
Juri Linkov [Wed, 21 Feb 2018 20:37:33 +0000 (22:37 +0200)]
* lisp/vc/vc-dispatcher.el (vc-do-command): Bind message-truncate-lines to t

to keep entire commands in *Messages* but avoid resizing the echo area.
Rephrase messages in a such way that the important parts are
at the beginning.  (Bug#19045)

6 years ago* lisp/progmodes/grep.el (grep-compute-defaults):
Juri Linkov [Wed, 21 Feb 2018 20:30:29 +0000 (22:30 +0200)]
* lisp/progmodes/grep.el (grep-compute-defaults):

Add grep-use-null-filename-separator to grep-host-defaults-alist.
(Bug#30559)

6 years agoSemantic manual fixes
Charles A. Roelli [Wed, 21 Feb 2018 19:13:01 +0000 (20:13 +0100)]
Semantic manual fixes

* doc/misc/semantic.texi (Tools): Fix wording and grammar, and
remove a reference to "document-vars.el" which, in the Emacs
repository, is part of lisp/cedet/srecode/document.el.

6 years agoMore improvements in the Emacs manual
Eli Zaretskii [Wed, 21 Feb 2018 18:32:11 +0000 (20:32 +0200)]
More improvements in the Emacs manual

* doc/emacs/help.texi (Misc Help):
* doc/emacs/m-x.texi (M-x):
* doc/emacs/mini.texi (Minibuffer File, Repetition): Prevent
breaking of command sequences between lines.  Reported by Wojciech
Politarczyk <w.politarczyk@gmail.com> in emacs-manual-bugs@gnu.org.

* doc/emacs/sending.texi (Header Editing): Fix capitalization.

6 years agoAnother fix for cross-references
Eli Zaretskii [Wed, 21 Feb 2018 18:11:22 +0000 (20:11 +0200)]
Another fix for cross-references

* doc/emacs/package.texi (Package Installation): Fix references to
"Early Init".  (Bug#30552)

6 years ago* doc/misc/viper.texi (File and Buffer Handling): Add missing '@'
tino calancha [Wed, 21 Feb 2018 10:41:16 +0000 (19:41 +0900)]
* doc/misc/viper.texi (File and Buffer Handling): Add missing '@'

6 years agoFix documentation of 'x-underline-at-descent-line'
Eli Zaretskii [Wed, 21 Feb 2018 04:20:58 +0000 (06:20 +0200)]
Fix documentation of 'x-underline-at-descent-line'

* doc/emacs/display.texi (Display Custom):
* src/nsterm.m (syms_of_nsterm):
* src/xterm.c (syms_of_xterm):
* src/w32term.c (syms_of_w32term): Mention the effect of
'line-spacing' on the underline position.  (Bug#30553)

6 years ago* lisp/textmodes/flyspell.el (flyspell-get-word): Doc fix.
Glenn Morris [Wed, 21 Feb 2018 01:31:30 +0000 (20:31 -0500)]
* lisp/textmodes/flyspell.el (flyspell-get-word): Doc fix.

6 years agoPort recent MAX_RW_COUNT checks to POSIX
Paul Eggert [Tue, 20 Feb 2018 21:42:20 +0000 (13:42 -0800)]
Port recent MAX_RW_COUNT checks to POSIX

* src/sysdep.c (MAX_RW_COUNT): Verify that it fits in POSIX standard
types, to go along with already-existing checks for MS-Windows types.
(emacs_intr_read): eassert on all platforms, not just MS-Windows.

6 years agoUpdate from gnulib
Paul Eggert [Tue, 20 Feb 2018 21:42:19 +0000 (13:42 -0800)]
Update from gnulib

This includes:
2018-02-18 warnings: Add support for Objective C
2018-02-03 stdlib: Fix compilation error on OpenIndiana
* lib/gnulib.mk.in: Regenerate.
* lib/stdlib.in.h, m4/getloadavg.m4, m4/stdlib_h.m4, m4/warnings.m4:
Copy from gnulib.

6 years agocommand-history-mode inherits from special-mode
Sam Steingold [Tue, 20 Feb 2018 20:30:51 +0000 (15:30 -0500)]
command-history-mode inherits from special-mode

(command-history-mode-map): Add `special-mode-map' to parents.
(command-history-mode): Parent is `special-mode', not
`fundamental-mode', set `revert-buffer-function'.
(command-history-revert): Define for `revert-buffer-function'.

6 years agoFix reference in Emacs manual
Eli Zaretskii [Tue, 20 Feb 2018 19:25:52 +0000 (21:25 +0200)]
Fix reference in Emacs manual

* doc/emacs/custom.texi (Early Init File): Fix reference to ELisp
manual.  (Bug#30552)

6 years agoCorrect variable markup in manuals
Robert Pluim [Tue, 20 Feb 2018 19:15:19 +0000 (21:15 +0200)]
Correct variable markup in manuals

* doc/lispref/minibuf.texi (Completion in Buffers): Fix markup.
* doc/lispref/text.texi (Filling): Likewise.
* doc/misc/dired-x.texi (Advanced Mark Commands): Likewise.
* doc/misc/epa.texi (Encrypting/decrypting gpg files): Likewise.
(Encrypting/decrypting gpg files): Likewise.
* doc/misc/tramp.texi (External methods): Likewise.
(Default Method): Likewise.
* doc/misc/viper.texi (Editing in Insert State): Likewise.
(File and Buffer Handling): Likewise.
* doc/misc/gnus.texi (Mail Source Customization): Likewise.
* doc/misc/url.texi (Customization): Likewise.  Note obsolete
status of url-temporary-directory.

6 years agoImprove the "Sending Mail" chapter of Emacs manual
Eli Zaretskii [Tue, 20 Feb 2018 19:13:29 +0000 (21:13 +0200)]
Improve the "Sending Mail" chapter of Emacs manual

* doc/emacs/sending.texi (Mail Format, Header Editing)
(Mail Aliases): Fix capitalization of mail headers.
(Mail Aliases): Use ~/.mailrc consistently.
(Mail Misc): More accurate description of disposition.  Suggested
by Michael Albinus <michael.albinus@gmx.de> in
emacs-manual-bugs@gnu.org.

6 years agoFix false alarm with recent GCC x86
Paul Eggert [Tue, 20 Feb 2018 17:15:27 +0000 (09:15 -0800)]
Fix false alarm with recent GCC x86

* src/lread.c (Fload): Use UNINIT to pacify -Wmaybe-uninitialized
false alarm on Fedora 27 x86 with GCC 7.3.1 20180130 (Red Hat 7.3.1-2).

6 years agons_appsrc is not disjoint with srcdir/ns_appsrc
Sam Steingold [Tue, 20 Feb 2018 16:18:24 +0000 (11:18 -0500)]
ns_appsrc is not disjoint with srcdir/ns_appsrc

(links): Avoid "file already exists" errors
by removing the existing file.

6 years agoMerge from origin/emacs-26
Glenn Morris [Tue, 20 Feb 2018 15:50:29 +0000 (07:50 -0800)]
Merge from origin/emacs-26

226aca3 (origin/emacs-26) Fix documentation of 'flyspell-auto-correct...
a8c8434 * doc/emacs/misc.texi (Saving Emacs Sessions): Fix markup.
275e735 More changes in the Emacs manuals
d962be5 More fixes in the Emacs manual
6dc2846 * src/data.c (Faref): Fix a typo in the doc string.  (Bug#30510)
36e729f Minor edit in tramp.texi
6537f99 ; Fix oversight from last commit
eb94588 ; * doc/emacs/maintaining.texi: Fix two typos.
258135f More improvements in the Emacs manual
f138bca Improve documentation of 'electric-pair-mode'
f74ab96 ; Spelling and grammar fixes.
42f9dc4 ; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): ...

6 years agoFix documentation of 'flyspell-auto-correct-word'
Eli Zaretskii [Tue, 20 Feb 2018 04:22:57 +0000 (06:22 +0200)]
Fix documentation of 'flyspell-auto-correct-word'

* lisp/textmodes/flyspell.el (flyspell-get-word): Elaborate in the
doc string on how the function looks for the word to spell-check.
(flyspell-word, flyspell-auto-correct-word): Refer to
'flyspell-get-word' for details about finding the word.
(Bug#30462)

6 years agoAdd assertion to guard 'read' calls on MS-Windows
Eli Zaretskii [Tue, 20 Feb 2018 03:58:58 +0000 (05:58 +0200)]
Add assertion to guard 'read' calls on MS-Windows

* src/sysdep.c (emacs_intr_read): Assert that NBYTES never
overflows a 32-bit int.

6 years agoAdd ".xpi" to Tramp file archives
Michael Albinus [Mon, 19 Feb 2018 18:44:57 +0000 (19:44 +0100)]
Add ".xpi" to Tramp file archives

* doc/misc/tramp.texi (Archive file names):
* tramp-archive.el (tramp-archive-suffixes): Add ".xpi".

6 years ago; Add changes in tramp.texi which were conflicted in merge from emacs-26
Michael Albinus [Mon, 19 Feb 2018 18:41:15 +0000 (19:41 +0100)]
; Add changes in tramp.texi which were conflicted in merge from emacs-26

6 years ago* doc/emacs/misc.texi (Saving Emacs Sessions): Fix markup.
Robert Pluim [Mon, 19 Feb 2018 16:16:15 +0000 (18:16 +0200)]
* doc/emacs/misc.texi (Saving Emacs Sessions): Fix markup.

6 years agoMore changes in the Emacs manuals
Eli Zaretskii [Mon, 19 Feb 2018 16:14:08 +0000 (18:14 +0200)]
More changes in the Emacs manuals

* doc/emacs/custom.texi (Customization Groups, Browsing Custom)
(Custom Themes, Keymaps, Prefix Keymaps, Modifier Keys)
(Function Keys, Named ASCII Chars, Mouse Buttons, Init Examples):
Fix punctuation.  Suggested by Stefan Kamphausen
<stefan.kamphausen@acrolinx.com> in emacs-manual-bugs@gnu.org.

* doc/emacs/basic.texi (Arguments, Repeating): Avoid breaking
commands between lines.  Reported by Wojciech Politarczyk
<w.politarczyk@gmail.com> in emacs-manual-bugs@gnu.org.

* doc/emacs/custom.texi (Init Rebinding): Move index entries about
rebinding keys from "Init File".  (Bug#30528)

6 years agoMore fixes in the Emacs manual
Eli Zaretskii [Sun, 18 Feb 2018 18:52:21 +0000 (20:52 +0200)]
More fixes in the Emacs manual

* doc/emacs/abbrevs.texi (Defining Abbrevs, Expanding Abbrevs)
(Editing Abbrevs, Saving Abbrevs): Insert blank lines between
@item's.
(Expanding Abbrevs): Add 'unexpand-abbrev' to the list of
commands.  Suggested by Michael Albinus <michael.albinus@gmx.de>
in emacs-manual-bugs@gnu.org.

6 years ago* lisp/progmodes/elisp-mode.el (eval-sexp-add-defvars): Don't macroexpand.
Stefan Monnier [Sun, 18 Feb 2018 18:02:29 +0000 (13:02 -0500)]
* lisp/progmodes/elisp-mode.el (eval-sexp-add-defvars): Don't macroexpand.

Otherwise it breaks C-M-x on (progn (defmacro x ..) (... (x ...))).
Furthermore, many callers do their own macroexpansion anyway.
(elisp--eval-last-sexp): Do macroexpansion to make up for it.

6 years ago* src/data.c (Faref): Fix a typo in the doc string. (Bug#30510)
Eli Zaretskii [Sun, 18 Feb 2018 16:36:11 +0000 (18:36 +0200)]
* src/data.c (Faref): Fix a typo in the doc string.  (Bug#30510)

6 years agoMinor edit in tramp.texi
Michael Albinus [Sun, 18 Feb 2018 09:52:30 +0000 (10:52 +0100)]
Minor edit in tramp.texi

* doc/misc/tramp.texi (Remote shell setup, Windows setup hints):
Improve @cindex entries.

6 years ago* lisp/vc/diff-mode.el (diff-wiggle): New command.
Stefan Monnier [Sun, 18 Feb 2018 05:47:00 +0000 (00:47 -0500)]
* lisp/vc/diff-mode.el (diff-wiggle): New command.

6 years ago* lisp/startup.el (load-user-init-file): Use condition-case-unless-debug.
Stefan Monnier [Sun, 18 Feb 2018 04:44:56 +0000 (23:44 -0500)]
* lisp/startup.el (load-user-init-file): Use condition-case-unless-debug.

(argv, argi): Silence compiler warning.

6 years ago* lisp/calendar/icalendar.el: Fix compilation warnings
Stefan Monnier [Sat, 17 Feb 2018 22:42:29 +0000 (17:42 -0500)]
* lisp/calendar/icalendar.el: Fix compilation warnings

(icalendar-export-region): Remove unused vars 'start', 'sum', and
'contents-n-summary'.
(icalendar--parse-summary-and-rest): Remove unused var 'pos-sum' and 'sum'.
(icalendar--convert-float-to-ical): Use calendar-let* to bind vars
'date' and 'entry'.
(icalendar--convert-non-recurring-all-day-to-diary):
Remove 'event' arg.  Update callers.
(icalendar--convert-non-recurring-not-all-day-to-diary): Remove 'event'
and 'dtend-dec' args.  Update callers.

6 years ago; Fix oversight from last commit
Michael Albinus [Sat, 17 Feb 2018 18:43:13 +0000 (19:43 +0100)]
; Fix oversight from last commit

* doc/emacs/maintaining.texi (Select Tags Table): Use proper
"~/.emacs.d" directory.

6 years ago* doc/lispref/package.texi (Packaging Basics): Fix xref.
Glenn Morris [Sat, 17 Feb 2018 17:58:33 +0000 (09:58 -0800)]
* doc/lispref/package.texi (Packaging Basics): Fix xref.

6 years ago; * doc/emacs/maintaining.texi: Fix two typos.
Eli Zaretskii [Sat, 17 Feb 2018 17:52:50 +0000 (19:52 +0200)]
; * doc/emacs/maintaining.texi: Fix two typos.

6 years agoMore improvements in the Emacs manual
Eli Zaretskii [Sat, 17 Feb 2018 17:48:23 +0000 (19:48 +0200)]
More improvements in the Emacs manual

* doc/emacs/maintaining.texi (Xref Commands, Identifier Search)
(List Identifiers): Insert blank lines between @item's in a
@table.
(Etags Regexps): More accurate description of escape sequences.
(Select Tags Table): Prefer "~/emacs.d/init.el" to "~/.emacs".
Suggested by Michael Albinus <michael.albinus@gmx.de> in
emacs-manual-bugs@gnu.org.

6 years agoImprove documentation of 'electric-pair-mode'
Eli Zaretskii [Sat, 17 Feb 2018 17:28:01 +0000 (19:28 +0200)]
Improve documentation of 'electric-pair-mode'

* lisp/elec-pair.el (electric-pair-mode):
* doc/emacs/programs.texi (Matching): Document the operation of
electric-pair-mode when there's an active region.  (Bug#30502)

6 years ago; Spelling and grammar fixes.
Paul Eggert [Sat, 17 Feb 2018 17:16:44 +0000 (09:16 -0800)]
; Spelling and grammar fixes.

6 years ago; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Fix a typo.
Eli Zaretskii [Sat, 17 Feb 2018 16:12:23 +0000 (18:12 +0200)]
; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Fix a typo.

6 years agoMerge from origin/emacs-26
Glenn Morris [Sat, 17 Feb 2018 15:50:28 +0000 (07:50 -0800)]
Merge from origin/emacs-26

e5a2933 (origin/emacs-26) lisp/vc/: documentation fixes
f21f8e6 Document 'desktop-files-not-to-save'
d8917eb Improve documentation of Profiling features
b228839 Improve indexing of "performance" in ELisp manual
ab67b3e Minor change in Emacs manual's VC chapter
c352434 Avoid memory corruption with specpdl overflow + edebug (Bug#3...
593bbda Document comment-fill-column in the manual (Bug#11636)
bd4cc8d * doc/emacs/dired.texi (Marks vs Flags): Copyedits.
69107f3 ; Fix doc typos related to indefinite articles
aaad1e6 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac...
5906418 More fixes for the Emacs manual
9ab3df1 ; Fix doc typos related to indefinite articles
66a4e65 ; Fix doc typos related to indefinite articles
35e5c57 ; Fix doc typos related to indefinite articles

6 years agolisp/vc/: documentation fixes
Charles A. Roelli [Sat, 17 Feb 2018 15:49:02 +0000 (16:49 +0100)]
lisp/vc/: documentation fixes

* lisp/vc/vc.el (vc-region-history): Clarify documentation.
* lisp/vc/add-log.el (change-log-get-method-definition):
Indent documentation.

6 years agoUse pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346)
Noam Postavsky [Mon, 5 Feb 2018 01:43:26 +0000 (20:43 -0500)]
Use pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346)

* configure.ac: Use EMACS_CHECK_MODULES fors LCMS2 rather than
AC_SEARCH_LIBS.
* src/Makefile.in: Get LCMS2_LIBS and LCMS2_CFLAGS from configure,
instead of just LIBLCMS2.

6 years agoPreserve special abbrev properties when writing
Allen Li [Mon, 1 Jan 2018 04:14:09 +0000 (20:14 -0800)]
Preserve special abbrev properties when writing

Fixes bug#29924

* lisp/abbrev.el (abbrev--write): Write abbrev properties when set.

6 years agoFix modifier key handling on macOS
Alan Third [Wed, 14 Feb 2018 20:28:46 +0000 (20:28 +0000)]
Fix modifier key handling on macOS

* configure.ac: Use the Carbon framework on macOS.
* src/nsterm.m (ns_get_shifted_character) [NS_IMPL_COCOA]: New function.
(EmacsView::keyDown) [NS_IMPL_COCOA]: Use ns_get_shifted_character
when we have shift style modifiers.

6 years agoMake echo-area buffers almost always multibyte
Eli Zaretskii [Sat, 17 Feb 2018 12:26:49 +0000 (14:26 +0200)]
Make echo-area buffers  almost always multibyte

* src/xdisp.c (setup_echo_area_for_printing, set_message_1): Ensure
the echo-area buffer is multibyte, unless
unibyte-display-via-language-environment is non-nil, and the text
we are to display is or could be unibyte.  (Bug#30405)

6 years agoAdd early init file, stop package-initialize insertion
Radon Rosborough [Sat, 17 Feb 2018 11:36:16 +0000 (13:36 +0200)]
Add early init file, stop package-initialize insertion

Discussion on emacs-devel leading up to this change (approximately 150
messages):

- https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00154.html
- https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00433.html
- https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00023.html
- https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00599.html
- https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00332.html

* lisp/startup.el (early-init-file): New variable.
(load-user-init-file): New function.
(command-line): Load the early init file using `load-user-init-file'.
Move the check for an invalid username to just before that, and move
the initialization of the package system to just after.  Load the
regular init file using `load-user-init-file'.
* lisp/emacs-lisp/package.el (package--ensure-init-file): Remove
definition, usage, and documentation.
(package--init-file-ensured): Remove definition and usage.

* src/lread.c (Vuser_init_file): Note change in semantics due to its
usage while loading the early init file.

* doc/emacs/custom.texi: Document early init file.
* doc/emacs/package.texi: Document changes to when package-initialize
is called.  Change terminology for package 'loading'.
* doc/lispref/os.texi: Document early init file.  Update startup
summary.
* doc/lispref/package.texi: Document changes to when
package-initialize is called, and advise against calling it in the
init file.  Change terminology for package 'loading'.
* doc/misc/org.texi: Don't recommend to call package-initialize in the
init file.

6 years agoDocument 'desktop-files-not-to-save'
Robert Pluim [Sat, 17 Feb 2018 11:01:19 +0000 (13:01 +0200)]
Document 'desktop-files-not-to-save'

* doc/emacs/misc.texi (Saving Emacs Sessions): Add description
of 'desktop-files-not-to-save'.

* lisp/desktop.el (desktop-files-not-to-save): Explain that
the default value excludes buffers visiting remote files.

6 years agoImprove documentation of Profiling features
Eli Zaretskii [Sat, 17 Feb 2018 09:59:36 +0000 (11:59 +0200)]
Improve documentation of Profiling features

* doc/lispref/debugging.texi (Profiling): Improve the description
of elp.el.  Improve wording of the rest of the section.  (Bug#30491)

* lisp/emacs-lisp/elp.el (elp-instrument-list): Make the
interactive invocation work.  Doc fix.

6 years agoImprove indexing of "performance" in ELisp manual
Eli Zaretskii [Sat, 17 Feb 2018 09:16:35 +0000 (11:16 +0200)]
Improve indexing of "performance" in ELisp manual

* doc/lispref/debugging.texi (Profiling):
* doc/lispref/edebug.texi (Coverage Testing): Improve indexing of
features useful for performance analysis.  (Bug#30490)

6 years agoFix the change from 2018-02-15 which didn't mention literals
Alan Mackenzie [Sat, 17 Feb 2018 09:14:54 +0000 (09:14 +0000)]
Fix the change from 2018-02-15 which didn't mention literals

* doc/emacs/programs.texi (Left Margin Paren): Document that opening
delimiters at column 0 which are inside strings or comments aren't regarded as
defun starts.

6 years agoMinor change in Emacs manual's VC chapter
Eli Zaretskii [Sat, 17 Feb 2018 08:28:29 +0000 (10:28 +0200)]
Minor change in Emacs manual's VC chapter

* doc/emacs/maintaining.texi (Log Buffer): Mention the "Summary"
header.  Suggested by Michael Albinus <michael.albinus@gmx.de> in
emacs-manual-bugs@gnu.org.

6 years agoAvoid memory corruption with specpdl overflow + edebug (Bug#30481)
Noam Postavsky [Fri, 16 Feb 2018 03:13:51 +0000 (22:13 -0500)]
Avoid memory corruption with specpdl overflow + edebug (Bug#30481)

If grow_specpdl fails due to outgrowing max_specpdl_size, it will
signal an error *before* growing the specpdl array.  Therefore, when
handling the signal, specpdl_ptr points past the end of the specpdl
array and any further use of of specpdl before unwinding (e.g., if
edebug binds signal-hook-function) will cause memory corruption.
* src/eval.c (signal_or_quit): Don't call `signal-hook-function' if
the specpdl_ptr is already past the end of the specpdl array.
* test/src/eval-tests.el (eval-tests--exceed-specbind-limit)
(eval-exceed-specbind-with-signal-hook): New test & helper function.

6 years agoDocument comment-fill-column in the manual (Bug#11636)
Noam Postavsky [Wed, 14 Feb 2018 03:10:03 +0000 (22:10 -0500)]
Document comment-fill-column in the manual (Bug#11636)

* doc/emacs/programs.texi (Comment Commands)
(Options for Comments): Mention comment-fill-column.

6 years agoQuieten compilation of icalendar.el
Glenn Morris [Sat, 17 Feb 2018 03:11:59 +0000 (19:11 -0800)]
Quieten compilation of icalendar.el

* lisp/calendar/icalendar.el (icalendar-import-buffer)
(icalendar--convert-ical-to-diary, icalendar--add-diary-entry):
Eliminate "Lexical argument shadows the dynamic variable" warning.

6 years ago; * lisp/international/mule-cmds.el (reset-language-environment): Comment.
Glenn Morris [Sat, 17 Feb 2018 02:57:45 +0000 (18:57 -0800)]
; * lisp/international/mule-cmds.el (reset-language-environment): Comment.

6 years ago* doc/emacs/dired.texi (Marks vs Flags): Copyedits.
Glenn Morris [Sat, 17 Feb 2018 01:03:13 +0000 (17:03 -0800)]
* doc/emacs/dired.texi (Marks vs Flags): Copyedits.

6 years ago; Fix doc typos related to indefinite articles
Glenn Morris [Fri, 16 Feb 2018 22:33:57 +0000 (17:33 -0500)]
; Fix doc typos related to indefinite articles

6 years agoMerge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26
Eli Zaretskii [Fri, 16 Feb 2018 21:38:32 +0000 (23:38 +0200)]
Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26

6 years agoMore fixes for the Emacs manual
Eli Zaretskii [Fri, 16 Feb 2018 21:37:38 +0000 (23:37 +0200)]
More fixes for the Emacs manual

* doc/emacs/vc1-xtra.texi (Customizing VC): Update the list of
backends.
* doc/emacs/maintaining.texi (Version Control): Add SRC to the
list of VCS.  Remove the description of vc-state-refresh.
(Version Control Systems): Update the description of CVS.
(VC Change Log): Amend the list of VCS that don't support
vc0print-root-log.
(VCS Changesets, VCS Repositories, Advanced C-x v v)
(VC Change Log): Mention SRC with RCS where appropriate.
(VC Directory Commands): More accurate description of
vc-dir-hide-up-to-date.  Suggested by Michael Albinus
<michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.

6 years ago; Fix doc typos related to indefinite articles
Glenn Morris [Fri, 16 Feb 2018 21:33:36 +0000 (16:33 -0500)]
; Fix doc typos related to indefinite articles