GNU bug report logs - #41663
26.3; ffap-rfc-path requires a method for the latest version of tramp

Previous Next

Package: emacs;

Reported by: Paul Clark <paul500clark <at> gmail.com>

Date: Tue, 2 Jun 2020 15:04:02 UTC

Severity: normal

Tags: fixed

Found in version 26.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41663 in the body.
You can then email your comments to 41663 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#41663; Package emacs. (Tue, 02 Jun 2020 15:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Clark <paul500clark <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 02 Jun 2020 15:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Clark <paul500clark <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.3; ffap-rfc-path requires a method for the latest version of tramp
Date: Tue, 02 Jun 2020 12:00:57 +0100
The default value of ffap-rfc-path, set in
/usr/share/emacs/26.3/lisp/ffap.el.gz, is
"/anonymous <at> 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 <at> 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 <return>". The minibuffer
contains

    Find file or URL: /anonymous <at> ftp.rfc-editor.org:/in-notes/rfc6214.txt

with the cursor after the last "/". Pressing "<return>" finds the
nonexistent file "/anonymous <at> ftp.rfc-editor.org:/in-notes/rfc6214.txt".

To fix:

Go back to *scratch* buffer with "C-x b <return>". Type
"M-x set-variable <return> ffap-rfc-path <return>". Retrieve current
value with "<down>", then "<right> <right> ftp:" so the minibuffer
contains

    Set ffap-rfc-path globally to value "/ftp:anonymous <at> ftp.rfc-editor.org:/in-notes/rfc%s.txt"

Type "<return>". Then run ffap again with "M-x ffap <return>". The minibuffer
contains

    Find file or URL: /ftp:anonymous <at> ftp.rfc-editor.org:/in-notes/rfc6214.txt

Type "<return>". 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41663; Package emacs. (Thu, 22 Oct 2020 13:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 41663 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Paul Clark <paul500clark <at> gmail.com>
Cc: 41663 <at> debbugs.gnu.org
Subject: Re: bug#41663: 26.3; ffap-rfc-path requires a method for the latest
 version of tramp
Date: Thu, 22 Oct 2020 15:37:59 +0200
Paul Clark <paul500clark <at> gmail.com> writes:

> The default value of ffap-rfc-path, set in
> /usr/share/emacs/26.3/lisp/ffap.el.gz, is
> "/anonymous <at> 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 <at> ftp.rfc-editor.org:/in-notes/rfc%s.txt".

I can reproduce the bug in Emacs 28, but I think a better fix would be
to start using HTTPS instead of FTP here (since few systems have FTP
installed, these days).

So I've done that in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 22 Oct 2020 13:39:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 41663 <at> debbugs.gnu.org and Paul Clark <paul500clark <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 22 Oct 2020 13:39:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 20 Nov 2020 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.