GNU bug report logs - #38773
26.3; Fix docstring of netrc-parse

Previous Next

Package: emacs;

Reported by: Xu Chunyang <xuchunyang56 <at> gmail.com>

Date: Sat, 28 Dec 2019 11:53:01 UTC

Severity: minor

Tags: fixed

Found in version 26.3

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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 38773 in the body.
You can then email your comments to 38773 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-gnu-emacs <at> gnu.org:
bug#38773; Package emacs. (Sat, 28 Dec 2019 11:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xu Chunyang <xuchunyang56 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 28 Dec 2019 11:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xu Chunyang <xuchunyang56 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.3; Fix docstring of netrc-parse
Date: Sat, 28 Dec 2019 19:52:08 +0800
The docstring of netrc-parse is in the wrong place, it should be
before the interactive form, here is the fix.

diff -u --label /Users/xcy/src/emacs-mac/lisp/net/netrc.el --label
\#\<buffer\ netrc.el\> /Users/xcy/src/emacs-mac/lisp/net/netrc.el
/var/folders/7f/s191h4q97p90374yw15ssrs00000gn/T/buffer-content-z8NQyt
--- /Users/xcy/src/emacs-mac/lisp/net/netrc.el
+++ #<buffer netrc.el>
@@ -49,8 +49,8 @@
 (defvar netrc-cache nil)

 (defun netrc-parse (&optional file)
-  (interactive "fFile to Parse: ")
   "Parse FILE and return a list of all entries in the file."
+  (interactive "fFile to Parse: ")
   (unless file
     (setq file netrc-file))
   (if (listp file)

Diff finished.  Sat Dec 28 19:49:09 2019




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38773; Package emacs. (Sat, 28 Dec 2019 12:42:02 GMT) Full text and rfc822 format available.

Message #8 received at 38773 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Xu Chunyang <xuchunyang56 <at> gmail.com>
Cc: 38773 <at> debbugs.gnu.org
Subject: Re: bug#38773: 26.3; Fix docstring of netrc-parse
Date: Sat, 28 Dec 2019 13:41:22 +0100
Xu Chunyang <xuchunyang56 <at> gmail.com> writes:

> The docstring of netrc-parse is in the wrong place, it should be
> before the interactive form, here is the fix.

Thanks; applied to Emacs 27.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 28 Dec 2019 12:42:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 38773 <at> debbugs.gnu.org and Xu Chunyang <xuchunyang56 <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 28 Dec 2019 12:42:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 26 Jan 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 144 days ago.

Previous Next


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