From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.bugs Subject: bug#22692: docstring for xref-find-definitions Date: Wed, 17 Feb 2016 19:45:21 -0800 Message-ID: <673.1455767121@allegro.localdomain> References: <20283.1455584523@allegro.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1455767183 1818 80.91.229.3 (18 Feb 2016 03:46:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2016 03:46:23 +0000 (UTC) To: 22692@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 18 04:46:11 2016 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 1aWFXe-0007KN-Qq for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2016 04:46:10 +0100 Original-Received: from localhost ([::1]:36302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWFXe-0005MT-7t for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Feb 2016 22:46:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWFXZ-0005MF-I0 for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 22:46:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWFXW-0002OR-Ce for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 22:46:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWFXW-0002ON-9L for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 22:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aWFXW-0007VV-2T for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 22:46:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <20283.1455584523@allegro.localdomain> Resent-From: Mike Kupfer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Feb 2016 03:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22692 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22692-submit@debbugs.gnu.org id=B22692.145576712528813 (code B ref 22692); Thu, 18 Feb 2016 03:46:01 +0000 Original-Received: (at 22692) by debbugs.gnu.org; 18 Feb 2016 03:45:25 +0000 Original-Received: from localhost ([127.0.0.1]:60113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWFWu-0007Uf-Sb for submit@debbugs.gnu.org; Wed, 17 Feb 2016 22:45:25 -0500 Original-Received: from shell1.rawbw.com ([198.144.192.42]:44467 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWFWt-0007UX-5B for 22692@debbugs.gnu.org; Wed, 17 Feb 2016 22:45:23 -0500 Original-Received: from allegro.localdomain (m208-249.dsl.rawbw.com [198.144.208.249]) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTP id u1I3jLBQ024502 for <22692@debbugs.gnu.org>; Wed, 17 Feb 2016 19:45:21 -0800 (PST) (envelope-from m.kupfer@acm.org) X-Authentication-Warning: shell1.rawbw.com: Host m208-249.dsl.rawbw.com [198.144.208.249] claimed to be allegro.localdomain X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 25.0.91 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:113223 Archived-At: Based on the behavior that I observe (using "emacs -Q" to visit src/frame.c), the docstring for xref-find-definitions would be more accurate if the first paragraph were replaced by Find the definition of the identifier at point. If there is no identifier at point, use an identifier (or numeric literal) near point on the same line. With a prefix argument or when there=E2=80=99s no identifier on the current line, prompt for the identif= ier to look up. Trying to look up the definition for a numeric literal strikes me as odd, but that's the behavior I'm seeing. mike