1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-01 20:06:00 +00:00

376 Commits

Author SHA1 Message Date
Bill Wohler
fb9958d7bc * mh-compat.el (mh-define-obsolete-variable-alias)
(mh-make-obsolete-variable): New macros to fix XEmacs compiler
warnings.

* mh-letter.el (mh-yank-hooks): Use new mh-make-obsolete-variable
macro.

* mh-e.el (mh-kill-folder-suppress-prompt-hooks): Use new
mh-define-obsolete-variable-alias macro.

* mh-compat.el (mh-cl-flet): New alias for cl-flet on Emacs 24 and
flet elsewhere.

* mh-thread.el (mh-thread-set-tables): Replace flet with new alias
mh-cl-flet.

* mh-show.el (mh-gnus-article-highlight-citation): Replace flet with
new alias mh-cl-flet.

* mh-mime.el (mh-display-with-external-viewer, mh-mime-display)
(mh-press-button, mh-push-button, mh-display-emphasis): Replace flet
with new alias mh-cl-flet.

* mh-e.el (mh-invisible-header-fields-internal): Remove trailing
  whitespace.
2012-11-24 20:13:04 -08:00
Bill Wohler
5244bc019b Merge from trunk. 2012-11-24 19:43:02 -08:00
Jeffrey C Honig
855c6482c0 (mh-edit-again): Use the components file to specify
default values for missing headers in the draft.
(mh-regexp-in-field-syntax-table, mh-fcc-syntax-table)
(mh-addr-syntax-table, mh-regexp-in-field-p): Use a syntax table
so we'll properly parse non-address fields. 
(mh-components-to-list, mh-extract-header-field): New functions to
read components file.
(mh-find-components, mh-send-sub): Move code to locate components
file into a new function.
(mh-insert-auto-fields, mh-modify-header-field): New syntax for
calling mh-regexp-in-field-p.
(closes SF #1708292)
2012-11-24 21:21:02 -05:00
Stefan Monnier
d106953274 Cleanup uses of "-hooks".
* doc/emacs/custom.texi (Hooks):
* doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated.

* lisp/gnus/nndiary.el (nndiary-request-create-group-functions)
(nndiary-request-update-info-functions)
(nndiary-request-accept-article-functions):
* lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions):
* lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions):
* lisp/cedet/semantic/lex.el (semantic-lex-reset-functions):
* lisp/cedet/semantic/edit.el (semantic-change-functions)
(semantic-edits-new-change-functions)
(semantic-edits-delete-change-functions)
(semantic-edits-reparse-change-functions):
* lisp/htmlfontify.el (hfy-post-html-hook):
* lisp/filesets.el (filesets-cache-fill-content-hook):
* lisp/arc-mode.el (archive-extract-hook):
* lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook):
* lisp/net/rcirc.el (rcirc-sentinel-functions)
(rcirc-receive-message-functions, rcirc-activity-functions)
(rcirc-print-functions):
* lisp/net/dbus.el (dbus-event-error-functions):
* lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
* lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions)
(checkdoc-comment-style-functions): Don't use "-hooks" suffix.

* lisp/term/sun.el (sun-raw-prefix-hooks):
* lisp/mail/sendmail.el (mail-yank-hooks):
* lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
2012-10-23 11:06:07 -04:00
Stefan Monnier
cc356a5d47 Remove unnecessary use of minibuffer-completing-file-name.
* lisp/ffap.el: Remove old code for obsolete package.
(ffap-complete-as-file-p): Remove.
* lisp/mh-e/mh-utils.el (minibuffer-completing-file-name): Don't declare.
2012-04-25 14:57:09 -04:00
Juanma Barranquero
7dd51bf1c2 Don't add modes to which-func-modes if already set to t.
* lisp/progmodes/verilog-mode.el (verilog-mode): Check whether
  which-func-modes is t before adding verilog-mode.
  Reported by Andy Moreton <andrewjmoreton@gmail.com>.

* lisp/mh-e/mh-folder.el (top): Check whether which-func-modes
  is t before adding mh-folder-mode.
