松尾です。
パッチありがとうございます。見させてもらいました。
diff --git a/twittering-mode.el b/twittering-mode.el
index 8fc2ef4..d82ff12 100644
--- a/twittering-mode.el
+++ b/twittering-mode.el
@@ -2659,7 +2659,8 @@ like following:
;; In order to prevent `epa-file' to encrypt the file double,
;; `epa-file-name-regexp' is temorarily changed into the null
;; regexp that never matches any string.
- (let ((epa-file-name-regexp "\\`\\'"))
+ (let ((epa-file-name-regexp "\\`\\'")
+ (coding-system-for-write 'no-conversion))
(when (fboundp 'epa-file-name-regexp-update)
(epa-file-name-regexp-update))
(with-temp-file file
書き込むのは(epg-encrypt-string context str nil)で生成した
(恐らくunibyteの)文字列なので、明示的にno-conversionにして
おいた方が良さそうですね。
commitしたいのですが、ChangeLog上のお名前はSakumaで良いで
しょうか。
しかしここで何かしらの変換が入るとは思ってませんでした。
Twitter上でお聞きした話のときはgpg -dで復号できるがその結果が
おかしい、ということでしたよね。Windowsだから改行関係の変換
(LF←→CRLF)が入って、しかもたまたまGnuPGでも(エラーなしに)
復号できるデータになってたということだったんでしょうか…。
---
松尾 直志 <[email protected]>
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
twmode-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/twmode-users