From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: two utf-8 questions Date: Sun, 29 Jan 2006 00:13:26 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1138521624 1386 80.91.229.2 (29 Jan 2006 08:00:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Jan 2006 08:00:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 29 09:00:22 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F37Tw-0002nq-5V for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Jan 2006 09:00:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F37Wp-0001pX-Q5 for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Jan 2006 03:03:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F32VX-0006UY-0M for help-gnu-emacs@gnu.org; Sat, 28 Jan 2006 21:41:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F31Jp-00055N-Eq for help-gnu-emacs@gnu.org; Sat, 28 Jan 2006 20:26:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2zIz-0000Pu-N9 for help-gnu-emacs@gnu.org; Sat, 28 Jan 2006 18:16:30 -0500 Original-Received: from [217.72.192.209] (helo=smtp05.web.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F2zH1-0001NL-C6 for help-gnu-emacs@gnu.org; Sat, 28 Jan 2006 18:14:27 -0500 Original-Received: from [87.193.38.151] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #340) id 1F2zG4-0005tl-00; Sun, 29 Jan 2006 00:13:28 +0100 In-Reply-To: X-Priority: 3 X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: "B. T. Raven" X-Mailer: Apple Mail (2.746.2) X-Sender: Peter_Dyballa@web.de 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:32891 Archived-At: Am 28.01.2006 um 19:30 schrieb B. T. Raven: > 1) > > Even though the following is in my .emacs: > > (setq default-buffer-file-coding-system 'utf-8) > > when I type 'C-x ret f' I see the prompt: > > Coding system for visited file (default, nil) instead of (default, > utf-8) > Maybe you need a: (prefer-coding-system 'utf-8) > > > 2) > > Has it been pretty much decided that copypasting Unicode using the > clipboard between emacs and MS apps is impossible for OS versions > earlier > than W2000? I don't think so, but it's natural to assume that all Losedows from last millennium has no idea of Unicode. > After many > months of lurking there I am beginning to suspect that some of the > following settings are particularly inappropriate: > > (set-language-environment 'UTF-8) > (set-default-coding-systems 'utf-8) > (setq file-name-coding-system 'utf-8) > (setq default-buffer-file-coding-system 'utf-8) > (setq coding-system-for-write 'utf-8) > (set-keyboard-coding-system 'utf-8) > (set-terminal-coding-system 'utf-8) > (set-clipboard-coding-system 'utf-8) > (set-selection-coding-system 'utf-8) > (prefer-coding-system 'utf-8) > (modify-coding-system-alist 'process > "[cC][mM][dD][pP][rR][oO][xX][yY]" 'utf-8-dos) > > What could the clipboard and selection variables be set to in > order to > give me a better chance of copypasting Unicode successfully? > I would think it's some CP125x code page (1250: Extended European, 1251: Cyrillic, 1252: ANSI, something like ISO 8859-1 or ISO Latin-1). And it's probably best to set this as a default -- or how do you print or email an UTF-8 text from this Losedows? -- Greetings Pete When confronted with actual numbers, a mathematician is at a loss. (Steffen Hokland)