GNU bug report logs - #31807
27.0; `info-apropos' bad name or bad matching

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Drew Adams <drew.adams@HIDDEN>; dated Tue, 12 Jun 2018 23:02:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 17 Jun 2018 14:26:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 17 10:26:10 2018
Received: from localhost ([127.0.0.1]:54012 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fUYd7-0000WS-Sh
	for submit <at> debbugs.gnu.org; Sun, 17 Jun 2018 10:26:10 -0400
Received: from aserp2130.oracle.com ([141.146.126.79]:47538)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fUYd6-0000WF-Ov
 for 31807 <at> debbugs.gnu.org; Sun, 17 Jun 2018 10:26:09 -0400
Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1])
 by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5HEP2Jp030303;
 Sun, 17 Jun 2018 14:26:02 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=8z7uj/VREeaPSPb0F8Ii0B9EbXB/c2o6J488A7NJg+Q=;
 b=C3Qn4pQQPmDbEMr12lPdNfVtecdGSxAEVj+q+jMW0iSWnQ/HggCpHkCgDszJmFYNf4fB
 XD5DW5b0hvtzEeUukv3/2TVlU2zQF1noq+2PdsgCqePBJZjuF/VtlO8pvm0fA3RrzE6I
 U8s7wByYsP1dL3uVlvKKf+laM0uKlYs4orwXw4lGgq8QeyqnvpLLdchjUB3Fw5Lutg+P
 auKNzBfqurMTNos/5qwaj6b8BKiWCFtMcfvbbcOBU86WvDtC5bOqDhj3TEto9XBvDyGd
 59EwVyD6/PMhigw5+u6aFnf9vBNlrBRpcO4W4GTrzeDG0uBAJuxQw3dGXyDlkWTQpUBj 2g== 
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])
 by aserp2130.oracle.com with ESMTP id 2jmr2m9xjr-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 17 Jun 2018 14:26:02 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5HEQ1qd027320
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 17 Jun 2018 14:26:01 GMT
Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5HEQ17w030272;
 Sun, 17 Jun 2018 14:26:01 GMT
MIME-Version: 1.0
Message-ID: <9bc0cc5d-c59a-4ece-b7b6-bb44ab49295a@default>
Date: Sun, 17 Jun 2018 07:26:00 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, Drew Adams <drew.adams@HIDDEN>
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <<<78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
 <08a478b6-1819-4bef-8165-2fb2c2e162eb@default>>>
 <<<eb245b09-a156-4585-8021-7a3e0e173dbc@default>>>
 <<<83muvx33ab.fsf@HIDDEN>>> <<f7814f7b-d9c0-48d5-83aa-b354b047db10@default>>
 <<83muvtuab9.fsf@HIDDEN>>
In-Reply-To: <<83muvtuab9.fsf@HIDDEN>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8926
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806170178
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> > Yes, at the very least, it should suggest utf-8 and provide
> > that as the default value.  Only in a separate paragraph
> > should it say that you can instead use any of the following
> > instead...
> >
> > Make it simple to understand that utf-8 solves the problem,
> > and make it simple to choose utf-8.
>=20
> Done on the master branch.
>=20
> > You might even want to make it a 3-way decision: (1) Yes, convert to
> > utf-8, (2) No, don't save, (3) Convert to an alternative encoding.
>=20
> Option (2) is already available: just type C-g.  And the other 2 is
> what this dialog is about.  With this change, UTF-8 is offered as the
> default, if it can encode the text, and all the other encodings are
> shown in a list from which the user can select another one.

Sounds good; thx.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 17 Jun 2018 07:44:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 17 03:44:24 2018
Received: from localhost ([127.0.0.1]:52530 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fUSMK-0005YF-Mc
	for submit <at> debbugs.gnu.org; Sun, 17 Jun 2018 03:44:24 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51864)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fUSMI-0005Y2-QH
 for 31807 <at> debbugs.gnu.org; Sun, 17 Jun 2018 03:44:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fUSMA-00024K-I4
 for 31807 <at> debbugs.gnu.org; Sun, 17 Jun 2018 03:44:17 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46807)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fUSMA-00024G-Dc; Sun, 17 Jun 2018 03:44:14 -0400
Received: from [176.228.60.248] (port=1249 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fUSM9-0000pD-Sj; Sun, 17 Jun 2018 03:44:14 -0400
Date: Sun, 17 Jun 2018 10:44:10 +0300
Message-Id: <83muvtuab9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-reply-to: <f7814f7b-d9c0-48d5-83aa-b354b047db10@default> (message from Drew
 Adams on Thu, 14 Jun 2018 07:16:12 -0700 (PDT))
Subject: Re: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <<78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
 <08a478b6-1819-4bef-8165-2fb2c2e162eb@default>>
 <<eb245b09-a156-4585-8021-7a3e0e173dbc@default>> <<83muvx33ab.fsf@HIDDEN>>
 <f7814f7b-d9c0-48d5-83aa-b354b047db10@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Thu, 14 Jun 2018 07:16:12 -0700 (PDT)
> From: Drew Adams <drew.adams@HIDDEN>
> Cc: 31807 <at> debbugs.gnu.org
> 
> > > This is the scary text I saw, FWIW:...
> >
> > What's so scary about it?  It clearly identifies the problematic
> > characters, offers clickable buttons to go to each of them, and
> > explains the problem.  It should probably suggest UTF-8 as the first
> > alternative, but other than that I see no problem in this dialog.
> 
> Yes, at the very least, it should suggest utf-8 and provide
> that as the default value.  Only in a separate paragraph
> should it say that you can instead use any of the following
> instead...
> 
> Make it simple to understand that utf-8 solves the problem,
> and make it simple to choose utf-8.

Done on the master branch.

> You might even want to make it a 3-way decision: (1) Yes, convert to
> utf-8, (2) No, don't save, (3) Convert to an alternative encoding.

Option (2) is already available: just type C-g.  And the other 2 is
what this dialog is about.  With this change, UTF-8 is offered as the
default, if it can encode the text, and all the other encodings are
shown in a list from which the user can select another one.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 20:45:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 16:45:49 2018
Received: from localhost ([127.0.0.1]:48568 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTZ7t-0003a2-6o
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 16:45:49 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:42236)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fTZ7q-0003Zc-Te
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 16:45:47 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5EKiVQM042654;
 Thu, 14 Jun 2018 20:45:40 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=D72YPN8xvuBQGfQ690DZFaJmsaHb4v+6FFbmyYL76R0=;
 b=YDWsEcqJLwDpRwvI+5v5SCkh2xpOq2otl4aNKOSdgqckmH/bAg/7rqJcrCJ61noXR0C9
 j/sriCVQwCAsjLgco/5PQ/NisVW8uqb7uuiCgoYremNdjPnfuHDu8hvA9lgtSK9el1WE
 0LPUACMAqumUr0GrUjFB3NIi+lnFcPd4ck1txcoxkSyTVwrUBUAGACrCXY8IXSa9+TgL
 mgWnE1K+P5z/oesiQvOMKrxzitSvGmuXnoszPPYPTwx4Kahso9WOkvYhvuXq6YoGjs30
 TVoxqA6dvyiPjwkdq7afmePvA5rIJGWJMVg/yUo0CCSkuGzRSJl44uBAU7tLK0CUk+p5 fw== 
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])
 by aserp2120.oracle.com with ESMTP id 2jk0xrpmth-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 20:45:40 +0000
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
 by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5EKjdAi008789
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 20:45:40 GMT
Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])
 by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w5EKjd7B029670;
 Thu, 14 Jun 2018 20:45:39 GMT
MIME-Version: 1.0
Message-ID: <cd94ca9a-5d36-44a2-8162-57f1a3dc639e@default>
Date: Thu, 14 Jun 2018 13:45:38 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, Drew Adams <drew.adams@HIDDEN>
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <<78156de2-86c8-4593-92b5-59edf7a8996e@default>>
 <<83o9gd33dj.fsf@HIDDEN>> <<a4bf1dd4-d411-4a74-b5dd-9b7abaef9250@default>>
 <<83in6l30ir.fsf@HIDDEN>>
In-Reply-To: <<83in6l30ir.fsf@HIDDEN>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8924
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806140228
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> > If you want to keep the current behavior then I'd suggest
> > having two different commands AND, for the one that does
> > literal string matching, change the name to something that
> > does not include "apropos" in the name.
>=20
> I'm okay with a new command, but it should have a new name.  How about
> info-apropos-regexp?  The old command must keep its name, for the same
> reason we cannot change its behavior.
>=20
> > When I get some time I'll take a closer look.
>=20
> Thanks.

Here's the code I've included in my library `info+.el'.

