From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65805: 30.0.50; quoted-insert doesn't work in zap-to-char Date: Thu, 07 Sep 2023 18:07:46 +0300 Message-ID: <834jk6yqbh.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11123"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65805@debbugs.gnu.org To: Filipp Gunbin , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 07 17:09:16 2023 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 1qeGd9-0002cz-Nn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Sep 2023 17:09:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeGcz-00045b-0d; Thu, 07 Sep 2023 11:09:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeGcv-000451-IO for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 11:09:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeGcu-0003AA-I8 for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 11:09:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeGcw-0001q6-7h for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 11:09: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: Thu, 07 Sep 2023 15:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65805 X-GNU-PR-Package: emacs Original-Received: via spool by 65805-submit@debbugs.gnu.org id=B65805.16940992896998 (code B ref 65805); Thu, 07 Sep 2023 15:09:02 +0000 Original-Received: (at 65805) by debbugs.gnu.org; 7 Sep 2023 15:08:09 +0000 Original-Received: from localhost ([127.0.0.1]:40926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeGc4-0001oo-P1 for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:08:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeGc2-0001o9-CM for 65805@debbugs.gnu.org; Thu, 07 Sep 2023 11:08:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeGbu-0002Uy-Lo; Thu, 07 Sep 2023 11:07:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=sEtGlWc2h4ixM5yjq/Tn/o7HmghObrWtnGTRTSrbT9c=; b=QYkRrkhTcU7F ttJUZas5O+uMTQ2Y8SE3JH+Ygx10C8GhzSAUNzpW8yMbdXIjvCkMg1QzJ4dOTCq9mqlhmCWZ1IHQt ge+YfYBaB1Hxmd5Q6AZ0hCN+4nroCu+xGtFOBtwW83v0gOx1Irg2xFGUcNneLg/SEzjMzFZ9wDMGs xqtw1tbeXQXmXAshNQr+JKxhvzaqJNTp/ayByJxp/Plh1Yr/HUeoqnAeGoOZVoNgU3OIcVzc0OPg7 OjCfGuCDJHilCBg/EIS3Ot2BCW0kjbHzKnWGxzECyP6/j34hxSSPCMMjPICpKVrV3yqSxX3LJda7v P2I8favfzv378xFqAHfClw==; In-Reply-To: (message from Filipp Gunbin on Thu, 07 Sep 2023 17:53:33 +0300) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269675 Archived-At: > From: Filipp Gunbin > Date: Thu, 07 Sep 2023 17:53:33 +0300 > > Hi, I'm not sure this should be treated as bug (and can be fixed), but > still I find it inconvenient. > > - emacs -Q > - Open new buffer in text mode > - Type "foo C-q C-i bar" > - Now, with point at "foo", isearch for tab character works: "C-s C-q C-i" > - But zap-to-char doesn't: "M-z C-q C-i RET" displays "Wrong answer" That's because we switched to using read-from-minibuffer (via read-char-from-minibuffer) instead of using read-char, for the dubious benefit of being able to use history in this command, see bug#10477. And read-from-minibuffer interprets some characters specially. Stefan, is there a way to have this cake and eat it, too?