From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marco Wahl Newsgroups: gmane.emacs.bugs Subject: bug#20412: 25.0.50; Port not respected by ffap Date: Thu, 23 Apr 2015 16:22:56 +0200 Message-ID: <84sibq3ovz.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429799073 10071 80.91.229.3 (23 Apr 2015 14:24:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 14:24:33 +0000 (UTC) To: 20412@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 16:24:20 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YlI38-0007jn-Pq for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 16:24:19 +0200 Original-Received: from localhost ([::1]:40527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlI38-00088z-4X for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 10:24:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlI2z-00081v-2a for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 10:24:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlI2s-0001R2-4u for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 10:24:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlI2s-0001Qs-2A for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 10:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YlI2r-0005f1-Pj for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 10:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Marco Wahl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Apr 2015 14:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142979900421715 (code B ref -1); Thu, 23 Apr 2015 14:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2015 14:23:24 +0000 Original-Received: from localhost ([127.0.0.1]:37870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlI2F-0005e8-5M for submit@debbugs.gnu.org; Thu, 23 Apr 2015 10:23:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41443) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlI2B-0005dr-Ow for submit@debbugs.gnu.org; Thu, 23 Apr 2015 10:23:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlI21-0000nI-BQ for submit@debbugs.gnu.org; Thu, 23 Apr 2015 10:23:14 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlI21-0000nA-8F for submit@debbugs.gnu.org; Thu, 23 Apr 2015 10:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlI1z-0007eD-2g for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 10:23:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlI1u-0000l3-0H for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 10:23:06 -0400 Original-Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:37815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlI1t-0000kY-M1 for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 10:23:01 -0400 Original-Received: by widdi4 with SMTP id di4so94375648wid.0 for ; Thu, 23 Apr 2015 07:23:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:face:date:message-id:user-agent:mime-version :content-type; bh=t2xoKy5how3nACbSZcsofqri+iBzXnQY8JwoM/QZktY=; b=n7K2jIIUfXPp+dMzSgoHDLHpK5ETV6CY7bCf+kxPg99hmhodhp05VvxskYWBzHkvxj nHEXW3sX3CEd8VblRYBWvCg0/oqAfiicP9u3t6IAyen2O15izKUgsLHfky9qrp+Wu/16 PwR4aF4LZ6JfNj6pqaEX40kafQOEGpn3HPd/qsZzt1365AwzmRJvyPFX0mNGTqml4IZH OL0464bhzg/iITczXheojaRgGqJE1d5CNMVCJtBLnv5NwHSMIQj1V7eGbPuGmEs0Y1lm 5zMMtbDAIzXIM7fXxUGYUm4RflkJrJgQ/Lii1j1QjMQXI8UlS8USRn9GbXYtst1lq0V9 /ZnQ== X-Received: by 10.194.2.16 with SMTP id 16mr5902175wjq.46.1429798980123; Thu, 23 Apr 2015 07:23:00 -0700 (PDT) Original-Received: from tm6592 (HSI-KBW-46-223-69-192.hsi.kabel-badenwuerttemberg.de. [46.223.69.192]) by mx.google.com with ESMTPSA id o6sm29440376wiz.24.2015.04.23.07.22.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Apr 2015 07:22:59 -0700 (PDT) X-Face: &"bk.O^qRpF*sK+/, &mRxu!P61bKc5"jprbZ_Rax6=! I`CX6#kmDJ~k3QZ, 69ZJor.hJCO)QXAv?&~]EP.<'HHmggrk?>ptlgr:`@WB+YuWwL=^Hl7iYYD"J) "/wg9Ps9}&2Dy^/:1V~vvHS+hK0}6P{*i`"Zyx8 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101931 Archived-At: - Have the text '/ssh:root@127.0.0.1#2222:/root/' in buffer *scratch*. - Put the cursor on the first slash. - M-x find-file-at-point Result: the filespec with the port is not recognised. Patch proposal: Modified lisp/ffap.el diff --git a/lisp/ffap.el b/lisp/ffap.el index 452275a..b59c21c 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -1004,7 +1004,7 @@ If a given RFC isn't in these then `ffap-rfc-path' is offered." ;; Slightly controversial decisions: ;; * strip trailing "@" and ":" ;; * no commas (good for latex) - (file "--:\\\\$\\{\\}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:") + (file "--:\\\\$\\{\\}+<>@-Z_[:alpha:]~*?#" "<@" "@>;.,!:") ;; An url, or maybe a email/news message-id: (url "--:=&?$+@-Z_[:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?") ;; Find a string that does *not* contain a colon: In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2) of 2015-04-19 on tm6592 Repository revision: e5bd39b2b4542c0fa87acfe464ef344364540dd9 Windowing system distributor `The X.Org Foundation', version 11.0.11701000 System Description: Arch Linux Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode) S))) pdf-occur-global-minor-mode: t TeX-PDF-mode: t magit-auto-revert-mode: t paredit-mode: t diff-auto-refine-mode: t zen-reward-mode: t shell-dirtrack-mode: t timeclock-mode-line-display: t show-paren-mode: t nyan-mode: t helm-match-plugin-mode: t helm-occur-match-plugin-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t display-time-mode: t global-company-mode: t company-mode: t global-lentic-mode: t lentic-mode: t ido-hacks-mode: t override-global-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent messages: ffap-string-at-point-mode-alist Mark activated Mark set Quit tramp-file-name-handler: Host name must not match method "ssh" [2 times] next-line: End of buffer Quit Mark set [3 times] Quit Mark set tramp-file-name-handler: Host name must not match method "ssh" Load-path shadows: Error during checking Features: (shadow emacsbug goto-addr edebug bug-reference tramp-cmds find-dired loadhist tramp-cache tramp-sh org-lint plain-tex js-mode-expansions js moz cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs pcmpl-unix mailalias flyspell quail ispell bbdb-message gnus-fun ace-window avy org-attach org-archive thai-util thai-word lao-util pdf-sync pdf-annot pdf-outline pdf-links pdf-history pdf-occur ibuf-ext ibuffer tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch pdf-misc imenu pdf-tools pdf-view pdf-cache pdf-info pdf-util ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff eieio-opt speedbar sb-image ezimage dframe preview prv-emacs tex-buf font-latex latex-mode-expansions latex tex-style tex tex-mode latexenc nxml-uchnm rng-xsd xsd-regexp rng-cmpct nxml-mode-expansions html-mode-expansions sgml-mode rng-nxml rng-valid nxml-mode nxml-outln nxml-rap nxml-glyph face-remap expand-region text-mode-expansions the-org-mode-expansions er-basic-expansions expand-region-core expand-region-custom magit-key-mode magit tramp tramp-compat tramp-loaddefs trampver autorevert filenotify git-rebase-mode git-commit-mode ledger-mode ledger-schedule ledger-xact ledger-texi ledger-test ledger-sort ledger-report ledger-reconcile ledger-post ledger-occur ledger-init ledger-fontify ledger-state ledger-navigate ledger-fonts ledger-exec ledger-context ledger-complete ledger-commodities ledger-regex rx log-edit pcvs-util add-log cus-edit sh-script smie executable misearch multi-isearch elfeed-show elfeed-db elfeed-lib elfeed-search elfeed xml-query shr-color color em-unix em-term term ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util dired-aux dired-x ld-script gnus-dired conf-mode zone flow-fill qp cal-move bookmark tabify image-file org-capture help-mode gnus-cite gnus-async gnus-bcklg mail-extr gnus-ml disp-table cursor-sensor mm-archive url-http url-gw url-cache url-auth url-handlers nnrss nndraft nnmh nndoc utf-7 epa-file epa derived epg gnutls network-stream nsm starttls nnfolder bbdb-gnus nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache smtpmail sendmail server paredit hl-line cal-iso battery org-table vc vc-dispatcher vc-git diff-mode view cal-china lunar cal-islam cal-hebrew holidays hol-loaddefs appt diary-lib diary-loaddefs page-ext ffap rase solar cal-dst gnorb gnorb-org gnorb-bbdb gnorb-registry gnorb-gnus gnorb-utils nngnorb nnir org-timer org-clock org-velocity dabbrev org-eww org-elisp-symbol org-drill org-learn hi-lock org-bullets org-w3m org-rmail org-mhe org-irc org-inlinetask org-info org-id org-habit org-gnus org-docview doc-view jka-compr image-mode org-ctags org-bibtex bibtex org-bbdb ox-texinfo ox-org ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-md ox-beamer ob-sh shell ob-clojure ob-scheme ob-gnuplot ob-dot ob-ditaa ob-lisp ob-css ob-js ob-org ob-ledger ob-latex ob-calc calc-store calc-trail calc-ext calc calc-loaddefs calc-macs ob-python ob-awk timeclock paren nyan-mode avoid helm-help helm-org helm-match-plugin helm-grep helm-regexp helm-plugin grep helm-external helm-utils compile helm helm-source erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-dcc erc-goodies erc erc-backend erc-compat thingatpt pp time desktop frameset cus-start cus-load zeitgeist dbus bbdb-csv-import pcsv auxies-rest rect emacsshot rope-read-mode key-chord org-protocol auxies-eww auxies-string bbdb-mua bbdb-com crm bbdb bbdb-site timezone bbdb-loaddefs company-files company-oddmuse company-keywords company-etags etags xref company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company helm-config helm-autoloads edmacro kmacro async-bytecomp async helm-aliases lentic-mode lentic-doc f s ucs-normalize lentic-org lentic-block ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element avl-tree org-location-google-maps org-agenda google-maps google-maps-static google-maps-geocode google-maps-base json org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs eww mm-url url-queue shr dom subr-x browse-url lentic m-buffer-at m-buffer m-buffer-macro dash emms-librefm-stream xml emms-librefm-scrobbler emms-playlist-limit emms-volume emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-playing-time emms-lyrics emms-url emms-streams emms-tag-editor emms-mark emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-vlc emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file locate emms-setup emms emms-compat ido-hacks advice ido gnus-registry registry eieio-compat eieio-base gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc nnoo parse-time gnus-spec gnus-win gnus-int gnus-range message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus gnus-ems gnus-compat url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio eieio-core cl-generic byte-opt password-cache url-vars mailcap nnheader gnus-util time-date mail-utils mm-util help-fns mail-prsvr wid-edit gnus-load use-package cl-macs cl gv diminish bytecomp byte-compile cl-extra seq cconv bind-key easy-mmode cl-loaddefs pcase cl-lib tex-site pomodoro-autoloads screenshot-autoloads info easymenu slime-autoloads finder-inf package epg-config mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 2214795 289548) (symbols 48 95890 4) (miscs 40 18555 3638) (strings 32 372208 73293) (string-bytes 1 23408398) (vectors 16 133168) (vector-slots 8 2746232 77122) (floats 8 12806 2255) (intervals 56 153884 17446) (buffers 976 204) (heap 1024 269860 107685)) -- http://www.wahlzone.de GPG: 0x49010A040A3AE6F2