diff options
| author | Fabián Ezequiel Gallina | 2014-12-27 01:30:21 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2014-12-27 01:30:21 -0300 |
| commit | 2dd5163d764f395eb31a2306dba385d123af4aba (patch) | |
| tree | 27b1ade1b6af5e984040a8acc840f81ee4f5adaa /test/ChangeLog | |
| parent | 7aa506eed8881788485a9774165454404bac2623 (diff) | |
| download | emacs-2dd5163d764f395eb31a2306dba385d123af4aba.tar.gz emacs-2dd5163d764f395eb31a2306dba385d123af4aba.zip | |
python.el: Handle file encoding for shell.
* lisp/progmodes/python.el (python-rx-constituents): Add coding-cookie.
(python-shell--save-temp-file): Write file with proper encoding.
(python-shell-buffer-substring): Add coding cookie for detected
encoding to generated content. Fix blank lines when removing
if-name-main block.
(python-shell-send-file): Handle file encoding.
(python-info-encoding-from-cookie)
(python-info-encoding): New functions.
* test/automated/python-tests.el (python-shell-buffer-substring-1)
(python-shell-buffer-substring-2, python-shell-buffer-substring-3)
(python-shell-buffer-substring-4, python-shell-buffer-substring-5)
(python-shell-buffer-substring-6, python-shell-buffer-substring-7)
(python-shell-buffer-substring-8)
(python-info-encoding-from-cookie-1)
(python-info-encoding-from-cookie-2)
(python-info-encoding-from-cookie-3)
(python-info-encoding-from-cookie-4)
(python-info-encoding-from-cookie-5)
(python-info-encoding-from-cookie-6)
(python-info-encoding-from-cookie-7, python-info-encoding-1)
(python-info-encoding-2): New tests.
Diffstat (limited to 'test/ChangeLog')
| -rw-r--r-- | test/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 14780c09e6f..101e9d9caa7 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org> | ||
| 2 | |||
| 3 | * automated/python-tests.el (python-shell-buffer-substring-1) | ||
| 4 | (python-shell-buffer-substring-2, python-shell-buffer-substring-3) | ||
| 5 | (python-shell-buffer-substring-4, python-shell-buffer-substring-5) | ||
| 6 | (python-shell-buffer-substring-6, python-shell-buffer-substring-7) | ||
| 7 | (python-shell-buffer-substring-8) | ||
| 8 | (python-info-encoding-from-cookie-1) | ||
| 9 | (python-info-encoding-from-cookie-2) | ||
| 10 | (python-info-encoding-from-cookie-3) | ||
| 11 | (python-info-encoding-from-cookie-4) | ||
| 12 | (python-info-encoding-from-cookie-5) | ||
| 13 | (python-info-encoding-from-cookie-6) | ||
| 14 | (python-info-encoding-from-cookie-7, python-info-encoding-1) | ||
| 15 | (python-info-encoding-2): New tests. | ||
| 16 | |||
| 1 | 2014-12-25 Michael Albinus <michael.albinus@gmx.de> | 17 | 2014-12-25 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 18 | ||
| 3 | * automated/tramp-tests.el (tramp-test17-insert-directory): Do not | 19 | * automated/tramp-tests.el (tramp-test17-insert-directory): Do not |