From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: two utf-8 questions Date: Sat, 28 Jan 2006 19:30:43 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1138489323 27702 80.91.229.2 (28 Jan 2006 23:02:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2006 23:02:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 29 00:02:02 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 1F2z4s-0001mn-Ri for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Jan 2006 00:01:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2xef-0006gy-Ql for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Jan 2006 16:30:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!0847253b!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 47 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 4.158.222.155 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread2.news.atl.earthlink.net 1138476643 4.158.222.155 (Sat, 28 Jan 2006 11:30:43 PST) Original-NNTP-Posting-Date: Sat, 28 Jan 2006 11:30:43 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:137261 Original-To: help-gnu-emacs@gnu.org 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:32884 Archived-At: 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) There are contexts where I need to specify utf-8 here, or else the file won't be saved in the correct format. This seems to be true even if the file header ;; -*- coding: utf-8 -*- is present. Why is this? 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? Even though most of what I read on emacs-devel is Greek to me, I try to glean whatever I can from postings relating to w32. 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? Thanks, Ed