You may want to use it in `info.el'.  Or not.

If you want to rename `info-apropos' here to `info-apropos-regexp', do so.

And you might want other changes, too.  It should be pretty clear what
the essential changes are, versus others that you might not want to make.
(I untabify, I use `add-to-list' for backward compatibility, and I use
a separate window if invoked outside Info.)

HTH.


;; REPLACE ORIGINAL in `info.el':
;;
;; Added optional arg LITERALP.  Use apropos matching, not literal-string m=
atching,
;; by default.  Prefix arg matches literally.
;; Use other window, unless already in Info.
;;
(defun info-apropos (pattern &optional literalp)
  "Search indexes of all known Info files on your system for apropos PATTER=
N.
Build a menu of the possible matches.

With a prefix arg, match PATTERN as a literal string, not as a regexp
or keywords.

Just as for commands such as `apropos', PATTERN can be a word, a list
of words (separated by spaces), or a regexp (using some regexp special
characters).  If it is a word, search for matches for that word as a
substring.  If it is a list of words, search for matches for any
two (or more) of those words."
  (interactive (list (apropos-read-pattern "index entries") current-prefix-=
arg))
  (apropos-parse-pattern pattern)
  (if (equal apropos-regexp "")
      (Info-find-node Info-apropos-file "Top")
    (let ((nodes  Info-apropos-nodes)
          nodename)
      (while (and nodes  (not (string-match apropos-regexp (nth 1 (car node=
s)))))
        (setq nodes  (cdr nodes)))
      ;; Use another window, if not already in Info.
      (unless (eq major-mode 'Info-mode) (pop-to-buffer "*info*"))
      (if nodes
          (Info-find-node Info-apropos-file (caar nodes))
        (setq nodename  (format "Index for '%s'" apropos-regexp))
        (push (list nodename
                    apropos-regexp
                    (Info-apropos-matches apropos-regexp (and (not literalp=
) 'REGEXP)))
              Info-apropos-nodes)
        (Info-find-node Info-apropos-file nodename)))))


;; REPLACE ORIGINAL in `info.el':
;;
;; Added optional arg REGEXP-P.
;;
(defun Info-apropos-matches (string &optional regexp-p)
  "Collect STRING matches from all known Info files on your system.
Return a list of matches where each element is in the format
\((FILENAME INDEXTEXT NODENAME LINENUMBER)).

Non-nil optional REGEXP-P means interpret STRING as a regexp, instead
of trying to match it literally."
  ;; Emacs 23 has an `interactive' spec here, for no reason.
  (unless (string=3D string "")
    (let ((pattern       (format "\n\\* +\\([^\n]*\\(%s\\)[^\n]*\\):[ \t]+\
\\([^\n]+\\)\\.\\(?:[ \t\n]*(line +\\([0-9]+\\))\\)?"
                                 (if regexp-p string (regexp-quote string))=
))
          (ohist         Info-history)
          (ohist-list    Info-history-list)
          (current-node  Info-current-node)
          (current-file  Info-current-file)
          manuals matches node nodes)
      (let ((Info-fontify-maximum-menu-size  nil))
        (Info-directory)
        ;; `current-node' and `current-file' are nil if you invoke `info-ap=
ropos' as
        ;; the first Info command.  (`info-apropos' loads `info.el'.)  In t=
hat case,
        ;; use `(DIR)Top', to avoid an error after search is complete.
        (unless current-node (setq current-file  Info-current-file
                                   current-node  Info-current-node))
        (message "Searching indices...")
        (goto-char (point-min))
        (re-search-forward "\\* Menu: *\n" nil t)
        ;; Ensure no duplicates in MANUALS, so the `dolist' runs faster.
        (while (re-search-forward "\\*.*: *(\\([^)]+\\))" nil t)
          (add-to-list 'manuals (match-string 1)))
        (dolist (manual  (nreverse manuals))
          (message "Searching %s" manual)
          (condition-case err
              (if (setq nodes  (Info-index-nodes (Info-find-file manual)))
                  (save-excursion
                    (Info-find-node manual (car nodes))
                    (while
                        (progn
                          (goto-char (point-min))
                          (while (re-search-forward pattern nil t)
                            (let ((entry     (match-string-no-properties 1)=
)
                                  (nodename  (match-string-no-properties 3)=
)
                                  (line      (match-string-no-properties 4)=
))
                              (add-text-properties
                               (- (match-beginning 2) (match-beginning 1))
                               (- (match-end 2) (match-beginning 1))
                               '(face info-index-match) entry)
                              (setq matches  (cons (list manual entry noden=
ame line)
                                                   matches))))
                          (setq nodes  (cdr nodes)
                                node   (car nodes)))
                      (Info-goto-node node))))
            (error (message "%s" (if (eq (car-safe err) 'error) (nth 1 err)=
 err))
                   (sit-for 1 t)))))
      (Info-find-node current-file current-node)
      (setq Info-history       ohist
            Info-history-list  ohist-list)
      (message "Searching indices...done")
      (or (nreverse matches)  t))))




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 15:58:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 11:58:52 2018
Received: from localhost ([127.0.0.1]:48357 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTUeC-00051W-1n
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 11:58:52 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:35796)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fTUeA-00051J-7o
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 11:58:50 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5EFwK6F041618;
 Thu, 14 Jun 2018 15:58:44 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=91O0ZxuHOgfrtWrSOHemSfdM9tqiZ8fD607X3Vimp/w=;
 b=Q+J0737np2GWxA71pVzABQ6LWIvrszdAK2IAf2/gjnfCQ1Ihzuzkz5D4GewbdrJoBaa3
 9ZLvxd/f+tzB7PYR3g02Wnb77O5N55Py8b24a9TSsjxE9e5TchDvSfUjeLyE0VQblTVg
 2guNDZzZl5uN+IODn9uIHrXAKZOWA4jNbk2W7E74KZz8CsWwns/IFlu2pnAbW6c0qYaZ
 t2cFf+0hlWA0vkhvZ5mU+rSL5jNRsoqr/jR4hcdMhnhXfvxE1pxEPvQbfNIeFuKCXZj5
 nAkCRNr2FWfyv8B3AyY4ccaX+JBTInWWSLKTpj7lAJnM55Lsm7/Jyh+abIXCs/6n1z+t jQ== 
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])
 by aserp2120.oracle.com with ESMTP id 2jk0xrnqug-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 15:58:44 +0000
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236])
 by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5EFwgLw023985
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 15:58:43 GMT
Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])
 by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w5EFwfUP003749;
 Thu, 14 Jun 2018 15:58:42 GMT
MIME-Version: 1.0
Message-ID: <42fbb21a-e7f6-4e15-b609-662c58093b5c@default>
Date: Thu, 14 Jun 2018 08:58:40 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, Drew Adams <drew.adams@HIDDEN>
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <<<<78156de2-86c8-4593-92b5-59edf7a8996e@default>>>>
 <<<<83o9gd33dj.fsf@HIDDEN>>>>
 <<<<a4bf1dd4-d411-4a74-b5dd-9b7abaef9250@default>>>>
 <<<<83in6l30ir.fsf@HIDDEN>>>>
 <<<5fc07c84-b8d2-493c-a17b-774ad1c213bf@default>>>
 <<<83fu1p2ym7.fsf@HIDDEN>>> <<73c2c21d-9fba-4ab5-a0b0-8b36e9a23bcf@default>>
 <<83efh92wr2.fsf@HIDDEN>>
