aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2007-11-25 16:48:31 +0000
committerDan Nicolaescu2007-11-25 16:48:31 +0000
commit2b54af7428bc0526a413f6a061fad9b18b243950 (patch)
treef51058e81242490edd8a3c4fff4178a40536c713
parenta07c9a8b5bec6b3088d5f0580403e1d740648851 (diff)
downloademacs-2b54af7428bc0526a413f6a061fad9b18b243950.tar.gz
emacs-2b54af7428bc0526a413f6a061fad9b18b243950.zip
* mail/mspools.el (rmail-get-new-mail):
* mail/reporter.el (mail-position-on-field, mail-text): * mail/rmail.el (mail-position-on-field, mail-text-start) (rmail-update-summary): * mail/rmailedit.el (rmail-summary-disable) (rmail-summary-enable): * mail/rmailmsc.el (rmail-parse-file-inboxes) (rmail-show-message): * mail/rmailout.el (rmail-update-summary): * mail/rmailsort.el (rmail-update-summary): * mail/sendmail.el (dired-move-to-filename, dired-get-filename) (dired-view-file): * mail/uce.el (mail-strip-quoted-names): * mail/undigest.el (rmail-update-summary): * mail/unrmail.el (mail-strip-quoted-names): * ediff.el (diff-latest-backup-file): Declare as functions. * obsolete/mlsupport.el (ml-previous-page): Fix typo. (kill-to-end-of-line): * obsolete/rnews.el (news-set-minor-modes): Remove non working functions.
-rw-r--r--lisp/ChangeLog24
-rw-r--r--lisp/ediff.el1
-rw-r--r--lisp/mail/mspools.el2
-rw-r--r--lisp/mail/reporter.el3
-rw-r--r--lisp/mail/rmail.el4
-rw-r--r--lisp/mail/rmailedit.el3
-rw-r--r--lisp/mail/rmailmsc.el3
-rw-r--r--lisp/mail/rmailout.el2
-rw-r--r--lisp/mail/rmailsort.el1
-rw-r--r--lisp/mail/sendmail.el4
-rw-r--r--lisp/mail/uce.el2
-rw-r--r--lisp/mail/undigest.el2
-rw-r--r--lisp/mail/unrmail.el2
-rw-r--r--lisp/obsolete/mlsupport.el9
-rw-r--r--lisp/obsolete/rnews.el13
15 files changed, 54 insertions, 21 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7468e41b199..db636333826 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,27 @@
12007-11-25 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * mail/mspools.el (rmail-get-new-mail):
4 * mail/reporter.el (mail-position-on-field, mail-text):
5 * mail/rmail.el (mail-position-on-field, mail-text-start)
6 (rmail-update-summary):
7 * mail/rmailedit.el (rmail-summary-disable)
8 (rmail-summary-enable):
9 * mail/rmailmsc.el (rmail-parse-file-inboxes)
10 (rmail-show-message):
11 * mail/rmailout.el (rmail-update-summary):
12 * mail/rmailsort.el (rmail-update-summary):
13 * mail/sendmail.el (dired-move-to-filename, dired-get-filename)
14 (dired-view-file):
15 * mail/uce.el (mail-strip-quoted-names):
16 * mail/undigest.el (rmail-update-summary):
17 * mail/unrmail.el (mail-strip-quoted-names):
18 * ediff.el (diff-latest-backup-file): Declare as functions.
19
20 * obsolete/mlsupport.el (ml-previous-page): Fix typo.
21 (kill-to-end-of-line):
22 * obsolete/rnews.el (news-set-minor-modes): Remove non working
23 functions.
24
12007-11-25 Glenn Morris <rgm@gnu.org> 252007-11-25 Glenn Morris <rgm@gnu.org>
2 26
3 * eshell/esh-maint.el (top-level): Use require with NOERROR for 27 * eshell/esh-maint.el (top-level): Use require with NOERROR for
diff --git a/lisp/ediff.el b/lisp/ediff.el
index a2aafc90292..1ccfdcc7d6c 100644
--- a/lisp/ediff.el
+++ b/lisp/ediff.el
@@ -363,6 +363,7 @@
363 (list (cons 'ediff-job-name job-name)) 363 (list (cons 'ediff-job-name job-name))
364 merge-buffer-file))) 364 merge-buffer-file)))
365 365
366(declare-function diff-latest-backup-file "diff" (fn))
366 367
367;;;###autoload 368;;;###autoload
368(defalias 'ediff 'ediff-files) 369(defalias 'ediff 'ediff-files)
diff --git a/lisp/mail/mspools.el b/lisp/mail/mspools.el
index 514bf4fe5f3..45f4c2d89a7 100644
--- a/lisp/mail/mspools.el
+++ b/lisp/mail/mspools.el
@@ -246,6 +246,8 @@ Buffer is not displayed if SHOW is non-nil."
246 (mspools-mode) 246 (mspools-mode)
247 ) 247 )
248 248
249(declare-function rmail-get-new-mail "rmail" (&optional file-name))
250
249(defun mspools-visit-spool () 251(defun mspools-visit-spool ()
250 "Visit the folder on the current line of the *spools* buffer." 252 "Visit the folder on the current line of the *spools* buffer."
251 (interactive) 253 (interactive)
diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el
index 596c7ee9627..24dd9ab0c35 100644
--- a/lisp/mail/reporter.el
+++ b/lisp/mail/reporter.el
@@ -168,6 +168,9 @@ composed.")
168 (goto-char (1+ (nth 1 state))) 168 (goto-char (1+ (nth 1 state)))
169 (current-column))) 169 (current-column)))
170 170
171(declare-function mail-position-on-field "sendmail" (field &optional soft))
172(declare-function mail-text "sendmail" ())
173
171(defun reporter-dump-variable (varsym mailbuf) 174(defun reporter-dump-variable (varsym mailbuf)
172 "Pretty-print the value of the variable in symbol VARSYM. 175 "Pretty-print the value of the variable in symbol VARSYM.
173MAILBUF is the mail buffer being composed." 176MAILBUF is the mail buffer being composed."
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 53296cfb0fe..f011621930a 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -184,6 +184,10 @@ please report it with \\[report-emacs-bug].")
184 :group 'rmail-retrieve 184 :group 'rmail-retrieve
185 :type '(repeat (directory))) 185 :type '(repeat (directory)))
186 186
187(declare-function mail-position-on-field "sendmail" (field &optional soft))
188(declare-function mail-text-start "sendmail" ())
189(declare-function rmail-update-summary "rmailsum" (&rest ignore))
190
187(defun rmail-probe (prog) 191(defun rmail-probe (prog)
188 "Determine what flavor of movemail PROG is. 192 "Determine what flavor of movemail PROG is.
189We do this by executing it with `--version' and analyzing its output." 193We do this by executing it with `--version' and analyzing its output."
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el
index 04982aec349..02bc23fe0c5 100644
--- a/lisp/mail/rmailedit.el
+++ b/lisp/mail/rmailedit.el
@@ -49,6 +49,9 @@
49;; Rmail Edit mode is suitable only for specially formatted data. 49;; Rmail Edit mode is suitable only for specially formatted data.
50(put 'rmail-edit-mode 'mode-class 'special) 50(put 'rmail-edit-mode 'mode-class 'special)
51 51
52(declare-function rmail-summary-disable "" ())
53(declare-function rmail-summary-enable "rmailsum" ())
54
52(defun rmail-edit-mode () 55(defun rmail-edit-mode ()
53 "Major mode for editing the contents of an RMAIL message. 56 "Major mode for editing the contents of an RMAIL message.
54The editing commands are the same as in Text mode, together with two commands 57The editing commands are the same as in Text mode, together with two commands
diff --git a/lisp/mail/rmailmsc.el b/lisp/mail/rmailmsc.el
index 3b7ccd72d02..67cea297f0e 100644
--- a/lisp/mail/rmailmsc.el
+++ b/lisp/mail/rmailmsc.el
@@ -30,6 +30,9 @@
30(defvar rmail-current-message) 30(defvar rmail-current-message)
31(defvar rmail-inbox-list) 31(defvar rmail-inbox-list)
32 32
33(declare-function rmail-parse-file-inboxes "rmail" ())
34(declare-function rmail-show-message "rmail" (&optional n no-summary))
35
33;;;###autoload 36;;;###autoload
34(defun set-rmail-inbox-list (file-name) 37(defun set-rmail-inbox-list (file-name)
35 "Set the inbox list of the current RMAIL file to FILE-NAME. 38 "Set the inbox list of the current RMAIL file to FILE-NAME.
diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el
index d85bfc0bfe8..1e9f8379b7b 100644
--- a/lisp/mail/rmailout.el
+++ b/lisp/mail/rmailout.el
@@ -109,6 +109,8 @@ Set `rmail-default-file' to this name as well as returning it."
109 (or read-file (file-name-nondirectory default-file)) 109 (or read-file (file-name-nondirectory default-file))
110 (file-name-directory default-file))))))) 110 (file-name-directory default-file)))))))
111 111
112(declare-function rmail-update-summary "rmailsum" (&rest ignore))
113
112;;; There are functions elsewhere in Emacs that use this function; 114;;; There are functions elsewhere in Emacs that use this function;
113;;; look at them before you change the calling method. 115;;; look at them before you change the calling method.
114;;;###autoload 116;;;###autoload
diff --git a/lisp/mail/rmailsort.el b/lisp/mail/rmailsort.el
index ba496a31228..bed40cd0820 100644
--- a/lisp/mail/rmailsort.el
+++ b/lisp/mail/rmailsort.el
@@ -152,6 +152,7 @@ KEYWORDS is a comma-separated list of labels."
152 n)))))) 152 n))))))
153 153
154;; Basic functions 154;; Basic functions
155(declare-function rmail-update-summary "rmailsum" (&rest ignore))
155 156
156(defun rmail-sort-messages (reverse keyfun) 157(defun rmail-sort-messages (reverse keyfun)
157 "Sort messages of current Rmail file. 158 "Sort messages of current Rmail file.
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index baf99cfd54a..f348624d120 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -1815,6 +1815,10 @@ The seventh argument ACTIONS is a list of actions to take
1815 (setq buffer-file-coding-system 1815 (setq buffer-file-coding-system
1816 default-buffer-file-coding-system)))))))) 1816 default-buffer-file-coding-system))))))))
1817 1817
1818(declare-function dired-move-to-filename "dired" (&optional raise-error eol))
1819(declare-function dired-get-filename "dired" (&optional localp no-error-if-not-filep))
1820(declare-function dired-view-file "dired" ())
1821
1818(defun mail-recover () 1822(defun mail-recover ()
1819 "Recover interrupted mail composition from auto-save files. 1823 "Recover interrupted mail composition from auto-save files.
1820 1824
diff --git a/lisp/mail/uce.el b/lisp/mail/uce.el
index 61afd248332..035ab0d774c 100644
--- a/lisp/mail/uce.el
+++ b/lisp/mail/uce.el
@@ -217,6 +217,8 @@ These are mostly meant for headers that prevent delivery errors reporting."
217 :type 'string 217 :type 'string
218 :group 'uce) 218 :group 'uce)
219 219
220(declare-function mail-strip-quoted-names "mail-utils" (address))
221
220(defun uce-reply-to-uce (&optional ignored) 222(defun uce-reply-to-uce (&optional ignored)
221 "Send reply to UCE in Rmail. 223 "Send reply to UCE in Rmail.
222UCE stands for unsolicited commercial email. Function will set up reply 224UCE stands for unsolicited commercial email. Function will set up reply
diff --git a/lisp/mail/undigest.el b/lisp/mail/undigest.el
index 5d6f266b3b0..9bb2f3eab90 100644
--- a/lisp/mail/undigest.el
+++ b/lisp/mail/undigest.el
@@ -153,6 +153,8 @@ See rmail-digest-methods."
153 ;; Return the list of marker pairs 153 ;; Return the list of marker pairs
154 (nreverse result)))) 154 (nreverse result))))
155 155
156(declare-function rmail-update-summary "rmailsum" (&rest ignore))
157
156;;;###autoload 158;;;###autoload
157(defun undigestify-rmail-message () 159(defun undigestify-rmail-message ()
158 "Break up a digest message into its constituent messages. 160 "Break up a digest message into its constituent messages.
diff --git a/lisp/mail/unrmail.el b/lisp/mail/unrmail.el
index f1cf85a4ffc..7ad1c69b50d 100644
--- a/lisp/mail/unrmail.el
+++ b/lisp/mail/unrmail.el
@@ -48,6 +48,8 @@ For example, invoke `emacs -batch -f batch-unrmail RMAIL'."
48 (message "Done") 48 (message "Done")
49 (kill-emacs (if error 1 0)))) 49 (kill-emacs (if error 1 0))))
50 50
51(declare-function mail-strip-quoted-names "mail-utils" (address))
52
51;;;###autoload 53;;;###autoload
52(defun unrmail (file to-file) 54(defun unrmail (file to-file)
53 "Convert Rmail file FILE to system inbox format file TO-FILE." 55 "Convert Rmail file FILE to system inbox format file TO-FILE."
diff --git a/lisp/obsolete/mlsupport.el b/lisp/obsolete/mlsupport.el
index 2465ea4eabd..7e2663ed903 100644
--- a/lisp/obsolete/mlsupport.el
+++ b/lisp/obsolete/mlsupport.el
@@ -127,13 +127,6 @@
127 127
128(defun ml-message (&rest args) (message "%s" (apply 'concat args))) 128(defun ml-message (&rest args) (message "%s" (apply 'concat args)))
129 129
130(defun kill-to-end-of-line ()
131 (ml-prefix-argument-loop
132 (if (eolp)
133 (kill-region (point) (1+ (point)))
134 (kill-region (point) (if (search-forward ?\n nil t)
135 (1- (point)) (point-max))))))
136
137(defun set-auto-fill-hook (arg) 130(defun set-auto-fill-hook (arg)
138 (setq auto-fill-function (intern arg))) 131 (setq auto-fill-function (intern arg)))
139 132
@@ -351,7 +344,7 @@
351 (setq count (1+ count))))) 344 (setq count (1+ count)))))
352 345
353(defun ml-next-page () 346(defun ml-next-page ()
354 (previous-page (- (ml-prefix-argument)))) 347 (ml-previous-page (- (ml-prefix-argument))))
355 348
356(defun page-next-window (&optional arg) 349(defun page-next-window (&optional arg)
357 (let ((count (or arg (ml-prefix-argument)))) 350 (let ((count (or arg (ml-prefix-argument))))
diff --git a/lisp/obsolete/rnews.el b/lisp/obsolete/rnews.el
index bca9ea4824a..df1d386c77f 100644
--- a/lisp/obsolete/rnews.el
+++ b/lisp/obsolete/rnews.el
@@ -272,19 +272,6 @@ Type \\[describe-mode] once reading news to get a list of rnews commands."
272 (news-push (cons news-current-news-group news-current-certifiable) 272 (news-push (cons news-current-news-group news-current-certifiable)
273 news-current-certifications)))) 273 news-current-certifications))))
274 274
275(defun news-set-minor-modes ()
276 "Creates a minor mode list that has group name, total articles,
277and attribute for current article."
278 (setq news-minor-modes (list (cons 'foo
279 (concat news-current-message-number
280 "/"
281 news-total-current-group
282 (news-get-attribute-string)))))
283 ;; Detect Emacs versions 18.16 and up, which display
284 ;; directly from news-minor-modes by using a list for mode-name.
285 (or (boundp 'minor-mode-alist)
286 (setq minor-modes news-minor-modes)))
287
288(defun news-set-message-counters () 275(defun news-set-message-counters ()
289 "Scan through current news-groups filelist to figure out how many messages 276 "Scan through current news-groups filelist to figure out how many messages
290are there. Set counters for use with minor mode display." 277are there. Set counters for use with minor mode display."