summaryrefslogtreecommitdiff
path: root/lisp/net
Commit message (Collapse)AuthorAgeFilesLines
* Make rcirc parsing more RFC2812 compliant (Bug#36233)Noam Postavsky2019-06-221-8/+19
| | | | | | | | Do continue to allow multiple spaces between arguments, even though that is technically not allowed by the RFC. * lisp/net/rcirc.el (rcirc-process-server-response-1): Fix parsing of arguments which contain colons. * test/lisp/net/rcirc-tests.el: New test.
* * lisp/net/rcirc.el (rcirc-prompt-for-encryption): Simplify.Noam Postavsky2019-06-221-5/+4
|
* Remove XEmacs and ancient Emacs compatibility from newst-backend.elLars Ingebrigtsen2019-06-191-39/+0
| | | | | * lisp/net/newst-backend.el: Remove compatibility with XEmacs and ancient Emacs versions.
* * lisp/net/trampver.el (customize-package-emacs-version-alist):Michael Albinus2019-06-151-1/+2
| | | | Adapt Tramp version integrated in Emacs 26.3.
* Merge from origin/emacs-26Glenn Morris2019-06-151-1/+2
|\ | | | | | | 6242324 * lisp/net/sieve-manage.el (sieve-manage-parse-capability): D...
| * * lisp/net/sieve-manage.el (sieve-manage-parse-capability): Doc fix.Juanma Barranquero2019-06-141-1/+2
| |
* | Let tramp-archive unmount cleanMichael Albinus2019-06-151-11/+13
| | | | | | | | | | * lisp/net/tramp-archive.el (tramp-archive-cleanup-hash): Don't check for a proper method.
* | Make Tramp compatible to recent progress-reporter-updateMichael Albinus2019-06-152-2/+10
| | | | | | | | | | | | | | * lisp/net/tramp-compat.el (tramp-compat-progress-reporter-update): New defalias. * lisp/net/tramp.el (tramp-progress-reporter-update): Add optional SUFFIX.
* | Some changes in process output read of TrampMichael Albinus2019-06-151-0/+2
| | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch): Read pending output. * test/lisp/net/tramp-tests.el (tramp-test31-interrupt-process): Use a timeout when reading process output.
* | Fix problem in remote file notificationMichael Albinus2019-06-141-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-sh-gio-monitor-process-filter) (tramp-sh-gvfs-monitor-dir-process-filter) (tramp-sh-inotifywait-process-filter): Do not kill the process. Let `file-notify-rm-watch' do the job. * test/lisp/filenotify-tests.el (file-notify-test03-events) (file-notify-test05-file-validity) (file-notify-test09-watched-file-in-watched-dir): Do not special-case remote files.
* | Fix compilation warnings in rfc2104Lars Ingebrigtsen2019-06-131-3/+2
| | | | | | | | | | * lisp/net/rfc2104.el (rfc2104-hash): Remove superflous calls to string-make-unibyte and avoid two compilation warnings.
* | Remove XEmacs support from dig.elLars Ingebrigtsen2019-06-121-3/+1
| | | | | | | | * lisp/net/dig.el (dig-mode): Remove XEmacs support.
* | Remove XEmacs support from goto-addr.elLars Ingebrigtsen2019-06-121-2/+1
| | | | | | | | | | * lisp/net/goto-addr.el (goto-address-highlight-keymap): Remove XEmacs support.
* | Remove XEmacs support from dns.elLars Ingebrigtsen2019-06-121-33/+21
| | | | | | | | | | * lisp/net/dns.el (dns-read-string-name, dns-write, dns-read) (dns-make-network-process, dns-query): Remove XEmacs support.
* | Restore image scaling support when there's no native image scalingLars Ingebrigtsen2019-06-121-2/+12
| | | | | | | | | | | | * lisp/net/shr.el (shr--image-type): New function. (shr-rescale-image): Use it to allow image scaling on Emacsen with ImageMagick support that does not have native image scaling support.
* | Fix quoting problem in Tramp on w32 systemsMichael Albinus2019-06-105-24/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-connection-local-default-profile): * lisp/net/tramp-integration.el (tramp-connection-local-default-profile): Revert patch from 2019-05-24. It is fixed differently. * lisp/net/tramp.el (tramp-encoding-shell): (tramp-encoding-command-switch) (tramp-encoding-command-interactive, ) (tramp-unquote-shell-quote-argument): Suppress `shell-file-name'. (tramp-set-file-uid-gid): * lisp/net/tramp-sh.el (tramp-find-inline-compress) (tramp-make-copy-program-file-name): * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory): Use `tramp-unquote-shell-quote-argument'.
* | Check rcirc-server for auto authentication (Bug#10162)Steve Scott2019-06-051-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the hostname returned by irc.freenode.net can be something other than irc.freenode.net, e.g. niven.freenode.net, the entries for rcirc-authinfo and rcirc-server-alist will not match. * lisp/net/rcirc.el (rcirc-handler-001): Check rcirc-server (the hostname connected to) instead of rcirc-server-name (the hostname returned), this corresponds with what rcirc-authenticate does. Moreover, if rcirc-auto-authenticate-flag is set, check the corresponding rcirc-authinfo, regardless of whether the rcirc-authenticate-before-join must happen. Copyright-paperwork-exempt: yes
* | Stronger check for Tramp methodMichael Albinus2019-06-046-25/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection): Use `tramp-get-connection-name'. * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link): * lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-make-symbolic-link): Don't check remote TARGET. * lisp/net/tramp.el (tramp-dissect-file-name): Check for proper method. (tramp-file-name-for-operation): Take only 2nd argument into account for file name handler. (tramp-file-name-handler): Suppress checks for `file-remote-p'. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test02-file-name-dissect): Suppress check for wrong method. * test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case): Dump *all* Tramp buffers. (tramp-test02-file-name-dissect) (tramp-test02-file-name-dissect-simplified) (tramp-test02-file-name-dissect-separate): Check also wrong method. (tramp-test03-file-name-defaults): Check, that the respective Tramp package is loaded. (tramp-test04-substitute-in-file-name) (tramp-test05-expand-file-name) (tramp-test06-directory-file-name, tramp-test44-auto-load): Suppress check for wrong method. (tramp-test30-make-process): Remove instrumentation code. (tramp-test31-interrupt-process, tramp-test36-vc-registered): Guarantee that connection is established prior starting process.
* | Make rcirc PART and QUIT reasons customizable (Bug#12857)Daniel Ralston2019-06-011-4/+15
| | | | | | | | | | | | | | | | * rcirc.el: (rcirc-default-part-reason, rcirc-default-quit-reason): New customizable vars. (rcirc-cmd-quit, rcirc-cmd-part): Consult them. Copyright-paperwork-exempt: yes
* | Handle argument to rcirc /part properly (Bug#11157)Noam Postavsky2019-06-011-4/+13
| | | | | | | | | | | | * lisp/net/rcirc.el (part): Split out channel name and part reason. * doc/misc/rcirc.texi (rcirc commands): Clarify that channel name may be provided to /part.
* | * lisp/net/rcirc.el: Remove redundant :group usageNoam Postavsky2019-06-011-106/+50
| | | | | | | | ... and empty Todo comment section.
* | Simplify Gnus buffer liveness checking and killingBasil L. Contovounesios2019-05-301-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-agent.el (gnus-agent-synchronize-group-flags): Fix indentation. * lisp/gnus/gnus-util.el (gnus-buffer-exists-p): Define as obsolete alias of gnus-buffer-live-p. (gnus-buffer-live-p): If the given argument is or names a live buffer, return the corresponding buffer object instead of a boolean. * lisp/gnus/gnus-win.el (gnus-delete-windows-in-gnusey-frames) (gnus-remove-some-windows): Simplify. * lisp/gnus/gnus.el (gnus-prune-buffers): Redefine as alias of gnus-buffers. (gnus-kill-buffer, gnus-buffers, gnus-group-find-parameter): * lisp/gnus/gnus-art.el (gnus-kill-sticky-article-buffers) (gnus-request-article-this-buffer): * lisp/gnus/gnus-bcklg.el (gnus-backlog-shutdown): * lisp/gnus/gnus-cus.el (gnus-group-customize) (gnus-agent-customize-category): * lisp/gnus/gnus-draft.el (gnus-draft-edit-message): * lisp/gnus/gnus-group.el (gnus-group-set-mode-line) (gnus--abort-on-unsaved-message-buffers, gnus-group-compact-group): * lisp/gnus/gnus-msg.el (gnus-inews-add-send-actions) (gnus-summary-supersede-article, gnus-copy-article-buffer): * lisp/gnus/gnus-score.el (gnus-score-edit-current-scores) (gnus-score-edit-file): * lisp/gnus/gnus-spec.el (gnus-update-format-specifications): * lisp/gnus/gnus-srvr.el (gnus-server-compact-server): * lisp/gnus/gnus-start.el (gnus-clear-system, gnus-dribble-enter) (gnus-dribble-save, gnus-dribble-clear, gnus-save-newsrc-file): * lisp/gnus/gnus-sum.el (gnus-summary-setup-buffer) (gnus-update-summary-mark-positions, gnus-summary-exit) (gnus-deaden-summary, gnus-kill-or-deaden-summary) (gnus-summary-next-group): * lisp/gnus/gnus-win.el (gnus-configure-frame): * lisp/gnus/mail-source.el (mail-source-movemail): * lisp/gnus/message.el (message-with-reply-buffer) (message-with-reply, message-send-and-exit) (message-send-mail-with-sendmail, message-pop-to-buffer) (message-do-send-housekeeping, message-forward-make-body-plain) (message-forward-make-body-mml): * lisp/gnus/mm-decode.el (mm-display-external, mm-remove-part): * lisp/gnus/nnbabyl.el (nnbabyl-server-opened) (nnbabyl-possibly-change-newsgroup, nnbabyl-read-mbox) (nnbabyl-check-mbox): * lisp/gnus/nndiary.el (nndiary-save-nov): * lisp/gnus/nndoc.el (nndoc-close-group) (nndoc-possibly-change-buffer): * lisp/gnus/nnfolder.el (nnfolder-close-group, nnfolder-save-nov): * lisp/gnus/nnimap.el (nnimap-make-process-buffer, nnimap-keepalive) (nnimap-find-connection): * lisp/gnus/nnmail.el (nnmail-cache-open, nnmail-cache-close): * lisp/gnus/nnmbox.el (nnmbox-close-server, nnmbox-server-opened) (nnmbox-possibly-change-newsgroup, nnmbox-read-mbox): * lisp/gnus/nnml.el (nnml-save-incremental-nov, nnml-open-nov) (nnml-save-nov): * lisp/gnus/nnoo.el (nnoo-server-opened): * lisp/gnus/nntp.el (nntp-kill-buffer, nntp-make-process-buffer) (nntp-open-connection, nntp-async-trigger): * lisp/net/mairix.el (mairix-gnus-fetch-field): Simplify buffer liveness checking and killing, replacing buffer-name with buffer-live-p and gnus-buffer-exists-p with gnus-buffer-live-p or equivalent where applicable.
* | Another attempt to fix Bug#35769Michael Albinus2019-05-271-0/+3
| | | | | | | | | | | | * lisp/net/tramp.el (tramp-call-process, tramp-call-process-region) (tramp-process-lines): Suppress `process-environment' entries dedicated for remote processes. (Bug#35769)
* | * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Revert fix for Bug#35769Michael Albinus2019-05-261-20/+14
| |
* | Update author/maintainer infoPaul Eggert2019-05-264-4/+4
| | | | | | | | | | Update email addresses and fix spellings of some author and maintainer names.
* | Remove Maintainer: when it duplicates Author:Paul Eggert2019-05-262-3/+1
| | | | | | | | | | | | | | The convention is that a file with Author: but not Maintainer: means the author is a maintainer, which makes it confusing when a file lists the same person as author and maintainer. Avoid the confusion by removing the duplicate Maintainer: line.
* | Go back to "Maintainer: emacs-devel@gnu.org"Paul Eggert2019-05-256-0/+6
| | | | | | | | | | | | Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is no special maintainer for a file. Although this wasn't documented it was common practice and removing the lines didn't have consensus.
* | Fix Bug#35769Michael Albinus2019-05-242-4/+10
| | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-connection-local-default-profile): * lisp/net/tramp-integration.el (tramp-connection-local-default-profile): Do not set it on w32 systems. (Bug#35769)
* | Fixes for "Maintainer:" and related linesPaul Eggert2019-05-197-7/+1
| | | | | | | | | | | | Mostly, this just removes "Maintainer: emacs-devel@gnu.org" lines, which are not that useful. It also cleans up and regularizes a few similar lines.
* | rfc2104.el: Remove XEmacs compat code.Lars Ingebrigtsen2019-05-191-10/+2
| | | | | | | | | | * lisp/net/rfc2104.el (rfc2104-string-make-unibyte): Remove XEmacs compat code.
* | Fix recent Tramp typo that broke the buildPaul Eggert2019-05-181-0/+1
| | | | | | | | | | | | ‘make bootstrap’ without this patch should reproduce the problem. * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Autoload zeroconf-init.
* | Bug#35769Michael Albinus2019-05-181-14/+20
| | | | | | | | | | | | * lisp/net/tramp-sh.el: (tramp-maybe-open-connection): Arrange `process-environment' that it doesn't work for local processes. (Bug#35769)
* | Require less packages in TrampMichael Albinus2019-05-185-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-compat.el (format-spec): Do not require advice, cl-lib, custom, password-cache, timer and ucs-normalize. * lisp/net/tramp-gvfs.el: Do not require zeroconf. Declare zeroconf-* functions. (tramp-gvfs-enabled): Autoload `zeroconf-init'. * lisp/net/tramp-sh.el: Do not require dired. * lisp/net/tramp.el (tramp-get-debug-buffer): Do not require outline. (tramp-file-name-for-operation): Extend docstring. (tramp-parse-netrc): Do not require netrc. Autoload `netrc-parse'.
* | * lisp/net/tramp.el (tramp-interrupt-process): Return proper value.Michael Albinus2019-05-181-3/+2
| |
* | ; Add comment in tramp-archive.elMichael Albinus2019-05-181-0/+2
| |
* | Make shr-rescale-image respect get-buffer-window againLars Ingebrigtsen2019-05-161-27/+29
| | | | | | | | | | * lisp/net/shr.el (shr-rescale-image): Partially revert previous change -- ressurrect the check for `get-buffer-window'.
* | Improve user convenience of the rcirc debug bufferIvan Shmakov2019-05-161-8/+16
| | | | | | | | | | | | | | * lisp/net/rcirc.el (rcirc-debug): Ignore rcirc-debug-buffer read-only status. Restore point after insertion unless it was at the end. Ensure a newline before each [lead]. Replace %Y-%m-%d with the equivalent %F in format-time-string; remove useless concat. (Bug#32470)
* | * lisp/net/tramp.el (tramp-yesno-prompt-regexp): Extend.Michael Albinus2019-05-161-1/+4
| |
* | Add standard unmatchable regexpMattias Engdegård2019-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `regexp-unmatchable' as a standard unmatchable regexp, defined as "\\`a\\`". Use it where such a regexp is needed, replacing slower expressions in several places. From a suggestion by Philippe Schnoebelen. * lisp/subr.el (regexp-unmatchable): New defconst. * etc/NEWS (Lisp Changes): Mention `regexp-unmatchable'. * doc/lispref/searching.texi (Regexp Functions): Document it. * lisp/emacs-lisp/regexp-opt.el (regexp-opt) * lisp/progmodes/cc-defs.el (cc-conditional-require-after-load) (c-make-keywords-re) * lisp/progmodes/cc-engine.el (c-beginning-of-statement-1) (c-forward-<>-arglist-recur, c-forward-decl-or-cast-1) (c-looking-at-decl-block) * lisp/progmodes/cc-fonts.el (c-doc-line-join-re) (c-doc-bright-comment-start-re) * lisp/progmodes/cc-langs.el (c-populate-syntax-table) (c-assignment-op-regexp) (c-block-comment-ender-regexp, c-font-lock-comment-end-skip) (c-block-comment-start-regexp, c-line-comment-start-regexp) (c-doc-comment-start-regexp, c-decl-start-colon-kwd-re) (c-type-decl-prefix-key, c-type-decl-operator-prefix-key) (c-pre-id-bracelist-key, c-enum-clause-introduction-re) (c-nonlabel-token-2-key) * lisp/progmodes/cc-mode.el (c-doc-fl-decl-start, c-doc-fl-decl-end) * lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-name-re) (c-noise-macro-name-re, c-make-noise-macro-regexps) * lisp/progmodes/octave.el (octave-help-mode) * lisp/vc/vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-revision-completion-table) * lisp/vc/vc-git.el (vc-git-log-view-mode) * lisp/vc/vc-hg.el (vc-hg-log-view-mode) * lisp/vc/vc-mtn.el (vc-mtn-log-view-mode): Use `regexp-unmatchable'. * lisp/textmodes/ispell.el (ispell-non-empty-string): Use `regexp-unmatchable', fixing a broken never-match regexp.
* | Avoid infinitly looping in tramp-interrupt-process (bug#35506)John Shahid2019-05-151-4/+3
| | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-interrupt-process): Remove with-timeout. Instead pass a timeout to tramp-accept-process-output. tramp-accept-process-output stops timers from running which makes the with-timeout ineffective.
* | Make image scaling work without imagemagick support in ewwLars Ingebrigtsen2019-05-151-31/+28
| | | | | | | | | | | | * lisp/net/shr.el (shr-rescale-image): Emacs has native image scaling now, so images can be rescaled without imagemagick support.
* | Make eww understand #fragment URLs at point interactivelyLars Ingebrigtsen2019-05-131-4/+4
| | | | | | | | | | | | | | * lisp/net/eww.el (eww-suggest-uris): Use thing-at-point-url-at-point instead of url-get-url-at-point (bug#31927) because it's much better at guessing what the URL actually is (especially with #fragments).
* | Add a comment about the previous shr changeLars Ingebrigtsen2019-05-131-0/+2
| |
* | Fix problems in shr when indenting tablesLars Ingebrigtsen2019-05-131-2/+4
| | | | | | | | | | | | * lisp/net/shr.el (shr-mark-fill, shr-insert-table): Fix problems when block-quoting/<li>-ing a table -- the indentation/prefix was inserted twice (bug#32277).
* | Use a more specific Accepts header in ewwFederico Tedin2019-05-131-4/+10
| | | | | | | | | | | | | | | | * lisp/net/eww.el (eww-accept-content-types): New variable. (eww): Use it. (eww-reload): Use it. (bug#33002). Copyright-paperwork-exempt: yes
* | (eww-follow-link): Record the location properly when following #linksXu Chunyang2019-05-121-0/+1
| | | | | | | | | | * lisp/net/eww.el (eww-follow-link): Record the location properly when following #links (bug#35445).
* | Handle subdomains in Tramp ad-hoc proxiesMichael Albinus2019-05-101-14/+12
| | | | | | | | | | * lisp/net/tramp-sh.el (tramp-compute-multi-hops): Add proper regexps to `tramp-default-proxies-alist'.
* | Fix an error in tramp-vc-file-name-handlerMichael Albinus2019-05-094-63/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-accept-process-output, tramp-send-string): * lisp/net/tramp-adb.el (tramp-adb-handle-make-process): * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band) (tramp-sh-handle-make-process): * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory) (tramp-smb-handle-file-acl, tramp-smb-handle-process-file) (tramp-smb-handle-set-file-acl) (tramp-smb-handle-start-file-process): Do not suppress timers. * lisp/net/tramp-sh.el (tramp-vc-file-name-handler): Check, that `tramp-file-name-for-operation' returns a proper Tramp file.
* | Use lambda in tramp-compat-* functionsMichael Albinus2019-05-061-106/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-compat.el (tramp-handle-temporary-file-directory): Declare. (tramp-compat-temporary-file-directory-function): Use function symbol. (tramp-compat-file-attribute-type) (tramp-compat-file-attribute-link-number) (tramp-compat-file-attribute-user-id) (tramp-compat-file-attribute-group-id) (tramp-compat-file-attribute-modification-time) (tramp-compat-file-attribute-size) (tramp-compat-file-attribute-modes) (tramp-compat-directory-name-p, tramp-compat-file-local-name) (tramp-compat-file-name-quoted-p, tramp-compat-file-name-quote) (tramp-compat-file-name-unquote, tramp-compat-exec-path) (tramp-compat-time-equal-p, tramp-compat-flatten-tree): Make them lambdas.
* | Rename shell-command-width to async-shell-command-width (bug#35055)Juri Linkov2019-05-051-3/+3
| | | | | | | | | | | | | | | | | | * lisp/simple.el (async-shell-command-width): * lisp/net/tramp.el (tramp-handle-shell-command): * test/lisp/net/tramp-tests.el (tramp-test32-shell-command): * doc/misc/tramp.texi (Remote processes): Rename this variable. * doc/emacs/misc.texi (Single Shell): Add async-shell-command-width.