From: D. Goel <deego@gnufans.org>
Subject: prompt: "Select one of these safe coding systems"
Date: 24 Nov 2002 14:19:31 -0500 [thread overview]
Message-ID: <87smxqzsfw.fsf@computer.localdomain> (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/
--
next reply other threads:[~2002-11-24 19:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-24 19:19 D. Goel [this message]
2002-11-24 20:11 ` prompt: "Select one of these safe coding systems" 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
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=87smxqzsfw.fsf@computer.localdomain \
--to=deego@gnufans.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.
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).