From unknown Mon Jun 23 13:15:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13392: 24.1; Shell/Unicode/Python issue Resent-From: Mike Travers Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Jan 2013 20:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13392 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13392@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.135767844427654 (code B ref -1); Tue, 08 Jan 2013 20:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jan 2013 20:54:04 +0000 Received: from localhost ([127.0.0.1]:57318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsgBO-0007Bx-9S for submit@debbugs.gnu.org; Tue, 08 Jan 2013 15:54:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42467) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tsfr5-0006ie-Qk for submit@debbugs.gnu.org; Tue, 08 Jan 2013 15:33:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tsfqp-0006NY-O4 for submit@debbugs.gnu.org; Tue, 08 Jan 2013 15:32:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsfqp-0006NU-LF for submit@debbugs.gnu.org; Tue, 08 Jan 2013 15:32:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsfqk-0001Gr-MV for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2013 15:32:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tsfqf-0006KN-9k for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2013 15:32:42 -0500 Received: from mail-qa0-f45.google.com ([209.85.216.45]:51156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsfqf-0006KF-62 for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2013 15:32:37 -0500 Received: by mail-qa0-f45.google.com with SMTP id j15so100788qaq.11 for ; Tue, 08 Jan 2013 12:32:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=sV+yHe6nN71O/aZDIBZlTwbDsfFZ1VtSl9CqNWE9008=; b=IW87plNpYqJlNgK6sfuBHmjQcvklO9PzSzDTpQzK21857lTWxcD9EkeR1GcxkE5QFl rr71hlRMYS+AslG1mLjiFhfKnhOFlKru6BFQ2pMEe/ngJC5YRGk2lmiviVwetYRGWUYY qpOLPUZHdfuhuT5dIrJHRlXXd/nJd9AhxyxLfEKa0Uvposj0mQakr4vBFBBqNZ1G0SCL DgCv9HN/jaeUr9UmnBDelHSahadIzInj6kgLjmJgHb/oa7xxqoGi0bfrrBcJcZN2uskG aWKL7otkeYNkVLVEM+pnsMKX4u5dqz51cYA+MtbOFr6RTwk9QLosJm+B6FtPkhAnaoGK u/eA== Received: by 10.229.198.155 with SMTP id eo27mr11568395qcb.92.1357677156556; Tue, 08 Jan 2013 12:32:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.36.229 with HTTP; Tue, 8 Jan 2013 12:32:05 -0800 (PST) From: Mike Travers Date: Tue, 8 Jan 2013 12:32:05 -0800 X-Google-Sender-Auth: nD51bZLnzeD9hOCpRQQstVAbW9w Message-ID: Content-Type: multipart/alternative; boundary=001636e0b417a2df4a04d2ccd87a X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Mailman-Approved-At: Tue, 08 Jan 2013 15:54:01 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --001636e0b417a2df4a04d2ccd87a Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I am very happy with Emacs Unicode support and use it all the time. However, the shell apparently is not as Unicode-friendly as it should be. Sorry I don=92t know how to reproduce this bug in pure Emacs, it requires installing an external program. This is a python script, that in some cases dies because the stream it tries to output doesn=92t support Unicode. The program works fine in a standard Mac Terminal window, but not within Emacs. More details here: https://github.com/gleitz/howdoi/issues/9#issuecomment-12014746 I attempted to set the buffer coding system to utf-8, but that didn=92t hel= p. In GNU Emacs 24.1.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-06-10 on bob.porkrind.org Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure '--host=3Dx86_64-apple-darwin' '--build=3Di686-apple-darwin' '--with-ns' 'build_alias=3Di686-apple-darwin' 'host_alias=3Dx86_64-apple-darwin' 'CC=3Dgcc -mmacosx-version-min=3D10.5'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t dynamic-completion-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: e m h o w d i o i SPC m a k e SPC m o n e y h o w d o i SPC f i n g d SPC t h e SPC M-b M-b C-k r e c o v e r SPC t h e SPC h o l y SPC g r a i l C-a M-f M-f C-M-b C-M-k f i n d C-a M-f SPC - l C-p h o w d o i SPC g e t SPC t e n u r e C-a M-f SPC - l C-a M-f M-f M-b C-k C-b C-k w i n SPC t h e SPC h e a r t SPC o f SPC a SPC f a i r SPC m a i d e n h o w d i o i SPC w i n SPC a SPC l a n g SPC w a d SPC w a r SPC i n SPC a s i a C-a M-f M-f M-b C-k r e a c h SPC e n l i g h t M-b M-b C-k a t t a i n SPC e n l i g h t e n m e n t C-a M-f M-f M-b C-a C-k p u y t y u t h o n SPC - - v e r s i o n C-p x e w r e p o r e t e Recent messages: Saving file /misc/cdd/cdd/ruby/spec/controllers/api/v1/molecules_controller_spec.rb... Wrote /misc/cdd/cdd/ruby/spec/controllers/api/v1/molecules_controller_spec.rb (No changes need to be saved) History item: 1 [2 times] Mark set byte-code: End of buffer History item: 1 [4 times] Mark set History item: 1 [8 times] Making completion list... Load-path shadows: None found. Features: (shadow mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils cus-start cus-load pcmpl-unix sort nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok macros add-log log-view pcvs-util find-dired grep compile iso-transl wid-edit descr-text xub-mode vc-dispatcher vc-svn sgml-mode tabify dired-aux network-stream starttls tls slime-repl slime hyperspec browse-url vc-hg org-special-blocks org-w3m org-wl org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org warnings ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete org-list org-faces org-compat org-entities org-macs noutline outline cal-menu calendar cal-loaddefs jka-compr find-func multi-isearch image-mode apropos ibuf-ext ibuffer tramp-cache tramp tramp-compat auth-source eieio assoc gnus-util mm-util mail-prsvr password-cache format-spec tramp-loaddefs ielm pp etags vc-git face-remap help-mode view dired shell pcomplete comint ansi-color ring time textmate ido haml-mode derived js byte-opt bytecomp byte-compile cconv macroexp json imenu thingatpt javascript-mode newcomment cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs css-mode ruby-mode regexp-opt cl edmacro kmacro completion smart-quotes easy-mmode annot advice help-fns advice-preload cdd-startup mt-el-hacks mt-slime time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) --001636e0b417a2df4a04d2ccd87a Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
I am very happy with Emacs Unicode support and use it all the
time. However, the shell apparently is not as Unicode-friendly as it=
should be.

Sorry I don=92t know how to = reproduce this bug in pure Emacs, it requires
installing an external program. This is a python script, that in some<= /div>
cases dies because the stream it tries to output doesn=92t suppor= t
Unicode. The program works fine in a standard Mac Terminal wind= ow, but
not within Emacs.

More details here:
https://github.com/gleitz/howdoi/issues/9#issuecomment-12014746

I attempted to set the buffer coding system to utf-8, b= ut that didn=92t help.



In GNU Emacs 24.1.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
=A0of 2012-06-10 on bob.porkrind.o= rg
Windowing system distributor `Apple', version 10.3.118= 7
Configured using:
=A0`configure '--host=3Dx86_64-= apple-darwin' '--build=3Di686-apple-darwin'
=A0'--with-ns' 'build_alias=3Di686-apple-darwin'
=
=A0'host_alias=3Dx86_64-apple-darwin' 'CC=3Dgcc -mmacosx-v= ersion-min=3D10.5''

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_COLLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil
=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil=
=A0 value of $LC_TIME: nil
=A0 value of $LANG: nil
=A0 = value of $XMODIFIERS: nil
=A0 locale-coding-system: nil
=A0 default enable-multibyte-characters: t

Major = mode: Shell

Minor modes in effect:
=A0 shell-dirtrack-mod= e: t
=A0 dynamic-completion-mode: t
=A0 tooltip-mode: t=
=A0 mouse-wheel-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0 font-lock-mode: t
=A0 blink-cursor-mode: t
=A0 auto-composition-mode: t
= =A0 auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
=A0 transient-mark-mode: t

Recent input:
e m <return> <help-echo> h o w d i <backspace> o i= =A0
SPC m a k e SPC m o n e y <return> <help-echo> h = o=A0
w d o i SPC f i n g <backspace> d SPC t h e SPC M-b=A0
M-b C-k r e c o v e r SPC t h e SPC h o l y SPC g r=A0
a i <r= eturn> <C-up> l <return> <C-up> C-a M-f M-f C-M-b=A0
C-M-k f i n d <return> <C-up> C-a M-f SPC - l <return&g= t;=A0
C-p <down-mouse-1> <mouse-1> <down-mouse-1&g= t; <mouse-1>=A0
<help-echo> h o w d o i SPC g e t SPC= t e n u r e <return>=A0
<C-up> C-a M-f SPC - l <return> <C-up> C-a M-f M-f= =A0
M-b C-k C-b C-k w i n SPC t h e SPC h e a r t SPC o=A0
<= div>f SPC a SPC f a i r SPC m a i d e n <return> <help-echo>=A0=
<help-echo> <help-echo> h o w d i <backspace> o i SP= C=A0
w i n SPC a SPC l a n g SPC w a <backspace> <backsp= ace>=A0
<backspace> <backspace> d SPC w a r SPC i = n SPC a s=A0
i a <return> <C-up> C-a M-f M-f M-b C-k r e a c h SPC=A0
e n l i g h t M-b M-b C-k a t t a i n SPC e n l i g=A0
h= t e n m e n t <return> <help-echo> <C-up> C-a M-f=A0
M-f M-b C-a C-k p u y t <backspace> <backspace> <backsp= ace>=A0
y u <backspace> t h o n SPC - - v e r s i o n &l= t;return>=A0
C-p <escape> x e w <backspace> <ba= ckspace> r e p o=A0
<tab> r e <tab> <backspace> t <tab> e <back= space> <tab>=A0
<return>

= Recent messages:
Saving file /misc/cdd/cdd/ruby/spec/controllers/= api/v1/molecules_controller_spec.rb...
Wrote /misc/cdd/cdd/ruby/spec/controllers/api/v1/molecules_controller_= spec.rb
(No changes need to be saved)
History item: 1 [= 2 times]
Mark set
byte-code: End of buffer
History item: 1 [4 times]
Mark set
History item: 1 [8 t= imes]
Making completion list...

Load-pat= h shadows:
None found.

Features:
(shadow mail-extr emacsbug message rfc822 mml mml-sec mm-decode
<= div>mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader<= /div>
sendmail rfc2047 rfc2045 ietf-drums mail-utils cus-start cus-load=
pcmpl-unix sort nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml
=
rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-ut= il
rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml= -glyph
nxml-enc xmltok macros add-log log-view pcvs-util find-dired grep
compile iso-transl wid-edit descr-text xub-mode vc-dispatcher vc-svn<= /div>
sgml-mode tabify dired-aux network-stream starttls tls slime-repl= slime
hyperspec browse-url vc-hg org-special-blocks org-w3m org-wl org-vm
org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html or= g-exp
ob-exp org-exp-blocks org-agenda org-info org-gnus org-docv= iew
org-bibtex bibtex org-bbdb org warnings ob-emacs-lisp ob-tangle ob-ref=
ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eva= l
org-pcomplete org-list org-faces org-compat org-entities org-ma= cs
noutline outline cal-menu calendar cal-loaddefs jka-compr find-func
multi-isearch image-mode apropos ibuf-ext ibuffer tramp-cache tramp=
tramp-compat auth-source eieio assoc gnus-util mm-util mail-prsv= r
password-cache format-spec tramp-loaddefs ielm pp etags vc-git
face-remap help-mode view dired shell pcomplete comint ansi-color ring
time textmate ido haml-mode derived js byte-opt bytecomp byte-comp= ile
cconv macroexp json imenu thingatpt javascript-mode newcomment cc-mode=
cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align c= c-engine
cc-vars cc-defs css-mode ruby-mode regexp-opt cl edmacro= kmacro
completion smart-quotes easy-mmode annot advice help-fns advice-preloa= d
cdd-startup mt-el-hacks mt-slime time-date tooltip ediff-hook v= c-hooks
lisp-float-type mwheel ns-win tool-bar dnd fontset image = fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham geor= gian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao ko= rean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abb= rev
minibuffer loaddefs button faces cus-face files text-properti= es overlay
sha1 md5 base64 format env code-pages mule custom widget
has= htable-print-readable backquote make-network-process ns multi-tty
emacs)

--001636e0b417a2df4a04d2ccd87a-- From unknown Mon Jun 23 13:15:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13392: 24.1; Shell/Unicode/Python issue Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Jan 2013 05:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13392 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mike Travers Cc: 13392@debbugs.gnu.org Received: via spool by 13392-submit@debbugs.gnu.org id=B13392.13579683008430 (code B ref 13392); Sat, 12 Jan 2013 05:25:02 +0000 Received: (at 13392) by debbugs.gnu.org; 12 Jan 2013 05:25:00 +0000 Received: from localhost ([127.0.0.1]:56114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TttaV-0002Bu-Ck for submit@debbugs.gnu.org; Sat, 12 Jan 2013 00:25:00 -0500 Received: from mail-pb0-f51.google.com ([209.85.160.51]:62507) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TttaT-0002Bh-8Z for 13392@debbugs.gnu.org; Sat, 12 Jan 2013 00:24:57 -0500 Received: by mail-pb0-f51.google.com with SMTP id ro12so1304636pbb.24 for <13392@debbugs.gnu.org>; Fri, 11 Jan 2013 21:24:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=Sjdkqrsc2m0X88PDnvq8Z6voAqXNzTBlecx08p9v30c=; b=t/x57o7QrYN/k9JdrKbOoIPZUCCGb3ebgg15WICsC8ucz3ibUcLIyfbhvZQfQ/a+1H R9RR1xHu6vBRwK/4fpaTSXdQ4qoAuJyubSo/tmUW92ebT/yvYMZNIkm9NdYSa17YWuP1 Cm/BsD5/jIas77hr+y1WsaL2S6IIF7QYLbtMeyXxkxOmQngg/i7nGMm8R+NG25NdmNoI KMiM1/gvawbg+dD8uPsSELrVFTXFnc7bMiBKT7oEteQSCealSijUxW3bS6PDotxbHGCf CUzFd+BzeLCwgXVeH17slZddoAzTmDXRNvJLGYiC3xX7qcpSajRN18RXLu/dbjuGTzMO 0ZcA== X-Received: by 10.66.73.2 with SMTP id h2mr47726718pav.59.1357968280866; Fri, 11 Jan 2013 21:24:40 -0800 (PST) Received: from tsparkle ([155.69.168.49]) by mx.google.com with ESMTPS id i1sm4366686pav.35.2013.01.11.21.24.38 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 11 Jan 2013 21:24:39 -0800 (PST) From: Chong Yidong References: Date: Sat, 12 Jan 2013 13:24:35 +0800 In-Reply-To: (Mike Travers's message of "Tue, 8 Jan 2013 12:32:05 -0800") Message-ID: <87zk0f3re4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) Mike Travers writes: > I am very happy with Emacs Unicode support and use it all the > time. However, the shell apparently is not as Unicode-friendly as it > should be. > > Sorry I don=E2=80=99t know how to reproduce this bug in pure Emacs, it > requires installing an external program. This is a python script, that > in some cases dies because the stream it tries to output doesn=E2=80=99t > support Unicode. The program works fine in a standard Mac Terminal > window, but not within Emacs. > > More details here: > https://github.com/gleitz/howdoi/issues/9#issuecomment-12014746 That link doesn't really provide a recipe either. It seems to indicate that the problem is fixed? If not, please show the value of default-process-coding-system. And try doing C-x RET c to specify a coding system for the shell, before calling M-x shell (see the `shell' docstring for details). From unknown Mon Jun 23 13:15:30 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mike Travers Subject: bug#13392: closed (24.1; Shell/Unicode/Python issue) Message-ID: References: <878uzfffz2.fsf@gnu.org> X-Gnu-PR-Message: they-closed 13392 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo Reply-To: 13392@debbugs.gnu.org Date: Mon, 02 Sep 2013 14:37:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1378132623-6313-1" This is a multi-part message in MIME format... ------------=_1378132623-6313-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #13392: 24.1; Shell/Unicode/Python issue which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 13392@debbugs.gnu.org. --=20 13392: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13392 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1378132623-6313-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 13392-done) by debbugs.gnu.org; 2 Sep 2013 14:36:24 +0000 Received: from localhost ([127.0.0.1]:37589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGVEu-0001cp-Bj for submit@debbugs.gnu.org; Mon, 02 Sep 2013 10:36:24 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34656 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGVEs-0001ch-GJ for 13392-done@debbugs.gnu.org; Mon, 02 Sep 2013 10:36:23 -0400 Received: from [181.164.60.202] (port=51415 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1VGVEo-0002lZ-Rg; Mon, 02 Sep 2013 10:36:19 -0400 User-agent: mu4e 0.9.9.5; emacs 24.3.1 From: fgallina@gnu.org To: 13392-done@debbugs.gnu.org Subject: 24.1; Shell/Unicode/Python issue Date: Mon, 02 Sep 2013 11:36:17 -0300 Message-ID: <878uzfffz2.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -7.4 (-------) X-Debbugs-Envelope-To: 13392-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.4 (-------) Closing as invalid, the unicode issue is likely a module issue than a python.el one, also 8 months passed by with no reply. Regards Fabián. ------------=_1378132623-6313-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Jan 2013 20:54:04 +0000 Received: from localhost ([127.0.0.1]:57318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsgBO-0007Bx-9S for submit@debbugs.gnu.org; Tue, 08 Jan 2013 15:54:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42467) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tsfr5-0006ie-Qk for submit@debbugs.gnu.org; Tue, 08 Jan 2013 15:33:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tsfqp-0006NY-O4 for submit@debbugs.gnu.org; Tue, 08 Jan 2013 15:32:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsfqp-0006NU-LF for submit@debbugs.gnu.org; Tue, 08 Jan 2013 15:32:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsfqk-0001Gr-MV for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2013 15:32:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tsfqf-0006KN-9k for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2013 15:32:42 -0500 Received: from mail-qa0-f45.google.com ([209.85.216.45]:51156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsfqf-0006KF-62 for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2013 15:32:37 -0500 Received: by mail-qa0-f45.google.com with SMTP id j15so100788qaq.11 for ; Tue, 08 Jan 2013 12:32:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=sV+yHe6nN71O/aZDIBZlTwbDsfFZ1VtSl9CqNWE9008=; b=IW87plNpYqJlNgK6sfuBHmjQcvklO9PzSzDTpQzK21857lTWxcD9EkeR1GcxkE5QFl rr71hlRMYS+AslG1mLjiFhfKnhOFlKru6BFQ2pMEe/ngJC5YRGk2lmiviVwetYRGWUYY qpOLPUZHdfuhuT5dIrJHRlXXd/nJd9AhxyxLfEKa0Uvposj0mQakr4vBFBBqNZ1G0SCL DgCv9HN/jaeUr9UmnBDelHSahadIzInj6kgLjmJgHb/oa7xxqoGi0bfrrBcJcZN2uskG aWKL7otkeYNkVLVEM+pnsMKX4u5dqz51cYA+MtbOFr6RTwk9QLosJm+B6FtPkhAnaoGK u/eA== Received: by 10.229.198.155 with SMTP id eo27mr11568395qcb.92.1357677156556; Tue, 08 Jan 2013 12:32:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.36.229 with HTTP; Tue, 8 Jan 2013 12:32:05 -0800 (PST) From: Mike Travers Date: Tue, 8 Jan 2013 12:32:05 -0800 X-Google-Sender-Auth: nD51bZLnzeD9hOCpRQQstVAbW9w Message-ID: Subject: 24.1; Shell/Unicode/Python issue To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001636e0b417a2df4a04d2ccd87a X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 08 Jan 2013 15:54:01 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --001636e0b417a2df4a04d2ccd87a Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I am very happy with Emacs Unicode support and use it all the time. However, the shell apparently is not as Unicode-friendly as it should be. Sorry I don=92t know how to reproduce this bug in pure Emacs, it requires installing an external program. This is a python script, that in some cases dies because the stream it tries to output doesn=92t support Unicode. The program works fine in a standard Mac Terminal window, but not within Emacs. More details here: https://github.com/gleitz/howdoi/issues/9#issuecomment-12014746 I attempted to set the buffer coding system to utf-8, but that didn=92t hel= p. In GNU Emacs 24.1.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-06-10 on bob.porkrind.org Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure '--host=3Dx86_64-apple-darwin' '--build=3Di686-apple-darwin' '--with-ns' 'build_alias=3Di686-apple-darwin' 'host_alias=3Dx86_64-apple-darwin' 'CC=3Dgcc -mmacosx-version-min=3D10.5'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t dynamic-completion-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: e m h o w d i o i SPC m a k e SPC m o n e y h o w d o i SPC f i n g d SPC t h e SPC M-b M-b C-k r e c o v e r SPC t h e SPC h o l y SPC g r a i l C-a M-f M-f C-M-b C-M-k f i n d C-a M-f SPC - l C-p h o w d o i SPC g e t SPC t e n u r e C-a M-f SPC - l C-a M-f M-f M-b C-k C-b C-k w i n SPC t h e SPC h e a r t SPC o f SPC a SPC f a i r SPC m a i d e n h o w d i o i SPC w i n SPC a SPC l a n g SPC w a d SPC w a r SPC i n SPC a s i a C-a M-f M-f M-b C-k r e a c h SPC e n l i g h t M-b M-b C-k a t t a i n SPC e n l i g h t e n m e n t C-a M-f M-f M-b C-a C-k p u y t y u t h o n SPC - - v e r s i o n C-p x e w r e p o r e t e Recent messages: Saving file /misc/cdd/cdd/ruby/spec/controllers/api/v1/molecules_controller_spec.rb... Wrote /misc/cdd/cdd/ruby/spec/controllers/api/v1/molecules_controller_spec.rb (No changes need to be saved) History item: 1 [2 times] Mark set byte-code: End of buffer History item: 1 [4 times] Mark set History item: 1 [8 times] Making completion list... Load-path shadows: None found. Features: (shadow mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils cus-start cus-load pcmpl-unix sort nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok macros add-log log-view pcvs-util find-dired grep compile iso-transl wid-edit descr-text xub-mode vc-dispatcher vc-svn sgml-mode tabify dired-aux network-stream starttls tls slime-repl slime hyperspec browse-url vc-hg org-special-blocks org-w3m org-wl org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org warnings ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete org-list org-faces org-compat org-entities org-macs noutline outline cal-menu calendar cal-loaddefs jka-compr find-func multi-isearch image-mode apropos ibuf-ext ibuffer tramp-cache tramp tramp-compat auth-source eieio assoc gnus-util mm-util mail-prsvr password-cache format-spec tramp-loaddefs ielm pp etags vc-git face-remap help-mode view dired shell pcomplete comint ansi-color ring time textmate ido haml-mode derived js byte-opt bytecomp byte-compile cconv macroexp json imenu thingatpt javascript-mode newcomment cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs css-mode ruby-mode regexp-opt cl edmacro kmacro completion smart-quotes easy-mmode annot advice help-fns advice-preload cdd-startup mt-el-hacks mt-slime time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) --001636e0b417a2df4a04d2ccd87a Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
I am very happy with Emacs Unicode support and use it all the
time. However, the shell apparently is not as Unicode-friendly as it=
should be.

Sorry I don=92t know how to = reproduce this bug in pure Emacs, it requires
installing an external program. This is a python script, that in some<= /div>
cases dies because the stream it tries to output doesn=92t suppor= t
Unicode. The program works fine in a standard Mac Terminal wind= ow, but
not within Emacs.

More details here:
https://github.com/gleitz/howdoi/issues/9#issuecomment-12014746

I attempted to set the buffer coding system to utf-8, b= ut that didn=92t help.



In GNU Emacs 24.1.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
=A0of 2012-06-10 on bob.porkrind.o= rg
Windowing system distributor `Apple', version 10.3.118= 7
Configured using:
=A0`configure '--host=3Dx86_64-= apple-darwin' '--build=3Di686-apple-darwin'
=A0'--with-ns' 'build_alias=3Di686-apple-darwin'
=
=A0'host_alias=3Dx86_64-apple-darwin' 'CC=3Dgcc -mmacosx-v= ersion-min=3D10.5''

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_COLLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil
=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil=
=A0 value of $LC_TIME: nil
=A0 value of $LANG: nil
=A0 = value of $XMODIFIERS: nil
=A0 locale-coding-system: nil
=A0 default enable-multibyte-characters: t

Major = mode: Shell

Minor modes in effect:
=A0 shell-dirtrack-mod= e: t
=A0 dynamic-completion-mode: t
=A0 tooltip-mode: t=
=A0 mouse-wheel-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0 font-lock-mode: t
=A0 blink-cursor-mode: t
=A0 auto-composition-mode: t
= =A0 auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
=A0 transient-mark-mode: t

Recent input:
e m <return> <help-echo> h o w d i <backspace> o i= =A0
SPC m a k e SPC m o n e y <return> <help-echo> h = o=A0
w d o i SPC f i n g <backspace> d SPC t h e SPC M-b=A0
M-b C-k r e c o v e r SPC t h e SPC h o l y SPC g r=A0
a i <r= eturn> <C-up> l <return> <C-up> C-a M-f M-f C-M-b=A0
C-M-k f i n d <return> <C-up> C-a M-f SPC - l <return&g= t;=A0
C-p <down-mouse-1> <mouse-1> <down-mouse-1&g= t; <mouse-1>=A0
<help-echo> h o w d o i SPC g e t SPC= t e n u r e <return>=A0
<C-up> C-a M-f SPC - l <return> <C-up> C-a M-f M-f= =A0
M-b C-k C-b C-k w i n SPC t h e SPC h e a r t SPC o=A0
<= div>f SPC a SPC f a i r SPC m a i d e n <return> <help-echo>=A0=
<help-echo> <help-echo> h o w d i <backspace> o i SP= C=A0
w i n SPC a SPC l a n g SPC w a <backspace> <backsp= ace>=A0
<backspace> <backspace> d SPC w a r SPC i = n SPC a s=A0
i a <return> <C-up> C-a M-f M-f M-b C-k r e a c h SPC=A0
e n l i g h t M-b M-b C-k a t t a i n SPC e n l i g=A0
h= t e n m e n t <return> <help-echo> <C-up> C-a M-f=A0
M-f M-b C-a C-k p u y t <backspace> <backspace> <backsp= ace>=A0
y u <backspace> t h o n SPC - - v e r s i o n &l= t;return>=A0
C-p <escape> x e w <backspace> <ba= ckspace> r e p o=A0
<tab> r e <tab> <backspace> t <tab> e <back= space> <tab>=A0
<return>

= Recent messages:
Saving file /misc/cdd/cdd/ruby/spec/controllers/= api/v1/molecules_controller_spec.rb...
Wrote /misc/cdd/cdd/ruby/spec/controllers/api/v1/molecules_controller_= spec.rb
(No changes need to be saved)
History item: 1 [= 2 times]
Mark set
byte-code: End of buffer
History item: 1 [4 times]
Mark set
History item: 1 [8 t= imes]
Making completion list...

Load-pat= h shadows:
None found.

Features:
(shadow mail-extr emacsbug message rfc822 mml mml-sec mm-decode
<= div>mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader<= /div>
sendmail rfc2047 rfc2045 ietf-drums mail-utils cus-start cus-load=
pcmpl-unix sort nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml
=
rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-ut= il
rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml= -glyph
nxml-enc xmltok macros add-log log-view pcvs-util find-dired grep
compile iso-transl wid-edit descr-text xub-mode vc-dispatcher vc-svn<= /div>
sgml-mode tabify dired-aux network-stream starttls tls slime-repl= slime
hyperspec browse-url vc-hg org-special-blocks org-w3m org-wl org-vm
org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html or= g-exp
ob-exp org-exp-blocks org-agenda org-info org-gnus org-docv= iew
org-bibtex bibtex org-bbdb org warnings ob-emacs-lisp ob-tangle ob-ref=
ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eva= l
org-pcomplete org-list org-faces org-compat org-entities org-ma= cs
noutline outline cal-menu calendar cal-loaddefs jka-compr find-func
multi-isearch image-mode apropos ibuf-ext ibuffer tramp-cache tramp=
tramp-compat auth-source eieio assoc gnus-util mm-util mail-prsv= r
password-cache format-spec tramp-loaddefs ielm pp etags vc-git
face-remap help-mode view dired shell pcomplete comint ansi-color ring
time textmate ido haml-mode derived js byte-opt bytecomp byte-comp= ile
cconv macroexp json imenu thingatpt javascript-mode newcomment cc-mode=
cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align c= c-engine
cc-vars cc-defs css-mode ruby-mode regexp-opt cl edmacro= kmacro
completion smart-quotes easy-mmode annot advice help-fns advice-preloa= d
cdd-startup mt-el-hacks mt-slime time-date tooltip ediff-hook v= c-hooks
lisp-float-type mwheel ns-win tool-bar dnd fontset image = fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham geor= gian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao ko= rean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abb= rev
minibuffer loaddefs button faces cus-face files text-properti= es overlay
sha1 md5 base64 format env code-pages mule custom widget
has= htable-print-readable backquote make-network-process ns multi-tty
emacs)

--001636e0b417a2df4a04d2ccd87a-- ------------=_1378132623-6313-1--