Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
67977ece
Commit
67977ece
authored
Sep 27, 1995
by
Richard M. Stallman
Browse files
(undigestify-rmail-message): Better error messages.
parent
0f87d8d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/mail/undigest.el
lisp/mail/undigest.el
+3
-2
No files found.
lisp/mail/undigest.el
View file @
67977ece
...
@@ -67,7 +67,7 @@ Leaves original message, deleted, before the undigestified messages."
...
@@ -67,7 +67,7 @@ Leaves original message, deleted, before the undigestified messages."
(
mail-fetch-field
"To"
)
(
mail-fetch-field
"To"
)
(
mail-fetch-field
"Apparently-To"
)
(
mail-fetch-field
"Apparently-To"
)
(
mail-fetch-field
"From"
)))
(
mail-fetch-field
"From"
)))
(
error
"Message is not a digest"
)))))
(
error
"Message is not a digest
--bad header
"
)))))
(
save-excursion
(
save-excursion
(
goto-char
(
point-max
))
(
goto-char
(
point-max
))
(
skip-chars-backward
" \t\n"
)
(
skip-chars-backward
" \t\n"
)
...
@@ -79,7 +79,8 @@ Leaves original message, deleted, before the undigestified messages."
...
@@ -79,7 +79,8 @@ Leaves original message, deleted, before the undigestified messages."
(
regexp-quote
"*********"
)
"*"
(
regexp-quote
"*********"
)
"*"
"\\(\n------*\\)*"
))
"\\(\n------*\\)*"
))
(
setq
found
t
)))
(
setq
found
t
)))
(
if
(
not
found
)
(
error
"Message is not a digest"
))))
(
if
(
not
found
)
(
error
"Message is not a digest--no end line"
))))
(
re-search-forward
(
concat
"^"
(
make-string
55
?-
)
"-*\n*"
))
(
re-search-forward
(
concat
"^"
(
make-string
55
?-
)
"-*\n*"
))
(
replace-match
"\^_\^L\n0, unseen,,\n*** EOOH ***\n"
)
(
replace-match
"\^_\^L\n0, unseen,,\n*** EOOH ***\n"
)
(
save-restriction
(
save-restriction
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment