From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagnostics Date: Fri, 28 Aug 2015 11:36:54 +0200 Message-ID: <874mjjeouh.fsf@mbork.pl> 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> <87613zer4k.fsf@mbork.pl> <83h9nj4w60.fsf@gnu.org> 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 1440754646 12233 80.91.229.3 (28 Aug 2015 09:37:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 09:37:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 28 11:37:19 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 1ZVG5x-0005nK-VF for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2015 11:37:14 +0200 Original-Received: from localhost ([::1]:46983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVG5x-0007Lx-D4 for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2015 05:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVG5q-0007Ks-Oy for emacs-devel@gnu.org; Fri, 28 Aug 2015 05:37:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVG5m-0007XI-Mn for emacs-devel@gnu.org; Fri, 28 Aug 2015 05:37:06 -0400 Original-Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:53464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVG5m-0007X6-FP for emacs-devel@gnu.org; Fri, 28 Aug 2015 05:37:02 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id D1E2A6F2005 for ; Fri, 28 Aug 2015 11:37:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x0RI1dCW2pzp for ; Fri, 28 Aug 2015 11:36:59 +0200 (CEST) Original-Received: from localhost (103-115.echostar.pl [213.156.103.115]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 8F9466F2003 for ; Fri, 28 Aug 2015 11:36:59 +0200 (CEST) In-reply-to: <83h9nj4w60.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:5e00:2:52::8 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:189261 Archived-At: On 2015-08-28, at 11:08, Eli Zaretskii wrote: >> From: Marcin Borkowski >> Date: Fri, 28 Aug 2015 10:47:39 +0200 >>=20 >> OTOH, one might assume that [languages] are properly marked up, >> e.g. in LaTeX. > > They aren't, not in Emacs, at least not in the basic Text mode. Of course. OTOH, e.g. in LaTeX mode, we may have additional info, like \usepackage[encoding]{inputenc}, which can be used by Emacs (AUCTeX, to be more precise) to infer the encoding. I imagine you could do a similar thing with the language(s). The problem of Text mode is obviously still open. > If we want them marked with some property, we need to introduce such a > property and then add some code to do that automatically. That code > is AFAICT not trivial at all, except in simple cases where the script > of the character unambiguously identifies the language (possible only > with scripts that support a single language). Yes, highly nontrivial. Stanis=C5=82aw Bara=C5=84czak, a Polish poet who died last year, amused h= imself by many plays on words etc. Among others, he wrote texts which were _syntactically_ correct in two languages at the same time. (AFAIR, he did it for Polish/German and Polish/English combinations, so he got bonus points for thus combining a Slavic language with a Germanic one.) Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University