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: Mon, 18 Jan 2016 05:28:26 +0300 Message-ID: <569C4DCA.8070509@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> <5696EE9D.2090708@yandex.ru> <838u3si22k.fsf@gnu.org> <569C41C0.2030200@yandex.ru> 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 1453084122 19238 80.91.229.3 (18 Jan 2016 02:28:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jan 2016 02:28:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 18 03:28:37 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 1aKzYa-0006dS-Em for ged-emacs-devel@m.gmane.org; Mon, 18 Jan 2016 03:28:36 +0100 Original-Received: from localhost ([::1]:56496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKzYZ-0007zJ-Pk for ged-emacs-devel@m.gmane.org; Sun, 17 Jan 2016 21:28:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKzYV-0007vH-KU for emacs-devel@gnu.org; Sun, 17 Jan 2016 21:28:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKzYS-0006tJ-BK for emacs-devel@gnu.org; Sun, 17 Jan 2016 21:28:31 -0500 Original-Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]:34327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKzYS-0006sy-3q for emacs-devel@gnu.org; Sun, 17 Jan 2016 21:28:28 -0500 Original-Received: by mail-lf0-x22a.google.com with SMTP id 17so108813842lfz.1 for ; Sun, 17 Jan 2016 18:28:27 -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=9+KanCV93C72PwsLMxBmAKn92d+ZdmflTqzGA30xdZ8=; b=Qno1VRl/rk769HL6ub0AX475sTpFGtc2G5AhR9FysulTFliYi9WQDHTONmh3D1X30x FC6QAw/Pkzu9TTGuh2V3RQo2nUh6TnsxGZDAXbQ63JuKoR3b2IAtqJkQPt7f29nn+ZaW GVlKj9+7pEESmdIs65FPpcSOXfPNHMWtBUbcweYXKe6ax1OogXC4sh7sUkn4o4LASxvv RqHDXD8O2OeyDFr4ikSkz5uDtjmXdyTzqqQ0pV6/b5S9btSMa+OujP16c8sdx99NIs1q Qc5Mh9Mf8zRit0KJ2JsIUhjkd3GaxgL+epgYxUnFoPMrMPs6gsP5pfexeztaZLyTWyxO P/+w== 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=9+KanCV93C72PwsLMxBmAKn92d+ZdmflTqzGA30xdZ8=; b=C128WfUFPjOVHVA/wa5UlHANe0PcFeg1prnyEVNevuCOmCHu2isScclhVnmlgY4nXz esVzF8KbamPTUbAaYeE1BJSZDag6qd60c6Mf8wD+F9euc7/W3Tbht0Fr3xM7koKGNevP g2T3NblnGWbXZ0vI0mNkojYQKaTUs4MEyVDU+xCgwsAduDyy0uRA3INISgIfIOgpSxUr MydNrgRazHxYXiwLG9OoVS+PmVNTSj374s0PFuBqB06bBtLXSeTDGwfFzuv/dvWT0GpH DrIAJzmMVI6yPmGGf4soqPGF2oWLVxtnxQsnvzN4ceofAjDObIyV34a1RVm6lkAWQezi LO1w== X-Gm-Message-State: ALoCoQkZ6xh0Emfv3D1JEB7Lca+QRYAQ+IVDbemkxop/HFqWKlAL8oyKmAmnbRG/D+ncvu8D4m9nWSFuJ4mAxSc/IIWJIPL+kg== X-Received: by 10.25.21.40 with SMTP id l40mr6161797lfi.123.1453084107415; Sun, 17 Jan 2016 18:28:27 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id l204sm2916950lfg.49.2016.01.17.18.28.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jan 2016 18:28:26 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Thunderbird/43.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22a 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:198230 Archived-At: On 01/18/2016 05:20 AM, Stefan Monnier wrote: > Couldn't we have a global boolean var (call it `M-,-should-use-xref') > and then set it to t whenever an xref command is used, and set it to nil > whenever a command that could interact with etags-loop-continue is used? It will be a mess, if you ask me. The idea behind using tags-loop-continue is that the user can call tags-search, get to the first match, mess around in whatever way she wants there, then call tags-loop-continue to advance to the second match, and so on. There's no reason to assume that "messing around" won't include calling some xref command. And then tags-loop-continue will be broken.