emacs-devel
[Top][All Lists]
Advanced

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

Re: write-region bug ?


From: Jean-Christophe Helary
Subject: Re: write-region bug ?
Date: Thu, 9 Jan 2020 09:04:19 +0900


> On Jan 9, 2020, at 1:05, Eli Zaretskii <address@hidden> wrote:
> 
>> 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.

That's obviously not the part I do not understand.

I did some tests and I'll make a full description of what I think is really 
weird, later today I must go to work.

Thank you for not giving up on me though :)



Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





reply via email to

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