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: Mon, 29 Dec 2014 22:26:23 +0200 Message-ID: <83zja6b3tc.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1419884841 4487 80.91.229.3 (29 Dec 2014 20:27:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 20:27:21 +0000 (UTC) To: 19468@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 29 21:27:13 2014 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 1Y5guF-0005jf-Ng for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 21:27:11 +0100 Original-Received: from localhost ([::1]:34732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5guF-0002uY-1D for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 15:27:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5guB-0002uK-PW for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 15:27:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5gu6-00017B-PJ for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 15:27:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5gu6-000177-Lw for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 15:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y5gu6-0001mT-DD for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 15:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Dec 2014 20:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19468 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14198848096819 (code B ref -1); Mon, 29 Dec 2014 20:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Dec 2014 20:26:49 +0000 Original-Received: from localhost ([127.0.0.1]:60564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5gts-0001lv-DV for submit@debbugs.gnu.org; Mon, 29 Dec 2014 15:26:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39842) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5gtq-0001ln-B4 for submit@debbugs.gnu.org; Mon, 29 Dec 2014 15:26:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5gto-00015M-R6 for submit@debbugs.gnu.org; Mon, 29 Dec 2014 15:26:46 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:50057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5gto-00015I-Oj for submit@debbugs.gnu.org; Mon, 29 Dec 2014 15:26:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5gtn-0002sp-6x for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 15:26:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5gti-00014b-60 for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 15:26:43 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:51604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5gth-00014R-Q9 for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 15:26:38 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NHD00D002326Q00@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 22:26:36 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHD00DJR24B6C00@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 22:26:36 +0200 (IST) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:97815 Archived-At: Make sure you generated src/TAGS, and then: emacs -Q C-x C-f src/buffer.c RET M-x visit-tags-table RET RET M-. display_line RET This pops up a *xref* buffer which looks like this: d:/gnu/git/emacs/trunk/src/xdisp.c display_line move_it_in_display_line_to move_it_in_display_line with point at the beginning of the first line. Why doesn't it put me on "display_line"s line, and display its definition at the same time? This is a regression from the old tags feature, where just "M-. RET" will already show the first matching definition. Further, this buffer's name, *xref*, has no mnemonic significance, and there are no clues as to what it wants to tell me or what is expected of me. The candidates are not mouse-sensitive, either, which is un-Emacsy. It functions like *Completions*, but it ain't one. By trial and error I found out that I'm expected to move to the candidate I want with cursor movement keys, and press RET to exit the buffer. Moving up an down is slow, probably because it visits files without waiting for RET or some other gesture to select a candidate (why was that design decision made?). Hitting RET on the first line, the one that shows the file name, results in "No reference at point", which is not really useful. Another peculiarity is that once I press arrow once, I can no longer get back to the first line, the one that shows the source file: pressing on the 2nd line doesn't move point, but it does return the original buffer to the window above *xref*. Weird. Finally, invoking the same command from the menu bar ought to present a dialog box with the candidates, according to the general rule: if a command was invoked by a mouse gesture, selection of candidates is via a GUI dialog, not a special-purpose buffer. But that doesn't happen. In sum: please make the new feature at least as good as the old one it replaces. And when introducing new exhibits, like the *xref* window, please make them self-explanatory and convenient/natural to use for newbies and veterans alike. TIA In GNU Emacs 25.0.50.110 (i686-pc-mingw32) of 2014-12-29 on HOME-C4E4A596F7 Repository revision: ce1ebdf1ba8acc75e8f959f414652cdc87e76401 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --prefix=/d/usr --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: XREF Minor modes in effect: diff-auto-refine-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Starting a new list of tags tables M-. runs the command xref-find-definitions M-, runs the command xref-pop-marker-stack Making tags completion table for d:/gnu/git/emacs/trunk/src/TAGS...80% Making tags completion table for d:/gnu/git/emacs/trunk/lisp/TAGS...94% Making tags completion table for d:/gnu/git/emacs/trunk/lwlib/TAGS... Making tags completion table for d:/gnu/git/emacs/trunk/src/TAGS...done Making completion list... xref--location-at-point: No reference at point Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils cl-macs gv thingatpt etags xref eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-loaddefs cl-lib ring vc-git diff-mode easy-mmode cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 123285 11708) (symbols 32 104663 1) (miscs 32 77 302) (strings 16 108087 9345) (string-bytes 1 2510300) (vectors 8 15137) (vector-slots 4 446128 6934) (floats 8 75 209) (intervals 28 2628 236) (buffers 516 18))