Stefan Kangas
1007800a59
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'.
2022-08-24 06:38:36 +02:00
Stefan Kangas
10a31c6a29
Prefer saying "init file" to ".emacs" in FAQ
...
* doc/misc/efaq.texi: Prefer saying "init file" to
".emacs". (Bug#49424)
2022-08-24 06:06:39 +02:00
Stefan Kangas
2d307a0205
; Sort list of generalized variables
...
* doc/lispref/variables.texi (Setting Generalized Variables): Sort
list of generalized variables alphabetically.
2022-08-24 05:26:53 +02:00
Stefan Kangas
67a15ce156
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.
2022-08-23 21:08:38 +02:00
Stefan Kangas
42496e6470
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.
2022-08-23 20:28:25 +02:00
Stefan Kangas
83b6da31f3
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.
2022-08-23 20:18:24 +02:00
Eli Zaretskii
b48bf42fc2
; * src/buffer.h (struct buffer_text): Improve commentary.
2022-08-23 19:30:18 +03:00
Stefan Kangas
10585c4f30
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.
2022-08-23 18:16:01 +02:00
Gregory Heytings
1c837c42c2
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.
2022-08-23 17:48:51 +02:00
Stefan Kangas
5d3a99602f
; * etc/NEWS: Remove redundant headlines.
...
This is all about the new Haiku support, so it can be under the same
headline.
2022-08-23 17:44:12 +02:00
Lars Ingebrigtsen
de3efaa683
Add NEWS entry about obsoleted generalized variables
2022-08-23 17:04:55 +02:00
Stefan Kangas
8673c0e256
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.
2022-08-23 16:51:31 +02:00
Stefan Kangas
4ee8a6c124
; 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.
2022-08-23 16:24:54 +02:00
Stefan Monnier
3b72b47cbd
* 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.
2022-08-23 10:16:05 -04:00
Stefan Kangas
1a4a12a2a8
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.
2022-08-23 15:57:20 +02:00
Gerd Möllmann
1f990d1cf9
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)
2022-08-23 15:53:10 +02:00
Po Lu
76982f0868
; * src/xterm.c (x_free_frame_resources): Fix typo.
2022-08-23 20:56:12 +08:00
Po Lu
a328bf65ef
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)
2022-08-23 20:53:24 +08:00
Po Lu
3b7fb723e6
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.
2022-08-23 20:53:24 +08:00
Lars Ingebrigtsen
b448fbec4b
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.
2022-08-23 12:49:13 +02:00
Lars Ingebrigtsen
48b0f2606b
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.
2022-08-23 12:26:24 +02:00
Lars Ingebrigtsen
9d9798521e
Don't mention obsolete generalized variables in *Help*
...
* lisp/help-fns.el (help-fns--generalized-variable): Don't mention
obsolete ones.
2022-08-23 12:23:09 +02:00
Lars Ingebrigtsen
915efbff98
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).
2022-08-23 12:22:42 +02:00
Thierry Volpiatto
66040fbeed
Fix wdired with (dired '(dir f1 f2 ...))
...
* lisp/wdired.el (wdired-finish-edit): Fix wdired with (dired
'(dir f1 f2 ...)) (bug#57334).
2022-08-23 12:03:22 +02:00
Stefan Kangas
e2c766a20d
Merge from origin/emacs-28
...
1dd0a5c5db ; * doc/misc/htmlfontify.texi: Fix version.
2022-08-23 06:30:36 +02:00
Augusto Stoffel
fd97cc8e0d
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)
2022-08-23 05:06:32 +02:00
Stefan Kangas
b7e867b841
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
2022-08-23 04:54:57 +02:00
Po Lu
e425b7d231
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.
2022-08-23 09:30:25 +08:00
Lars Ingebrigtsen
06d7161476
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.
2022-08-22 19:22:33 +02:00
Eli Zaretskii
a0fa6bd547
; * doc/lispref/commands.texi (Interactive Codes): Fix punctuation.
2022-08-22 19:24:29 +03:00
Michael Albinus
f579cd472c
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)
2022-08-22 16:56:57 +02:00
Stefan Kangas
1dd0a5c5db
; * doc/misc/htmlfontify.texi: Fix version.
2022-08-22 16:30:29 +02:00
Lars Ingebrigtsen
6c9696e3de
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.
2022-08-22 16:03:00 +02:00
Robert Pluim
0dd51d8ebf
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.
2022-08-22 15:22:07 +02:00
Stefan Kangas
ac90530a0a
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.
2022-08-22 15:08:48 +02:00
Stefan Kangas
a7557f2483
; * lisp/emacs-lisp/shortdoc.el (buffer): Improve sorting.
2022-08-22 15:08:48 +02:00
Lars Ingebrigtsen
9681ebf125
Make ispell-find-hunspell-dictionaries more resilient
...
* lisp/textmodes/ispell.el (ispell-find-hunspell-dictionaries):
Try harder to find the dictionary (bug#49982).
2022-08-22 14:57:34 +02:00
Lars Ingebrigtsen
c202f22f4d
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).
2022-08-22 14:02:34 +02:00
Lars Ingebrigtsen
f421efdb5f
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.
2022-08-22 13:53:33 +02:00
Lars Ingebrigtsen
d921424891
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.
2022-08-22 13:00:36 +02:00
Lars Ingebrigtsen
cc33c6cf3a
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.
2022-08-22 12:48:37 +02:00
Lars Ingebrigtsen
b04ec9a7d3
Fix defcustom type of auto-save-file-name-transforms
...
* lisp/files.el (auto-save-file-name-transforms): Fix the
defcustom type (bug#57321).
2022-08-22 12:18:09 +02:00
Gerd Möllmann
a680a9fc64
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.
2022-08-22 11:18:30 +02:00
Andrea Corallo
a5e36575ae
* lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Fix some type spec
2022-08-22 10:29:18 +02:00
Stefan Kangas
0c410206aa
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#...
2022-08-22 06:30:29 +02:00
Po Lu
e154ba196a
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.
2022-08-22 09:50:45 +08:00
Gonzalo Larumbe
15d628f196
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).
2022-08-22 01:29:08 +02:00
Lars Ingebrigtsen
643990336f
Make *Help* display info about generalized variables
...
* lisp/help-fns.el (help-fns--generalized-variable): New function
to document generalized variables.
2022-08-22 00:37:29 +02:00
Lars Ingebrigtsen
ae5fe348fb
Revert "Make the generalized buffer-local-variable obsolete"
...
This reverts commit bfe222288e .
This led to the local modes not working.
2022-08-22 00:14:07 +02:00
Lars Ingebrigtsen
29a989c020
Regenerated ldefs-boot.el
2022-08-21 23:38:20 +02:00