From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Paul Clark Newsgroups: gmane.emacs.bugs Subject: bug#41663: 26.3; ffap-rfc-path requires a method for the latest version of tramp Date: Tue, 02 Jun 2020 12:00:57 +0100 Message-ID: <871rmx3f6e.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="122880"; mail-complaints-to="usenet@ciao.gmane.io" To: 41663@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 02 17:04:16 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jg8Sd-000VpO-Or for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Jun 2020 17:04:15 +0200 Original-Received: from localhost ([::1]:39686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jg8Sc-0004Kd-Kd for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Jun 2020 11:04:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jg8SR-0004Jz-G2 for bug-gnu-emacs@gnu.org; Tue, 02 Jun 2020 11:04:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57274) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jg8SQ-0002mv-Ls for bug-gnu-emacs@gnu.org; Tue, 02 Jun 2020 11:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jg8SQ-0007j1-Hj for bug-gnu-emacs@gnu.org; Tue, 02 Jun 2020 11:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Clark Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Jun 2020 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41663 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159111020029639 (code B ref -1); Tue, 02 Jun 2020 15:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Jun 2020 15:03:20 +0000 Original-Received: from localhost ([127.0.0.1]:40585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg8Rk-0007hy-0E for submit@debbugs.gnu.org; Tue, 02 Jun 2020 11:03:20 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg4fK-0007EY-2o for submit@debbugs.gnu.org; Tue, 02 Jun 2020 07:01:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jg4fJ-00008i-PR for bug-gnu-emacs@gnu.org; Tue, 02 Jun 2020 07:01:05 -0400 Original-Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:33939) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jg4fG-000769-5I for bug-gnu-emacs@gnu.org; Tue, 02 Jun 2020 07:01:05 -0400 Original-Received: by mail-wm1-x343.google.com with SMTP id u26so1983763wmn.1 for ; Tue, 02 Jun 2020 04:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=7y3mfPeleAH5Gqd6X/Rk57ZOP7o82x/C+F/AWmSCqPQ=; b=Zf+PTVe30lGpvh3rYBgThzHHkLGay4JyYsg0uvTFcHL3r97jef3HePu8ZrOKbRYfux ONTDIcPWiLEh1gMoGTjs+BDQH4miqio+3EFP6737g7b3MS6f+ieK3N191yLpk2+KHX49 BZ4llThunj2CDUW2sZ//MN6lsoAeAACC+2XZ8r1IIbdL9q5HPnu4usQs+zIhyChFtcUw bszRP4qz6SFcGibsqLuAOc35DGmu64evEVc4R/8KTUsbWGhqI1TStu25CY00ndNIZO+I w4CKdiLD0Gusn9AG3ty17qp3d+loBmHHkZVIgZV1nEaOvUtxUDRK6iwEbx/2mp/vLTXg tuIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=7y3mfPeleAH5Gqd6X/Rk57ZOP7o82x/C+F/AWmSCqPQ=; b=rYZrcmZ0jaPl6lKHS4V3i3SkQHMrnV/RgQlxqjAb0O7i45tUTj4JsD0zdIuik1MG6a yYD2eNjMEXe4YH4Z78JsIUOIepv4V9lr86mNnIfpvu748UVy2Bk46bj5Vm4ngZisnVR7 3r0lRRss7i/EHBQcPaFEyEDMl9XZqpYNPpIeDHzujp38lGDwGyqlqWchnFKoSO0CbYuK zEwkxqULUXJUo1UNDoiZ5YNfCVmD3J//dj67bP0f8OVDjB7/oauXQG33o5udGpzZzOKr ryQHtQGKvfo4K3O6tmbrOLKULcfpDPJbrXfyHQw8B7ev1IXcKR+M+5C7tZolLbp791qx hC5w== X-Gm-Message-State: AOAM533Cxk/8ITPp9Ni3LCl2cGm+xBX9H2m3yNkPPUOAZ546ejley1FD nU1pIFH/MDIbhOoL3Ls1hyAKrgge X-Google-Smtp-Source: ABdhPJxt0XP/Skir+bEoxjxMqrdNuuU2KOWiHp9pJS5w3PO7R02dAuPheksVk+l0j7x6klaRORa0/w== X-Received: by 2002:a1c:2082:: with SMTP id g124mr3807953wmg.21.1591095659373; Tue, 02 Jun 2020 04:00:59 -0700 (PDT) Original-Received: from localhost ([2a00:23c2:8602:eb00:b213:a2cd:9e81:2f88]) by smtp.gmail.com with ESMTPSA id o15sm3332201wrv.48.2020.06.02.04.00.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jun 2020 04:00:58 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=paul500clark@gmail.com; helo=mail-wm1-x343.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Tue, 02 Jun 2020 11:03:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181403 Archived-At: The default value of ffap-rfc-path, set in /usr/share/emacs/26.3/lisp/ffap.el.gz, is "/anonymous@ftp.rfc-editor.org:/in-notes/rfc%s.txt". The method part of remote file names is now mandatory in tramp (from Emacs 26.1 according to /usr/share/emacs/26.3/etc/NEWS). ffap-rfc-path needs to be changed to "/ftp:anonymous@ftp.rfc-editor.org:/in-notes/rfc%s.txt". Recipe to demonstrate the problem: Start emacs with "emacs -Q". Type "RFC6214". Run ffap with "M-x ffap ". The minibuffer contains Find file or URL: /anonymous@ftp.rfc-editor.org:/in-notes/rfc6214.txt with the cursor after the last "/". Pressing "" finds the nonexistent file "/anonymous@ftp.rfc-editor.org:/in-notes/rfc6214.txt". To fix: Go back to *scratch* buffer with "C-x b ". Type "M-x set-variable ffap-rfc-path ". Retrieve current value with "", then " ftp:" so the minibuffer contains Set ffap-rfc-path globally to value "/ftp:anonymous@ftp.rfc-editor.org:/in-notes/rfc%s.txt" Type "". Then run ffap again with "M-x ffap ". The minibuffer contains Find file or URL: /ftp:anonymous@ftp.rfc-editor.org:/in-notes/rfc6214.txt Type "". Emacs loads the correct document. In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20) of 2020-05-19 built on felixonmars2 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 Recent messages: End of search results. [2 times] C-j runs the command electric-newline-and-maybe-indent Type "q" in help window to restore its previous buffer, C-M-v to scroll help. Mark saved where search started End of search results. [2 times] Mark set Type C-x 4 C-o RET to restore the other window. Type "q" in help window to restore its previous buffer. Making completion list... Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD LCMS2 Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Help Minor modes in effect: diff-auto-refine-mode: t electric-pair-mode: t recentf-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug apropos misearch multi-isearch cl-extra gambit cmuscheme scheme dabbrev network-stream starttls url-http url-gw nsm url-auth url-queue url-cache url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util shr svg xml dom browse-url my-mail sendmail notmuch hl-line notmuch-hello notmuch-tree notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-message notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser notmuch-wash diff-mode coolj notmuch-query goto-addr icalendar diary-lib diary-loaddefs notmuch-tag edmacro kmacro crm notmuch-lib notmuch-version notmuch-compat cl mm-view mml-smime smime dig mailcap eieio-opt speedbar sb-image ezimage dframe help-fns radix-tree help-mode flyspell ispell org-rmail org-mhe org-irc org-info org-gnus nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rmc puny seq rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr org-docview doc-view jka-compr image-mode dired-x dired dired-loaddefs org-bibtex bibtex org-bbdb org-w3m org-agenda org-element avl-tree generator my-org org advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func my-calendar cal-menu calendar cal-loaddefs server pdf-loader pdf-autoloads elec-pair windmove ffap thingatpt url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs password-cache url-vars recentf tree-widget wid-edit cl-loaddefs cl-lib easymenu time-date paren mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 289417 36024) (symbols 48 37446 1) (miscs 40 844 2479) (strings 32 86594 4608) (string-bytes 1 2681776) (vectors 16 40920) (vector-slots 8 1473838 160212) (floats 8 253 584) (intervals 56 2158 419) (buffers 992 29)) -- Paul Clark