From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#22813: 24.5; doc string of `apropos-variable' - mention C-u Date: Fri, 26 Feb 2016 10:48:43 -0500 Message-ID: References: <3c8ac019-cb35-4654-b747-c2eb6493cdd6@default> <8337sfeaxa.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113cfa163231c2052cae3eef X-Trace: ger.gmane.org 1456501817 16294 80.91.229.3 (26 Feb 2016 15:50:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2016 15:50:17 +0000 (UTC) Cc: 22813@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 26 16:50:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aZKeh-0003vJ-Kc for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 16:50:12 +0100 Original-Received: from localhost ([::1]:50764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZKeh-0004t1-7y for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 10:50:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZKec-0004qx-Q2 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 10:50:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZKeY-00027a-Jm for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 10:50:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZKeY-00027W-Ad for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 10:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZKeY-00077N-52 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 10:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22813-submit@debbugs.gnu.org id=B22813.145650177127311 (code B ref 22813); Fri, 26 Feb 2016 15:50:02 +0000 Original-Received: (at 22813) by debbugs.gnu.org; 26 Feb 2016 15:49:31 +0000 Original-Received: from localhost ([127.0.0.1]:47813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZKe2-00076Q-Kx for submit@debbugs.gnu.org; Fri, 26 Feb 2016 10:49:30 -0500 Original-Received: from mail-oi0-f43.google.com ([209.85.218.43]:33355) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZKe0-00076D-MN for 22813@debbugs.gnu.org; Fri, 26 Feb 2016 10:49:28 -0500 Original-Received: by mail-oi0-f43.google.com with SMTP id j125so65113036oih.0 for <22813@debbugs.gnu.org>; Fri, 26 Feb 2016 07:49:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=iaUDjEoPyyv9FeTjgtHAcwzBbLKhY65gc0JKj0N9xIg=; b=h+1mW/M0/oOeaTYLT5Bj4BNBMV0l0QJcUKGD+B4xLfJOraa/ggB4JeG+4Gv1MyG8Yz XYPDT4JUdGhhbaiXicCVYcII+7Jn58AdM4mprokCu9Bam+gxBN/8GWFenZtpusDlhc1d tQ7siTeRVWOHxZxjzGxGQi3eRiNPhmgKat4tDEGEW5d5fXCVkpOkCiaaRSfI9jEQc9As +rvkm93HZLpdusI7zj+FGoyZSSghh5Vd1qQPEfZZVQES3y9nb+y9toCgs55Xei42JZWD jwwIv14eM8IQ5knTA8nGf1JPa61gYQHYFDk6QXaq2QzK/1hIKjhcnwgCmnz09fVoETgx kuFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=iaUDjEoPyyv9FeTjgtHAcwzBbLKhY65gc0JKj0N9xIg=; b=UkFzLol25/IKraGCYd9MxkTRTquPTvqnO8/clXxxGtJns8fpKkOm788kLg6rFHu3Gh 2ObwWMhIU2GilF8CPTmb5jdPof7uFDnbr0zEnN5hrGRjE8uWLrsPJpzjLs5AlShvt8js z78Ze5FC26+Ep2afgJv2YPczMfru/vOtFqg5wJUoHnpMHCInsW3Ue2ee8wtN10Hl8y41 Jb4fV9TnfeYZ8kd6OWr5RuhQMNRSwAt6up+ykYkNQpA0v2PJiBEpSXoxBCgRwpbHxPi3 znW4EUeVEz+9W83zlapkTeFzVRa9i3wLlPOsHg6TdPfOqJW4zduO+ucO0aN9WxVGtl8m OLzA== X-Gm-Message-State: AD7BkJIpvXhS4FtEgSHGfNTSETYQ7/96ag9td6N4tLbzJyokkuoTaM4KbXVAQRu6DU6efNWKohGTIrnQCRUrsg== X-Received: by 10.202.177.3 with SMTP id a3mr1689897oif.2.1456501762958; Fri, 26 Feb 2016 07:49:22 -0800 (PST) Original-Received: by 10.202.172.198 with HTTP; Fri, 26 Feb 2016 07:48:43 -0800 (PST) In-Reply-To: <8337sfeaxa.fsf@gnu.org> 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: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113893 Archived-At: --001a113cfa163231c2052cae3eef Content-Type: text/plain; charset=UTF-8 Thanks. Can you commit it? I don't have push rights. I would like to get commit right for next time :) For now, here's the reformatted patch: diff --git a/lisp/apropos.el b/lisp/apropos.el index 3c1a413..eb145bd 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -505,8 +505,9 @@ apropos-user-option ;;;###autoload (defun apropos-variable (pattern &optional do-not-all) "Show variables that match PATTERN. -When DO-NOT-ALL is non-nil, show user options only, i.e. behave -like `apropos-user-option'." +With the optional argument DO-NOT-ALL non-nil (or when called +interactively with the prefix \\[universal-argument]), show user +options only, i.e. behave like `apropos-user-option'." (interactive (list (apropos-read-pattern (if current-prefix-arg "user option" "variable")) current-prefix-arg)) PS: I just did M-x fill-region on that doc-string.. I guess that's what needed to be done. --001a113cfa163231c2052cae3eef Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks.

Can you commit it? I don't = have push rights.

I would like to get commit right= for next time :)
For now, here's the reformatted patch:

diff --git a/lisp/apropos.el b/lisp/apropos.el
index 3c1a413..eb145bd 100644
--- a/lisp/apropos.el
=
+++ b/lisp/apropos.el
@@ -505,8 +505,9 @@ apropos-user-optio= n
=C2=A0;;;###autoload
=C2=A0(defun apropos-variable (p= attern &optional do-not-all)
=C2=A0 =C2=A0"Show variable= s that match PATTERN.
-When DO-NOT-ALL is non-nil, show user opti= ons only, i.e. behave
-like `apropos-user-option'."
+With the optional argument DO-NOT-ALL non-nil (or when called
<= div>+interactively with the prefix \\[universal-argument]), show user
=
+options only, i.e. behave like `apropos-user-option'."
=
=C2=A0 =C2=A0(interactive (list (apropos-read-pattern
=C2=A0= =C2=A0 =C2=A0 =C2=A0(i= f current-prefix-arg "user option" "variable"))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 current-prefix-arg))

PS: I just did M= -x fill-region on that doc-string.. I guess that's what needed to be do= ne.
--001a113cfa163231c2052cae3eef--