unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Warning when exiting shell on Windows
@ 2016-09-01 16:27 martin rudalics
  2016-09-01 16:34 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: martin rudalics @ 2016-09-01 16:27 UTC (permalink / raw)
  To: emacs-devel

This is with Emacs 25 on Windows XP.  With emacs -Q I type M-x shell and
in the shell buffer I immediately type exit.  This gets me the warning:


These default coding systems were tried to encode "c:/Program...":
   (iso-latin-1-dos (22006 . 8216) (22017 . 8217) (22021 . 8216) (22037
   . 8217) (22079 . 8216) (22097 . 8217))
However, each of them encountered characters it couldn’t encode:
   iso-latin-1-dos cannot encode these: ‘ ’ ‘ ’ ‘ ’


Since normally I use (set-language-environment "UTF-8") I never noticed
this before.  Do/should we, at least, warn about this somewhere?

martin




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

* Re: Warning when exiting shell on Windows
  2016-09-01 16:27 Warning when exiting shell on Windows martin rudalics
@ 2016-09-01 16:34 ` Eli Zaretskii
  2016-09-01 16:45   ` martin rudalics
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2016-09-01 16:34 UTC (permalink / raw)
  To: martin rudalics; +Cc: emacs-devel

> Date: Thu, 01 Sep 2016 18:27:33 +0200
> From: martin rudalics <rudalics@gmx.at>
> 
> This is with Emacs 25 on Windows XP.  With emacs -Q I type M-x shell and
> in the shell buffer I immediately type exit.  This gets me the warning:
> 
> 
> These default coding systems were tried to encode "c:/Program...":
>    (iso-latin-1-dos (22006 . 8216) (22017 . 8217) (22021 . 8216) (22037
>    . 8217) (22079 . 8216) (22097 . 8217))
> However, each of them encountered characters it couldn’t encode:
>    iso-latin-1-dos cannot encode these: ‘ ’ ‘ ’ ‘ ’

Where did those characters come from?  (I cannot reproduce this here.)



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

* Re: Warning when exiting shell on Windows
  2016-09-01 16:34 ` Eli Zaretskii
@ 2016-09-01 16:45   ` martin rudalics
  2016-09-01 16:51     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: martin rudalics @ 2016-09-01 16:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

>> However, each of them encountered characters it couldn’t encode:
>>     iso-latin-1-dos cannot encode these: ‘ ’ ‘ ’ ‘ ’
>
> Where did those characters come from?  (I cannot reproduce this here.)

No idea.  Meanwhile I can't reproduce it any more.  I'll get back
to you when the problem reappears.

martin





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

* Re: Warning when exiting shell on Windows
  2016-09-01 16:45   ` martin rudalics
@ 2016-09-01 16:51     ` Eli Zaretskii
  2016-09-01 17:12       ` martin rudalics
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2016-09-01 16:51 UTC (permalink / raw)
  To: martin rudalics; +Cc: emacs-devel

> Date: Thu, 01 Sep 2016 18:45:21 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: emacs-devel@gnu.org
> 
> >> However, each of them encountered characters it couldn’t encode:
> >>     iso-latin-1-dos cannot encode these: ‘ ’ ‘ ’ ‘ ’
> >
> > Where did those characters come from?  (I cannot reproduce this here.)
> 
> No idea.  Meanwhile I can't reproduce it any more.  I'll get back
> to you when the problem reappears.

What I don't understand is what were we trying to write, or send to
some process?  These warnings appear only under those conditions, but
AFAIK exiting from a sub-shell doesn't cause Emacs to write anything.



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

* Re: Warning when exiting shell on Windows
  2016-09-01 16:51     ` Eli Zaretskii
@ 2016-09-01 17:12       ` martin rudalics
  2016-09-01 17:21         ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: martin rudalics @ 2016-09-01 17:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

 > What I don't understand is what were we trying to write, or send to
 > some process?  These warnings appear only under those conditions, but
 > AFAIK exiting from a sub-shell doesn't cause Emacs to write anything.

".eshell/history"?

martin



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

* Re: Warning when exiting shell on Windows
  2016-09-01 17:12       ` martin rudalics
@ 2016-09-01 17:21         ` Eli Zaretskii
  2016-09-01 20:32           ` martin rudalics
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2016-09-01 17:21 UTC (permalink / raw)
  To: martin rudalics; +Cc: emacs-devel

> Date: Thu, 01 Sep 2016 19:12:06 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: emacs-devel@gnu.org
> 
>  > What I don't understand is what were we trying to write, or send to
>  > some process?  These warnings appear only under those conditions, but
>  > AFAIK exiting from a sub-shell doesn't cause Emacs to write anything.
> 
> ".eshell/history"?

But you said you invoked "M-x shell", not "M-x eshell"...



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

* Re: Warning when exiting shell on Windows
  2016-09-01 17:21         ` Eli Zaretskii
@ 2016-09-01 20:32           ` martin rudalics
  0 siblings, 0 replies; 7+ messages in thread
From: martin rudalics @ 2016-09-01 20:32 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

>> ".eshell/history"?
>
> But you said you invoked "M-x shell", not "M-x eshell"...

Yes.  But I was searching for an explanation ...

martin





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

end of thread, other threads:[~2016-09-01 20:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-01 16:27 Warning when exiting shell on Windows martin rudalics
2016-09-01 16:34 ` Eli Zaretskii
2016-09-01 16:45   ` martin rudalics
2016-09-01 16:51     ` Eli Zaretskii
2016-09-01 17:12       ` martin rudalics
2016-09-01 17:21         ` Eli Zaretskii
2016-09-01 20:32           ` martin rudalics

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