emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagno


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagnostics
Date: Fri, 28 Aug 2015 12:05:29 +0300

> From: Rasmus <address@hidden>
> Date: Fri, 28 Aug 2015 10:38:36 +0200
> 
> > In general, whether a character is punctuation or a letter depends on
> > the language.  "·" should be punctuation in English, arguably a space
> > in classical Latin, and a letter in Catalan.  Is Emacs flexible enough
> > to do that now?
> 
> But then you need to declare the language.  This is a buffer
> property.

No, it isn't.  E.g., what is "the language" of the buffer you get by
typing "C-h H"?

> you have a meta tag it works, but in a plain old text buffer it's harder.
> Maybe you could bind the variable, or it could depend on your current
> ispell dictionary.

Spell-checker can get away with defining a superset of all the
languages it might be asked to spell-check.  But a feature Paul
mentions above cannot use that trick, for obvious reasons.

So the example of ispell is not useful here, IMO.

> (In fact, I already need to explicitly add "['’]" to CASECHARS in
> ispell-local-dictionary-alist to make hunspell accept words like
> "it's").

??? You mean like "it’", perhaps.  Because the apostrophe is already
in the dictionary's .aff file, and ispell.el gleans it from there.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]