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: Sun, 04 Mar 2018 17:47:13 +0200 Message-ID: <83o9k3u9ku.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> 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 1520178338 19535 195.159.176.226 (4 Mar 2018 15:45:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Mar 2018 15:45:38 +0000 (UTC) Cc: dancol@dancol.org, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 04 16:45: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 1esVpN-0004UX-WB for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2018 16:45:34 +0100 Original-Received: from localhost ([::1]:45273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esVrQ-00010F-BP for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2018 10:47:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esVrJ-0000zz-2o for emacs-devel@gnu.org; Sun, 04 Mar 2018 10:47:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esVrG-0005dy-0i for emacs-devel@gnu.org; Sun, 04 Mar 2018 10:47:33 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esVrF-0005du-TZ; Sun, 04 Mar 2018 10:47:29 -0500 Original-Received: from [176.228.60.248] (port=3132 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1esVrE-00044m-Qg; Sun, 04 Mar 2018 10:47:29 -0500 In-reply-to: <87efl0pz4d.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 04 Mar 2018 00:34:27 +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:223258 Archived-At: > From: Juri Linkov > Cc: dancol@dancol.org, emacs-devel@gnu.org > Date: Sun, 04 Mar 2018 00:34:27 +0200 > > Done with documentation updates in the manual. Thanks, but I guess you forgot to attach the patch? > Also I noticed that the > value nil of search-exit-option is quite broken: it doesn't do anything > useful. The manual says: > > "However, if you customize the variable ‘search-exit-option’ to ‘nil’, > the characters which you type that are not interpreted by the > incremental search are simply appended to the search string. This is > so you could include in the search string control characters, such as > ‘C-a’, that would normally exit the search and invoke the command > bound to them on the buffer." > > But the comment in isearch-pre-command-hook says: > > ;; If search-exit-option is nil, run the command without exiting Isearch. > > So it's not clear what it should do for e.g. motion commands: > just move point without exiting Isearch or append control characters > of motion keys to the search string? 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?