From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13936: Default to UTF-8 for most Emacs source files Date: Mon, 18 Mar 2013 09:27:44 -0400 Message-ID: References: <871ubiljz0.fsf@gnu.org> <5146C0B4.3060607@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363613322 5364 80.91.229.3 (18 Mar 2013 13:28:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Mar 2013 13:28:42 +0000 (UTC) Cc: 13936@debbugs.gnu.org, Paul Eggert To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 18 14:29:05 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1UHa7a-0005Ux-Is for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 14:29:02 +0100 Original-Received: from localhost ([::1]:35556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHa7D-0002iY-Fu for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 09:28:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHa79-0002gA-QH for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2013 09:28:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHa75-0006FY-0N for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2013 09:28:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHa74-0006FQ-TB for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2013 09:28:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UHa8Z-0004ln-Bl for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2013 09:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Mar 2013 13:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13936 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 13936-submit@debbugs.gnu.org id=B13936.136361336618254 (code B ref 13936); Mon, 18 Mar 2013 13:30:02 +0000 Original-Received: (at 13936) by debbugs.gnu.org; 18 Mar 2013 13:29:26 +0000 Original-Received: from localhost ([127.0.0.1]:32918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UHa7x-0004kN-61 for submit@debbugs.gnu.org; Mon, 18 Mar 2013 09:29:25 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:52371) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UHa7w-0004kB-6u for 13936@debbugs.gnu.org; Mon, 18 Mar 2013 09:29:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpYZL/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kLodwBsEtkQoDpHqBXoMT X-IPAS-Result: Av4EABK/CFFFpYZL/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kLodwBsEtkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="5147658" Original-Received: from 69-165-134-75.dsl.teksavvy.com (HELO pastel.home) ([69.165.134.75]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 18 Mar 2013 09:27:43 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 946E4678B2; Mon, 18 Mar 2013 09:27:44 -0400 (EDT) In-Reply-To: (Andreas Schwab's message of "Mon, 18 Mar 2013 10:43:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72675 Archived-At: >> For a file like TUTORIAL.ja, the Local Variables: section >> can specify a preferred charset. Wouldn't this address the issue for >> non-Japanese users? Something like this, say: >> >> ;;; Local Variables: >> ;;; coding: utf-8 >> ;;; eval: (set-charset-priority 'japanese-jisx0208) We could indeed do something like that in those cases where the preferred charset is the same for the whole file. [ Tho with only 2 semi-colons on each line, please. ] > That relies on enable-local-eval. The default is to query, which is not > a good thing for a tutorial. That can easily be changed if we decide it's a good solution. Stefan