* .emacs.d/tramp - written/touched each time you exit Emacs?
@ 2008-11-29 23:03 Drew Adams
2008-12-01 5:43 ` Michael Albinus
0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2008-11-29 23:03 UTC (permalink / raw)
To: emacs-devel
Dunno if this helps or is important, but I just fired up Emacs 23 (with my
libraries, not emacs -Q), opened Info and a couple files, and then exited Emacs.
While Emacs was exiting, I noticed a very brief message about Tramp - too quick
for me to read (which is not good, BTW). I did not access any remote files or
even try to during the brief session. As far as I know, I made no use of Tramp
whatsoever. AFAIK, my own code does not load or use Tramp behind the scene.
Curious, I looked around for a file related to Tramp and discovered
.emacs.d/tramp, which had just been updated. But the file content is nothing
new. I haven't used Tramp in a long time (I've always had problems getting it to
work on Windows), and there doesn't seem to be anything new in this file. The
only thing that might be new (I'm unfamiliar with the old content) is the last
line:
("started" t)))
I tried another session of Emacs and saw the same thing - the file `tramp' was
touched when I exited Emacs, but the content looks identical.
Are we perhaps writing or touching this file systematically each time Emacs
exits? If so, is that necessary?
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-11-24 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: .emacs.d/tramp - written/touched each time you exit Emacs?
2008-11-29 23:03 .emacs.d/tramp - written/touched each time you exit Emacs? Drew Adams
@ 2008-12-01 5:43 ` Michael Albinus
2008-12-01 7:10 ` Drew Adams
0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2008-12-01 5:43 UTC (permalink / raw)
To: Drew Adams; +Cc: emacs-devel
"Drew Adams" <drew.adams@oracle.com> writes:
> I tried another session of Emacs and saw the same thing - the file `tramp' was
> touched when I exited Emacs, but the content looks identical.
>
> Are we perhaps writing or touching this file systematically each time Emacs
> exits? If so, is that necessary?
Yes, Tramp writes always its cache data, when Emacs exits. I'll add a
check, whether these data have been changed, in order to avoid useless
writing.
Best regards, Michael.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: .emacs.d/tramp - written/touched each time you exit Emacs?
2008-12-01 5:43 ` Michael Albinus
@ 2008-12-01 7:10 ` Drew Adams
0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2008-12-01 7:10 UTC (permalink / raw)
To: 'Michael Albinus'; +Cc: emacs-devel
> > Are we perhaps writing or touching this file systematically
> > each time Emacs exits? If so, is that necessary?
>
> Yes, Tramp writes always its cache data, when Emacs exits. I'll add a
> check, whether these data have been changed, in order to avoid useless
> writing.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-01 7:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-29 23:03 .emacs.d/tramp - written/touched each time you exit Emacs? Drew Adams
2008-12-01 5:43 ` Michael Albinus
2008-12-01 7:10 ` Drew Adams
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).