In-Reply-To: <<83efh92wr2.fsf@HIDDEN>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8923
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806140175
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> > > > Did you present the same, we-can't-enhance-because-legacy
> > > > argument when Kim (I think it was) added keyword-matching
> > > > to the `apropos*' commands?
> > >
> > > That change was backward-compatible.
> >
> > No more so than this one, IMO.  In fact less.
>=20
> I don't agree, but even if you are right, you can consider my views
> today the result of learning over all those years since then what such
> changes mean.

When I get some time I will test and update the code I sent.
You can then do what you will with it (e.g. rename or recode).
Thx.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 15:50:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 11:50:35 2018
Received: from localhost ([127.0.0.1]:48348 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTUWA-0004qb-Ul
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 11:50:35 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34275)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fTUW9-0004qO-DR
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 11:50:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fTUVz-0004Ba-Ix
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 11:50:28 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45877)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fTUVz-0004BV-7A; Thu, 14 Jun 2018 11:50:23 -0400
Received: from [176.228.60.248] (port=4119 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fTUVy-0004iB-Kj; Thu, 14 Jun 2018 11:50:23 -0400
Date: Thu, 14 Jun 2018 18:50:09 +0300
Message-Id: <83efh92wr2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-reply-to: <73c2c21d-9fba-4ab5-a0b0-8b36e9a23bcf@default> (message from Drew
 Adams on Thu, 14 Jun 2018 08:33:32 -0700 (PDT))
Subject: Re: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <<<78156de2-86c8-4593-92b5-59edf7a8996e@default>>>
 <<<83o9gd33dj.fsf@HIDDEN>>>
 <<<a4bf1dd4-d411-4a74-b5dd-9b7abaef9250@default>>>
 <<<83in6l30ir.fsf@HIDDEN>>> <<5fc07c84-b8d2-493c-a17b-774ad1c213bf@default>>
 <<83fu1p2ym7.fsf@HIDDEN>> <73c2c21d-9fba-4ab5-a0b0-8b36e9a23bcf@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Thu, 14 Jun 2018 08:33:32 -0700 (PDT)
> From: Drew Adams <drew.adams@HIDDEN>
> Cc: 31807 <at> debbugs.gnu.org
> 
> > > Did you present the same, we-can't-enhance-because-legacy
> > > argument when Kim (I think it was) added keyword-matching
> > > to the `apropos*' commands?
> > 
> > That change was backward-compatible.
> 
> No more so than this one, IMO.  In fact less.

I don't agree, but even if you are right, you can consider my views
today the result of learning over all those years since then what such
changes mean.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 15:33:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 11:33:47 2018
Received: from localhost ([127.0.0.1]:48337 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTUFv-0004Ta-58
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 11:33:47 -0400
Received: from userp2120.oracle.com ([156.151.31.85]:56804)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fTUFs-0004TL-0b
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 11:33:45 -0400
Received: from pps.filterd (userp2120.oracle.com [127.0.0.1])
 by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5EFTOY9172369;
 Thu, 14 Jun 2018 15:33:38 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=ouMVNb0XxVjAJY4jKzHM/8Nd5KerLoac8qz+OZV2kXk=;
 b=BDgymiP2GVhKWV1dTRWLi2irLW0LG8G2lPK/opi2n3XfXNFinHXoIhdHLgvmrKMDD+rJ
 NpzX+0gw8BQycDh1LvWmHVp/7AM/KnP8B0xoWbU622aHDqMo/IVFHcuSzVO7DbYFocqv
 f4ROAIcHv0rzI8aWf33bh4x0qMxj5VYyTUe9tHzrnduqMraTlJ4Ka8Mv0pZp7c27mHdu
 OVKKoR15/cj2uiN6ZctNDFWA8/ixx4TZgIYBy7DWThffZBDVbi12xJgy3unSSyT9c8si
 9b7kJVBKWqW1qI0pLlQujQUX7WxmAwpDL9+YpcTAhJaKxOHqjsv6Hopq7ZaRmL2FnBhL Mw== 
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])
 by userp2120.oracle.com with ESMTP id 2jk0xrdmj8-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 15:33:37 +0000
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5EFXb8n006924
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 15:33:37 GMT
Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])
 by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5EFXa38025836;
 Thu, 14 Jun 2018 15:33:36 GMT
MIME-Version: 1.0
Message-ID: <73c2c21d-9fba-4ab5-a0b0-8b36e9a23bcf@default>
Date: Thu, 14 Jun 2018 08:33:32 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, Drew Adams <drew.adams@HIDDEN>
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <<<78156de2-86c8-4593-92b5-59edf7a8996e@default>>>
 <<<83o9gd33dj.fsf@HIDDEN>>>
 <<<a4bf1dd4-d411-4a74-b5dd-9b7abaef9250@default>>>
 <<<83in6l30ir.fsf@HIDDEN>>> <<5fc07c84-b8d2-493c-a17b-774ad1c213bf@default>>
 <<83fu1p2ym7.fsf@HIDDEN>>
In-Reply-To: <<83fu1p2ym7.fsf@HIDDEN>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8923
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806140170
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> > Did you present the same, we-can't-enhance-because-legacy
> > argument when Kim (I think it was) added keyword-matching
> > to the `apropos*' commands?
>=20
> That change was backward-compatible.

No more so than this one, IMO.  In fact less.

If you entered "foo bar" (without the quotes) before that
enhancement the commands would try to match only that literal
string (as a regexp).  After the enhancement, entering that
same text caused matching against a complex regexp that
matches "foo" (no space) and "bar" (no space) in either order.
Not at all the same behavior.

This change is more backward compatible.  If you enter "foo"
or "(foo)" or "%foo" you still get the same behavior.  The
only change in behavior occurs if you include regexp special
chars.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 15:10:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 11:10:19 2018
Received: from localhost ([127.0.0.1]:48322 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTTtC-0003vm-Vl
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 11:10:19 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53014)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fTTt9-0003vW-95
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 11:10:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fTTt0-0005bR-48
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 11:10:10 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44924)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fTTt0-0005bN-01; Thu, 14 Jun 2018 11:10:06 -0400
Received: from [176.228.60.248] (port=4064 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fTTsz-0004oX-GI; Thu, 14 Jun 2018 11:10:05 -0400
Date: Thu, 14 Jun 2018 18:09:52 +0300
Message-Id: <83fu1p2ym7.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-reply-to: <5fc07c84-b8d2-493c-a17b-774ad1c213bf@default> (message from Drew
 Adams on Thu, 14 Jun 2018 07:42:11 -0700 (PDT))
Subject: Re: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <<78156de2-86c8-4593-92b5-59edf7a8996e@default>>
 <<83o9gd33dj.fsf@HIDDEN>> <<a4bf1dd4-d411-4a74-b5dd-9b7abaef9250@default>>
 <<83in6l30ir.fsf@HIDDEN>> <5fc07c84-b8d2-493c-a17b-774ad1c213bf@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Thu, 14 Jun 2018 07:42:11 -0700 (PDT)
> From: Drew Adams <drew.adams@HIDDEN>
> Cc: 31807 <at> debbugs.gnu.org
> 
> I seriously doubt that anyone will be upset if `info-apropos'
> is enhanced to support more general matching.

When in doubt, we should err on the safe side in these situations.

