[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build: tags
From: |
Lars Ingebrigtsen |
Subject: |
Re: Towards a cleaner build: tags |
Date: |
Thu, 20 Jun 2019 14:00:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Lars Ingebrigtsen <address@hidden> writes:
>>> The latter is fine, but the call for find-tag is with the next-p parameter:
>>>
>>> (if (string= tag "")
>>> (find-tag ex-tag t)
>>> (find-tag-other-window ex-tag))
>>>
>>> How is that done in terms of xref?
>>
>> But what does NEXT-P mean in this context? It's not like there has
>> been a previous invocation of find-tag, was there?
>
> It seems like the logic is that the first time the function is called,
> find-tag-other-window, and the next one it's calling find-tag with
> NEXT-P?
Yes, that seems to be the logic.
But does xref provide a command to jump to the next match without going
back to the *xref* window at all? I looked through the code, and I
couldn't find it...
Oh, it's just `next-error'? Well, that makes sense. I'll just rewrite
the code to be xref-find-tag-other-window/next-error.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Towards a cleaner build: calc.el, (continued)
- Re: Towards a cleaner build: calc.el, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: calc.el, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: calc.el, Stefan Monnier, 2019/06/16
- Re: Towards a cleaner build: calc.el, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: calc.el, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: calc.el, Mattias EngdegÄrd, 2019/06/17
- Re: Towards a cleaner build: select.el, Eli Zaretskii, 2019/06/16
- Re: Towards a cleaner build: select.el, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: tags, Dmitry Gutov, 2019/06/18
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/19
- Re: Towards a cleaner build: tags,
Lars Ingebrigtsen <=
- Re: Towards a cleaner build: tags, Dmitry Gutov, 2019/06/20
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/20
- Re: Towards a cleaner build: tags, Dmitry Gutov, 2019/06/20
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/20
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/15
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/16
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/16