diff options
| author | Joakim Verona | 2012-12-12 23:32:23 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-12 23:32:23 +0100 |
| commit | 6c0558a3784650ffad28125802f49a846da9beb4 (patch) | |
| tree | 6eb8247e7ef912fc85d3ab3ab208914913370ca8 | |
| parent | 835350a08a35b0045270154ed0c74e736ba725fe (diff) | |
| parent | 202c16d5f5f7d64026f4d0a7e4bb106ea7dbfff1 (diff) | |
| download | emacs-6c0558a3784650ffad28125802f49a846da9beb4.tar.gz emacs-6c0558a3784650ffad28125802f49a846da9beb4.zip | |
auto upstream
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 10 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 3 |
3 files changed, 13 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 565096b6289..052c0324734 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-12-12 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-art.el (gnus-article-browse-html-parts): Use <div align="left"> | ||
| 4 | instead of <pre> to align message header. | ||
| 5 | |||
| 1 | 2012-12-12 Sam Steingold <sds@gnu.org> | 6 | 2012-12-12 Sam Steingold <sds@gnu.org> |
| 2 | 7 | ||
| 3 | * gnus.el (gnus-other-frame-resume-function): Add user option. | 8 | * gnus.el (gnus-other-frame-resume-function): Add user option. |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 9dfe119f831..43c8ca78601 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -2884,14 +2884,16 @@ message header will be added to the bodies of the \"text/html\" parts." | |||
| 2884 | (insert header "\n") | 2884 | (insert header "\n") |
| 2885 | (setq title (message-fetch-field "subject")) | 2885 | (setq title (message-fetch-field "subject")) |
| 2886 | (goto-char (point-min)) | 2886 | (goto-char (point-min)) |
| 2887 | (while (re-search-forward "\\(<\\)\\|\\(>\\)\\|&" nil t) | 2887 | (while (re-search-forward "\\(<\\)\\|\\(>\\)\\|\\(&\\)\\|\n" |
| 2888 | nil t) | ||
| 2888 | (replace-match (cond ((match-beginning 1) "<") | 2889 | (replace-match (cond ((match-beginning 1) "<") |
| 2889 | ((match-beginning 2) ">") | 2890 | ((match-beginning 2) ">") |
| 2890 | (t "&")))) | 2891 | ((match-beginning 3) "&") |
| 2892 | (t "<br>\n")))) | ||
| 2891 | (goto-char (point-min)) | 2893 | (goto-char (point-min)) |
| 2892 | (insert "<pre>\n") | 2894 | (insert "<div align=\"left\">\n") |
| 2893 | (goto-char (point-max)) | 2895 | (goto-char (point-max)) |
| 2894 | (insert "</pre>\n<hr>\n") | 2896 | (insert "</div>\n<hr>\n") |
| 2895 | ;; We have to examine charset one by one since | 2897 | ;; We have to examine charset one by one since |
| 2896 | ;; charset specified in parts might be different. | 2898 | ;; charset specified in parts might be different. |
| 2897 | (if (eq charset 'gnus-decoded) | 2899 | (if (eq charset 'gnus-decoded) |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 753c5fb473e..3849604088d 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -2504,6 +2504,7 @@ Disabling the agent may result in noticeable loss of performance." | |||
| 2504 | 2504 | ||
| 2505 | (defcustom gnus-other-frame-resume-function 'gnus-group-get-new-news | 2505 | (defcustom gnus-other-frame-resume-function 'gnus-group-get-new-news |
| 2506 | "Function called by the command `gnus-other-frame' when resuming Gnus." | 2506 | "Function called by the command `gnus-other-frame' when resuming Gnus." |
| 2507 | :version "24.4" | ||
| 2507 | :group 'gnus-start | 2508 | :group 'gnus-start |
| 2508 | :type '(choice (function-item gnus) | 2509 | :type '(choice (function-item gnus) |
| 2509 | (function-item gnus-no-server) | 2510 | (function-item gnus-no-server) |
| @@ -4404,7 +4405,7 @@ current display is used." | |||
| 4404 | (make-frame gnus-other-frame-parameters)))) | 4405 | (make-frame gnus-other-frame-parameters)))) |
| 4405 | (if alive | 4406 | (if alive |
| 4406 | (progn (switch-to-buffer gnus-group-buffer) | 4407 | (progn (switch-to-buffer gnus-group-buffer) |
| 4407 | (funcall gnus-other-frame-resume-function arg)) | 4408 | (funcall gnus-other-frame-resume-function arg)) |
| 4408 | (funcall gnus-other-frame-function arg) | 4409 | (funcall gnus-other-frame-function arg) |
| 4409 | (add-hook 'gnus-exit-gnus-hook 'gnus-delete-gnus-frame) | 4410 | (add-hook 'gnus-exit-gnus-hook 'gnus-delete-gnus-frame) |
| 4410 | ;; One might argue that `gnus-delete-gnus-frame' should not be called | 4411 | ;; One might argue that `gnus-delete-gnus-frame' should not be called |