From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2C82C138200 for ; Wed, 7 Aug 2013 07:44:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CCD7E0AEA; Wed, 7 Aug 2013 07:44:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE737E0AEA for ; Wed, 7 Aug 2013 07:44:38 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD5FC33EA6B for ; Wed, 7 Aug 2013 07:44:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 41D2AE5460 for ; Wed, 7 Aug 2013 07:44:36 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: <1375861452.cd7f573f9dc0e2a0d4972964cd74c530f99ec8c1.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: appendices/editor-configuration/emacs/ X-VCS-Repository: proj/devmanual X-VCS-Files: appendices/editor-configuration/emacs/text.xml X-VCS-Directories: appendices/editor-configuration/emacs/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: cd7f573f9dc0e2a0d4972964cd74c530f99ec8c1 X-VCS-Branch: master Date: Wed, 7 Aug 2013 07:44:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7c5e097c-c771-4e9f-8ae8-cc4ea3143c82 X-Archives-Hash: 146c93c7019d2d67c8f8ac9097a5d393 commit: cd7f573f9dc0e2a0d4972964cd74c530f99ec8c1 Author: Ulrich Müller gentoo org> AuthorDate: Tue Jul 30 18:25:26 2013 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Wed Aug 7 07:44:12 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=cd7f573f appendices/editor-configuration/emacs: Delete outdated information. Bug 477046. --- appendices/editor-configuration/emacs/text.xml | 36 ++++++++------------------ 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/appendices/editor-configuration/emacs/text.xml b/appendices/editor-configuration/emacs/text.xml index 9a0246c..55fade0 100644 --- a/appendices/editor-configuration/emacs/text.xml +++ b/appendices/editor-configuration/emacs/text.xml @@ -8,43 +8,29 @@

-Emacs 21 has built-in Unicode support, and (fortunately) it supports -UTF-8 far better than UTF-16 and other variants. Some extensions to this -functionality are available in the package app-emacs/mule-ucs, although -this is not necessary (and I would not recommend it unless absolutely -necessary, as the potential for unexpected bugs or quirky behaviour is -increased). The best solution is using Emacs 22 or higher as encoding -support has been greatly improved. +GNU Emacs has built-in Unicode support, and since version 23 it uses +UTF-8 as its internal encoding. It is recommended to start Emacs from +within a UTF-8 locale which will control the default coding system.

-In versions of Emacs below 21.3, and a non-UTF-8 locale is used when -opening a UTF-8 file, auto-detection of the character set is effectively -disabled and characters will be garbled. The UTF-8 character set can be -preferred with M-x prefer-coding-system and entering utf-8 when -prompted. Otherwise, it is necessary to tell Emacs that a UTF-8 file is -being opened by prefixing the C-x C-f or C-x C-v command with -C-x C-m c utf-8 RET. As a diagnostic measure, the coding system currently -in use can be determined with C-h C <RET>. +Emacs will normally autodetect the coding system for given text. +In rare cases it may be necessary to tell Emacs that a UTF-8 file is +being opened by prefixing the C-x C-f or C-x C-v command +with C-x C-m c utf-8 RET. As a diagnostic measure, the coding +system currently in use can be determined with C-h C RET.

-Newer Emacs versions will autodetect the coding system for given text. -

- -

-If it is desired to prefer UTF-8 to the regular character set, -the following can be used inside of the Emacs startup file: +If it is desired to prefer UTF-8 to the regular character set in a +non-UTF-8 locale, the following can be used inside of the Emacs +startup file:

     (prefer-coding-system 'utf-8)
 
-

-For specifying coding system to use on a per-file basis, the -modify-coding-system function can be used. -