annotate etc/MH-E-ONEWS @ 30411:41f228350eca

Got rid of all byte-compiler warnings on Emacs Load ada-xref.el before ada-prj.el, so that the Project menu is created when ada-prj tries to add to it. (ada-activate-keys-for-case): Suppress the characters that are not part of the Ada syntax. Better compatibility with else-mode (ada-adjust-case-interactive): When auto-casing is not active, correctly insert newlines (used to insert only ^M). Prevent the syntax table from being changed in case of an error (or '_' becomes part of a word and some commands are confused). Do nothing if ada-auto-case is nil. (ada-after-keyword-p): Ignore keywords that are also attributes (ada-batch-reformat): Update usage comment (ada-call-from-contextual-menu): New function (ada-case-read-exceptions): Reinitialize the casing exception list first to nil first, so that the casing exception file can be shared. (ada-check-defun-name): Handles "configure" keyword for gnatdist files. (ada-compile-goto-error): Fix regexp used to detect a file:line anywhere in the error message (ada-contextual-menu-last-point): New variable (ada-create-keymap): If the variable delete-key-deletes-forward is t on XEmacs, it means that DEL should delete one character forward. (ada-create-menu): Use :included instead of :visible for XEmacs. New submenu "Options". (ada-end-stmt-re): Correctly indent "select ... then abort" statements. (ada-fill-comment-paragraph): Correctly delete all leading '--' even if they don't match ada-fill-comment-prefix Fix handling of paragraphs on the first or last line of a file. (ada-format-paramlist): Fix handling of default parameter values. (ada-get-body-name): New function. (ada-get-current-indent): Optimized by searchling directly for an existing generic part or a statement outside of it. Handle ada-indent-align-comments when indenting comments Replaced some regexps by testing directly the next character. This results in a huge speedup on some files. New indentation scheme for renames statements. Stop looking for the 'while' or 'for' associated with a 'loop' at the first semicolon encountered. A "return" can also match an anonymous access subprogram declaration. (ada-get-indent-noindent): Ignore strings and comments when looking for the keywords "record" and "private". (ada-goto-matching-decl-start): When matching "if", make sure we are not in fact seeing "end if". Ignore "when" statements except when initial keyword was "begin". Fix handling of nested procedures. Add a recursive call to this function to skip over other 'end' statmts. Fix indentation for "when .. => begin" (ada-in-open-paren-p): Fix indentation for complex boolean expressions, where 'and then', 'or else' and parenthesis statements are mixed up. (ada-in-paramlist-p): Skip comments while searching for the beginning Fix handling of operator declarations. (ada-indent-align-comments): New variable (ada-indent-current): Change the syntax table only in the protected section, so that we are sure it is restored correctly. (ada-indent-on-previous-lines): Use ada-use-indent and ada-with-indent Correctly indent "select ... then" (ada-indent-region): Slight speedup. (ada-indent-renames): New variable. (ada-last-which-function-subprog, ada-last-which-function-line): New variables (ada-looking-at-semi-private): Correctly indent the 'private' keyword when it is the first word in a package declaration. (ada-loose-case-word): Stop searching if at the end of the buffer. (ada-loose-case-word, ada-capitalize-word): Recase the whole word even if point is not initially at the end of the word. (ada-matching-decl-start-re): Add "when". (ada-mode): Add support for abbrev-mode, outline-mode and which-func-mode Override the old find-file.el entry in ff-special-constructs since it is using the obsolete ada-spec-suffix variable (ada-no-auto-case): New function (ada-scan-paramlist): When parsing the argument type, accept spaces (as in "X 'Class", generated by Rational Rose). (ada-other-file-name): No longer loads the other file. (ada-popup-menu): Save and restore the current buffer and cursor position before and after displaying the menu. (ada-search-ignore-complex-boolean): New function. (ada-uncomment-region): Emacs21 already knows how to delete comments not starting in the first column. (ada-use-indent): New variable (ada-which-function): New function. (ada-with-indent): New variable (ada-xemacs): evaluate it at compile time too, so that ada-mode.el can be batch-compiled from the command line.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 24 Jul 2000 11:14:26 +0000
parents e96ffe544684
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
1 This file is automatically generated from news-mh-e.txinfo. Do not edit.
Dave Love <fx@gnu.org>
parents:
diff changeset
2
Dave Love <fx@gnu.org>
parents:
diff changeset
3 User-visible changes to mh-e in version 4.0 from 3.8
Dave Love <fx@gnu.org>
parents:
diff changeset
4
Dave Love <fx@gnu.org>
parents:
diff changeset
5 Note: there are many internal changes to mh-e in this release. If you
Dave Love <fx@gnu.org>
parents:
diff changeset
6 have the previous version loaded into your Emacs, you will probably not
Dave Love <fx@gnu.org>
parents:
diff changeset
7 be able to load this version on top of it.
Dave Love <fx@gnu.org>
parents:
diff changeset
8
Dave Love <fx@gnu.org>
parents:
diff changeset
9
Dave Love <fx@gnu.org>
parents:
diff changeset
10 New Features in mh-e
Dave Love <fx@gnu.org>
parents:
diff changeset
11 ====================
Dave Love <fx@gnu.org>
parents:
diff changeset
12
Dave Love <fx@gnu.org>
parents:
diff changeset
13 Background folder collection. The first time you are prompted for a
Dave Love <fx@gnu.org>
parents:
diff changeset
14 folder, you must wait while mh-e collects the names of all existing
Dave Love <fx@gnu.org>
parents:
diff changeset
15 folders. Now however, if you abort, collecting will continue in the
Dave Love <fx@gnu.org>
parents:
diff changeset
16 background, and you can do something else in Emacs until the collection
Dave Love <fx@gnu.org>
parents:
diff changeset
17 completes. Normally, mh-e will begin collecting folders names in the
Dave Love <fx@gnu.org>
parents:
diff changeset
18 background when you first load it; you can disable this feature by
Dave Love <fx@gnu.org>
parents:
diff changeset
19 setting `mh-auto-folder-collect' to nil.
Dave Love <fx@gnu.org>
parents:
diff changeset
20
Dave Love <fx@gnu.org>
parents:
diff changeset
21 There is support for composing MIME messages using the `mhn' program
Dave Love <fx@gnu.org>
parents:
diff changeset
22 from MH 6.8. See the documentation string for mh-edit-mhn. (While
Dave Love <fx@gnu.org>
parents:
diff changeset
23 composing a letter, type `C-h k C-c C-e'.) See also mhn(1). There is
Dave Love <fx@gnu.org>
parents:
diff changeset
24 as yet no support for reading MIME messages.
Dave Love <fx@gnu.org>
parents:
diff changeset
25
Dave Love <fx@gnu.org>
parents:
diff changeset
26 `mh-show', typically on `.', repositions to the start of the message if
Dave Love <fx@gnu.org>
parents:
diff changeset
27 the message is already visible. It used to do nothing in this case.
Dave Love <fx@gnu.org>
parents:
diff changeset
28
Dave Love <fx@gnu.org>
parents:
diff changeset
29 The function `mh-unshar-msg' is renamed `mh-store-msg'. It now does
Dave Love <fx@gnu.org>
parents:
diff changeset
30 uudecoding, too. Someday it should do MIME. It remembers the last
Dave Love <fx@gnu.org>
parents:
diff changeset
31 directory you used and offers it as the default for next time.
Dave Love <fx@gnu.org>
parents:
diff changeset
32
Dave Love <fx@gnu.org>
parents:
diff changeset
33 New function `mh-header-display', on `,', displays the message with all
Dave Love <fx@gnu.org>
parents:
diff changeset
34 headers, including those normally not displayed. Type `.' to display
Dave Love <fx@gnu.org>
parents:
diff changeset
35 the message normally again.
Dave Love <fx@gnu.org>
parents:
diff changeset
36
Dave Love <fx@gnu.org>
parents:
diff changeset
37 New function `mh-list-sequences' lists the sequences in use in the
Dave Love <fx@gnu.org>
parents:
diff changeset
38 current folder.
Dave Love <fx@gnu.org>
parents:
diff changeset
39
Dave Love <fx@gnu.org>
parents:
diff changeset
40 New function `mh-version' displays version information about MH and
Dave Love <fx@gnu.org>
parents:
diff changeset
41 mh-e. Please use the output in bug reports.
Dave Love <fx@gnu.org>
parents:
diff changeset
42
Dave Love <fx@gnu.org>
parents:
diff changeset
43 `mh-quit' now burys the folder buffer and show buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
44
Dave Love <fx@gnu.org>
parents:
diff changeset
45
Dave Love <fx@gnu.org>
parents:
diff changeset
46 New mh-e hooks and customization variables
Dave Love <fx@gnu.org>
parents:
diff changeset
47 ==========================================
Dave Love <fx@gnu.org>
parents:
diff changeset
48
Dave Love <fx@gnu.org>
parents:
diff changeset
49 `mh-pick-mode-hook': new hook called by new mode `mh-pick-mode'. The
Dave Love <fx@gnu.org>
parents:
diff changeset
50 pick buffer didn't used to have its own mode. Another advantage of
Dave Love <fx@gnu.org>
parents:
diff changeset
51 `mh-pick-mode' is that `C-h m' works in the pick buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
52
Dave Love <fx@gnu.org>
parents:
diff changeset
53 `mail-citation-hook': new variable for supercite.
Dave Love <fx@gnu.org>
parents:
diff changeset
54
Dave Love <fx@gnu.org>
parents:
diff changeset
55 `mh-refile-msg-hook': new hook called by `mh-refile-msg' (and
Dave Love <fx@gnu.org>
parents:
diff changeset
56 `mh-refile-or-write-again' when refiling).
Dave Love <fx@gnu.org>
parents:
diff changeset
57
Dave Love <fx@gnu.org>
parents:
diff changeset
58 `mh-msg-folder-hook': new hook used by `mh-refile-msg' and `mh-to-fcc'
Dave Love <fx@gnu.org>
parents:
diff changeset
59 to provide a default folder for user prompt.
Dave Love <fx@gnu.org>
parents:
diff changeset
60
Dave Love <fx@gnu.org>
parents:
diff changeset
61 `mh-show-hook': new hook called by `mh-show'.
Dave Love <fx@gnu.org>
parents:
diff changeset
62
Dave Love <fx@gnu.org>
parents:
diff changeset
63 `mh-delete-msg-hook': new hook called by `mh-delete-msg'.
Dave Love <fx@gnu.org>
parents:
diff changeset
64
Dave Love <fx@gnu.org>
parents:
diff changeset
65 `mh-show-mode-hook': new hook called by new mode `mh-show-mode' for
Dave Love <fx@gnu.org>
parents:
diff changeset
66 `show-' buffers.
Dave Love <fx@gnu.org>
parents:
diff changeset
67
Dave Love <fx@gnu.org>
parents:
diff changeset
68 `mh-comp-formfile': new variable so can customize `components' file.
Dave Love <fx@gnu.org>
parents:
diff changeset
69
Dave Love <fx@gnu.org>
parents:
diff changeset
70 `mh-sortm-args': new variable, a list of extra arguments to be passed to
Dave Love <fx@gnu.org>
parents:
diff changeset
71 sortm by `mh-sort-folder'. Give an argument to `mh-sort-folder' to
Dave Love <fx@gnu.org>
parents:
diff changeset
72 suppress this behavior.
Dave Love <fx@gnu.org>
parents:
diff changeset
73
Dave Love <fx@gnu.org>
parents:
diff changeset
74 `mh-send-prog': new variable so can customize name of `send' program in
Dave Love <fx@gnu.org>
parents:
diff changeset
75 case of name conflicts.
Dave Love <fx@gnu.org>
parents:
diff changeset
76
Dave Love <fx@gnu.org>
parents:
diff changeset
77 `mh-scan-prog': new variable so can customize name of `scan' program to
Dave Love <fx@gnu.org>
parents:
diff changeset
78 generate custom effects.
Dave Love <fx@gnu.org>
parents:
diff changeset
79
Dave Love <fx@gnu.org>
parents:
diff changeset
80 `mh-inc-prog': new variable so can customize name of `inc' program to do
Dave Love <fx@gnu.org>
parents:
diff changeset
81 fancy management of incoming messages.
Dave Love <fx@gnu.org>
parents:
diff changeset
82
Dave Love <fx@gnu.org>
parents:
diff changeset
83 `mh-forwarded-letter-subject': new function used by `mh-forward' to
Dave Love <fx@gnu.org>
parents:
diff changeset
84 compute the Subject line of the new message. It is a small function
Dave Love <fx@gnu.org>
parents:
diff changeset
85 which can be replaced by the user for customization. Uses the new
Dave Love <fx@gnu.org>
parents:
diff changeset
86 variable `mh-forward-subject-format', which allows some simple
Dave Love <fx@gnu.org>
parents:
diff changeset
87 customizations without rewriting even `mh-forwarded-letter-subject'.
Dave Love <fx@gnu.org>
parents:
diff changeset
88
Dave Love <fx@gnu.org>
parents:
diff changeset
89 `mh-new-draft-cleaned-headers': new variable, header lines removed by
Dave Love <fx@gnu.org>
parents:
diff changeset
90 `mh-edit-again' and `mh-extract-rejected-mail' before offering a message
Dave Love <fx@gnu.org>
parents:
diff changeset
91 as a new draft.
Dave Love <fx@gnu.org>
parents:
diff changeset
92
Dave Love <fx@gnu.org>
parents:
diff changeset
93 `mh-signature-file-name': new variable used by `mh-insert-signature' to
Dave Love <fx@gnu.org>
parents:
diff changeset
94 so can customize name of the file to insert.
Dave Love <fx@gnu.org>
parents:
diff changeset
95
Dave Love <fx@gnu.org>
parents:
diff changeset
96 `mh-read-address': new function called to read all To: and Cc:
Dave Love <fx@gnu.org>
parents:
diff changeset
97 addresses.
Dave Love <fx@gnu.org>
parents:
diff changeset
98
Dave Love <fx@gnu.org>
parents:
diff changeset
99 `mh-msg-folder-hook': new hook used by `mh-refile-msg' and `mh-to-fcc'
Dave Love <fx@gnu.org>
parents:
diff changeset
100 to provide a default folder for user prompt.
Dave Love <fx@gnu.org>
parents:
diff changeset
101
Dave Love <fx@gnu.org>
parents:
diff changeset
102
Dave Love <fx@gnu.org>
parents:
diff changeset
103 Key binding changes in mh-e
Dave Love <fx@gnu.org>
parents:
diff changeset
104 ===========================
Dave Love <fx@gnu.org>
parents:
diff changeset
105
Dave Love <fx@gnu.org>
parents:
diff changeset
106 `,' runs new function `mh-header-display'. It is like `.' but it
Dave Love <fx@gnu.org>
parents:
diff changeset
107 displays *all* the headers.
Dave Love <fx@gnu.org>
parents:
diff changeset
108
Dave Love <fx@gnu.org>
parents:
diff changeset
109 `M-#' runs the new function `mh-delete-seq'. One used to have to type
Dave Love <fx@gnu.org>
parents:
diff changeset
110 `C-u M-%' to delete a sequence.
Dave Love <fx@gnu.org>
parents:
diff changeset
111
Dave Love <fx@gnu.org>
parents:
diff changeset
112 `<' no longer does `mh-first-msg', but `M->' now does `mh-last-msg'.
Dave Love <fx@gnu.org>
parents:
diff changeset
113 This allows first and last to be consistent (`>' was taken) and is more
Dave Love <fx@gnu.org>
parents:
diff changeset
114 likely to be discovered by chance anyway.
Dave Love <fx@gnu.org>
parents:
diff changeset
115
Dave Love <fx@gnu.org>
parents:
diff changeset
116 `M-d' runs `mh-redistribute', `r' runs `mh-reply' (on the theory that
Dave Love <fx@gnu.org>
parents:
diff changeset
117 the more commonly used function should be easier to type, and the
Dave Love <fx@gnu.org>
parents:
diff changeset
118 obscure action of redistributing can be harder to type).
Dave Love <fx@gnu.org>
parents:
diff changeset
119
Dave Love <fx@gnu.org>
parents:
diff changeset
120 `M-o' changed to `C-o' (`mh-write-msg-to-file'). It was interfering
Dave Love <fx@gnu.org>
parents:
diff changeset
121 with arrow keys for some people.
Dave Love <fx@gnu.org>
parents:
diff changeset
122
Dave Love <fx@gnu.org>
parents:
diff changeset
123 `M-n' now runs `mh-store-msg' (formerly `mh-unshar-msg').
Dave Love <fx@gnu.org>
parents:
diff changeset
124
Dave Love <fx@gnu.org>
parents:
diff changeset
125 `b' no longer runs `mh-quit'; use `q' instead. `b' may be used in a
Dave Love <fx@gnu.org>
parents:
diff changeset
126 future version for something else.
Dave Love <fx@gnu.org>
parents:
diff changeset
127
Dave Love <fx@gnu.org>
parents:
diff changeset
128
Dave Love <fx@gnu.org>
parents:
diff changeset
129 Minor improvements to mh-e
Dave Love <fx@gnu.org>
parents:
diff changeset
130 ==========================
Dave Love <fx@gnu.org>
parents:
diff changeset
131
Dave Love <fx@gnu.org>
parents:
diff changeset
132 The mh-e code is now divided into multiple Emacs Lisp files, so it
Dave Love <fx@gnu.org>
parents:
diff changeset
133 starts up faster because Emacs doesn't have to load all of it at once.
Dave Love <fx@gnu.org>
parents:
diff changeset
134 (This change also makes it easier for the maintainer to manage things.)
Dave Love <fx@gnu.org>
parents:
diff changeset
135
Dave Love <fx@gnu.org>
parents:
diff changeset
136 When searching for the directory containing the MH programs, search the
Dave Love <fx@gnu.org>
parents:
diff changeset
137 user's PATH in addition to the built-in directories, to increase the
Dave Love <fx@gnu.org>
parents:
diff changeset
138 chance of finding the MH programs.
Dave Love <fx@gnu.org>
parents:
diff changeset
139
Dave Love <fx@gnu.org>
parents:
diff changeset
140 The subject for a forwarded message no longer has ugly square brackets
Dave Love <fx@gnu.org>
parents:
diff changeset
141 around it.
Dave Love <fx@gnu.org>
parents:
diff changeset
142
Dave Love <fx@gnu.org>
parents:
diff changeset
143 The name of the folder is no longer appears twice in the show buffer
Dave Love <fx@gnu.org>
parents:
diff changeset
144 mode line.
Dave Love <fx@gnu.org>
parents:
diff changeset
145
Dave Love <fx@gnu.org>
parents:
diff changeset
146 When typing a folder name in the minibuffer, parent folders complete to
Dave Love <fx@gnu.org>
parents:
diff changeset
147 the trailing slash (/), for easier typing of subfolders.
Dave Love <fx@gnu.org>
parents:
diff changeset
148
Dave Love <fx@gnu.org>
parents:
diff changeset
149 The folder buffer mode name changed from `mh-e scan' or `mh-e show' to
Dave Love <fx@gnu.org>
parents:
diff changeset
150 `MH-Folder', which makes the hook name easier to guess. Added
Dave Love <fx@gnu.org>
parents:
diff changeset
151 `mh-showing' to `minor-mode-alist' so there is still an indication in
Dave Love <fx@gnu.org>
parents:
diff changeset
152 the mode line of whether messages will be shown automatically.
Dave Love <fx@gnu.org>
parents:
diff changeset
153
Dave Love <fx@gnu.org>
parents:
diff changeset
154 `mh-rename-seq' does completion on the old sequence name.
Dave Love <fx@gnu.org>
parents:
diff changeset
155
Dave Love <fx@gnu.org>
parents:
diff changeset
156 If called by a user who has never used MH on this system before, mh-e
Dave Love <fx@gnu.org>
parents:
diff changeset
157 runs the MH program `install-mh' to get them set up.
Dave Love <fx@gnu.org>
parents:
diff changeset
158
Dave Love <fx@gnu.org>
parents:
diff changeset
159 Undo history for previous messages is not kept to avoid wasting memory.
Dave Love <fx@gnu.org>
parents:
diff changeset
160
Dave Love <fx@gnu.org>
parents:
diff changeset
161 The internal temp buffer used by mh-e has `buffer-offer-save' explicitly
Dave Love <fx@gnu.org>
parents:
diff changeset
162 nil. This change benefits people who change the `buffer-offer-save'
Dave Love <fx@gnu.org>
parents:
diff changeset
163 default.
Dave Love <fx@gnu.org>
parents:
diff changeset
164
Dave Love <fx@gnu.org>
parents:
diff changeset
165
Dave Love <fx@gnu.org>
parents:
diff changeset
166 Bug fixes to mh-e
Dave Love <fx@gnu.org>
parents:
diff changeset
167 =================
Dave Love <fx@gnu.org>
parents:
diff changeset
168
Dave Love <fx@gnu.org>
parents:
diff changeset
169 `mh-to-field': don't bomb if no To: field.
Dave Love <fx@gnu.org>
parents:
diff changeset
170
Dave Love <fx@gnu.org>
parents:
diff changeset
171 `mh-get-new-mail': restore annotations, e.g., cur, even if no new mail.
Dave Love <fx@gnu.org>
parents:
diff changeset
172
Dave Love <fx@gnu.org>
parents:
diff changeset
173 `mh-rename-seq': verify that the new seq name was accepted by `mark'
Dave Love <fx@gnu.org>
parents:
diff changeset
174 before updating state.
Dave Love <fx@gnu.org>
parents:
diff changeset
175
Dave Love <fx@gnu.org>
parents:
diff changeset
176 `mh-internal-seq': the Previous sequence is not notated, since it would
Dave Love <fx@gnu.org>
parents:
diff changeset
177 notate everything scanned.
Dave Love <fx@gnu.org>
parents:
diff changeset
178
Dave Love <fx@gnu.org>
parents:
diff changeset
179 `mh-read-draft': don't call `find-file-noselect' so an `auto-mode-alist'
Dave Love <fx@gnu.org>
parents:
diff changeset
180 doesn't trigger `mh-letter-mode-hook' twice. Faster, too.
Dave Love <fx@gnu.org>
parents:
diff changeset
181
Dave Love <fx@gnu.org>
parents:
diff changeset
182 `mh-show': If user moves onto a message that doesn't exist, don't leave
Dave Love <fx@gnu.org>
parents:
diff changeset
183 the cursor in the show pane.
Dave Love <fx@gnu.org>
parents:
diff changeset
184
Dave Love <fx@gnu.org>
parents:
diff changeset
185 `mh-delete-scan-msgs': use `equal', not `=', on the result of
Dave Love <fx@gnu.org>
parents:
diff changeset
186 `mh-get-msg-num', since it may be nil.
Dave Love <fx@gnu.org>
parents:
diff changeset
187
Dave Love <fx@gnu.org>
parents:
diff changeset
188 `mh-get-field': do anchored search so searching for `reply-to:' doesn't
Dave Love <fx@gnu.org>
parents:
diff changeset
189 find `in-reply-to:'.
Dave Love <fx@gnu.org>
parents:
diff changeset
190
Dave Love <fx@gnu.org>
parents:
diff changeset
191 `mh-widen': do nothing if not narrowed.
Dave Love <fx@gnu.org>
parents:
diff changeset
192
Dave Love <fx@gnu.org>
parents:
diff changeset
193 `mh-clean-message-header': find end of headers even if no body.
Dave Love <fx@gnu.org>
parents:
diff changeset
194