From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31231: Symbol search broken in NEWS and ChangeLogs Date: Mon, 23 Apr 2018 05:32:41 +0300 Message-ID: <83sh7mwt2u.fsf@gnu.org> References: <87604kqpji.fsf@mail.linkov.net> <83vacjw4dn.fsf@gnu.org> <87y3he7vn4.fsf@mail.linkov.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1524450751 501 195.159.176.226 (23 Apr 2018 02:32:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2018 02:32:31 +0000 (UTC) Cc: 31231@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 23 04:32:27 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fARHG-0008Ui-9x for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Apr 2018 04:32:26 +0200 Original-Received: from localhost ([::1]:57656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fARJN-0008W1-7a for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Apr 2018 22:34:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fARIs-0008J1-1j for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fARIo-0005W6-UN for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:34:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56657) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fARIo-0005W2-RR for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fARIo-0006mh-Lw for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Apr 2018 02:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31231 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31231-submit@debbugs.gnu.org id=B31231.152445078225981 (code B ref 31231); Mon, 23 Apr 2018 02:34:02 +0000 Original-Received: (at 31231) by debbugs.gnu.org; 23 Apr 2018 02:33:02 +0000 Original-Received: from localhost ([127.0.0.1]:36316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fARHq-0006kz-BP for submit@debbugs.gnu.org; Sun, 22 Apr 2018 22:33:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fARHo-0006kV-SY for 31231@debbugs.gnu.org; Sun, 22 Apr 2018 22:33:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fARHg-000567-IE for 31231@debbugs.gnu.org; Sun, 22 Apr 2018 22:32:55 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fARHg-000560-Eo; Sun, 22 Apr 2018 22:32:52 -0400 Original-Received: from [176.228.60.248] (port=3288 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fARHf-00023w-QC; Sun, 22 Apr 2018 22:32:52 -0400 In-reply-to: <87y3he7vn4.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 23 Apr 2018 01:12:31 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145681 Archived-At: > From: Juri Linkov > Cc: 31231@debbugs.gnu.org > Date: Mon, 23 Apr 2018 01:12:31 +0300 > > >> 2. In these files replace apostrophes by “LEFT SINGLE QUOTATION MARK” and > >> “RIGHT SINGLE QUOTATION MARK” like are used in Info and Help buffers. > > > > Thanks, but I don't like any of these 2 alternatives. The first one > > will get in the way of spell-checking words with an apostrophe, the > > second one will make it harder to view the files on text terminals > > that don't support UTF-8. > > But how these text terminals display Unicode quotes in Info manuals? Info manuals are displayed by an Info reader, and each Info reader has its own solution for this problem (generally, substitution of ASCII characters for undisplayable Unicode ones). I was talking about reading NEWS in a general-purpose text-browsing program, such as Less. It is IMO not a good idea to prevent people from doing that and requiring them to only read NEWS and ChangeLog files in Emacs. > > Is this really such a bad problem that it requires us to tweak > > text-based modes? What happens if you try searching for the symbol as > > a simple string? do you get many false positives? > > Yes, this is a real problem. Now I have a good habit of using > symbol search mode everywhere when searching for symbols. > But the search failure reminds that NEWS and ChangeLogs are still > problematic and I had to try again after switching to literal search. Can you show a real-life example, with a particular symbol, where using a literal search is inconvenient?