* bug#58133: 29.0.50; Tramp do not parse auth-sources
@ 2022-09-28 4:19 Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-10 13:55 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-10 13:55 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 2 replies; 8+ messages in thread
From: Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-09-28 4:19 UTC (permalink / raw)
To: 58133
Dear all,
From this August, tramp seems not to parse the auth-sources (.authinfo.gpg).
When I press `C-x C-f /plink:`, there is no completion provided. However
`(tramp-parse-auth-sources "plink")` does as expected and provides a
list of user and url cons from auth-sources. I add some print stuffs to
the relevant tramp functions an find out that it seems the step about
`tramp-parse-auth-sources` is not executed.
By the way, Emacs compile `cl-loaddefs.el` and `tramp-loaddefs.el` at
the first time relevant function be called.
``` Compiling
c:/msys64/mingw64/share/emacs/29.0.50/lisp/emacs-lisp/cl-loaddefs.el...
Compiling
c:/msys64/mingw64/share/emacs/29.0.50/lisp/net/tramp-loaddefs.el...
```
Best Regards,
Shuguang Sun
In GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-09-26 built
Repository revision: a386833503430732a5c9bed8dbc5c3073f72b5ab
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.19044
System Description: Microsoft Windows 10 Pro (v10.0.2009.19044.2006)
Configured using:
'configure --without-pop --with-native-image-api
--with-native-compilation --without-compress-install
'--program-transform-name=s/^ctags$/ctags.emacs/''
Configured features:
ACL DBUS GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES
NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP XPM ZLIB
Important settings:
value of $LANG: CHS
locale-coding-system: cp936
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58133: 29.0.50; Tramp do not parse auth-sources
2022-09-28 4:19 bug#58133: 29.0.50; Tramp do not parse auth-sources Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-10-10 13:55 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-10 20:03 ` Michael Albinus
2022-10-10 13:55 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
1 sibling, 1 reply; 8+ messages in thread
From: Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-10-10 13:55 UTC (permalink / raw)
To: 58133
Dear all,
This happened from the commit be2e6228f8c9c57d2809bdd953d065ebfc63d4c4 (Aug 26) in which the
`tramp-completion-file-name-handler` becames:
"\\`\\(?:\\`[[:alpha:]]:\\)?\\(?:^/\\)\\(?:\\(?:\\(?5:-\\|[[:alnum:]]\\{2,\\}\\)\\(?::\\)\\(?:\\(?:\\(?6:[^/:|[:blank:]]+\\)\\(?:@\\)\\)?\\(?:\\(?7:\\(?:[%._[:alnum:]-]+\\|\\(?:\\[\\)\\(?:\\(?:[[:alnum:]]*:\\)+[.[:alnum:]]*\\)?\\(?:]\\)\\)\\(?:\\(?:#\\)\\(?:[[:digit:]]+\\)\\)?\\)\\)?\\)\\)\\(?:|\\)\\)*\\(?:\\(?:-\\|[[:alnum:]]+\\)\\(?:\\(?::\\)\\(?:[%._[:alnum:]-]+\\)?\\)?\\)?\\'"
Before that the `tramp-completion-file-name-handler` (b7e867b841f47dcff3aeaef9b5608a237386ce70, Aug 23) is
"\\`\\(?:[[:alpha:]]:\\)?/\\(\\([^/|:]+:[^/|:]*|\\)*\\(-\\|[^/|:]\\{2,\\}\\)\\(:[^/|:]*\\)?\\)?\\'"
which works. And if I run
```
(add-to-list
'file-name-handler-alist
(cons "\\`\\(?:[[:alpha:]]:\\)?/\\(\\([^/|:]+:[^/|:]*|\\)*\\(-\\|[^/|:]\\{2,\\}\\)\\(:[^/|:]*\\)?\\)?\\'" #'tramp-completion-file-name-handler))
```
then tramp can make completion, e.g., when I do `find-file` and input
"/", the tramp-methods will come to the completion list.
Shuguang Sun via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> writes:
> Dear all,
>
> From this August, tramp seems not to parse the auth-sources (.authinfo.gpg).
>
> When I press `C-x C-f /plink:`, there is no completion provided. However
> `(tramp-parse-auth-sources "plink")` does as expected and provides a
> list of user and url cons from auth-sources. I add some print stuffs to
> the relevant tramp functions an find out that it seems the step about
> `tramp-parse-auth-sources` is not executed.
>
> By the way, Emacs compile `cl-loaddefs.el` and `tramp-loaddefs.el` at
> the first time relevant function be called.
>
> ``` Compiling
> c:/msys64/mingw64/share/emacs/29.0.50/lisp/emacs-lisp/cl-loaddefs.el...
> Compiling
> c:/msys64/mingw64/share/emacs/29.0.50/lisp/net/tramp-loaddefs.el...
> ```
>
> Best Regards,
> Shuguang Sun
>
> In GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-09-26 built
> Repository revision: a386833503430732a5c9bed8dbc5c3073f72b5ab
> Repository branch: master
> Windowing system distributor 'Microsoft Corp.', version 10.0.19044
> System Description: Microsoft Windows 10 Pro (v10.0.2009.19044.2006)
>
> Configured using:
> 'configure --without-pop --with-native-image-api
> --with-native-compilation --without-compress-install
> '--program-transform-name=s/^ctags$/ctags.emacs/''
>
> Configured features:
> ACL DBUS GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES
> NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
> TOOLKIT_SCROLL_BARS WEBP XPM ZLIB
>
> Important settings:
> value of $LANG: CHS
> locale-coding-system: cp936
>
>
>
>
--
Best Regards
Shuguang Sun
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58133: 29.0.50; Tramp do not parse auth-sources
2022-09-28 4:19 bug#58133: 29.0.50; Tramp do not parse auth-sources Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-10 13:55 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-10-10 13:55 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
1 sibling, 0 replies; 8+ messages in thread
From: Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-10-10 13:55 UTC (permalink / raw)
To: 58133
Dear all,
This happened from the commit be2e6228f8c9c57d2809bdd953d065ebfc63d4c4 (Aug 26) in which the
`tramp-completion-file-name-handler` becames:
"\\`\\(?:\\`[[:alpha:]]:\\)?\\(?:^/\\)\\(?:\\(?:\\(?5:-\\|[[:alnum:]]\\{2,\\}\\)\\(?::\\)\\(?:\\(?:\\(?6:[^/:|[:blank:]]+\\)\\(?:@\\)\\)?\\(?:\\(?7:\\(?:[%._[:alnum:]-]+\\|\\(?:\\[\\)\\(?:\\(?:[[:alnum:]]*:\\)+[.[:alnum:]]*\\)?\\(?:]\\)\\)\\(?:\\(?:#\\)\\(?:[[:digit:]]+\\)\\)?\\)\\)?\\)\\)\\(?:|\\)\\)*\\(?:\\(?:-\\|[[:alnum:]]+\\)\\(?:\\(?::\\)\\(?:[%._[:alnum:]-]+\\)?\\)?\\)?\\'"
Before that the `tramp-completion-file-name-handler` (b7e867b841f47dcff3aeaef9b5608a237386ce70, Aug 23) is
"\\`\\(?:[[:alpha:]]:\\)?/\\(\\([^/|:]+:[^/|:]*|\\)*\\(-\\|[^/|:]\\{2,\\}\\)\\(:[^/|:]*\\)?\\)?\\'"
which works. And if I run
```
(add-to-list
'file-name-handler-alist
(cons "\\`\\(?:[[:alpha:]]:\\)?/\\(\\([^/|:]+:[^/|:]*|\\)*\\(-\\|[^/|:]\\{2,\\}\\)\\(:[^/|:]*\\)?\\)?\\'" #'tramp-completion-file-name-handler))
```
then tramp can make completion, e.g., when I do `find-file` and input
"/", the tramp-methods will come to the completion list.
Shuguang Sun via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> writes:
> Dear all,
>
> From this August, tramp seems not to parse the auth-sources (.authinfo.gpg).
>
> When I press `C-x C-f /plink:`, there is no completion provided. However
> `(tramp-parse-auth-sources "plink")` does as expected and provides a
> list of user and url cons from auth-sources. I add some print stuffs to
> the relevant tramp functions an find out that it seems the step about
> `tramp-parse-auth-sources` is not executed.
>
> By the way, Emacs compile `cl-loaddefs.el` and `tramp-loaddefs.el` at
> the first time relevant function be called.
>
> ``` Compiling
> c:/msys64/mingw64/share/emacs/29.0.50/lisp/emacs-lisp/cl-loaddefs.el...
> Compiling
> c:/msys64/mingw64/share/emacs/29.0.50/lisp/net/tramp-loaddefs.el...
> ```
>
> Best Regards,
> Shuguang Sun
>
> In GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-09-26 built
> Repository revision: a386833503430732a5c9bed8dbc5c3073f72b5ab
> Repository branch: master
> Windowing system distributor 'Microsoft Corp.', version 10.0.19044
> System Description: Microsoft Windows 10 Pro (v10.0.2009.19044.2006)
>
> Configured using:
> 'configure --without-pop --with-native-image-api
> --with-native-compilation --without-compress-install
> '--program-transform-name=s/^ctags$/ctags.emacs/''
>
> Configured features:
> ACL DBUS GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES
> NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
> TOOLKIT_SCROLL_BARS WEBP XPM ZLIB
>
> Important settings:
> value of $LANG: CHS
> locale-coding-system: cp936
>
>
>
>
--
Best Regards
Shuguang Sun
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58133: 29.0.50; Tramp do not parse auth-sources
2022-10-10 13:55 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-10-10 20:03 ` Michael Albinus
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Michael Albinus @ 2022-10-10 20:03 UTC (permalink / raw)
To: 58133; +Cc: shuguang79
Shuguang Sun via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
> Dear all,
Hi,
> This happened from the commit be2e6228f8c9c57d2809bdd953d065ebfc63d4c4 (Aug 26) in which the
> `tramp-completion-file-name-handler` becames:
>
> "\\`\\(?:\\`[[:alpha:]]:\\)?\\(?:^/\\)\\(?:\\(?:\\(?5:-\\|[[:alnum:]]\\{2,\\}\\)\\(?::\\)\\(?:\\(?:\\(?6:[^/:|[:blank:]]+\\)\\(?:@\\)\\)?\\(?:\\(?7:\\(?:[%._[:alnum:]-]+\\|\\(?:\\[\\)\\(?:\\(?:[[:alnum:]]*:\\)+[.[:alnum:]]*\\)?\\(?:]\\)\\)\\(?:\\(?:#\\)\\(?:[[:digit:]]+\\)\\)?\\)\\)?\\)\\)\\(?:|\\)\\)*\\(?:\\(?:-\\|[[:alnum:]]+\\)\\(?:\\(?::\\)\\(?:[%._[:alnum:]-]+\\)?\\)?\\)?\\'"
Fixed now in master. Could you, pls, check?
Best regards, Michael.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58133: 29.0.50; Tramp do not parse auth-sources
2022-10-10 20:03 ` Michael Albinus
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-11 11:27 ` Michael Albinus
2 siblings, 1 reply; 8+ messages in thread
From: Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-10-11 8:37 UTC (permalink / raw)
To: Michael Albinus; +Cc: 58133
Michael Albinus <michael.albinus@gmx.de> writes:
> Hi,
>
>> This happened from the commit be2e6228f8c9c57d2809bdd953d065ebfc63d4c4 (Aug 26) in which the
>> `tramp-completion-file-name-handler` becames:
>>
>> "\\`\\(?:\\`[[:alpha:]]:\\)?\\(?:^/\\)\\(?:\\(?:\\(?5:-\\|[[:alnum:]]\\{2,\\}\\)\\(?::\\)\\(?:\\(?:\\(?6:[^/:|[:blank:]]+\\)\\(?:@\\)\\)?\\(?:\\(?7:\\(?:[%._[:alnum:]-]+\\|\\(?:\\[\\)\\(?:\\(?:[[:alnum:]]*:\\)+[.[:alnum:]]*\\)?\\(?:]\\)\\)\\(?:\\(?:#\\)\\(?:[[:digit:]]+\\)\\)?\\)\\)?\\)\\)\\(?:|\\)\\)*\\(?:\\(?:-\\|[[:alnum:]]+\\)\\(?:\\(?::\\)\\(?:[%._[:alnum:]-]+\\)?\\)?\\)?\\'"
>
> Fixed now in master. Could you, pls, check?
>
> Best regards, Michael.
Thanks. It works.
--
Best Regards
Shuguang Sun
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58133: 29.0.50; Tramp do not parse auth-sources
2022-10-10 20:03 ` Michael Albinus
@ 2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2 siblings, 0 replies; 8+ messages in thread
From: Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-10-11 8:37 UTC (permalink / raw)
To: Michael Albinus; +Cc: 58133
Michael Albinus <michael.albinus@gmx.de> writes:
> Hi,
>
>> This happened from the commit be2e6228f8c9c57d2809bdd953d065ebfc63d4c4 (Aug 26) in which the
>> `tramp-completion-file-name-handler` becames:
>>
>> "\\`\\(?:\\`[[:alpha:]]:\\)?\\(?:^/\\)\\(?:\\(?:\\(?5:-\\|[[:alnum:]]\\{2,\\}\\)\\(?::\\)\\(?:\\(?:\\(?6:[^/:|[:blank:]]+\\)\\(?:@\\)\\)?\\(?:\\(?7:\\(?:[%._[:alnum:]-]+\\|\\(?:\\[\\)\\(?:\\(?:[[:alnum:]]*:\\)+[.[:alnum:]]*\\)?\\(?:]\\)\\)\\(?:\\(?:#\\)\\(?:[[:digit:]]+\\)\\)?\\)\\)?\\)\\)\\(?:|\\)\\)*\\(?:\\(?:-\\|[[:alnum:]]+\\)\\(?:\\(?::\\)\\(?:[%._[:alnum:]-]+\\)?\\)?\\)?\\'"
>
> Fixed now in master. Could you, pls, check?
>
> Best regards, Michael.
Thanks. It works.
--
Best Regards
Shuguang Sun
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58133: 29.0.50; Tramp do not parse auth-sources
2022-10-10 20:03 ` Michael Albinus
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2 siblings, 0 replies; 8+ messages in thread
From: Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-10-11 8:37 UTC (permalink / raw)
To: Michael Albinus; +Cc: 58133
Michael Albinus <michael.albinus@gmx.de> writes:
> Hi,
>
>> This happened from the commit be2e6228f8c9c57d2809bdd953d065ebfc63d4c4 (Aug 26) in which the
>> `tramp-completion-file-name-handler` becames:
>>
>> "\\`\\(?:\\`[[:alpha:]]:\\)?\\(?:^/\\)\\(?:\\(?:\\(?5:-\\|[[:alnum:]]\\{2,\\}\\)\\(?::\\)\\(?:\\(?:\\(?6:[^/:|[:blank:]]+\\)\\(?:@\\)\\)?\\(?:\\(?7:\\(?:[%._[:alnum:]-]+\\|\\(?:\\[\\)\\(?:\\(?:[[:alnum:]]*:\\)+[.[:alnum:]]*\\)?\\(?:]\\)\\)\\(?:\\(?:#\\)\\(?:[[:digit:]]+\\)\\)?\\)\\)?\\)\\)\\(?:|\\)\\)*\\(?:\\(?:-\\|[[:alnum:]]+\\)\\(?:\\(?::\\)\\(?:[%._[:alnum:]-]+\\)?\\)?\\)?\\'"
>
> Fixed now in master. Could you, pls, check?
>
> Best regards, Michael.
Thanks. It works.
--
Best Regards
Shuguang Sun
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58133: 29.0.50; Tramp do not parse auth-sources
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-10-11 11:27 ` Michael Albinus
0 siblings, 0 replies; 8+ messages in thread
From: Michael Albinus @ 2022-10-11 11:27 UTC (permalink / raw)
To: Shuguang Sun
Cc: Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors,
58133-done
Version: 29.1
Shuguang Sun <shuguang79@qq.com> writes:
Hi,
>> Fixed now in master. Could you, pls, check?
>
> Thanks. It works.
Thanks for the confirmation, I'm closing the bug.
Best regards, Michael.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-10-11 11:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-28 4:19 bug#58133: 29.0.50; Tramp do not parse auth-sources Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-10 13:55 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-10 20:03 ` Michael Albinus
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-11 8:37 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-11 11:27 ` Michael Albinus
2022-10-10 13:55 ` Shuguang Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.