From: Michael Albinus <michael.albinus@gmx.de>
To: Patrick Goltzsch <pgoltzsch@gmail.com>
Cc: 10874-done@debbugs.gnu.org
Subject: bug#10874: ange-ftp ignores comments in .netrc
Date: Fri, 24 Feb 2012 09:19:59 +0100 [thread overview]
Message-ID: <87obsoiqxc.fsf@gmx.de> (raw)
In-Reply-To: <20120223150949.648fbbf8@leda> (Patrick Goltzsch's message of "Thu, 23 Feb 2012 15:09:49 +0100")
version: 24.1
thanks
Patrick Goltzsch <pgoltzsch@gmail.com> writes:
> Hi!
Hi,
> Working with different logins for the same machine I came
> across what seems to be a bug in ange-ftp.
I've fixed this in the trunk, will be available with Emacs 24.1. You
could verify it with the following patch:
--8<---------------cut here---------------start------------->8---
*** /home/albinus/src/emacs/lisp/net/ange-ftp.el.~106977~ 2012-02-24 09:17:15.649762132 +0100
--- /home/albinus/src/emacs/lisp/net/ange-ftp.el 2012-02-24 08:34:40.253090611 +0100
***************
*** 1390,1395 ****
--- 1390,1398 ----
(run-hooks 'find-file-hook)
(setq buffer-file-name nil)
(goto-char (point-min))
+ (while (search-forward-regexp "^[ \t]*#.*$" nil t)
+ (replace-match ""))
+ (goto-char (point-min))
(skip-chars-forward " \t\r\n")
(while (not (eobp))
(ange-ftp-parse-netrc-group))
--8<---------------cut here---------------end--------------->8---
> Regards,
>
> Patrick
Best regards, Michael.
next prev parent reply other threads:[~2012-02-24 8:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-23 14:09 bug#10874: ange-ftp ignores comments in .netrc Patrick Goltzsch
2012-02-24 8:19 ` Michael Albinus [this message]
2012-02-27 14:08 ` Ted Zlatanov
2012-02-27 15:09 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87obsoiqxc.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=10874-done@debbugs.gnu.org \
--cc=pgoltzsch@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).