GNU bug report logs -
#4816
change of coding system without inquiry
Previous Next
Reported by: eisinger <at> informatik.uni-muenchen.de
Date: Tue, 27 Oct 2009 23:10:05 UTC
Severity: minor
Tags: patch
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
(Bug report about Latin-1 files becoming UTF-8.)
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> + (unless (or (local-variable-p 'buffer-file-coding-system)
> + (eq coding-system buffer-file-coding-system)
> + ;; We'd rather only bother the user if the coding-system
> + ;; change would cause the file's content to change, so we'd
> + ;; want to check whether the new coding-system is a superset
> + ;; of the previous one.
> + (memq buffer-file-coding-system '(nil undecided us-ascii))
> + (y-or-n-p (format "Change encoding from %s to %s? "
> + buffer-file-coding-system coding-system)))
> + (setq coding-system nil))
Eli Zaretskii <eliz <at> gnu.org> writes:
> FWIW, in the past users explicitly expressed annoyance by these
> questions. The request was to use the "native" encoding silently. By
> introducing back this question, we are restoring that annoyance.
Perhaps it's time to make a decision now -- to not add a change like this?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.