diff options
| -rw-r--r-- | lisp/emacs-lisp/gulp.el | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/gulp.el b/lisp/emacs-lisp/gulp.el index 0020f720b60..f4149adc3e2 100644 --- a/lisp/emacs-lisp/gulp.el +++ b/lisp/emacs-lisp/gulp.el | |||
| @@ -42,10 +42,8 @@ | |||
| 42 | (defvar gulp-request-header | 42 | (defvar gulp-request-header |
| 43 | (concat | 43 | (concat |
| 44 | "This message was created automatically. | 44 | "This message was created automatically. |
| 45 | A new version of GNU Emacs, " | 45 | I'm going to start pretesting a new version of GNU Emacs soon, so I'd |
| 46 | (format "%d.%d" emacs-major-version (+ emacs-minor-version 1)) | 46 | like to ask if you have any updates for the Emacs packages you work on. |
| 47 | ", is entering the pretest state, | ||
| 48 | and it is high time to submit the updates to the various emacs packages. | ||
| 49 | You're listed as the maintainer of the following package(s):\n\n") | 47 | You're listed as the maintainer of the following package(s):\n\n") |
| 50 | "*The starting text of a gulp message.") | 48 | "*The starting text of a gulp message.") |
| 51 | 49 | ||
| @@ -56,6 +54,12 @@ You're listed as the maintainer of the following package(s):\n\n") | |||
| 56 | "), | 54 | "), |
| 57 | please send them to me ASAP. | 55 | please send them to me ASAP. |
| 58 | 56 | ||
| 57 | Please don't send the whole file. Instead, please send a patch made with | ||
| 58 | `diff -c' that shows precisely the changes you would like me to install. | ||
| 59 | Also please include itemized change log entries for your changes; | ||
| 60 | please use lisp/ChangeLog as a guide for the style and for what kinds | ||
| 61 | of information to include. | ||
| 62 | |||
| 59 | Thanks.") | 63 | Thanks.") |
| 60 | "*The closing text in a gulp message.") | 64 | "*The closing text in a gulp message.") |
| 61 | 65 | ||
| @@ -78,6 +82,10 @@ is left in the `*gulp*' buffer at the end." | |||
| 78 | ;; Temporarily inhibit undo in the *gulp* buffer. | 82 | ;; Temporarily inhibit undo in the *gulp* buffer. |
| 79 | (buffer-undo-list t) | 83 | (buffer-undo-list t) |
| 80 | mail-setup-hook msg node) | 84 | mail-setup-hook msg node) |
| 85 | (setq m-p-alist | ||
| 86 | (sort (function (lambda (a b) | ||
| 87 | (string< (car (car a)) (car (car b))))) | ||
| 88 | m-p-alist)) | ||
| 81 | (while (setq node (car m-p-alist)) | 89 | (while (setq node (car m-p-alist)) |
| 82 | (setq msg (gulp-create-message (cdr node) time)) | 90 | (setq msg (gulp-create-message (cdr node) time)) |
| 83 | (setq mail-setup-hook | 91 | (setq mail-setup-hook |
| @@ -111,7 +119,7 @@ is left in the `*gulp*' buffer at the end." | |||
| 111 | "Create the maintainer/package alist for files in FLIST in DIR. | 119 | "Create the maintainer/package alist for files in FLIST in DIR. |
| 112 | That is a list of elements, each of the form (MAINTAINER PACKAGES...)." | 120 | That is a list of elements, each of the form (MAINTAINER PACKAGES...)." |
| 113 | (save-excursion | 121 | (save-excursion |
| 114 | (let (mplist filen node mnt-tm mnt tm) | 122 | (let (mplist filen node mnt-tm mnt tm fl-tm) |
| 115 | (get-buffer-create gulp-tmp-buffer) | 123 | (get-buffer-create gulp-tmp-buffer) |
| 116 | (set-buffer gulp-tmp-buffer) | 124 | (set-buffer gulp-tmp-buffer) |
| 117 | (setq buffer-undo-list t) | 125 | (setq buffer-undo-list t) |
| @@ -122,7 +130,6 @@ That is a list of elements, each of the form (MAINTAINER PACKAGES...)." | |||
| 122 | (setq mplist (cons (cons mnt (cons (cons filen tm) (cdr node))) | 130 | (setq mplist (cons (cons mnt (cons (cons filen tm) (cdr node))) |
| 123 | (delete node mplist))) | 131 | (delete node mplist))) |
| 124 | (setq mplist (cons (list mnt (cons filen (cdr fl-tm))) mplist)))) | 132 | (setq mplist (cons (list mnt (cons filen (cdr fl-tm))) mplist)))) |
| 125 | (message "%s -- %s" filen fl-tm) | ||
| 126 | (setq flist (cdr flist))) | 133 | (setq flist (cdr flist))) |
| 127 | (erase-buffer) | 134 | (erase-buffer) |
| 128 | mplist))) | 135 | mplist))) |