1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00
Commit Graph

142311 Commits

Author SHA1 Message Date
Glenn Morris
a566e409d0 ; NEWS fix 2020-08-19 20:53:29 +01:00
Stefan Kangas
6e3bc3c684 Fix minor issues after recent world-clock rename
* lisp/time.el (world-clock-mode): Set 'revert-buffer-function'
buffer-locally rather than globally.
(display-time-world): Unobsolete alias for 'world-clock'.  Some users
might be used to the old name.
2020-08-19 20:39:27 +02:00
Eli Zaretskii
8c6765b37a ; * etc/NEWS: Fix a recently added entry. 2020-08-19 20:47:21 +03:00
Basil L. Contovounesios
f8d3d18168 ; Minor simplification of two recent changes 2020-08-19 15:02:43 +01:00
Noah Friedman
90e65c826f Make shell-resync-dirs handle whitespace in directory names
* lisp/shell.el (shell-resync-dirs): Correctly handle
whitespace in directory names (bug#23324).
2020-08-19 15:59:59 +02:00
Juri Linkov
33a72465b5 Allow searching interactively over completions in `M-x'
* lisp/simple.el (read-extended-command): Allow doing interactive
searches over the completions (bug#12490).  This restores the
behaviour from Emacs 23 that was lost in Emacs 24.
2020-08-19 15:52:08 +02:00
Grégoire Jadi
bdc5d38c7c Ensure `bibtex-set-dialect' is executed in bibtex buffers
* lisp/textmodes/bibtex.el (bibtex-mode): Call `bibtex-set-dialect'.
* test/automated/bibtex-tests.el: Add regression tests (bug#21764).
2020-08-19 15:36:08 +02:00
Robert Weiner
3d0e0d9e77 Make etags-list-tags work with Exuberant ctags
* lisp/progmodes/etags.el (etags-list-tags): Make the function
work with Exuberant ctags (bug#23400).
2020-08-19 15:28:32 +02:00
Anders Lindgren
dd6fa00fa3 Fix #'(lambda ...) font locking
* lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
Fontize #'(lambda ...) better (bug#23465).
2020-08-19 14:19:12 +02:00
Doug Gilmore
a7291a9fb9 Fix a segfault in daemon mode Emacs when detaching an X session
* src/xterm.c (x_uncatch_errors): Add a sanity check for
x_error_message (bug#23939).
2020-08-19 14:05:19 +02:00
Mattias Engdegård
1aacdf5aab Distinguish errors in bytecomp-tests
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-check-1)
(test-byte-opt-arithmetic, bytecomp-lexbind-check-1)
(bytecomp-lexbind-explain-1):
When comparing interpreted with compiled results, don't consider all
errors to be equal; take the error type into account.  (The error
arguments may differ, but there may be good reasons for that.)
2020-08-19 13:56:32 +02:00
Mattias Engdegård
a8fc4f7dca Make bytecomp-tests re-runnable
* test/lisp/emacs-lisp/bytecomp-tests.el
(test-byte-comp-macro-expand-lexical-override): Remove functions
before testing so that the test can be run twice without failing.
2020-08-19 13:56:32 +02:00
Tino Calancha
6a61d5edd0 Make thingatpt recognise files names with @ in them
* lisp/thingatpt.el (thing-at-point-file-name-chars): Add @
(Bug#24606).
2020-08-19 13:55:49 +02:00
Basil L. Contovounesios
bd3e2e8487 ; Fix last change to comint.el
* lisp/comint.el (comint-highlight-input): Add :version tag.
(comint-send-input): Fix indentation.
2020-08-19 12:47:51 +01:00
Tom Tromey
ed96a2121d Add a variable to control VC completion over branch names
* lisp/vc/vc-git.el (vc-git-revision-complete-only-branches): New
variable (bug#25710).
(vc-git-revision-table): Use it.
2020-08-19 13:38:44 +02:00
Michael Albinus
3b8dfc46ce Better check for multi-hops when calling direct async processes
* lisp/net/tramp-sh.el (tramp-multi-hop-p, tramp-compute-multi-hops):
Move them from here ...

* lisp/net/tramp.el (tramp-multi-hop-p, tramp-compute-multi-hops): ... here.
(tramp-direct-async-process-p): Use `tramp-compute-multi-hops'.
2020-08-19 13:19:19 +02:00
Michael Albinus
18e6a0b5c0 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2020-08-19 13:18:08 +02:00
Carlos Pita
c570a79a77 Don't override python font locking in comint
* lisp/comint.el (comint-highlight-input): New variable (bug#32344).
(comint-send-input): Use it.

* lisp/progmodes/python.el (inferior-python-mode): Set it.
2020-08-19 13:13:46 +02:00
Michael Albinus
10b997f8f5 ; * etc/NEWS: Fix typos. 2020-08-19 13:12:14 +02:00
Lars Ingebrigtsen
9e586ac1d1 Signal an end-of-file error upon errors when reading from stdin
* src/minibuf.c (read_minibuf_noninteractive): Signal an
`end-of-file' error when reading from stdin instead of a general
error (bug#34123).  This makes it easier to write code that
recovers from this situation.

Suggested by Noam Postavsky <npostavs@gmail.com>.
2020-08-19 12:55:46 +02:00
Noam Postavsky
dc90e62276 Let ido-everywhere turn on ido-mode
* lisp/ido.el (ido-everywhere): Turn on ido-mode, if it's not already
on.  Otherwise, having ido-everywhere enabled messes all file and
buffer reading interactive commands (bug#34292).
2020-08-19 12:49:11 +02:00
Lars Ingebrigtsen
ba8cce26c8 Fix the [ command in speedbar mode
* lisp/speedbar.el (speedbar-expand-line-descendants): Expand only
the current line -- not all subsequent lines in the speedbar
buffer (bug#35014).
2020-08-19 12:45:05 +02:00
Sebastian Urban
b4e76ac077 Fix a page-break in the middle of a keystroke in basic.texi
* doc/emacs/basic.texi (Inserting Text): Avoid having the C-x 8 ]
keystroke broken over two pages in the PDF version (bug#35885).
2020-08-19 12:15:07 +02:00
Lars Ingebrigtsen
9c17df59a3 Remove some compat code from viper-cmd.el 2020-08-19 11:37:26 +02:00
Lars Ingebrigtsen
c23fddbc30 Remove some compat code from ispell.el
* lisp/textmodes/ispell.el (ispell): transient-mark-mode and
mark-active are always bound, so remove the check.
2020-08-19 11:34:54 +02:00
Lars Ingebrigtsen
87ded4c96d Remove some compat code from erc
* lisp/erc/erc.el (erc-mode): next-line-add-newlines is always
defined, so remove the check.
2020-08-19 11:32:56 +02:00
Alan Third
92ec47981a Get rid of build-time checks around NS tabbar code (bug#33118)
* src/nsterm.m ([EmacsView initFrameFromEmacs:]): Get rid of version
checks.
2020-08-18 22:43:21 +01:00
Lars Ingebrigtsen
411a6fd290 Remove some compat code from viper-*.el
* lisp/emulation/viper-util.el (viper-check-minibuffer-overlay):
* lisp/emulation/viper-cmd.el (viper-minibuffer-standard-hook)
(viper-minibuffer-real-start, viper-submit-report): No need to
check whether minibuffer-prompt-end is defined.
2020-08-18 23:33:58 +02:00
Lars Ingebrigtsen
cb202551f7 Remove some compat code from descr-text.el
* lisp/descr-text.el (describe-text-properties-1): button.el is
pre-loaded, so remove check for it.
2020-08-18 23:23:42 +02:00
Lars Ingebrigtsen
b906ef38fc Remove some compat code from viper-cmd.el
* lisp/emulation/viper-cmd.el (viper-next-line-at-bol): No need to
check for button-at.
2020-08-18 23:22:36 +02:00
Lars Ingebrigtsen
556ff983e7 Remove some compat code from ps-print.el
* lisp/ps-print.el: Don't make a face-list alias.
2020-08-18 23:19:09 +02:00
Lars Ingebrigtsen
80a4282429 Remove some compat code from forms.el
* lisp/forms.el (forms-mode): make-face always exists.
2020-08-18 23:19:09 +02:00
Lars Ingebrigtsen
1a31051069 Remove some compat code from smiley.el
* lisp/gnus/smiley.el (smiley-style): face-attribute is always defined.
2020-08-18 23:19:09 +02:00
Lars Ingebrigtsen
ace7eeb505 Remove some compat code from chart.el
* lisp/emacs-lisp/chart.el (chart-face-list):
set-face-background-pixmap is always defined.
2020-08-18 23:19:09 +02:00
Lars Ingebrigtsen
3c76397bbc Remove some compat code from htmlfontify.el
* lisp/htmlfontify.el (hfy-color-vals): color-values is always
defined.
2020-08-18 23:19:09 +02:00
Lars Ingebrigtsen
66d8322e03 Remove some compat code from ps files
* lisp/ps-def.el (ps-color-device): Ditto.

* lisp/ps-print.el (ps-color-scale): Make into an obsolete alias.
(ps-begin-job): Adjust caller.

* lisp/progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate): Ditto.
2020-08-18 23:19:09 +02:00
Lars Ingebrigtsen
5a6ed46c74 Remove some compat code from woman.el
* lisp/woman.el (woman-fontify): Don't check for functions always
defined.
2020-08-18 23:19:09 +02:00
Basil L. Contovounesios
a9086efcf1 Replace last uses of idlwave-get-buffer-visiting
* lisp/progmodes/idlw-help.el (idlwave-help-with-source):
* lisp/progmodes/idlw-shell.el (idlwave-shell-set-bp-in-module)
(idlwave-shell-delete-temp-files, idlwave-shell-save-and-action):
Replace last occurrences of deprecated idlwave-get-buffer-visiting
with now-equivalent find-buffer-visiting.
2020-08-18 21:32:26 +01:00
Stefan Kangas
442a945df7 * lisp/vt-control.el: Use lexical-binding. 2020-08-18 21:20:16 +02:00
Philip K
f45e79233c Fix Libravatar federation handling
* lisp/image/gravatar.el (gravatar--service-libravatar): Implement
correct algorithm (bug#40354).
2020-08-18 21:19:21 +02:00
Philip K
ea0e09cf2c Fix Libravatar federation handling
* lisp/image/gravatar.el (gravatar--service-libravatar): Implement
correct algorithm (bug#40354).
2020-08-18 21:18:06 +02:00
Robert Pluim
b4f05274c7 Fix truncated command names in process-attributes under Macos
* src/sysdep.c (system_process_attributes): Fix truncation of
command names in process-attributes under Macos (bug#36287).
2020-08-18 20:31:42 +02:00
Stefan Kangas
c70b5e8ad0 Rearrange and clean up code in time.el (Bug#40863)
* lisp/time.el (world-clock, zoneinfo-style-world-list)
(legacy-style-world-list, world-clock-list)
(time--display-world-list, world-clock-time-format)
(world-clock-timer-enable, world-clock-timer-second): Move definitions
closer to 'world-clock' code.  Remove redundant :group args.

(display-time-mail-file, display-time-mail-directory)
(display-time-mail-function)
(display-time-default-load-average)
(display-time-load-average-threshold, display-time-day-and-date)
(display-time-interval, display-time-24hr-format)
(display-time-hook, display-time-mail-face)
(display-time-use-mail-icon, display-time-mail-string)
(display-time-format, display-time-string-forms): Remove redundant
:group args.
2020-08-18 20:16:51 +02:00
Stefan Kangas
d8d04e309d Rename 'display-time-world' to 'world-clock' (Bug#40863)
* lisp/time.el (world-clock-list, world-clock-time-format)
(world-clock-buffer-name, world-clock-timer-enable)
(world-clock-timer-second, world-clock-label, world-clock-mode)
(world-clock-display, world-clock, world-clock-update): Rename
from 'display-time-world-*' and update all uses.

(world-clock): New defgroup.
(zoneinfo-style-world-list, legacy-style-world-list): Use :group
'world-clock'.

(display-time-world-list, display-time-world-time-format)
(display-time-world-buffer-name)
(display-time-world-timer-enable)
(display-time-world-timer-second): Make into obsolete variable
aliases for the new names.

* lisp/time.el (display-time-world-mode)
(display-time-world-display, display-time-world)
(display-time-world-timer): Make into obsolete function aliases
for the new names.

* etc/NEWS: Announce the above changes.
2020-08-18 20:16:51 +02:00
Stefan Kangas
64da2e8096 Improve display-time-world UI (Bug#40863)
* lisp/time.el (display-time-world-mode): Set 'revert-buffer-function'
to 'display-time-world-timer'.

(display-time-world-label): New face.
(display-time-world-display): Use the new face.  Move point to new
buffer on creation and resize.
2020-08-18 20:16:51 +02:00
Stefan Kangas
070c60665e Remove the "Recent message" section from the bug reports
* lisp/mail/emacsbug.el (report-emacs-bug): Don't include "Recent
messages" since it has privacy implications.  Problem reported by
Lars Ingebrigtsen in:
https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg01099.html
(bug#39185).
2020-08-18 20:16:06 +02:00
Lars Ingebrigtsen
8d0f8a8a36 srecode-utest-project test should now work on Hydra, hopefully 2020-08-18 20:10:44 +02:00
Lars Ingebrigtsen
206ce48fb0 Fix a big in the srecore test setup
* test/lisp/cedet/srecode-utest-template.el
(srecode-utest-project): Set the current directory in the project
so that we'll find it later (bug#42533).  The in-project directory
is /tmp, which is not actually what it is on many machines that
have the temporary directory somewhere else.
2020-08-18 11:06:53 -07:00
Stefan Kangas
a711f70125 * lisp/savehist.el: Doc fix. 2020-08-18 19:02:52 +02:00
Pip Cet
495aa532f1 Fix minor bugs in image.c
* test/src/image-tests.el (image-test-circular-specs): New file.
* src/image.c (parse_image_spec): Return failure for circular lists.
(valid_image_p): Don't look at odd-numbered list elements expecting to
find a property name.
(image_spec_value): Handle circular lists.
(equal_lists): Introduce.
(search_image_cache): Use `equal_lists' (bug#36403).
2020-08-18 18:27:05 +02:00