1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00
Commit Graph

159031 Commits

Author SHA1 Message Date
Lars Ingebrigtsen
262f57842a Allow auth-source-netrc-parse to return all lines
* lisp/auth-source.el (auth-source-netrc-parse): If host/user/port
is nil, don't require those to match.
2022-08-04 16:09:48 +02:00
Lars Ingebrigtsen
0116c660c2 Clean up nntp-send-authinfo after removing obsolete variable
* lisp/gnus/nntp.el (netrc-parse, netrc-machine, netrc-get):
Remove declarations.
(nntp-send-authinfo): Now that `nntp-authinfo-file' is removed,
don't parse the .authinfo file twice, but just rely on the
auth-source functions (bug#56972).
2022-08-04 15:37:31 +02:00
Lars Ingebrigtsen
9129808496 Add define-keymap to autoload-ignored-definitions
* lisp/emacs-lisp/loaddefs-gen.el (autoload-ignored-definitions):
Ignore `define-keymap', too (bug#56973).
2022-08-04 15:27:47 +02:00
Stefan Kangas
385511f1a2 Add define-key-after to autoload-ignored-definitions
* lisp/emacs-lisp/loaddefs-gen.el (autoload-ignored-definitions):
Add define-key-after and define-ibuffer-sorter.
2022-08-04 15:03:42 +02:00
Stefan Kangas
f484da5fcb * doc/lispref/loading.texi (Autoload by Prefix): Fix typo. 2022-08-04 14:59:24 +02:00
Stefan Kangas
4d64c39fad ; * lisp/org/ob-lilypond.el: Add FIXME. 2022-08-04 14:48:44 +02:00
Stefan Kangas
7a7628df8e ; * lisp/progmodes/meta-mode.el: Delete some commented out code. 2022-08-04 14:48:39 +02:00
Stefan Kangas
41a59fc6b5 Fix namespace problem in meta-mode.el
* lisp/progmodes/meta-mode.el
(meta-font-lock-match-declaration-item-and-skip-to-next): Rename
from 'font-lock-match-meta-declaration-item-and-skip-to-next'.
Retain old name as an obsolete alias.
2022-08-04 14:37:17 +02:00
Stefan Kangas
e2eee46247 Add more autoload-ignored-definitions
* lisp/emacs-lisp/loaddefs-gen.el (autoload-ignored-definitions):
Add define-ibuffer-column.
2022-08-04 14:36:34 +02:00
Philip Kaludercic
24e93505b9 * eww.el (eww-browse): Raise error if there are no arguments 2022-08-04 14:20:58 +02:00
Gregory Heytings
a95c5baa6a ; * src/keyboard.c (safe_run_hooks_maybe_narrowed): Fix broken merge. 2022-08-04 14:02:25 +02:00
Po Lu
9313551fae ; * src/xterm.c (x_sync_init_fences): Fix number of fences announced. 2022-08-04 19:58:22 +08:00
Stefan Kangas
7ac0e30701 * lisp/find-dired.el (lookfor-dired): Make obsolete. 2022-08-04 12:35:24 +02:00
Gregory Heytings
e2b774e64a Merge branch 'master' into feature/long-lines-improvements 2022-08-04 12:21:31 +02:00
Stefan Kangas
759ccd7cba Rename recently added macro to follow conventions
* lisp/eshell/em-extpipe.el (eshell-extpipe--or-with-catch):
Rename from 'em-extpipe--or-with-catch'.
2022-08-04 12:18:46 +02:00
Stefan Kangas
bfdccfa141 Fix namespace problem in dired-aux.el
* lisp/dired-aux.el (dired-minibuffer-default-add-shell-commands):
Rename from 'minibuffer-default-add-dired-shell-commands'.  Retain
old name as an obsolete alias.
2022-08-04 12:15:00 +02:00
Michael Albinus
87ac0b945f Fix Tramp test
* test/lisp/net/tramp-tests.el (tramp-test48-unload):
Ignore autoload functions in `tramp-file-name' structure tests,
since `tramp-file-name-handler' is also autoloaded.
2022-08-04 11:59:18 +02:00
Stefan Kangas
f325b091c1 ; * etc/NEWS: Announce obsoletion of url-about.el. 2022-08-04 11:55:43 +02:00
Eli Zaretskii
5e33712672 ; * src/composite.c (find_automatic_composition): Fix a typo. 2022-08-04 12:47:32 +03:00
Stefan Kangas
2aace68a00 Rename timep to type-break-timep
* lisp/type-break.el (type-break-timep): Rename from 'timep'.
Retain old name as an obsolete alias.
2022-08-04 11:39:23 +02:00
Stefan Kangas
a53ee9928d Fix namespace problem in mpc.el
* lisp/mpc.el (mpc-tag-browser-tagtypes): Rename from
'tag-browser-tagtypes'.  Retain old name as an obsolete alias.
2022-08-04 11:39:16 +02:00
Stefan Kangas
27b60ae061 Rename set-woman-file-regexp to woman-set-file-regexp
* lisp/woman.el (woman-set-file-regexp): Rename from
'set-woman-file-regexp'.  Retain old name as an obsolete alias.
2022-08-04 11:34:35 +02:00
Stefan Kangas
bde0ccd2c2 Rename alphabetp to hangul-alphabetp
* lisp/leim/quail/hangul.el (hangul-alphabetp): Rename from
'alphabetp'.  Retain old name as an obsolete alias.
2022-08-04 11:34:35 +02:00
Stefan Kangas
e2d9a218f4 Make trivial convenience defsubst notzerop obsolete
* lisp/leim/quail/hangul.el (notzerop): Make obsolete.  Adjust
callers.
2022-08-04 11:34:35 +02:00
Lars Ingebrigtsen
f39a220c95 Regenerate ldefs-boot.el 2022-08-04 11:27:13 +02:00
Lars Ingebrigtsen
459b1b8fbc Add more autoload-ignored-definitions defs
* lisp/emacs-lisp/loaddefs-gen.el (autoload-ignored-definitions):
Add more definition forms that shouldn't trigger prefix
registration (bug#56970).
2022-08-04 11:27:03 +02:00
Lars Ingebrigtsen
51b9d7d672 url-about.el: Add obsolete-since
* lisp/obsolete/url-about.el: Add obsolete-since.
2022-08-04 11:14:18 +02:00
Lars Ingebrigtsen
4f3a33c90f Make url-about.el obsolete (bug#56885) 2022-08-04 11:13:48 +02:00
Lars Ingebrigtsen
8348ace63a Revert "Fix about:protocols in EWW"
This reverts commit b49c174010.

We're making this obsolete instead.
2022-08-04 11:09:40 +02:00
Gregory Heytings
82b602dc2f Improve Bidi with long lines.
* src/composite.c (composition_compute_stop_pos): Use an 'endpos' that
is not too far away.
(find_automatic_composition): Use a 'head' that is not too far away.
Also make sure that this code path is not taken when long line
optimizations are disabled.

* src/dispextern.h (struct composition_it): Add a field that points
to the parent iterator.

* src/xdisp.c (init_iterator): Set it.
2022-08-04 11:07:28 +02:00
Lars Ingebrigtsen
3ec2fdc9a1 Fix eww--download-directory naming
* lisp/net/eww.el (eww--download-directory):
(eww-download-directory): Rename function that was mistakenly
named "erc--"   (bug#56969).
2022-08-04 11:04:51 +02:00
Lars Ingebrigtsen
4c1bc8315d Fix up some prefix registration problems in doc strings
* lisp/uniquify.el (uniquify-buffer-name-style):
* lisp/org/ob-core.el (org-src-sha):
* lisp/emacs-lisp/cl-macs.el (cl--optimize):
* lisp/battery.el (battery-update-functions): Avoid triggering the
`register-definition-prefixes' in doc strings (bug#56968).
2022-08-04 11:03:10 +02:00
Lars Ingebrigtsen
f025005e86 Fix double-encoding attachment headers in single-part rfc2047
* lisp/mail/rfc2047.el (rfc2047-header-encoding-alist): Don't
double-encode Content-Disposition in mails with no other body
(bug#56906).
2022-08-04 11:03:10 +02:00
Stefan Kangas
33611906e8 Rename make-doctor-variables to doctor-make-variables
* lisp/play/doctor.el (doctor-make-variables): Rename from
'make-doctor-variables'.  Retain old name as an obsolete function
alias.
2022-08-04 09:59:28 +02:00
Stefan Kangas
7471781dda Rename nil-blank-string to eshell-nil-blank-string
* lisp/eshell/em-unix.el (eshell-nil-blank-string): Rename from
'nil-blank-string'.  Retain old name as an obsolete function alias.
2022-08-04 09:55:13 +02:00
Stefan Kangas
d056bb0d99 Rename pod2man-program to cperl-pod2man-program
* lisp/progmodes/cperl-mode.el (cperl-pod2man-program): Rename
from 'pod2man-program'.  Retain old name as an obsolete
variable alias.
2022-08-04 09:55:13 +02:00
Po Lu
b49c174010 Fix about:protocols in EWW
* lisp/net/eww.el (eww--dwim-expand-url): Handle `about: ' URLs.
(bug#56885)
* lisp/url/url-about.el (url-about): Return correct content type
for HTML data.
* lisp/url/url-http.el (url-http--get-referer): Refrain from
looking for a referrer if the lastloc had no host.
2022-08-04 15:52:03 +08:00
Po Lu
78129dcf53 Correctly implement refresh synchronization fences
* configure.ac (HAVE_XSYNC): Also check for XSyncTriggerFence.

* src/xfns.c (Fx_create_frame): Create fences.
* src/xterm.c (x_atom_refs): New atom.
(x_sync_trigger_fence, x_sync_init_fences, x_sync_free_fences):
New functions.
(x_sync_update_finish): Trigger the appropriate fence.
(x_free_frame_resources): Free fences.
* src/xterm.h (struct x_display_info): New atom
`_NET_WM_SYNC_FENCES'.
(struct x_output): New field `sync_fences'.
2022-08-04 15:38:23 +08:00
Kira Bruneau
3e60f7f3c3 Fix ignored-local-variable-values for non-primitive values
* lisp/files.el (hack-local-variables-filter): Fix
`ignored-local-variable-values' for non-primitive values (bug#56957).
2022-08-04 08:26:38 +02:00
Lars Ingebrigtsen
118a911159 Make flyspell-check-word-p work better with delete-selection-mode
* lisp/textmodes/flyspell.el (flyspell-check-word-p): Deactivate
the region immediately (bug#53773).
2022-08-04 08:16:45 +02:00
Lars Ingebrigtsen
c17f1a2e89 Adjust documentation for make-docfile
* doc/lispref/loading.texi (Autoload): We're no longer using
make-docfile for loaddefs.el, but we're retaining the format.
Adjust the documentation.
* lisp/loadup.el: Adjust commentary.
2022-08-04 08:05:25 +02:00
Lars Ingebrigtsen
caa88cfebe Remove outdated TODO item about make-docfile and .el files
* etc/TODO: Remove outdated item about make-docfile and .el files.
2022-08-04 08:05:25 +02:00
Lars Ingebrigtsen
50e4fc9f0e Adjust src/Makefile.in comments about make-docfile
* src/Makefile.in ($(etc)/DOC): Remove comment aboout make-docfile
being run twice (because it no longer is).
2022-08-04 08:05:25 +02:00
Po Lu
d6dbaecb2e Reduce code duplication in XI scroll bar code
* src/xterm.c (xi_select_scroll_bar_events): New function.
(x_create_toolkit_scroll_bar)
(x_create_horizontal_toolkit_scroll_bar, x_scroll_bar_create):
Factor out input extension code there.
2022-08-04 13:59:27 +08:00
Lars Ingebrigtsen
4ebdc558f6 Adjust loaddefs-generate--print-form comments
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--print-form):
Adjust doc string and comments now that make-docfile doesn't scan
this.
2022-08-04 07:44:53 +02:00
Lars Ingebrigtsen
c2bddf8fe7 Remove read_string_literal purify doc string hack
* src/lread.c (read_string_literal): Since we're now
byte-compiling the loaddefs files (so doc strings come from the
.elc files), remove the hack that make this return 0 when the
string starts with "\\n".
2022-08-04 07:23:59 +02:00
Lars Ingebrigtsen
40c1132711 Remove VCSWITNESS dependency, since we're always rescanning now
* Makefile.in (VCSWITNESS): Remove, since we're always rescanning
for loaddefs.
* src/Makefile.in ($(lispsource)/loaddefs.el): Remove VCSWITNESS
dependency.
2022-08-04 07:03:52 +02:00
Lars Ingebrigtsen
ca57767128 Regenerate ldefs-boot.el 2022-08-04 06:53:32 +02:00
Lars Ingebrigtsen
7520932dbe Still mark ldefs-boot.el as non-byte-compilable
* lisp/Makefile.in (ldefs-boot.el): Mark ldefs-boot.el as
non-byte-compiled.
2022-08-04 06:53:32 +02:00
Stefan Kangas
57e33b25d1 ; Merge from origin/emacs-28
The following commit was skipped:

20ee17385f * lisp/uniquify.el (uniquify-buffer-name-style): Quote apo...
2022-08-04 06:30:33 +02:00