> Did you present the same, we-can't-enhance-because-legacy
> argument when Kim (I think it was) added keyword-matching
> to the `apropos*' commands?

That change was backward-compatible.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 14:42:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 10:42:23 2018
Received: from localhost ([127.0.0.1]:48305 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTTSB-0003Hk-L8
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 10:42:23 -0400
Received: from aserp2130.oracle.com ([141.146.126.79]:52048)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fTTSA-0003HY-2b
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 10:42:22 -0400
Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1])
 by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5EEdG6R047358;
 Thu, 14 Jun 2018 14:42:16 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=DeR+ecL9UPew9gpWQ/jDdnbMosJV7SAXQyw+jHONBvs=;
 b=oY5xcOgKIdLfUxsKc9I12bhMgkqzA38IWA0FMZ5wLZ6DmTNksLhzqYVVk3dBIKbs22uY
 eAUnuR9ehsL5zVxaikGhpiyG2tMrPvq82WBsdDrD68P5xNNsMQ7JRjucS9d2UbCXnRjF
 nKQljoS7dcOVw7Bn97cNlosW5oa9rELl4f+fRKriFXaYoDCYv3fMRrYdsdBj5sgIvTaN
 b+gOubXNdzobrHk5/qg/0BAF+V/1H2zGNYtCg7D5Z2EDeP+sLsnhjQZo2ez4bZL1ckQr
 zdYw57ntaX1ytDcR4jPQb0bSZspODd9nOMtoxp/8rqjtnIRtr5laSJmax6tj6dSBsGSi vA== 
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])
 by aserp2130.oracle.com with ESMTP id 2jk0xqwd8j-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 14:42:16 +0000
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236])
 by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5EEgETX014247
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 14:42:15 GMT
Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])
 by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w5EEgDcF023649;
 Thu, 14 Jun 2018 14:42:14 GMT
MIME-Version: 1.0
Message-ID: <5fc07c84-b8d2-493c-a17b-774ad1c213bf@default>
Date: Thu, 14 Jun 2018 07:42:11 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, Drew Adams <drew.adams@HIDDEN>
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <<78156de2-86c8-4593-92b5-59edf7a8996e@default>>
 <<83o9gd33dj.fsf@HIDDEN>> <<a4bf1dd4-d411-4a74-b5dd-9b7abaef9250@default>>
 <<83in6l30ir.fsf@HIDDEN>>
In-Reply-To: <<83in6l30ir.fsf@HIDDEN>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8923
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806140163
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> > If you want to keep the current behavior then I'd suggest
> > having two different commands AND, for the one that does
> > literal string matching, change the name to something that
> > does not include "apropos" in the name.
>=20
> I'm okay with a new command, but it should have a new name.  How about
> info-apropos-regexp?  The old command must keep its name, for the same
> reason we cannot change its behavior.

It's you who decide, of course.  But I disagree about the
name(s).

"Apropos", in Emacs, always has and always should mean (at
least) regexp-matching.  As a notion it is _opposed_ to
literal string matching, indicating that something more
general or more approximate is going on wrt matching.

A command name like `*-apropos-regexp' is a bad idea, IMO.
It just confuses.  And a command name `*-apropos' that
does only literal matching is an even worse idea, and it
is worse yet if accompanied by another command called
`*-apropos-regexp'.

Again, my suggestion is to "enhance" the behavior of
`info-apropos', to make it really do "apropos" matching.
For anyone who might prefer literal-matching, either it
could take a prefix arg to provide that or a separate,
literal(-only)-matching command could be added.

I seriously doubt that anyone will be upset if `info-apropos'
is enhanced to support more general matching.

Did you present the same, we-can't-enhance-because-legacy
argument when Kim (I think it was) added keyword-matching
to the `apropos*' commands?

Did you say that those commands have always accepted only
a regexp arg and just matched it directly?  Did you suggest
that alternative (new) commands be added that provide
keyword + regexp matching, and that tacked on the suffix
`-keyword' to their names (e.g. `apropos-command-regexp')?
I don't think you did - and rightfully so.  And no one
(including me) complained about that behavior enhancement.

> > > Btw, does this really work as intended without changes to
> > > Info-apropos-matches?  That function calls regexp-quote on its
> > > argument.
> >
> > Dunno.  When I get some time I'll take a closer look.
>=20
> Thanks.

You're welcome.  But I haven't done it yet. ;-)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 14:29:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 10:29:10 2018
Received: from localhost ([127.0.0.1]:48295 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTTFN-0002yo-Ss
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 10:29:10 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43436)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fTTFK-0002yO-GL
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 10:29:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fTTFB-0004VD-8q
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 10:29:01 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44104)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fTTFB-0004V5-4Q; Thu, 14 Jun 2018 10:28:57 -0400
Received: from [176.228.60.248] (port=3778 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fTTFA-0002HB-JA; Thu, 14 Jun 2018 10:28:56 -0400
Date: Thu, 14 Jun 2018 17:28:44 +0300
Message-Id: <83in6l30ir.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-reply-to: <a4bf1dd4-d411-4a74-b5dd-9b7abaef9250@default> (message from Drew
 Adams on Thu, 14 Jun 2018 07:11:48 -0700 (PDT))
Subject: Re: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <83o9gd33dj.fsf@HIDDEN> <a4bf1dd4-d411-4a74-b5dd-9b7abaef9250@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Thu, 14 Jun 2018 07:11:48 -0700 (PDT)
> From: Drew Adams <drew.adams@HIDDEN>
> Cc: 31807 <at> debbugs.gnu.org
> 
> If you want to keep the current behavior then I'd suggest
> having two different commands AND, for the one that does
> literal string matching, change the name to something that
> does not include "apropos" in the name.

I'm okay with a new command, but it should have a new name.  How about
info-apropos-regexp?  The old command must keep its name, for the same
reason we cannot change its behavior.

> > Btw, does this really work as intended without changes to
> > Info-apropos-matches?  That function calls regexp-quote on its
> > argument.
> 
> Dunno.  When I get some time I'll take a closer look.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 14:16:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 10:16:23 2018
Received: from localhost ([127.0.0.1]:48290 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTT31-0002hb-NT
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 10:16:23 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:58388)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fTT2z-0002hO-Cf
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 10:16:21 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5EEDkWr157521;
 Thu, 14 Jun 2018 14:16:15 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=o4CEQbQRJeiDUdr5kuV23tDpUoD/pIXkooe6TMm34P0=;
 b=BLNKIFeUKFyLpUxVXf+q2VfZmBbH02Pr7giIU1HcCYv3tOtzxdaEEC+jkgq3WRf3QXNC
 SVXUqzkM8/PqMPLim403QrOceLMbvJA7tXVIjJzvWXijqPZM4A1eITqQMfVybFho5dKS
 bWP6n49FamRuG7f3GGu9PZvmnWDTWVjdKPqKQXhXWdQUILpVF/OxWVXSG0pU9zrZmP9f
 tstVn+V0H7RVmaYqpzp6S6sRlwo3TuK30M3P/2P5ElxLCGvcRuxAxnGd9KC7FAhdp2T6
 2b8WRlrWP7HaFXqyZwL0O91SFu8LMtVMBAI5/GcO1pwg5yh68LS/Lhis8ZOpwQTc3WGd nQ== 
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])
 by aserp2120.oracle.com with ESMTP id 2jk0xrn9rt-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 14:16:15 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5EEGEEm008084
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 14:16:15 GMT
Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5EEGE7A011595;
 Thu, 14 Jun 2018 14:16:14 GMT
MIME-Version: 1.0
Message-ID: <f7814f7b-d9c0-48d5-83aa-b354b047db10@default>
Date: Thu, 14 Jun 2018 07:16:12 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, Drew Adams <drew.adams@HIDDEN>
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <<78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
 <08a478b6-1819-4bef-8165-2fb2c2e162eb@default>>
 <<eb245b09-a156-4585-8021-7a3e0e173dbc@default>> <<83muvx33ab.fsf@HIDDEN>>
In-Reply-To: <<83muvx33ab.fsf@HIDDEN>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8923
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=965
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806140158
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> > This is the scary text I saw, FWIW:...
>
> What's so scary about it?  It clearly identifies the problematic
> characters, offers clickable buttons to go to each of them, and
> explains the problem.  It should probably suggest UTF-8 as the first
> alternative, but other than that I see no problem in this dialog.

Yes, at the very least, it should suggest utf-8 and provide
that as the default value.  Only in a separate paragraph
should it say that you can instead use any of the following
instead...

