[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master ee21700 060/187: * async.el: Issue #7 Apply sabof patch fr
From: |
Michael Albinus |
Subject: |
[elpa] master ee21700 060/187: * async.el: Issue #7 Apply sabof patch from github; Fix processing non--latin chars. |
Date: |
Wed, 30 Dec 2015 11:49:42 +0000 |
branch: master
commit ee21700bba09d8f524eabe94358fbf5873e73ed0
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>
* async.el: Issue #7 Apply sabof patch from github; Fix processing
non--latin chars.
(async--receive-sexp):do it.
(async--insert-sexp): do it.
---
async.el | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/async.el b/async.el
index 87fec2f..7eb7568 100644
--- a/async.el
+++ b/async.el
@@ -118,7 +118,8 @@ as follows:
(set (make-local-variable 'async-callback-value-set) t))))))
(defun async--receive-sexp (&optional stream)
- (let ((sexp (base64-decode-string (read stream))))
+ (let ((sexp (decode-coding-string (base64-decode-string
+ (read stream)) 'utf-8-unix)))
(if async-debug
(message "Received sexp {{{%s}}}" (pp-to-string sexp)))
(setq sexp (read sexp))
@@ -129,6 +130,7 @@ as follows:
(defun async--insert-sexp (sexp)
(prin1 sexp (current-buffer))
;; Just in case the string we're sending might contain EOF
+ (encode-coding-region (point-min) (point-max) 'utf-8-unix)
(base64-encode-region (point-min) (point-max) t)
(goto-char (point-min)) (insert ?\")
(goto-char (point-max)) (insert ?\" ?\n))
- [elpa] master 819b936 045/187: * helm-async.el: Turn off mode-line notification only when last process end., (continued)
- [elpa] master 819b936 045/187: * helm-async.el: Turn off mode-line notification only when last process end., Michael Albinus, 2015/12/30
- [elpa] master 9361417 041/187: Started work on a generalized async-file service, Michael Albinus, 2015/12/30
- [elpa] master 3cc71f3 051/187: * helm-async.el (helm-async-mode): ding when finish., Michael Albinus, 2015/12/30
- [elpa] master d9d68f7 049/187: Merge pull request #5 from mstrlu/fix-async-copy-call, Michael Albinus, 2015/12/30
- [elpa] master bd43f86 053/187: * helm-async.el (dired-create-files): Honor dired-overwrite-confirmed., Michael Albinus, 2015/12/30
- [elpa] master fba2cb9 052/187: Merge branch 'master' of github.com:jwiegley/emacs-async, Michael Albinus, 2015/12/30
- [elpa] master 42fba8d 050/187: * dired-async.el: Add a defvar for `dired-async-use-native-commands', Michael Albinus, 2015/12/30
- [elpa] master 0afa685 056/187: Merge pull request #11 from myuhe/pkg, Michael Albinus, 2015/12/30
- [elpa] master 34ee9c5 054/187: * helm-async.el (dired-create-file): Fix operation is executed even when replying no for overwriting., Michael Albinus, 2015/12/30
- [elpa] master a5ad866 057/187: Merge pull request #6 from mstrlu/fix-def-use-native-commands, Michael Albinus, 2015/12/30
- [elpa] master ee21700 060/187: * async.el: Issue #7 Apply sabof patch from github; Fix processing non--latin chars.,
Michael Albinus <=
- [elpa] master ef0e45c 055/187: add async-pkg.el, Michael Albinus, 2015/12/30
- [elpa] master dc69911 059/187: Merge branch 'master' of github.com:jwiegley/emacs-async, Michael Albinus, 2015/12/30
- [elpa] master c9a0724 061/187: Update copyrights., Michael Albinus, 2015/12/30
- [elpa] master cf12552 062/187: * helm-async.el: Fix mode-line updating for emacs-24.3.50., Michael Albinus, 2015/12/30
- [elpa] master 3ac941a 042/187: Move async.el testing code into its own module, Michael Albinus, 2015/12/30
- [elpa] master 9585ae1 058/187: * helm-async.el (helm-async-env-variables-regexp): Fix for copying from android devices., Michael Albinus, 2015/12/30
- [elpa] master 3544948 064/187: * helm-async.el (dired-create-files): No need to backquote callback., Michael Albinus, 2015/12/30
- [elpa] master 8d38306 063/187: * helm-async.el: Untabify and reindent., Michael Albinus, 2015/12/30
- [elpa] master c029934 066/187: * helm-async.el: Add comments about incompatibility with dired-async.el and async-file.el., Michael Albinus, 2015/12/30
- [elpa] master fb8f10b 065/187: * helm-async.el (dired-create-files): Handle `dired-recursive-copies' when async too., Michael Albinus, 2015/12/30