From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagnostics Date: Fri, 28 Aug 2015 12:05:29 +0300 Message-ID: <83io7z4wbq.fsf@gnu.org> References: <20150816160149.9416.80132@vcs.savannah.gnu.org> <87wpwt5619.fsf@gnu.org> <55D36CB5.10803@cs.ucla.edu> <878u9879q9.fsf@igel.home> <19BD5D76-06A0-4FC0-A46F-760B2C27D321@gmail.com> <20150818194253.GE2262@acm.fritz.box> <0ac95dde-75ba-464b-90b2-1b19b348473e@default> <55DC530B.4040509@yandex.ru> <55DCE945.40701@yandex.ru> <41A4C5AF-6F4B-4927-8C42-E7E6048716E1@gmail.com> <877fohbf5g.fsf@gmail.com> <55DE96DE.80400@cs.ucla.edu> <55DF45E2.9010806@cs.ucla.edu> <55DFC130.7060006@cs.ucla.edu> <8737z396hb.fsf@gmx.us> <55E01CA8.80600@cs.ucla.edu> <87lhcv7qpf.fsf@gmx.us> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1440752774 14504 80.91.229.3 (28 Aug 2015 09:06:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 09:06:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Rasmus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 28 11:06:04 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZVFbh-00033k-Jb for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2015 11:05:57 +0200 Original-Received: from localhost ([::1]:46863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVFbg-0003wN-SB for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2015 05:05:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVFbJ-0003vc-So for emacs-devel@gnu.org; Fri, 28 Aug 2015 05:05:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVFbF-0007bd-Dg for emacs-devel@gnu.org; Fri, 28 Aug 2015 05:05:33 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:48084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVFbF-0007as-3r for emacs-devel@gnu.org; Fri, 28 Aug 2015 05:05:29 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NTS00600BUJGC00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 28 Aug 2015 12:05:27 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTS006Z3BX2FM00@a-mtaout22.012.net.il>; Fri, 28 Aug 2015 12:05:26 +0300 (IDT) In-reply-to: <87lhcv7qpf.fsf@gmx.us> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189258 Archived-At: > From: Rasmus > Date: Fri, 28 Aug 2015 10:38:36 +0200 >=20 > > In general, whether a character is punctuation or a letter depend= s on > > the language. "=C2=B7" should be punctuation in English, arguabl= y a space > > in classical Latin, and a letter in Catalan. Is Emacs flexible e= nough > > to do that now? >=20 > 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 h= arder. > Maybe you could bind the variable, or it could depend on your curre= nt > 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 "['=E2=80=99]" to CASECH= ARS in > ispell-local-dictionary-alist to make hunspell accept words like > "it's"). ??? You mean like "it=E2=80=99", perhaps. Because the apostrophe is = already in the dictionary's .aff file, and ispell.el gleans it from there.