Michael,

Yes, that is my init.el file exactly.

The problem does NOT happen if I don't set tramp-save-ad-hoc-proxies.

I tried   'C-x C-f /ssh:192.168.2.6|sudo::'. It's the same result.

Todd (812-251-6644)


On Sat, May 27, 2023 at 12:28 PM Michael Albinus <michael.albi...@gmx.de>
wrote:

> Todd Goldfinger <goldf...@gmail.com> writes:
>
> Hi Todd,
>
> > I ran 'emacs -Q -l /mnt/home/share/.emacs.d/init.el' followed by C-x
> > C-f '/-:|sudo::'. I see the following. It didn't touch my init.el.
>
> I guess you mean  'C-x C-f /-:|sudo::' (w/o typing the apostrophes)
>
> > Scan error: "Scan error", "Unbalanced parentheses 1 2" [3 times]
> > Scan error: "Scan error", "Unbalanced parentheses 3 4"
> > Scan error: "Scan error", "Unbalanced parentheses 1 4" [2 times]
> > Scan error: "Scan error", "Unbalanced parentheses 1 2" [15 times]
> > Scan error: "Scan error", "Unbalanced parentheses 3 4"
> > Scan error: "Scan error", "Unbalanced parentheses 1 4" [2 times]
> > Scan error: "Scan error", "Unbalanced parentheses 1 2" [12 times]
> > Scan error: "Scan error", "Unbalanced parentheses 3 4"
> > Scan error: "Scan error", "Unbalanced parentheses 1 4" [2 times]
> > Scan error: "Scan error", "Unbalanced parentheses 1 2" [9 times]
> > Setting ‘tramp-default-proxies-alist’ temporarily since "emacs -q"
> > would overwrite customizations [2 times]
>
> I assume your init.el is the one you have presented:
>
> --8<---------------cut here---------------start------------->8---
> (require 'tramp)
> (setq tramp-default-method "ssh")
> (setq tramp-default-host "192.168.2.6")
> (setq tramp-save-ad-hoc-proxies t)
> --8<---------------cut here---------------end--------------->8---
>
> Does the same error happen if you *don't* set tramp-save-ad-hoc-proxies?
>
> Does the same error happen if you open 'C-x C-f /ssh:192.168.2.6|sudo::'?
>
> > Todd
>
> Best reagrds, Michael.
>

Reply via email to