From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: tags-loop-continue Date: Thu, 14 Jan 2016 03:41:01 +0300 Message-ID: <5696EE9D.2090708@yandex.ru> References: <83wprimto9.fsf@gnu.org> <56916C10.6050004@yandex.ru> <83oacumqmj.fsf@gnu.org> <56917246.1010800@yandex.ru> <5691795E.9010008@yandex.ru> <83lh7ym725.fsf@gnu.org> <5691D768.3020908@yandex.ru> <83bn8tmnvq.fsf@gnu.org> <56928356.2000609@yandex.ru> <8360z1mkfc.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1452732074 24285 80.91.229.3 (14 Jan 2016 00:41:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2016 00:41:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 14 01:41:14 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aJVyS-00056l-Ib for ged-emacs-devel@m.gmane.org; Thu, 14 Jan 2016 01:41:12 +0100 Original-Received: from localhost ([::1]:39659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJVyR-0002o1-Ig for ged-emacs-devel@m.gmane.org; Wed, 13 Jan 2016 19:41:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJVyO-0002nv-Gn for emacs-devel@gnu.org; Wed, 13 Jan 2016 19:41:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJVyK-0001al-G9 for emacs-devel@gnu.org; Wed, 13 Jan 2016 19:41:08 -0500 Original-Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:33549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJVyK-0001ag-8z; Wed, 13 Jan 2016 19:41:04 -0500 Original-Received: by mail-lf0-x230.google.com with SMTP id m198so118940135lfm.0; Wed, 13 Jan 2016 16:41:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=2mj/SzjnUBZ8RRgyxZN09ipOMmcTkDbdyLi31v0ZMoY=; b=0uM7u84x+kUvRfsn2WsdCgJz5YaCcJTywJDzqbvZ74K74FX73LeSw0hyfCAX5HD3oT 1cfS3LqRWX2HHsshjMapapWoOFBc+WZzgGzkPvLEayffWIrqVCU1v3tMcfOZUzuXZ+a+ vn2DDoOZS+eNJ/tEWK7L1ND/wDAu8XaKWYRmbErod90nIWSJl4NM9qCr9Lee1hYGnxON tuUNE7YeDnVljCFfQPXjmctcwJfQJcSJznhcsZV1R+3y9b5cL86rAvpTL3XsUpxZrqIo DSRlM5Pw2wC5aT2X/MSt32MzBXHp0np6VqGxtrYpsDKjUSpeGb7btFQZS/Ux06oKOGGb bWdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=2mj/SzjnUBZ8RRgyxZN09ipOMmcTkDbdyLi31v0ZMoY=; b=mKihvFV/bskk2F6qqbmmc523vYWsxmvgS8q8oRInxfxGvzTNuwJ0xNOcUfW3n14BwP i6339gwiEHQxLGDT36OSIsGyJ+tqOox4jfQgqHpNLIxKLQA0EGcf0DV1RMk3Wtb3eb4P XOpfAN+sxgX7IynLplAnM1DW1m05CwT7m32Mq0pmp6LVv04WWZb/pBRXe3X6ZHlGMXtW s84K+hFeRbHfCgfTz8aGRPIs/IcZSKwKkdy6RnKjef3qB7O7xUr7UOGAw4aS7Cbyd2YI iq/eG+4AyXm/Qr9n7fXyhdnBqJ475hg0RWI6ux2VA4T30hjz5AaPUxmK32V2MmJKnGWI oABQ== X-Gm-Message-State: ALoCoQlDnc5KYXaOWFXUUKrLdg10Dmk8wvSQ6r3/MROQkdLQivZYCiGdFYtOuyw8RT76VIAyYT99LP6UKruaaGERPBKDCqOdrw== X-Received: by 10.25.15.23 with SMTP id e23mr394616lfi.49.1452732063278; Wed, 13 Jan 2016 16:41:03 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id d18sm474723lfb.1.2016.01.13.16.41.01 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jan 2016 16:41:02 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Thunderbird/43.0 In-Reply-To: <8360z1mkfc.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198117 Archived-At: On 01/10/2016 08:08 PM, Eli Zaretskii wrote: >> Because tags-query-replace uses a special keymap, we can bind >> tags-loop-continue to M-, in it. _Maybe_ we can similarly use a new >> keymap during tags-search's execution. >> >> If you think it's a good idea, I can look into it. > > I think it should be okay, thanks. As long as the command is > interactive, it can always be rebound, if users so want. Sorry, this is a bust. The way tags-loop-continue is used, to continue execution after a user pressed C-g to quit tags-query-replace, makes it not suitable for a binding inside query-replace-map. A lot of etags.el is written using global state of some kind, which is another reason I think it will be good to have a replacement for it. So, I propose two options: - Un-obsolete the command, but keep it without binding (now done in emacs-25). Since it's not used too often, no binding makes some sense, and users can choose their own bindings. - Also bind it to M-*. Pro: users will have something to press right away. Cons: the change in binding is still confusing, and hopefully we'll reimplement all these workflows in a different ways soon, thus making tags-loop-continue binding even less necessary.