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 08:15:27 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11494d0e1441df052cac1aee X-Trace: ger.gmane.org 1456492949 27278 80.91.229.3 (26 Feb 2016 13:22:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2016 13:22:29 +0000 (UTC) To: 22813@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 26 14:22:21 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 1aZILc-0006oy-4v for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 14:22:20 +0100 Original-Received: from localhost ([::1]:49750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZILW-0001rD-CC for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 08:22:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZIGZ-00027p-SC for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 08:17:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZIGU-0004lo-Ot for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 08:17:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZIGU-0004le-M3 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 08:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZIGU-0001ZD-DS for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 08:17:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 13:17: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.14564925745961 (code B ref 22813); Fri, 26 Feb 2016 13:17:02 +0000 Original-Received: (at 22813) by debbugs.gnu.org; 26 Feb 2016 13:16:14 +0000 Original-Received: from localhost ([127.0.0.1]:47020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZIFi-0001Y5-HA for submit@debbugs.gnu.org; Fri, 26 Feb 2016 08:16:14 -0500 Original-Received: from mail-oi0-f51.google.com ([209.85.218.51]:33786) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZIFh-0001Xr-0B for 22813@debbugs.gnu.org; Fri, 26 Feb 2016 08:16:13 -0500 Original-Received: by mail-oi0-f51.google.com with SMTP id j125so62195225oih.0 for <22813@debbugs.gnu.org>; Fri, 26 Feb 2016 05:16:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=dfQjij18LGXjMQ6IHxDCn5mosQu9m7B7dCv3Uo0zTAk=; b=NKlZfgPmYCmmBCwTqAq8gztbuzOHnnz7aiah2StsIFp/D86Uie34Xcd2EILhhbQPmn 8aXCukJdTvOYmLkR3kdiNadIvRLQL3xU/4WmkcOdLBDsvSNFwJL0vZKXXbO0lHjtDd02 X+YnRELWvfnErdjJ22AnXj8sUevBGf+u2MkfOQc0kEKk9VCg6fjoiY6hdUoLXjonLVgK YauaSWUZIUXJlo/12Gu4TKSqAAcJxJwpna6JAcnqPcBHZacxvc4RyeB78RGfhrRNerxm hRrmup3Oy+NyvSQpt6oVQ4BU8uZvdN2OCznOWYgxfhRhaUIolSTt3f8QbdUtSQTI61SE p6+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dfQjij18LGXjMQ6IHxDCn5mosQu9m7B7dCv3Uo0zTAk=; b=aL4VXceZGDhin5Q2Nvpf5vZ2boMshftlDd65nFC2NMFyykYHbyiM4NjFkqs1hJUU7B 32nOxIaR0Od1yO+vnvXGZPqeDRbt9MnCOBZYd7v3U/NYR3/8iVRznQdkkc0MRYZW7ycE aeuKTdHQbOEzXPSmyDlBK9S3e+3q/Ca6l+VC04lLxcQAp9jOTqWBZrcbf9CcgPnaWa/t 25iTq/ahsvSk6T0ZsS0rAiiIvJQxu6BJWb8z+oL5OswtaUdg+LSyytIsM878/s5vSuHi oqoeFzTPm/VquchQE5VTh7gj7vum96MRebfOQa9dHOD4Jit3INnmvQ6TBHEX48+MOWJv zJow== X-Gm-Message-State: AD7BkJLgJw80eL5m1g5zkQeTGrc931VCl3pPzc8hvwnHMSzbNOVNFt1JKxU5p4Y6uSE8vI7dJYTBVnE9R/YYxg== X-Received: by 10.202.77.11 with SMTP id a11mr1028980oib.23.1456492567082; Fri, 26 Feb 2016 05:16:07 -0800 (PST) Original-Received: by 10.202.172.198 with HTTP; Fri, 26 Feb 2016 05:15:27 -0800 (PST) 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:113881 Archived-At: --001a11494d0e1441df052cac1aee Content-Type: text/plain; charset=UTF-8 In the emacs-25 branch, I see the doc-string for apropos-variable as: "Show variables that match PATTERN. When DO-NOT-ALL is non-nil, show user options only, i.e. behave like `apropos-user-option'." How about the below patch: diff --git a/lisp/apropos.el b/lisp/apropos.el index 3c1a413..fdd85b4 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -505,7 +505,7 @@ 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 +With prefix argument DO-NOT-ALL non-nil, show user options only, i.e. behave like `apropos-user-option'." (interactive (list (apropos-read-pattern (if current-prefix-arg "user option" "variable")) I simply added the term "prefix argument" (based on the doc-string of quit-window). -- Kaushal Modi --001a11494d0e1441df052cac1aee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
In the emacs-25 branch, I see the doc-string for apropos-v= ariable as:

"Show variables that match PATTERN.When DO-NOT-ALL is non-nil, show user options only, i.e. behave
= like `apropos-user-option'."

How about th= e below patch:

diff --git a/lisp/apropos.el b= /lisp/apropos.el
index 3c1a413..fdd85b4 100644
--- a/li= sp/apropos.el
+++ b/lisp/apropos.el
@@ -505,7 +505,7 @@= apropos-user-option
=C2=A0;;;###autoload
=C2=A0(defun = apropos-variable (pattern &optional do-not-all)
=C2=A0 =C2=A0= "Show variables that match PATTERN.
-When DO-NOT-ALL is non-= nil, show user options only, i.e. behave
+With prefix argument DO= -NOT-ALL non-nil, show user options only, i.e. behave
=C2=A0like = `apropos-user-option'."
=C2=A0 =C2=A0(interactive (list = (apropos-read-pattern
=C2=A0 =C2=A0 =C2=A0 =C2=A0(if current-prefix-arg "user optio= n" "variable"))


I simply added the term "prefix argument" (based on the doc-str= ing of quit-window).

--
Kaushal Modi
--001a11494d0e1441df052cac1aee--