Make it simple to understand that utf-8 solves the problem,
and make it simple to choose utf-8.  You might even want
to make it a 3-way decision: (1) Yes, convert to utf-8,
(2) No, don't save, (3) Convert to an alternative encoding.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 14:12:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 10:12:01 2018
Received: from localhost ([127.0.0.1]:48284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTSyn-0002at-4W
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 10:12:01 -0400
Received: from aserp2130.oracle.com ([141.146.126.79]:54756)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fTSyk-0002af-VE
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 10:11:59 -0400
Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1])
 by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5EE90aL024502;
 Thu, 14 Jun 2018 14:11:53 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=JqxALr18Uj+DaVVVEcnGt9E6KJt35K8eGjJ+4R6Jshc=;
 b=Fq7N3bpupp2vi/guBIQPTGj6DBJnAvuOkDixr11KmyDU9jZEiT+Ar2+aEE7Acv0K2cgD
 mqXZc9brZZUkCjXyi5jKSmfKuyPlv+i0UWb9ZV7/5FUaCnxISoGfm52r1JW+b0+1LW0t
 pxFsvCP8nK6kD/82bdIO+aXRLr2+IZfURd8BAuxybnAQii0+oJZ8dD44T0M7AnUUrXDK
 AGM/icstfWdlUNlPkDddVI5X2Jy6MYVE2kjv8ewWhrod2zMyGNd2qmwN+MHBnayao+DD
 deOkL+qsTr92vP+2HsWpM3BuwYEK7Rx+r8JvCnJw73s+CRBfOBAj2MWnMQ0R88FVVdo1 2g== 
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])
 by aserp2130.oracle.com with ESMTP id 2jk0xqw98e-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 14:11:52 +0000
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
 by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5EEBq2t014257
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 14 Jun 2018 14:11:52 GMT
Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])
 by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w5EEBpIX001407;
 Thu, 14 Jun 2018 14:11:51 GMT
MIME-Version: 1.0
Message-ID: <a4bf1dd4-d411-4a74-b5dd-9b7abaef9250@default>
Date: Thu, 14 Jun 2018 07:11:48 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <83o9gd33dj.fsf@HIDDEN>
In-Reply-To: <83o9gd33dj.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8923
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806140157
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> > `info-apropos', as its doc string says, apparently does NOT do
> > "apropos" matching, i.e., regexp and keyword matching.  It
> apparently does literal
> > string matching against index entries in all of the manuals.
> >
> > Perhaps either the name should be changed (to not use the word
> > "apropos") or the behavior should be changed, to allow apropos
> > matching.
>=20
> This command is the Emacs implementation of the "info --apropos"
> feature present in the Texinfo's stand-alone Info reader, which also
> looks for substring matches.  Apparently, "apropos" doesn't
> necessarily mean "regexps and keywords".

What matters, I think, is what Emacs means by "apropos", not
what Info might mean by it, especially not just what some
Info switch might be called.

In Emacs, "apropos" has always meant pattern matching, in
particular, regexp matching.  (Later, keyword matching was
added.)

> > I threw this together quickly, as a POC.  It does the job, but
>=20
> Thanks.  The original command was introduced 11 years ago, so I don't
> think we can make radical changes in the user-visible behavior by
> default after all this time.

I disagree, here.  I think we _can_ make such a change,
and I don't think it's radical.

Plus, most literal string matches that someone might want
to make, in practice, do not involve any special regexp
chars, so they would still just "work".

If you want to keep the current behavior then I'd suggest
having two different commands AND, for the one that does
literal string matching, change the name to something that
does not include "apropos" in the name.

It's fine with me that any key-bindings (e.g., menu items)
for the literal-matching command be kept for the (newly
named) literal-matching command, if you like.  I don't
insist that that command or its keys be _supplanted_ by
a real apropos command.

The point is that (1) we can and should have an
apropos-matching command (as a replacement or in addition
to the current literal-matching command - I don't care
which), and (2) a literal-match command should not be
named `...-apropos' (in Emacs).

> This should be an opt-in optional
> behavior, controlled either by a prefix argument or by a (new) user
> variable.  Would you like to modify your suggestion along these lines?

No, I disagree that that is the right approach.
See above, for an alternative approach.

> Btw, does this really work as intended without changes to
> Info-apropos-matches?  That function calls regexp-quote on its
> argument.

Dunno.  When I get some time I'll take a closer look.
I don't insist on this code, which I threw together quickly.
Clearly, the apropos command should be made to work well.

The points are as stated above: provide a real apropos
command, and ensure that a command that matches only string
literals is not called `...-apropos'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 13:29:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 09:29:24 2018
Received: from localhost ([127.0.0.1]:47434 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTSJY-0001Ra-K6
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 09:29:24 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54889)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fTSJX-0001RM-23
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 09:29:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fTSJO-0006Ff-T7
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 09:29:18 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42725)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fTSJO-0006Fa-Om; Thu, 14 Jun 2018 09:29:14 -0400
Received: from [176.228.60.248] (port=3443 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fTSJO-0003Rb-5g; Thu, 14 Jun 2018 09:29:14 -0400
Date: Thu, 14 Jun 2018 16:29:00 +0300
Message-Id: <83muvx33ab.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-reply-to: <eb245b09-a156-4585-8021-7a3e0e173dbc@default> (message from Drew
 Adams on Tue, 12 Jun 2018 16:59:19 -0700 (PDT))
Subject: Re: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
 <08a478b6-1819-4bef-8165-2fb2c2e162eb@default>
 <eb245b09-a156-4585-8021-7a3e0e173dbc@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Tue, 12 Jun 2018 16:59:19 -0700 (PDT)
> From: Drew Adams <drew.adams@HIDDEN>
> 
> This is the scary text I saw, FWIW:
> 
> These default coding systems were tried to encode text
> in the buffer 'aaaaa.txt':
>   (undecided-unix (768 . 8216) (771 . 8217)) (iso-latin-1-unix (768
>   . 8216) (771 . 8217))
> However, each of them encountered characters it couldn't encode:
>   undecided-unix cannot encode these: ' '
>   iso-latin-1-unix cannot encode these: ' '
> 
> Click on a character (or switch to this window by 'C-x o'
> and select the characters by RET) to jump to the place it appears,
> where 'C-u C-x =' will give information about it.
> 
> Select one of the safe coding systems listed below,
> or cancel the writing with C-g and edit the buffer
>    to remove or modify the problematic characters,
> or specify any other coding system (and risk losing
>    the problematic characters).
> 
>   gb2312 shift_jis iso-2022-jp big5 utf-8 euc-kr euc-jis-2004 euc-jp
>   euc-tw windows-1256 windows-1258 cp874 iso-2022-jp-2004 windows-1255
>   cp869 windows-1253 iso-8859-7 adobe-standard-encoding macintosh
>   windows-1257 windows-1254 windows-1252 windows-1250 windows-1251
>   koi8-t gb18030 gbk big5-hkscs hz-gb-2312 utf-7 utf-16
>   utf-16be-with-signature utf-16le-with-signature utf-16be utf-16le
>   iso-2022-7bit utf-8-auto utf-8-with-signature eucjp-ms utf-8-hfs
>   georgian-academy georgian-ps korean-cp949 japanese-shift-jis-2004
>   japanese-iso-7bit-1978-irv japanese-cp932 pt154
>   cyrillic-alternativnyj utf-7-imap utf-8-emacs prefer-utf-8

What's so scary about it?  It clearly identifies the problematic
characters, offers clickable buttons to go to each of them, and
explains the problem.  It should probably suggest UTF-8 as the first
alternative, but other than that I see no problem in this dialog.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 13:27:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 14 09:27:32 2018
Received: from localhost ([127.0.0.1]:47429 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTSHk-0001OX-1L
	for submit <at> debbugs.gnu.org; Thu, 14 Jun 2018 09:27:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54462)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fTSHj-0001OM-00
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 09:27:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fTSHa-0005wa-HA
 for 31807 <at> debbugs.gnu.org; Thu, 14 Jun 2018 09:27:25 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42708)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fTSHa-0005wV-6I; Thu, 14 Jun 2018 09:27:22 -0400
Received: from [176.228.60.248] (port=3442 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fTSHW-0000jC-1m; Thu, 14 Jun 2018 09:27:19 -0400
Date: Thu, 14 Jun 2018 16:27:04 +0300
Message-Id: <83o9gd33dj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-reply-to: <78156de2-86c8-4593-92b5-59edf7a8996e@default> (message from Drew
 Adams on Tue, 12 Jun 2018 16:01:37 -0700 (PDT))
Subject: Re: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Tue, 12 Jun 2018 16:01:37 -0700 (PDT)
> From: Drew Adams <drew.adams@HIDDEN>
> 
> `info-apropos', as its doc string says, apparently does NOT do "apropos"
> matching, i.e., regexp and keyword matching.  It apparently does literal
> string matching against index entries in all of the manuals.
> 
> Perhaps either the name should be changed (to not use the word
> "apropos") or the behavior should be changed, to allow apropos matching.

