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
c7eb0ba1
Commit
c7eb0ba1
authored
Feb 14, 2009
by
Richard M. Stallman
Browse files
(rmail-convert-file-maybe): Turn off case-fold-search.
(rmail-add-mbox-headers): Likewise.
parent
c9ae6ddd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
15 deletions
+22
-15
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/mail/rmail.el
lisp/mail/rmail.el
+17
-15
No files found.
lisp/ChangeLog
View file @
c7eb0ba1
2009-02-14 Richard M Stallman <rms@gnu.org>
* mail/rmail.el (rmail-convert-file-maybe): Turn off case-fold-search.
(rmail-add-mbox-headers): Likewise.
2009-02-13 Eli Zaretskii <eliz@gnu.org>
* files.el (load-library): Doc fix.
...
...
lisp/mail/rmail.el
View file @
c7eb0ba1
...
...
@@ -891,21 +891,22 @@ If `rmail-display-summary' is non-nil, make a summary for this RMAIL file."
(
widen
)
(
goto-char
(
point-min
))
;; Detect previous Babyl format files.
(
cond
((
looking-at
"BABYL OPTIONS:"
)
;; The file is Babyl version 5. Use unrmail to convert
;; it.
(
rmail-convert-babyl-to-mbox
))
((
looking-at
"Version: 5\n"
)
;; Losing babyl file made by old version of Rmail. Fix the
;; babyl file header and use unrmail to convert to mbox
;; format.
(
let
((
buffer-read-only
nil
))
(
insert
"BABYL OPTIONS: -*- rmail -*-\n"
)
(
rmail-convert-babyl-to-mbox
)))
((
equal
(
point-min
)
(
point-max
))
(
message
"Empty Rmail file."
))
((
looking-at
"From "
))
(
t
(
error
"Invalid mbox file"
))))
(
let
((
case-fold-search
nil
))
(
cond
((
looking-at
"BABYL OPTIONS:"
)
;; The file is Babyl version 5. Use unrmail to convert
;; it.
(
rmail-convert-babyl-to-mbox
))
((
looking-at
"Version: 5\n"
)
;; Losing babyl file made by old version of Rmail. Fix the
;; babyl file header and use unrmail to convert to mbox
;; format.
(
let
((
buffer-read-only
nil
))
(
insert
"BABYL OPTIONS: -*- rmail -*-\n"
)
(
rmail-convert-babyl-to-mbox
)))
((
equal
(
point-min
)
(
point-max
))
(
message
"Empty Rmail file."
))
((
looking-at
"From "
))
(
t
(
error
"Invalid mbox file"
)))))
(
defun
rmail-error-bad-format
(
&optional
msgnum
)
"Report that the buffer is not in the mbox file format.
...
...
@@ -1973,6 +1974,7 @@ new messages. Return the number of new messages."
(
let
((
count
0
)
(
start
(
point
))
(
value
"------U-"
)
(
case-fold-search
nil
)
limit
)
;; Detect an empty inbox file.
(
unless
(
=
start
(
point-max
))
...
...
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