From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: List of possible coding systems Date: Wed, 12 Feb 2003 09:09:08 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200302120009.JAA06293@etlken.m17n.org> References: <200302102220.h1AMKNE23788@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1045008604 29428 80.91.224.249 (12 Feb 2003 00:10:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 00:10:04 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ikTP-0007dx-00 for ; Wed, 12 Feb 2003 01:09:59 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18ikf7-0000EG-00 for ; Wed, 12 Feb 2003 01:22:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ikTF-0001O4-01 for emacs-devel@quimby.gnus.org; Tue, 11 Feb 2003 19:09:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ikSr-0001J1-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 19:09:25 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ikSp-0001IY-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 19:09:24 -0500 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ikSf-00017s-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 19:09:14 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h1C099k28384; Wed, 12 Feb 2003 09:09:09 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h1C098R11948; Wed, 12 Feb 2003 09:09:08 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id JAA06293; Wed, 12 Feb 2003 09:09:08 +0900 (JST) Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-reply-to: <200302102220.h1AMKNE23788@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11573 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11573 In article <200302102220.h1AMKNE23788@rum.cs.yale.edu>, "Stefan Monnier" writes: > How about the change below ? > It removes `raw-text', `emacs-mule', and `no-conversion' from the > list of possible coding-systems to choose from (when prompting > the user during file-save) unless nothing else can be used. > I've found that people tend to misunderstand what those things > are and that such coding systems are only useful internally > or when used from elisp, but not as the coding-system > to use to save a given file. > Any objection ? I think it's a good idea. In select-safe-coding-system, now one can select a coding system not listed. So, removing them won't cause a big problem. If there's no objection, could you please install it? --- Ken'ichi HANDA handa@m17n.org > Index: international/mule-cmds.el > =================================================================== > RCS file: /cvsroot/emacs/emacs/lisp/international/mule-cmds.el,v > retrieving revision 1.221 > diff -u -r1.221 mule-cmds.el > --- international/mule-cmds.el 4 Feb 2003 13:09:38 -0000 1.221 > +++ international/mule-cmds.el 10 Feb 2003 22:16:19 -0000 > @@ -748,6 +746,14 @@ > (eq 'coding-category-iso-8-else > (coding-system-category elt))) > (push elt l)))) > + > + ;; Remove raw-text, emacs-mule and no-conversion unless nothing > + ;; else is available. > + (setq codings > + (or (delq 'raw-text > + (delq 'emacs-mule > + (delq 'no-conversion codings))) > + '(raw-text emacs-mule no-conversion))) > (let ((window-configuration (current-window-configuration))) > (save-excursion > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://mail.gnu.org/mailman/listinfo/emacs-devel