This command is the Emacs implementation of the "info --apropos"
feature present in the Texinfo's stand-alone Info reader, which also
looks for substring matches.  Apparently, "apropos" doesn't
necessarily mean "regexps and keywords".

> I threw this together quickly, as a POC.  It does the job, but

Thanks.  The original command was introduced 11 years ago, so I don't
think we can make radical changes in the user-visible behavior by
default after all this time.  This should be an opt-in optional
behavior, controlled either by a prefix argument or by a (new) user
variable.  Would you like to modify your suggestion along these lines?

Btw, does this really work as intended without changes to
Info-apropos-matches?  That function calls regexp-quote on its
argument.

> BTW, should the name be `Info-apropos' or `info-apropos'?

We've been through that, see the reason explained here:

  http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00482.html




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 13 Jun 2018 18:24:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 13 14:24:44 2018
Received: from localhost ([127.0.0.1]:46915 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fTARn-0001Of-Pe
	for submit <at> debbugs.gnu.org; Wed, 13 Jun 2018 14:24:44 -0400
Received: from aserp2130.oracle.com ([141.146.126.79]:34114)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fTARl-0001OR-HY
 for 31807 <at> debbugs.gnu.org; Wed, 13 Jun 2018 14:24:41 -0400
Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1])
 by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5DIOGWh030080;
 Wed, 13 Jun 2018 18:24:35 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=J2J+JXofGZ7y6+dK+kAkk2oNmMrbiINC9DcB5LgHeCI=;
 b=GG2gmqIYyVPLQj8EKrYY4GU5LvoB+rBMTSWdXUPmXV8WLTCa13NVyFOydvEGQRexSLnm
 2r6SY6n6hii0GXjYAPBMKmn8LT8Jy8Pyw3QJFiedCqTs7M6kwxYiwOs2P9kguB+b+75V
 NK4p8DSbzMExzeY22r0CraVU9OCUjiMhaJop9IOnut1G0g/8E5wwYj/blZpDKvhYL7Ou
 OZ1p1RkLDQz5dC+1qrgIrIJFLBHacffl0t+mbIdO27/senRpBPiNNhoxeOOI36ODcBdq
 uf+FaN9rFRHFYumtH1ddcMN/R6BmNepTczjGfRjMhK0ta3EkHth8SoqQG4GcZmTSLlp5 Ng== 
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])
 by aserp2130.oracle.com with ESMTP id 2jk0xqsx0u-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Wed, 13 Jun 2018 18:24:35 +0000
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5DIOZ4X027380
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Wed, 13 Jun 2018 18:24:35 GMT
Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15])
 by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5DIOYTX015152;
 Wed, 13 Jun 2018 18:24:34 GMT
MIME-Version: 1.0
Message-ID: <33ac1d47-e3b7-43e2-b0cb-92039522b033@default>
Date: Wed, 13 Jun 2018 11:24:33 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
 <08a478b6-1819-4bef-8165-2fb2c2e162eb@default> <87d0wvy2km.fsf@HIDDEN>
 <dcffa166-a546-4255-b4ea-c32f8e2b7776@default>
In-Reply-To: <dcffa166-a546-4255-b4ea-c32f8e2b7776@default>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8923
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=419
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806130196
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

I filed bug #31815 for those curly quotes in `info.el'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 13 Jun 2018 00:16:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 12 20:16:27 2018
Received: from localhost ([127.0.0.1]:45543 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fStSd-0008Tn-3n
	for submit <at> debbugs.gnu.org; Tue, 12 Jun 2018 20:16:27 -0400
Received: from userp2130.oracle.com ([156.151.31.86]:55064)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fStSb-0008Tb-TW
 for 31807 <at> debbugs.gnu.org; Tue, 12 Jun 2018 20:16:26 -0400
Received: from pps.filterd (userp2130.oracle.com [127.0.0.1])
 by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5D0FVao132685;
 Wed, 13 Jun 2018 00:16:19 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=Wp9GLxyjV2dFAnGeHIG3Bf0Ypt6zxDbk/+nPGCE5PQw=;
 b=eNtvepylJWBVyl3phPnbV4cA88ENvDey6CDB9hIOQLyd5sdVeYSJ2jB/XSkqTwLc0aiU
 QdW3nAXhPQz0XAOtkAg+/Vd/n5RMcteVQmRu8e63GGVKULT/M8m+L1VKSdpyAHHIJbiL
 /IXVklAsR8hwQQ2l3aIEH264dZCC2NGhI9M3AENUYG94A0ZYOaYNCL6SXN+eR5d5CU4t
 VT0AuJwoiRzyRZITeH1mAYQWsFmCJC5mfbCaW+sVX3VApH8OG3yU/MW3QVMOtcrhk1rE
 1ZChwfYg7rjFCxNrRKd8I2pv54rcu8LENpJw27+W8sj39uRLKNmasNUkOFyX2Rp63v3z aQ== 
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])
 by userp2130.oracle.com with ESMTP id 2jjp6bg9cp-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Wed, 13 Jun 2018 00:16:19 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5D0GJ5k019146
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Wed, 13 Jun 2018 00:16:19 GMT
Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5D0GIVY009449;
 Wed, 13 Jun 2018 00:16:18 GMT
MIME-Version: 1.0
Message-ID: <dcffa166-a546-4255-b4ea-c32f8e2b7776@default>
Date: Tue, 12 Jun 2018 17:16:17 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
 <08a478b6-1819-4bef-8165-2fb2c2e162eb@default> <87d0wvy2km.fsf@HIDDEN>
In-Reply-To: <87d0wvy2km.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8922
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806130002
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> >> (setq nodename  (format "Index for '%s'" apropos-regexp))
>
> Can you explain how you produced that text?  Unless you ran the code
> through message like (message (prin1-to-string (defun ...))) I'm a bit
> confused as to how it could happen.

I copied it from `info.el'.  Bad idea, I know, now that Emacs
code has been corrupted through and through. ;-)

However, I see now that although what I copied from `info.el'
uses LEFT SINGLE QUOTATION MARK and RIGHT SINGLE QUOTATION MARK,
after the bug report was submitted what shows in the bug
description is APOSTROPHE and APOSTROPHE.

