* wl-complete.el: Ditto.
* rfc2368.el: Ditto.
* ssl.el: Ditto.
+2010-08-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
+
+ * wl-addrbook.el: Delete traing whitespace.
+ * wl-complete.el: Ditto.
+ * rfc2368.el: Ditto.
+ * ssl.el: Ditto.
+
2010-08-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
* ptexinfmt.el (texinfo-format-verb): Use (delete-char -1)
((match-beginning 1) "\n")
(t " "))
buf)
- (setq start (match-end 0)))
+ (setq start (match-end 0)))
(apply 'concat (nreverse (cons (substring string start) buf)))))
(defun rfc2368-parse-mailto-url (mailto-url)
;; We have the old custom-library, hack around it!
(defmacro defgroup (&rest args)
nil)
- (defmacro defcustom (var value doc &rest args)
+ (defmacro defcustom (var value doc &rest args)
`(devar ,var ,value ,doc))))
(defgroup ssl nil
"Support for `Secure Sockets Layer' encryption."
:group 'comm)
-
+
(defcustom ssl-certificate-directory "~/.w3/certs/"
"*Directory to store CA certificates in"
:group 'ssl
(while (re-search-forward "^\\([^=\n\r]+\\)\\s *=\\s *\\(.*\\)" nil t)
(push (cons (match-string 1) (match-string 2)) vals))
vals)))))
-
+
(defun ssl-accept-ca-certificate ()
"Ask if the user is willing to accept a new CA certificate. The buffer-name
should be the intended name of the certificate, and the buffer should probably
(let* ((process-connection-type nil)
(tmpbuf (generate-new-buffer "X509 CA Certificate Information"))
(response (save-excursion
- (and (eq 0
+ (and (eq 0
(apply 'call-process-region
- (point-min) (point-max)
- ssl-view-certificate-program-name
+ (point-min) (point-max)
+ ssl-view-certificate-program-name
nil tmpbuf t
ssl-view-certificate-program-arguments))
(switch-to-buffer tmpbuf)
"*Regular expression for \".im/Addrbook\".")
(defvar wl-addrbook-override-by-newone t
"If non-nil, the 'user' entry in 'wl-alias-auto-alist'
-is override by a new entry of (user different-address).
+is override by a new entry of (user different-address).
This means that addresses in To: and Cc: in Draft mode are
always learned with an exception 'user' is defined in Addrbook.
If nil, the old 'user' entry remains.")
(setq wl-alias-auto-alist
(cons (list user addr)
(delete match-auto wl-alias-auto-alist))))
- (t
+ (t
;; the old entry remains
)))
(match-adbk
(defun wl-draft-learn-alias ()
(interactive)
- (let ((recipients (mapconcat 'identity
+ (let ((recipients (mapconcat 'identity
(delq nil (std11-field-bodies '("To" "Cc")))
",")))
(mapcar '(lambda (addr)
(set-buffer buf)
(goto-char (point-min))
(if (and shortname
- (re-search-forward
+ (re-search-forward
(concat "^" (regexp-quote shortname) "[ \t]*:?[ \t]+") nil t))
(setq not-uniq t))
(if not-uniq
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
-;;
+;;
;; 1. Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the following disclaimer.
;; 2. Redistributions in binary form must reproduce the above copyright
;; 3. Neither the name of the team nor the names of its contributors
;; may be used to endorse or promote products derived from this software
;; without specific prior written permission.
-;;
+;;
;; THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS ``AS IS'' AND
;; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
;; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
(wl-complete word wl-folder-entity-hashtb "folder" nil))))
(defun wl-addrbook-complete-address ()
- "Complete and expand address aliases.
+ "Complete and expand address aliases.
First alias key is completed. When completed solely or the @ character
is inserted before the cursor, the alias key is expanded to its value."
(interactive)
(insert (or (wl-alias-next word) word))
(wl-complete
word wl-addrbook-alist "alias" ?@ nil nil
- (function wl-addrbook-alias-get)
+ (function wl-addrbook-alias-get)
(function wl-addrbook-alias-hit))))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun wl-circular-complete-domain ()
"Circular completion of domains for To:, Cc:, etc.
If the @ character does not exist, the first value of
-wl-mail-domain-list is inserted. If exists, the next value of
-wl-mail-domain-list concerned with the string between @ and
+wl-mail-domain-list is inserted. If exists, the next value of
+wl-mail-domain-list concerned with the string between @ and
the cursor is inserted."
(interactive)
(let ((word (wl-delete-backward-char "@")))
(defun wl-slide-pair (x)
(let ((ret nil)
(first (car x)))
- (cond
+ (cond
((eq x 0) nil)
((eq x 1) (cons first first))
(t
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
-;;
+;;
;; 1. Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the following disclaimer.
;; 2. Redistributions in binary form must reproduce the above copyright
;; 3. Neither the name of the team nor the names of its contributors
;; may be used to endorse or promote products derived from this software
;; without specific prior written permission.
-;;
+;;
;; THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS ``AS IS'' AND
;; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
;; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR