unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org, me@wilfred.me.uk, stefan@marxist.se,
	arthur.miller@live.com, mardani29@yahoo.es
Subject: Re: Helpful in Emacs?
Date: Fri, 10 Sep 2021 09:16:11 +0300	[thread overview]
Message-ID: <83a6klj6qc.fsf@gnu.org> (raw)
In-Reply-To: <bcd43415-863d-4602-d407-ac6b7e74399f@yandex.ru> (message from Dmitry Gutov on Fri, 10 Sep 2021 01:55:08 +0300)

> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Fri, 10 Sep 2021 01:55:08 +0300
> Cc: me@wilfred.me.uk, Stefan Kangas <stefan@marxist.se>,
>  Emacs developers <emacs-devel@gnu.org>
> 
> Distinguishing variables from functions sounds nice

I wonder how it works.  If there's a function and a variable by the
same name, how does the user tell references to which one he/she wants
to see?  Does the package have 2 different commands?  Or does it ask?
And what about looking for faces -- are those variables or functions?

The commands we have in Xref look for _identifiers_.  An identifier is
a generalization of all those different syntactic and semantic
elements: it can be a variable, a function, a structure, etc.  That
IMO is a much more convenient UI: a single command with a very short
key binding for finding any identifier.  YMMV, of course.



  parent reply	other threads:[~2021-09-10  6:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-09 10:57 Helpful in Emacs? Arthur Miller
2021-09-09 11:34 ` Stefan Kangas
2021-09-09 12:35   ` Arthur Miller
2021-09-09 15:21     ` Daniel Martín
2021-09-09 15:48       ` Arthur Miller
2021-09-10  6:20         ` Stefan Kangas
2021-09-10  7:11           ` Arthur Miller
2021-09-10  7:19             ` Stefan Kangas
2021-09-10  7:58               ` Arthur Miller
2021-09-10  8:14                 ` Jean-Christophe Helary
2021-09-10 12:32               ` Stefan Monnier
2021-09-10  7:26             ` Eli Zaretskii
2021-09-10  8:00               ` Arthur Miller
2021-09-10 11:14                 ` Eli Zaretskii
2021-09-10 11:41                   ` Arthur Miller
2021-09-09 19:21       ` Eduardo Ochs
2021-09-09 19:51         ` Arthur Miller
2021-09-09 20:23       ` Arthur Miller
2021-09-09 22:55         ` Dmitry Gutov
2021-09-10  0:52           ` Arthur Miller
2021-09-10  6:16           ` Eli Zaretskii [this message]
2021-09-10  6:06         ` Eli Zaretskii
2021-09-10  6:21           ` Arthur Miller
2021-09-10  6:30       ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83a6klj6qc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=arthur.miller@live.com \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=mardani29@yahoo.es \
    --cc=me@wilfred.me.uk \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).