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
788c1fc9
Commit
788c1fc9
authored
Feb 20, 2009
by
Glenn Morris
Browse files
(rmail-speedbar-buttons): Only add regular files.
(rmail-speedbar-find-file): Use rmail rather than find-file.
parent
b8f5b050
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
11 deletions
+18
-11
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/mail/rmail.el
lisp/mail/rmail.el
+13
-11
No files found.
lisp/ChangeLog
View file @
788c1fc9
2009-02-20 Glenn Morris <rgm@gnu.org>
* mail/rmail.el (rmail-speedbar-buttons): Only add regular files.
(rmail-speedbar-find-file): Use rmail rather than find-file.
2009-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
* textmodes/bibtex.el (bibtex-autokey-titleword-ignore): Fix
...
...
lisp/mail/rmail.el
View file @
788c1fc9
...
...
@@ -3816,6 +3816,7 @@ browsing, and moving of messages.")
(
define-key
rmail-speedbar-key-map
"M"
'rmail-speedbar-move-message-to-folder-on-line
)))
;; FIXME unused?
(
defvar
rmail-speedbar-menu-items
'
(
[
"Read Folder"
speedbar-edit-line
t]
[
"Move message to folder"
rmail-speedbar-move-message-to-folder-on-line
...
...
@@ -3857,12 +3858,12 @@ current message into that RMAIL folder."
(
df
(
directory-files
(
with-current-buffer
buffer
default-directory
)
nil
rmail-speedbar-match-folder-regexp
)))
(
wh
ile
df
(
speedbar-insert-button
"<M>"
'speedbar-button-face
'highlight
'rmail-speedbar-move-message
(
car
df
))
(
speedbar-insert-button
(
car
df
)
'speedbar-file-face
'highlight
'rmail-
speedbar-
f
in
d-file
nil
t
)
(
setq
df
(
cdr
df
)))))))
(
dolist
(
f
ile
df
)
(
when
(
file-regular-p
file
)
(
speedbar-insert-button
"<M>"
'speedbar-button-face
'highlight
'rmail-speedbar-move-message
file
)
(
speedbar-in
sert-button
file
'speedbar-file-face
'highlight
'rmail-speedbar-find-file
nil
t
)))))))
(
defun
rmail-speedbar-button
(
text
token
indent
)
"Execute an rmail command specified by TEXT.
...
...
@@ -3875,7 +3876,7 @@ The command used is TOKEN. INDENT is not used."
TOKEN and INDENT are not used."
(
speedbar-with-attached-buffer
(
message
"Loading in RMAIL file %s..."
text
)
(
find-f
il
e
text
)))
(
rma
il
text
)))
(
defun
rmail-speedbar-move-message-to-folder-on-line
()
"If the current line is a folder, move current message to it."
...
...
@@ -3887,6 +3888,7 @@ TOKEN and INDENT are not used."
(
forward-char
-2
)
(
speedbar-do-function-pointer
)))))
;; FIXME loses the directory part.
(
defun
rmail-speedbar-move-message
(
text
token
indent
)
"From button TEXT, copy current message to the rmail file specified by TOKEN.
TEXT and INDENT are not used."
...
...
@@ -3894,10 +3896,10 @@ TEXT and INDENT are not used."
(
message
"Moving message to %s"
token
)
(
rmail-output
token
)))
; Functions for setting, getting and encoding the POP password.
; The password is encoded to prevent it from being easily accessible
; to "prying eyes." Obviously, this encoding isn't "real security,"
; nor is it meant to be.
;
; Functions for setting, getting and encoding the POP password.
;
; The password is encoded to prevent it from being easily accessible
;
; to "prying eyes." Obviously, this encoding isn't "real security,"
;
; nor is it meant to be.
;;;###autoload
(
defun
rmail-set-remote-password
(
password
)
...
...
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