help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to force auto-save of buffers not visiting files, right now?


From: Michael Albinus
Subject: Re: how to force auto-save of buffers not visiting files, right now?
Date: Sun, 20 Mar 2022 10:57:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

<tomas@tuxteam.de> writes:

>> Its value is
>> (("\\`/[^/]*:\\([^/]*/\\)*\\([^/]*\\)\\'" "/tmp/\\2" t))
>>
>> Ah, hm, what is that regexp supposed to match?  All files with at
>> least a ':', a bunch of slashes and some optional brackets?  Who puts
>> bracktes into file names, that shouldn't be allowed.
>
> The colon is to match remote files. That's the default. Tramp remote
> files for Emacs have a prefix with a colon.

Almost, unless you change the Tramp syntax. But that's uncommon these
days, and it might happen for XEmacs converts only.

JFTR.

> Cheers

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]