はやみずです
proxyの環境変数の実装ありがとうございます。マージしました。
今年の新年初コミットとなりました。
みなさん、今年もよろしくお願いします。
これからのtwittering-modeの開発ですが、今はやみずが取り組みたいと考えて
いるのは次のようなことです。
1. テスト自動化の基盤強化
2. Twitterの基本機能への対応の充実
* 検索
* ダイレクトメッセージの閲覧
* 松尾さんの timeline spec、zakkiさんのsearch modeを取り込んでいく感じで
3. 効率、コードの改善
Emacs21,22,23に加えて、MeadowやNTEmacs、Mac OS X上でのEmacsenなど様々な
環境で動くことを目指すためには、そろそろ手動テストから脱却しないとしん
どいなあ、と感じています。これからしばらくはネットワーク周りの自動化を
ちまちまと進めていこうかと思います。
これに限らず、みなさんからのパッチは随時受け付けています。
----
Yuto Hayamizu
Master's degree student at Kitsuregawa Laboratory
Department of Information and Communication Engineering
Graduate School of Information Science and Technology
University of Tokyo
From: Tadashi MATSUO <[email protected]>
Subject: [twmode-users] proxy自動設定
Date: Thu, 31 Dec 2009 01:07:33 +0900 (JST)
> 松尾です。
>
> 少し前に話が出ていたproxyを環境変数から自動設定する
> 機能を実装してみました。
>
> http://github.com/cvmat/twittering-mode/tree/setup-proxy
>
> にcommitしてあります。
>
> twittering-mode-init-variables()が呼び出される時点で
> twittering-proxy-{server,port}が既に設定されている場合には
> 何も変更を行いません。一方でもnilであれば環境変数からの
> 設定を試みます。
>
> 新設した関数twittering-find-proxyでproxy情報を作成します。
> urlライブラリが使えればurl-scheme-register-proxy()で、
> 使えなければ自前で環境変数を解析しています。
>
> 参照される環境変数は以下の順です。
> twittering-use-sslがnon-nilのとき
> HTTPS_PROXY,https_proxy,HTTP_PROXY,http_proxyの順
> twittering-use-sslがnilのとき
> HTTP_PROXY,http_proxyの順
>
> 実際にtwittering-proxy-{server,port}を変更する関数
> twittering-setup-proxy()で、proxyが設定されていないのに
> twittering-proxy-useがnon-nilとなっている場合はnilに
> 変更する処理も行っています。
>
> どうでしょうか。
>
> ---
> 松尾 直志 <[email protected]>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> twmode-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/twmode-users
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
twmode-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/twmode-users