Stefan Kangas
a463dccdd0
Merge from origin/emacs-28
...
b4067394dc
Set `default-directory' of Tramp archive connection buffer
2529e82002
; * doc/lispref/functions.texi (Declare Form): Fix typo.
54c4ceb009
Update the documentation of 'declare' forms
7263631dca
Fix bookmark support for Help functions in native-compilat...
# Conflicts:
# lisp/help.el
2022-07-24 09:55:01 +02:00
Michael Albinus
b4067394dc
Set `default-directory' of Tramp archive connection buffer
...
* lisp/net/tramp-archive.el (tramp-archive-file-name-handler):
Set `default-directory' of Tramp connection buffer. (Bug#56628)
2022-07-23 19:45:24 +02:00
Lars Ingebrigtsen
e00f882905
Don't bug out in src when there's no srcset
...
* lisp/net/shr.el (shr--preferred-image): Don't bug out when
there's no srcset.
2022-07-23 07:46:52 +02:00
Lars Ingebrigtsen
2ebede7d75
Fix srcset parsing in shr
...
* lisp/net/shr.el (shr--preferred-image): Factor out srcset
parsing for easier testing.
(shr--parse-srcset): Don't misparse URLs with commas in them.
2022-07-23 07:43:45 +02:00
Stefan Kangas
df508ffd2b
Merge from origin/emacs-28
...
ae1ace1cf4
Adjust help-fns.el tests for recent change
04bdcf4aaa
* src/terminal.c (Fframe_terminal): Use active voice
7fa491a9e9
Improve 'terminal-live-p' docstring some more
b9ac8c29ae
Improve terminal-live-p docstring
0b4c81a152
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-vector): F...
8f8373170f
* lisp/progmodes/cperl-mode.el: Don't mention obsolete arc...
25bc330a6d
Make 'describe-function' say "byte-compiled" when appropriate
2b31e667be
;Improve documentation of locale-specific string comparison
2022-07-23 01:37:59 +02:00
Robert Pluim
0b4c81a152
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-vector): Fix grammar
2022-07-22 10:11:21 +02:00
Stefan Kangas
204d9f976d
Make dictionary-help obsolete in favor of describe-mode
...
* lisp/net/dictionary.el (dictionary-help): Make obsolete in favor
of describe-mode. Update uses.
2022-07-21 09:23:20 +02:00
Stefan Kangas
329ec11b0f
; Normalize some "Author" headers
2022-07-20 22:38:01 +02:00
Stefan Kangas
bbac84ac9b
Merge from origin/emacs-28
...
cb911febc6
; Fix typos
# Conflicts:
# test/lisp/net/tramp-tests.el
2022-07-20 10:30:41 +02:00
Eli Zaretskii
29bf19df09
; Fix punctuation in recently changed EUDC documentation
...
* lisp/net/eudcb-macos-contacts.el (eudc-macos-contacts-search-helper):
* lisp/net/eudc-vars.el (eudc-inline-expansion-format):
* etc/NEWS: Fix punctuation in recent EUDC changes.
2022-07-19 16:42:43 +03:00
Stefan Kangas
cb911febc6
; Fix typos
2022-07-19 14:13:25 +02:00
Stefan Kangas
4b807380cf
Merge from origin/emacs-28
...
282dde887d
; Fix typo missed in previous change
62c47ffd5f
; * lisp/net/tramp-crypt.el: Improve commentary
cba30431ff
Merge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/e...
8f9993bb3f
; * src/buffer.c (syms_of_buffer) <mode-line-format>: Doc ...
fec4bb89f9
; Fix typos (Bug#56550)
2022-07-19 06:30:56 +02:00
Michael Albinus
7a93716703
Use ntake also in tramp-adb.el
...
* lisp/net/tramp-adb.el (tramp-adb-handle-directory-files-and-attributes):
Use `tramp-compat-ntake'.
2022-07-18 19:33:50 +02:00
Alexander Adolf
e555446907
Additional query and results attributes in eudcb-macos-contacts.el
...
* lisp/net/eudcb-macos-contacts.el: wider set of attributes for
queries, and in query results
* lisp/net/eudc-vars.el (eudc-inline-expansion-format): update
docstring to explain how to use the function eudc-translate-query to
translate to generic attribute names in the user supplied formatting
function
* etc/NEWS: announce wider query/result attribute set
* doc/misc/eudc.texi: more details on eudcb-mab.el's limitations
2022-07-18 12:45:06 -04:00
Robert Pluim
282dde887d
; Fix typo missed in previous change
2022-07-18 16:54:16 +02:00
Michael Albinus
50d96b95f0
Use ntake in Tramp
...
* lisp/net/tramp-compat.el (tramp-compat-ntake): New defalias.
* lisp/net/tramp.el (tramp-handle-directory-files):
* lisp/net/tramp-crypt.el (tramp-crypt-handle-directory-files):
* lisp/net/tramp-sh.el (tramp-sh-handle-directory-files-and-attributes):
* lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
2022-07-18 15:47:28 +02:00
Robert Pluim
62c47ffd5f
; * lisp/net/tramp-crypt.el: Improve commentary
2022-07-18 14:40:51 +02:00
Stefan Kangas
fec4bb89f9
; Fix typos (Bug#56550)
2022-07-18 14:23:59 +02:00
Mattias Engdegård
5ad8f3e570
Use take
where clearly safe to do so (bug#56521)
...
* lisp/emacs-lisp/seq.el (seq-take):
* lisp/auth-source.el (auth-source-secrets-search)
(auth-source-plstore-search):
* lisp/gnus/message.el (message-insert-formatted-citation-line):
* lisp/net/dbus.el (dbus-unregister-object):
* lisp/replace.el (occur-context-lines):
* test/src/print-tests.el (print-circular): Replace hand-written loop
or `butlast` call with `take` for clarity, performance and validation.
We have the equivalence
(take N LIST) = (butlast LIST (- (length LIST) N)).
2022-07-18 12:49:29 +02:00
Stefan Kangas
dbed538391
Merge from origin/emacs-28
...
f5218385c0
Fix obsoletion of nntp-authinfo-file
10b6919870
; Fix typos
2022-07-17 06:30:41 +02:00
Stefan Kangas
10b6919870
; Fix typos
2022-07-16 10:07:38 +02:00
Visuwesh
0f59d7b53b
Fix mailcap-user-mime-data doc string
...
* lisp/net/mailcap.el (mailcap-user-mime-data): Make the doc
string reflect the actual structure (bug#56568).
2022-07-15 11:50:36 +02:00
Visuwesh
26af1ca9e9
Make gnus display webp images inline
...
* lisp/gnus/mm-decode.el (mm-inline-media-tests): Add webp handler.
* lisp/net/mailcap.el (mailcap-mime-extensions): Add webp mimetype
(bug#56552).
2022-07-14 19:41:58 +02:00
Stefan Kangas
2a05479c22
; Fix typos: prefer American spelling
2022-07-14 12:13:31 +02:00
Stefan Kangas
4e79f77635
Merge from origin/emacs-28
...
5e47ec9511
; * lisp/url/url-http.el (url-http-parse-headers): Fix typo.
ba0871bef1
; Fix typos: prefer American spelling
e3e7f31faa
Adapt Tramp doc
# Conflicts:
# etc/NEWS
# etc/themes/modus-themes.el
# lisp/emacs-lisp/byte-opt.el
# test/lisp/so-long-tests/spelling-tests.el
2022-07-14 11:37:42 +02:00
Michael Albinus
b3bc7c3e82
Adapt Tramp version integrated in Emacs 28.2
...
* lisp/net/trampver.el (customize-package-emacs-version-alist):
Adapt Tramp version integrated in Emacs 28.2.
2022-07-13 13:38:11 +02:00
Michael Albinus
2209650089
Adapt Tramp version (don't merge)
...
* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.5.3.28.2".
(customize-package-emacs-version-alist):
Add Tramp version integrated in Emacs 28.2.
2022-07-13 13:21:45 +02:00
Stefan Kangas
ba0871bef1
; Fix typos: prefer American spelling
2022-07-13 13:04:22 +02:00
Michael Albinus
e3e7f31faa
Adapt Tramp doc
...
* doc/misc/tramp.texi (Configuration): Mention enable-remote-dir-locals.
(Traces and Profiles): Fix tramp-verbose description.
* lisp/net/tramp.el (tramp-verbose): Fix docstring.
2022-07-13 13:00:30 +02:00
Stefan Kangas
d858e0a18a
Make the rsh command obsolete
...
* lisp/net/telnet.el (rsh): Make obsolete.
(telnet-connect-command, telnet-mode): Adjust documentation for
above change.
2022-07-13 12:48:20 +02:00
Po Lu
14a56f52c5
New user option 'webjump-use-internal-browser'
...
* lisp/net/webjump.el (webjump-use-internal-browser): New defcustom.
(webjump): Respect it. Reported by Youmu <condy0919@gmail.com>.
2022-07-13 12:36:08 +08:00
Stefan Kangas
c518b06ae6
Drop obsolete rsh/rlogin from two user options
...
* lisp/net/ange-ftp.el (ange-ftp-gateway-program):
* lisp/net/imap.el (imap-shell-program): Drop obsolete "rsh"/"rlogin".
2022-07-12 16:56:36 +02:00
Stefan Kangas
512e1db7ba
Make net/rlogin.el obsolete
...
* lisp/net/rlogin.el: Move from here...
* lisp/obsolete/rlogin.el: ...to here. (Bug#56461)
2022-07-11 15:02:23 +02:00
Stefan Kangas
29684a7342
Rename new option to browse-url-default-scheme
...
* lisp/net/browse-url.el (browse-url-default-scheme): Rename from
'browse-url-guess-default-scheme'. Update caller.
Suggested by Eli Zaretskii <eliz@gnu.org>.
2022-07-10 18:45:50 +02:00
Stefan Kangas
f8de0d5436
Don't use purecopy in dictionary.el
...
* lisp/net/dictionary.el (dictionary-pre-buffer)
(dictionary-display-dictionary-line)
(dictionary-display-more-info, dictionary-display-strategy-line)
(dictionary-display-match-lines): Don't use purecopy; it has no
effect here.
2022-07-10 17:17:34 +02:00
Stefan Kangas
118e05f570
New user option browse-url-guess-default-scheme
...
* lisp/net/browse-url.el (browse-url-guess-default-scheme): New
user option.
(browse-url-url-at-point): Use above new user option.
2022-07-10 15:01:23 +02:00
Stefan Kangas
afaf45d653
; Use example.org in an example
...
* lisp/net/browse-url.el (browse-url-filename-alist): Use example.org
to be more RFC2606 compliant.
2022-07-10 14:41:18 +02:00
Stefan Kangas
86dc875bf5
Make browse-url.el support for plain "mozilla" obsolete
...
* lisp/net/browse-url.el (browse-url-mozilla-program)
(browse-url-mozilla-arguments)
(browse-url-mozilla-startup-arguments)
(browse-url-mozilla-new-window-is-tab, browse-url-mozilla)
(browse-url-mozilla-sentinel): Make obsolete. (Bug#56464)
(browse-url--browser-defcustom-type, browse-url-default-browser):
Don't refer to above obsolete function 'browse-url-mozilla'.
2022-07-10 13:04:01 +02:00
Stefan Kangas
8eb8928337
* lisp/net/browse-url.el: Improve commentary.
2022-07-10 13:04:01 +02:00
Stefan Kangas
16e79eb75f
Exclude platform specific browsers from custom type
...
* lisp/net/browse-url.el (browse-url--browser-defcustom-type):
Don't include platform specific browsers on other platforms.
2022-07-09 18:10:55 +02:00
Stefan Kangas
1383e6de55
* lisp/net/eww.el (eww): Improve docstring.
2022-07-09 17:46:59 +02:00
Stefan Kangas
96bf08a0ec
Make browse-url-default-browser fall back to EWW
...
* lisp/net/browse-url.el (browse-url-default-browser): Fall back
to EWW.
2022-07-09 17:27:59 +02:00
Stefan Kangas
2a8d083607
Drop support for the dead third-party w3 package
...
The w3 package was removed from GNU ELPA in 2020 as it doesn't run on
a recent Emacs, and development had stopped over a decade before that.
If anyone wants to revive the w3 package, they should look this all
over, but it doesn't make sense for us to maintain this support code.
Ref: https://debbugs.gnu.org/25395
* lisp/net/browse-url.el (browse-url-w3): Make obsolete.
(browse-url--browser-defcustom-type)
(browse-url-default-browser):
* lisp/ffap.el (ffap-url-at-point, ffap-file-at-point):
* lisp/net/newst-plainview.el (newsticker--buffer-do-insert-text):
* lisp/net/newst-reader.el (newsticker-html-renderer)
(newsticker-show-news):
* lisp/net/newst-treeview.el (newsticker--treeview-render-text):
* lisp/org/ol.el (org-store-link):
* lisp/url/url.el (url-retrieve): Remove w3 support code and related
documentation and comments. (Bug#56435)
* test/lisp/net/browse-url-tests.el
(browse-url-tests-browser-kind): Adjust test for above changes.
* etc/TODO: Remove TODO to install W3.
* doc/misc/org.org (Handling Links): Don't mention W3.
* lisp/msb.el (msb--few-menus, msb--very-many-menus): Check for
eww-mode instead of w3-mode.
2022-07-09 17:27:49 +02:00
Stefan Kangas
f6840328c0
Prefer defvar-keymap in net/*.el
...
* lisp/net/dictionary.el (dictionary-mode-map):
* lisp/net/dig.el (dig-mode-map):
* lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map):
* lisp/net/eudc.el (eudc-mode-map):
* lisp/net/mairix.el (mairix-searches-mode-map):
* lisp/net/newst-treeview.el
(newsticker-treeview-list-sort-button-map)
(newsticker-treeview-mode-map):
* lisp/net/quickurl.el (quickurl-list-mode-map):
* lisp/net/rcirc.el (rcirc-mode-map)
(rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
* lisp/net/rlogin.el (rlogin-mode-map):
* lisp/net/secrets.el (secrets-mode-map):
* lisp/net/sieve-mode.el (sieve-mode-map):
* lisp/net/sieve.el (sieve-manage-mode-map):
* lisp/net/snmp-mode.el (snmp-mode-map):
* lisp/net/telnet.el (telnet-mode-map): Prefer defvar-keymap.
2022-07-09 15:34:04 +02:00
Stefan Kangas
989908eee8
Avoid obsolete initial-input argument in net-utils.el
...
* lisp/net/net-utils.el (ping, nslookup-host, dns-lookup-host)
(run-dig, ftp, smbclient, smbclient-list-shares, finger)
(network-connection-to-service): Don't use obsolete initial-input
argument. Use 'format-prompt'. (Bug#56436)
2022-07-08 10:26:35 +02:00
Stefan Kangas
7397d0fd19
Merge from origin/emacs-28
...
2ac0ddc4ac
; * lisp/net/net-utils.el: Minor doc fixes.
2022-07-08 06:31:54 +02:00
Stefan Kangas
cbfd959e26
Prefer keymap inheritance in shr-image-map
...
* lisp/net/shr.el (shr-image-map): Replace copy-keymap with
inheritance.
2022-07-07 23:21:39 +02:00
Stefan Kangas
f32808ce98
* lisp/net/dig.el (dig): Provide default.
2022-07-07 15:38:58 +02:00
Stefan Kangas
6d95b4e6ec
Make net-utils-url at point funs obsolete in favor of ffap
...
* lisp/net/net-utils.el (net-utils-machine-at-point)
(net-utils-url-at-point): Redefine as obsolete function alias for
'ffap-machine-at-point' and 'ffap-url-at-point'. Update callers.
* lisp/ffap.el (ffap-machine-at-point, ffap-url-at-point): Autoload.
2022-07-07 15:35:25 +02:00
Stefan Kangas
0aa0dac799
* lisp/net/eww.el (eww-browse-url): Add 'browser-kind' property.
2022-07-07 14:47:30 +02:00