aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Shmakov2013-11-21 22:15:30 +0000
committerKatsumi Yamaoka2013-11-21 22:15:30 +0000
commit1cf525ad7287cff411afb390560163641e9d43d8 (patch)
treeeba306b2f69997c419ade0859535f4117da2f50a
parent2e8245cec1288daafe75ec1320d8053ccbfa8e17 (diff)
downloademacs-1cf525ad7287cff411afb390560163641e9d43d8.tar.gz
emacs-1cf525ad7287cff411afb390560163641e9d43d8.zip
lisp/gnus/nndoc.el (nndoc-type-alist, nndoc-debbugs-db-type-p): Support debbugs .log files
-rw-r--r--lisp/gnus/ChangeLog9
-rw-r--r--lisp/gnus/nndoc.el8
2 files changed, 17 insertions, 0 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index fceeeb2bd23..11f9e59c478 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,12 @@
12013-11-21 Ivan Shmakov <ivan@siamics.net> (tiny change)
2
3 * nndoc.el (nndoc-type-alist, nndoc-debbugs-db-type-p): Support debbugs
4 .log files.
5
62013-11-20 David Engster <deng@randomsample.de>
7
8 * lpath.el: Fix XEmacs warning for `beginning-of-visual-line'.
9
12013-11-20 Dave Goldberg <david.goldberg6@verizon.net> 102013-11-20 Dave Goldberg <david.goldberg6@verizon.net>
2 11
3 * message.el (message-beginning-of-line): 12 * message.el (message-beginning-of-line):
diff --git a/lisp/gnus/nndoc.el b/lisp/gnus/nndoc.el
index b17a7a6ecd8..69ac2e8fad8 100644
--- a/lisp/gnus/nndoc.el
+++ b/lisp/gnus/nndoc.el
@@ -56,6 +56,10 @@ from the document.")
56 `((mmdf 56 `((mmdf
57 (article-begin . "^\^A\^A\^A\^A\n") 57 (article-begin . "^\^A\^A\^A\^A\n")
58 (body-end . "^\^A\^A\^A\^A\n")) 58 (body-end . "^\^A\^A\^A\^A\n"))
59 (debbugs-db
60 (file-begin . "^\005")
61 (article-begin . "^[\005\007]\n")
62 (body-end . "^\003"))
59 (mime-digest 63 (mime-digest
60 (article-begin . "") 64 (article-begin . "")
61 (head-begin . "^ ?\n") 65 (head-begin . "^ ?\n")
@@ -460,6 +464,10 @@ from the document.")
460 (when (looking-at "\^A\^A\^A\^A$") 464 (when (looking-at "\^A\^A\^A\^A$")
461 t)) 465 t))
462 466
467(defun nndoc-debbugs-db-type-p ()
468 (when (looking-at "\006$")
469 t))
470
463(defun nndoc-news-type-p () 471(defun nndoc-news-type-p ()
464 (when (looking-at "^Path:.*\n") 472 (when (looking-at "^Path:.*\n")
465 t)) 473 t))