diff options
| -rw-r--r-- | doc/misc/ChangeLog | 33 | ||||
| -rw-r--r-- | doc/misc/gnus-news.texi | 11 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 24 | ||||
| -rw-r--r-- | etc/GNUS-NEWS | 26 | ||||
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 41 | ||||
| -rw-r--r-- | lisp/gnus/auth-source.el | 62 | ||||
| -rw-r--r-- | lisp/gnus/gnus-diary.el | 8 | ||||
| -rw-r--r-- | lisp/gnus/gnus-registry.el | 3 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 5 | ||||
| -rw-r--r-- | lisp/gnus/mm-decode.el | 6 | ||||
| -rw-r--r-- | lisp/net/tls.el | 12 |
13 files changed, 178 insertions, 61 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index ef1a9ea569e..8015e54ebc3 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,36 @@ | |||
| 1 | 2008-04-13 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * gnus.texi (Oort Gnus): Add message-fill-column. | ||
| 4 | |||
| 5 | 2008-04-12 Adrian Aichner <adrian@xemacs.org> | ||
| 6 | |||
| 7 | * gnus.texi (Mail Source Specifiers): Typo fix. | ||
| 8 | |||
| 9 | 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 10 | |||
| 11 | * gnus.texi (Diary Headers Generation): Update key binding for | ||
| 12 | `gnus-diary-check-message'. | ||
| 13 | |||
| 14 | 2008-04-10 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 15 | |||
| 16 | * gnus.texi (Emacsen): Addition. | ||
| 17 | |||
| 18 | 2008-04-10 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 19 | |||
| 20 | * gnus.texi (Emacsen): Give recommendations for Emacs 22 and Emacs 23. | ||
| 21 | |||
| 22 | 2008-04-09 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 23 | |||
| 24 | * gnus.texi (Oort Gnus): Mention customizing of tool bars. | ||
| 25 | |||
| 26 | 2008-04-09 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 27 | |||
| 28 | * gnus-news.texi: Update tool bar item. | ||
| 29 | |||
| 30 | 2008-04-09 Sven Joachim <svenjoac@gmx.de> | ||
| 31 | |||
| 32 | * gnus-news.texi: Fix typos. | ||
| 33 | |||
| 1 | 2008-04-11 Jay Belanger <jay.p.belanger@gmail.com> | 34 | 2008-04-11 Jay Belanger <jay.p.belanger@gmail.com> |
| 2 | 35 | ||
| 3 | * calc.texi (Vector and Matrix Arithmetic, Calc Summary): | 36 | * calc.texi (Vector and Matrix Arithmetic, Calc Summary): |
diff --git a/doc/misc/gnus-news.texi b/doc/misc/gnus-news.texi index f611bee067e..db22c5b4193 100644 --- a/doc/misc/gnus-news.texi +++ b/doc/misc/gnus-news.texi | |||
| @@ -32,10 +32,10 @@ file, where this release will store flags for nntp. See a later entry | |||
| 32 | for more information about nntp marks. Note that downgrading isn't | 32 | for more information about nntp marks. Note that downgrading isn't |
| 33 | safe in general. | 33 | safe in general. |
| 34 | 34 | ||
| 35 | @item Incompatibity when switching from Emacs 23 to Emacs 22 | 35 | @item Incompatibility when switching from Emacs 23 to Emacs 22 |
| 36 | In Emacs 23, Gnus uses Emacs' new internal coding system @code{utf-8-emacs} | 36 | In Emacs 23, Gnus uses Emacs' new internal coding system @code{utf-8-emacs} |
| 37 | for saving articles drafts and @file{~/.newsrc.eld}. These file may not | 37 | for saving articles drafts and @file{~/.newsrc.eld}. These files may not |
| 38 | be read correctly in Emacs 22 and below. If you want to Gnus across | 38 | be read correctly in Emacs 22 and below. If you want to use Gnus across |
| 39 | different Emacs versions, you may set @code{mm-auto-save-coding-system} | 39 | different Emacs versions, you may set @code{mm-auto-save-coding-system} |
| 40 | to @code{emacs-mule}. | 40 | to @code{emacs-mule}. |
| 41 | @c FIXME: Untested. (Or did anyone test it?) | 41 | @c FIXME: Untested. (Or did anyone test it?) |
| @@ -284,9 +284,8 @@ messages are deleted again). | |||
| 284 | @itemize @bullet | 284 | @itemize @bullet |
| 285 | 285 | ||
| 286 | @item The tool bar has been updated to use GNOME icons. | 286 | @item The tool bar has been updated to use GNOME icons. |
| 287 | You can also customize the tool bar. There's no documentation in the | 287 | You can also customize the tool bars: @kbd{M-x customize-apropos RET |
| 288 | manual yet, but @kbd{M-x customize-apropos RET -tool-bar$} should get | 288 | -tool-bar$} should get you started. (Only for Emacs, not in XEmacs.) |
| 289 | you started. (Only for Emacs, not in XEmacs.) | ||
| 290 | @c FIXME: Document this in the manual | 289 | @c FIXME: Document this in the manual |
| 291 | 290 | ||
| 292 | @item The tool bar icons are now (de)activated correctly | 291 | @item The tool bar icons are now (de)activated correctly |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index e2bb06e6f2f..91811b5d20e 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -14576,7 +14576,7 @@ corresponding keywords. | |||
| 14576 | 14576 | ||
| 14577 | @item :mailbox | 14577 | @item :mailbox |
| 14578 | The name of the mailbox to get mail from. The default is @samp{INBOX} | 14578 | The name of the mailbox to get mail from. The default is @samp{INBOX} |
| 14579 | which normally is the mailbox which receive incoming mail. | 14579 | which normally is the mailbox which receives incoming mail. |
| 14580 | 14580 | ||
| 14581 | @item :predicate | 14581 | @item :predicate |
| 14582 | The predicate used to find articles to fetch. The default, @samp{UNSEEN | 14582 | The predicate used to find articles to fetch. The default, @samp{UNSEEN |
| @@ -18971,9 +18971,9 @@ needed. | |||
| 18971 | 18971 | ||
| 18972 | This function is hooked into the @code{nndiary} back end, so that | 18972 | This function is hooked into the @code{nndiary} back end, so that |
| 18973 | moving or copying an article to a diary group will trigger it | 18973 | moving or copying an article to a diary group will trigger it |
| 18974 | automatically. It is also bound to @kbd{C-c D c} in @code{message-mode} | 18974 | automatically. It is also bound to @kbd{C-c C-f d} in |
| 18975 | and @code{article-edit-mode} in order to ease the process of converting | 18975 | @code{message-mode} and @code{article-edit-mode} in order to ease the |
| 18976 | a usual mail to a diary one. | 18976 | process of converting a usual mail to a diary one. |
| 18977 | 18977 | ||
| 18978 | This function takes a prefix argument which will force prompting of | 18978 | This function takes a prefix argument which will force prompting of |
| 18979 | all diary headers, regardless of their presence or validity. That way, | 18979 | all diary headers, regardless of their presence or validity. That way, |
| @@ -26261,7 +26261,7 @@ know. | |||
| 26261 | @cindex Mule | 26261 | @cindex Mule |
| 26262 | @cindex Emacs | 26262 | @cindex Emacs |
| 26263 | 26263 | ||
| 26264 | Gnus should work on: | 26264 | This version of Gnus should work on: |
| 26265 | 26265 | ||
| 26266 | @itemize @bullet | 26266 | @itemize @bullet |
| 26267 | 26267 | ||
| @@ -26278,6 +26278,8 @@ that. Not reliably, at least. Older versions of Gnus may work on older | |||
| 26278 | Emacs versions. Particularly, Gnus 5.10.8 should also work on Emacs | 26278 | Emacs versions. Particularly, Gnus 5.10.8 should also work on Emacs |
| 26279 | 20.7 and XEmacs 21.1. | 26279 | 20.7 and XEmacs 21.1. |
| 26280 | 26280 | ||
| 26281 | @c No-merge comment: The paragraph added in v5-10 here must not be | ||
| 26282 | @c synced here! | ||
| 26281 | 26283 | ||
| 26282 | @node Gnus Development | 26284 | @node Gnus Development |
| 26283 | @subsection Gnus Development | 26285 | @subsection Gnus Development |
| @@ -27939,7 +27941,12 @@ controls this. | |||
| 27939 | @item You can now drag and drop attachments to the Message buffer. | 27941 | @item You can now drag and drop attachments to the Message buffer. |
| 27940 | See @code{mml-dnd-protocol-alist} and @code{mml-dnd-attach-options}. | 27942 | See @code{mml-dnd-protocol-alist} and @code{mml-dnd-attach-options}. |
| 27941 | @xref{MIME, ,MIME, message, Message Manual}. | 27943 | @xref{MIME, ,MIME, message, Message Manual}. |
| 27942 | @c New in 5.10.9 / 5.11 | 27944 | @c New in 5.10.9 / 5.11 (Emacs 21.1) |
| 27945 | |||
| 27946 | @item @code{auto-fill-mode} is enabled by default in Message mode. | ||
| 27947 | See @code{message-fill-column}. @xref{Various Message Variables, , | ||
| 27948 | Message Headers, message, Message Manual}. | ||
| 27949 | @c New in Gnus 5.10.12 / 5.11 (Emacs 22.3) | ||
| 27943 | 27950 | ||
| 27944 | @end itemize | 27951 | @end itemize |
| 27945 | 27952 | ||
| @@ -27992,8 +27999,9 @@ message, Message Manual}). | |||
| 27992 | 27999 | ||
| 27993 | @item | 28000 | @item |
| 27994 | The tool bars have been updated to use GNOME icons in Group, Summary and | 28001 | The tool bars have been updated to use GNOME icons in Group, Summary and |
| 27995 | Message mode. You can also customize the tool bars. This is a new | 28002 | Message mode. You can also customize the tool bars: @kbd{M-x |
| 27996 | feature in Gnus 5.10.9. (Only for Emacs, not in XEmacs.) | 28003 | customize-apropos RET -tool-bar$} should get you started. This is a new |
| 28004 | feature in Gnus 5.10.10. (Only for Emacs, not in XEmacs.) | ||
| 27997 | 28005 | ||
| 27998 | @item The tool bar icons are now (de)activated correctly | 28006 | @item The tool bar icons are now (de)activated correctly |
| 27999 | in the group buffer, see the variable @code{gnus-group-update-tool-bar}. | 28007 | in the group buffer, see the variable @code{gnus-group-update-tool-bar}. |
diff --git a/etc/GNUS-NEWS b/etc/GNUS-NEWS index e0c8808ec79..243d14fd805 100644 --- a/etc/GNUS-NEWS +++ b/etc/GNUS-NEWS | |||
| @@ -21,11 +21,12 @@ this release will store flags for nntp. See a later entry for more | |||
| 21 | information about nntp marks. Note that downgrading isn't safe in | 21 | information about nntp marks. Note that downgrading isn't safe in |
| 22 | general. | 22 | general. |
| 23 | 23 | ||
| 24 | ** Incompatibity when switching from Emacs 23 to Emacs 22 In Emacs 23, Gnus | 24 | ** Incompatibility when switching from Emacs 23 to Emacs 22 In Emacs 23, |
| 25 | uses Emacs' new internal coding system `utf-8-emacs' for saving articles | 25 | Gnus uses Emacs' new internal coding system `utf-8-emacs' for saving |
| 26 | drafts and `~/.newsrc.eld'. These file may not be read correctly in | 26 | articles drafts and `~/.newsrc.eld'. These files may not be read |
| 27 | Emacs 22 and below. If you want to Gnus across different Emacs | 27 | correctly in Emacs 22 and below. If you want to use Gnus across |
| 28 | versions, you may set `mm-auto-save-coding-system' to `emacs-mule'. | 28 | different Emacs versions, you may set `mm-auto-save-coding-system' to |
| 29 | `emacs-mule'. | ||
| 29 | 30 | ||
| 30 | ** Lisp files are now installed in `.../site-lisp/gnus/' by default. It | 31 | ** Lisp files are now installed in `.../site-lisp/gnus/' by default. It |
| 31 | defaulted to `.../site-lisp/' formerly. In addition to this, the new | 32 | defaulted to `.../site-lisp/' formerly. In addition to this, the new |
| @@ -57,6 +58,11 @@ back end, the PGP passphrase is managed by this mechanism. Passwords | |||
| 57 | for ManageSieve connections are managed by this mechanism, after | 58 | for ManageSieve connections are managed by this mechanism, after |
| 58 | querying the user about whether to do so. | 59 | querying the user about whether to do so. |
| 59 | 60 | ||
| 61 | ** Using EasyPG with Gnus When EasyPG, is available, Gnus will use it | ||
| 62 | instead of PGG. EasyPG is an Emacs user interface to GNU Privacy Guard. | ||
| 63 | *Note EasyPG Assistant user's manual: (epa)Top. EasyPG is included in | ||
| 64 | Emacs 23 and available separately as well. | ||
| 65 | |||
| 60 | 66 | ||
| 61 | * Changes in group mode | 67 | * Changes in group mode |
| 62 | 68 | ||
| @@ -64,6 +70,7 @@ querying the user about whether to do so. | |||
| 64 | couple of days, not immediately. *Note Mail Source Customization::. | 70 | couple of days, not immediately. *Note Mail Source Customization::. |
| 65 | (New in Gnus 5.10.10 / Emacs 22.2) | 71 | (New in Gnus 5.10.10 / Emacs 22.2) |
| 66 | 72 | ||
| 73 | |||
| 67 | 74 | ||
| 68 | * Changes in summary and article mode | 75 | * Changes in summary and article mode |
| 69 | 76 | ||
| @@ -71,6 +78,9 @@ couple of days, not immediately. *Note Mail Source Customization::. | |||
| 71 | that are not reused when you select another article. *Note Sticky | 78 | that are not reused when you select another article. *Note Sticky |
| 72 | Articles::. | 79 | Articles::. |
| 73 | 80 | ||
| 81 | ** Gnus can selectively display `text/html' articles with a WWW browser | ||
| 82 | with `K H'. *Note MIME Commands::. | ||
| 83 | |||
| 74 | ** International host names (IDNA) can now be decoded inside article bodies | 84 | ** International host names (IDNA) can now be decoded inside article bodies |
| 75 | using `W i' (`gnus-summary-idna-message'). This requires that GNU Libidn | 85 | using `W i' (`gnus-summary-idna-message'). This requires that GNU Libidn |
| 76 | (<http://www.gnu.org/software/libidn/>) has been installed. | 86 | (<http://www.gnu.org/software/libidn/>) has been installed. |
| @@ -211,13 +221,13 @@ server buffer) renumbers all articles in a group, starting from 1 and | |||
| 211 | removing gaps. As a consequence, you get a correct total article count | 221 | removing gaps. As a consequence, you get a correct total article count |
| 212 | (until messages are deleted again). | 222 | (until messages are deleted again). |
| 213 | 223 | ||
| 224 | |||
| 214 | 225 | ||
| 215 | * Appearance | 226 | * Appearance |
| 216 | 227 | ||
| 217 | ** The tool bar has been updated to use GNOME icons. You can also | 228 | ** The tool bar has been updated to use GNOME icons. You can also |
| 218 | customize the tool bar. There's no documentation in the manual yet, but | 229 | customize the tool bars: `M-x customize-apropos RET -tool-bar$' should |
| 219 | `M-x customize-apropos RET -tool-bar$' should get you started. (Only | 230 | get you started. (Only for Emacs, not in XEmacs.) |
| 220 | for Emacs, not in XEmacs.) | ||
| 221 | 231 | ||
| 222 | ** The tool bar icons are now (de)activated correctly in the group buffer, | 232 | ** The tool bar icons are now (de)activated correctly in the group buffer, |
| 223 | see the variable `gnus-group-update-tool-bar'. Its default value | 233 | see the variable `gnus-group-update-tool-bar'. Its default value |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2445d554417..0f065ec2a31 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change) | ||
| 2 | |||
| 3 | * net/tls.el (tls-program): Add -ign_eof argument to call the | ||
| 4 | openssl commands. | ||
| 5 | (tls-checktrust): Ditto. | ||
| 6 | |||
| 1 | 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu> | 7 | 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 8 | ||
| 3 | * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision) | 9 | * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision) |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 535271a2556..4b19735f824 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,37 @@ | |||
| 1 | 2008-04-13 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * message.el (message-signature-separator, message-cite-function): | ||
| 4 | Change custom version. | ||
| 5 | |||
| 6 | 2008-04-13 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 7 | |||
| 8 | * mm-decode.el (mm-display-external): Make temp file read-only. | ||
| 9 | |||
| 10 | 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 11 | |||
| 12 | * gnus-diary.el (gnus-article-edit-mode-map, message-mode-map): Remove | ||
| 13 | binding for `gnus-diary-version'. Bind `gnus-diary-check-message' to | ||
| 14 | `C-c C-f d'. | ||
| 15 | |||
| 16 | 2008-04-12 Adrian Aichner <adrian@xemacs.org> | ||
| 17 | |||
| 18 | * gnus-sum.el (gnus-summary-goto-subject): Typo fix. | ||
| 19 | |||
| 20 | 2008-04-09 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 21 | |||
| 22 | * auth-source.el: Added docs. | ||
| 23 | (auth-sources): Modified format to support server. | ||
| 24 | (auth-source-pick, auth-source-user-or-password) | ||
| 25 | (auth-source-user-or-password-imap) | ||
| 26 | (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh) | ||
| 27 | (auth-source-user-or-password-sftp) | ||
| 28 | (auth-source-user-or-password-smtp): Add server parameter. | ||
| 29 | |||
| 30 | 2008-04-08 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 31 | |||
| 32 | * gnus-registry.el: Initialize the registry when gnus-registry-install | ||
| 33 | is t. | ||
| 34 | |||
| 1 | 2008-04-08 Katsumi Yamaoka <yamaoka@jpl.org> | 35 | 2008-04-08 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 36 | ||
| 3 | * compface.el (uncompface): Make buffer unibyte. | 37 | * compface.el (uncompface): Make buffer unibyte. |
| @@ -1393,8 +1427,11 @@ | |||
| 1393 | (message-fix-before-sending): Add `bogus-recipient'. | 1427 | (message-fix-before-sending): Add `bogus-recipient'. |
| 1394 | 1428 | ||
| 1395 | * gnus-art.el (gnus-button-mid-or-mail-heuristic-alist): Add "alpine". | 1429 | * gnus-art.el (gnus-button-mid-or-mail-heuristic-alist): Add "alpine". |
| 1396 | (gnus-treat-emphasize, gnus-treat-body-boundary): Don't test | 1430 | (gnus-treat-body-boundary): Don't test window-system. |
| 1397 | window-system. | 1431 | |
| 1432 | 2007-10-28 Leo <sdl.web@gmail.com> (tiny change) | ||
| 1433 | |||
| 1434 | * gnus-art.el (gnus-treat-emphasize): Don't test window-system. | ||
| 1398 | 1435 | ||
| 1399 | 2007-10-28 Reiner Steib <Reiner.Steib@gmx.de> | 1436 | 2007-10-28 Reiner Steib <Reiner.Steib@gmx.de> |
| 1400 | 1437 | ||
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index f37e0368845..9883eb64acc 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el | |||
| @@ -28,6 +28,19 @@ | |||
| 28 | ;; authenticate in a single place. Simplicity is the goal. Instead | 28 | ;; authenticate in a single place. Simplicity is the goal. Instead |
| 29 | ;; of providing 5000 options, we'll stick to simple, easy to | 29 | ;; of providing 5000 options, we'll stick to simple, easy to |
| 30 | ;; understand options. | 30 | ;; understand options. |
| 31 | |||
| 32 | ;; Easy setup: | ||
| 33 | ;; (require 'auth-source) | ||
| 34 | ;; (customize-variable 'auth-sources) ;; optional | ||
| 35 | |||
| 36 | ;; now, whatever sources you've defined for password have to be available | ||
| 37 | |||
| 38 | ;; if you want encrypted sources, which is strongly recommended, do | ||
| 39 | ;; (require 'epa-file) | ||
| 40 | ;; (epa-file-mode) | ||
| 41 | |||
| 42 | ;; before you put some data in ~/.authinfo.gpg (the default place) | ||
| 43 | |||
| 31 | ;;; Code: | 44 | ;;; Code: |
| 32 | 45 | ||
| 33 | (eval-when-compile (require 'cl)) | 46 | (eval-when-compile (require 'cl)) |
| @@ -73,10 +86,15 @@ Each entry is the authentication type with optional properties." | |||
| 73 | (list :tag "Source definition" | 86 | (list :tag "Source definition" |
| 74 | (const :format "" :value :source) | 87 | (const :format "" :value :source) |
| 75 | (string :tag "Authentication Source") | 88 | (string :tag "Authentication Source") |
| 89 | (const :format "" :value :server) | ||
| 90 | (choice :tag "Server (logical name) choice" | ||
| 91 | (const :tag "Any" t) | ||
| 92 | (regexp :tag "Server regular expression (TODO)") | ||
| 93 | (const :tag "Fallback" nil)) | ||
| 76 | (const :format "" :value :host) | 94 | (const :format "" :value :host) |
| 77 | (choice :tag "Host choice" | 95 | (choice :tag "Host (machine) choice" |
| 78 | (const :tag "Any" t) | 96 | (const :tag "Any" t) |
| 79 | (regexp :tag "Host regular expression (TODO)") | 97 | (regexp :tag "Host (machine) regular expression (TODO)") |
| 80 | (const :tag "Fallback" nil)) | 98 | (const :tag "Fallback" nil)) |
| 81 | (const :format "" :value :protocol) | 99 | (const :format "" :value :protocol) |
| 82 | (choice :tag "Protocol" | 100 | (choice :tag "Protocol" |
| @@ -100,16 +118,20 @@ Each entry is the authentication type with optional properties." | |||
| 100 | ;; (auth-source-user-or-password-imap "password" "imap.myhost.com") | 118 | ;; (auth-source-user-or-password-imap "password" "imap.myhost.com") |
| 101 | ;; (auth-source-protocol-defaults 'imap) | 119 | ;; (auth-source-protocol-defaults 'imap) |
| 102 | 120 | ||
| 103 | (defun auth-source-pick (host protocol &optional fallback) | 121 | (defun auth-source-pick (server host protocol &optional fallback) |
| 104 | "Parse `auth-sources' for HOST and PROTOCOL matches. | 122 | "Parse `auth-sources' for SERVER, HOST, and PROTOCOL matches. |
| 105 | 123 | ||
| 106 | Returns fallback choices (where PROTOCOL or HOST are nil) with FALLBACK t." | 124 | Returns fallback choices (where SERVER. PROTOCOL or HOST are nil) with FALLBACK t." |
| 107 | (interactive "sHost: \nsProtocol: \n") ;for testing | 125 | (interactive "sHost: \nsProtocol: \n") ;for testing |
| 108 | (let (choices) | 126 | (let (choices) |
| 109 | (dolist (choice auth-sources) | 127 | (dolist (choice auth-sources) |
| 110 | (let ((h (plist-get choice :host)) | 128 | (let ((s (plist-get choice :server)) |
| 129 | (h (plist-get choice :host)) | ||
| 111 | (p (plist-get choice :protocol))) | 130 | (p (plist-get choice :protocol))) |
| 112 | (when (and | 131 | (when (and |
| 132 | (or (equal t s) | ||
| 133 | (and (stringp s) (string-match s server)) | ||
| 134 | (and fallback (equal s nil))) | ||
| 113 | (or (equal t h) | 135 | (or (equal t h) |
| 114 | (and (stringp h) (string-match h host)) | 136 | (and (stringp h) (string-match h host)) |
| 115 | (and fallback (equal h nil))) | 137 | (and fallback (equal h nil))) |
| @@ -120,12 +142,12 @@ Returns fallback choices (where PROTOCOL or HOST are nil) with FALLBACK t." | |||
| 120 | (if choices | 142 | (if choices |
| 121 | choices | 143 | choices |
| 122 | (unless fallback | 144 | (unless fallback |
| 123 | (auth-source-pick host protocol t))))) | 145 | (auth-source-pick server host protocol t))))) |
| 124 | 146 | ||
| 125 | (defun auth-source-user-or-password (mode host protocol) | 147 | (defun auth-source-user-or-password (mode server host protocol) |
| 126 | "Find user or password (from the string MODE) matching HOST and PROTOCOL." | 148 | "Find user or password (from the string MODE) matching SERVER, HOST, and PROTOCOL." |
| 127 | (let (found) | 149 | (let (found) |
| 128 | (dolist (choice (auth-source-pick host protocol)) | 150 | (dolist (choice (auth-source-pick server host protocol)) |
| 129 | (setq found (netrc-machine-user-or-password | 151 | (setq found (netrc-machine-user-or-password |
| 130 | mode | 152 | mode |
| 131 | (plist-get choice :source) | 153 | (plist-get choice :source) |
| @@ -139,20 +161,20 @@ Returns fallback choices (where PROTOCOL or HOST are nil) with FALLBACK t." | |||
| 139 | "Return a list of default ports and names for PROTOCOL." | 161 | "Return a list of default ports and names for PROTOCOL." |
| 140 | (cdr-safe (assoc protocol auth-source-protocols))) | 162 | (cdr-safe (assoc protocol auth-source-protocols))) |
| 141 | 163 | ||
| 142 | (defun auth-source-user-or-password-imap (mode host) | 164 | (defun auth-source-user-or-password-imap (mode server host) |
| 143 | (auth-source-user-or-password mode host 'imap)) | 165 | (auth-source-user-or-password mode server host 'imap)) |
| 144 | 166 | ||
| 145 | (defun auth-source-user-or-password-pop3 (mode host) | 167 | (defun auth-source-user-or-password-pop3 (mode server host) |
| 146 | (auth-source-user-or-password mode host 'pop3)) | 168 | (auth-source-user-or-password mode server host 'pop3)) |
| 147 | 169 | ||
| 148 | (defun auth-source-user-or-password-ssh (mode host) | 170 | (defun auth-source-user-or-password-ssh (mode server host) |
| 149 | (auth-source-user-or-password mode host 'ssh)) | 171 | (auth-source-user-or-password mode server host 'ssh)) |
| 150 | 172 | ||
| 151 | (defun auth-source-user-or-password-sftp (mode host) | 173 | (defun auth-source-user-or-password-sftp (mode server host) |
| 152 | (auth-source-user-or-password mode host 'sftp)) | 174 | (auth-source-user-or-password mode server host 'sftp)) |
| 153 | 175 | ||
| 154 | (defun auth-source-user-or-password-smtp (mode host) | 176 | (defun auth-source-user-or-password-smtp (mode server host) |
| 155 | (auth-source-user-or-password mode host 'smtp)) | 177 | (auth-source-user-or-password mode server host 'smtp)) |
| 156 | 178 | ||
| 157 | (provide 'auth-source) | 179 | (provide 'auth-source) |
| 158 | 180 | ||
diff --git a/lisp/gnus/gnus-diary.el b/lisp/gnus/gnus-diary.el index db7f7135e5f..183214f9220 100644 --- a/lisp/gnus/gnus-diary.el +++ b/lisp/gnus/gnus-diary.el | |||
| @@ -390,8 +390,8 @@ If ARG (or prefix) is non-nil, force prompting for all fields." | |||
| 390 | (add-hook 'nndiary-request-accept-article-hooks | 390 | (add-hook 'nndiary-request-accept-article-hooks |
| 391 | (lambda () (gnus-diary-check-message nil))) | 391 | (lambda () (gnus-diary-check-message nil))) |
| 392 | 392 | ||
| 393 | (define-key message-mode-map "\C-cDc" 'gnus-diary-check-message) | 393 | (define-key message-mode-map "\C-c\C-fd" 'gnus-diary-check-message) |
| 394 | (define-key gnus-article-edit-mode-map "\C-cDc" 'gnus-diary-check-message) | 394 | (define-key gnus-article-edit-mode-map "\C-c\C-fd" 'gnus-diary-check-message) |
| 395 | 395 | ||
| 396 | 396 | ||
| 397 | ;; The end ================================================================== | 397 | ;; The end ================================================================== |
| @@ -401,10 +401,6 @@ If ARG (or prefix) is non-nil, force prompting for all fields." | |||
| 401 | (interactive) | 401 | (interactive) |
| 402 | (message "NNDiary version %s" nndiary-version)) | 402 | (message "NNDiary version %s" nndiary-version)) |
| 403 | 403 | ||
| 404 | (define-key message-mode-map "\C-cDv" 'gnus-diary-version) | ||
| 405 | (define-key gnus-article-edit-mode-map "\C-cDv" 'gnus-diary-version) | ||
| 406 | |||
| 407 | |||
| 408 | (provide 'gnus-diary) | 404 | (provide 'gnus-diary) |
| 409 | 405 | ||
| 410 | ;; arch-tag: 98467e70-337e-4ddc-b92d-45d403ff1b4b | 406 | ;; arch-tag: 98467e70-337e-4ddc-b92d-45d403ff1b4b |
diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el index b5ec4e1ae5f..fd08d4d1e39 100644 --- a/lisp/gnus/gnus-registry.el +++ b/lisp/gnus/gnus-registry.el | |||
| @@ -1115,7 +1115,8 @@ Returns the first place where the trail finds a group name." | |||
| 1115 | ;;; we could call it here: (customize-variable 'gnus-registry-install) | 1115 | ;;; we could call it here: (customize-variable 'gnus-registry-install) |
| 1116 | gnus-registry-install) | 1116 | gnus-registry-install) |
| 1117 | 1117 | ||
| 1118 | (when (gnus-registry-install-p) | 1118 | (when (or (eq gnus-registry-install t) |
| 1119 | (gnus-registry-install-p)) | ||
| 1119 | (gnus-registry-initialize)) | 1120 | (gnus-registry-initialize)) |
| 1120 | 1121 | ||
| 1121 | ;; TODO: a few things | 1122 | ;; TODO: a few things |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 0d76e63bf74..6b9f9c65f22 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -7445,7 +7445,7 @@ If optional argument UNREAD is non-nil, only unread article is selected." | |||
| 7445 | (gnus-summary-position-point)) | 7445 | (gnus-summary-position-point)) |
| 7446 | 7446 | ||
| 7447 | (defun gnus-summary-goto-subject (article &optional force silent) | 7447 | (defun gnus-summary-goto-subject (article &optional force silent) |
| 7448 | "Go the subject line of ARTICLE. | 7448 | "Go to the subject line of ARTICLE. |
| 7449 | If FORCE, also allow jumping to articles not currently shown." | 7449 | If FORCE, also allow jumping to articles not currently shown." |
| 7450 | (interactive "nArticle number: ") | 7450 | (interactive "nArticle number: ") |
| 7451 | (unless (numberp article) | 7451 | (unless (numberp article) |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 117ac00e5ba..f35b9a336bb 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -425,7 +425,7 @@ whitespace)." | |||
| 425 | :type '(choice (const :tag "strict" "^-- $") | 425 | :type '(choice (const :tag "strict" "^-- $") |
| 426 | (const :tag "loose" "^-- *$") | 426 | (const :tag "loose" "^-- *$") |
| 427 | regexp) | 427 | regexp) |
| 428 | :version "23.1" ;; No Gnus (changed default) | 428 | :version "22.3" ;; Gnus 5.10.12 (changed default) |
| 429 | :link '(custom-manual "(message)Various Message Variables") | 429 | :link '(custom-manual "(message)Various Message Variables") |
| 430 | :group 'message-various) | 430 | :group 'message-various) |
| 431 | 431 | ||
| @@ -1018,6 +1018,7 @@ Used by `message-yank-original' via `message-yank-cite'." | |||
| 1018 | :link '(custom-manual "(message)Insertion Variables") | 1018 | :link '(custom-manual "(message)Insertion Variables") |
| 1019 | :type 'integer) | 1019 | :type 'integer) |
| 1020 | 1020 | ||
| 1021 | ;;;###autoload | ||
| 1021 | (defcustom message-cite-function 'message-cite-original-without-signature | 1022 | (defcustom message-cite-function 'message-cite-original-without-signature |
| 1022 | "*Function for citing an original message. | 1023 | "*Function for citing an original message. |
| 1023 | Predefined functions include `message-cite-original' and | 1024 | Predefined functions include `message-cite-original' and |
| @@ -1028,7 +1029,7 @@ Note that these functions use `mail-citation-hook' if that is non-nil." | |||
| 1028 | (function-item sc-cite-original) | 1029 | (function-item sc-cite-original) |
| 1029 | (function :tag "Other")) | 1030 | (function :tag "Other")) |
| 1030 | :link '(custom-manual "(message)Insertion Variables") | 1031 | :link '(custom-manual "(message)Insertion Variables") |
| 1031 | :version "23.1" ;; No Gnus (changed default) | 1032 | :version "22.3" ;; Gnus 5.10.12 (changed default) |
| 1032 | :group 'message-insertion) | 1033 | :group 'message-insertion) |
| 1033 | 1034 | ||
| 1034 | (defcustom message-indent-citation-function 'message-indent-citation | 1035 | (defcustom message-indent-citation-function 'message-indent-citation |
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index a0b55421428..56258b96b61 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el | |||
| @@ -799,7 +799,7 @@ external if displayed external." | |||
| 799 | (copiousoutput (assoc "copiousoutput" mime-info)) | 799 | (copiousoutput (assoc "copiousoutput" mime-info)) |
| 800 | file buffer) | 800 | file buffer) |
| 801 | ;; We create a private sub-directory where we store our files. | 801 | ;; We create a private sub-directory where we store our files. |
| 802 | (set-file-modes dir 448) | 802 | (set-file-modes dir #o700) |
| 803 | (if filename | 803 | (if filename |
| 804 | (setq file (expand-file-name | 804 | (setq file (expand-file-name |
| 805 | (gnus-map-function mm-file-name-rewrite-functions | 805 | (gnus-map-function mm-file-name-rewrite-functions |
| @@ -819,6 +819,10 @@ external if displayed external." | |||
| 819 | nil suffix)))) | 819 | nil suffix)))) |
| 820 | (let ((coding-system-for-write mm-binary-coding-system)) | 820 | (let ((coding-system-for-write mm-binary-coding-system)) |
| 821 | (write-region (point-min) (point-max) file nil 'nomesg)) | 821 | (write-region (point-min) (point-max) file nil 'nomesg)) |
| 822 | ;; The file is deleted after the viewer exists. If the users edits | ||
| 823 | ;; the file, changes will be lost. Set file to read-only to make it | ||
| 824 | ;; clear. | ||
| 825 | (set-file-modes file #o400) | ||
| 822 | (message "Viewing with %s" method) | 826 | (message "Viewing with %s" method) |
| 823 | (cond | 827 | (cond |
| 824 | (needsterm | 828 | (needsterm |
diff --git a/lisp/net/tls.el b/lisp/net/tls.el index 64a0460e08c..4cdc00c448b 100644 --- a/lisp/net/tls.el +++ b/lisp/net/tls.el | |||
| @@ -80,7 +80,7 @@ and `gnutls-cli' (version 2.0.1) output." | |||
| 80 | 80 | ||
| 81 | (defcustom tls-program '("gnutls-cli -p %p %h" | 81 | (defcustom tls-program '("gnutls-cli -p %p %h" |
| 82 | "gnutls-cli -p %p %h --protocols ssl3" | 82 | "gnutls-cli -p %p %h --protocols ssl3" |
| 83 | "openssl s_client -connect %h:%p -no_ssl2") | 83 | "openssl s_client -connect %h:%p -no_ssl2 -ign_eof") |
| 84 | "List of strings containing commands to start TLS stream to a host. | 84 | "List of strings containing commands to start TLS stream to a host. |
| 85 | Each entry in the list is tried until a connection is successful. | 85 | Each entry in the list is tried until a connection is successful. |
| 86 | %h is replaced with server hostname, %p with port to connect to. | 86 | %h is replaced with server hostname, %p with port to connect to. |
| @@ -97,23 +97,23 @@ successful negotiation." | |||
| 97 | :value | 97 | :value |
| 98 | ("gnutls-cli -p %p %h" | 98 | ("gnutls-cli -p %p %h" |
| 99 | "gnutls-cli -p %p %h --protocols ssl3" | 99 | "gnutls-cli -p %p %h --protocols ssl3" |
| 100 | "openssl s_client -connect %h:%p -no_ssl2") | 100 | "openssl s_client -connect %h:%p -no_ssl2 -ign_eof") |
| 101 | (set :inline t | 101 | (set :inline t |
| 102 | ;; FIXME: add brief `:tag "..."' descriptions. | 102 | ;; FIXME: add brief `:tag "..."' descriptions. |
| 103 | ;; (repeat :inline t :tag "Other" (string)) | 103 | ;; (repeat :inline t :tag "Other" (string)) |
| 104 | ;; See `tls-checktrust': | 104 | ;; See `tls-checktrust': |
| 105 | (const "gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h") | 105 | (const "gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h") |
| 106 | (const "gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h --protocols ssl3") | 106 | (const "gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h --protocols ssl3") |
| 107 | (const "openssl s_client -connect %h:%p -CAfile /etc/ssl/certs/ca-certificates.crt -no_ssl2") | 107 | (const "openssl s_client -connect %h:%p -CAfile /etc/ssl/certs/ca-certificates.crt -no_ssl2 -ign_eof") |
| 108 | ;; No trust check: | 108 | ;; No trust check: |
| 109 | (const "gnutls-cli -p %p %h") | 109 | (const "gnutls-cli -p %p %h") |
| 110 | (const "gnutls-cli -p %p %h --protocols ssl3") | 110 | (const "gnutls-cli -p %p %h --protocols ssl3") |
| 111 | (const "openssl s_client -connect %h:%p -no_ssl2")) | 111 | (const "openssl s_client -connect %h:%p -no_ssl2 -ign_eof")) |
| 112 | (repeat :inline t :tag "Other" (string))) | 112 | (repeat :inline t :tag "Other" (string))) |
| 113 | (const :tag "Default list of commands" | 113 | (const :tag "Default list of commands" |
| 114 | ("gnutls-cli -p %p %h" | 114 | ("gnutls-cli -p %p %h" |
| 115 | "gnutls-cli -p %p %h --protocols ssl3" | 115 | "gnutls-cli -p %p %h --protocols ssl3" |
| 116 | "openssl s_client -connect %h:%p -no_ssl2")) | 116 | "openssl s_client -connect %h:%p -no_ssl2 -ign_eof")) |
| 117 | (list :tag "List of commands" | 117 | (list :tag "List of commands" |
| 118 | (repeat :tag "Command" (string)))) | 118 | (repeat :tag "Command" (string)))) |
| 119 | :version "22.1" | 119 | :version "22.1" |
| @@ -144,7 +144,7 @@ consider trustworthy, e.g.: | |||
| 144 | \(setq tls-program | 144 | \(setq tls-program |
| 145 | '(\"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h\" | 145 | '(\"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h\" |
| 146 | \"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h --protocols ssl3\" | 146 | \"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h --protocols ssl3\" |
| 147 | \"openssl s_client -connect %h:%p -CAfile /etc/ssl/certs/ca-certificates.crt -no_ssl2\"))" | 147 | \"openssl s_client -connect %h:%p -CAfile /etc/ssl/certs/ca-certificates.crt -no_ssl2 -ign_eof\"))" |
| 148 | :type '(choice (const :tag "Always" t) | 148 | :type '(choice (const :tag "Always" t) |
| 149 | (const :tag "Never" nil) | 149 | (const :tag "Never" nil) |
| 150 | (const :tag "Ask" ask)) | 150 | (const :tag "Ask" ask)) |