[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: character syntax fixes needed
From: |
Dave Love |
Subject: |
Re: character syntax fixes needed |
Date: |
Fri, 25 Mar 2005 00:22:31 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>> I've never seen guillemets used alone. They always come in pairs in my
>>> experience,
>> But your experience isn't universal.
>
> I never claimed it is. But unless using string-syntax for those things
> breaks more cases (or in more serious ways) than not using string-syntax, it
> makes sense to choose the lesser of two evils.
It isn't an evil to give quotation marks punctuation syntax. There's
no need to do anything wrong. If you want to treat something like
phrases syntactically, I have code to do that which could be extended
to non-ASCII quotation marks.
Making arbitrary special cases _is_ an evil in multilingualization.
>> It's obviously not wide enough to override what Unicode and other
>> authorities document.
>
> Their purpose is different. Emacs is largely about making the common-case
> convenient (as far as it doesn't make the rare case impossible).
Unicode tells you about essentially all the relevant cases, so that
you know about rare (at least to you) cases. I don't think I deserve
being patronized over this as I obviously know more about it than most
people and I've done a lot of work to make Emacs just DTRT.
>> Yes, offhand I can think of four uses of " that aren't as balanced
>> quotes, and again Unicode says it has punctuation syntax.
>
> Feel free to share those cases with us, so we can assess them,
The two that correspond directly with guillemets are as ditto signs
and for opening paragraphs continuing a quote. But I'm not suggesting
changing the standard syntax of `"' -- it's already set to punctuation
for natural language and appropriately for the various programming
languages which typically assume the standard syntax table.
The manual passage concerning _not_ having string syntax is in
`(elisp)Syntax Class Table' under `string quote'. However, it should
say `natural language' rather than `English'. (I thought the
occurrences of `English' like that had been fixed at some stage.)
- Re: character syntax fixes needed, (continued)
- Re: character syntax fixes needed, Dave Love, 2005/03/09
- Re: character syntax fixes needed, Kenichi Handa, 2005/03/09
- Re: character syntax fixes needed, Dave Love, 2005/03/10
- Re: character syntax fixes needed, Stefan Monnier, 2005/03/10
- Re: character syntax fixes needed, Reiner Steib, 2005/03/11
- Re: character syntax fixes needed, Miles Bader, 2005/03/11
- Re: character syntax fixes needed, Dave Love, 2005/03/13
- Re: character syntax fixes needed, Stefan Monnier, 2005/03/13
- Re: character syntax fixes needed, Richard Stallman, 2005/03/14
- Re: character syntax fixes needed, Dave Love, 2005/03/24
- Re: character syntax fixes needed,
Dave Love <=
- Re: character syntax fixes needed, Kenichi Handa, 2005/03/11
- Re: character syntax fixes needed, Dave Love, 2005/03/13
- Re: character syntax fixes needed, Richard Stallman, 2005/03/15
- Re: character syntax fixes needed, Dave Love, 2005/03/24
- Re: character syntax fixes needed, Richard Stallman, 2005/03/25
- Re: character syntax fixes needed, Stefan Monnier, 2005/03/11
- Re: character syntax fixes needed, Dave Love, 2005/03/13
- Re: character syntax fixes needed, Stefan Monnier, 2005/03/13