unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* prompt: "Select one of these safe coding systems"
@ 2002-11-24 19:19 D. Goel
  2002-11-24 20:11 ` Hubert Chan
  2002-11-25  6:02 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: D. Goel @ 2002-11-24 19:19 UTC (permalink / raw)




hi

Here, emacs (21.2) always prompts for a "safe" coding system (when
trying to save the bdbb file)--->

,----
| 
| These default coding systems were tried:
|   iso-2022-7bit-unix iso-latin-1
| However, none of them safely encodes the target text.
| 
| Select one of the following safe coding systems:
|   utf-8 raw-text emacs-mule no-conversion. 
`----

So, I tried to set-language-environment (used to be english) to
Latin-1, but emacs continued to prompt the first option being utf-8.

So, I tried to setq default-buffer-file-coding-system to 'utf-8, but
emacs still continued to show the same prompt.

I then tried the same coding-system utf-8 with english as well, but
still got the same prompt.

So

[1] It seems I cannot get emacs to follow a system I want (utf-8) by
default.  It still tries other systems and then shows me utf-8 among
the list of choices.  What am i doing wrong?

[2] If emacs cannot "safely" encode, how do i ask it to please not
prompt me, but simply select the first from the "safe" "alternatives"
shows me?


[3] Any other hints or workarounds, considering this situation?
I really want to get rid of this prompt :(, esp. since the prompt
shows up for not me but for an infobot, which is supposed to be run
noninteractively.  I don't care too much how it stores any
international characters that may have shown up, as long as it stores
the 99.9% english part just fine---i just want emacs to select
somethigng and just do it. The main problem is that the bot gets stuck
in the minibuffer which is really bad for other bot functions.  BTW,
FWIW, emacs is running in console for the bot.

Thanks for any hints. 
DG                                 http://deego.gnufans.org/~deego/
--

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <mailman.1038204262.25648.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2002-11-25 12:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-24 19:19 prompt: "Select one of these safe coding systems" D. Goel
2002-11-24 20:11 ` Hubert Chan
2002-11-24 21:33   ` D. Goel
2002-11-25  6:02 ` Eli Zaretskii
     [not found] <mailman.1038204262.25648.help-gnu-emacs@gnu.org>
2002-11-25 12:01 ` D. Goel

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).