たてたてよこよこまるかいてちょん

組み込み関連の情報を共有するためのブログです

proxyは少数派?

id:hikigaeru 様へ

hatena-mode.elでcurlを検索すると、curlのオプション-xとhatena-proxyがないのを3カ所見つけたので報告します。

各々、次の行に、以下を追加ですよね。

  "-x" hatena-proxy

ふと、patchを作ってみた。

*** hatena-mode.el.20060316     2006-03-16 08:10:39.000000000 +0900
--- hatena-mode.el      2006-03-16 08:17:18.000000000 +0900
***************
*** 350,355 ****
--- 350,356 ----
    "ページが作成済みかどうかチェック"
    (message "checking diary ....")
    (call-process hatena-curl-command nil nil nil 
+                 "-x" hatena-proxy
                    "-o" hatena-tmpfile2
                    "-b" hatena-cookie
                    urldate)
***************
*** 378,383 ****
--- 379,385 ----
                           "/edit?date="
                           date)))
      (call-process hatena-curl-command nil nil nil 
+                 "-x" hatena-proxy
                    "-o" hatena-tmpfile
                    "-b" hatena-cookie
                    urldate))
***************
*** 547,552 ****
--- 549,555 ----
    (interactive)

    ;;exportをとってくる
    (call-process hatena-curl-command nil nil nil 
+               "-x" hatena-proxy
                "-o" hatena-tmpfile
                "-b" hatena-cookie
                (concat "http://d.hatena.ne.jp/" hatena-usrid "/export" ))
記事のLicense このブログの記事は特に断りのない限り、引用部分を除いて、以下の CC-BY 4.0でライセンスします。 https://creativecommons.org/licenses/by/4.0/deed.ja ただし、ブログ内にあるコードは、特に断りのない限り、CC-BY 4.0またはMITLicense で利用できるものとします。