From unknown Fri Aug 15 15:30:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1086 <1086@debbugs.gnu.org> To: bug#1086 <1086@debbugs.gnu.org> Subject: Status: ange-ftp and open recent files Reply-To: bug#1086 <1086@debbugs.gnu.org> Date: Fri, 15 Aug 2025 22:30:32 +0000 retitle 1086 ange-ftp and open recent files reassign 1086 emacs submitter 1086 "David Strozzi" severity 1086 normal thanks From david.strozzi@gmail.com Sat Oct 4 16:27:25 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.0 required=4.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Oct 2008 23:27:25 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m94NRLpJ012163 for ; Sat, 4 Oct 2008 16:27:22 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmGWv-0002hq-Da for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 19:27:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmGWt-0002he-11 for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 19:27:20 -0400 Received: from [199.232.76.173] (port=45566 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmGWs-0002hb-Qm for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 19:27:18 -0400 Received: from wf-out-1314.google.com ([209.85.200.172]:63164) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmGWs-0002qC-AW for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 19:27:18 -0400 Received: by wf-out-1314.google.com with SMTP id 28so2141812wfc.24 for ; Sat, 04 Oct 2008 16:27:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=XYAyEinuiUKPI0KHilxICT+6lKRhq+R5wfUTb+9Xdp8=; b=YuN58J0ofcMsji3xB4A1yQkwEhN7rDJMoVyZbDLQu9bWrSo/ku0pHO7vvONNYUc1tK O2wpm8yCjMuHII5vcRaPBO4s+PHCdEDdCPR+u8bZgbsmJCY1MlFwV1GZ/+SkioD1x4ch wybqjbXlxDBdzWEeIEmNX1Ll4WIqg+UGQUrNk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=pL6FvF/w3fQzjMTzzf3K2ZOCCanogo4V5U83mFYmoHN9TldpvhtgXEOR5N7MdtNEVL HwRyjBy4wm8CAckb0+urwDl53jgkA1YzCGhd3jzpWwpernYEEmBukEP45IHUYPFLhxU8 gxXlt91wv0LCwMZ9EADOZ9TzgsEmiR+HX9JLY= Received: by 10.142.246.19 with SMTP id t19mr1083617wfh.55.1223162836990; Sat, 04 Oct 2008 16:27:16 -0700 (PDT) Received: by 10.142.222.14 with HTTP; Sat, 4 Oct 2008 16:27:16 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 16:27:16 -0700 From: "David Strozzi" To: bug-gnu-emacs@gnu.org Subject: ange-ftp and open recent files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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='' From michael.albinus@gmx.de Sun Oct 5 10:56:14 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.2 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1086) by emacsbugs.donarmstrong.com; 5 Oct 2008 17:56:15 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m95HuA1l030141 for <1086@emacsbugs.donarmstrong.com>; Sun, 5 Oct 2008 10:56:12 -0700 Received: (qmail invoked by alias); 05 Oct 2008 17:56:04 -0000 Received: from p57A22D20.dip0.t-ipconnect.de (EHLO magdalene.local) [87.162.45.32] by mail.gmx.net (mp014) with SMTP; 05 Oct 2008 19:56:04 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19tnlQlIyJtKglYmERPCzY4WNJ242KGglY+kedTcr EMlhJ+On4Cii3Q From: Michael Albinus To: David Strozzi Cc: 1086@debbugs.gnu.org Subject: Re: bug#1086: ange-ftp and open recent files References: Date: Sun, 05 Oct 2008 19:56:03 +0200 In-Reply-To: (David Strozzi's message of "Sat, 4 Oct 2008 16:27:16 -0700") Message-ID: <87hc7rapu4.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.68 "David Strozzi" 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. From rgm@gnu.org Sun Oct 5 16:34:33 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.6 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 5 Oct 2008 23:34:33 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m95NYUUY017032 for ; Sun, 5 Oct 2008 16:34:31 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Kmd56-0001Z2-JL; Sun, 05 Oct 2008 19:32:08 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18665.20088.520473.952484@fencepost.gnu.org> Date: Sun, 5 Oct 2008 19:32:08 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: green X-Ran: vUHds4v=LIeT^W,PMdh;338@RIKy-dF:;iHaScEOm2uD];=wR\fU4%=RLFoFqQ6g,cc,QQ X-Debbugs-No-Ack: yes forcemerge 1090 1093 close 1086 From Michael.Albinus@alcatel-lucent.de Sun Oct 12 23:31:42 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.5 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1086) by emacsbugs.donarmstrong.com; 13 Oct 2008 06:31:43 +0000 Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9D6VdPI024319 for <1086@emacsbugs.donarmstrong.com>; Sun, 12 Oct 2008 23:31:40 -0700 Received: from slbpky.alcatel.de (slbpky.ad1.ad.alcatel.com [149.204.93.46] (may be forged)) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id m9D6VY1j025263; Mon, 13 Oct 2008 08:31:34 +0200 From: Michael Albinus To: "David Strozzi" Cc: 1086@debbugs.gnu.org Subject: Re: bug#1086: ange-ftp and open recent files References: <87hc7rapu4.fsf@gmx.de> Date: Mon, 13 Oct 2008 08:13:16 +0200 In-Reply-To: (David Strozzi's message of "Sun, 12 Oct 2008 19:29:39 -0700") Message-ID: <87myh9oweb.fsf@alcatel-lucent.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 "David Strozzi" 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. From Michael.Albinus@alcatel-lucent.de Tue Oct 14 02:02:49 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1086) by emacsbugs.donarmstrong.com; 14 Oct 2008 09:02:49 +0000 Received: from mailrelay2.alcatel.de (mailrelay2.alcatel.de [194.113.59.96]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9E92iJ2030988 for <1086@emacsbugs.donarmstrong.com>; Tue, 14 Oct 2008 02:02:47 -0700 Received: from slbpky.alcatel.de (slbpky.ad1.ad.alcatel.com [149.204.93.46] (may be forged)) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id m9E92bUQ007306; Tue, 14 Oct 2008 11:02:38 +0200 From: Michael Albinus To: "David Strozzi" Cc: 1086@debbugs.gnu.org Subject: Re: bug#1086: ange-ftp and open recent files References: <87hc7rapu4.fsf@gmx.de> <87myh9oweb.fsf@alcatel-lucent.de> Date: Tue, 14 Oct 2008 10:44:16 +0200 In-Reply-To: (David Strozzi's message of "Mon, 13 Oct 2008 09:00:24 -0700") Message-ID: <87prm3muqm.fsf@alcatel-lucent.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 "David Strozzi" 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@debbugs.gnu.org> in Cc. From david.strozzi@gmail.com Sun Oct 19 11:39:15 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1086) by emacsbugs.donarmstrong.com; 19 Oct 2008 18:39:15 +0000 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9JIdC95028961 for <1086@emacsbugs.donarmstrong.com>; Sun, 19 Oct 2008 11:39:13 -0700 Received: by wf-out-1314.google.com with SMTP id 26so1656424wfd.13 for <1086@emacsbugs.donarmstrong.com>; Sun, 19 Oct 2008 11:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=nbepEscAXi8qHP+zOBe4sxVXUG7kW9a3dbi/xB6p3PY=; b=R/2KL6MF0idHEmRgqK3VpXGQXorCq85zO2cNHYsVLarq8pdqrqJXc/3c1OyQeET4/q 9W/fi1kZEemextX7e5Ov0HcWZGCB1wTFbsPfDrPePE83GKLFnixxactYVIgrqq+xKvzF 54yGnRje2YjU1FI8w8kFvsMBnQjcau3n1SMmk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PmzPEaFoD5XCfrEFuDAYFAE8I8x0v6AFkPz6QfxqE4kdtjqqc1Q/ahnd9GXTL4L3Yo iJtmLU4Z+ADTxGvFrOGGwebSV8kUYeykz4rVG92h0wH7hUNUdSMPc4EvIC/QJ+UZHO8e 9jJjKOWHmkHWkPa6oxTiLkbv/WtmOD1G52dGM= Received: by 10.142.200.20 with SMTP id x20mr2643156wff.259.1224441551313; Sun, 19 Oct 2008 11:39:11 -0700 (PDT) Received: by 10.142.222.14 with HTTP; Sun, 19 Oct 2008 11:39:11 -0700 (PDT) Message-ID: Date: Sun, 19 Oct 2008 11:39:11 -0700 From: "David Strozzi" To: "Michael Albinus" Subject: Re: bug#1086: ange-ftp and open recent files Cc: 1086@debbugs.gnu.org In-Reply-To: <87prm3muqm.fsf@alcatel-lucent.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87hc7rapu4.fsf@gmx.de> <87myh9oweb.fsf@alcatel-lucent.de> <87prm3muqm.fsf@alcatel-lucent.de> This indeed works! Thanks for the help. Dave On Tue, Oct 14, 2008 at 1:44 AM, Michael Albinus wrote: > "David Strozzi" 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@debbugs.gnu.org> in Cc. > From Michael.Albinus@alcatel-lucent.de Mon Oct 20 02:46:16 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1086-done) by emacsbugs.donarmstrong.com; 20 Oct 2008 09:46:17 +0000 Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9K9kCaX026800 for <1086-done@emacsbugs.donarmstrong.com>; Mon, 20 Oct 2008 02:46:14 -0700 Received: from slbpky.alcatel.de (slbpky.ad1.ad.alcatel.com [149.204.93.46] (may be forged)) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id m9K9k6Z3004645; Mon, 20 Oct 2008 11:46:06 +0200 From: Michael Albinus To: 1086-done@debbugs.gnu.org Subject: Re: bug#1086: ange-ftp and open recent files References: <87hc7rapu4.fsf@gmx.de> <87myh9oweb.fsf@alcatel-lucent.de> <87prm3muqm.fsf@alcatel-lucent.de> Date: Mon, 20 Oct 2008 11:46:24 +0200 In-Reply-To: (David Strozzi's message of "Sun, 19 Oct 2008 11:39:11 -0700") Message-ID: <87wsg361lb.fsf@alcatel-lucent.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 OP has confirmed, that the proposed configuration works. Not a bug. Best regards, Michael. From unknown Fri Aug 15 15:30:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Mon, 17 Nov 2008 15:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator