From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Hull Newsgroups: gmane.emacs.bugs Subject: bug#33619: 26.1.90; Tramp "simplified" syntax completion problem Date: Tue, 4 Dec 2018 17:14:16 -0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007a5bad057c3c1a5e" X-Trace: blaine.gmane.org 1543972386 2418 195.159.176.226 (5 Dec 2018 01:13:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2018 01:13:06 +0000 (UTC) To: 33619@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 05 02:13:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gULkL-0000Pe-17 for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Dec 2018 02:13:01 +0100 Original-Received: from localhost ([::1]:59621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gULmR-0007mA-Jk for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Dec 2018 20:15:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gULmK-0007lu-Kv for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 20:15:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gULmI-0003Gl-T1 for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 20:15:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56921) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gULmI-0003GF-DY for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 20:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gULmI-0003Ya-8w for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 20:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David Hull Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Dec 2018 01:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33619 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.154397248513631 (code B ref -1); Wed, 05 Dec 2018 01:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Dec 2018 01:14:45 +0000 Original-Received: from localhost ([127.0.0.1]:32946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gULm1-0003Xn-8W for submit@debbugs.gnu.org; Tue, 04 Dec 2018 20:14:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gULlz-0003Xa-Mt for submit@debbugs.gnu.org; Tue, 04 Dec 2018 20:14:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gULls-000301-CO for submit@debbugs.gnu.org; Tue, 04 Dec 2018 20:14:37 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38268) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gULlr-0002xZ-N1 for submit@debbugs.gnu.org; Tue, 04 Dec 2018 20:14:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gULlp-0007jL-At for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 20:14:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gULlm-0002p1-PX for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 20:14:32 -0500 Original-Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]:36875) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gULll-0002kn-Uv for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 20:14:30 -0500 Original-Received: by mail-io1-xd2f.google.com with SMTP id f14so9833874iol.4 for ; Tue, 04 Dec 2018 17:14:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openx.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=fyDNyjHX+jyhNGCCrzoqloAFyk/tkrHv7q7R6bgE1N4=; b=Xpu/wsuOBRLyhI2f780kZRQMP2ZDIRDs9mtGsfdWMiwmfSf/hK9eW6ijZasu4mRmDA H+eM6lQIB3vHHvKlp1EXw4gNviLXno7jRZBwJTd1ycl3bbffdV+28obWnhn/qyNJaj1+ h9Q4aNG78QEfH2TyoREIj049JSSFS193yQYcfzDmWxQJJp/S3yjt3k3yRNSJ7E9mPgju UU5q+buWsrxglcmhSWCwY6xpW1deWMFACE9LdQPykXCoEiowFtzuiIl0FdoHW5BcQBDe CN5GD0NclteeGYN0xSLVl+T4xbg24ThmCtczzOu9GaIIzgsJwowWHzpSW/2SWUPWxKwc sw2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fyDNyjHX+jyhNGCCrzoqloAFyk/tkrHv7q7R6bgE1N4=; b=H7sBZTcdV3ZQ/hcaFXv95KHYE6FYQYh1vV8czvbr1GjKR/80tqew1zHBaXDwMkMxyh tzYAp317N58xL8zi/2/M8ozIj1sTvHDGtM3QnWe51EF82dwBQGCP8rqGq8P0HcJDbRd8 P07x9aASembUh0XocpUjxe/jgIXDefdTgpQjlSpcwn3WYrku213ukBM6EvssOhSZP8eg H3aIVRsHIpNOrA9x8yNNOsrYIEymYU1l4wjCfRYH64HwAxijiuVRCvjgxtZNCgELTTl5 W91PtUS6JuklapSFPHvcELAHO/hkw1SOBETDgjPrvxE7DqKmyYFgHbMp7v+gKYpZ4oCS mbgg== X-Gm-Message-State: AA+aEWbJGQxlFfurZC7shM++0M8ZdYPlqqbAmhDNnU/SVdmOJcRWBMRf bdCWkrf9fgNLEFqipyLh8BuUapkl8/O3Gplp7nUhXk4kxng= X-Google-Smtp-Source: AFSGD/XzmGgj879lkGYoRAdUp3KVxYGBagLjWOm/Q7VfO24PJyzzFU3OXFBZWxLPdSSjXY9266+z3hHu+IoC4tiv6Fg= X-Received: by 2002:a6b:720d:: with SMTP id n13mr20599029ioc.90.1543972467653; Tue, 04 Dec 2018 17:14:27 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153093 Archived-At: --0000000000007a5bad057c3c1a5e Content-Type: text/plain; charset="UTF-8" Filename completion does not work with tramp's "simplified" syntax. (load-library "tramp") (tramp-change syntax 'simplified) Now if I run find-file and type "//cos6:src/ss" and then TAB I get the error: completion--some: Wrong type argument: stringp, "" (My remote host is named "cos6" and it has a "src/ssrtb-server" directory.) If I set the the tramp-syntax back to 'default then completion works. Completion worked with the "simplified" syntax in emacs 26.1. In GNU Emacs 26.1.90 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.10 Version 10.14.1 (Build 18B75)) of 2018-12-03 built on mbp-109-op-04 Repository revision: 8d7e58ce9f389d77323e0237c22c4e13cb68b8e7 Windowing system distributor 'Apple', version 10.3.1671 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit [3 times] Making completion list... Loading tramp...done completion--some: Wrong type argument: stringp, "" Quit [3 times] Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: JPEG DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS Important settings: value of $EMACSDATA: /Users/david.hull/Applications/Emacs.app/Contents/Resources/etc value of $EMACSLOADPATH: /Users/david.hull/Applications/Emacs.app/Contents/Resources/lisp:/Users/david.hull/Applications/Emacs.app/Contents/Resources/lisp/leim value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-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 message rmc puny seq dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tramp-cache tramp-sh cus-edit easymenu cus-start cus-load wid-edit tramp-cmds tramp tramp-compat tramp-loaddefs trampver shell pcomplete comint ansi-color ring parse-time format-spec advice auth-source cl-seq eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs cl-loaddefs cl-lib password-cache elec-pair time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 237760 12374) (symbols 48 23427 1) (miscs 40 71 206) (strings 32 39299 1776) (string-bytes 1 1132795) (vectors 16 39286) (vector-slots 8 771090 18152) (floats 8 73 64) (intervals 56 230 0) (buffers 992 13)) --0000000000007a5bad057c3c1a5e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Filename completion does not work with tramp's "s= implified" syntax.

