* bug#779: Tramp saves old locations, tries to re-open them on launch [not found] <mailman.17555.1219729994.18990.bug-gnu-emacs@gnu.org> @ 2008-08-26 8:51 ` Michael Albinus 2008-08-26 17:07 ` Glenn Morris 0 siblings, 1 reply; 7+ messages in thread From: Michael Albinus @ 2008-08-26 8:51 UTC (permalink / raw) To: Charles Curley; +Cc: 779 Charles Curley <charlescurley@charlescurley.com> writes: > I open one or more files via tramp on a remote machine. I then close > down Emacs. I do not save remote files in the desktop. > > On re-lanching Emacs, it logs into the machines via tramp. This is a > waste of time if none of the files are in the desktop. Worse, if > somehow tramp tries to log in to a user:machine where I don't have the > password, Emacs ceases to process .emacs. Similarly if it tries to log > into an account on a machine which is shut down or otherwise > unavailable. Tramp does not reconnect to files on its own. You can check this if you call "emacs -Q". Likely you have enabled recentf or another package like this. Could you, please, check it in your .emacs? > Thank you. Best regards, Michael. ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#779: Tramp saves old locations, tries to re-open them on launch 2008-08-26 8:51 ` bug#779: Tramp saves old locations, tries to re-open them on launch Michael Albinus @ 2008-08-26 17:07 ` Glenn Morris 2008-08-26 18:04 ` Michael Albinus 0 siblings, 1 reply; 7+ messages in thread From: Glenn Morris @ 2008-08-26 17:07 UTC (permalink / raw) To: Michael Albinus; +Cc: 779 Michael Albinus wrote: > Likely you have enabled recentf or another package like this. Could > you, please, check it in your .emacs? It's the first entry in "Minor modes in effect:" in the original report. There seems to be a fix for this in the trunk recentf-keep: Remote files are checked for readability only in case a connection is established to that remote system, otherwise they are kept in the recent list without checking their readability. ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#779: Tramp saves old locations, tries to re-open them on launch 2008-08-26 17:07 ` Glenn Morris @ 2008-08-26 18:04 ` Michael Albinus 2008-08-26 18:06 ` Glenn Morris 0 siblings, 1 reply; 7+ messages in thread From: Michael Albinus @ 2008-08-26 18:04 UTC (permalink / raw) To: Glenn Morris; +Cc: 779 Glenn Morris <rgm@gnu.org> writes: > Michael Albinus wrote: > >> Likely you have enabled recentf or another package like this. Could >> you, please, check it in your .emacs? > > It's the first entry in "Minor modes in effect:" in the original > report. Yep. Charles did already confirm by a PM, that the problem was caused by this. > There seems to be a fix for this in the trunk recentf-keep: > > Remote files are checked for readability only in case a connection > is established to that remote system, otherwise they are kept in > the recent list without checking their readability. Right, but this doesn't work for Emacs 22 (which is used here). Instead of, recentf-keep recommends there A predicate is a function that is passed a filename to check and that must return non-nil to keep it. For example, you can add the `file-remote-p' predicate in front of this list to keep remote file names in the recent list without checking their readability through a remote access. After all, I guess we can tag this record as "notabug". Best regards, Michael. ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#779: Tramp saves old locations, tries to re-open them on launch 2008-08-26 18:04 ` Michael Albinus @ 2008-08-26 18:06 ` Glenn Morris 2008-08-26 18:18 ` Michael Albinus 0 siblings, 1 reply; 7+ messages in thread From: Glenn Morris @ 2008-08-26 18:06 UTC (permalink / raw) To: Michael Albinus; +Cc: 779 Michael Albinus wrote: > After all, I guess we can tag this record as "notabug". I'd go for "fixed 779 23.0.60" personally. ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#779: Tramp saves old locations, tries to re-open them on launch 2008-08-26 18:06 ` Glenn Morris @ 2008-08-26 18:18 ` Michael Albinus 2008-08-26 18:36 ` Glenn Morris 0 siblings, 1 reply; 7+ messages in thread From: Michael Albinus @ 2008-08-26 18:18 UTC (permalink / raw) To: Glenn Morris; +Cc: 779 Glenn Morris <rgm@gnu.org> writes: > Michael Albinus wrote: > >> After all, I guess we can tag this record as "notabug". > > I'd go for "fixed 779 23.0.60" personally. I don't object (I wrote the fix last year :-) However, it is a more philosophical question, whether it is a "bug fix" or an "improvement of convenience". Best regards, Michael. ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#779: Tramp saves old locations, tries to re-open them on launch 2008-08-26 18:18 ` Michael Albinus @ 2008-08-26 18:36 ` Glenn Morris 2008-08-26 18:45 ` Processed: " Emacs bug Tracking System 0 siblings, 1 reply; 7+ messages in thread From: Glenn Morris @ 2008-08-26 18:36 UTC (permalink / raw) To: Michael Albinus; +Cc: 779 retitle 779 recentf and remote files tags 779 notabug fixed 779 23.0.60 stop Michael Albinus wrote: >> I'd go for "fixed 779 23.0.60" personally. > > I don't object (I wrote the fix last year :-) Let's have both. :) (Bug tracker can be a feature request tracker too.) > However, it is a more philosophical question, whether it is a "bug fix" > or an "improvement of convenience". ^ permalink raw reply [flat|nested] 7+ messages in thread
* Processed: Re: bug#779: Tramp saves old locations, tries to re-open them on launch 2008-08-26 18:36 ` Glenn Morris @ 2008-08-26 18:45 ` Emacs bug Tracking System 0 siblings, 0 replies; 7+ messages in thread From: Emacs bug Tracking System @ 2008-08-26 18:45 UTC (permalink / raw) To: Glenn Morris; +Cc: Emacs Bugs Processing commands for control@emacsbugs.donarmstrong.com: > retitle 779 recentf and remote files bug#779: Tramp saves old locations, tries to re-open them on launch Changed bug title to `recentf and remote files' from `Tramp saves old locations, tries to re-open them on launch'. > tags 779 notabug bug#779: recentf and remote files There were no tags set. Tags added: notabug > fixed 779 23.0.60 bug#779: recentf and remote files bug marked as fixed in version 23.0.60. > stop Stopping processing here. Please contact me if you need assistance. Don Armstrong (administrator, Emacs bugs database) ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-08-26 18:45 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <mailman.17555.1219729994.18990.bug-gnu-emacs@gnu.org> 2008-08-26 8:51 ` bug#779: Tramp saves old locations, tries to re-open them on launch Michael Albinus 2008-08-26 17:07 ` Glenn Morris 2008-08-26 18:04 ` Michael Albinus 2008-08-26 18:06 ` Glenn Morris 2008-08-26 18:18 ` Michael Albinus 2008-08-26 18:36 ` Glenn Morris 2008-08-26 18:45 ` Processed: " Emacs bug Tracking System
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).