all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: List of possible coding systems
Date: Wed, 12 Feb 2003 09:09:08 +0900 (JST)	[thread overview]
Message-ID: <200302120009.JAA06293@etlken.m17n.org> (raw)
In-Reply-To: <200302102220.h1AMKNE23788@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu)

In article <200302102220.h1AMKNE23788@rum.cs.yale.edu>, "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu> 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

      parent reply	other threads:[~2003-02-12  0:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-10 22:20 List of possible coding systems Stefan Monnier
2003-02-11 22:25 ` Richard Stallman
2003-02-12  0:09 ` Kenichi Handa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200302120009.JAA06293@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.