]> git.eshelyaron.com Git - emacs.git/log
emacs.git
5 years agoCC Mode: Fix positioning of point whilst inserting comments without non-ws
Alan Mackenzie [Fri, 25 Oct 2019 20:11:48 +0000 (20:11 +0000)]
CC Mode: Fix positioning of point whilst inserting comments without non-ws

* lisp/progmodes/cc-cmds.el (c-guess-fill-prefix): When determining a new
block comment prefix (i.e. there isn't one already there to copy), and that
prefix is hard up against a comment closer, ensure there are at least two
spaces before the closer.
(c-indent-new-comment-line): Amend the strategy for ensuring that point isn't
left hard up against the comment closer after M-j.

5 years agotime-stamp-tests: consistently name the time vars
Stephen Gildea [Fri, 25 Oct 2019 15:44:15 +0000 (08:44 -0700)]
time-stamp-tests: consistently name the time vars

* time-stamp-tests.el (with-time-stamp-test-env): rename local variable
'ref-time' to 'ref-time1', for parallelism with ref-time2 and ref-time3.

5 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Michael Albinus [Fri, 25 Oct 2019 14:52:14 +0000 (16:52 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

5 years agoMention completion styles for Tramp user/host name completion
Michael Albinus [Fri, 25 Oct 2019 14:45:48 +0000 (16:45 +0200)]
Mention completion styles for Tramp user/host name completion

* doc/misc/tramp.texi (File name completion): Emacs must have one
of the completion styles `basic', `emacs21', or `emacs22'.

5 years agowindmove.el: Suppress warnings for obsolete functions
Juanma Barranquero [Fri, 25 Oct 2019 14:39:54 +0000 (16:39 +0200)]
windmove.el: Suppress warnings for obsolete functions

* lisp/windmove.el (windmove-constrain-loc-for-movement)
(windmove-wrap-loc-for-movement, windmove-reference-loc)
(windmove-other-window-loc): Wrap calls to obsolete functions
in `with-suppressed-warnings'.

5 years agowindmove.el: Mark unused code as obsolete
Juanma Barranquero [Fri, 25 Oct 2019 13:42:13 +0000 (15:42 +0200)]
windmove.el: Mark unused code as obsolete

* lisp/windmove.el (windmove-window-distance-delta)
(windmove-coord-add, windmove-constrain-to-range)
(windmove-constrain-around-range, windmove-frame-edges)
(windmove-constrain-loc-for-movement)
(windmove-wrap-loc-for-movement, windmove-reference-loc)
(windmove-other-window-loc): Declare obsolete.
(windmove-find-other-window, windmove-do-window-select):
Doc fixes.

* etc/NEWS: Document it.

5 years ago* lisp/windmove.el (windmove-frame-edges): Simplify.
Juanma Barranquero [Fri, 25 Oct 2019 12:23:07 +0000 (14:23 +0200)]
* lisp/windmove.el (windmove-frame-edges): Simplify.

5 years agoFix gnus-thread-hide-subtree defcustom
Lars Ingebrigtsen [Fri, 25 Oct 2019 10:41:29 +0000 (12:41 +0200)]
Fix gnus-thread-hide-subtree defcustom

* lisp/gnus/gnus-sum.el (gnus-thread-hide-subtree): Make the
"Non-nil" predicate do what it's supposed to (i.e., return non-nil
on non-nil values (excepting predicates)) (bug#37916).

5 years ago* lisp/cedet/mode-local.el: Clean up name space
Stefan Monnier [Fri, 25 Oct 2019 03:06:23 +0000 (23:06 -0400)]
* lisp/cedet/mode-local.el: Clean up name space

Mostly renaming functions by adding `mode-local--` to their name
and leaving an obsolete alias behind, just in case.

(define-child-mode): Make obsolete.
(mode-local--set-parent): Rename from set-mode-local-parent.
(mode-local--new-bindings): Rename from new-mode-local-bindings.
Use `obarray-make`.
(mode-local--activate-bindings): Rename from activate-mode-local-bindings.
(mode-local--deactivate-bindings): Rename from
deactivate-mode-local-bindings.
(make-obsolete-overload): Rename properties with a `mode-local--` prefix.
Adjust all users.
(mode-local--overload-obsoleted-by): Rename from overload-obsoleted-by.
(mode-local--overload-that-obsolete): Rename from overload-that-obsolete.
(mode-local--function-overload-p): Rename from function-overload-p.
(mode-local-read-function): Mark obsolete.
(mode-local--overload-docstring-extension): Rename from
overload-docstring-extension.
(mode-local--describe-overload): Rename from describe-mode-local-overload.

* lisp/cedet/semantic/fw.el (semantic-install-function-overrides):
Remove unused `mode` argument.

* lisp/cedet/semantic/grammar-wy.el (semantic-grammar-wy--install-parser):
* lisp/cedet/semantic/bovine/grammar.el (bovine-grammar-mode):
* lisp/cedet/semantic/texi.el (semantic-default-texi-setup):
* lisp/cedet/semantic/wisent/grammar.el (wisent-grammar-setupcode-builder)
(wisent-grammar-mode):
* lisp/cedet/semantic/html.el (semantic-default-html-setup):
Make the `semantic-` prefix explicit to ease grep search.
(html-helper-mode): Remove obsolete setting.

* lisp/cedet/semantic/wisent/javascript.el: Fix js-mode/javascript-mode
mixup so we don't need define-child-mode any more.
(semantic-get-local-variables, semantic-ctxt-current-symbol)
(semantic-tag-protection, semantic-analyze-scope-calculate-access):
Use `js-mode` rather than `javascript-mode` as the mode name since
that's the real mode's name.

* lisp/cedet/semantic/wisent/python.el (python-2-mode, python-3-mode):
Remove child declaration for non-existing modes.

* lisp/cedet/srecode/map.el (srecode-map-validate-file-for-mode): Simplify.

5 years agoUpdate from Gnulib
Paul Eggert [Thu, 24 Oct 2019 21:32:06 +0000 (14:32 -0700)]
Update from Gnulib

This incorporates:
2019-10-23 nstrftime: speed up integer overflow checking
2019-10-23 port better to GCC under macOS
2019-10-15 inttypes: use more-robust test for int range
2019-10-14 update-copyright: use en dashes in .texi ranges
* build-aux/update-copyright, lib/intprops.h, lib/inttypes.in.h:
* lib/nstrftime.c, lib/verify.h:
Copy from Gnulib.

5 years ago* doc/lispref/display.texi: Document `delay-warning'
Juanma Barranquero [Thu, 24 Oct 2019 19:16:43 +0000 (21:16 +0200)]
* doc/lispref/display.texi: Document `delay-warning'

5 years agorx.el: Refactor user-definition expansion
Mattias Engdegård [Tue, 22 Oct 2019 15:02:23 +0000 (17:02 +0200)]
rx.el: Refactor user-definition expansion

* lisp/emacs-lisp/rx.el (rx--translate-not): Simplify structure.
* lisp/emacs-lisp/rx.el (rx--expand-def): New.
(rx--translate-symbol, rx--translate-form): Use rx--expand-def.

5 years agoUpdate FAQ section on large files (Bug#37818)
Stefan Kangas [Wed, 23 Oct 2019 23:08:30 +0000 (01:08 +0200)]
Update FAQ section on large files (Bug#37818)

* doc/misc/efaq.texi (Problems with very large files): Extend section
and remove information about ancient versions of Emacs.

5 years agoUpdate FAQ section on Emacs security (Bug#37818)
Stefan Kangas [Wed, 23 Oct 2019 23:08:20 +0000 (01:08 +0200)]
Update FAQ section on Emacs security (Bug#37818)

* doc/misc/efaq.texi (Security risks with Emacs): Remove section on
movemail.  Add section on third-party packages.

5 years ago* lisp/cedet/mode-local.el: Use lexical-binding and `declare`
Stefan Monnier [Wed, 23 Oct 2019 21:48:41 +0000 (17:48 -0400)]
* lisp/cedet/mode-local.el: Use lexical-binding and `declare`

(with-mode-local-symbol, with-mode-local, setq-mode-local)
(defvar-mode-local, defconst-mode-local)
(define-overloadable-function, define-mode-local-override):
Use `declare` for indent and edebug specs.
(xref-mode-local-find-overloadable-regexp): Simplify regexp.
(mode-local-setup-edebug-specs): Delete.
(edebug-setup-hook): Don't use any more.

5 years ago* lisp/dired.el (dired-mark-pop-up): Set tab-line-format to nil (bug#37699).
Juri Linkov [Wed, 23 Oct 2019 21:34:07 +0000 (00:34 +0300)]
* lisp/dired.el (dired-mark-pop-up): Set tab-line-format to nil (bug#37699).

5 years ago* lisp/tab-bar.el: Allow to specify interactively where to add a new tab.
Juri Linkov [Wed, 23 Oct 2019 20:58:30 +0000 (23:58 +0300)]
* lisp/tab-bar.el: Allow to specify interactively where to add a new tab.

* lisp/tab-bar.el (tab-bar-new-tab-to): Rename from tab-bar-new-tab.
Add optional arg TO-INDEX.
(tab-bar-new-tab): New implementation to use relative ARG.
(tab-new-to): Alias to tab-bar-new-tab-to.

5 years ago* lisp/tab-bar.el: Rename tab-bar-swap-tabs to tab-bar-move-tab-to.
Juri Linkov [Wed, 23 Oct 2019 20:53:08 +0000 (23:53 +0300)]
* lisp/tab-bar.el: Rename tab-bar-swap-tabs to tab-bar-move-tab-to.

* lisp/tab-bar.el (tab-bar-move-tab-to): Rename from tab-bar-swap-tabs.
Change logic to push the moved tab between existing tabs.
(tab-bar-move-tab): Call tab-bar-move-tab-to instead of tab-bar-swap-tabs.
(tab-move-to): Rename alias from tab-swap.

5 years agoImplement tab close undo feature for tab-bar.
Juri Linkov [Wed, 23 Oct 2019 20:39:31 +0000 (23:39 +0300)]
Implement tab close undo feature for tab-bar.

* lisp/tab-bar.el (tab-bar-closed-tabs): New variable.
(tab-bar-close-tab): Add closed tab to tab-bar-closed-tabs.
Disable tab-bar-mode on closing the last tab.
(tab-bar-close-other-tabs): Add all closed tabs to tab-bar-closed-tabs.
(tab-bar-undo-close-tab): New command.
(tab-undo): Alias to tab-bar-undo-close-tab.

5 years ago* lisp/cedet/semantic/analyze/complete.el: Fix completion-at-point
Stefan Monnier [Wed, 23 Oct 2019 20:15:41 +0000 (16:15 -0400)]
* lisp/cedet/semantic/analyze/complete.el: Fix completion-at-point

Completion tables are not supposed to signal errors:

    emacs -q
    M-x semantic-mode
    ; visit a file supported by semantic, such as a C file
    ; put cursor in a blank space
    M-x completion-at-point
    It will error with: "Nothing to complete"

(semantic-analyze-possible-completions): Return nil instead of
signaling errors.

5 years agoEnsure that the prompt is kept on the final line
Lars Ingebrigtsen [Wed, 23 Oct 2019 09:55:13 +0000 (11:55 +0200)]
Ensure that the prompt is kept on the final line

* lisp/erc/erc-goodies.el (erc-possibly-scroll-to-bottom): New
function.
(scrolltobottom): Add to erc-insert-done-hook.

* lisp/erc/erc.el (erc-insert-done-hook): New hook (bug#11697).
(erc-display-line-1): Use it.

5 years agoMake erc-cmd-CLEAR do what its doc string says
Lars Ingebrigtsen [Wed, 23 Oct 2019 09:13:54 +0000 (11:13 +0200)]
Make erc-cmd-CLEAR do what its doc string says

* lisp/erc/erc.el (erc-cmd-CLEAR): Delete the buffer contents
instead of recentering (bug#31743).

5 years agoMake display of S/MIME signatures slightly better
Lars Ingebrigtsen [Wed, 23 Oct 2019 08:50:29 +0000 (10:50 +0200)]
Make display of S/MIME signatures slightly better

* lisp/epg.el (epg-signature-to-string): Decode percent escapes
(bug#36101).

5 years agoMake Gnus recognise "git am" diffs in all groups
Lars Ingebrigtsen [Wed, 23 Oct 2019 08:34:28 +0000 (10:34 +0200)]
Make Gnus recognise "git am" diffs in all groups

* lisp/gnus/mm-uu.el (mm-uu-diff-groups-regexp): Recognise diffs
in all groups (bug#32730).

5 years agoAdd version tag to gnutls-min-prime-bits
Stefan Kangas [Wed, 23 Oct 2019 00:26:34 +0000 (02:26 +0200)]
Add version tag to gnutls-min-prime-bits

* lisp/net/gnutls.el (gnutls-min-prime-bits): Add version tag.

5 years agoAvoid extra lines in python-shell font lock buffer (Bug#33959)
memeplex [Tue, 15 Oct 2019 00:37:20 +0000 (21:37 -0300)]
Avoid extra lines in python-shell font lock buffer (Bug#33959)

* lisp/progmodes/python.el
(python-shell-font-lock-comint-output-filter-function): Avoid writing
a newline to the font lock buffer when receiving an empty string.

5 years agoSet expected result for a cedet test
Glenn Morris [Tue, 22 Oct 2019 23:25:21 +0000 (16:25 -0700)]
Set expected result for a cedet test

* test/lisp/cedet/srecode-utest-template.el (srecode-utest-project):
Test fails on hydra.nixos.org, for some reason.

5 years agoTab-line horizontal scrolling with UI buttons and commands (bug#37667)
Juri Linkov [Tue, 22 Oct 2019 21:17:27 +0000 (00:17 +0300)]
Tab-line horizontal scrolling with UI buttons and commands (bug#37667)

* etc/images/tabs/left-arrow.xpm:
* etc/images/tabs/right-arrow.xpm: New images.

* lisp/tab-line.el (tab-line-left-map, tab-line-right-map): New keymaps.
(tab-line-left-button, tab-line-right-button): New variables.
(tab-line-tab-name-function): Turn defvar into defcustom.
(tab-line-tab-name-buffer): New function.
(tab-line-tab-name-truncated-buffer): Rename from tab-line-tab-name.
(tab-line-tabs-limit): Default to nil.
(tab-line-tabs): Behavior depends on tab-line-tabs-limit.
(tab-line-format): Use window-parameter tab-line-hscroll.
Add left/right buttons.
(tab-line-hscroll): New function.
(tab-line-hscroll-right, tab-line-hscroll-left): New commands
bound to mouse-wheel.  Rebind tab-switching commands to mouse-wheel
with Ctrl-modifier.

5 years agoFix "make bootstrap" build warning in tab-bar.el
Lars Ingebrigtsen [Tue, 22 Oct 2019 19:18:33 +0000 (21:18 +0200)]
Fix "make bootstrap" build warning in tab-bar.el

* lisp/tab-bar.el (require): Require seq when compiling to avoid a
compilation warning.  The function it uses is autoloaded, but
autoloads aren't loaded when this is built (on "make bootstrap").

5 years agoFix recent changes in documentation
Eli Zaretskii [Tue, 22 Oct 2019 16:28:58 +0000 (19:28 +0300)]
Fix recent changes in documentation

* doc/lispref/edebug.texi (Edebug Eval, Eval List): Reword
recently added text to follow conventions.

* src/textprop.c (Ftext_properties_at): Don't use passive tense
in doc string.

5 years agoVarious doc fixes for auto-insert-mode
Stefan Kangas [Tue, 22 Oct 2019 16:02:43 +0000 (18:02 +0200)]
Various doc fixes for auto-insert-mode

* doc/misc/autotype.texi (Autoinserting): Various doc fixes.
* lisp/autoinsert.el (top-level): Recommend 'auto-insert-mode' over
'add-hook'.

5 years agoMake text-properties-at mention describe-text-properties
Lars Ingebrigtsen [Tue, 22 Oct 2019 14:54:50 +0000 (16:54 +0200)]
Make text-properties-at mention describe-text-properties

* src/textprop.c (Ftext_properties_at): Mention
describe-text-properties in the doc string.

5 years agoAdd a fringe example
Lars Ingebrigtsen [Tue, 22 Oct 2019 14:21:00 +0000 (16:21 +0200)]
Add a fringe example

* doc/lispref/display.texi (Fringe Bitmaps): Add an example.

5 years agorx doc string tweaks
Mattias Engdegård [Tue, 22 Oct 2019 13:35:40 +0000 (15:35 +0200)]
rx doc string tweaks

* lisp/emacs-lisp/rx.el (rx--translate-seq, rx--translate-or, rx):
Say "zero or more" instead of "one or more" where applicable.

5 years agoMake edebug-eval-last-sexp interactively take a zero prefix
Lars Ingebrigtsen [Tue, 22 Oct 2019 11:12:03 +0000 (13:12 +0200)]
Make edebug-eval-last-sexp interactively take a zero prefix

* lisp/emacs-lisp/edebug.el (edebug-eval-last-sexp): Make the zero
prefix work analogously to in eval-last-sexp (bug#28895).
(edebug-eval-print-last-sexp): Ditto.

5 years agoShow stash counts in button in vc-dir
Robert Pluim [Tue, 22 Oct 2019 07:31:15 +0000 (09:31 +0200)]
Show stash counts in button in vc-dir

Based on suggestions from Mattias Engdegård.

* lisp/vc/vc-git.el (vc-git--make-button-text): New function to
generate text for stash button.
(vc-git-make-stash-button): Show stash counts.  Delete and recreate
button when toggling.
(vc-git-dir-extra-headers): Pass counts to vc-git-make-stash-button.
Treat stash count <= vc-git-show-stash as equivalent to showing entire
list.

5 years agoMove entry for \Ref into LaTeX core
Arash Esbati [Sun, 20 Oct 2019 18:27:00 +0000 (20:27 +0200)]
Move entry for \Ref into LaTeX core

* lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Move
entry for \Ref from "Varioref" into "Default" as this macro is
part of LaTeX 2019-10-01 kernel.
Rearrange entries for "Varioref".

5 years ago* etc/NEWS: Improve documentation of 'package-initialize'.
Stefan Kangas [Tue, 22 Oct 2019 02:05:35 +0000 (04:05 +0200)]
* etc/NEWS: Improve documentation of 'package-initialize'.

5 years agoPortcheck only if --enable-gcc-warnings
Paul Eggert [Tue, 22 Oct 2019 00:28:02 +0000 (17:28 -0700)]
Portcheck only if --enable-gcc-warnings

Problem reported by Richard Copley (Bug#37852).
This patch causes the problem to not occur if one uses plain
‘configure’.  The problem can still occur if with ‘configure
--enable-gcc-warnings’, so a further fix may be needed.
* configure.ac (GNULIB_PORTCHECK, _FORTIFY_SOURCE):
Define these only with an explicit --enable-gcc-warnings.

5 years agoRemove XEmacs compat code from speedbar.el
Stefan Kangas [Mon, 21 Oct 2019 22:38:21 +0000 (00:38 +0200)]
Remove XEmacs compat code from speedbar.el

* lisp/speedbar.el (speedbar-frame-plist, speedbar-frame-mode)
(speedbar-make-overlay, speedbar-overlay-put, speedbar-delete-overlay)
(speedbar-mode-line-update, speedbar-frame-reposition-smartly)
(speedbar-set-mode-line-format, speedbar-reconfigure-keymaps)
(speedbar-add-localized-speedbar-support, speedbar-check-vc)
(speedbar-highlight-one-tag-line)
(speedbar-unhighlight-one-tag-line): Remove XEmacs compat code.

* doc/misc/speedbar.texi (Frames and Faces): Remove documentation for
XEmacs.

5 years ago* lisp/vc/vc-annotate.el (vc-annotate-lines): Use set-face-extend (bug#37774)
Juri Linkov [Mon, 21 Oct 2019 21:29:21 +0000 (00:29 +0300)]
* lisp/vc/vc-annotate.el (vc-annotate-lines): Use set-face-extend (bug#37774)

5 years agoTry to not put SMTP passwords in the *Messages* buffer
Lars Ingebrigtsen [Mon, 21 Oct 2019 20:38:34 +0000 (22:38 +0200)]
Try to not put SMTP passwords in the *Messages* buffer

* lisp/mail/smtpmail.el (smtpmail--sanitize-error-message): New
function.
(smtpmail-send-it): Use it.
(smtpmail-send-queued-mail): Ditto.

5 years ago* lisp/emacs-lisp/cursor-sensor.el: Make it possible to reveal invisible text
Stefan Monnier [Mon, 21 Oct 2019 20:35:38 +0000 (16:35 -0400)]
* lisp/emacs-lisp/cursor-sensor.el: Make it possible to reveal invisible text

(cursor-sensor-mode): Hook into post-command-hook as well.
(cursor-sensor--detect): Make argument optional.

5 years agoTiny clean-up of previous edebug patch
Lars Ingebrigtsen [Mon, 21 Oct 2019 20:28:49 +0000 (22:28 +0200)]
Tiny clean-up of previous edebug patch

* lisp/emacs-lisp/edebug.el (edebug--overlay-breakpoints): Clean
up code slightly.

5 years agoEnsure we always remove the breakpoint overlays
Lars Ingebrigtsen [Mon, 21 Oct 2019 20:22:06 +0000 (22:22 +0200)]
Ensure we always remove the breakpoint overlays

* lisp/emacs-lisp/edebug.el (edebug--display-1): Remove the
overlays here -- this cleans up after exiting no matter how we
exited.

5 years agoAdd fringe markers to edebug breakpoints
Lars Ingebrigtsen [Mon, 21 Oct 2019 20:17:12 +0000 (22:17 +0200)]
Add fringe markers to edebug breakpoints

* lisp/emacs-lisp/edebug.el (edebug--overlay-breakpoints): Set a
fringe element to mark the breakpoint.
(edebug-breakpoint): Fringe marker.

5 years agoClean up previous icalendar.el change
Stefan Kangas [Mon, 21 Oct 2019 19:21:50 +0000 (21:21 +0200)]
Clean up previous icalendar.el change

* lisp/calendar/icalendar.el (icalendar--rris): Redefine as obsolete
function alias.

5 years agoRemove more XEmacs compat code from viper-*.el
Stefan Kangas [Mon, 21 Oct 2019 19:19:25 +0000 (21:19 +0200)]
Remove more XEmacs compat code from viper-*.el

* lisp/emulation/viper-cmd.el (viper-submit-report):
* lisp/emulation/viper-init.el (viper-set-insert-cursor-type)
(viper-restore-cursor-type, viper-use-replace-region-delimiters)
(viper-has-face-support-p, viper-window-display-p)
(viper-color-display-p, viper-device-type):
* lisp/emulation/viper-mous.el (viper-mouse-click-search-word)
(viper-mouse-click-insert-word, viper-mouse-click-get-word)
(viper-mouse-click-posn, viper-mouse-click-window):
* lisp/emulation/viper-util.el (viper-abbreviate-file-name)
(viper-set-replace-overlay, viper-maybe-checkout): Remove XEmacs
compat code.

5 years agoRemove XEmacs compat code from icalendar.el (Bug#37816)
Stefan Kangas [Mon, 21 Oct 2019 16:49:04 +0000 (18:49 +0200)]
Remove XEmacs compat code from icalendar.el (Bug#37816)

* lisp/calendar/icalendar.el (icalendar--convert-string-for-export)
(icalendar--convert-string-for-import)
(icalendar--parse-summary-and-rest)
(icalendar--convert-ordinary-to-ical)
(icalendar--convert-weekly-to-ical)
(icalendar--convert-yearly-to-ical)
(icalendar--convert-block-to-ical)
(icalendar--convert-cyclic-to-ical)
(icalendar--convert-anniversary-to-ical)
(icalendar--format-ical-event)
(icalendar--convert-recurring-to-diary): Remove XEmacs compat code.
(icalendar--rris): Declare obsolete.

5 years agoAvoid false indications from Flymake in .dir-locals.el files
Eli Zaretskii [Mon, 21 Oct 2019 11:29:13 +0000 (14:29 +0300)]
Avoid false indications from Flymake in .dir-locals.el files

* lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Don't install
'elisp-flymake-checkdoc' and 'elisp-flymake-byte-compile'
hooks for .dir-locals.el files.  Reported by Clément
Pit-Claudel <cpitclaudel@gmail.com>.

5 years ago; Add commentary to w32inevt.c
Eli Zaretskii [Mon, 21 Oct 2019 10:32:40 +0000 (13:32 +0300)]
; Add commentary to w32inevt.c

* src/w32inevt.c (do_mouse_event): Comment on mouse
coordinates in console mouse-wheel events.

5 years agoAdd button to vc-dir to toggle visibility of stash list
Robert Pluim [Thu, 17 Oct 2019 13:55:06 +0000 (15:55 +0200)]
Add button to vc-dir to toggle visibility of stash list

* lisp/vc/vc-git.el: Move cl-lib require outside 'eval-when-compile'.

* lisp/vc/vc-git.el (vc-git-show-stash):New user option.
(vc-git-make-stash-button): Create button that allows hiding the stash
list.
(vc-git-dir-extra-headers): Split stash list into hideable and
non-hideable parts depending on value of vc-git-show-stash.  Add
button to toggle visibility of hideable part.

* etc/NEWS: Announce it.

5 years agoAdd a way to disable substitution of command keys in help strings
Clément Pit-Claudel [Thu, 17 Oct 2019 01:28:47 +0000 (21:28 -0400)]
Add a way to disable substitution of command keys in help strings

* src/keyboard.c (help_echo_substitute_command_keys): New function.
(help_echo_echo, parse_menu_item): Use it.
(syms_of_keyboard): Define Qhelp_echo_inhibit_substitution.

* doc/lispref/text.texi (Special Properties), etc/NEWS: Document
the effect of 'help-echo-inhibit-substitution'.

5 years agoAvoid fixnum round trip in prefix-numeric-value
Paul Eggert [Mon, 21 Oct 2019 00:40:43 +0000 (17:40 -0700)]
Avoid fixnum round trip in prefix-numeric-value

* src/callint.c (Fprefix_numeric_value): Simplify.

5 years ago* lisp/tab-line.el: Bind mouse commands to [tab-line].
Juri Linkov [Sun, 20 Oct 2019 22:37:39 +0000 (01:37 +0300)]
* lisp/tab-line.el: Bind mouse commands to [tab-line].

* lisp/tab-line.el: Bind mouse-4/mouse-5, wheel-up/wheel-down
globally to [tab-line].
(tab-line-tab-map): Remove local bindings of mouse-4/mouse-5.
(tab-line-new-tab, tab-line-switch-to-prev-tab)
(tab-line-switch-to-next-tab, tab-line-close-tab):
Turn commands into mouse-free (can be used without mouse).

5 years agoDon't try to add nil packages on refresh
Stefan Kangas [Sun, 20 Oct 2019 21:49:18 +0000 (23:49 +0200)]
Don't try to add nil packages on refresh

* lisp/emacs-lisp/package.el (package-read-archive-contents): Don't
try to add nil entries.  Warn instead.  (Bug#28502)
* test/lisp/emacs-lisp/package-tests.el
(package-test-update-archives/ignore-nil-entry): New test.
* test/lisp/emacs-lisp/package-resources/with-nil-entry/archive-contents:
New file.

5 years agoAdd a command to toggle an edebug breakpoint
Lars Ingebrigtsen [Sun, 20 Oct 2019 21:16:04 +0000 (23:16 +0200)]
Add a command to toggle an edebug breakpoint

* doc/lispref/edebug.texi (Breakpoints): Document this.

* lisp/emacs-lisp/edebug.el (edebug-disabled-breakpoint): New face
(bug#23472).
(edebug-enabled-breakpoint): Rename.
(edebug--overlay-breakpoints): Use the new face.
(edebug-toggle-disable-breakpoint): New command and keystroke.

5 years agoRemove XEmacs compat code from decipher.el
Stefan Kangas [Sun, 20 Oct 2019 21:04:29 +0000 (23:04 +0200)]
Remove XEmacs compat code from decipher.el

* lisp/play/decipher.el (decipher-last-command-char)
(decipher-keypress): Remove XEmacs compat code.

5 years ago* lisp/tab-bar.el: Use autoloaded seq-position.
Juri Linkov [Sun, 20 Oct 2019 20:54:48 +0000 (23:54 +0300)]
* lisp/tab-bar.el: Use autoloaded seq-position.

* lisp/tab-bar.el (tab-bar--current-tab-index)
(tab-bar--tab-index, tab-bar--tab-index-by-name):
Use seq-position.

(tab-bar-select-tab, tab-bar-new-tab, tab-bar-close-tab)
(tab-bar-close-other-tabs, tab-bar-rename-tab)
(tab-bar-list-execute): Call force-mode-line-update
unconditionally independent from tab-bar-mode.

(tab-bar-rename-tab, tab-bar-rename-tab-by-name):
Use read-from-minibuffer instead of read-string
to be able to enter empty string.

5 years agoRemove XEmacs compat code from meta-mode.el
Stefan Kangas [Sun, 20 Oct 2019 20:48:28 +0000 (22:48 +0200)]
Remove XEmacs compat code from meta-mode.el

* lisp/progmodes/meta-mode.el (meta-mode-menu):
(meta-mode-load-hook): Remove XEmacs compat code.

5 years agoRemove last XEmacs compat code from tree-widget.el
Stefan Kangas [Sun, 20 Oct 2019 20:36:25 +0000 (22:36 +0200)]
Remove last XEmacs compat code from tree-widget.el

* lisp/tree-widget.el (tree-widget-image-properties-xemacs)
(tree-widget-set-theme, tree-widget--cursors)
(tree-widget-image-properties, tree-widget-button-keymap)
(tree-widget-icon, tree-widget-value-create): Remove XEmacs compat
code.

5 years agoRemove leftover XEmacs compat code from dig.el
Stefan Kangas [Sun, 20 Oct 2019 20:30:11 +0000 (22:30 +0200)]
Remove leftover XEmacs compat code from dig.el

* lisp/net/dig.el (top-level): Remove leftover XEmacs compat code.

5 years agoAdd missing rx symbols `bow' and `eow' to documentation
Mattias Engdegård [Sun, 20 Oct 2019 17:51:08 +0000 (19:51 +0200)]
Add missing rx symbols `bow' and `eow' to documentation

* doc/lispref/searching.texi (Rx Constructs):
* lisp/emacs-lisp/rx.el (rx):  Add missing synonyms.

5 years ago* lisp/tab-bar.el (tab-bar-swap-tabs): Use cl-rotatef instead of rotatef.
Juri Linkov [Sun, 20 Oct 2019 17:45:01 +0000 (20:45 +0300)]
* lisp/tab-bar.el (tab-bar-swap-tabs): Use cl-rotatef instead of rotatef.

5 years ago* lisp/tab-bar.el (tab-bar-swap-tabs, tab-bar-move-tab): New commands.
Juri Linkov [Sun, 20 Oct 2019 17:36:27 +0000 (20:36 +0300)]
* lisp/tab-bar.el (tab-bar-swap-tabs, tab-bar-move-tab): New commands.

(tab-swap, tab-move): New aliases to new commands.

5 years agoDisable pause/resume from menu in snake and tetris
Stefan Kangas [Sun, 20 Oct 2019 17:01:33 +0000 (19:01 +0200)]
Disable pause/resume from menu in snake and tetris

* lisp/play/tetris.el (tetris--menu-def):
* lisp/play/snake.el (snake--menu-def): Disable pause/resume from
menu.

5 years agoOptimize c-crosses-statement-barrier-p for large blocks of comment.
Alan Mackenzie [Sun, 20 Oct 2019 16:55:26 +0000 (16:55 +0000)]
Optimize c-crosses-statement-barrier-p for large blocks of comment.

This fixes bug #18134.

* lisp/progmodes/cc-engine.el (c-crosses-statement-barrier-p): Give a limit
to the c-backward-syntactic-ws which is searching for a virtual semicolon.  In
the main loop, Use c-forward-syntactic-ws to skip blocks of comments.

5 years agoProvide default value for tab-name/frame-name reading minibuffer
Juri Linkov [Sun, 20 Oct 2019 16:30:30 +0000 (19:30 +0300)]
Provide default value for tab-name/frame-name reading minibuffer

* lisp/tab-bar.el (tab-bar-rename-tab, tab-bar-rename-tab-by-name):
Provide default value for read-string.
(tab-bar-select-tab-by-name): Alias for tab-bar-switch-to-tab.

* lisp/frame.el (set-frame-name): Provide default value for
read-string in interactive spec.

* lisp/cus-start.el (tab-bar-position): Use choice instead of boolean.

5 years agoMake edebug-mode-map take precedence
Lars Ingebrigtsen [Sun, 20 Oct 2019 15:07:01 +0000 (17:07 +0200)]
Make edebug-mode-map take precedence

* lisp/emacs-lisp/edebug.el (edebug--recursive-edit): Bind
minor-mode-overriding-map-alist to avoid other minor modes hiding the
edebug commands (bug#11018).

5 years agoFix internal-lisp-face-attributes to match face.
Jimmy Aguilar Mena [Sun, 20 Oct 2019 13:54:18 +0000 (15:54 +0200)]
Fix internal-lisp-face-attributes to match face.

* lisp/face-remap.el (internal-lisp-face-attributes): Updated the
vector members to match the real member names. (Bug#37806) (Bug#37824)

5 years agoIn xref-location-marker, handle deleted file or outdated xref location nicely
Stephen Leake [Sun, 20 Oct 2019 13:39:02 +0000 (06:39 -0700)]
In xref-location-marker, handle deleted file or outdated xref location nicely

* lisp/progmodes/xref.el (xref-location-marker): Add ignore-errors.

5 years agoUpdate FAQ entry on XEmacs (Bug#37815)
Stefan Kangas [Fri, 18 Oct 2019 20:16:50 +0000 (22:16 +0200)]
Update FAQ entry on XEmacs (Bug#37815)

* doc/misc/efaq.texi (Difference between Emacs and XEmacs): Update
section to reflect the current state of affairs.  XEmacs is not
actively developed and is lacking many important features of Emacs.

5 years agoImprove doc string of eshell and eshell-buffer-name
Stefan Kangas [Sat, 19 Oct 2019 00:51:21 +0000 (02:51 +0200)]
Improve doc string of eshell and eshell-buffer-name

* lisp/eshell/eshell.el (eshell-buffer-name, eshell): Improve doc
strings, by clarifying how buffers are named.  Also refer users to the
Info manual.  (Bug#37178)

5 years ago* doc/lispref/display.texi (Low-Level Font): Describe max-width.
Juanma Barranquero [Sun, 20 Oct 2019 12:54:52 +0000 (14:54 +0200)]
* doc/lispref/display.texi (Low-Level Font): Describe max-width.

5 years agoFix edebug--restore-breakpoints re-instrumentinging bug-out
Lars Ingebrigtsen [Sun, 20 Oct 2019 12:27:38 +0000 (14:27 +0200)]
Fix edebug--restore-breakpoints re-instrumentinging bug-out

* lisp/emacs-lisp/edebug.el (edebug--restore-breakpoints): Don't
bug out when instrumenting/de-instrumenting/re-instrumenting.

5 years agoAdd a new edebug-breakpoint face
Lars Ingebrigtsen [Sun, 20 Oct 2019 12:09:36 +0000 (14:09 +0200)]
Add a new edebug-breakpoint face

* doc/lispref/edebug.texi (Breakpoints): Mention it.

* lisp/emacs-lisp/edebug.el (edebug-breakpoint): New face.

5 years agowhile-no-input-ignore-events manual clarification
Lars Ingebrigtsen [Sun, 20 Oct 2019 11:52:03 +0000 (13:52 +0200)]
while-no-input-ignore-events manual clarification

* doc/lispref/commands.texi (Event Input Misc): Be slightly
clearer about what while-no-input-ignore-events is.

5 years agoNew command to clear all breakpoints in a function
Lars Ingebrigtsen [Sun, 20 Oct 2019 11:40:03 +0000 (13:40 +0200)]
New command to clear all breakpoints in a function

* doc/lispref/edebug.texi (Breakpoints): Mention it.

* lisp/emacs-lisp/edebug.el (edebug-unset-breakpoints): New
command and keystroke.

5 years agoPreserve breakpoints when Edebug-reinstrumenting functions
Lars Ingebrigtsen [Sun, 20 Oct 2019 11:10:59 +0000 (13:10 +0200)]
Preserve breakpoints when Edebug-reinstrumenting functions

* lisp/emacs-lisp/edebug.el (edebug--overlay-breakpoints): New
function (bug#23470).

* lisp/emacs-lisp/seq.el (seq-position): Autoload.

5 years agoFix docstrings in tramp.el
Michael Albinus [Sun, 20 Oct 2019 11:10:12 +0000 (13:10 +0200)]
Fix docstrings in tramp.el

* lisp/net/tramp.el (tramp-antispoof-regexp)
(tramp-file-name-handler): Fix docstring.

5 years agoChange default to cancel all edebug-on-entry in cancel-edebug-on-entry
Lars Ingebrigtsen [Sun, 20 Oct 2019 10:37:37 +0000 (12:37 +0200)]
Change default to cancel all edebug-on-entry in cancel-edebug-on-entry

* lisp/emacs-lisp/edebug.el (cancel-edebug-on-entry): Make the
default to cancel all edebug-on-entry.

5 years agoUse user-error in cancel-edebug-on-entry
Lars Ingebrigtsen [Sun, 20 Oct 2019 10:28:36 +0000 (12:28 +0200)]
Use user-error in cancel-edebug-on-entry

* lisp/emacs-lisp/edebug.el (cancel-edebug-on-entry): This is a
user-class error, so use user-error.

5 years agoInstrument function if it hasn't been already in edebug-set-breakpoint
Lars Ingebrigtsen [Sun, 20 Oct 2019 10:25:59 +0000 (12:25 +0200)]
Instrument function if it hasn't been already in edebug-set-breakpoint

* lisp/emacs-lisp/edebug.el (edebug-set-breakpoint): Instrument
form automatically when using this function (bug#23469).

5 years agoFix up previous edebug breakpoint overlay change
Lars Ingebrigtsen [Sun, 20 Oct 2019 10:16:56 +0000 (12:16 +0200)]
Fix up previous edebug breakpoint overlay change

* lisp/emacs-lisp/edebug.el (edebug--overlay-breakpoints): Only
make the overlays in edebug mode, so that we remove them when we
exit.

5 years agoMark breakpoints in edebug with highlights
Lars Ingebrigtsen [Sun, 20 Oct 2019 10:07:42 +0000 (12:07 +0200)]
Mark breakpoints in edebug with highlights

* lisp/emacs-lisp/edebug.el (edebug--overlay-breakpoints)
(edebug--overlay-breakpoints-remove): New functions (bug#23468).
(edebug-modify-breakpoint): Use them to highlight breakpoints.
(edebug--display-1): Restore breakpoint highlights.
(edebug--recursive-edit): Remove highlights on exit.

5 years agolisp/*.el: Fix typos and improve some docstrings
Juanma Barranquero [Sun, 20 Oct 2019 10:12:27 +0000 (12:12 +0200)]
lisp/*.el: Fix typos and improve some docstrings

* lisp/auth-source.el (auth-source-backend-parse-parameters)
(auth-source-search-collection)
(auth-source-secrets-listify-pattern)
(auth-source--decode-octal-string, auth-source-plstore-search):
* lisp/registry.el (registry-lookup)
(registry-lookup-breaks-before-lexbind)
(registry-lookup-secondary, registry-lookup-secondary-value)
(registry-search, registry-delete, registry-size, registry-full)
(registry-insert, registry-reindex, registry-prune)
(registry-collect-prune-candidates):
* lisp/subr.el (nbutlast, process-live-p):
* lisp/tab-bar.el (tab-bar-list):
* lisp/cedet/ede/linux.el (ede-linux--get-archs)
(ede-linux--include-path, ede-linux-load):
* lisp/erc/erc-log.el (erc-log-all-but-server-buffers):
* lisp/erc/erc-pcomplete.el (pcomplete-erc-commands)
(pcomplete-erc-ops, pcomplete-erc-not-ops, pcomplete-erc-nicks)
(pcomplete-erc-all-nicks, pcomplete-erc-channels)
(pcomplete-erc-command-name, pcomplete-erc-parse-arguments):
* lisp/eshell/em-term.el (eshell-visual-command-p):
* lisp/gnus/gnus-cache.el (gnus-cache-fully-p):
* lisp/gnus/nnmail.el (nnmail-get-active)
(nnmail-fancy-expiry-target):
* lisp/mail/mail-utils.el (mail-string-delete):
* lisp/mail/supercite.el (sc-hdr, sc-valid-index-p):
* lisp/net/ange-ftp.el (ange-ftp-use-smart-gateway-p):
* lisp/net/nsm.el (nsm-save-fingerprint-maybe)
(nsm-network-same-subnet, nsm-should-check):
* lisp/net/rcirc.el (rcirc-looking-at-input):
* lisp/net/tramp-cache.el (tramp-get-hash-table):
* lisp/net/tramp-compat.el (tramp-compat-process-running-p):
* lisp/net/tramp-smb.el (tramp-smb-get-share)
(tramp-smb-get-localname, tramp-smb-read-file-entry)
(tramp-smb-get-cifs-capabilities, tramp-smb-get-stat-capability):
* lisp/net/zeroconf.el (zeroconf-list-service-names)
(zeroconf-list-service-types, zeroconf-list-services)
(zeroconf-get-host, zeroconf-get-domain)
(zeroconf-get-host-domain):
* lisp/nxml/rng-xsd.el (rng-xsd-compile)
(rng-xsd-make-date-time-regexp, rng-xsd-convert-date-time):
* lisp/obsolete/erc-hecomplete.el (erc-hecomplete)
(erc-command-list, erc-complete-at-prompt):
* lisp/org/ob-scheme.el (org-babel-scheme-get-buffer-impl):
* lisp/org/ob-shell.el (org-babel--variable-assignments:sh-generic)
(org-babel--variable-assignments:bash_array)
(org-babel--variable-assignments:bash_assoc)
(org-babel--variable-assignments:bash):
* lisp/org/org-clock.el (org-day-of-week):
* lisp/progmodes/cperl-mode.el (cperl-char-ends-sub-keyword-p):
* lisp/progmodes/gud.el (gud-find-c-expr, gud-innermost-expr)
(gud-prev-expr, gud-next-expr):
* lisp/textmodes/table.el (table--at-cell-p, table--probe-cell)
(table--get-cell-justify-property)
(table--get-cell-valign-property)
(table--put-cell-justify-property)
(table--put-cell-valign-property): Fix typos.

* lisp/so-long.el (fboundp): Doc fix.
(so-long-mode-line-info, so-long-mode)
(so-long--check-header-modes): Fix typos.

* lisp/emulation/viper-mous.el (viper-surrounding-word)
(viper-mouse-click-get-word): Fix typos.
(viper-mouse-click-search-word): Doc fix.

* lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
(erc-bounds-of-word-at-point): Fix typos.
(erc-decode-string-from-target, define-erc-response-handler):
Refill docstring.

* lisp/erc/erc-dcc.el (pcomplete/erc-mode/DCC): Fix typo.
(erc-dcc-get-host, erc-dcc-auto-mask-p, erc-dcc-get-file):
Doc fixes.

* lisp/erc/erc-networks.el (erc-network-name): Fix typo.
(erc-determine-network): Refill docstring.

* lisp/net/dbus.el (dbus-list-hash-table)
(dbus-string-to-byte-array, dbus-byte-array-to-string)
(dbus-check-event): Fix typos.
(dbus-introspect-get-property): Doc fix.

* lisp/net/tramp-adb.el (tramp-adb-file-name-handler):
Rename ARGS to ARGUMENTS.  Doc fix.
(tramp-adb-sh-fix-ls-output, tramp-adb-execute-adb-command)
(tramp-adb-find-test-command): Fix typos.

* lisp/net/tramp.el (tramp-set-completion-function)
(tramp-get-completion-function)
(tramp-completion-dissect-file-name)
(tramp-completion-dissect-file-name1)
(tramp-get-completion-methods, tramp-get-completion-user-host)
(tramp-get-inode, tramp-get-device, tramp-mode-string-to-int)
(tramp-call-process, tramp-call-process-region)
(tramp-process-lines): Fix typos.
(tramp-interrupt-process): Doc fix.

* lisp/org/ob-core.el (org-babel-named-src-block-regexp-for-name)
(org-babel-named-data-regexp-for-name): Doc fix.
(org-babel-src-block-names, org-babel-result-names): Fix typos.

* lisp/progmodes/inf-lisp.el (lisp-input-filter): Doc fix.
(lisp-fn-called-at-pt): Fix typo.

* lisp/progmodes/xref.el (xref-backend-identifier-at-point):
Doc fix.
(xref-backend-identifier-completion-table): Fix typo.

5 years agoNew command edebug-remove-instrumentation
Lars Ingebrigtsen [Sun, 20 Oct 2019 09:29:34 +0000 (11:29 +0200)]
New command edebug-remove-instrumentation

* doc/lispref/edebug.texi (Instrumenting): Document it.

* lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): New
command (bug#15843).

5 years agoFix doc string and interactive spec of cancel-edebug-on-entry
Lars Ingebrigtsen [Sun, 20 Oct 2019 08:51:08 +0000 (10:51 +0200)]
Fix doc string and interactive spec of cancel-edebug-on-entry

* lisp/emacs-lisp/edebug.el (cancel-edebug-on-entry): Add doc
string and make the interactive spec complete over functions that
have the spec (bug#10806).
(edebug-cancel-edebug-on-entry): Add alias for discoverability.
(edebug-on-entry): Clarify what this command does.

5 years agoRevert "Add an edebug-cancel-debug-on-entry alias"
Lars Ingebrigtsen [Sun, 20 Oct 2019 08:28:44 +0000 (10:28 +0200)]
Revert "Add an edebug-cancel-debug-on-entry alias"

This reverts commit cea9577b7d6fcf01599afd48078f8ff1defb1297.

cancel-edebug-on-entry and cancel-debug-on-entry are not the same functions.

5 years agoAdd an edebug-cancel-debug-on-entry alias
Lars Ingebrigtsen [Sun, 20 Oct 2019 07:48:28 +0000 (09:48 +0200)]
Add an edebug-cancel-debug-on-entry alias

* lisp/emacs-lisp/debug.el (edebug-cancel-debug-on-entry): Add an
alias for easier discoverability (bug#10806).

5 years agoProtect against invalid punycode
Lars Ingebrigtsen [Sun, 20 Oct 2019 07:40:11 +0000 (09:40 +0200)]
Protect against invalid punycode

* lisp/net/puny.el (puny-decode-string): Protect against invalid
punycode.

5 years ago* lisp/net/eww.el (eww-browse-url-new-window-is-tab): New defcustom.
Juri Linkov [Sat, 19 Oct 2019 22:40:05 +0000 (01:40 +0300)]
* lisp/net/eww.el (eww-browse-url-new-window-is-tab): New defcustom.

(eww-open-in-new-buffer, eww-browse-url): Use new defcustom (bug#37592).

5 years agoUse 'C-x t' for tab-prefix-map instead of 'C-x 6' still used by 2C-mode-map.
Juri Linkov [Sat, 19 Oct 2019 22:06:38 +0000 (01:06 +0300)]
Use 'C-x t' for tab-prefix-map instead of 'C-x 6' still used by 2C-mode-map.

* doc/emacs/commands.texi (Keys): Add 'C-x t'.
* doc/emacs/frames.texi (Tab Bars): Replace 'C-x 6' with 'C-x t'.
* doc/lispref/keymaps.texi (Prefix Keys): Add 'C-x t' (tab-prefix-map).
* doc/lispref/maps.texi (Standard Keymaps): Add tab-prefix-map, tab-bar-map.

* lisp/dired.el: Rebind 'C-x 6 d' to 'C-x t d'.  Use tab-prefix-map.

* lisp/subr.el (ctl-x-6-map, ctl-x-6-prefix, ctl-x-t-prefix): Remove.
(tab-prefix-map): New keymap bound to 'C-x t'.

* lisp/tab-bar.el: Use tab-prefix-map instead of ctl-x-6-map.

* lisp/textmodes/two-column.el: Restore autoload global setting of
"\C-x6" to 2C-command.

* lisp/ldefs-boot.el: Update to add setting "\C-x6" to 2C-command.

* doc/emacs/commands.texi (Keys):
* doc/emacs/text.texi (Two-Column):
* doc/lispref/keymaps.texi (Prefix Keys):
* doc/lispref/maps.texi (Standard Keymaps):
Restore 'C-x 6' bound to '2C-mode-map'.

5 years agoAdd ':extend t' face attribute to diff faces (bug#37774)
Juri Linkov [Sat, 19 Oct 2019 20:51:03 +0000 (23:51 +0300)]
Add ':extend t' face attribute to diff faces (bug#37774)

* lisp/vc/diff-mode.el (diff-header, diff-file-header)
(diff-removed, diff-added): Add ':extend t' face attribute.

* lisp/vc/ediff-init.el (ediff-current-diff-A)
(ediff-current-diff-B, ediff-current-diff-C)
(ediff-current-diff-Ancestor, ediff-even-diff-A)
(ediff-even-diff-B, ediff-even-diff-C, ediff-even-diff-Ancestor)
(ediff-odd-diff-A, ediff-odd-diff-B, ediff-odd-diff-C)
(ediff-odd-diff-Ancestor): Add ':extend t' face attribute.

* lisp/vc/smerge-mode.el (smerge-upper, smerge-lower)
(smerge-base, smerge-markers): Add ':extend t' face attribute.

* lisp/vc/log-view.el (log-view-file, log-view-message):
Add ':extend t' face attribute.

* lisp/faces.el (secondary-selection): Add ':extend t' face attribute.
(line-number-major-tick, line-number-minor-tick):
Change :foreground to :background.

5 years ago* lisp/net/tramp.el (tramp-antispoof-regexp): Fix version.
Glenn Morris [Sat, 19 Oct 2019 18:26:34 +0000 (11:26 -0700)]
* lisp/net/tramp.el (tramp-antispoof-regexp): Fix version.

5 years agoDon't downcase the key binding in global-set-key.
Alan Mackenzie [Sat, 19 Oct 2019 18:21:25 +0000 (18:21 +0000)]
Don't downcase the key binding in global-set-key.

This fixes bug #37769.

* lisp/subr.el (global-set-key): Provide a non-nil DONT-DOWNCASE argument to
read-key-sequence.

* etc/NEWS: Add an entry for this change.

5 years agoFix a recent change in Emacs FAQ
Eli Zaretskii [Sat, 19 Oct 2019 15:05:44 +0000 (18:05 +0300)]
Fix a recent change in Emacs FAQ

* doc/misc/efaq.texi (New in Emacs 23, Common requests):
Remove references to the removed section "Highlighting a
region".

5 years ago* doc/emacs/emacs.texi (Intro): Mention remote file editing.
Michael Albinus [Sat, 19 Oct 2019 13:25:45 +0000 (15:25 +0200)]
* doc/emacs/emacs.texi (Intro): Mention remote file editing.

5 years agoDon't explain FTP acronym in FAQ
Stefan Kangas [Sat, 19 Oct 2019 13:04:13 +0000 (15:04 +0200)]
Don't explain FTP acronym in FAQ

* doc/misc/efaq.texi (Common acronyms): Remove explanation of the FTP
acronym.  Emacs is no longer distributed over FTP, and the FAQ doesn't
refer to any other FTP URLs.

5 years agoRemove FAQ section "Highlighting a region" (Bug#37818)
Stefan Kangas [Fri, 18 Oct 2019 20:55:56 +0000 (22:55 +0200)]
Remove FAQ section "Highlighting a region" (Bug#37818)

* doc/misc/efaq.texi (Highlighting a region): Remove section.