So things seem worse than I thought.  What I yanked into
the the `M-x report-emacs-bug' buffer and ended up pasting
into the mail message was apparently different from what
I copied from `info.el'.  Just where that translation occurred
(`report-emacs-bug'? pasting into the Outlook mail message?),
I don't know.

Anyway, please read it as being left and right single quotation
marks.  Those are what caused Emacs to ask me whether I wanted
to save the buffer using any of a zillion exotic encodings
(a couple of which are not so exotic, but they're buried among
others).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 13 Jun 2018 00:04:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 12 20:04:21 2018
Received: from localhost ([127.0.0.1]:45537 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fStGu-0008DQ-Ga
	for submit <at> debbugs.gnu.org; Tue, 12 Jun 2018 20:04:21 -0400
Received: from mail-io0-f173.google.com ([209.85.223.173]:46401)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1fStGr-0008DC-R4
 for 31807 <at> debbugs.gnu.org; Tue, 12 Jun 2018 20:04:18 -0400
Received: by mail-io0-f173.google.com with SMTP id d22-v6so1461153iof.13
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 17:04:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=rkHwJ3HIlWc9aMj6UZpRlUPIqdGEuZXg8YJdbCirrJw=;
 b=K0KyC12IDUZ0ik3HznIRjA/fGR3Od/mo7aG55wov3BS/0KONKrT1WSVZxRrIBV7Mah
 B1ENDYzg3Av9evLxQhfM/TGs0JPWLqlQvQOdyGety6URJsC26NrrE3jqug0o55nbE77q
 yFspAl7X0PSFQPgZazALU5ZafU74a4CvDsPN/mPM/eVM4+3nEDrwKmwkdoDHIuWxfPUK
 bzYUjoUD50/kt8iZGXrHtxAmPlf6ol+DsBewGdbwD2aW/R3mkQqdp/Yh86SqqPtXhnpI
 OeMR4Zkhedu3nFXgpUDzr4FMkN3Mw67Pt+VLcOI352cud+9/koN+I4cY5TlaBDx668Bi
 1LGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=rkHwJ3HIlWc9aMj6UZpRlUPIqdGEuZXg8YJdbCirrJw=;
 b=CHqDFONc+cwCioIRxywGHu6d7fDIKeDz3+BAUVFH5CR4NpHYMokatjiK7hOCe2GcYS
 K4p9sS8p3A3sGSts3Q3WX+ymV0LrKGH+qlU/xZ1fU/NPU/bydTu/nXhPggQUZPvilu5r
 aLni+L/lozYO1KuQvyqSMl5Fx9GgVEr+7VPD6wvnBOCGerJy6EalsBC+IpERo/A9P97s
 RbV/jinNlFJYVl7QgRo4F5aeHGrb877Ok0pO5hx3LysmHGkeM0y2H20DjI3uYBazIrH7
 itCf1CI+Bf4psU/2O47xQAlrmWnP4DBB/QlDlQO2Ho7nYaISWLKsDrp6CYs2jx7FBcKQ
 BOOA==
X-Gm-Message-State: APt69E2pOkyXf9936i2UpkZ6kNi2sq48STSv7u74MVUxy0/e2hwl2YlQ
 8BecYT78q1DXgPJSz7I9p8KJOCZl
X-Google-Smtp-Source: ADUXVKIIcSrYq6lT+rPfZqzkC4vnGJ2TCtCeHyJPloPbqTkzUtx+d9zFVD5hjB+CM8G3+W21ynAXqQ==
X-Received: by 2002:a6b:8c0f:: with SMTP id
 o15-v6mr2649790iod.84.1528848252186; 
 Tue, 12 Jun 2018 17:04:12 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 v200-v6sm954088ita.43.2018.06.12.17.04.11
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 12 Jun 2018 17:04:11 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
 <08a478b6-1819-4bef-8165-2fb2c2e162eb@default>
Date: Tue, 12 Jun 2018 20:04:09 -0400
In-Reply-To: <08a478b6-1819-4bef-8165-2fb2c2e162eb@default> (Drew Adams's
 message of "Tue, 12 Jun 2018 16:39:02 -0700 (PDT)")
Message-ID: <87d0wvy2km.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31807
Cc: 31807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Drew Adams <drew.adams@HIDDEN> writes:

>> (setq nodename  (format "Index for '%s'" apropos-regexp))
>
> Ouch!  Bitten by the crazy-quote monster.  Couldn't even save
> the file I wrote it in - asked me about possibly saving with
> Chinese this or that (in Emacs 27).
>
> Naturally I meant this sane traditional, standard sexp instead:
>
> (setq nodename  (format "Index for `%s'" apropos-regexp))
>
> That's what comes from copy-pasting polluted Emacs code.

Can you explain how you produced that text?  Unless you ran the code
through message like (message (prin1-to-string (defun ...))) I'm a bit
confused as to how it could happen.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 12 Jun 2018 23:59:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 12 19:59:30 2018
Received: from localhost ([127.0.0.1]:45527 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fStCE-00085A-NQ
	for submit <at> debbugs.gnu.org; Tue, 12 Jun 2018 19:59:30 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:47840)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fStCC-00084x-Nn
 for 31807 <at> debbugs.gnu.org; Tue, 12 Jun 2018 19:59:29 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5CNl1Wv183732
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:59:22 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=GXk2W82+U6wHlkZp7uZTPuV/v1bhToLI/l5ER88kY9A=;
 b=jacWZ40nMcy4BE/Exac8Jy1+BQAvPyQU2d8Rd2AvfwXmeQW7xeCthnt0R30nXTa2y1+9
 0BrDqX58l7jffnpssPU5n0vpSXfkZMZyYTvCJ5prMX0IrBHRZQvD9pkVsFobXsvyZyW0
 Pww2ZMvC00u7G2hEhg0smcPgUu8NDARkMXmv6uu5hEP9qOxM3T8o0CHY3ghSBTLmUd/2
 Sf71Znv15xKLSwqeBl86tYvawefH/HVPk2buvbeTVnG73AbvhoGKpVHyVbxy6Hsx6Hj0
 TH0rreUrlwpI37lCqNqnUeFVpDNXjzt8XKvhy/JiGcvTS7Lz9ZvWX1iwL1ruht73m3Dh aw== 
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])
 by aserp2120.oracle.com with ESMTP id 2jjp6br8kk-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:59:22 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5CNxLie004082
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:59:21 GMT
Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5CNxLqM001584
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:59:21 GMT
MIME-Version: 1.0
Message-ID: <eb245b09-a156-4585-8021-7a3e0e173dbc@default>
Date: Tue, 12 Jun 2018 16:59:19 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: 31807 <at> debbugs.gnu.org
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
 <08a478b6-1819-4bef-8165-2fb2c2e162eb@default>
In-Reply-To: <08a478b6-1819-4bef-8165-2fb2c2e162eb@default>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8922
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=13
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=979
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806120263
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Ouch!  Bitten by the crazy-quote monster.  Couldn't even save
> the file I wrote it in - asked me about possibly saving with
> Chinese this or that (in Emacs 27).

This is the scary text I saw, FWIW:

These default coding systems were tried to encode text
in the buffer 'aaaaa.txt':
  (undecided-unix (768 . 8216) (771 . 8217)) (iso-latin-1-unix (768
  . 8216) (771 . 8217))
However, each of them encountered characters it couldn't encode:
  undecided-unix cannot encode these: ' '
  iso-latin-1-unix cannot encode these: ' '

Click on a character (or switch to this window by 'C-x o'
and select the characters by RET) to jump to the place it appears,
where 'C-u C-x =3D' will give information about it.

Select one of the safe coding systems listed below,
or cancel the writing with C-g and edit the buffer
   to remove or modify the problematic characters,
or specify any other coding system (and risk losing
   the problematic characters).

  gb2312 shift_jis iso-2022-jp big5 utf-8 euc-kr euc-jis-2004 euc-jp
  euc-tw windows-1256 windows-1258 cp874 iso-2022-jp-2004 windows-1255
  cp869 windows-1253 iso-8859-7 adobe-standard-encoding macintosh
  windows-1257 windows-1254 windows-1252 windows-1250 windows-1251
  koi8-t gb18030 gbk big5-hkscs hz-gb-2312 utf-7 utf-16
  utf-16be-with-signature utf-16le-with-signature utf-16be utf-16le
  iso-2022-7bit utf-8-auto utf-8-with-signature eucjp-ms utf-8-hfs
  georgian-academy georgian-ps korean-cp949 japanese-shift-jis-2004
  japanese-iso-7bit-1978-irv japanese-cp932 pt154
  cyrillic-alternativnyj utf-7-imap utf-8-emacs prefer-utf-8




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 12 Jun 2018 23:39:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 12 19:39:14 2018
Received: from localhost ([127.0.0.1]:45521 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fSssc-0007eZ-8n
	for submit <at> debbugs.gnu.org; Tue, 12 Jun 2018 19:39:14 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:38372)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fSssa-0007eM-IP
 for 31807 <at> debbugs.gnu.org; Tue, 12 Jun 2018 19:39:12 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5CNaqSj178112
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:39:06 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=huZ+lw818TWOBA+tta3sUmWxXcoBPP8fp3KwejcZIBM=;
 b=Xd+hPGpjIp+9juV5qXgQ+FWt4Fs01x4JgtSaNnUYtAYPP6cz2uwt9F9yXqGG93DJ4YPS
 o/J/avafFh+lw6pxZ1QvOztkoF+O9fIvavJegaMawryiIMz68abRqB4iOac//IbaXHmH
 D7AoDe/oJxEU9/dyTcI8DfVWpWky4zWYpPB+LzVUlhTiz4CS8XPetfWIby2Q8g2iPCV9
 x//FOmbDsXueak9gKmgbCEAd6qnz9mDXS0UuIbkldBVvKQcoG58HILC9yAhwZ2JKwcVu
 okFU+1hE8I4sxnhcTuJMSDx7SsssupaHNyAK79LR/7HNdiSJsjvbhUAzLJfT9gUxbEjc AA== 
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234])
 by aserp2120.oracle.com with ESMTP id 2jjp6br7sp-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:39:06 +0000
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5CNd6qb012878
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:39:06 GMT
Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13])
 by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5CNd5kG011225
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:39:06 GMT
MIME-Version: 1.0
Message-ID: <08a478b6-1819-4bef-8165-2fb2c2e162eb@default>
Date: Tue, 12 Jun 2018 16:39:02 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: 31807 <at> debbugs.gnu.org
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
 <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
