From: John Yates <john@yates-sheets.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel <emacs-devel@gnu.org>, Dmitry Gutov <dgutov@yandex.ru>
Subject: Re: Guidelines for the "symbol" syntax class
Date: Sun, 3 Jan 2016 20:13:52 -0500 [thread overview]
Message-ID: <CAJnXXohrH33RheXsgqn8UsXqv=jkw+USck2AiF3S_PwtrDYk0g@mail.gmail.com> (raw)
In-Reply-To: <jwvsi2ew4qi.fsf-monnier+emacs@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 811 bytes --]
On Sun, Jan 3, 2016 at 7:51 PM, Stefan Monnier <monnier@iro.umontreal.ca>
wrote:
> IOW you can't expect Emacs's notion of "symbol"
> to cover all the use cases. More specifically, Emacs's notion of symbol
> can only be used as a stepping stone on which to construct the things
> you need, on a case by case basis.
>
I interpret this as "Emacs supplies only a basic notion of symbol".
Since xref inches closer to understanding the semantics of the user's
programming language it might want to introduce some new abstraction
for a of a qualified name. These come in two flavors
- object qualified
- namespace or package qualified
Trying to jigger emacs' symbol notion to cover qualified names as provided
in contemporary languages is likely to be a source of continuing complaints
and frustration.
/john
[-- Attachment #2: Type: text/html, Size: 1325 bytes --]
next prev parent reply other threads:[~2016-01-04 1:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-03 5:09 Guidelines for the "symbol" syntax class Dmitry Gutov
2016-01-03 22:56 ` John Wiegley
2016-01-04 0:46 ` Dmitry Gutov
2016-01-04 0:51 ` Stefan Monnier
2016-01-04 0:58 ` Dmitry Gutov
2016-01-04 1:13 ` John Yates [this message]
2016-01-04 1:18 ` Dmitry Gutov
[not found] ` <CAJnXXog5fO_h5UNnVR67EJtT+u7+G-BVMFV3FnJgK=weGj0m_w@mail.gmail.com>
2016-01-04 2:01 ` Dmitry Gutov
2016-01-04 0:55 ` John Wiegley
2016-01-04 1:14 ` Dmitry Gutov
2016-01-04 2:56 ` Stefan Monnier
2016-01-04 3:47 ` Dmitry Gutov
[not found] ` <CAJnXXogonsWpqadNpX0BijzoiztorYP1d=b31seBfvGVBwwT_Q@mail.gmail.com>
[not found] ` <5689CC5C.4000408@yandex.ru>
[not found] ` <CAJnXXojy1b6LUdXcC+cDVPYT-OJMXCE8m8yqObE9oUYwU_PGbg@mail.gmail.com>
2016-01-04 2:34 ` Dmitry Gutov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJnXXohrH33RheXsgqn8UsXqv=jkw+USck2AiF3S_PwtrDYk0g@mail.gmail.com' \
--to=john@yates-sheets.org \
--cc=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.