emacs-devel
[Top][All Lists]
Advanced

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

Re: write-region bug ?


From: Eli Zaretskii
Subject: Re: write-region bug ?
Date: Wed, 08 Jan 2020 18:05:51 +0200

> From: Jean-Christophe Helary <address@hidden>
> Date: Thu, 9 Jan 2020 00:27:35 +0900
> 
> 25.1 Visiting Files
> 
> "Visiting a file means reading a file into a buffer. Once this is done, we 
> say that the buffer is visiting that file, and call the file the visited file 
> of the buffer."
> 
> 
> → My understanding from the above manual quotes is that file B.txt is read 
> into the buffer where file A.txt is.
> 
> I don't know how that should look like, but what I see is seemingly the 
> opposite: full contents of file A.txt is written to file B.txt.
> 
> There is obviously something that I am missing in the documentation.

This:

  Saving
       Saving a buffer means copying its text into the file that was
       visited (q.v.) in that buffer.

IOW, the association established by visiting means that saving the
buffer well update the visited file.



reply via email to

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