[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guidelines for the "symbol" syntax class
From: |
Stefan Monnier |
Subject: |
Re: Guidelines for the "symbol" syntax class |
Date: |
Sun, 03 Jan 2016 21:56:43 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> In c++-mode, `std::cout' is two separate symbols, so I'm going to follow
> that model.
>> A::B is the qualified name of a symbol
> Yes, and methods have qualified names like A::B#foo or A::B.bar, but we
> don't make `#' or `.' symbol constituents.
Right, I think in general you'll be better off to err on the side of
having Emacs symbols be "too short" (and hence having to grow them by
combining Emacs symbols with surrounding chars or surrounding Emacs
symbols) rather than having Emacs symbols be "too long" (and hence
having to parse the inside of symbols rather than treat them as "atomic"
identifiers).
Stefan
- Guidelines for the "symbol" syntax class, Dmitry Gutov, 2016/01/03
- Re: Guidelines for the "symbol" syntax class, John Wiegley, 2016/01/03
- Re: Guidelines for the "symbol" syntax class, Dmitry Gutov, 2016/01/03
- Re: Guidelines for the "symbol" syntax class, Stefan Monnier, 2016/01/03
- Re: Guidelines for the "symbol" syntax class, Dmitry Gutov, 2016/01/03
- Re: Guidelines for the "symbol" syntax class, John Yates, 2016/01/03
- Re: Guidelines for the "symbol" syntax class, Dmitry Gutov, 2016/01/03
- Message not available
- Re: Guidelines for the "symbol" syntax class, Dmitry Gutov, 2016/01/03
- Re: Guidelines for the "symbol" syntax class, John Wiegley, 2016/01/03
- Re: Guidelines for the "symbol" syntax class, Dmitry Gutov, 2016/01/03
- Re: Guidelines for the "symbol" syntax class,
Stefan Monnier <=
- Re: Guidelines for the "symbol" syntax class, Dmitry Gutov, 2016/01/03
- Message not available
- Message not available
- Message not available
- Re: Guidelines for the "symbol" syntax class, Dmitry Gutov, 2016/01/03