[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: python-shell-send-region uses wrong encoding?
From: |
Ernest Adrogué |
Subject: |
Re: python-shell-send-region uses wrong encoding? |
Date: |
Tue, 29 Oct 2013 21:48:00 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
29-10-2013, 21:10 (+0200); Eli Zaretskii escriu:
> > Date: Tue, 29 Oct 2013 18:53:03 +0100
> > From: Ernest Adrogué <nfdisco@gmail.com>
> >
> > I would expect python-shell-send-region to be a shortcut for saving the
> > region, switching to the shell buffer, yanking and hitting RET.
>
> Emacs can send stuff to an inferior program directly, without going
> through a file.
>
> But even if going through a file, why is it wrong to send 2 bytes when
> a character's UTF-8 encoding takes those same 2 bytes?
It's not wrong to send 2 bytes, the problem was that you also have to tell
Python the encoding. Anyway, it's fixed now.
Thanks Stefan for the patch and everyone else for the help.
- python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Andreas Röhler, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Andreas Röhler, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Peter Dyballa, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Eli Zaretskii, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Eli Zaretskii, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?,
Ernest Adrogué <=
- Re: python-shell-send-region uses wrong encoding?, Peter Dyballa, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
RE: python-shell-send-region uses wrong encoding?, Drew Adams, 2013/10/29
Re: python-shell-send-region uses wrong encoding?, Stefan Monnier, 2013/10/29