article without making inquiry to a user for unknown encoding.
* nnmaildir.el (nnmaildir--group-maxnum, nnmaildir--new-number)
(nnmaildir--scan): Assume i-node and device number that file-attributes
returns might be cons-cell.
* dgnushack.el: Autoload thing-at-point for XEmacs 21.5.
* lpath.el: Fbind cp-supported-codepages for XEmacs 21.5.
+2009-07-16 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * nnrss.el (nnrss-request-article): Allow mml-to-mime to generate MIME
+ article without making inquiry to a user for unknown encoding.
+
+ * nnmaildir.el (nnmaildir--group-maxnum, nnmaildir--new-number)
+ (nnmaildir--scan): Assume i-node and device number that file-attributes
+ returns might be cons-cell.
+
+ * dgnushack.el: Autoload thing-at-point for XEmacs 21.5.
+
+ * lpath.el: Fbind cp-supported-codepages for XEmacs 21.5.
+
2009-07-16 Teodor Zlatanov <tzz@lifelogs.com>
* auth-source.el: Remove docs now in auth.texi. Don't use
(autoload 'smtpmail-send-it "smtpmail")
(autoload 'sort-numeric-fields "sort" nil t)
(autoload 'sort-subr "sort")
+ (autoload 'thing-at-point "thingatpt")
(autoload 'toggle-truncate-lines "view-less" nil t)
(autoload 'trace-function-background "trace" nil t)
(autoload 'unmorse-region "morse" nil t)
'(defun rmail-toggle-header (&optional arg)))
(maybe-fbind
'(clear-string
- codepage-setup create-image detect-coding-string
+ codepage-setup cp-supported-codepages create-image detect-coding-string
display-time-event-handler epg-check-configuration event-click-count
event-end event-start find-coding-systems-for-charsets
find-coding-systems-region find-coding-systems-string find-image
(setq attr (file-attributes
(concat dir (number-to-string number-linked))))
(or attr (throw 'return (1- number-linked)))
- (if (/= ino-opened (nth 10 attr))
- (setq number-opened number-linked))))))
+ (unless (equal ino-opened (nth 10 attr))
+ (setq number-opened number-linked))))))
;; Make the given server, if non-nil, be the current server. Then make the
;; given group, if non-nil, be the current group of the current server. Then
number-open number-link))
((nnmaildir--eexist-p err)
(let ((attr (file-attributes path-link)))
- (if (/= (nth 10 attr) ino-open)
- (setq number-open number-link
- number-link 0))))
+ (unless (equal (nth 10 attr) ino-open)
+ (setq number-open number-link
+ number-link 0))))
(t (signal (car err) (cdr err)))))))))
(defun nnmaildir--update-nov (server group article)
ls (or (nnmaildir--param pgname 'directory-files) srv-ls))
(unless read-only
(setq x (nth 11 (file-attributes tdir)))
- (unless (and (= x (nth 11 nattr)) (= x (nth 11 cattr)))
+ (unless (and (equal x (nth 11 nattr)) (equal x (nth 11 cattr)))
(setf (nnmaildir--srv-error nnmaildir--cur-server)
(concat "Maildir spans filesystems: " absdir))
(throw 'return nil))
"<#/part>\n"
"<#/multipart>\n"))
(condition-case nil
- (mml-to-mime)
+ ;; Allow `mml-to-mime' to generate MIME article without
+ ;; making inquiry to a user for unknown encoding.
+ (let ((mml-confirmation-set
+ (cons 'unknown-encoding mml-confirmation-set)))
+ (mml-to-mime))
(error
(erase-buffer)
(insert header