=C2=A0 (load-library "tramp")
= =C2=A0 (tramp-change syntax 'simplified)

Now if I run find-file = and type "//cos6:src/ss" and then TAB I get the error:

=C2= =A0 completion--some: Wrong type argument: stringp, ""

(My= remote host is named "cos6" and it has a "src/ssrtb-server&= quot; directory.)

If I set the the tramp-syntax back to 'default= then completion works. Completion worked with the "simplified" s= yntax in emacs 26.1.



In GNU Emacs 26.1.90 (build 1, x86_64-a= pple-darwin18.2.0, NS appkit-1671.10 Version 10.14.1 (Build 18B75))
=C2= =A0of 2018-12-03 built on mbp-109-op-04
Repository revision: 8d7e58ce9f3= 89d77323e0237c22c4e13cb68b8e7
Windowing system distributor 'Apple= 9;, version 10.3.1671
Recent messages:
For information about GNU Emac= s and the GNU system, type C-h C-a.
Quit [3 times]
Making completion = list...
Loading tramp...done
completion--some: Wrong type argument: s= tringp, ""
Quit [3 times]
Configured using:
=C2=A0'c= onfigure --with-ns '--enable-locallisppath=3D/Library/Application
= =C2=A0Support/Emacs/${version}/site-lisp:/Library/Application
=C2=A0Supp= ort/Emacs/site-lisp' --with-modules'

Configured features:JPEG DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULESTHREADS

Important settings:
=C2=A0 value of $EMACSDATA: /Users/d= avid.hull/Applications/Emacs.app/Contents/Resources/etc
=C2=A0 value of = $EMACSLOADPATH: /Users/david.hull/Applications/Emacs.app/Contents/Resources= /lisp:/Users/david.hull/Applications/Emacs.app/Contents/Resources/lisp/leim=
=C2=A0 value of $LC_COLLATE: C
=C2=A0 value of $LANG: en_US.UTF-8=C2=A0 locale-coding-system: utf-8-unix

Major mode: Fundamental
=
Minor modes in effect:
=C2=A0 shell-dirtrack-mode: t
=C2=A0 toolt= ip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t=
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-ba= r-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mod= e: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
= =C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0= buffer-read-only: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark= -mode: t

Load-path shadows:
None found.

Features:
(shad= ow sort mail-extr emacsbug message rmc puny seq dired
dired-loaddefs rfc= 822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddef= s mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils = mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-u= tils tramp-cache tramp-sh cus-edit easymenu
cus-start cus-load wid-edit = tramp-cmds tramp tramp-compat tramp-loaddefs
trampver shell pcomplete co= mint ansi-color ring parse-time format-spec
advice auth-source cl-seq ei= eio byte-opt bytecomp byte-compile cconv
eieio-core cl-macs gv eieio-loa= ddefs cl-loaddefs cl-lib password-cache
elec-pair time-date tooltip eldo= c electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-w= in ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset i= mage regexp-opt fringe
tabulated-list replace newcomment text-mode elisp= -mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch tim= er select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core<= br>term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
v= ietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
heb= rew greek romanian slovak czech european ethiopic indian cyrillic
chines= e composite charscript charprop case-table epa-hook jka-cmpr-hook
help s= imple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button fac= es cus-face macroexp files text-properties overlay sha1 md5
base64 forma= t env code-pages mule custom widget hashtable-print-readable
backquote t= hreads dbusbind kqueue cocoa ns multi-tty
make-network-process emacs)
Memory information:
((conses 16 237760 12374)
=C2=A0(symbols 48 = 23427 1)
=C2=A0(miscs 40 71 206)
=C2=A0(strings 32 39299 1776)
=C2= =A0(string-bytes 1 1132795)
=C2=A0(vectors 16 39286)
=C2=A0(vector-sl= ots 8 771090 18152)
=C2=A0(floats 8 73 64)
=C2=A0(intervals 56 230 0)=
=C2=A0(buffers 992 13))
--0000000000007a5bad057c3c1a5e--