From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Let's make C-M-w in isearch yank symbol, not delete character Date: Mon, 05 Mar 2018 05:31:11 +0200 Message-ID: <83bmg3tczk.fsf@gnu.org> References: <87po4slrg4.fsf@mail.linkov.net> <831sh82zyf.fsf@gnu.org> <87h8q2w29i.fsf@mail.linkov.net> <83tvu1zsru.fsf@gnu.org> <87tvtzjvh4.fsf@mail.linkov.net> <83tvtyx55a.fsf@gnu.org> <87efl0pz4d.fsf@mail.linkov.net> <83o9k3u9ku.fsf@gnu.org> <87371f34m6.fsf@mail.linkov.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1520220578 6795 195.159.176.226 (5 Mar 2018 03:29:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Mar 2018 03:29:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 05 04:29:34 2018 Return-path: Envelope-to: ged-emacs-devel@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 1esgod-0000Rl-AA for ged-emacs-devel@m.gmane.org; Mon, 05 Mar 2018 04:29:31 +0100 Original-Received: from localhost ([::1]:46945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esgqe-0007oK-52 for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2018 22:31:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esgqX-0007o5-In for emacs-devel@gnu.org; Sun, 04 Mar 2018 22:31:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esgqU-0001EW-EY for emacs-devel@gnu.org; Sun, 04 Mar 2018 22:31:29 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esgqU-0001EJ-Aw; Sun, 04 Mar 2018 22:31:26 -0500 Original-Received: from [176.228.60.248] (port=3983 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1esgqT-0004Gq-J1; Sun, 04 Mar 2018 22:31:26 -0500 In-reply-to: <87371f34m6.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 04 Mar 2018 23:36:33 +0200) 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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:223272 Archived-At: > From: Juri Linkov > Cc: emacs-devel@gnu.org > Date: Sun, 04 Mar 2018 23:36:33 +0200 > > > Typing "C-s foo C-a" produces "foo^A" in the search string here, so I > > think the manual is accurate, whereas the comment is wrong. Are you > > saying that you don't see control characters being appended literally, > > under this option? > > But point jumps to the beginning of the line Not here, it doesn't. If it jumps for you, there's something we do differently. > So actually it does both: appends control characters and runs the > command, and doing both makes no sense. Then maybe we should create two > separate options for search-exit-option: one to run the command > and another to append control characters. Why does it make sense to run the command? > When typing them with search-exit-option customized to nil, I see > such errors in *Messages* > > Error in pre-command-hook (isearch-pre-command-hook): > (wrong-type-argument characterp right) > > Error in pre-command-hook (isearch-pre-command-hook): > (wrong-type-argument characterp 134217830) That's a bug that needs to be fixed, I think.