2012-04-21 18:57:49 +02:00
Juanma Barranquero
6df6ae42fe Fix typos in ChangeLogs. 2012-01-31 17:15:03 +01:00
Jeffrey C Honig
624d4a5cfb (mh-invisible-header-fields-internal): Added: X-xsi.
(addresses SF #1916032).
2012-01-06 22:03:57 -05:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Jeffrey C Honig
b5118e0ae5 (mh-inc-folder): Call mh-process-or-undo-commands
before running to insure we do not lose any pending changes.
(closes SF #2321115).
2011-12-27 20:46:43 -05:00
Bill Wohler
500f33fc92 Merge Jeff's updates to mh-invisible-header-fields-internal. 2011-12-27 16:14:23 -08:00
Bill Wohler
8f7a191c0a Update release notes to reflect a fixed, reported bug.
Merge from trunk.
2011-12-27 16:09:42 -08:00
Bill Wohler
41b9761027 Postpone junk processing (closes SF #2945712). Patch submitted by Ted
Phelps and refined by Bill Wohler.

* mh-e.el (mh-blacklist, mh-whitelist): New variables.
(mh-whitelist-preserves-sequences-flag): New option.
(mh-before-commands-processed-hook): Update documentation.
(mh-blacklist-msg-hook, mh-whitelist-msg-hook): New hooks.
(mh-folder-blacklisted, mh-folder-whitelisted): New faces.
* mh-folder.el (mh-folder-message-menu): Add "Junk" to "Undo."
(mh-folder-font-lock-keywords): Add regexps for blacklisted and
whitelisted messages.
(mh-folder-mode): Add mh-blacklist and mh-whitelist variables.
(mh-execute-commands): Update documentation.
(mh-undo, mh-outstanding-commands-p, mh-process-commands)
(mh-delete-a-msg, mh-refile-a-msg, mh-undo-msg): Handle blacklisted
and whitelisted messages.
* mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Update to put
messages in blacklist and whitelist respectively for latter
processing.
(mh-blacklist-a-msg, mh-junk-whitelist-a-msg): New function to support
previous functions.
(mh-junk-blacklist-disposition): New function.
(mh-junk-process-blacklist, mh-junk-process-whitelist): New functions
that perform the blacklisting and whitelisting respectively that used
to be performed by mh-junk-blacklist and mh-junk-whitelist.
* mh-scan.el (mh-scan-blacklisted-msg-regexp)
(mh-scan-whitelisted-msg-regexp): New scan line regexps.
(mh-scan-good-msg-regexp): Add B and W characters to regexp.
(mh-scan-cmd-note-width): Update documentation.
(mh-note-blacklisted, mh-note-whitelisted): New scan line characters.
* mh-search.el (mh-index-execute-commands): Handle blacklisted and
whitelisted messages.
2011-12-27 15:59:35 -08:00
Bill Wohler
fbfa898c40 Update release notes to reflect a fixed, reported bug. 2011-12-27 14:10:34 -08:00
Bill Wohler
cda804cfcc * ChangeLog: Fix typo. 2011-12-27 13:36:06 -08:00
Jeffrey C Honig
a17ce60dbc (mh-invisible-header-fields-internal): Added:
Bounces-To:, Bounces_to:, X-ACL-Warn:, X-BFI:, X-BPS1:, X-BPS2:,
X-Campaign-Id:, X-Campaign:, X-Cloudmark-SP-, X-Destination-ID:,
X-detected-operating-system:, X-DocGen-Version:, X-EM-,
X-Email-Type-Id:, X-FB-SS:, X-FuHaFi:, X-MailFlowPolicy:,
X-mail_abuse-inquires, X-MailingID:, X-Match:,
X-MaxCode-Template:, X-ME-Bayesian:, X-Sendergroup:, X-SFDC-,
X-SMFBL:, X-SMHeaderMap:, X-VGI-OESCD:, X-VirtualServer:,
X-VirtualServerGroup:, X-XPT-XSL-Name:, X-Y-GMX-Trusted:,
X-XWALL-, X-ZixNet:. Changed X-Habeas-SWE- to X-Habeas-. Updated
the comment. (addresses SF #1916032).
2011-12-27 15:43:14 -05:00
Jeffrey C Honig
40f1ca7c6c (mh-yank-cur-msg): Replace usage of set-buffer with
with-current-buffer in mh-yang-cur-msg, semantics changed in emacs
23 and we do not want to use set-buffer unless we actually want to
change the buffer the user is looking at (cloases SF #2830504).
2011-12-27 14:43:23 -05:00
Bill Wohler
c6134398c6 * mh-e.el (mh-invisible-header-fields-internal): Add X-AnalysisOut,
X-Authentication-Info, X-Auto-Response-Suppress, X-Bayes-Prob, X-Cam-,
X-CanIt-Geo, X-Completed, X-Facebook, X-Forwarded-, X-Generated-By,
X-Headers-End, X-IEEE-UCE, X-Jira-Fingerprint, X-Junkmail-,
X-Launchpad-, X-MXL-Hash, X-Notification-, X-Notifications,
X-Oracle-Calendar. Replace X-DCC-Usenix-Metrics with X-DCC- (addresses
SF #1916032).
2011-12-27 11:22:23 -08:00
Jeffrey C Honig
0e3a7f86fc (mh-show-folder-map): Add missing key binding for mh-show-pack-folder
(closes SF #3466086).
2011-12-27 12:13:50 -05:00
Bill Wohler
24e0a9b534 Update release notes to reflect a fixed, reported bug.
Merge from trunk.
2011-12-26 21:00:38 -08:00
Bill Wohler
27f03d6c15 Update release notes to reflect a fixed, reported bug. 2011-12-26 20:56:26 -08:00
Bill Wohler
7d15e878f8 * mh-e.el (Version, mh-version): Add +bzr to version. 2011-12-25 14:41:17 -08:00
Paul Eggert
e4920bc99d Spelling fixes. 2011-11-24 23:14:48 -08:00
Bill Wohler
721b7c9880 * mh-e.el (Version, mh-version): Update for release 8.3.1. 2011-11-20 12:31:38 -08:00
Juanma Barranquero
fe7a3057a3 Fix typos. 2011-11-20 20:35:27 +01:00
Juanma Barranquero
cd1181dbec Fix typos. 2011-11-20 04:48:53 +01:00
Juanma Barranquero
58179ccebd Fix typos. 2011-11-16 13:34:47 +01:00
Bill Wohler
f5954cd7f9 * mh-e.el (Version, mh-version): Update for release 8.3. 2011-09-19 21:56:51 -07:00
Bill Wohler
de77dfbd8c * mh-show.el (mh-unvisit-file): Clarify language in yes-or-no-p and
error messages.
2011-09-19 21:56:09 -07:00
Bill Wohler
c6657a4fed * mh-e.el (Version, mh-version): Update for release 8.2.93. 2011-07-17 14:13:38 -07:00
Bill Wohler
a4963f79fb * mh-compat.el (mh-pop-to-buffer-same-window): Delete.
* mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
(mh-make-folder): Revert to switch-to-buffer, as the Emacs folks
decided that it was fine to use it in programs.
2011-07-17 13:45:52 -07:00
Bill Wohler
b53a9f73f7 * mh-e.el (Version, mh-version): Update for release 8.2.92. 2011-07-16 09:16:34 -07:00
Bill Wohler
97cc26fd5f * mh-e.el (Version, mh-version): Update for release 8.2.91. 2011-07-11 21:52:40 -07:00
Bill Wohler
93d4ce1e19 * mh-compat.el (mh-pop-to-buffer-same-window): Add compatibility
function to call switch-to-buffer on systems that lack
pop-to-buffer-same-window.
* mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
(mh-make-folder): Call mh-pop-to-buffer-same-window instead of
switch-to-buffer. The previous change which used pop-to-buffer
produced the wrong behavior.
2011-07-11 21:40:16 -07:00
Bill Wohler
6445098732 * mh-xface.el (mh-picon-get-image): Remove quote from block argument.
* mh-mime.el (mh-mh-directive-present-p): Ditto.
2011-07-11 20:25:46 -07:00
Andreas Schwab
df97fd71ba Fix typo 2011-07-11 17:48:46 +02:00
Bill Wohler
35fe9c6044 * mh-e.el (Version, mh-version): Update for release 8.2.90. 2011-07-10 16:09:22 -07:00
Bill Wohler
6695d07463 * mh-utils.el (mh-sub-folders-actual): Remove FIXME question. 2011-07-10 15:33:06 -07:00
Bill Wohler
84bb0cd155 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
(mh-make-folder): Replace calls to switch-to-buffer with of
pop-to-buffer. The former is intended for interactive use only and
generates warnings in Emacs 24.
2011-07-10 09:23:40 -07:00
Bill Wohler
972e3b728f Document "ignored" arguments to keep checkdoc happy.
* mh-speed.el (mh-speed-toggle,mh-speed-view): Ditto
* mh-search.el (mh-flists-execute): Ditto.
* mh-funcs.el (mh-undo-folder): Ditto.
* mh-comp.el (mh-user-agent-compose): Ditto.
2011-07-09 13:25:54 -07:00
Bill Wohler
92ec073e64 * mh-e.el: Just require mh-loaddefs since loading it in an
eval-and-compile block causes compilation errors in XEmacs.
2011-07-03 19:53:16 -07:00
Bill Wohler
54a5db74a3 * mh-acros.el, mh-comp.el, mh-e.el, mh-folder.el, mh-letter.el:
* mh-mime.el, mh-search.el, mh-seq.el: Shush XEmacs compiler in
mh-do-in-xemacs block.
2011-07-03 19:17:42 -07:00
Bill Wohler
7895927f81 * mh-compat.el (mh-window-full-height-p): Add compatibility function
for XEmacs.
* mh-show.el (mh-show-msg): Use it, and avoid compiler warning on
XEmacs.
2011-07-03 17:27:22 -07:00
Bill Wohler
24f75b1046 * mh-letter.el (mh-letter-mode-map, mh-letter-complete)
(mh-complete-word): Remove FIXME comments since these functions are
still needed in other Emacsen. However, they can probably stand to be
generalized like completion-at-point.
(mh-letter-complete-or-space): Remove unused variable.
2011-07-03 17:09:44 -07:00
Bill Wohler
9c1c3a42e3 * mh-compat.el (mh-test-completion): Add compatibility function for
systems without test-completion.
* mh-alias.el (mh-alias-letter-expand-alias): Use it
2011-07-03 15:27:19 -07:00
Bill Wohler
0a9f5305f1 * mh-utils.el:
* mh-mime.el: Shush XEmacs compiler in mh-do-in-xemacs block.
2011-07-03 14:44:02 -07:00
Bill Wohler
2a7a7c1499 * mh-folder.el: Use boundp instead of fboundp when testing existence
of desktop-buffer-mode-handlers.
2011-07-03 14:04:13 -07:00
Glenn Morris
79b70037f6 Put ChangeLog entries in the correct files. 2011-05-12 09:30:17 -07:00
Stefan Monnier
d1bb662322 Make MH-E use completion-at-point
* lisp/mh-e/mh-letter.el (mh-letter-completion-at-point): New function,
extracted from mh-letter-complete
(mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space): Use it.
(mh-complete-word): Only use the common-substring arg when it works.
(mh-folder-expand-at-point):
* lisp/mh-e/mh-alias.el (mh-alias-letter-expand-alias): Return data suitable
for completion-at-point-functions.
* lisp/mh-e/mh-utils.el (mh-folder-completion-function): Make it work like
file-name completion, so partial-completion can do its job.
* lisp/minibuffer.el (completion-at-point, completion-help-at-point):
Don't presume that a given completion-at-point-function will always
use the same calling convention.
2011-04-28 12:32:28 -03:00
Juanma Barranquero
3338398778 Update and split ChangeLogs. 2011-04-06 14:18:10 +02:00