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: Emanuel Berg
Subject: Re: how to force auto-save of buffers not visiting files, right now?
Date: Tue, 15 Mar 2022 08:24:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Jean Louis wrote:

> Buffer not visiting file does not know where it should
> be saved.

I've got news for you, because there is a present working
directory, with `pwd'.

C-u M-x pwd RET

/home/incal/News/

:)

PS. In Unix many people think pwd(1) is a shell tool (program)
    written in C - they are right, but what you get with just
    "pwd" in the shell is more often a shell built-in command
    that has higher priority than the tool ... observe:

    $ t pwd # https://dataswamp.org/~incal/conf/.zsh/ide line 74-108
    pwd: shell built-in command
    /bin/pwd
    -rwxr-xr-x 1 root 43K Sep 24  2020 /bin/pwd
    /usr/bin/pwd
    -rwxr-xr-x 1 root 43K Sep 24  2020 /usr/bin/pwd

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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