From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: tags Date: Thu, 20 Jun 2019 14:00:06 +0200 Message-ID: References: <831rzvvsgp.fsf@gnu.org> <83y322vqvg.fsf@gnu.org> <83v9x6vpap.fsf@gnu.org> <52332265-2d02-a01c-e221-20b00b1edf86@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109150"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 20 14:23:05 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdw5p-000SGu-6Q for ged-emacs-devel@m.gmane.org; Thu, 20 Jun 2019 14:23:05 +0200 Original-Received: from localhost ([::1]:47266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdw5o-0004cN-3L for ged-emacs-devel@m.gmane.org; Thu, 20 Jun 2019 08:23:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33287) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdw2o-000194-Ku for emacs-devel@gnu.org; Thu, 20 Jun 2019 08:20:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdvra-0004aW-Pq for emacs-devel@gnu.org; Thu, 20 Jun 2019 08:10:10 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:41266) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdvra-0004YB-K0 for emacs-devel@gnu.org; Thu, 20 Jun 2019 08:08:22 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdvjb-0006aN-BI; Thu, 20 Jun 2019 14:00:16 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEX+Mf78Kvj8Jvj6IfV1 CTz7HvX8Rvn+NP7+LfrgGsQAIYEEAAACaUlEQVQ4jV2UQU8bMRCFhzbS7t6Aoja5ul1pc6MRB3Lr Ckvg64qtekSVMD1u1Ta+JgsC55YQI+p/2ze2SYERCt755j1PvOOQQDRClPhrRfjftm3ZWNL6Tdvw U9k2JWCMAPZ59V5rfbWn9Z+QF01P3j/wUt9qfWH17fey/Yoa/YOmflLCSs+gALhM4ILS5rdstdD6 sm2/3RlzYQJAM02D/XnVirZpmsomABEId1tyu0JUTyCwMqjQtRD2GRDCI8KH94cvgJNSTpTkSKD6 D0TIy10Sdgzl/Qsrx1YLpzwqI+lFtfSb6cb7XXJKetZO+l5YxFKpuLmLnlJZW1l7vRgOJ3Z/NyOS T3HWAyxjsysyJBWcuMUza3Nb8MYReJ/MJoQYSMmPp52hezw6lhwzKLwfQfFoDMU69trwsgsJA2Ao o9/RbLqJ+S4LADEIxieFQrLrQooB0Q6snFy9rdmEuN5oLCF3KijkKkt5LjcgoeOTm43ijbdWpjMH 0r9TIzlSj6keVsZkWedqi4a+oO2UDsCYX+7UZB2pg3UCJoHC1ZCRc/nflL8CyEw38qrDQR+tivpJ EBXDY8VnU8zz9d1z0O15R/GgstTVTPP3+fnZF2scGSL7sAWsuJbrmthsoO5edGWW6znX77ga3zYB Qp+UTzmfO7k2aZtZejPj8PqcOkyvKbwoojkdHc8pX8g6VIUDDhZE5xirOY6dtoSsjfOHjxtl0UM+ DwTTjjmzHyeYW6fCkG4BLkG8BpjsyooAyDy7OGOJ29tbTOor8IlBBbG1ySrFuYpXxL4GjkHVV70N UyTibxHiSPIt7lEPwewfz0hKAVutoIUAAAAASUVORK5CYII= In-Reply-To: (Lars Ingebrigtsen's message of "Wed, 19 Jun 2019 15:18:49 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:237951 Archived-At: Lars Ingebrigtsen 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