From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#19924: 24.4; incremental search for octal character Date: Mon, 21 Feb 2022 17:15:09 +0100 Message-ID: <87a6ekgprm.fsf@gnus.org> References: <87r3thep3z.fsf@eecs.utk.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16563"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 19924@debbugs.gnu.org To: vose@eecs.utk.edu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 21 17:33:14 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMBcf-00044S-Ql for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 17:33:13 +0100 Original-Received: from localhost ([::1]:50110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMBce-00019J-MV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 11:33:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMBM2-00057B-C6 for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 11:16:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMBM2-0005YO-1T for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 11:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMBM1-0004qd-QV for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 11:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Feb 2022 16:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19924 X-GNU-PR-Package: emacs Original-Received: via spool by 19924-submit@debbugs.gnu.org id=B19924.164546012416250 (code B ref 19924); Mon, 21 Feb 2022 16:16:01 +0000 Original-Received: (at 19924) by debbugs.gnu.org; 21 Feb 2022 16:15:24 +0000 Original-Received: from localhost ([127.0.0.1]:38741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMBLP-0004Dk-NQ for submit@debbugs.gnu.org; Mon, 21 Feb 2022 11:15:23 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:40738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMBLM-00044f-R8 for 19924@debbugs.gnu.org; Mon, 21 Feb 2022 11:15:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=DohTvH520O0wgwokDhQ217VgtU5fhylZ5S71VtRd22U=; b=u0Y2vEAQ2FwiY8VZYjyuGV+IDg BbrKlRaiqAzHCWhoOzbGIIJmCngqi2nY3LJjsD54LNK6lKWIP8rvx+Ef0RgzgTo6GI6cEsZdOIGkC mUEKeq+rlcQGOkcLwf/36wZ1z4hnzVWN2veuCuAiHwmVAbICvvxucoSTztfae0TnrqOY=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMBLD-0000zp-1P; Mon, 21 Feb 2022 17:15:14 +0100 X-Now-Playing: Bobbie Gentry's _The Girl From Chickasaw County (6): Fancy_: "Apartment 21 (Without Strings)" In-Reply-To: <87r3thep3z.fsf@eecs.utk.edu> (vose@eecs.utk.edu's message of "Sun, 22 Feb 2015 14:13:36 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227363 Archived-At: vose@eecs.utk.edu writes: > TWO (2) problems; for both I follow the GNU Emacs manual from > "https://www.gnu.org/software/emacs/manual/emacs.html" > > PROBLEM 1: The following is quoted from page 91: > > "To search for non-ASCII characters, use one of the following methods: > =E2=80=A2 Type C-q, followed by a non-graphic character or a sequence of = octal > digits." > > In my case I typed C-q, followed by 213 and then return (the enter key). > Rather than searching, the octal character \213 is inserted into the > file. > > PROBLEM 2: Vose conjectured that the manual was simply mistaken, and > should have said something closer to: To search for an octal character, > type C-s C-q, followed by a sequence of octal digits. (I'm going through old bug reports that unfortunately weren't resolved at the time.) Yes, that's what the manual means. The section starts with "In addition to characters described in the previous subsections, some of the other characters you type during incremental search have special effects." and all the keys described are during incremental search. But I've clarified this in the Emacs 29 manual > In my case I typed C-s C-q, followed by 213 and then return (the enter > key). Rather than searching, the message "Failing I-search: \213" was > displayed (see attached screen shot). Yes -- you probably didn't have that byte in the buffer? For instance, having this character in the buffer: =C2=AE And then C-s C-q 2 5 6 RET works fine for me (at least in Emacs 29). So it seems like things are working as designed here, and I'm therefore closing this bug report. If I misunderstood what the problem was about, please respond to the debbugs address and we'll reopen. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no