GNU bug report logs - #1086
ange-ftp and open recent files

Previous Next

Package: emacs;

Reported by: "David Strozzi" <david.strozzi <at> gmail.com>

Date: Sat, 4 Oct 2008 23:35:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1086 in the body.
You can then email your comments to 1086 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1086; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "David Strozzi" <david.strozzi <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "David Strozzi" <david.strozzi <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: ange-ftp and open recent files
Date: Sat, 4 Oct 2008 16:27:16 -0700
Hi,

I think I've found a bug in emacs, although this may be too strong a
claim.  In particular, I use ange-ftp to edit remote files, and very
much appreciate this capability.  the problem is when I enable the
open recent item on the file menu.  I activate this in .emacs with:

(require 'recentf)
(recentf-mode 1)

During startup, I am asked for the password to one of the servers on
which I recently visited a file via ange-ftp.  This is rather
annoying.  Is there a way to disable this, or have a password
requested only when I actually try to view the file?

I am running emacs on a x86-64 machine with opensuse.  The precise
version info is below.

Cheers,
David Strozzi

PS - I am not subscribed to the list, so if you wish to contact me
please use my email address directly.

In GNU Emacs 22.2.1 (x86_64-suse-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-09-17 on build11
Windowing system distributor `The X.Org Foundation', version 11.0.10500000
configured using `configure  '--with-gcc' '--with-pop'
'--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-leim'
'--with-xim' '--with-system-malloc' '--prefix=/usr'
'--infodir=/usr/share/info' '--mandir=/usr/share/man'
'--localstatedir=/var' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--with-x' '--with-sound' '--with-xpm'
'--with-jpeg' '--with-tiff' '--with-gif' '--with-png'
'--with-x-toolkit=lucid' '--x-includes=/usr/include'
'--x-libraries=/usr/lib64:/usr/share/X11'
'--build=x86_64-suse-linux-gnu' 'build_alias=x86_64-suse-linux-gnu'
'CC=gcc' 'CFLAGS=-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -O2 -g -D_GNU_SOURCE -std=gnu89 -pipe
-fno-strict-aliasing -Wno-pointer-sign -Wno-unused-variable
-Wno-unused-label -Wno-unprototyped-calls
-DSYSTEM_PURESIZE_EXTRA=55000 	 -DSITELOAD_PURESIZE_EXTRA=10000 '
'LDFLAGS=''





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1086; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 1086 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: David Strozzi <david.strozzi <at> gmail.com>
Cc: 1086 <at> debbugs.gnu.org
Subject: Re: bug#1086: ange-ftp and open recent files
Date: Sun, 05 Oct 2008 19:56:03 +0200
"David Strozzi" <david.strozzi <at> gmail.com> writes:

> Hi,

Hi,

> I think I've found a bug in emacs, although this may be too strong a
> claim.  In particular, I use ange-ftp to edit remote files, and very
> much appreciate this capability.  the problem is when I enable the
> open recent item on the file menu.  I activate this in .emacs with:
>
> (require 'recentf)
> (recentf-mode 1)
>
> During startup, I am asked for the password to one of the servers on
> which I recently visited a file via ange-ftp.  This is rather
> annoying.  Is there a way to disable this, or have a password
> requested only when I actually try to view the file?

You shall customize `recentf-keep'. Add "file-remote-p" in front of the
list, as described there.

With the upcoming Emacs 23, this won't be necessary, because
`recentf-keep' will have an adapted initial value, handling this.

> Cheers,
> David Strozzi

Best regards, Michael.




bug closed, send any further explanations to "David Strozzi" <david.strozzi <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sun, 05 Oct 2008 23:40:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1086; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #17 received at 1086 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "David Strozzi" <david.strozzi <at> gmail.com>
Cc: 1086 <at> debbugs.gnu.org
Subject: Re: bug#1086: ange-ftp and open recent files
Date: Mon, 13 Oct 2008 08:13:16 +0200
"David Strozzi" <david.strozzi <at> gmail.com> writes:

Hi,

>> You shall customize `recentf-keep'. Add "file-remote-p" in front of the
>> list, as described there.
>
> Thanks for getting back to me.  I don't quite understand.  What
> exactly should my .emacs file contain, assuming that's where this
> goes?

(add-to-list 'recentf-keep 'file-remote-p)

> Thanks again,
> Dave

Best regards, Michael.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1086; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #22 received at 1086 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "David Strozzi" <david.strozzi <at> gmail.com>
Cc: 1086 <at> debbugs.gnu.org
Subject: Re: bug#1086: ange-ftp and open recent files
Date: Tue, 14 Oct 2008 10:44:16 +0200
"David Strozzi" <david.strozzi <at> gmail.com> writes:

> Doesn't seem to work.  I put the following in .emacs, and get prompted
> for an ange-ftp password.  If I comment it all out I don't, and of
> course don't get open-recent menu.  My goals is to *not* have ange-ftp
> files listed, or at least I don't want to be asked for a password.
>
> (require 'recentf)
> (recentf-mode 1)
> (add-to-list 'recentf-keep 'file-remote-p)

You must customize `recentf-keep' *before* enabling `recentf-mode'. Try
it this order:

(require 'recentf)
(add-to-list 'recentf-keep 'file-remote-p)
(recentf-mode 1)

> Thanks again,
> Dave

Best regards, Michael.

PS: Please keep <1086 <at> debbugs.gnu.org> in Cc.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1086; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "David Strozzi" <david.strozzi <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #27 received at 1086 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "David Strozzi" <david.strozzi <at> gmail.com>
To: "Michael Albinus" <michael.albinus <at> gmx.de>
Cc: 1086 <at> debbugs.gnu.org
Subject: Re: bug#1086: ange-ftp and open recent files
Date: Sun, 19 Oct 2008 11:39:11 -0700
This indeed works!  Thanks for the help.  Dave

On Tue, Oct 14, 2008 at 1:44 AM, Michael Albinus <michael.albinus <at> gmx.de> wrote:
> "David Strozzi" <david.strozzi <at> gmail.com> writes:
>
>> Doesn't seem to work.  I put the following in .emacs, and get prompted
>> for an ange-ftp password.  If I comment it all out I don't, and of
>> course don't get open-recent menu.  My goals is to *not* have ange-ftp
>> files listed, or at least I don't want to be asked for a password.
>>
>> (require 'recentf)
>> (recentf-mode 1)
>> (add-to-list 'recentf-keep 'file-remote-p)
>
> You must customize `recentf-keep' *before* enabling `recentf-mode'. Try
> it this order:
>
> (require 'recentf)
> (add-to-list 'recentf-keep 'file-remote-p)
> (recentf-mode 1)
>
>> Thanks again,
>> Dave
>
> Best regards, Michael.
>
> PS: Please keep <1086 <at> debbugs.gnu.org> in Cc.
>




Message #28 received at 1086-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 1086-done <at> debbugs.gnu.org
Subject: Re: bug#1086: ange-ftp and open recent files
Date: Mon, 20 Oct 2008 11:46:24 +0200
OP has confirmed, that the proposed configuration works. Not a bug.

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Mon, 17 Nov 2008 15:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.