From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: ASCII-only startup message? Date: Tue, 29 Dec 2015 14:01:48 +0600 Message-ID: References: <567ECD8C.1070408@cs.ucla.edu> <8360zlhy7x.fsf@gnu.org> <567EE043.9020109@cs.ucla.edu> <83y4chgh5q.fsf@gnu.org> <567EED47.1090700@cs.ucla.edu> <83si2pgci8.fsf@gnu.org> <567F22B1.9040702@cs.ucla.edu> <2dc99848-b6d5-4f53-b22c-66e29d15647c@default> <444c19cb-4687-41c4-8291-481f5b5a42a1@default> <9e93866e-c6a4-42e3-b8b2-70fd6185b25e@default> <568102D0.5030707@cs.ucla.edu> <032eb0f9-1cc3-44fa-b37b-af697c8bdc86@default> 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 1451376150 17281 80.91.229.3 (29 Dec 2015 08:02:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Dec 2015 08:02:30 +0000 (UTC) Cc: Emacs developers To: Random832 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 29 09:02:29 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 1aDpEh-0004OS-EE for ged-emacs-devel@m.gmane.org; Tue, 29 Dec 2015 09:02:27 +0100 Original-Received: from localhost ([::1]:47580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDpEg-0002Uz-HD for ged-emacs-devel@m.gmane.org; Tue, 29 Dec 2015 03:02:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDpEQ-0002Ui-BU for emacs-devel@gnu.org; Tue, 29 Dec 2015 03:02:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDpEP-0000qF-GV for emacs-devel@gnu.org; Tue, 29 Dec 2015 03:02:10 -0500 Original-Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:34100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDpEP-0000q3-9i for emacs-devel@gnu.org; Tue, 29 Dec 2015 03:02:09 -0500 Original-Received: by mail-lf0-x241.google.com with SMTP id n70so3700013lfn.1 for ; Tue, 29 Dec 2015 00:02:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=dnMJVqTs2Sp2NAv0PJvPa9Cnx0dlCzPkVQhkG7S9lOE=; b=xF7HBrUNbtxOZ7nesTi9c0aLlyNxW3WhOSNuty/2eesZUPwKfHWcXpVRwLZTxwsIjg Q4/lOm0nQmWpE/M+c8nvEU84mEwW34STmbXTjXgSrpXSJ53loksGsWWGxKI32jsp5NnL S6CFP6OPiye23Ijw9qa/CVKLSKHavjKMPl9ly5M/4b+NP0tCxzMEiJaE3QtrXTReFxaC UlOkiZW5n2+t3qcYST17fCjMMpmd8XjH5P18umvunKbq8FCd/CROJCnoVdCmTASLpWcT XflXULio77GA31Y8KlViYsEvKrLMzNuA8TmKEx2Z/YSjbSnVoh0KpQMCS2YmxotqECxg Vx/A== X-Received: by 10.25.17.138 with SMTP id 10mr10090868lfr.26.1451376127979; Tue, 29 Dec 2015 00:02:07 -0800 (PST) Original-Received: by 10.112.129.163 with HTTP; Tue, 29 Dec 2015 00:01:48 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: LQAptHS3szG_kNzjVqsd2D30OEw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::241 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:197068 Archived-At: On Tue, Dec 29, 2015 at 1:05 PM, Random832 wrote: > To take a step back and think about solving both problems... What > about a list of characters - to include, by default, quotation marks > and apostrophes and maybe a few other things like dashes - that are > allowed to be silently mapped to best-fit ASCII equivalents when > writing a buffer in a coding system that does not support them? Bad idea. If the user fixes typography in a file and forgets to change the target encoding before saving, they risk losing their work. Emacs could opt to auto-degrade its generated text when initializing the *scratch* buffer when its coding system cannot represent curly quotes, but that=E2=80=99s the limit. Alternatively, new buffers could be initially created with the UTF-8 encoding, leaving the locale-specified encoding only for dealing with legacy files.