From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19468: 25.0.50; UI inconveniences with M-. Date: Sat, 02 May 2015 10:10:54 +0300 Message-ID: <837fsrqwsh.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1430550747 21277 80.91.229.3 (2 May 2015 07:12:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 May 2015 07:12:27 +0000 (UTC) Cc: 19468@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 02 09:12:14 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 1YoRat-00008i-QQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 May 2015 09:12:12 +0200 Original-Received: from localhost ([::1]:56273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoRas-0007Bw-OL for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 May 2015 03:12:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoRao-0007Br-Ix for bug-gnu-emacs@gnu.org; Sat, 02 May 2015 03:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoRal-00054W-9Y for bug-gnu-emacs@gnu.org; Sat, 02 May 2015 03:12:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoRal-00054Q-6i for bug-gnu-emacs@gnu.org; Sat, 02 May 2015 03:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YoRak-0001zH-P2 for bug-gnu-emacs@gnu.org; Sat, 02 May 2015 03:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 May 2015 07:12: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.14305506807582 (code B ref 19468); Sat, 02 May 2015 07:12:02 +0000 Original-Received: (at 19468) by debbugs.gnu.org; 2 May 2015 07:11:20 +0000 Original-Received: from localhost ([127.0.0.1]:59082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoRa3-0001yD-A1 for submit@debbugs.gnu.org; Sat, 02 May 2015 03:11:19 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:54142) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoRa1-0001xt-7F for 19468@debbugs.gnu.org; Sat, 02 May 2015 03:11:18 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NNP00300MOZ4P00@mtaout25.012.net.il> for 19468@debbugs.gnu.org; Sat, 02 May 2015 10:06:56 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNP00KA4NRJF890@mtaout25.012.net.il>; Sat, 02 May 2015 10:06:56 +0300 (IDT) In-reply-to: <55441587.6050004@yandex.ru> X-012-Sender: halo1@inter.net.il 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:102357 Archived-At: > From: Dmitry Gutov > Date: Sat, 2 May 2015 03:08:39 +0300 > > On 04/29/2015 09:03 PM, Eli Zaretskii wrote: > > >>> Using ID-Utils is one possible way, I guess. > > It will be used now, courtesy of semantic/symref, if the ID file is in > the same directory as TAGS. I cannot seem to make it to work. Here's what I did: ./src/emacs -Q C-x C-f src/xdisp.c RET move to a place that references set_cursor_from_row M-x xref-find-references RET I get "Symbol's function definition is void: mapcan". I then manually load cl, and re-invoke the command. The result now is "No known references for: set_cursor_from_row". But the shell command "gid set_cursor_from_row" returns this list of matches: src/xdisp.c:174: latter, see also set_cursor_from_row). src/xdisp.c:380: cursor; <= 0 if not known. Set by set_cursor_from_row, used for src/xdisp.c:777:static bool set_cursor_from_row (struct window *, struct glyph_row *, src/xdisp.c:1406: set_cursor_from_row conspires with cursor_row_p to src/xdisp.c:4421: text, which confuses `set_cursor_from_row'. src/xdisp.c:13675: set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0); src/xdisp.c:14191:set_cursor_from_row (struct window *w, struct glyph_row *row, src/xdisp.c:15568: set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0); src/xdisp.c:15582: occlude point. We need to let set_cursor_from_row src/xdisp.c:15596: rv |= set_cursor_from_row (w, row, w->current_matrix, src/xdisp.c:15652: if (set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0)) src/xdisp.c:16202: set_cursor_from_row (w, row, w->desired_matrix, 0, 0, 0, 0); src/xdisp.c:16634: set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0); src/xdisp.c:17081: set_cursor_from_row (w, row, w->current_matrix, 0, 0, src/xdisp.c:17317: bidi-reordered glyph rows. Let set_cursor_from_row src/xdisp.c:17322: if (!set_cursor_from_row (w, row, w->current_matrix, src/xdisp.c:17892: set_cursor_from_row (w, row, current_matrix, 0, 0, 0, 0); src/xdisp.c:17932: set_cursor_from_row (w, row, current_matrix, 0, 0, 0, 0); src/xdisp.c:18154: set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0); src/xdisp.c:18163: set_cursor_from_row (w, row, w->current_matrix, delta, src/xdisp.c:20794: set_cursor_from_row (it->w, row, it->w->desired_matrix, 0, 0, 0, 0); In case it matters, the ID file was produced manually with this command in the top-level Emacs directory: mkid -o ID . What am I missing?