[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tags-loop-continue

From: Dmitry Gutov
Subject: Re: tags-loop-continue
Date: Mon, 18 Jan 2016 05:28:26 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Thunderbird/43.0

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]