From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: coding systems Date: Tue, 03 Nov 2009 23:20:51 +0200 Message-ID: <83r5sfb8zw.fsf@gnu.org> References: <87k4y8xwvb.fsf@kzsu.stanford.edu> <874opcvzbx.fsf@lion.rapttech.com.au> <87vdhrtodb.fsf@kzsu.stanford.edu> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1257283288 12832 80.91.229.12 (3 Nov 2009 21:21:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2009 21:21:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 03 22:21:21 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N5QoX-000674-7H for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Nov 2009 22:21:17 +0100 Original-Received: from localhost ([127.0.0.1]:55276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5QoW-0001P2-PE for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Nov 2009 16:21:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5Qo9-0001Of-Jr for help-gnu-emacs@gnu.org; Tue, 03 Nov 2009 16:20:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5Qo5-0001O5-0S for help-gnu-emacs@gnu.org; Tue, 03 Nov 2009 16:20:53 -0500 Original-Received: from [199.232.76.173] (port=41496 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5Qo4-0001O2-Rh for help-gnu-emacs@gnu.org; Tue, 03 Nov 2009 16:20:48 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:48244) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5Qo4-0000RO-D5 for help-gnu-emacs@gnu.org; Tue, 03 Nov 2009 16:20:48 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0KSJ00I00XKEZ700@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Tue, 03 Nov 2009 23:20:46 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.37.193]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KSJ00GSUXYMI670@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Tue, 03 Nov 2009 23:20:46 +0200 (IST) In-reply-to: <87vdhrtodb.fsf@kzsu.stanford.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69453 Archived-At: > From: Joseph Brenner > Date: Tue, 03 Nov 2009 11:11:28 -0800 > > More recently, I've started seeing a worse problem: there's a package > I've been working on to use desktop.el for things like intelligent crash > recovery ("desktop-recover.el", at a github near you). When there are > some international characters stashed in a register that "desktop-save" > wants to preserve, then I'm asked for a coding system not just once, but > every single time the auto-save-hook fires, because I use it to do > automatic "desktop-save"s. If the issue is with saving contents of internal Emacs data structures, then utf-8-emacs (and its alias emacs-internal) is definitely the way to go. Note: utf-8-emacs is NOT the same as utf-8, the latter will not be able to encode every character Emacs can hold in its buffers or strings, although it comes pretty close.