Meadowã®Gnusã§Gmail
Gmailããã£ã¨Webã§ä½¿ã£ã¦ãããã ãã©ãæ¬æ ¼çã«èªã¿æ¸ãããã«ã¯ã¤ããã®ã§ãã¡ããã¨ããã¡ã¼ã«ã¯ã©ã¤ã¢ã³ããå°å ¥ãããã¨ã«ãããç´ ç´ã«Thunderbirdãã¤ã³ã¹ãã¼ã«ãã¦ãããã£ããã ãã©ãGnusGmailãªãã¦ãã¼ã¸ãè¦ã¤ãã¦ãç°¡åãªè¨å®ã§Emacsã®Gnusã§Gmailãå©ç¨ã§ããã¿ãããªã®ã§ãMeadowã®Gnusã§ææ¦ãã¦ã¿ããã ãã©æ»ã¬ã»ã©ã¯ã¾ã£ãã
Emacsã§æå·åãããéä¿¡è·¯ã確ç«ããã«ã¯ãSSLãªãopensslãTLSãªãgnutlsã¨ãã£ãå¤é¨ã³ãã³ããå¿ è¦ã ããããã¯Cygwinç¨ã®ããã±ã¼ã¸ãåå¨ããã®ã§ã¤ã³ã¹ãã¼ã«ããã°ãããMeadowããCygwinã®ã³ãã³ããå®è¡ã§ããããã«ãC:\cygwin\binã«å®è¡ãã¹ãéãã®ã¯åºæ¬ããã¨ã¯å ã®ãã¼ã¸ã®éãã«è¨å®ããã°ãé©åã«ã³ãã³ããå¼ã°ãã¦éä¿¡ãè¡ããããããã§IMAP over SSLã¯ãã¾ãããã®ã ããSMTP over TLSã®éä¸ã§Meadowãåºã¾ã£ã¦ãã¾ãã
ãã®åå ã¯ãgnutls-cliãSIGALRMãåãåããªãã¨TLSã®ãã´ã·ã¨ã¼ã·ã§ã³ã«å ¥ããªããã¨ã«ãããstarttls.elã§ã¯(signal-process (process-id process) 'SIGALRM)ã¨ãã¦ãSIGALRMãéã£ãã¤ããã«ãªã£ã¦ããã®ã ããMeadowããCygwinã®ããã»ã¹ã«ãã®æ¹æ³ã§SIGALRMãéããã¨ã¯ã§ããªãããã®åé¡ã解決ããã«ã¯ã以ä¸ã®ããã«signal-processã«adviceãè¨å®ãã¦ãCygwinã®killã³ãã³ãã§SIGALRMãéãããããã«ããã°ããã
(defadvice signal-process (around call-kill-command activate) (let ((process (ad-get-arg 0)) (signal (ad-get-arg 1))) (or (numberp process)(setq process (process-id process))) (if (eq signal 'SIGALRM) (setq ad-return-value (call-process "C:\\cygwin\\bin\\kill.exe" nil nil nil "-ALRM" (format "%d" process)))
ããã¨Meadow 3ã ã¨æ¥æ¬èªã®ãã©ã«ãã®UTF-7ã®ãã³ã¼ãã«å¤±æããã®ã§ãGnusã®utf7.elã«ã¡ãã£ã¨ããããããå½ã¦ã¦ããå¿ è¦ããããåèã«ããã®ã¯このメールã
(defconst utf7-utf-16-coding-system (cond ((mm-coding-system-p 'utf-16-be-no-signature) ; Mule-UCS 'utf-16-be-no-signature) ((and (mm-coding-system-p 'utf-16-be) ; Emacs 21.3, Emacs 22 (BOM?) ;; Avoid versions with BOM. (= 2 (length (encode-coding-string "a" 'utf-16-be)))) 'utf-16-be) + ((and (mm-coding-system-p 'utf-16be) ; Emacs 22 and later + ;; Avoid versions with BOM. + (= 2 (length (encode-coding-string "a" 'utf-16be)))) + 'utf-16be) ((mm-coding-system-p 'utf-16-be-nosig) ; ? 'utf-16-be-nosig)) "Coding system which encodes big endian UTF-16 without a BOM signature.")