]>
git.eshelyaron.com Git - emacs.git/log
Stefan Kangas [Wed, 24 Aug 2022 06:05:18 +0000 (08:05 +0200)]
Merge skicons.el with icons.el
Stefan Kangas [Sun, 17 Jul 2022 17:05:29 +0000 (19:05 +0200)]
Use material icons in main toolbar
Stefan Kangas [Sun, 17 Jul 2022 17:06:13 +0000 (19:06 +0200)]
Use material icons in mpc toolbar
Stefan Kangas [Sun, 17 Jul 2022 15:47:08 +0000 (17:47 +0200)]
Support using icons.el in toolbar
Stefan Kangas [Sun, 17 Jul 2022 13:20:08 +0000 (15:20 +0200)]
Require octicons and material
Stefan Kangas [Sat, 9 Oct 2021 03:30:43 +0000 (05:30 +0200)]
Support icons in compilation mode
* lisp/progmodes/compile.el (compilation-mode-line-icons): New
user option.
(compile--get-compilation-mode-line-errors): New function.
(compilation-mode-line-errors): Turn into defvar.
Stefan Kangas [Tue, 28 Sep 2021 21:57:56 +0000 (23:57 +0200)]
Import Material design icons
* lisp/icons-material.el:
* etc/images/material/**/*.svg: New files.
Stefan Kangas [Fri, 8 Oct 2021 22:49:20 +0000 (00:49 +0200)]
New function to import the material icon set
* admin/admin.el (admin-icons-update-material-icons): New function
to import the material icon set.
Stefan Kangas [Wed, 6 Oct 2021 06:21:55 +0000 (08:21 +0200)]
Factor out new function admin--read-root-directory
* admin/admin.el (admin--read-root-directory): Factor out...
(add-release-logs, set-version, set-copyright)
(make-manuals-dist): ...from here.
Stefan Kangas [Tue, 28 Sep 2021 21:38:41 +0000 (23:38 +0200)]
Add new icon set "octicons"
* etc/images/octicons/LICENSE:
* etc/images/octicons/README:
* etc/images/octicons/*.svg:
* lisp/icons-octicons.el: New files.
Stefan Kangas [Tue, 28 Sep 2021 21:40:29 +0000 (23:40 +0200)]
New library icons.el adds support for icon sets
* lisp/icons.el:
* test/lisp/icons-tests.el: New files.
* test/lisp/icons-resources/*: New resource files for tests.
Stefan Kangas [Wed, 24 Aug 2022 04:38:36 +0000 (06:38 +0200)]
Make mh-colors-available-p obsolete
* lisp/mh-e/mh-utils.el (mh-colors-available-p): Redefine as
obsolete function alias for 'display-color-p'.
Stefan Kangas [Wed, 24 Aug 2022 04:06:39 +0000 (06:06 +0200)]
Prefer saying "init file" to ".emacs" in FAQ
* doc/misc/efaq.texi: Prefer saying "init file" to
".emacs". (Bug#49424)
Stefan Kangas [Wed, 24 Aug 2022 03:26:18 +0000 (05:26 +0200)]
; Sort list of generalized variables
* doc/lispref/variables.texi (Setting Generalized Variables): Sort
list of generalized variables alphabetically.
Stefan Kangas [Tue, 5 Oct 2021 17:52:23 +0000 (19:52 +0200)]
Use substitute-command-keys in a few more places
* lisp/indent.el (edit-tab-stops):
* lisp/printing.el (pr-help-message, pr-show-setup):
* lisp/progmodes/cperl-mode.el (cperl-narrow-to-here-doc): Use
substitute-command-keys.
Stefan Kangas [Tue, 23 Aug 2022 18:27:56 +0000 (20:27 +0200)]
Move generalized variable `substring' doc to elisp manual
* doc/misc/cl.texi (Setf Extensions): Move documentation on
'substring' generalized variable from here...
* doc/lispref/variables.texi (Setting Generalized Variables):
...to here.
Stefan Kangas [Tue, 23 Aug 2022 18:15:49 +0000 (20:15 +0200)]
Move generalized variable docs to elisp manual
* doc/misc/cl.texi (Setf Extensions): Delete documentation on obsolete
generalized variable 'buffer-substring'. Move documentation on
generalized variables from here...
* doc/lispref/variables.texi (Setting Generalized Variables):
...to here. These variables have already been moved to gv.el.
Eli Zaretskii [Tue, 23 Aug 2022 16:30:18 +0000 (19:30 +0300)]
; * src/buffer.h (struct buffer_text): Improve commentary.
Stefan Kangas [Tue, 23 Aug 2022 16:16:01 +0000 (18:16 +0200)]
Update documentation for obsolete generalized variables
* doc/misc/cl.texi (Setf Extensions): Delete obsolete generalized
variables from list.
* etc/NEWS: Fix sorting of obsolete generalized variables.
Gregory Heytings [Tue, 23 Aug 2022 15:41:05 +0000 (15:41 +0000)]
Improve detection of long lines.
* src/buffer.h (struct buffer_text): New field.
(BUF_CHARS_UNCHANGED_MODIFIED, CHARS_UNCHANGED_MODIFIED): New macros.
* src/buffer.c (Fget_buffer_create): Initialize the new field.
* src/xdisp.c (mark_window_display_accurate_1): Set the new field.
(redisplay_window): Use it, together with CHARS_MODIFF, instead of
MODIFF and UNCHANGED_MODIFIED to decide whether to check for long
lines.
* src/pdumper.c (dump_buffer): Dump the new field.
Stefan Kangas [Tue, 23 Aug 2022 15:41:47 +0000 (17:41 +0200)]
; * etc/NEWS: Remove redundant headlines.
This is all about the new Haiku support, so it can be under the same
headline.
Lars Ingebrigtsen [Tue, 23 Aug 2022 15:04:43 +0000 (17:04 +0200)]
Add NEWS entry about obsoleted generalized variables
Stefan Kangas [Tue, 23 Aug 2022 14:34:01 +0000 (16:34 +0200)]
Make XEmacs compat alias face-background-pixmap obsolete
* lisp/faces.el (face-background-pixmap)
(set-face-background-pixmap): Make XEmacs compat aliases obsolete in
favor of 'face-stipple' and 'set-face-stipple'. Update callers.
* lisp/emacs-lisp/gv.el (face-background-pixmap): Make XEmacs
alias obsolete as a generalized variable.
(face-stipple): New generalized variable.
* doc/misc/cl.texi (Setf Extensions): Refer to above new generalized
variable instead of the obsolete one.
Stefan Kangas [Tue, 23 Aug 2022 14:20:25 +0000 (16:20 +0200)]
; Minor doc fix in easy-menu-{add,remove}
* lisp/emacs-lisp/easymenu.el (easy-menu-remove, easy-menu-add):
Minor doc fix: don't explain what this does in XEmacs.
Stefan Monnier [Tue, 23 Aug 2022 14:15:48 +0000 (10:15 -0400)]
* lisp/progmodes/elisp-mode.el (elisp--local-variables-1): Fix bug#50034
Don't burp if the arg list of a function is not actually a list.
Stefan Kangas [Tue, 23 Aug 2022 13:56:32 +0000 (15:56 +0200)]
Make Emacs 20 compat alias obsolete in eudcb-ldap.el
* lisp/net/eudcb-ldap.el (eudc-ldap-get-host-parameter): Make
Emacs 20 compat alias obsolete.
Gerd Möllmann [Tue, 23 Aug 2022 13:50:25 +0000 (15:50 +0200)]
Fix pixel-scroll-precision in a corner case
* lisp/pixel-scroll.el (pixel-scroll-precision-scroll-up-page): Handle
case that point cannot be found.
(pixel-scroll-precision-scroll-up): Handle case that window is one line high
(bug#57349)
Po Lu [Tue, 23 Aug 2022 12:56:12 +0000 (20:56 +0800)]
; * src/xterm.c (x_free_frame_resources): Fix typo.
Po Lu [Tue, 23 Aug 2022 12:52:41 +0000 (20:52 +0800)]
Make frame synchronization conditional on clock_gettime
* src/xfns.c (x_set_parent_frame)
(x_set_use_frame_synchronization):
* src/xterm.c (x_update_begin, show_back_buffer, x_update_end)
(x_display_set_last_user_time, handle_one_xevent):
* src/xterm.h (struct x_output): Define out vsync code when
!HAVE_CLOCK_GETTIME. (bug#57346)
Po Lu [Tue, 23 Aug 2022 12:42:28 +0000 (20:42 +0800)]
Make frame synchronization conditional on clock_gettime
* src/xfns.c (x_set_parent_frame)
(x_set_use_frame_synchronization):
* src/xterm.c (x_update_begin, show_back_buffer, x_update_end)
(x_display_set_last_user_time, handle_one_xevent):
* src/xterm.h (struct x_output): Define out vsync code when
!HAVE_CLOCK_GETTIME.
Lars Ingebrigtsen [Tue, 23 Aug 2022 10:49:13 +0000 (12:49 +0200)]
Disable a lisp-mode test that now fails
* test/lisp/emacs-lisp/lisp-mode-tests.el
(test-lisp-current-defun-name): Comment-out now-failing tests.
Lars Ingebrigtsen [Tue, 23 Aug 2022 10:26:24 +0000 (12:26 +0200)]
Revert the changes to lisp-current-defun-name
* lisp/emacs-lisp/lisp-mode.el (lisp-current-defun-name): Revert
back to the old version before bug#49592. The new approach just
doesn't work well enough -- we don't really have the data to know
that, say, `make-obsolete-variable' is about the second symbol and
not the first.
Lars Ingebrigtsen [Tue, 23 Aug 2022 10:23:09 +0000 (12:23 +0200)]
Don't mention obsolete generalized variables in *Help*
* lisp/help-fns.el (help-fns--generalized-variable): Don't mention
obsolete ones.
Lars Ingebrigtsen [Tue, 23 Aug 2022 10:22:42 +0000 (12:22 +0200)]
Make buffer-local-value obsolete as a generalized variable
* lisp/electric.el (electric-indent-local-mode)
(electric-layout-local-mode, electric-quote-local-mode):
* lisp/elec-pair.el (electric-pair-local-mode): Adjust usage.
* lisp/emacs-lisp/gv.el (make-obsolete-generalized-variable): Move
since we're using it earlier in the file.
(buffer-local-value): Make obsolete as a generalized variable
since the semantics are unclear (bug#26624).
Thierry Volpiatto [Tue, 23 Aug 2022 10:03:22 +0000 (12:03 +0200)]
Fix wdired with (dired '(dir f1 f2 ...))
* lisp/wdired.el (wdired-finish-edit): Fix wdired with (dired
'(dir f1 f2 ...)) (bug#57334).
Stefan Kangas [Tue, 23 Aug 2022 04:30:36 +0000 (06:30 +0200)]
Merge from origin/emacs-28
1dd0a5c5db ; * doc/misc/htmlfontify.texi: Fix version.
Augusto Stoffel [Mon, 22 Aug 2022 16:16:50 +0000 (18:16 +0200)]
Fix completion-predicate of Python shell commands
* lisp/progmodes/python.el: Change some completion predicates.
(python-shell--completion-predicate): New completion predicate
function. (Bug#57184)
Stefan Kangas [Tue, 23 Aug 2022 02:54:57 +0000 (04:54 +0200)]
Make point-at-eol and point-at-bol obsolete
* lisp/subr.el (point-at-eol, point-at-bol): Make XEmacs compat
aliases obsolete in favor of `pos-bol'/'line-beginning-position' or
'pos-eol'/'line-end-position'. Update callers.
Ref: https://lists.gnu.org/r/emacs-devel/2022-08/msg00853.html
Po Lu [Tue, 23 Aug 2022 01:30:25 +0000 (09:30 +0800)]
Allow disabling the input extension at runtime on GTK 3
* src/xterm.c (xi_check_toolkit): New function.
(x_term_init): Do not enable the input extension should that
fail.
Lars Ingebrigtsen [Mon, 22 Aug 2022 17:22:27 +0000 (19:22 +0200)]
Fix some no-X build warnings
* lisp/cus-edit.el (fringe-bitmap-p): Autoload.
* lisp/image.el (clear-image-cache): Declare.
* lisp/mouse.el (dnd-begin-file-dram): Autoload.
* lisp/thumbs.el (image-supported-file-p): Declare (bug#57342).
* lisp/mail/rmailmm.el (rmail-mime-set-bulk-data):
* lisp/emacs-lisp/icons.el (icons--create): Avoid warnings on no-X
builds.
Eli Zaretskii [Mon, 22 Aug 2022 16:24:29 +0000 (19:24 +0300)]
; * doc/lispref/commands.texi (Interactive Codes): Fix punctuation.
Michael Albinus [Mon, 22 Aug 2022 14:56:57 +0000 (16:56 +0200)]
auth-source: Fix wrong-type-argument when searching secret services
`auth-source-search' can be called with an integer port number,
while the backend implementation doesn't allow non-string attributes.
* doc/misc/auth.texi (Secret Service API): Attribute values are
stringified.
* lisp/auth-source.el (auth-source-secrets-search):
Ensure attributes are string. (Bug#55199)
Stefan Kangas [Mon, 22 Aug 2022 14:30:29 +0000 (16:30 +0200)]
; * doc/misc/htmlfontify.texi: Fix version.
Lars Ingebrigtsen [Mon, 22 Aug 2022 14:02:50 +0000 (16:02 +0200)]
Link the "f" interactive spec to `read-file-name' in the manual
* doc/lispref/commands.texi (Interactive Codes): Link to the
Reading File Names node.
Robert Pluim [Mon, 22 Aug 2022 12:33:02 +0000 (14:33 +0200)]
Use the attributes of frame's monitor for gamegrid
* lisp/play/gamegrid.el (gamegrid-calculate-glyph-size): Use the
monitor where the current frame is displayed rather than the primary
monitor.
Stefan Kangas [Sun, 21 Aug 2022 16:28:43 +0000 (18:28 +0200)]
Prefer pos-bol and pos-eol in tabulated-list.el
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print)
(tabulated-list-print-entry, tabulated-list-delete-entry)
(tabulated-list-set-col, tabulated-list-previous-column): Prefer
pos-bol and pos-eol.
Stefan Kangas [Sun, 21 Aug 2022 16:21:46 +0000 (18:21 +0200)]
; * lisp/emacs-lisp/shortdoc.el (buffer): Improve sorting.
Lars Ingebrigtsen [Mon, 22 Aug 2022 12:57:34 +0000 (14:57 +0200)]
Make ispell-find-hunspell-dictionaries more resilient
* lisp/textmodes/ispell.el (ispell-find-hunspell-dictionaries):
Try harder to find the dictionary (bug#49982).
Lars Ingebrigtsen [Mon, 22 Aug 2022 12:02:34 +0000 (14:02 +0200)]
Fix indent-tabs-mode globality
* lisp/simple.el (indent-tabs-mode): This is not a global mode, so
don't claim it is (bug#49971).
Lars Ingebrigtsen [Mon, 22 Aug 2022 11:53:33 +0000 (13:53 +0200)]
Make the size of elements the same in pgtk and X in tetris
* lisp/play/gamegrid.el (gamegrid-glyph-height-mm): Decrease
height a bit (since it wasn't really that height).
(gamegrid-calculate-glyph-size): Change calculation to work on
both X and pgtk (bug#49937).
(gamegrid-make-glyph): Inhibit image scaling.
Lars Ingebrigtsen [Mon, 22 Aug 2022 11:00:36 +0000 (13:00 +0200)]
Remove probably debugging code in reb-fontify-string-re
* lisp/emacs-lisp/re-builder.el (reb-fontify-string-re): Remove
code that looks like left-over debugging code. This fixes a
compilation warning.
Lars Ingebrigtsen [Mon, 22 Aug 2022 10:48:37 +0000 (12:48 +0200)]
Make start/end in libxml-parse-html-region optional
* doc/lispref/text.texi (Parsing HTML/XML): Adjust.
* src/xml.c (parse_region): Default start/end to point-min/point-max.
(Flibxml_parse_html_region, Flibxml_parse_xml_region): Make
start/end optional.
Lars Ingebrigtsen [Mon, 22 Aug 2022 10:18:09 +0000 (12:18 +0200)]
Fix defcustom type of auto-save-file-name-transforms
* lisp/files.el (auto-save-file-name-transforms): Fix the
defcustom type (bug#57321).
Gerd Möllmann [Mon, 22 Aug 2022 09:18:30 +0000 (11:18 +0200)]
LLDB support: handle unsorted enum member lists
* etc/emacs_lldb.py (enumerator_name): Handle the case that enum
member list is not sorted by value.
Andrea Corallo [Mon, 22 Aug 2022 08:29:18 +0000 (10:29 +0200)]
* lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Fix some type spec
Stefan Kangas [Mon, 22 Aug 2022 04:30:29 +0000 (06:30 +0200)]
Merge from origin/emacs-28
582ea6a1e9 Update to Org 9.5.4-19-g4dff42
7a3ae3cb62 ; * lisp/find-file.el (ff-other-file-alist): Fix typo.
c3087b59f0 ; * lisp/find-file.el (ff-other-file-alist): Another doc f...
1e1263b00b * lisp/find-file.el (ff-other-file-alist): Doc fix. (Bug#...
Po Lu [Mon, 22 Aug 2022 01:50:45 +0000 (09:50 +0800)]
Fix child frame focus for MPX environments
* src/xterm.c (handle_one_xevent): Set child frame click-to
focus on the pointer device's attachment.
Gonzalo Larumbe [Sun, 21 Aug 2022 23:29:08 +0000 (01:29 +0200)]
Fix more lexical-binding fallout in vhdl-speedbar-insert-hierarchy
* lisp/progmodes/vhdl-mode.el (vhdl-speedbar-insert-hierarchy):
Check the input arguments, not the dynamically bound `end-arglist'
(bug#57327).
Lars Ingebrigtsen [Sun, 21 Aug 2022 22:37:29 +0000 (00:37 +0200)]
Make *Help* display info about generalized variables
* lisp/help-fns.el (help-fns--generalized-variable): New function
to document generalized variables.
Lars Ingebrigtsen [Sun, 21 Aug 2022 22:14:07 +0000 (00:14 +0200)]
Revert "Make the generalized buffer-local-variable obsolete"
This reverts commit
bfe222288e02472bff0e1ab5ba7ef26af6a2769a .
This led to the local modes not working.
Lars Ingebrigtsen [Sun, 21 Aug 2022 21:38:20 +0000 (23:38 +0200)]
Regenerated ldefs-boot.el
Lars Ingebrigtsen [Sun, 21 Aug 2022 21:38:09 +0000 (23:38 +0200)]
Make the generalized buffer-local-variable obsolete
* lisp/paren.el (show-paren-local-mode):
* lisp/electric.el (electric-indent-local-mode)
(electric-layout-local-mode, electric-quote-local-mode):
* lisp/elec-pair.el (electric-pair-local-mode): Don't use it.
* lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Autoload.
* lisp/emacs-lisp/gv.el (buffer-local-variable): Make obsolete
(bug#26624).
* lisp/emacs-lisp/gv.el (make-obsolete-generalized-variable): Move
to allow usage.
Kyle Meyer [Sun, 21 Aug 2022 21:25:39 +0000 (17:25 -0400)]
Update to Org 9.5.4-19-g4dff42
Stefan Kangas [Sun, 21 Aug 2022 20:31:05 +0000 (22:31 +0200)]
; * lisp/find-file.el (ff-other-file-alist): Fix typo.
Lars Ingebrigtsen [Sun, 21 Aug 2022 20:18:49 +0000 (22:18 +0200)]
Adjust autorevert tests to recent change
* test/lisp/autorevert-tests.el (auto-revert--wait-for-revert):
Adjust test to code change.
Lars Ingebrigtsen [Sun, 21 Aug 2022 20:12:43 +0000 (22:12 +0200)]
Make many seldom-used generalized variables obsolete
The vast majority of these are unused in-tree, and many of them
perform actions that aren't obvious when reading the code.
* lisp/server.el (server-ensure-safe-dir): Prefer with-file-modes
over letf-ing default-file-modes.
(server-start): Ditto.
* lisp/winner.el (winner-set-conf): Don't use generalized variable
window-height.
* lisp/emacs-lisp/gv.el: Make most little-used generalized
variables obsolete.
* lisp/org/oc-basic.el (org-cite-basic--set-keymap): Adjust
buffer-substring generalized variable usage.
Lars Ingebrigtsen [Sun, 21 Aug 2022 19:46:14 +0000 (21:46 +0200)]
Make it possible to mark generalized variables as obsolete
* doc/lispref/variables.texi (Adding Generalized Variables):
Document it.
* lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Alter
the interface so that it can also be used by generalized variable
warnings.
(byte-compile-function-warn): Adjust caller.
(byte-compile-check-variable): Adjust caller.
* lisp/emacs-lisp/gv.el (gv-get): Warn about obsolete generalized
variables (bug#49730).
(make-obsolete-generalized-variable): New function.
Eli Zaretskii [Sun, 21 Aug 2022 19:06:34 +0000 (22:06 +0300)]
; * lisp/find-file.el (ff-other-file-alist): Another doc fix. (Bug#57325)
Eli Zaretskii [Sun, 21 Aug 2022 18:48:58 +0000 (21:48 +0300)]
* lisp/find-file.el (ff-other-file-alist): Doc fix. (Bug#57325)
Lars Ingebrigtsen [Sun, 21 Aug 2022 16:17:56 +0000 (18:17 +0200)]
Mention delete-line in shortdoc
* lisp/emacs-lisp/shortdoc.el (buffer): Mention delete-line.
Lars Ingebrigtsen [Sun, 21 Aug 2022 16:13:00 +0000 (18:13 +0200)]
Simplify `delete-line'
* lisp/subr.el (delete-line): Simplify.
Stefan Kangas [Sun, 21 Aug 2022 16:00:53 +0000 (18:00 +0200)]
Prefer pos-bol and pos-eol in bookmark.el
* lisp/bookmark.el (bookmark--set-fringe-mark)
(bookmark--remove-fringe-mark, bookmark-kill-line)
(bookmark--jump-via): Prefer pos-bol and pos-eol.
Lars Ingebrigtsen [Sun, 21 Aug 2022 16:01:22 +0000 (18:01 +0200)]
Remove a newline from the end of an error message
* src/pdumper.c (dump_native_comp_unit): Remove newline from end
of error message.
Mattias Engdegård [Sun, 21 Aug 2022 15:50:42 +0000 (17:50 +0200)]
Fix eshell-pipe-broken signalling
* lisp/eshell/esh-io.el (eshell-output-object-to-target):
Second argument to `signal` should be a list.
Stefan Kangas [Sun, 21 Aug 2022 15:48:03 +0000 (17:48 +0200)]
Mark another esh-proc test as unstable
* test/lisp/eshell/esh-proc-tests.el
(esh-proc-test/pipeline-connection-type/middle): Mark test as unstable
as it fails quite a lot.
Stefan Kangas [Sun, 21 Aug 2022 15:33:55 +0000 (17:33 +0200)]
Prefer pos-bol and pos-eol in tests
* test/lisp/calendar/todo-mode-tests.el
(todo-test-toggle-item-header02, todo-test-edit-item-date-month)
(todo-test-multiline-item-indentation-1)
(todo-test-multiline-item-indentation-2)
(todo-test-multiline-item-indentation-3):
* test/lisp/cedet/semantic-utest-ia.el (semantic-ia-utest-buffer)
(semantic-sr-utest-buffer-refs):
* test/lisp/cedet/semantic-utest.el (semantic-utest-kill-indicator)
(semantic-utest-unkill-indicator):
* test/lisp/dired-tests.el (dired-test-bug27968):
* test/lisp/emacs-lisp/backtrace-tests.el
(backtrace-tests--verify-single-and-multi-line):
* test/lisp/emacs-lisp/find-func-tests.el
(find-func-tests--find-library-verbose):
* test/lisp/erc/erc-tests.el (erc-ring-previous-command)
(erc-log-irc-protocol):
* test/lisp/gnus/message-tests.el (message-mode-propertize):
* test/lisp/info-xref-tests.el (info-xref-test-emacs-manuals):
* test/lisp/mail/footnote-tests.el (footnote-tests-same-place):
* test/lisp/progmodes/elisp-mode-tests.el
(elisp-shorthand-completion-at-point):
* test/lisp/progmodes/f90-tests.el (f90-test-bug38415):
* test/lisp/progmodes/python-tests.el
(python-indent-electric-comma-inside-multiline-string)
(python-indent-electric-comma-after-multiline-string)
(python-indent-electric-colon-1, python-indent-electric-colon-2)
(python-indent-electric-colon-3, python-indent-electric-colon-4)
(python-mark-defun-2, python-mark-defun-3, python-mark-defun-4)
(python-mark-defun-5, python-nav-end-of-defun-2)
(python-nav-end-of-statement-1, python-nav-end-of-block-1)
(python-indent-dedent-line-backspace-2)
(python-indent-dedent-line-backspace-3)
(python-eldoc--get-symbol-at-point-1)
(python-info-beginning-of-statement-p-1)
(python-info-beginning-of-statement-p-2):
* test/lisp/replace-tests.el (replace-occur-revert-bug32543)
(replace-occur-revert-bug32987):
* test/lisp/simple-tests.el (simple-delete-indentation-boundaries)
(simple-delete-indentation-region)
(line-number-at-pos-in-narrow-buffer)
(line-number-at-pos-keeps-restriction):
* test/lisp/textmodes/css-mode-tests.el (css-mode-test-selectors)
(scss-mode-test-selectors):
* test/lisp/textmodes/fill-tests.el (fill-test-unbreakable-paragraph)
(fill-test-breakable-paragraph):
* test/lisp/time-stamp-tests.el (time-stamp-custom-pattern):
* test/src/lread-tests.el (lread-tests--last-message):
* test/src/process-tests.el (set-process-filter-t):
* test/src/undo-tests.el (undo-test-skip-invalidated-markers): Prefer
pos-bol and pos-eol.
Stefan Kangas [Sun, 21 Aug 2022 15:28:14 +0000 (17:28 +0200)]
Don't end autorevert message with a period
* lisp/autorevert.el (auto-revert-handler): Don't end message with
a period.
Lars Ingebrigtsen [Sun, 21 Aug 2022 15:14:46 +0000 (17:14 +0200)]
Tweak emacs-bug--system-description
* lisp/mail/emacsbug.el (emacs-bug--system-description): Fill the
commonly-overlong Emacs version bit.
Mattias Engdegård [Sun, 21 Aug 2022 14:17:45 +0000 (16:17 +0200)]
Update function properties and optimisations
* lisp/emacs-lisp/byte-opt.el (byte-opt--bool-value-form):
Recognise boolean identity in aset, put, function-put and puthash.
* lisp/emacs-lisp/byte-opt.el (byte-compile-trueconstp):
Mark more functins as non-nil-returning, including the new
pos-bol and pos-eol.
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns):
Mark pos-bol and pos-eol as side-effect-free.
Mattias Engdegård [Sun, 21 Aug 2022 13:56:26 +0000 (15:56 +0200)]
; Complete renaming to pos-bol and pos-eol
Mattias Engdegård [Sun, 21 Aug 2022 13:48:08 +0000 (15:48 +0200)]
* lisp/emacs-lisp/shortdoc.el (buffer): Add missing functions
Add preceding-char and char-before because following-char and
char-after were already there.
Gerd Möllmann [Sun, 21 Aug 2022 13:57:40 +0000 (15:57 +0200)]
Fix src-depending-on-lisp target
* Makefile.in (src-depending-on-lisp): Pass BIN_DESTDIR and
ELN_DESTDIR to make -C src (bug#57309).
Lars Ingebrigtsen [Sun, 21 Aug 2022 13:32:34 +0000 (15:32 +0200)]
Mark esh-proc test as unstable
* test/lisp/eshell/esh-proc-tests.el
(esh-proc-test/pipeline-connection-type/last): Mark test as
unstable as it fails quite a lot.
Eli Zaretskii [Sun, 21 Aug 2022 13:12:03 +0000 (16:12 +0300)]
; * src/xterm.c (handle_one_xevent): Avoid compiler warning.
Lars Ingebrigtsen [Sun, 21 Aug 2022 12:04:52 +0000 (14:04 +0200)]
Rename newly-added eol/bol functions to pos-eol/pos-bol
* lisp/emacs-lisp/shortdoc.el (buffer):
* doc/lispref/positions.texi (Text Lines): Adjust.
* src/editfns.c (Fpos_bol): Rename from Fpos.
(Fpos_eol): Rename from Feol.
Po Lu [Sun, 21 Aug 2022 06:06:22 +0000 (14:06 +0800)]
Minor optimization to x_query_pointer_1
* src/xterm.c (x_query_pointer_1): Clear client pointer if it
disappeared.
Lars Ingebrigtsen [Sat, 20 Aug 2022 10:42:02 +0000 (12:42 +0200)]
Don't use the system-file-manager icon in the toolbar
* lisp/term/x-win.el (x-gtk-stock-map):
* lisp/term/pgtk-win.el (x-gtk-stock-map): Don't use
n:system-file-manager, because it's larger than the other Gtk
icons in some themes (bug#56627).
Lars Ingebrigtsen [Sat, 20 Aug 2022 09:54:33 +0000 (11:54 +0200)]
Make conf-javaprop-mode only claim that # lines are comments
* lisp/textmodes/conf-mode.el (conf-javaprop-mode-syntax-table):
Make obsolete and remove syntax entries for // and /* (bug#49077),
because only # are comments in javaprop files.
(conf-javaprop-mode): Adjust doc string to just mention #
comments.
Lars Ingebrigtsen [Sat, 20 Aug 2022 09:12:16 +0000 (11:12 +0200)]
Tweak admin/emacs output
Michael Albinus [Sat, 20 Aug 2022 06:44:57 +0000 (08:44 +0200)]
Improve Tramp's manual
* doc/misc/tramp.texi (Frequently Asked Questions):
Improve recommendations for speeding up.
Protesilaos Stavrou [Sat, 20 Aug 2022 06:22:50 +0000 (09:22 +0300)]
Fix typos in modus-themes.org
* modus-themes.org (Option for inhibiting theme reload)
(Option for completion framework aesthetics, Advanced customization)
(Remap face with local value, Cycle through arbitrary colors)
(Custom Org emphasis faces, Note on git-gutter in Doom Emacs): Fix
typographic errors.
Po Lu [Sat, 20 Aug 2022 02:32:09 +0000 (10:32 +0800)]
Fix crash when the keymap changes
* src/xterm.c (handle_one_xevent): Call
XkbRefreshKeyboardMapping first before trying to update the map.
Mattias Engdegård [Wed, 17 Aug 2022 18:29:27 +0000 (20:29 +0200)]
Move `while` syntax check from optimiser to macroexpand
* lisp/emacs-lisp/byte-opt.el (byte-optimize-while): Move check...
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): ...here.
Stefan Kangas [Fri, 19 Aug 2022 18:19:59 +0000 (20:19 +0200)]
Fix return value of help--key-description-fontified
This fixes a bug with warning about obsolete commands in
`command-execute', where we incorrectly showed empty parenthesis
instead of the empty string when there was no keybinding for the new
command.
* lisp/help.el (help--key-description-fontified): Return nil instead
of the empty string if KEYS argument is nil.
* test/lisp/help-tests.el (help--key-description-fontified): New test.
(with-substitute-command-keys-test): Fix indentation.
Stefan Kangas [Fri, 19 Aug 2022 17:00:24 +0000 (19:00 +0200)]
Display new keybinding in obsolete command warning
* lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
* lisp/simple.el (command-execute): When warning about an obsolete
command, display the keybinding for the new command.
Stefan Kangas [Fri, 19 Aug 2022 16:24:42 +0000 (18:24 +0200)]
* lisp/bookmark.el (bookmark-menu-heading): Delete face.
Stefan Kangas [Fri, 19 Aug 2022 16:18:32 +0000 (18:18 +0200)]
Ignore variable Info-fontify, deleted in 22.1
* lisp/info.el (Info-mode-hook): Don't obey variable Info-fontify,
deleted in Emacs 22.1.
Stefan Kangas [Fri, 19 Aug 2022 16:14:12 +0000 (18:14 +0200)]
Make two compat aliases obsolete in cc-defs.el
* lisp/progmodes/cc-defs.el (c-regexp-opt, c-regexp-opt-depth):
Make compat alias obsolete.
Stefan Kangas [Fri, 19 Aug 2022 15:59:13 +0000 (17:59 +0200)]
; Delete not-useful comments referring to Emacs 19.
Stefan Kangas [Fri, 19 Aug 2022 15:17:41 +0000 (17:17 +0200)]
Delete two functions obsolete since Emacs 23
These were announced as removed in Emacs 28.1 NEWS, but apparently
never actually deleted: only their obsoletion warning was removed.
So the warnings were reintroduced in Emacs 28.2, and we now actually
delete them here instead.
* src/process.c (Fset_process_filter_multibyte)
(Fprocess_filter_multibyte_p): Delete functions obsolete since
Emacs 23.
(syms_of_process): Delete corresponding defsubrs.
* lisp/subr.el (process-filter-multibyte-p)
(set-process-filter-multibyte): Delete obsoletion.
* lisp/erc/erc-dcc.el (erc-dcc-server): Don't use obsolete functions.