From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#19468: 25.0.50; UI inconveniences with M-. Date: Sat, 2 May 2015 15:01:59 +0300 Message-ID: <5544BCB7.8010702@yandex.ru> References: <83zja6b3tc.fsf@gnu.org> <54A24079.4020902@yandex.ru> <54A2FF47.6010207@yandex.ru> <54A86135.7080004@yandex.ru> <54A90002.7080009@gmx.at> <54A9C3FB.7000602@yandex.ru> <54AA3881.3080304@gmx.at> <54ABBB47.7010603@yandex.ru> <837fszx7iy.fsf@gnu.org> <83pp6pwqnw.fsf@gnu.org> <553EB74A.4030208@yandex.ru> <83bni8wbin.fsf@gnu.org> <554009A5.5020001@yandex.ru> <83wq0vszof.fsf@gnu.org> <55411842.1020102@yandex.ru> <83a8xqu80z.fsf@gnu.org> <55441587.6050004@yandex.ru> <837fsrqwsh.fsf@gnu.org> <5544A2EE.1010507@yandex.ru> <83oam3p6ux.fsf@gnu.org> 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 1430568201 11262 80.91.229.3 (2 May 2015 12:03:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 May 2015 12:03:21 +0000 (UTC) Cc: 19468@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 02 14:03:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1YoW8U-0003Gt-UJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 May 2015 14:03:11 +0200 Original-Received: from localhost ([::1]:56834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoW8T-0008F5-V6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 May 2015 08:03:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoW8Q-0008Ep-4f for bug-gnu-emacs@gnu.org; Sat, 02 May 2015 08:03:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoW8M-0007SA-QW for bug-gnu-emacs@gnu.org; Sat, 02 May 2015 08:03:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoW8M-0007RZ-MC for bug-gnu-emacs@gnu.org; Sat, 02 May 2015 08:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YoW8M-0002eh-79 for bug-gnu-emacs@gnu.org; Sat, 02 May 2015 08:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 May 2015 12:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19468 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19468-submit@debbugs.gnu.org id=B19468.143056813010143 (code B ref 19468); Sat, 02 May 2015 12:03:02 +0000 Original-Received: (at 19468) by debbugs.gnu.org; 2 May 2015 12:02:10 +0000 Original-Received: from localhost ([127.0.0.1]:59162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoW7V-0002dW-UY for submit@debbugs.gnu.org; Sat, 02 May 2015 08:02:10 -0400 Original-Received: from mail-wg0-f44.google.com ([74.125.82.44]:36820) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoW7T-0002d9-FE for 19468@debbugs.gnu.org; Sat, 02 May 2015 08:02:08 -0400 Original-Received: by wgen6 with SMTP id n6so111015509wge.3 for <19468@debbugs.gnu.org>; Sat, 02 May 2015 05:02:01 -0700 (PDT) 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=Vh0VLLGoK6VZD+A0xFsAp7HppFSQl61uT3E0xYyBtOU=; b=VrJXR/2RxLeASscMA56L5YZNyxKe/gxAfNs0t53+t/x6Io0g3Cn/Lmombdy8ehIxxN 7mkj/kNRvy/ixE6b59t6J8kz75ZYrzJbupuuoTTVCG9I3dMDxcnJCUpsnULM9ratx1Oq HqqJISp69vo1fsYyeeq9n8eUhzqy+xm3H3tTKKtkdJQLJHWaifzF/tVQF2I3N8bMrbJ7 GR++eywQK+7FDQyZ3YEzxzmqIwfJzCz/k2No+UuEqX6wpWpwq+paZaH8BwSO0j1C0Keg 7adsQZGv1GQ8C+intDH5xuX0Q5kSwJVmEC9/0QnAFAAKXZlLD177V3RN9RNWvDnNX/NZ +qDQ== X-Received: by 10.194.97.196 with SMTP id ec4mr23015685wjb.3.1430568121824; Sat, 02 May 2015 05:02:01 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id k2sm2128160wif.3.2015.05.02.05.02.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 May 2015 05:02:01 -0700 (PDT) user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 in-reply-to: <83oam3p6ux.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102370 Archived-At: On 05/02/2015 02:16 PM, Eli Zaretskii wrote: > It did, so that's not the problem. Hmm, it worked for me after that. > I don't understand this new prompt, it says: > > In directory: /patch/to/emacs/trunk/src/ > > What does it ask about? (I just pressed RET, since the directory > sounds correct.) "[Search for references] in directory". Should the first three words be spelled out as well? > I tried both, and got the same results. So this is not the reason; > there's something else at work here. I simply run mkid, without arguments, in ~/vc/emacs/src. > [Time passes] Ah, I see the reason: Some code that uses ID Utils > expects the file names in the ID database to be absolute. So if I > create the ID database like this: > > mkid -o ID /path/to/emacs/src > > then the feature starts working. It works fine for me either way (whether called on /path/..., or .), using mkid 4.6, on GNU/Linux. Could it be a misfeature of the Windows port? > I think it should support relative names as well, by expanding them > relative to the directory in which the ID database was found. And in > any case, claiming it found no references instead of saying something > about finding no files whose names were returned by ID Utils is a less > than useful error message, IMO. ID Utils is used through several levels of indirection. xref can't be aware of it. I guess we could output some additional message in xref-collect-references though (patch welcome).