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
Philip K
52d7aa76b1
Fix issues with OpenPGP header
...
* doc/misc/message.texi (OpenPGP Header): Mention correct hook
* lisp/gnus/message.el (message-openpgp-header): Improve customize type
(message-add-openpgp-header): Insert header into correct buffer
(bug#42913).
2020-08-18 18:06:13 +02:00
Kalle Olavi Niemitalo
4670969e67
Fix buffer overflow in x-send-client-message
...
* xselect.c (x_fill_property_data): Add parameter NELEMENTS_MAX.
* xterm.h (x_fill_property_data): Update prototype.
* xselect.c (Fx_send_client_event): Update call. This fixes
a buffer overflow in event.xclient.data.
* xfns.c (Fx_change_window_property): Update call (bug#23482).
Copyright-paperwork-exempt: yes
2020-08-18 17:05:08 +02:00
Glenn Morris
06738a40d1
Merge from origin/emacs-27
...
362ca83a3b (origin/emacs-27) Let Emacs start even if curdir is inacce...
dd989c0ea0 * etc/NEWS: Mention GnuPG 2.0 through 2.1.5 issue (Bug#428...
4542b750cc Fix bug with ~/Emacs file not being read at init
9b403d624e ; Fix last change
6bff65a626 ; * doc/lispref/sequences.texi (Sequence Functions): Typo ...
3c4edfd85e Prevent from frozen frame after `C-z' in Lucid builds
98e8241992 Document the 'flex' completion style
19fa8b7ca3 Note that Emacs needs systemd support if systemd is used t...
# Conflicts:
# etc/NEWS
2020-08-18 07:51:08 -07:00
Glenn Morris
192247bb04
; Merge from origin/emacs-27
...
The following commit was skipped:
8ff5e346fe Regexps cannot infloop; fix manual
2020-08-18 07:51:07 -07:00
Glenn Morris
013ddd1e5d
Merge from origin/emacs-27
...
cf0ee6f49b ; spelling fixes
16f4f26632 Fix startup working dir bug on NeXTSTEP
2020-08-18 07:51:05 -07:00
Lars Ingebrigtsen
23e6c36645
Implement a cache for all types of gravatars
...
* lisp/image/gravatar.el (gravatar-automatic-caching): Made obsolete.
(gravatar-cache-ttl): Ditto.
(gravatar--cache): New variable to cache gravatars in-memory.
(gravatar-retrieve): Maintain the cache.
(gravatar--prune-cache): Remove old entries.
(gravatar-retrieved): Remove use of the old-style cache (bug#40355).
2020-08-18 16:45:29 +02:00
Clément Pit-Claudel
82893e9e8e
Fix ert ability to peek inside structures when comparing unequal values
...
* lisp/emacs-lisp/ert.el (ert--explain-equal-rec): Treat records
as arrays (bug#40562). Also add support for cl-structs.
2020-08-18 16:06:35 +02:00
Stefan Kangas
21c580566e
Remove reference to Emacs Lisp List from FAQ
...
* doc/misc/efaq.texi (Packages that do not come with Emacs): Remove
reference to Emacs Lisp List. (Bug#41681)
2020-08-18 15:49:52 +02:00
Lars Ingebrigtsen
901dabf7fc
Add NEWS entry for the count-lines change
2020-08-18 15:35:56 +02:00
Jen-Chieh Shen
a9603c77f8
Add optional ALL-FRAMES arfument to count-windows
...
* lisp/window.el (count-windows): Allow counting the windows on
all frames (bug#42872).
2020-08-18 15:25:27 +02:00
Stefan Kangas
ae098c3e72
Rename new option to flyspell-use-mouse-3-for-menu
...
* lisp/textmodes/flyspell.el (flyspell-use-mouse-3-for-menu): Rename
from 'flyspell-correct-on-mouse-3'. The previous name did not make it
clear that it's about opening a menu. (Bug#11680)
(flyspell--set-use-mouse-3-for-menu): Rename from
'flyspell--set-correct-on-mouse-3'. Bind menu to 'down-mouse-3'
instead of 'mouse-3' to be more in line with user expectations.
(flyspell-mode): Use the above new names.
* doc/emacs/fixit.texi (Spelling):
* etc/NEWS: Update documentation to use the new name.
Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2020-08-18 12:49:36 +02:00
Lars Ingebrigtsen
e0c19e8dce
Trim titles in eww so that the host from the URL is visible
...
* lisp/net/eww.el (eww-update-header-line-format): Trim the line
of the title so that the host bit of the URL is visible (bug#42898).
2020-08-18 12:31:22 +02:00
Lars Ingebrigtsen
75233e3ee0
Remove some compat code from esh-io.el
...
* lisp/eshell/esh-io.el (eshell-set-output-handle): Remove check
for null-device, which is always bound.
2020-08-18 12:12:02 +02:00
Lars Ingebrigtsen
e0e3fe4e7d
Remove some compat code from ediff
...
* lisp/vc/ediff-init.el (ediff-convert-standard-filename): Make
obsolete.
* lisp/vc/ediff-util.el (ediff-setup): Adjust callers.
(ediff-make-temp-file): Ditto.
2020-08-18 12:10:29 +02:00
Lars Ingebrigtsen
9384674aa3
Remove some compat code from ede/make.el and semantic/dep.el
...
* lisp/cedet/ede/make.el (ede--find-executable): Make obsolete.
(ede-make-command): Adjust caller.
* lisp/cedet/semantic/dep.el
(semantic--dependency-find-file-on-path): Make obsolete.
(semantic-dependency-find-file-on-path): Adjust callers.
2020-08-18 12:08:11 +02:00
Lars Ingebrigtsen
033f98efc3
Remove some compat code from python.el
...
* lisp/progmodes/python.el: Remove some compat function definitions.
2020-08-18 12:02:58 +02:00
Lars Ingebrigtsen
60f045b893
Remove some compat code from binhex.el and uudecode.el
...
* lisp/mail/binhex.el (binhex-temporary-file-directory): Make obsolete.
(binhex-decode-region-external): Adjust usage.
* lisp/mail/uudecode.el (uudecode-temporary-file-directory): Make
obsolete.
(uudecode-decode-region-external): Adjust usage.
2020-08-18 12:01:09 +02:00
Lars Ingebrigtsen
848a38adcb
Remove some compat code from ispell.el
...
* lisp/textmodes/ispell.el (ispell-check-version): Remove check
for temporary-file-directory, which is always defined.
2020-08-18 11:57:39 +02:00
Lars Ingebrigtsen
c64fcb8ab5
Remove some compat code from uudecode.el
...
* lisp/mail/uudecode.el (uudecode-decode-region-external): Remove
check for make-temp-file, which is always defined.
2020-08-18 11:56:39 +02:00
Lars Ingebrigtsen
85f0e3df73
Remove some compat code from ediff-util.el
...
* lisp/vc/ediff-util.el (ediff-minibuffer-with-setup-hook): Make
into an obsolete macro.
(ediff-read-file-name): Adjust caller.
2020-08-18 11:55:29 +02:00
Lars Ingebrigtsen
8d7a7c16a8
Remove XEmacs compat code from idlwave.el
...
idlwave.el: (idlwave-comment-line-start-skip, idlwave-mode-map)
(idlwave-mode, idlwave-get-buffer-visiting)
(idlwave-find-file-noselect, idlwave-complete-in-buffer)
(idlwave-attach-classes, idlwave-popup-select)
(idlwave-split-menu-emacs, idlwave-display-completion-list)
(idlwave-default-choose-completion)
(idlwave-display-completion-list-emacs)
(idlwave-display-completion-list-1)
(idlwave-make-modified-completion-map-emacs)
(idlwave-class-file-or-buffer, idlwave-rinfo-mouse-map)
(idlwave-display-calling-sequence)
(idlwave-insert-source-location)
(idlwave-list-load-path-shadows, idlwave-edit-in-idlde): Remove
XEmacs compat code.
2020-08-18 11:53:21 +02:00
Lars Ingebrigtsen
b14c1b5473
Remove some compat code from window.el
...
* lisp/window.el (window-fixed-size-p): Remove check for
window-size-fixed, which is always defined.
2020-08-18 11:32:06 +02:00
Lars Ingebrigtsen
fdd388d311
Remove some compat code from idlwave.el
...
* lisp/progmodes/idlwave.el (idlwave-one-key-select): Remove check
from fit-window-to-buffer, which always exists.
2020-08-18 11:27:17 +02:00
Lars Ingebrigtsen
e6e59a349b
Remove come compat code from rmailedit.el
...
* lisp/mail/rmailedit.el (rmail-edit-mode): Remove check for
mode-line-modified, which is always defined.
2020-08-18 11:25:05 +02:00
Lars Ingebrigtsen
128b04fca0
Remove some compat code from erc-track.el
...
* lisp/erc/erc-track.el (erc-track-remove-from-mode-line)
(erc-track-add-to-mode-line): Remove check for mode-line-modes,
which is always bound.
2020-08-18 11:23:47 +02:00