In-Reply-To: <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8922
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=13
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=884
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806120261
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> (setq nodename  (format "Index for '%s'" apropos-regexp))

Ouch!  Bitten by the crazy-quote monster.  Couldn't even save
the file I wrote it in - asked me about possibly saving with
Chinese this or that (in Emacs 27).

Naturally I meant this sane traditional, standard sexp instead:

(setq nodename  (format "Index for `%s'" apropos-regexp))

That's what comes from copy-pasting polluted Emacs code.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at 31807 <at> debbugs.gnu.org:


Received: (at 31807) by debbugs.gnu.org; 12 Jun 2018 23:21:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 12 19:21:33 2018
Received: from localhost ([127.0.0.1]:45514 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fSsbV-0007GV-L7
	for submit <at> debbugs.gnu.org; Tue, 12 Jun 2018 19:21:33 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:56772)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fSsbT-0007GH-H3
 for 31807 <at> debbugs.gnu.org; Tue, 12 Jun 2018 19:21:31 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5CNKmjP168801
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:21:25 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=yTykuNtCaDMBemcMZXlcQhGLPftUrKCDyRfhZ9dZ95A=;
 b=M2/S13DWiyEi+x/cxX0dBU7wiDonyQXX9Gyp6ShA+dG0qDuuOog4s/bRDlpGFpA2MjUr
 dlOwHdPsiGLmZKOVOSwMW9mumuoI1kU5NNoNcgHY2CQBJKKb3LULRa7VqaWwhWAM4i8b
 QUIZ3eWKZUMl68g5+EZstVSTLfLDlJ0ekp89Z5AEvPi/PpGP+1381CkqoX9sWhXmVQl9
 doYC0BqbXc7JQnqai0RBwHxw53q/eI2tjv/2e7qf3Xr16sRS/y+VoZaqOgPIHDtDRzRV
 T68302pQR+gjKsRillAHbCL2pt0dTGG7YdYDAnpzqrI0V8JLkYxncRIDoY/eulyO6aX9 1g== 
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])
 by aserp2120.oracle.com with ESMTP id 2jjp6br6r6-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:21:25 +0000
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5CNLOtL004673
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:21:24 GMT
Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13])
 by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5CNLN7U001241
 for <31807 <at> debbugs.gnu.org>; Tue, 12 Jun 2018 23:21:24 GMT
MIME-Version: 1.0
Message-ID: <f60cb4bd-20c8-493e-ab65-9dd281851a6f@default>
Date: Tue, 12 Jun 2018 16:21:22 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: 31807 <at> debbugs.gnu.org
Subject: RE: bug#31807: 27.0; `info-apropos' bad name or bad matching
References: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
In-Reply-To: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8922
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=13
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806120258
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31807
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

I threw this together quickly, as a POC.  It does the job, but
probably we can do even better.  (The doc string would at least
need to be beefed up, to describe the input and search behavior.)

(defun info-apropos (pattern)
  "Grovel indices of all known Info files on your system for apropos PATTER=
N.
Build a menu of the possible matches."
  (interactive (list (apropos-read-pattern "index entries")))
  (apropos-parse-pattern pattern)
  (if (equal apropos-regexp "")
      (Info-find-node Info-apropos-file "Top")
    (let ((nodes  Info-apropos-nodes)
          nodename)
      (while (and nodes  (not (string-match apropos-regexp (nth 1 (car node=
s)))))
        (setq nodes  (cdr nodes)))
      (if nodes
          (Info-find-node Info-apropos-file (caar nodes))
        (setq nodename  (format "Index for '%s'" apropos-regexp))
        (push (list nodename apropos-regexp (Info-apropos-matches apropos-r=
egexp))
              Info-apropos-nodes)
        (Info-find-node Info-apropos-file nodename)))))

BTW, should the name be `Info-apropos' or `info-apropos'?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Jun 2018 23:01:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 12 19:01:58 2018
Received: from localhost ([127.0.0.1]:45504 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fSsIX-0006fU-OI
	for submit <at> debbugs.gnu.org; Tue, 12 Jun 2018 19:01:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56820)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fSsIV-0006ZB-F5
 for submit <at> debbugs.gnu.org; Tue, 12 Jun 2018 19:01:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1fSsIP-0001ti-9R
 for submit <at> debbugs.gnu.org; Tue, 12 Jun 2018 19:01:50 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:43312)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1fSsIP-0001tc-5T
 for submit <at> debbugs.gnu.org; Tue, 12 Jun 2018 19:01:49 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47782)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1fSsIN-0007Pu-IF
 for bug-gnu-emacs@HIDDEN; Tue, 12 Jun 2018 19:01:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1fSsII-0001rf-Lp
 for bug-gnu-emacs@HIDDEN; Tue, 12 Jun 2018 19:01:47 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:42052)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1fSsII-0001rT-BT
 for bug-gnu-emacs@HIDDEN; Tue, 12 Jun 2018 19:01:42 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5CN0uSw157445
 for <bug-gnu-emacs@HIDDEN>; Tue, 12 Jun 2018 23:01:40 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : content-type :
 content-transfer-encoding; s=corp-2017-10-26;
 bh=YhxePaWrWDz3ZIhVwj7UlNeSNnuHgyyD0m+6aejM5ls=;
 b=ERhzddSo43D48hAjgMVR2GwjbBH8g2AJbqvCmnazilyjsSjjnV5jwZtdWAHPYg/Hjc9S
 f6pZpFhFx8kpxxeseP9YnH9wHEXRE+ZFbRODLyICuvPWLlHoylSzeht/Da0jE0SbB7WT
 F2z6L5Wtcl+KHwEoXe/zcp/rshG9N8wAYMLKhb7YJDc4IVdZimtV/mTNYF5fLNe8rWMj
 0M3M1EAKmX2Q5UUWBqZdHJyAaddBl7j7dJa1a4lQ8tgfAHMRUUysWRzlMkXM9C5xPltE
 JGSRQjDX4bOdDitfhXyrGGHSbwDCRBqrIVbP648WTpI5aA30R2wbfHle6wFWSRBSAlGa QA== 
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234])
 by aserp2120.oracle.com with ESMTP id 2jjp6br5kx-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Tue, 12 Jun 2018 23:01:40 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5CN1ddE008644
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Tue, 12 Jun 2018 23:01:40 GMT
Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5CN1dN1007684
 for <bug-gnu-emacs@HIDDEN>; Tue, 12 Jun 2018 23:01:39 GMT
MIME-Version: 1.0
Message-ID: <78156de2-86c8-4593-92b5-59edf7a8996e@default>
Date: Tue, 12 Jun 2018 16:01:37 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0; `info-apropos' bad name or bad matching
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8922
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806120255
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

See https://emacs.stackexchange.com/q/41993/105.

`info-apropos', as its doc string says, apparently does NOT do "apropos"
matching, i.e., regexp and keyword matching.  It apparently does literal
string matching against index entries in all of the manuals.

Perhaps either the name should be changed (to not use the word
"apropos") or the behavior should be changed, to allow apropos matching.

In GNU Emacs 27.0.50 (build 3, x86_64-w64-mingw32)
 of 2018-03-21
Repository revision: e70d0c9e66d7a8609450b2889869d16aeb0363b5
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --without-dbus --host=3Dx86_64-w64-mingw32
 --without-compress-install -C 'CFLAGS=3D-O2 -static -g3''




Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#31807; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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