aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShengHuo ZHU2002-02-07 15:57:55 +0000
committerShengHuo ZHU2002-02-07 15:57:55 +0000
commit6833e8bac3f20e8eac3a2600587f0e6a3bf8d037 (patch)
treefba98256af5fe0ccb93ac01bd63340afdf2fb010
parent33b93ee509c9085413ef676b6b260f10fb0d6e37 (diff)
downloademacs-6833e8bac3f20e8eac3a2600587f0e6a3bf8d037.tar.gz
emacs-6833e8bac3f20e8eac3a2600587f0e6a3bf8d037.zip
* gnus-art.el (article-wash-html): Bind url-gateway-unplugged.
* mm-view.el (mm-w3-prepare-buffer): Ditto. (mm-inline-text): Ditto. Suggested by Dave Love <fx@gnu.org>. * mml.el (mml-preview): Disable local map. * mml.el (mml-preview): Bind `q'.
-rw-r--r--lisp/gnus/ChangeLog11
-rw-r--r--lisp/gnus/gnus-art.el1
-rw-r--r--lisp/gnus/mm-view.el7
-rw-r--r--lisp/gnus/mml.el6
4 files changed, 20 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 0d15ec4b4d6..95eee15d47c 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,14 @@
12002-02-07 ShengHuo ZHU <zsh@cs.rochester.edu>
2
3 * gnus-art.el (article-wash-html): Bind url-gateway-unplugged.
4 * mm-view.el (mm-w3-prepare-buffer): Ditto.
5 (mm-inline-text): Ditto.
6 Suggested by Dave Love <fx@gnu.org>.
7
8 * mml.el (mml-preview): Disable local map.
9
10 * mml.el (mml-preview): Bind `q'.
11
12002-02-05 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 122002-02-05 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 13
3 * binhex.el (binhex-decoder-switches): Doc fix. 14 * binhex.el (binhex-decoder-switches): Doc fix.
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index f4a1a88f41a..98075c940e2 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -1667,6 +1667,7 @@ If FORCE, decode the article whether it is marked as base64 not."
1667 (narrow-to-region (point) (point-max)) 1667 (narrow-to-region (point) (point-max))
1668 (mm-setup-w3) 1668 (mm-setup-w3)
1669 (let ((w3-strict-width (window-width)) 1669 (let ((w3-strict-width (window-width))
1670 (url-gateway-unplugged t)
1670 (url-standalone-mode t)) 1671 (url-standalone-mode t))
1671 (condition-case var 1672 (condition-case var
1672 (w3-region (point-min) (point-max)) 1673 (w3-region (point-min) (point-max))
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index 2fa24a72855..707bd708459 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -89,6 +89,7 @@
89 (setq text (mm-get-part handle)) 89 (setq text (mm-get-part handle))
90 (let ((b (point)) 90 (let ((b (point))
91 (url-standalone-mode t) 91 (url-standalone-mode t)
92 (url-gateway-unplugged t)
92 (url-current-object 93 (url-current-object
93 (url-generic-parse-url (format "cid:%s" (mm-handle-id handle)))) 94 (url-generic-parse-url (format "cid:%s" (mm-handle-id handle))))
94 (width (window-width)) 95 (width (window-width))
@@ -120,8 +121,7 @@
120 (let ((w3-strict-width width) 121 (let ((w3-strict-width width)
121 ;; Don't let w3 set the global version of 122 ;; Don't let w3 set the global version of
122 ;; this variable. 123 ;; this variable.
123 (fill-column fill-column) 124 (fill-column fill-column))
124 (url-standalone-mode t))
125 (condition-case var 125 (condition-case var
126 (w3-region (point-min) (point-max)) 126 (w3-region (point-min) (point-max))
127 (error 127 (error
@@ -214,7 +214,8 @@
214 214
215(defun mm-w3-prepare-buffer () 215(defun mm-w3-prepare-buffer ()
216 (require 'w3) 216 (require 'w3)
217 (let ((url-standalone-mode t)) 217 (let ((url-standalone-mode t)
218 (url-gateway-unplugged t))
218 (w3-prepare-buffer))) 219 (w3-prepare-buffer)))
219 220
220(defun mm-view-message () 221(defun mm-view-message ()
diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el
index d2beef9fa50..e28fa1e9e1e 100644
--- a/lisp/gnus/mml.el
+++ b/lisp/gnus/mml.el
@@ -1,5 +1,5 @@
1;;; mml.el --- package for parsing and validating MML documents 1;;; mml.el --- package for parsing and validating MML documents
2;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. 2;; Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3 3
4;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 4;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
5;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
@@ -854,8 +854,10 @@ If RAW, don't highlight the article."
854 (run-hooks 'gnus-article-decode-hook) 854 (run-hooks 'gnus-article-decode-hook)
855 (let ((gnus-newsgroup-name "dummy")) 855 (let ((gnus-newsgroup-name "dummy"))
856 (gnus-article-prepare-display)))) 856 (gnus-article-prepare-display))))
857 (fundamental-mode) 857 ;; Disable article-mode-map.
858 (use-local-map nil)
858 (setq buffer-read-only t) 859 (setq buffer-read-only t)
860 (local-set-key "q" (lambda () (interactive) (kill-buffer nil)))
859 (goto-char (point-min)))) 861 (goto-char (point-min))))
860 862
861(defun mml-validate () 863(defun mml-validate ()