Mercurial > emacs
comparison lisp/gnus/mm-decode.el @ 86154:1cdfc94602cb
* smime.el (from):
* rfc2047.el (message-posting-charset):
* qp.el (mm-use-ultra-safe-encoding):
* pop3.el (parse-time-months):
* nnrss.el (mm-text-html-renderer, mm-text-html-washer-alist):
* nnml.el (files):
* nnheader.el (gnus-newsgroup-name, nnheader-file-coding-system)
(jka-compr-compression-info-list, ange-ftp-path-format)
(efs-path-regexp):
* nndiary.el (files):
* mml2015.el (mc-default-scheme, mc-schemes, pgg-default-user-id)
(pgg-errors-buffer, pgg-output-buffer, epg-user-id-alist)
(epg-digest-algorithm-alist, inhibit-redisplay)
(password-cache-expiry):
* mml1991.el (pgg-default-user-id, pgg-errors-buffer)
(pgg-output-buffer, password-cache-expiry):
* mml.el (mml-dnd-protocol-alist, ange-ftp-name-format)
(efs-path-regexp):
* mml-smime.el (epg-user-id-alist, epg-digest-algorithm-alist)
(inhibit-redisplay):
* mm-uu.el (file-name, start-point, end-point, entry)
(gnus-newsgroup-name, gnus-newsgroup-charset):
* mm-util.el (mm-mime-mule-charset-alist, latin-unity-coding-systems)
(latin-unity-ucs-list):
* mm-bodies.el (mm-uu-yenc-decode-function, mm-uu-decode-function)
(mm-uu-binhex-decode-function):
* message.el (gnus-message-group-art, gnus-list-identifiers, )
(rmail-enable-mime-composing, gnus-local-organization)
(gnus-post-method, gnus-select-method, gnus-active-hashtb)
(gnus-read-active-file, facemenu-add-face-function)
(facemenu-remove-face-function, gnus-article-decoded-p)
(tool-bar-mode):
* mail-source.el (display-time-mail-function):
* gnus-util.el (nnmail-pathname-coding-system)
(nnmail-active-file-coding-system, gnus-emphasize-whitespace-regexp)
(gnus-original-article-buffer, gnus-user-agent)
(rmail-default-rmail-file, mm-text-coding-system, tool-bar-mode)
(xemacs-codename, sxemacs-codename, emacs-program-version):
* gnus-sum.el (tool-bar-mode, gnus-tmp-header, number):
* gnus-start.el (gnus-agent-covered-methods)
(gnus-agent-file-loading-local, gnus-agent-file-loading-cache)
(gnus-current-headers, gnus-thread-indent-array, gnus-newsgroup-name)
(gnus-newsgroup-headers, gnus-group-list-mode)
(gnus-group-mark-positions, gnus-newsgroup-data)
(gnus-newsgroup-unreads, nnoo-state-alist)
(gnus-current-select-method, mail-sources)
(nnmail-scan-directory-mail-source-once, nnmail-split-history)
(nnmail-spool-file, gnus-cache-active-hashtb):
* gnus-mh.el (mh-lib-progs):
* gnus-ems.el (gnus-tmp-unread, gnus-tmp-replied)
(gnus-tmp-score-char, gnus-tmp-indentation, gnus-tmp-opening-bracket)
(gnus-tmp-lines, gnus-tmp-name, gnus-tmp-closing-bracket)
(gnus-tmp-subject-or-nil, gnus-check-before-posting, gnus-mouse-face)
(gnus-group-buffer):
* gnus-cite.el (font-lock-defaults-computed, font-lock-keywords)
(font-lock-set-defaults):
* gnus-art.el (tool-bar-map, w3m-minor-mode-map)
(gnus-face-properties-alist, charset, gnus-summary-article-menu)
(gnus-summary-post-menu, total-parts, type, condition, length):
* gnus-agent.el (gnus-agent-read-agentview):
* flow-fill.el (show-trailing-whitespace):
* gnus-group.el (tool-bar-mode, nnrss-group-alist): Remove unnecessary
eval-and-compile wrappers for byte compiler pacifiers.
* mm-view.el (mm-inline-image-xemacs): Only do something for XEmacs.
(mm-display-inline-fontify): Check for featurep 'xemacs not
extent-list.
* mm-decode.el (mm-display-external): Check for featurep 'xemacs not
itimer-list.
(mm-create-image-xemacs): Only do something for XEmacs.
(mm-image-fit-p): Check for featurep 'xemacs not glyph-width.
* mm-util.el (mm-find-buffer-file-coding-system): Add check for XEmacs.
* gnus-registry.el (gnus-adaptive-word-syntax-table):
* gnus-fun.el (gnus-face-properties-alist): Pacify byte compiler.
* textmodes/reftex-dcr.el (reftex-start-itimer-once): Add check
for XEmacs.
* calc/calc-menu.el (calc-mode-map): Pacify byte compiler.
* doc-view.el (doc-view-resolution): Add missing :group.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Fri, 16 Nov 2007 16:50:35 +0000 |
parents | a3c27999decb |
children | 23ea76295829 53108e6cea98 |
comparison
equal
deleted
inserted
replaced
86153:b37c68d8acd3 | 86154:1cdfc94602cb |
---|---|
893 (done (format "Displaying %s...done" command)) | 893 (done (format "Displaying %s...done" command)) |
894 ;; In particular, the timer object (which is | 894 ;; In particular, the timer object (which is |
895 ;; a vector in Emacs but is a list in XEmacs) | 895 ;; a vector in Emacs but is a list in XEmacs) |
896 ;; requires that it is lexically scoped. | 896 ;; requires that it is lexically scoped. |
897 (timer (run-at-time 2.0 nil 'ignore))) | 897 (timer (run-at-time 2.0 nil 'ignore))) |
898 (if (boundp 'itimer-list) | 898 (if (featurep 'xemacs) |
899 (lambda (process state) | 899 (lambda (process state) |
900 (when (eq 'exit (process-status process)) | 900 (when (eq 'exit (process-status process)) |
901 (if (memq timer itimer-list) | 901 (if (memq timer itimer-list) |
902 (set-itimer-function timer fn) | 902 (set-itimer-function timer fn) |
903 (funcall fn)) | 903 (funcall fn)) |
1362 'data-p) | 1362 'data-p) |
1363 (mm-create-image-xemacs type)))) | 1363 (mm-create-image-xemacs type)))) |
1364 (mm-handle-set-cache handle spec)))))) | 1364 (mm-handle-set-cache handle spec)))))) |
1365 | 1365 |
1366 (defun mm-create-image-xemacs (type) | 1366 (defun mm-create-image-xemacs (type) |
1367 (cond | 1367 (when (featurep 'xemacs) |
1368 ((equal type "xbm") | 1368 (cond |
1369 ;; xbm images require special handling, since | 1369 ((equal type "xbm") |
1370 ;; the only way to create glyphs from these | 1370 ;; xbm images require special handling, since |
1371 ;; (without a ton of work) is to write them | 1371 ;; the only way to create glyphs from these |
1372 ;; out to a file, and then create a file | 1372 ;; (without a ton of work) is to write them |
1373 ;; specifier. | 1373 ;; out to a file, and then create a file |
1374 (let ((file (mm-make-temp-file | 1374 ;; specifier. |
1375 (expand-file-name "emm" mm-tmp-directory) | 1375 (let ((file (mm-make-temp-file |
1376 nil ".xbm"))) | 1376 (expand-file-name "emm" mm-tmp-directory) |
1377 (unwind-protect | 1377 nil ".xbm"))) |
1378 (progn | 1378 (unwind-protect |
1379 (write-region (point-min) (point-max) file) | 1379 (progn |
1380 (make-glyph (list (cons 'x file)))) | 1380 (write-region (point-min) (point-max) file) |
1381 (ignore-errors | 1381 (make-glyph (list (cons 'x file)))) |
1382 (delete-file file))))) | 1382 (ignore-errors |
1383 (t | 1383 (delete-file file))))) |
1384 (make-glyph | 1384 (t |
1385 (vector | 1385 (make-glyph |
1386 (or (mm-image-type-from-buffer) | 1386 (vector |
1387 (intern type)) | 1387 (or (mm-image-type-from-buffer) |
1388 :data (buffer-string)))))) | 1388 (intern type)) |
1389 :data (buffer-string))))))) | |
1389 | 1390 |
1390 (defun mm-image-fit-p (handle) | 1391 (defun mm-image-fit-p (handle) |
1391 "Say whether the image in HANDLE will fit the current window." | 1392 "Say whether the image in HANDLE will fit the current window." |
1392 (let ((image (mm-get-image handle))) | 1393 (let ((image (mm-get-image handle))) |
1393 (or (not image) | 1394 (or (not image) |
1394 (if (fboundp 'glyph-width) | 1395 (if (featurep 'xemacs) |
1395 ;; XEmacs' glyphs can actually tell us about their width, so | 1396 ;; XEmacs' glyphs can actually tell us about their width, so |
1396 ;; lets be nice and smart about them. | 1397 ;; lets be nice and smart about them. |
1397 (or mm-inline-large-images | 1398 (or mm-inline-large-images |
1398 (and (<= (glyph-width image) (window-pixel-width)) | 1399 (and (<= (glyph-width image) (window-pixel-width)) |
1399 (<= (glyph-height image) (window-pixel-height)))) | 1400 (<= (glyph-height image) (window-pixel-height)))) |