unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu>
Cc: rms@gnu.org, d.love@dl.ac.uk, emacs-devel@gnu.org
Subject: Re: enhanced select-safe-coding-system
Date: Wed, 01 May 2002 14:51:52 -0400	[thread overview]
Message-ID: <200205011851.g41Ipqx05930@rum.cs.yale.edu> (raw)
In-Reply-To: 2561-Wed01May2002192739+0300-eliz@is.elta.co.il

> > From: Richard Stallman <rms@gnu.org>
> > Date: Wed, 1 May 2002 01:14:52 -0600 (MDT)
> > 
> > Does anyone see a problem with these changes?
> 
> Shouldn't we disallow saving a file whose coding: says something
> different from the actual encoding?  Is there any situation when such
> a file means anything but trouble when it is visited?

I'm not sure what to say.
On the one hand I agree, but on the other I have found myself annoyed
at select-safe-coding-system's insistence that I select a coding-system
that it deemed safe (whereas I wanted another coding-system which I knew
was safe even though Emacs disagreed).

So I think that select-safe-coding-system should be changed to allow
the user to select an unsafe coding-system and that it should
also be possible to save with a different coding-system than the
one specified in the `coding:' tag.
But in both cases, it should only allow it after the user has gone
through a fair bit of warnings and questions (and/or something
like (put 'eval-expression 'disabled nil)).


	Stefan

  reply	other threads:[~2002-05-01 18:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <rzqk7qp2log.fsf@djlvig.dl.ac.uk>
2002-05-01  7:14 ` enhanced select-safe-coding-system Richard Stallman
2002-05-01 16:27   ` Eli Zaretskii
2002-05-01 18:51     ` Stefan Monnier [this message]
2002-05-02 22:16     ` Richard Stallman
2002-05-02 22:41     ` Dave Love
2002-05-03  7:54       ` Eli Zaretskii
2002-05-04 23:01         ` Dave Love
2002-05-02 22:39   ` Dave Love
2002-05-03 13:27     ` Stefan Monnier
2002-05-04  3:36       ` Richard Stallman
2002-05-05 23:06         ` Stefan Monnier
2002-05-04 22:56       ` Dave Love
2002-05-05 23:24         ` Stefan Monnier
2002-05-08 22:17           ` Dave Love
2002-05-14 19:41           ` Richard Stallman
2002-05-14 19:52             ` Stefan Monnier
2002-05-16  7:21               ` Richard Stallman
2002-05-04  3:36     ` Richard Stallman
2002-05-04 23:11       ` Dave Love

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=200205011851.g41Ipqx05930@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --cc=d.love@dl.ac.uk \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).