unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Saving when the coding system can't code all buffer characters
@ 2006-12-21 22:40 Lennart Borgman
  2006-12-22 10:50 ` Eli Zaretskii
  2006-12-22 21:03 ` Richard Stallman
  0 siblings, 2 replies; 36+ messages in thread
From: Lennart Borgman @ 2006-12-21 22:40 UTC (permalink / raw)


After a paste of some info to an Emacs buffer I got this message when 
trying to save the buffer:

These default coding systems were tried to encode text
in the buffer `temp-lang.c':
iso-latin-1-dos
However, each of them encountered these problematic characters:
iso-latin-1-dos: ’
The first problematic character is at point in the displayed buffer,
and C-u C-x = will give information about it.

At the prompt "Select coding system (default mule-utf-8):" this just 
gives information about the minibuffer. And when using C-g to quit the 
problematic character disappears from screen. Quite inconvenient IMHO. 
Could it be made a bit easier to use please?

^ permalink raw reply	[flat|nested] 36+ messages in thread
* Re: Saving when the coding system can't code all buffer characters
@ 2006-12-22 11:15 LENNART BORGMAN
  2006-12-22 11:50 ` Eli Zaretskii
  0 siblings, 1 reply; 36+ messages in thread
From: LENNART BORGMAN @ 2006-12-22 11:15 UTC (permalink / raw)
  Cc: emacs-devel

From: Eli Zaretskii <eliz@gnu.org>
Date: Friday, December 22, 2006 11:50 am
Subject: Re: Saving when the coding system can't code all buffer characters

> > Date: Thu, 21 Dec 2006 23:40:53 +0100
> > From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> > 
> > At the prompt "Select coding system (default mule-utf-8):" this 
> just 
> > gives information about the minibuffer.
> 
> ??? What do you mean by that?  I think it tells you what encoding will
> be used if you just hit RET.

I meant that 

  C-u C-x =

at the prompt gives information about the current position in the minibuffer. Or am I wrong?


> > And when using C-g to quit the problematic character disappears from
> > screen. Quite inconvenient IMHO.
> 
> The text is still available in the buffer names "*Warning*", and you
> can always get back to it if you try to save the buffer again.


But is not that hard to know?

 
> > Could it be made a bit easier to use please?
> 
> Please suggest an easier way, given that just hitting RET will DTRT.


It would IMHO be much more convenient if point in the buffer to save was left at the problematic character.

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2007-01-09  7:23 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-21 22:40 Saving when the coding system can't code all buffer characters Lennart Borgman
2006-12-22 10:50 ` Eli Zaretskii
2006-12-22 21:03 ` Richard Stallman
2006-12-23 12:09   ` Kenichi Handa
2006-12-24  1:35     ` Richard Stallman
2006-12-25  6:00       ` Kenichi Handa
2006-12-26  2:25         ` Richard Stallman
2006-12-27  1:39           ` Kenichi Handa
2006-12-27  2:59             ` Lennart Borgman (gmail)
2006-12-27  5:13               ` Kenichi Handa
2006-12-27 13:27                 ` Eli Zaretskii
2006-12-27 21:16                   ` Richard Stallman
2006-12-28  2:09                   ` Kenichi Handa
2006-12-27  8:28             ` Eli Zaretskii
2006-12-27 11:06               ` Kenichi Handa
2006-12-27 12:20                 ` Eli Zaretskii
2006-12-27 12:37                   ` Lennart Borgman (gmail)
2006-12-27 14:17                     ` Eli Zaretskii
2006-12-28  0:31                   ` Kenichi Handa
2006-12-27 21:16             ` Richard Stallman
2006-12-28  1:32               ` Kenichi Handa
2006-12-28  4:20               ` Eli Zaretskii
2006-12-29 15:44                 ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2006-12-22 11:15 LENNART BORGMAN
2006-12-22 11:50 ` Eli Zaretskii
2006-12-22 15:48   ` David Kastrup
2006-12-22 16:23     ` Lennart Borgman
2006-12-23  7:31       ` David Kastrup
2006-12-31 14:36       ` Sascha Wilde
2006-12-31 16:04         ` Lennart Borgman
2006-12-31 19:27           ` Aidan Kehoe
2007-01-09  7:23         ` Kenichi Handa
2006-12-22 17:35   ` Lennart Borgman
2006-12-23 20:14   ` Richard Stallman
2006-12-23 20:41     ` Lennart Borgman
2006-12-24 17:09       ` Richard Stallman

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