From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Xu Chunyang Newsgroups: gmane.emacs.bugs Subject: bug#38773: 26.3; Fix docstring of netrc-parse Date: Sat, 28 Dec 2019 19:52:08 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="221557"; mail-complaints-to="usenet@blaine.gmane.org" To: 38773@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 28 12:53:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ilAed-000vWI-Sa for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Dec 2019 12:53:12 +0100 Original-Received: from localhost ([::1]:42782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilAec-0004xz-8F for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Dec 2019 06:53:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41035) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilAeV-0004xr-99 for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 06:53:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilAeU-0002cW-7Y for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 06:53:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52028) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilAeU-0002bV-1y for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 06:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ilAeT-0002FH-Vb for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 06:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Xu Chunyang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2019 11:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38773 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15775339488586 (code B ref -1); Sat, 28 Dec 2019 11:53:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Dec 2019 11:52:28 +0000 Original-Received: from localhost ([127.0.0.1]:58001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilAdv-0002EP-L6 for submit@debbugs.gnu.org; Sat, 28 Dec 2019 06:52:27 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilAdt-0002EH-CF for submit@debbugs.gnu.org; Sat, 28 Dec 2019 06:52:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35042) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilAds-0004wV-7J for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 06:52:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilAdq-0000Ea-2i for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 06:52:23 -0500 Original-Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]:34910) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilAdp-0000AF-TP for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 06:52:22 -0500 Original-Received: by mail-ot1-x335.google.com with SMTP id k16so35195674otb.2 for ; Sat, 28 Dec 2019 03:52:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XuKESeod54/78kCaZoeaRuS3uC4SO4FCkGxJGGLG4zU=; b=Ko0Vv7+vEjlTR6eCZPB9ta7wMSW2FRJA3XiQJbyfAkP1tHDa+S59srA/dMox+VuDzr DaKKdNICCNSfXOklmp+IWC6iQtoFjwhqVg73Ji4s6cK0HWnRR3+sIvPlPHjRZzSq0WvE tCygKBQvohAtKGyf5HKSrFCcwNFbrMwsP4r1L6ANn8w/m5q2yDkmDa76qyBFoyTN0wyy qYliq+Y1djEDxhggop0hjfE5UIf9SzfmYiZuMvkI8kZQISRMnB7NY5ZHrP6qYyiIb8Ei h2FiMugOjRqbNnnHpEml/vQeGsK/jpQyoGnIRNJFVuD2dC4XmjAI7lNU7ebEgAPoMph4 zz2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XuKESeod54/78kCaZoeaRuS3uC4SO4FCkGxJGGLG4zU=; b=E1WwwuXyHLjU13DzvFyzIRVLu+Q26X/+bkZ6Zeu/PkGy+xE2QOIp55WSyEDzt8aQor mmRU7gfh+Y4eywSHQo3EaA7gKL+G+OxqA5sklH3Ub8PbowkarhsIDLTL7cuG1aG7kIvF PZlYVNfQ5DNSXPEQaPJX0ke+H1nteYFNq4rL612mzX0qIqV2tFqJhoJ0wxZ8YxrWjBpj H4X1E+J0+NL7fboHvh3ZVEAUGjxaM3UvKqTrR+m49j7I6t9cn4HcnZdXtLSwlrbZHWlA yfXhantISq0Jsk4Zd/gLrmFWlN+hJQ2QGYaoYzZ8YspWiAcik8WWbR1Ar7/OHI0+MpAR Mdpw== X-Gm-Message-State: APjAAAXoE+Ht7jKtHAqQduxM8a7JZAhAMHZOTkSMwS95JugqdZ2IMXpx bbZYy0zbLoQxYV6EhBLq8M04K/p8peLgDYsecQMBOkzn X-Google-Smtp-Source: APXvYqxTmVQSpAZ3psoUkRYCyAuHOn18wovc75aOiMtGGPPkCT1NrtN45qURhFKLTZZz0+XLXNwOdQlfQmxziWoNhm4= X-Received: by 2002:a05:6830:22e3:: with SMTP id t3mr59103438otc.193.1577533939598; Sat, 28 Dec 2019 03:52:19 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173844 Archived-At: 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 \#\ /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 +++ # @@ -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