From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: limit length of xref file header line Date: Tue, 21 May 2019 12:47:11 +0300 Message-ID: <4f53197a-0550-856b-db36-25e3a86b6700@yandex.ru> References: <86sgtawcmk.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="128600"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 To: Stephen Leake , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 21 11:47:53 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hT1NA-000XO1-T4 for ged-emacs-devel@m.gmane.org; Tue, 21 May 2019 11:47:53 +0200 Original-Received: from localhost ([127.0.0.1]:50301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT1N9-0001mM-S1 for ged-emacs-devel@m.gmane.org; Tue, 21 May 2019 05:47:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT1N3-0001mE-0g for emacs-devel@gnu.org; Tue, 21 May 2019 05:47:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hT1Mx-0003qB-8v for emacs-devel@gnu.org; Tue, 21 May 2019 05:47:41 -0400 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:33450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hT1Mr-0003T2-JC for emacs-devel@gnu.org; Tue, 21 May 2019 05:47:37 -0400 Original-Received: by mail-wr1-x436.google.com with SMTP id d9so4846117wrx.0 for ; Tue, 21 May 2019 02:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:from:to:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=FqguFf2cjXRJdyvOGsAZ4GIoVD1Dx+M40A4VBoehtBs=; b=VpqhL4bFu/9HMNSVQYg5i06hPMDunA5VPTkoBI52oKKyOyxWGMEEWRXRrdxJtIbfs9 37EPDXi/xLq22db8+u0I5FUcq5/Sj6UVwDYxvzBdMdzyi4/3H3BXW1YuPpUG28+/iZPf sB05ukJlUEUE1KeJEdK50OeoYf5xAHxe3CGtEABlfZR8YlC0Td4jRorkOod63VXbZoii Rv87SODUSSkfPlL6OT5ZwbtfE49U3MQTB0BNuHOmpPOoiCDdYW5VF8sFloXgtyfUFZZt tTlkn4DkTaf/7tim4nlyG013StwoNeqa4UdzzTE+0I+EoWsxVOmyflZIueve/U5KP5Do hBHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:from:to:references:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FqguFf2cjXRJdyvOGsAZ4GIoVD1Dx+M40A4VBoehtBs=; b=J6lvSAltU5JNfvimAkTF+Y6WbI2oswORMI4LRuWdRmSLVq9RfZxJRH9YH8AlxZHqTJ Ww4vjLBBfqLIQJjJke2OCH8dXi0j4JJ1WXMckKaaWUZeKgNZ/AsNoL3v0fqHESJZ4QfF vYgQDbsaR9iYyxHJ1P2xxwA69kdUEGU4ucqXKEIY5qFjbeuz71zr2z/tcAXcrctTy6wN NUZ1xhn7ThwkjR7FfNu748lPVudFa6g29u4hGJ6Esv9wLonrLFbHKM/dhLbiODRfWtJm ZAirnBe7B7+EDmd8R4qcWIoG9VZNg8yxgw7JE3bmFNkK2sBo2O6smhtWt+nyUdbExjjS Cgwg== X-Gm-Message-State: APjAAAUQ/DRVbhC+JJrz3U4IeYaqps8l9IAObd5g0FBEMPRn5nDCRVgk oxDagQG87SuR87RR/dzd3Ok6vggF X-Google-Smtp-Source: APXvYqyl4FNWDUwgTlRv/HWIKA8ChRFqIjnmS73PAnhUtQ6aMDXDCdAO0UgC0vNaehMdwvLzNAwAug== X-Received: by 2002:a5d:4004:: with SMTP id n4mr15964974wrp.240.1558432034885; Tue, 21 May 2019 02:47:14 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id z20sm3065889wmf.14.2019.05.21.02.47.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 02:47:13 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::436 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:236849 Archived-At: On 21.05.2019 4:16, Dmitry Gutov wrote: > Given your Android example, though, here's one thing we can probably do > safely either way: make the file names relative to default-directory. We > should make sure it's set either to the directory that's being searched, > or the project root, though. Um... this might not exactly be trivial, though (xref backends are not associated with a project root, and we can also find-regexp across many project roots). So maybe not. Or only for limited cases.