summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2014-04-28 16:31:54 -0700
committerManoj Srivastava <srivasta@debian.org>2014-04-28 16:31:54 -0700
commit920d3d552a2535a91f212d7b7b06f0ae48d7228e (patch)
tree525dd764440b4c9aef6b8774a6089af1cd254fef /debian
vm (8.2.0b-1) unstable; urgency=low
* New upstream release. This has been in Beta for two years now, and seems to work fine. # imported from the archive
Diffstat (limited to 'debian')
-rw-r--r--debian/.git-dpm8
-rw-r--r--debian/NEWS.Debian10
-rw-r--r--debian/changelog3612
-rw-r--r--debian/clean7
-rw-r--r--debian/compat1
-rw-r--r--debian/control30
-rw-r--r--debian/control.mime-codecs51
-rw-r--r--debian/copyright55
-rw-r--r--debian/docs3
-rw-r--r--debian/examples/README13
-rw-r--r--debian/examples/README.windows47
-rw-r--r--debian/examples/dot.abbrevs16
-rw-r--r--debian/examples/dot.emacs53
-rw-r--r--debian/examples/dot.vm52
-rw-r--r--debian/examples/dot.vm-auto-spool13
-rw-r--r--debian/examples/dot.vm-color80
-rw-r--r--debian/examples/dot.vm-hide-ref26
-rw-r--r--debian/examples/dot.vm-hide-ref-234
-rw-r--r--debian/examples/dot.vm-manoj-current653
-rw-r--r--debian/examples/dot.vm.2148
-rw-r--r--debian/examples/full_screen9
-rw-r--r--debian/examples/summary_bottom9
-rw-r--r--debian/examples/summary_right12
-rw-r--r--debian/examples/summary_top9
-rw-r--r--debian/patches/0001-debcherry-fixup-patch.patch2112
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules83
-rw-r--r--debian/source/format1
-rw-r--r--debian/vm.doc-base16
-rwxr-xr-xdebian/vm.emacsen-install123
-rwxr-xr-xdebian/vm.emacsen-remove61
-rw-r--r--debian/vm.emacsen-startup47
-rw-r--r--debian/vm.examples16
-rw-r--r--debian/vm.install1
-rwxr-xr-xdebian/vm.postinst279
-rwxr-xr-xdebian/vm.postrm217
-rwxr-xr-xdebian/vm.prerm136
-rw-r--r--debian/watch15
38 files changed, 8060 insertions, 0 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm
new file mode 100644
index 0000000..ac27887
--- /dev/null
+++ b/debian/.git-dpm
@@ -0,0 +1,8 @@
+# see git-dpm(1) from git-dpm package
+6dc310ec5fd37e85c91a565f709f809ef851d13c
+6dc310ec5fd37e85c91a565f709f809ef851d13c
+d21c89fce37a2e4e3b80ebf88da597daa767ba16
+d21c89fce37a2e4e3b80ebf88da597daa767ba16
+vm_8.1.2.orig.tar.gz
+cf40f9343a45ea414b4c3bc2df6792988d836e94
+706846
diff --git a/debian/NEWS.Debian b/debian/NEWS.Debian
new file mode 100644
index 0000000..bee8e79
--- /dev/null
+++ b/debian/NEWS.Debian
@@ -0,0 +1,10 @@
+vm (8.0.12-2) unstable; urgency=low
+
+ * This version of VM does not work with Emacs 21 and lower, since those
+ versions are missing the custom-autoload function which is used
+ invm-autoloads.el. As a result, no autoloads for vm are defined,
+ making vm completely unusable with emacs21. VM no longer byte compiles
+ itself for those versions.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 06 Jan 2009 11:12:31 -0600
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9a74fee
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,3612 @@
+vm (8.2.0b-1) unstable; urgency=low
+
+ * New upstream release. This has been in Beta for two years now, and
+ seems to work fine.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 28 Apr 2014 16:31:54 -0700
+
+vm (8.1.2-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fixed texinfo warnings and errors leading to an FTBFS (Closes: #712368)
+
+ -- Hilko Bengen <bengen@debian.org> Sat, 23 Nov 2013 16:25:12 +0100
+
+vm (8.1.2-2) unstable; urgency=low
+
+ * Also add emacs24 to the postinst, so we register with ucf
+ * Bug fix: "deletes shipped file during installation:
+ /usr/share/emacs/site-lisp/vm/vm-autoloads.el", thanks to Andreas
+ Beckmann (Closes: #706373).
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 29 Apr 2013 13:02:37 -0700
+
+vm (8.1.2-1) unstable; urgency=low
+
+ * New upstream release
+ * Bug fix: "unowned files after purge (policy 6.8, 10.8)", thanks to
+ Andreas Beckmann. We don't need that file, so we should not install it
+ in the first place. (Closes: #656219).
+ * Bug fix: "vm/w3m incorrectly displays HTML Mime contents with charset
+ different from locale", thanks to comcap@free.fr. This has been fixed
+ in this new upstream version. (Closes: #635909).
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 28 Apr 2013 00:22:49 -0700
+
+vm (8.1.0-1) unstable; urgency=low
+
+ * New upstream version
+ * [20fe869]: Merge branch 'upstream' into topic--debian
+ * Bug fix: "sc-cite-original citation hook fails for mime encoded
+ messages", thanks to Klaus Reichl (Closes: #550859).
+ * Bug fix: "8bit characters are not escapes in In-reply-to field",
+ thanks to Neil Brown (Closes: #434565).
+ * Bug fix: "vm-mime-encode-headers may mess up recipient addresses",
+ thanks to Francois Fleuret (Closes: #553402).
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 28 Mar 2010 08:03:45 -0700
+
+vm (8.0.13-1) unstable; urgency=low
+
+ * New upstream release. The project isunder new management now. This is
+ a bug fixing release, which handles a flaw in caching.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 29 Nov 2009 11:48:54 -0600
+
+vm (8.0.12-7) unstable; urgency=low
+
+ * Told lintian to stop parsing old changelogs.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 01 Nov 2009 20:21:57 -0600
+
+vm (8.0.12-6) unstable; urgency=low
+
+ * Take extra care to remove cruft during remove and/or purge.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 20 Oct 2009 09:59:26 -0500
+
+vm (8.0.12-5) unstable; urgency=low
+
+ * [e457f1c]: [topic--debian]: remove references to vm-easymenu
+ Bug fix: "vm.el still references vm-easymenu, which has gone", thanks
+ to Klaus Reichl (Closes: #470263).
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 12 Oct 2009 22:59:37 -0500
+
+vm (8.0.12-4) unstable; urgency=low
+
+ * New release to bring package into conformance with latest policy.
+ * [88e374f]: [vm]: Info files are now installed using triggers
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 16 Aug 2009 16:58:04 -0500
+
+vm (8.0.12-3) unstable; urgency=low
+
+ * A new, bug fixing release.
+ * [1493c77]: [vm] Remove files from the site-lisp directory
+ This was caught by piuparts.
+ * Updated Standards version to 3.8.2.0. Also, use emacs23 instead of
+ emacs22, now that it has entered testing.
+ * Info files are now installed using triggers.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 13 Aug 2009 12:38:42 -0500
+
+vm (8.0.12-2) unstable; urgency=low
+
+ * This version of VM does not work with Emacs 21 and lower, since those
+ versions are missing the custom-autoload function which is used
+ invm-autoloads.el. As a result, no autoloads for vm are defined,
+ making vm completely unusable with emacs21. VM no longer byte compiles
+ itself for those versions. Remove support for emacs20 and emacs21 in
+ emacsen.{install,remove}, add support for emacs23. Also add an
+ NEWS.Debian file to document this change.
+ Bug fix: "broken with emacs21 - (void-function custom-autoload)",
+ thanks to Sven Joachim (Closes: #508543).
+ * [c9a55df]: Added missing autoload cookie for
+ vm-decode-postponed-mime-message. For good measure, add an autoload
+ directive to the vm-init file as well.
+ Bug fix: "Now requires forced load of vm-pine ", thanks to Dirk
+ Eddelbuettel (Closes: #516591).
+ * [debiandir:a9a97a6]: remove call to install-docs, since this is now
+ done with triggers.
+ * [debiandir:263c26a]: Remove configure generated files in clean target
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 22 Mar 2009 02:19:48 -0500
+
+vm (8.0.12-1) unstable; urgency=low
+
+ * New upstream release
+ [b68c89b] Merge branches 'upstream', 'topic--debian' and 'topic--base64'
+ [580b1fe] Merge branch 'upstream' into topic--debian
+ [5007800] Merge branch 'upstream' into topic--base64
+ [f6416fc] Imported vm-8.0.12
+ IMPROVEMENTS:
+ + Display version info when calling `vm-version' interactively.
+ (Thanks to Ulrich Mueller)
+ + Yanking of messages uses the same MIME decoding as the presentation
+ now. See the new variable `vm-mime-yank-attachments' to configure if
+ attachments are also yanked.
+ + `u-vm-color.el' is bundled and maintained with VM now. Ulf Jasper
+ handed it over to me as he switched to Gnus.
+ BUGFIXES:
+ + Detect w3 by using `locate-library' instead of checking for a bound
+ `w3-about'. (Thanks to Klaus Straubinger)
+ + vm.revno.el was not installed anymore b "make install". (Thanks to
+ Ulrich Mueller for reporting)
+ + Insert `emacs-version' instead of creating wrong version string for
+ XEmacs, i.e. the patch level was the major version. (Thanks to Stephen
+ Turnbull)
+ + Correctly locate the data directory for the pixmaps when running as a
+ XEmacs package.
+ + Check for some MIME character sets that may be available in recent
+ XEmacs. (Thanks to Aidan Kehoe for the patch)
+ + Some documentation fixes. (Thanks to Michael Ernst for the patches)
+ + Fixed infinite loop in vm-mime-encode-words on XEmacs 21.5-b28.
+ (Thanks to Aidan Kehoe for the patch)
+ + Detect "score" (additionally to "hits") in "X-Spam-Status:" headers in
+ `vm-su-spam-score-aux'. (Patch from Michael Ernst)
+ + Typo fix in vm-pcrisis.texinfo. (Patch from Michael Ernst)
+ + Header encoding was BASE64 instead of QP by default and it was not
+ encoding whole words, but only the 8bit chars instead. (Thanks to Ulrich
+ Mueller for reporting)
+ + MIME text parts interleaved by attachments are now correctly yanked,
+ e.g. when replying to a message.
+ + Limit the buffer-name length and sanitize the used characters. (Thanks
+ to Mark Diekhans for reporting)
+ + Do not fail on corrupted address headers. (Reported by John Covici)
+ + Fixed GTK detection and toolbar handling for newer Emacs 22 versions.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 06 Nov 2008 23:16:48 -0600
+
+vm (8.0.11-1) unstable; urgency=low
+
+ * New upstream release. Excerpted changes:
+ + Removed dependency of vm-revno.el to other lisp sources to avoid
+ building it in a release bundle. (Thanks to Ralf Fassel)
+ + Added missing documentation for `vm-user-agent', "?" binding and
+ 'vm-delete-duplicate-messages'. (Thanks to Alan Wehmann)
+ + `vm-message-history.el' now uses a buffer similar to the summary for
+ browsing the history. The buffer replaces the summary buffer when
+ present. Duplicate history entries will be removed.
+ + Define and use `vm-replace-in-string' which is `replace-in-string'
+ from XEmacs to avoid clashes with other GNU Emacs packages defining
+ it differently. Unfortunately, GNU Emacs still does not provide this
+ handy function. (Thanks to José Miguel Figueroa)
+ + MIME encoding of header will automatically happen now and has been moved
+ from `vm-rfaddons.el' to `vm-mime.el' and `vm-vars.el'.
+ + Leading lines of a yanked message were accidently taken as headers and
+ got removed if `vm-reply-include-presentation' was t.
+ + Fixed encoding of headers for trailing 8 bit characters. (Thanks to
+ Lutz Euler for the patch)
+ + Decode (QP-)encoded clear text before decrypting it.
+ + Use nil as default for `vm-mime-8bit-composition-charset' and thus
+ enable proper detection of right charset. (Thanks to Naoki Saito for
+ reporting and debugging)
+ + Fixed bug in `vm-mime-display-external-generic' for GNU Emacs 23 causing
+ corrupted content in the output file. The old code has been replaced by
+ a call to `vm-mime-send-body-to-file' which avoids duplication and works.
+ There has been some special handling for `vm-fsfemacs-mule-p', but the
+ actual reason for this was unclear so it has been removed.
+ + Correctly handle `vm-enable-addons' being t.
+ + Correctly store UTF-8 strings in the X-VM-v5-Data header to avoid
+ corruption of summay lines. (Thanks to Yuning Feng for reporting)
+ + Correctly encode multibyte subjects. (Thanks to Yuning Feng for the
+ patch)
+ + Use BASE64 for header encoding when there are special chars not quoted
+ by QP normally. You may configure this by `vm-mime-encode-headers-type'.
+ + qp-decode program handles premature end of QP-encoded stream now
+ gracefully. (Thanks to Ralf Fassel for the bug report, fix and testing)
+ + Added missing newline after "Content-Type" when using the command
+ `vm-mime-attach-object-from-message'. (Thanks to Dan Freed)
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 29 Aug 2008 15:24:42 -0500
+
+vm (8.0.9-4) unstable; urgency=low
+
+ * Updated the control file to reflect moving the package to a public git
+ repository at http://git.debian.org/git/users/srivasta/debian/vm.git
+ * Bug fix: "vm: Error while loading 50vm-init", thanks to Laurent
+ Bonnaud. Since the variable is defined in vm-vars, as is the missing
+ function, wrap the setting of the pixamp directory in an
+ eval-after-load vm-vars. (Closes: #475646).
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 27 Apr 2008 22:51:03 -0500
+
+vm (8.0.9-3) unstable; urgency=low
+
+ * Correct setting in vm-init.el, based on guidance by Kurt Hornik. The
+ directory setting were wrong, and now we just let the upstream default
+ remain for vm-image-directory, and add a setting for
+ vm-toolbar-pixmap-directory that reflects the upstream version,
+ modified for Debian variations.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 03 Apr 2008 00:07:29 -0500
+
+vm (8.0.9-2) unstable; urgency=high
+
+ * Bug fix: "vm: Installer overwrites vm-init.el before it uses it.",
+ thanks to Klaus Reichl. Thanks to Sven Joachim for finding the bug,
+ and for a patch. Closes: #465748,#470275
+ * Make sure we delete files from /usr/share/emacs/site-lisp/vm on
+ removal (these are not conffiles, so can go on removal, instead of
+ hanging around until purged).
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 19 Mar 2008 13:38:12 -0500
+
+vm (8.0.9-1) unstable; urgency=low
+
+ * New upstream release
+ * Added documentation to `vm-mime-external-content-types-alist' that no
+ extra single quotes should be used around %f as the file name is already
+ quoted for the shell. (Thanks to Martin Schwenke)
+ * Fixed version number generation in release script. It was broken for
+ 8.0.8, i.e. it was showing 8.0.x-xemacs-542 instead. Now also other
+ branch related information is stored in the file vm-revno.el.
+ * Reactivated "Allow defadvice on function `vm' by recursing on session
+ start". It should work correctly now.
+ * Added interactive `vm-pipe-message-to-command-discard-output' and
+ the non-interactive `vm-pipe-message-to-command-to-string' for using
+ it in own functions.
+ * Added `vm-pipe-messages-to-command*' for bulk piping messages to a
+ single command, i.e. like saving to a pipe. This is substantially
+ faster than `vm-pipe-message-to-command*' which call the command on
+ each message separately. You may want to use it to feed spamassasin.
+ * Modified key bindings for piping messages, i.e. "|" is a prefix key
+ now. Type it twice to get the old pipe command, "|d" will call the
+ discard the output, just display some infos in the mode line. "|s"
+ will call `vm-pipe-messages-to-command' and "|n" will also call it
+ but discard the output.
+ * Removed vm-easymenu.el and use easymenu.el instead.
+ * In `vm-save-message-preview', ask the user if the output file already
+ exists instead of silently overwriting it.
+ * Moved [Undo] to Dispose menu and [Emacs] to Help menu as these do not
+ work in Emacs 22 anymore when on the menu bar.
+ * Fixed intermixing of signature and quoted text in reply if
+ `vm-reply-include-presentation' is t. (Thanks to Roland Winkler for
+ debugging and reporting)
+ * Fixed yanking of presentation from wrong folder when folder is virtual.
+ (Thanks to Roland Winkler for reporting)
+ * Redistributed flag not displayed in presentation buffer mode line.
+ https://bugzilla.redhat.com/show_bug.cgi?id=428248 (Thanks to Jonathan
+ Underwood for the fix)
+ * `vm-submit-bug-report' gets the variables dynamically now and thus does
+ not miss new ones or references old ones anymore.
+ * Correctly determine the real folder when postponing compositions started
+ from a virtual folder. (Thanks to Uday S. Reddy for reporting and
+ debugging)
+ * Avoid crash when `vm-mouse-set-mouse-track-highlight' is not called
+ within a summary buffer or without a valid message pointer.
+ * Do not disable modes which do not exist. (Thanks to Uday S. Reddy for
+ reporting)
+ * Fix compilation of autoloads. Closes: 465748
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 21 Feb 2008 16:22:43 -0600
+
+vm (8.0.7-1) unstable; urgency=low
+
+ * New upstream release Closes: #435917
+ This is a pretty major release. Releases are numbered now
+ MAJOR.MINOR.PATCHLEVEL, where MAJOR is increased when fundamental
+ changes occur, MINOR for new features and PATCHLEVEL for bugfix
+ releases. Better built system based on configure. Autoloads are
+ generated only for those functions marked with the autoload token now,
+ which are mainly interactive function. Thus, loading occurs only on
+ demand and startup should be faster.
+ * We now prefer emacs22, though we still install on emacs21. Closes: #434022
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 08 Feb 2008 21:15:32 -0600
+
+vm (7.19-14) unstable; urgency=low
+
+ * Bug fix: "vm: Please support emacs22", thanks to Sven Joachim
+ (Closes: #432105).
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 07 Jul 2007 15:11:00 -0500
+
+vm (7.19-13) unstable; urgency=low
+
+ * Added XS-VCS-Arch and XS-VCS-Browse to debian/control
+ * Bug fix: "vm: suggests unavailable package mime-codecs", thanks to
+ Sven Joachim (Closes: #412371).
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 17 Apr 2007 19:45:51 -0500
+
+vm (7.19-12) unstable; urgency=medium
+
+ * Bug fix: "vm: Byte-compilation very slow under Emacs 22", thanks to
+ Tim Cross. This would be a low risk improvement for etch.
+ (Closes: #410492).
+ * Bug fix: "vm should depend on emacs21 *OR emacs-snapshot*", thanks to
+ Philippe Queinnec. I've decided to add emacs-snapshot to the
+ dependencies, since this is likely to be a more popular option as time
+ goes on. Also, the package already byte-compiles and otherwise fully
+ supports emacs22 (and emacs23, which is what I tend to use now), so
+ this is essentially bringing the control file up to speed.
+ (Closes: #398877).
+ * These two improvements now make emacs-snapshot a full status supported
+ version for VM. There is no code change -- the code already supported
+ emacs-snapshot, and is known to work. This just allows people to
+ uninstall emacs21 (without the control file change, one had to have
+ emacs21 and emacs-snapshot both installed for emqacs-snapshot to be
+ supported, which is rather silly.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 24 Feb 2007 10:10:53 -0600
+
+vm (7.19-11) unstable; urgency=medium
+
+ * Bug fix: "vm: purging the package fails (ucf unavailable)", thanks to
+ Bill Allombert (Closes: #389966).
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 29 Sep 2006 14:18:38 -0500
+
+vm (7.19-10) unstable; urgency=low
+
+ * Suggest stunnel, since we need something like that to provide secure
+ access to remote mail.
+ * Bug fix: "vm: please Recommend: or Suggest: stunnel", thanks to Daniel
+ Kahn Gillmor (Closes: #381066).
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 21 Aug 2006 21:53:47 -0500
+
+vm (7.19-9) unstable; urgency=low
+
+ * Split control file into two versions -- and select a control file
+ based on whether or not we have been instructed to build mime-codecs.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 27 Feb 2006 09:48:12 -0600
+
+vm (7.19-8) unstable; urgency=low
+
+ * Don't build mime-codecs any longer, due to several grave issues with
+ the code. Instead, document how people may use the perl one liners in
+ VM, thanks to Daniel Kahn Gillmor.
+ * Bug fix: "mime-codecs should be dropped", thanks to Manoj Srivastava
+ done. (Closes: #329683).
+ * Bug fix: "mime-codecs: base64-decode fails to properly decode many
+ valid base64-encoded files", thanks to Daniel Kahn Gillmor. Instead of
+ trying out the patch provided (thanks for that, it was appreciated), I
+ decided to instead drop the mime-codecs package entirely, since the
+ perl one liners can easily replace them -- and these modules are
+ already in perl, an essential package. (fixes: #338115).
+ * Bug fix: "mime-codecs: please support [file name] and [-o
+ outputfile]", thanks to Martin Michlmayr. We no longer ship
+ mime-codecs. (fixes: #213443).
+ * Bug fix: "vm: Skip byte-compilation when already done", thanks to
+ Peter S Galbraith (Closes: #338559).
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 3 Dec 2005 16:44:16 -0600
+
+vm (7.19-7) unstable; urgency=low
+
+ * Bug fix: "vm: doesn't use debconf for prompting", thanks to Lars
+ Wirzenius. Hmm. We don't even have a /usr/lib/emacs/site-lisp/site-start.el
+ anymore, and /etc/emacs/site-start.el has not mentioned vm-init since
+ at least 2002, and probably a lot longer than that. The chances of
+ someone still having a reference to vm-init in there are pretty low
+ --- and even then, it should be handled silently. This work around was
+ added in 1998; I doubt if such buggy systems still survive -- and if
+ people have cruft lying around since 1998, and are trying to install vm
+ after 7 years, well, there shall be issues. In any case, we still try
+ to fix things silently, and we still issue a diagnostic. I just don't
+ think this is worth a debconf note anymore. (Closes: #333297).
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 22 Oct 2005 00:15:10 -0500
+
+vm (7.19-6) unstable; urgency=low
+
+ * Fix a FTBS bug due to the changed behaviour of texi2html. Also, use
+ /usr/share/menu instead of /usr/lib/menu
+ * Bug fix: "vm-mime-Q-encode-region dies if region ends with newline",
+ thanks to Michael Ernst (Closes: #319821).
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 8 Aug 2005 11:28:22 -0500
+
+vm (7.19-5) unstable; urgency=low
+
+ * Bug fix: "vm: does not start vm: vm-mouse-install-mouse fails", thanks
+ to Daniel Martins. I am not sure why this works for me, but not for
+ the reporter -- but an autoload costs little, so add one to the init
+ function. (Closes: #309962).
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 9 Jul 2005 14:21:48 -0500
+
+vm (7.19-4) unstable; urgency=low
+
+ * Bug fix: "vm: Please do not discriminate against XEmacs", thanks to
+ Dirk Eddelbuettel. Well, back in the mists of time, VM was packaged to
+ be byte-compiled for XEmacs, but the XEmacs maintainer at that time
+ asked me to cease and desist. Times change, so that is reverted.
+ (Closes: #306876).
+ * Bug fix: "vm: purge doesn't", thanks to Ian Zimmerman. This should be
+ better. (Closes: #303519).
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 2 May 2005 23:57:59 -0500
+
+vm (7.19-3) unstable; urgency=low
+
+ * Bug fix: "vm: package description typo(s) and the like", thanks to
+ Florian Zumbiehl (Closes: #300050).
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 17 Mar 2005 20:10:30 -0600
+
+vm (7.19-2) unstable; urgency=medium
+
+ * vm-mime-display-external-generic does not quote spaces when calling
+ external commands -- and since VM does not use mailcap, but instead
+ uses vm-mime-external-content-type-alist, this fix is relevant.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 2 Nov 2004 14:32:58 -0600
+
+vm (7.19-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * New variables:
+ + vm-stunnel-program-additional-configuration-file
+ * added vm-mouse-send-url-to-safari to send URLs to Safari under
+ Mac OS X.
+ * added docstrings for vm-mime-reader-map-* commands.
+ * normalized prefix key description layout in vm-mode docstring.
+ * added some missing MIME commands to menu entries.
+ * undo change in vm-preview-current-message that required
+ vm-auto-decode-mime-messages to be non-nil along with
+ vm-display-using-mime before creating the presentation
+ copy of a message. It has the unexpected side-effect of
+ breaking 'D' when vm-auto-decode-mime-messages is nil.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 30 Sep 2004 16:08:43 -0500
+
+vm (7.18-9) unstable; urgency=low
+
+ * Removed the obsolete needs="dwww" menu entry. Now we use the
+ preferred doc-base method.
+ * Bug fix: "vm: Can't cycle among decoded/summary/raw views of MIME
+ messages", thanks to Reid Priedhorsky (Closes: #250559).
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 22 Jun 2004 23:38:50 -0500
+
+vm (7.18-8) unstable; urgency=low
+
+ * Bug fix: "vm: wrong path in README.debian.gz", thanks to Diego Biurrun
+ (Closes: #243377).
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 20 Apr 2004 13:51:42 -0500
+
+vm (7.18-7) unstable; urgency=low
+
+ * Bug fix: "silent error while loading 50vm-init.el", thanks to Jeff Nye
+ If vm-mime-default-face-charsets is unbound, set it to the default
+ value. (Closes: #241074).
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 2 Apr 2004 12:14:16 -0600
+
+vm (7.18-6) unstable; urgency=low
+
+ * Added 8859-15 to the list of charsets to display in the default face
+ in vm. Also added a short README about mime handling in VM.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 14 Mar 2004 13:21:00 -0600
+
+vm (7.18-5) unstable; urgency=low
+
+ * removed dependency relationship with emacs20
+ * Bug fix: "vm: Please update Dependencies to exim4", thanks to Marc
+ Haber (Closes: #228596).
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 6 Feb 2004 03:17:03 -0600
+
+vm (7.18-4) unstable; urgency=low
+
+ * FTBFS: missing build-depends. Bah. The buildd's do not respect
+ Build-Depends-Indep. Duplicated the dependency into Build-Depends as a
+ workaround for this buildd flaw. (Closes: #224461).
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 23 Dec 2003 13:29:22 -0600
+
+vm (7.18-3) unstable; urgency=low
+
+ * Move to the new build system, and the new SCM system. Now the source
+ packages are full arch categories.
+ * Bug fix: "/usr/bin/qp-decode: say program name on error output",
+ thanks to Dan Jacobson. Do the same for base64-decode as well.
+ (Closes: #222580).
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 6 Dec 2003 00:28:22 -0600
+
+vm (7.18-2) unstable; urgency=low
+
+ * The last upload was corrupted. This is a major bugfix release.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 12 Nov 2003 23:15:14 -0600
+
+vm (7.18-1) unstable; urgency=low
+
+ * New upstream release. Excerpted changes:
+ * New variables:
+ + vm-default-new-folder-line-ending-type
+ * vm-mail-internal: use idle timers to run vm-update-composition-buffer-name
+ instead of post command hooks
+ * vm-decode-mime-layout: always delete a MIME object button after
+ doing a type conversion.
+ * vm-mail-send: bind coding-system-for-write to match the coding
+ system of mail-archive-file-name (if set) so that mail-do-fcc
+ writes to the file using the correct line endings.
+ * vm-make-tempfile-name, vm-make-tempfile: accept optional
+ second argument 'proposed-filename' which will be used if a
+ file with that name do not exist in vm-tempfile-directory.
+ If such a file exists, then a number and a dash will be prepended
+ to the proposed filename and the number will be incremented until no
+ such file exists.
+ * don't use vm-menu-fsfemacs-image-menu unless vm-use-menus is non-nil.
+ * vm-preview-current-message: require vm-auto-decode-mime-messages to
+ be non-nil along with vm-display-using-mime before creating the
+ presentation copy. This helps prevent selection of the presentation
+ buffer when the user likely needs to do M-x recover-file.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 11 Nov 2003 14:35:03 -0600
+
+vm (7.17-1) unstable; urgency=low
+
+ * New upstream. excerpted changes:
+ * New commands:
+ + vm-create-imap-folder
+ + vm-delete-imap-folder
+ + vm-rename-imap-folder
+ * vm-edit-message-end: try to positoin the cursor in the message
+ window roughly where it was in the edit window.
+ * vm-read-imap-folder-name: allow vm-imap-make-session to return
+ nil without crashing. Also, bind vm-imap-ok-to-ask non-nil so
+ that vm-imap-make-session will interactively prompt for a
+ password.
+ * added menu entry to Folder menu for vm-visit-imap-folder.
+ * vm-imap-normalize-spec: convert auth method to * instead of the
+ IMAP folder name.
+ * vm-imap-get-message-flags: fixed flag retrieval so that it
+ actually works now.
+ * vm-handle-file-recovery-or-reversion: find an IMAP spec for the
+ buffer so that the spec is passed to the 'vm' command instead
+ of the buffer-file-name. This fixes a wrong-type-argument
+ error under M-x recover-file when done on a IMAP cache folder.
+ * tapestry.el: in tapestery-window-edges check for existence of
+ face-width and face-height in addition to window-pixel-edges.
+ * search for BASE64/QP encoder/decoder programs and set the
+ encoder/decoder program variable based on what we find.
+ * vm-mf-default-action: if object is convertible to a displayble
+ type mention the conversion that will happen in the action
+ string.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 13 Jul 2003 15:57:12 -0500
+
+vm (7.16-1) unstable; urgency=low
+
+ * New upstream. excerpted changes:
+ * New commands:
+ + vm-visit-imap-folder
+ + vm-visit-imap-folder-other-window
+ + vm-visit-imap-folder-other-frame
+ + vm-save-message-to-imap-folder
+ * New variables:
+ + vm-imap-server-list
+ * vm-primary-inbox can now be a POP or IMAP mailbox specification.
+ * vm-mime-set-xxx-parameter: use the parameter name passed in
+ instead of assuming the name is "charset". The only calls to
+ this function passed in "charset" as the name, so this bug
+ wasn't affecting anything.
+ * vm-decode-mime-encoded-words: do charset conversion if needed.
+ Forgot to add this back when vm-mime-charset-converter-alist
+ was added.
+ * vm-send-mail-and-exit -> vm-mail-send-and-exit in vm-user-agent
+ definition.
+ * vm-mail-send-and-exit: dropped first arg requirement since the
+ argument isn't used anyway.
+ * compute POP cache filenames based on the POP mailbox spec with
+ the access method as "pop" and the authentication method and
+ port as asterisks. This prevents visiting the wrong file if
+ the user starts accessing a POP mailbox through a different
+ port or using a different access or authentication method.
+ Automatically migrate the old cache files to the new scheme as
+ we go.
+ * fixed convert -page typos.
+ * vm-set-redistributed-flag: fourth arg of vm-set-xxx-flag
+ call corrected to be vm-set-redistributed-flag instead of
+ vm-set-forwarded-flag.
+ * IMAP BYE responses are always untagged; changed code to match.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 27 May 2003 12:26:50 -0500
+
+vm (7.15-1) unstable; urgency=low
+
+ * New upstream. excerpted changes:
+ * Makefile: filter echo's output through tr to avoid CRs
+ under Cygwin.
+ * Makefile: Use '>' instead of '>>' on first write to vm-autoload.el
+ to truncate the file otherwise it will grow each time it is updated.
+ * vm-mime-attach-message: arrange for forwarded flag of each
+ attached message to be set when the composition is sent.
+ * vm-decode-mime-encoded-words: do charset conversion if needed.
+ Forgot to add this back when vm-mime-charset-converter-alist
+ was added.
+ * when cropping images call 'convert' with -page to avoid having
+ some kind of margin takcked on to the image. The strange
+ margin seems to be applied to GIFs but not JPGs. No idea why.
+ * fixed some defcustom variable declarations.
+ * vm-mime-reader-map-save-file: return the file name to which the object
+ was saved.
+ * vm-mime-burst-digest: remove blank lines at the beginning of
+ message/rfc822 bodies in a multipart/digest object, since they
+ most likely indicate an improperly packed digest rather than a
+ message with no headers.
+ * vm-make-tempfile: use vm-octal to clarify file mode setting.
+ * vm-make-image-strips: when building the script for incremental
+ display, don't quote the filenames. DJGPP cmdproxy.exe doesn't
+ interpret single quotes and using double quotes is pointless.
+ VM's arguments to 'convert' don't need quoting anyway.
+ * use vm-pop-check-connection to check POP connections before
+ trying to read data from them. The checker will signal an
+ error if the connection is closed or the process associated
+ with the connection has exited.
+ * use vm-imap-check-connection to check IMAP connections before
+ trying to read data from them, The checker will signal an error
+ if the connection is closed or the process associated with the
+ connection has exited.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 4 May 2003 01:52:45 -0500
+
+vm (7.14-1) unstable; urgency=low
+
+ * New upstream. excerpted changes:
+ * moved (provide ...) to bottom of .el files.
+ * Made the vm-undo command undo everything the last command did.
+ E.g. vm-undo after vm-kill-subject undoes all of the related
+ deletes instead of just one of them. vm-undo-boundary is only
+ called from vm-add-undo-boundaries now. vm-add-undo-boundaries
+ is called from post-command-hook.
+
+
+ -- Manoj Srivastava <srivasta@acm.org> Sat, 29 Mar 2003 00:07:15 -0600
+
+vm (7.13-1) unstable; urgency=low
+
+ * New upstream. excerpted changes:
+ * vm-pop-make-session: use new stunnel configuration code
+ introduced in VM 7.11. This was only installed in
+ vm-imap-make-session previously.
+ * create MIME layout from plist instead raw vector. layout strut
+ is still a vector.
+ * save original layout when doing a layout conversion so that if
+ the object needs to be deleted we still ahve the correct object
+ endpoint in the folder buffer. In the old code the endpoints in
+ the converted object buffer would be used in the folder buffer
+ with disastrous results.
+ * '(vm-marker -> (vm-marker in vm-mime-parse-entity.
+
+
+ -- Manoj Srivastava <srivasta@acm.org> Wed, 19 Mar 2003 22:59:38 -0600
+
+vm (7.11-1) unstable; urgency=low
+
+ * New upstream. excerpted changes:
+ * New variables:
+ + vm-mime-forward-local-external-bodies
+ * vm-mime-fsfemacs-encode-composition: if object is in a buffer,
+ write the buffer out to disk and insert the file contents instead
+ of copuying buffer to buffer. This avoids the trademark \201
+ data corruption.
+ * vm-su-thread-indent: check for vm-summary-show-threads non-nil
+ before calling vm-th-thread-indentation.
+ * vm-summary-compile-format-1: added %(..%) format groups.
+ * don't forward Content-Length header.
+ * use results of CAPABILITY command to check for authentication methods
+ before trying to use them.
+ * use results of CAPABILITY command to decide whether to use
+ BODY.PEEK vs. RFC822.PEEK.
+ * vm-mime-attach-object-from-message: move window point to
+ beginning of the line after the inserted attachment if the
+ compositoin buffer is being displayed in a window.
+ * vm-mime-parse-entity-safe: set c-t-e to "7bit" if it is nil.
+ * vm-mime-fetch-url-with-programs: erase the work buffer between
+ tries of various URL fetch programs; this handles the case
+ where an URL fetcher outputs part of the data and then dies.
+ * added support for the `fetch' and `curl' URL fetch programs for
+ message/external-body.
+ * vm-mime-fsfemacs-encode-composition: call vm-mime-parse-entity
+ twice for already MIME'd objects.
+ vm-mime-xemacs-encode-composition similarly modified.
+ * vm-mime-fsfemacs-encode-composition: don't automatically
+ base64-encode non-composite non-text objects that already have
+ MIME headers. Use vm-mime-transfer-encode-layout on them
+ instead to produce the correct encoding.
+ vm-mime-xemacs-encode-composition similarly modified.
+ * dropped support for url-w3 retrieval method. It's interface too
+ crusty to continue using given the wide availabity of external
+ programs that do the job.
+ * vm-mime-display-internal-message/external-body: pulled
+ retrieval guts out and put into vm-mime-retrieve-external-body.
+ * added support for simple image manipulations, supported by
+ Imagemagick's `convert' program. Use mouse button 3 on an
+ image to see what you can do.
+ * added Konqueror to vm-menu-url-browser-menu.
+ * added option to send to the X clipboard to vm-menu-url-browser-menu.
+ * vm-menu-url-browser-menu: add third element to clipboard and
+ Konqueror entries--- VM's menu code under GNU Emacs requires it.
+ * treat device-type `gtk' like `x' under XEmacs so that
+ VM running on GTK-XEmacs will use window system features.
+ * vm-imap-move-mail: set use-body-peek after retrieving the
+ CAPABILITY results. (oops)
+ * Makeflie: default install target now installs the .el files.
+ * added support for version 4 of stunnel.
+ * fixed check for usability of uncompface's -X flag, needed
+ symbol to be unquoted.
+ * fixed check for stunnel 4, check for non-zero exit code instead
+ of string, moved check to the time when stunnel is first run.
+ * vm-stunnel-configuration-args: fixed reversed v3/v4 logic.
+ * vm-stunnel-configuration-file: reuse the stunnel configuration
+ tempfile.
+ * vm-parse: fourth arg limits the number of matches before
+ returning.
+ * vm-parse: after we quit matching add everything after the last
+ match to the list that is returned, but do this ONLY if the
+ fourth arg 'matches' was specified.
+ * compute POP cache filenames based on the POP mailbox spec with
+ the password as an asterisk. This prevent visiting the wrong
+ file if the user has the password in the spec and later changes
+ their password. Automatically migrate the old password-based cache
+ files to the new scheme as we go.
+ * vm-pop-make-session: parse POP mailbox spec in a way that
+ permits colons in the user's password.
+ * install .el files before .elc files to avoid "source file newer
+ than compiled file" problems.
+ * added ] to char class exclusion in mailto spec in vm-url-regexp
+ to help with MS EXchange's [mailto:foo] syntax.
+
+ -- Manoj Srivastava <srivasta@acm.org> Thu, 13 Mar 2003 09:22:46 -0600
+
+vm (7.08-2) unstable; urgency=low
+
+ * Suggest mime-codecs. closes: Bug#181776
+
+ -- Manoj Srivastava <srivasta@acm.org> Thu, 20 Feb 2003 11:02:50 -0600
+
+vm (7.08-1) unstable; urgency=low
+
+ * New upstream. excerpted changes:
+ * New variables
+ + vm-mime-ignore-missing-multipart-boundary
+ + vm-url-browser-switches
+ * vm-mime-attach-object-from-message: decode object after stuffing it
+ into the work buffer. Two reasons: (1) the composition encoding
+ code doesn't expect base64 or QP encoded objects and will encode
+ them again, and (2) we shouldn't trust that the original object was
+ encoded properly so we should re-encode it since we're sending it.
+ * vm-mime-display-internal-multipart/alternative: a badly formed
+ mesage may cause VM to find no message parts so don't call
+ vm-decode-mime-layout unless best-layout is non-nil.
+ * vm-su-subject: compress \n[ \t]* to a single space.
+ * README: Added (vm) to the example VM entry in the 'dir' file.
+ Apparently the old entry won't work without it anymore.
+ * vm-mime-parse-entity-safe: error/error MIME layout needs to be
+ length 16; added a nil. Really need to macroize creation
+ of the layout object someday.
+ * vm-recover-file: call recover-file with call-interactively
+ instead of apply.
+ * vm-revert-buffer: call revert-buffer with call-interactively
+ instead of apply.
+ * vm-decode-mime-layout: check if layout has been converted
+ and don't try to convert it again if so.
+ * vm-vs-or, vm-vs-and: check existence of selector function and
+ signal error if not found.
+ * vm-md5-region: accept " -" and " *-" before the md5 checksum
+ because md5sum stupidly produces extra output on some systems.
+ * vm-imap-end-session: trying reading the response to the LOGOUT
+ command and see if we start hanging in some environments.
+ * vm-imap-make-session: don't query for passwor dif the
+ authentiation method is "preauth".
+ * vm-visit-virtual-folder: select the message corresponding to
+ the real message the user used as a basis for this folder, if
+ there was one. Only honor the vm-jump-* variables if
+ there's no correspoinding real message to use.
+ * vm-compose-mail: run mail-citation-hook or mail-yank-hooks or
+ the normal VM default action after yanking the message text.
+ Always position point in the body before running the yank
+ action. Don't assume the yank action is smart enough to
+ position point correctly before inserting the text.
+ * vm-recognize-imap-maildrops,vm-recognize-pop-maildrops: changed
+ regexp to allow colons in the last field.
+ * dropped single quotes in const choice values in defcustom for
+ vm-mime-alternative-select-method.
+ * Makefile: use \015 instead of \r with tr due to bug in Solaris
+ 8's tr which removes r's.
+ * vm-get-mail-itimer-function: correct use of timer-set-time; set
+ new firing time to now + vm-auto-get-new-mail instead of now
+ with a delta of vm-auto-get-new-mail, to avoid having
+ the timer expire repeatedly in the same second. Similar change
+ in vm-check-mail-itimer-function which support vm-mail-check-interval.
+ Similar change in vm-flush-itimer-function which supports vm-flush-interval.
+ * vm-decode-mime-message: vm-preview-read-messages ->
+ vm-preview-lines so that message previewing is turned off for
+ the 'raw' and 'all buttons' displays.
+ * vm-mail-send: bind select-safe-coding-system-function to nil
+ during call to mail-send to prevent Emacs from prodding user
+ about the FCC coding system. The coding system used should be
+ raw-text and VM sets buffer-file-coding-system to that.
+ * vm-stuff-attributes: don't clear modflag if stuffing for another
+ folder, since the information stuffed in that case is missing
+ the deleted flag if that flag was set.
+ * use defconst to set vm-faked-defcustom so that the checking
+ works correctly if vm-vars.el is loaded twice.
+ * vm-mime-parse-entity: find multipart boundaries, then recurse
+ into parts. This satisfies the new rule in RFC 2046 that outer
+ level multipart boundaries be recognized at any level of inner
+ nesting.
+ * vm-mime-send-body-to-file: removed let-binding of variable file
+ which was shadowing the function parameter of the same name.
+ This should make the function not ask about a filename even
+ when one has already been provided.
+ * define vm-folder-history as a function that returns t so that
+ when it is passed as the sixth arg to read-file-name under
+ Emacs 21 it does not cause void-function to be signaled when
+ completion is attempted.
+ * vm-mime-send-body-to-folder: force conversion to target folder's
+ type since the user doesn't know what type we're using in the
+ temp folder.
+ * vm-save-message: dno't try to honor vm-delete-after-saving if
+ the folder is read-only.
+ * vm-delete-duplicate-messages: compute hash on real folder
+ contents rather than virtual copy. Fixes utterly brokwn
+ behavior when run on a virtual folder.
+
+
+ -- Manoj Srivastava <srivasta@acm.org> Mon, 17 Feb 2003 21:35:00 -0600
+
+vm (7.07-5) unstable; urgency=low
+
+ * Remove old emacs19 directory closes: Bug#179682
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 10 Feb 2003 10:03:46 -0600
+
+vm (7.07-4) unstable; urgency=low
+
+ * Make sure ucf database is cleaned up on purge
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 10 Nov 2002 22:03:39 -0600
+
+vm (7.07-3) unstable; urgency=low
+
+ * Make sure the log file is user readable closes: Bug#167791
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 6 Nov 2002 03:20:07 -0600
+
+vm (7.07-2) unstable; urgency=low
+
+ * Also install vm.html closes: Bug#161086
+ * Make sure that the uncompiled .el files are still in the load-path,
+ though close tothe end. closes: Bug#155043
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 29 Oct 2002 18:09:05 -0600
+
+vm (7.07-1) unstable; urgency=low
+
+ * Use which, not command -v.
+ * New upstream. excerpted changes:
+ * vm-sort-messages: move first call of
+ vm-update-summary-and-mode-line out to callers. Threading boks
+ if we call it in here.
+ * vm-assimilate-new-messages: resume calling
+ vm-update-summary-and-mode-line to clear the decks before
+ thread sorting.
+ * vm-toggle-threads-display: start calling
+ vm-update-summary-and-mode-line to clear the decks before
+ thread sorting.
+ * vm-save-folder,vm-write-file: support
+ vm-default-folder-permission-bits here,
+ since a folder might be created when it is saved.
+ * vm-save-message,vm-save-message-sans-headers: use the target
+ folder's line ending coding system for saves. If the target
+ doesn't exist use the local system's default.
+ * vm-write-string: don't set an explicit coding system for writes,
+ use the ambient value.
+ * vm-sort-messages: call vm-update-summary-and-mode-line to clear
+ the decks before sorting.
+ * vm-mail-internal: UNder FSF Emacs set the coposition buffer
+ coding system to 'raw-text' which should stop write-region from
+ question the coding system inside mail-do-fcc.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 13 Jun 2002 15:40:00 -0500
+
+vm (7.05-1) unstable; urgency=low
+
+ * New upstream bug fixing release. Excerpted change:
+ * New variables:
+ + vm-default-folder-permission-bits
+ * Makefile: added install-el target.
+ * always set mode-popup-menu; it's value should not depend on the
+ value of vm-popup-menu-on-mouse-3.
+ * vm-stuff-folder-attributes: added status messages.
+ * vm-mime-discard-layout-contents: call vm-set-modflag-of on the
+ modified message.
+ * vm-preview-composition: add a newline at end of the preview
+ buffer if the composition lacks one.
+ * vm-url-decode-buffer: fixed brain-o; bind case-fold-search to t
+ instead of nil.
+ * use new vm-octal function instead of writing out UNIX permission
+ bits in decimal.
+ * defcustom :type fixes.
+ * added "image" to default value of vm-auto-displayed-mime-content-types.
+ * vm-mime-should-display-internal: ignore Content-Disposition as
+ it has no bearing on whether an object is displayed internally.
+ * vm-assimilate-new-messages: build threads very early if
+ vm-summary-show-threads is non-nil. Don't run
+ vm-update-summary-and-mode-line before sorting threads--- this
+ should no longer be necessary thanks to the change to to
+ vm-set-numbering-redo-start-point.
+ * vm-set-numbering-redo-start-point: compare message structs
+ instead of list conses.
+ * vm-unthread-message: only unthread if threads have been built
+ in a particular message's buffer.
+ * vm-thread-list: keep track of the youngest member of a thread.
+ * vm-sort-compare-thread: sort threads by youngest member instead
+ of by oldest member. Also sort thread siblings by date instead
+ of by message-id; sort by messge-id if dates are equal (rare).
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 12 May 2002 23:13:27 -0500
+
+vm (7.04-2) unstable; urgency=low
+
+ * Override the lintian warning about postinst not setting user doc link
+ for mime codecs.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 22 Apr 2002 08:44:00 -0500
+
+vm (7.04-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * New commands:
+ + vm-mime-attach-object-from-message (bound to $ a)
+ * New variables:
+ + vm-mime-ignore-composite-type-opaque-transfer-encoding
+ * fixed problem with a repeated char being displayed after an
+ X-Face when a non-MIME message is reselected.
+ * Makefile: remove CRs from the output of make-autoloads. Emacs
+ when run under Cygwin apparently emits them.
+ * vm-session-initialization: create gui-button-face under XEmacs
+ if it does not exist.
+ * vm-mime-display-internal-text/html: don't use W3 if
+ vm-mime-use-w3-for-text/html is nil.
+ * recognize 'mac' as a window system with mouse, image, and
+ multi-font support (FSF Emacs only).
+ * put vm-update-composition-buffer-name on post-command-idle-hook
+ instead of post-command-hook if the idle hook is available for
+ use.
+ * vm-menu-vm-menu: added commas to variable refernece so they
+ would be evalled in the backquote context.
+ * changed hook defcustoms to use 'hook instead of '(list function).
+ * vm-read-index-file: do thread sort if necessary since
+ vm-assimilate-new-messages isn't going to do it.
+ * default vm-thread-obarray and vm-thread-sort-obarray to non-nil
+ values so that if they are used as obarrays before
+ initialization an error will be signaled.
+ * vm-mime-pipe-body-to-queried-command: prompt with "Pipe object
+ to command:" instead of "Pipe to command:".
+ * make sure select-message-coding-system is fbound before overriding
+ its definition. Apparently early Emacs 20 versions do not define
+ it.
+ * vm-imap-read-object: move point past closing double quote to
+ fix parsing problem that caused VM to hang.
+ * vm-mime-display-button-xxxx: always insert the button, even we
+ have no method for displaying the MIME object.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 21 Apr 2002 04:46:16 -0500
+
+vm (7.03-1) unstable; urgency=low
+
+ * fixed defcustom syntax errors.
+ * minor compiler error cleanup.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 6 Mar 2002 00:46:29 -0600
+
+vm (7.01-5) unstable; urgency=low
+
+ * debian-pkg-add-load-path-item apparently does not add the item to the
+ load path. This is different from the test function that Sam wrote,
+ and thuis the load-path was not set. Unfortunately, this bug was
+ masked on my box since emacs21 happily searches subdirs.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 20 Feb 2002 02:34:21 -0600
+
+vm (7.01-4) unstable; urgency=low
+
+ * Preserve user changes in the site-start.d file. Also, do not delete
+ the start file when removed, only when purged. This also requires that
+ the start file do nothing when the package has actually been removed.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 13 Feb 2002 22:41:26 -0600
+
+vm (7.01-3) unstable; urgency=low
+
+ * With smtpmail in modern emacsen, we do not depend on external MTA's.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 2 Feb 2002 20:30:27 -0600
+
+vm (7.01-2) unstable; urgency=low
+
+ * Conform to the latest emacs policy about laod paths.
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 1 Feb 2002 15:35:51 -0600
+
+vm (7.01-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * New variables:
+ + vm-mime-use-w3-for-text/html
+ * new possible values for vm-mime-alternative-select-method:
+ (favorite ...) and (favorite-internal ...).
+ * vm-visit-pop-folder: use value of vm-last-visit-pop-folder if
+ interactive user entered an empty string as the folder.
+ * vm-mail-send: bind sendmail-coding-system to the binary coding
+ system and bind mail-send-nonascii to t so that mail-send will
+ leave us alone.
+ * redefine select-message-coding-system if it is fbound and we're
+ running FSF Emacs MULE. It doesn't like no-conversion as a
+ coding system, so we get it out of the way.
+ * define vm-image-too-small properly as an error condition.
+ * vm-scroll-forward-one-line, vm-scroll-backward-one-line: accept
+ a numeric prefix arg.
+ * vm-setup-ssh-tunnel: use copy-sequence on vm-ssh-program-switches
+ to avoid corrupting the list tail with nconc.
+ * vm-mime-can-convert-0: always return the conversion that
+ produces an internally displayable type if there is one.
+ Fallback to the externally displayable type if there is none
+ that can be displayed internally.
+ * vm-mime-can-convert-0: don't return a match when the target
+ type matches the original type.
+ * vm-mime-display-internal-image-xemacs-xxxx: wrap image extents
+ around spaces instead of newlines. Adjust newline insertion
+ code accordingly. Create image strips twice the default font
+ height to avoid having to match the font ascent value. Don't
+ use vm-monochrome-face except on XBM images.
+ * vm-display-image-strips-on-extents,
+ vm-display-some-image-strips-on-extents: Don't use
+ vm-monochrome-face except on XBM images.
+ * support completion-ignore-case variable.
+ * block interactive use of vm-expunge-pop-messages in a POP
+ folder. It's meant for folder linked to POP spool files, not
+ POP folders.
+ * use display-planes function to determine if Emacs 21 is running
+ on a "colorful" display.
+ * put image/xpm ahead of image/pbm in vm-mime-image-type-converter-alist.
+ * vm-parse-date: find year even if it's at the end of line.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 24 Jan 2002 20:26:03 -0600
+
+vm (7.00-1) unstable; urgency=low
+
+ * Add a patch from Ian Jackson that creates a new interactive virtual
+ folder selector `sexp', which prompts for an string, asking for an
+ S-expression. You type in a string, which gets turned into a LISP
+ object with `read', and used as the actual selector. closes: Bug#122450
+ * New upload fixes image display bug for emacs21. closes: Bug#123990
+ * New upstream version. Excerpted changes:
+ * New commands:
+ + vm-visit-pop-folder
+ + vm-visit-pop-folder-other-window
+ + vm-visit-pop-folder-other-frame
+ * New variables:
+ + vm-pop-folder-alist
+ + vm-pop-folder-cache-directory
+ * vm-parse-date: fixed search to allow monthday digits to occur
+ at the beginning of a string.
+ * vm-get-mail-itimer-function: skip buffer if bm-block-new-mail
+ is set. This avoids vm-get-spooled-mail signaling "can't get
+ new mail until you save this folder" later. Also check for
+ mail block and folder read-only before doing the expensive file
+ stat checks.
+ * vm-get-image-dimensions: don't search for the filename in
+ the 'identify' output. Apparently 'identify' will sometimes
+ substitute a different filename than we expect. Instead
+ just search for a space and then start looking for the image
+ dimensions from that point.
+ * moved setting of vm-folder-type in the POP trace buffer from
+ vm-pop-move-mail to vm-pop-make-session so that all callers get
+ of vm-pop-make-session get the feature.
+ * vm-assimilate-new-messages: check for new-messages non-nil
+ before attempting some things. Makes the function a bit more
+ efficient if we call it and no new messages are found.
+ * vm-pop-report-retrieval-status,
+ vm-imap-report-retrieval-status: report "post processing" if
+ 'need' value is nil.
+ * vm-pop-retrieve-to-crashbox -> vm-pop-retrieve-to-target
+ * vm-imap-retrieve-to-crashbox: use new "post processing" reporting.
+ * vm-pop-retrieve-to-target: use new "post processing" reporting.
+ * vm-expunge-pop-messages: record which messages were expunged by
+ stuffing nil into the car of the cell in vm-pop-retrieved-messages.
+ At the end strip out all the nils, leaving the data for messages
+ that we had problems expunging from the POP server.
+ * in vm-stuff-* functions check for vm-message-list non-nil
+ instead of vm-message-pointer.
+ * vm-pop-end-session: check whether the process is still open or
+ running before attempting to send the QUIT command. Also check
+ whether the process buffer is still alive before killing it.
+ * vm-get-spooled-mail: gutted, with most of it going into
+ vm-get-spooled-mail-normal. Calls vm-pop-synchronize-folder
+ for folders that use the POP access method.
+ * vm-session-initialization: when deciding whether to create the
+ vm-image-placeholder face check for image-type-available-p
+ being fbound, not vm-image-type-available-p.
+ * use <vm-image-face> instead of <face> as the name of the faces
+ used to display images under Emacs 19 and 20.
+ * vm-mime-display-internal-image-xemacs-xxxx: insert a newline
+ before the image if point is at the same position as the
+ beginning of the text portion of the message. Otherwise
+ there is no visible separation between the image and the
+ message headers.
+ * vm-pop-report-retrieval-status,
+ vm-imap-report-retrieval-status: record in the statblob the fact
+ that some status was reported.
+ * vm-pop-stop-status-timer, vm-imap-stop-status-timer: if any
+ status was reported, do (message "") to clear the echo area.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 16 Dec 2001 22:55:56 -0600
+
+Old Changelog:
+
+vm (6.98-1.0.1) unstable; urgency=low
+
+ New feature:
+ * Interactive vm-create-virtual-folder has a new selector type `sexp'
+ which lets you type in a selector of your own as a LISP expression
+ (which will not be eval'd). Eg,
+ V C sexp RET (not (header "X-RBL-Warning")) RET
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk> Tue, 4 Dec 2001 20:43:32 +000
+
+vm (6.99-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * New commands:
+ + vm-scroll-forward-one-line
+ + vm-scroll-backward-one-line
+ * New variables:
+ + vm-imagemagick-identify-program
+ + vm-mime-display-image-strips-incrementally
+ * vm-do-folders-summary: bind default-directory to the directory
+ names when checking for subdirectories amongst its children
+ with vm-delete-directory-names.
+ * vm-get-image-dimensions: use the ImageMagick program 'identify'
+ instead of 'convert' to get the image dimensions.
+ * vm-thread-list: set done to t if we've run out of references
+ and we're not threading by subject (vm-thread-using-subject ==
+ nil). Fixes infloop.
+ * use the vm-monochrome-image face for image glyphs instead of vm-xface
+ under XEmacs.
+ * use a face with a background stipple (vm-image-placeholder)
+ on the spaces used to display images in FSF Emacs 19.
+ * vm-display-image-strips-on-overlay-regions: store modified
+ flag value after the process buffer is selected, otherwise
+ we're recording the state of the wrong buffer.
+ * vm-mime-display-internal-image-fsfemacs-21-xxxx: If the image
+ strip is the same height as the font the image ascent ratio
+ must match font ascent ratio else the image strips will be
+ displayed with gaps between them. There's currently no way to
+ get font ascent information under Emacs 21. Use strips that
+ are twice the font height and a 50/50 ascent ratio to avoid
+ this problem.
+ * vm-make-image-strips: remainder math was wrong, fixed Use new
+ remainder math in the sync branch. Use vm-make-tempfile
+ instead of vm-make-tempfile-name.
+ * when cutting images into strips give 'convert' an explicit
+ target type. Otherwise it might choose some unknown new type
+ that Emacs can't display.
+ * vm-parse-date: simplified the search for the monthday and the
+ year, hopefully reducing the problems with confusing 2-digit
+ years and monthdays.
+ * vm-thread-list: check and set 'oldest-date property on all the
+ messages.
+ * vm-mail-internal: eval the value of mail-signature and insert
+ the result if its value is not nil, t or a string. Also, if
+ mail-signature is a string, subject the result to the same
+ check for a proper signature separator.
+ * The new sources are actually in the package. closes: Bug#120476
+ * Also set vm-image-directory to the images location closes: Bug#120494
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 1 Dec 2001 20:37:41 -0600
+
+vm (6.98-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * New variables:
+ + vm-mime-use-image-strips
+ + vm-imagemagick-convert-program
+ + vm-mime-charset-converter-alist
+ * inline image display support for Emacs 19 and Emacs 20.
+ * vm-md5-region: deal with the " -\n" that md5sum appends to the
+ checksum output when summing stdin.
+ * vm-edit-message: set buffer-offer-save to t so that if user
+ types C-x C-c they won't lose their changes in the message edit
+ session without warning.
+ * vm-spool-files: remove any directories from vm-spool-files
+ that we slurped from environmental variables. There was a case
+ where a user's MAIL variable was set to /var/mail. I don't know
+ how widespread this practice is.
+ * when initializing vm-temp-file-directory check for C:\TEMP
+ before C:\.
+ * vm-setup-ssh-tunnel: instead of sleeping for a bit and hoping
+ that's long enough to establish a connection, read some output
+ from the tunnel before returning so we know that the connection
+ is established. vm-ssh-remote-c0mmand has to provide the output,
+ so its default value has been changed to produce output.
+ * vm-frame-loop: don't reset the starting frame placeholder unless
+ the starting frame was really deleted. Fixes an infloop when
+ quitting out of VM and the VM summary is visible in multiple
+ frames.
+ * try to use the ImageMagick 'convert' program (if available) to
+ convert image types that Emacs can't display internally into
+ images that Emacs can display.
+ * support the unregistered image/xbm, image/xpm and image/pbm
+ types, so that we can autoconvert unsupported image types to
+ these types under an Emacs that's compiled with minimal image
+ support.
+ * use w3m to retrieve URLs if specified in vm-url-retrieval-methods.
+ * make layout cache be the property list of a symbol instead of
+ an alist.
+ * use vm-make-tempfile in more places to produce private tempfiles
+ instead of vm-make-tempfile-name.
+ * vm-preview-composition: mnuge message separators that appear in
+ the message body. Use MMDF for the temp folder type.
+ * all your base no longer are belong to us.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 20 Nov 2001 09:34:36 -0600
+
+vm (6.97-3) unstable; urgency=low
+
+ * Fixed minor typo in the long description. closes: Bug#118770
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 13 Nov 2001 15:15:13 -0600
+
+vm (6.97-2) unstable; urgency=low
+
+ * vm now allows emacs21 to fill the dependency. closes: Bug#117664
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 2 Nov 2001 02:42:47 -0600
+
+vm (6.97-1) unstable; urgency=low
+
+ * Added emacs21 to the list of known emacsen (I ahve beeen using it
+ with the pre releases)
+ * Fixed typo in description. closes: Bug#115819
+ * Remove files created on the fly as well. closes: Bug#117140
+ * New upstream version. Excerpted changes:
+ * New variables:
+ + vm-mime-require-mime-version-header
+ * SSL support for IMAP and POP.
+ * SSH tunnel support for IMAP and POP.
+ * uninstall toolbar goop from vm-mode-map under FSF Emacs if we're
+ creating a frame and vm-use-toolbar is nil.
+ * don't use a heuristic background map in the toolbar image spec
+ for the MIME icon.
+ * vm-make-tempfile-name: add a random elemnt to VM's temporary
+ file name.
+ * vm-pop-cleanup-region, vm-imap-cleanup-region: don't emit
+ CRLF->LF status messages. Say something about post-processing
+ in the normal status message instead.
+ * vm-mail-to-mailto-url: do session initialization stuff so that
+ the function can be called from gnuclient. This is apparently
+ useful for driving VM from a web browser that allows use of an
+ external mailer.
+ * vm-mime-encode-composition: undo buffer changes if an
+ error occurs during encoding.
+ * rename certain composition buffers on the fly as the recipient
+ headers change to reflect the new primary recipient(s).
+ * vm-submit-bug-report: call vm-session-initialization so the all
+ necessary goop is loaded, rather than doing a few 'require'
+ calls. This fixed the bug in the VM XEmacs package where
+ calling vm-submit-bug-report immediately after starting XEmacs
+ would cause (void-function vm-display) to be signaled.
+ * vm-th-parent: when extracting the parent message ID from the
+ In-Reply-To header, use the longest ID found, instead of the
+ first ID found. Store the result in the references slot in the
+ message struct, since that slot must be empty otherwise we
+ would be ignoring In-Reply-To.
+ * vm-thread-list: remove the clock skew loop-recovery-point
+ heuristic; seems to cause more breakage than it fixes.
+ * vm-mime-display-internal-image-fsfemacs-xxxx: use a unibyte buffer
+ as a work buffer when unpacking an image file. Apparently needed
+ to avoid the evil \201 corruption under Emacs 21.
+ * accept 'name' parameter as suggested filename for all MIME
+ types. Old broken software that sends this stuff will never go
+ away and complaints about it will never end.
+ * default vm-use-lucid-highlighting non-nil only if (require
+ 'highlight-headers) doesn't signal an error.
+ * vm-md5-region: call the MD5 program directly instead of using
+ sh -c.
+ * vm-pop-md5: call the MD5 program directly instead of using
+ sh -c.
+ * vm-check-for-spooled-mail, vm-get-spooled-mail: bind
+ case-fold-search to nil for comparisons against vm-recognize-*.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 29 Oct 2001 10:56:17 -0600
+
+vm (6.96-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * print-autoloads: handle fset calls. There are paths through
+ the code that reach functions that are to be defined by fset
+ but lack autoload definitions. print-autoloads now creates
+ autoload definitions for them.
+ * vm-mime-encapsulate-messages: pluralization fix in MIME digest
+ preamble. Don't output "messages" if there's only one message in
+ the digest.
+ * vm-display-startup-message: update copyright date. Use
+ \251 under XEmacs to show the c-in-circle copyright glyph.
+ Can't rely on FSF Emacs being setup to display it.
+ * vm-mime-display-internal-application/octet-stream: honor
+ setting of vm-mime-delete-after-saving.
+ * vm-imap-move-mail: don't emit warning messages if BODY.PEEK
+ fails--- no one cares. Don't retry BODY.PEEK after it fails
+ the first time, it will never work. Use RFC822.PEEK henceforth
+ within this IMAP session.
+ * vm-toolbar-support-possible-p: check whether the variable
+ tool-bar-map is bound. Apparently tool-bar-mode is fboun
+ even when there is no toolbar support (e.g. under Windows).
+ * moved guts of vm-discard-cached-data to vm-discard-cached-data-internal.
+ * vm-mime-attach-message: corrected prompt in the "attach from
+ other folder" case.
+ * vm-summary-sprintf: decode encoded words in the final string if
+ we're not producing a tokenized result and vm-display-using-mime
+ is not nil.
+ * vm-mail-to-mailto-url: support full RFC2368 mailto URL spec.
+ * vm-pop-send-command: use one process-send-string call instead
+ of two, which should saves some packet overhead at the
+ expense of more string consing.
+ * vm-imap-send-command: use one process-send-string call instead
+ of three, which should saves some packet overhead at the
+ expense of more string consing.
+ * vm-imap-send-command: allow sending a string without a tag.
+ Also allow sending a string with a caller specified tag.
+ * vm-imap-make-session: don't send a tag with the CRAM-MD5
+ challenge response.
+ * vm-do-summary: reuse the mouse-track overlays if possible,
+ instead of generating a new one each time. The old ones
+ apparently are never reclaimed by Emacs until the buffer is
+ killed and degrade editing performance in that buffer.
+ * vm-imap-ask-about-large-message: require simple "OK" response
+ after fetching headers instead of "OK FETCH". The "FETCH" part
+ may never come and isn't required.
+ * vm-save-folder: sweep though virtual folder associated with the
+ real folder and set their buffer modified flags to nil if they
+ are none of their real folders are modified.
+ * vm-thread-list: don't the first and last element of a multielement
+ thread list to be the same message-ID. This is a thread loop that
+ previously was previously undetected.
+ * vm-thread-list: remember the position in the thread list where
+ we first threaded using subject information and reset the
+ thread list to that point if we encountered a message ID we've
+ seen before. This is a heuristic to try to trim off
+ parents-by-subject that are only parents due to clock skew.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 8 Sep 2001 01:52:17 -0500
+
+vm (6.95-1) unstable; urgency=low
+
+ * Fixed the info install and remove sectrions for vm. closes: Bug#106847
+ * New upstream version.
+ * Excerpted changes:
+ * New variables:
+ + vm-mime-attachment-auto-suffix-alist
+ * vm-guess-digest-type: require a line consisting of 30 dashes in
+ addition to the 70 dashes line before guessing RFC 1153.
+ * vm-md5-region: add third arg that prevents re-search-forward
+ from signalling an error if it fails.
+ * vm-toolbar-update-toolbar: don't use the 'getmail' icon
+ as the helper button if 'getmail' is already on the toolbar.
+ * vm-toolbar-update-toolbar: don't use the 'mime icon
+ as the helper button if 'mime' is already on the toolbar.
+ * vm-mime-attach-message: if invoked on marked messages (C-c C-v
+ M N C-c C-m) attach the marked messages in the parent folder as
+ a digest.
+ * vm-mail-mode-remove-tm-hooks: remove global TM/SEMI hooks from
+ mail-setup-hook and mail-send-hook if vm-send-using-mime is
+ non-nil. Previously VM tried to remove the hooks locally but
+ that doesn't work.
+ * fixed negative Content-Length computation problem
+ - vm-find-leading-message-separator,
+ vm-find-trailing-message-separator: new type 'baremessage
+ means go to point-max.
+ - vm-pop-retrieve-to-crashbox, vm-imap-retrieve-to-crashbox: use
+ 'baremessage as old type during header conversion. Narrow to
+ region around message during this conversion so that folder
+ traversal functions can safely go to point-max without moving
+ past the end of the message.
+ * vm-pop-make-session, vm-imap-make-session: don't sleep for 2
+ seconds after reporting a bad password unless the function was
+ called synchronously, i.e. not from a timer.
+ * vm-check-mail-itimer-function, vm-get-mail-itimer-function,
+ vm-flush-cached-data: when traversing the buffer list, check
+ whether a buffer is still alive before selecting it. Because
+ the loop calls input-pending-p, a timer or process-filter could
+ have killed one of the buffers.
+ * vm-delete-duplicate: remove duplicate addresses case
+ insensitively This is still sort of wrong, in that the only
+ the right hand side of the address should be treated this way.
+ But doing the right thing is hard.
+ * vm-mime-display-internal-image-xemacs-xxxx: make the image
+ extent be 'start-open' so that it is moved forward when text is
+ inserted at its position. This fixes the image doubling
+ problem if a mssage containing only an image is previewed with
+ vm-mime-deocde-for-preview set non-nil.
+ * vm-narrow-for-preview: added kludge to prevent images and button
+ art from being displayed at the edge of a preview cutoff during
+ MIME decode-for-preview. Everything beyond the cutoff is shifted
+ forward one character during MIME preview. (XEmacs only for now, but
+ might be needed for FSF Emacs 21).
+ * vm-mime-encapsulate-messages, vm-rfc934-encapsulate-messages,
+ vm-rfc1153-encapsulate-messages: do a better job of protecting
+ MIME headers. Sort the MIME headers to the top of the message
+ then skip past them before applying the user's header filter
+ variables.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 30 Jul 2001 13:10:01 -0500
+
+vm (6.94-2) unstable; urgency=low
+
+ * Remove cross pollution between vm and mime codecs. closes: Bug#106032
+ * Updated the long description to be in line with the current state of
+ VM documentation: up to date.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 22 Jul 2001 23:37:54 -0500
+
+vm (6.94-1) unstable; urgency=low
+
+ * New upstream version.
+ * Excerpted changes:
+ * in the defconst of vm-menu-mime-dispose-menu, check whether a
+ non-string s-expression is allowed as a menu element name
+ before trying to use one. Versions of XEmacs prior to 21.4
+ don't allow expressions as item names.
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 13 Jul 2001 12:28:07 -0500
+
+vm (6.93-1) unstable; urgency=low
+
+ * New upstream version.
+ * Excerpted changes:
+ * New variables:
+ + vm-folder-file-precious-flag
+ * added CRAM-MD5 as an authentication method for IMAP.
+ * vm-su-do-date: interpret 2-digit years in the RFC-822 matching
+ case as 20XX if year starts with 0-6.
+ * vm-rfc1153-or-rfc934-burst-message: skip spaces in addition to
+ newlines that occur after a separator line. A digest has been
+ observed with that kind of deformity.
+ * treat enable-local-eval as we do enable-local-variables--- always
+ bind it to nil.
+ * vm: don't bind vm-auto-decode-mime-messages non-nil during
+ initial message preview if it is nil.
+ * vm-mime-display-internal-text/html: dropped (sleep-for 2). No one
+ cares enough about the "Need W3 to inline HTML" message to wait 2
+ seconds afterward.
+ * added menu entry to allow MIME objects to be converted to
+ another type and displayed. The new type is determined by
+ vm-mime-type-converter-alist.
+ * added koi8-r to vm-mime-mule-charset-to-coding-alist (XEmacs only).
+ * vm-pop-read-list-response: check for nil return of
+ vm-pop-read-response before using return value.
+ * vm-pop-read-stat-response: check for nil return of
+ vm-pop-read-response before using return value.
+ * vm-encode-coding-region: use unwind-protect to make sure (well
+ more likely) that the work buffer always gets killed if it has
+ been created.
+ * vm-decode-coding-region: use unwind-protect to make sure (well
+ more likely) that the work buffer always gets killed if it has
+ been created.
+ * vm-mime-convert-undisplayable-layout: put object buffer on
+ garbage list sooner to make rarer the situation where the
+ buffer never gets deleted.
+ * Makefile: remove function definition of vm-its-such-a-cruel-world
+ after it is run.
+ * vm-md5-region: if vm-pop-md5-program exits non-zero, signal an
+ error. Also if the work buffer is not at least 32 bytes long,
+ signal an error. This prevents naive callers from assumption all
+ is well and using a possibly empty string as an MD5 hash.
+ * vm-md5-region: check the MD5 digest returned for non-hex-digit
+ characters and signal an error if any are found.
+ * vm-get-file-buffer: use find-buffer-visiting if it is fbound.
+ * vm-build-threads: fixed loop that removed child messages from a
+ parent when better information about a child's parent is found.
+ Previously the loop attempted to remove the same message from
+ the parent over and over.
+ * vm-build-threads: gather thread data using References and
+ In-Reply-To for all messages before using the Subject header.
+ This helps prevent the case where References says A is the
+ parent of B but because of clock skew B is older than A, which
+ can lead to B being considered the parent of A if A and B have
+ the same subject and vm-thread-using-subject is non-nil.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 4 Jul 2001 14:31:49 -0500
+
+vm (6.92-1) unstable; urgency=low
+
+ * New upstream version. This version fixes the problem with attachments,
+ closes: Bug#93447, Bug#86066
+ * No longer depend on emacs19. closes: Bug#82679
+ * Excerpted changes:
+ * vm-imap-check-mail: throw to 'end-of-session instead of 'done.
+ Fixes problem of vm-spooled-mail-waiting not being set.
+ * vm-su-do-recipients: If there is no To or Apparently-To header,
+ use Newsgroups if available.
+ * vm-mime-display-external-generic: use a unibyte temp buffer for
+ base64 decoding if using FSF Emacs MULE. Otherwise our old
+ friend \201 crashes the party.
+ * vm-mime-find-leaf-content-id-in-layout-folder: add missing
+ layout argument to vm-mime-find-leaf-content-id.
+ * vm-mime-parse-entity: fixed regexps that match an empty content
+ description so that they match descriptions that only contain
+ spaces.
+ * vm-su-do-date: make +/- mandatory in the numeric tiemzone spec.
+ First digit of numeric timezone spec must be 0 or 1.
+ * vm-fill-paragraphs-containing-long-lines: ignore errors generated
+ by fill-paragraph.
+ * moved the code that catches the font-lock search bound error
+ from the XEmacs MIME composition encoder to the FSF Emacs
+ encoder.
+ * vm-mime-charset-internally-displayable-p: allow variable
+ vm-mime-default-face-charsets to apply to MULE-enabled Emacs
+ and XEmacs.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 16 Apr 2001 08:55:30 -0500
+
+vm (6.91-1) unstable; urgency=low
+
+ * Added Lintian overrides, so that the postinst not setting the symlink
+ warning should be gone.
+ * New upstream version. Excerpted changes:
+ * vm-mime-can-display-internal: check charset to verify that we
+ can display it when checking text/html.
+ * vm-auto-archive-messages: hide value of last-command when calling
+ vm-save-message.
+ * vm-mime-find-leaf-content-id: removed second arg in call to
+ vm-mm-layout-id since it only accepts one argument.
+ * vm-mime-transfer-encode-region: \\n -> \n in armor-dot check
+ regexp string.
+ * vm-mime-parse-entity-safe: dropped (sleep-for 2). No one cares
+ about syntax errors.
+ * vm-mime-base64-encode-region: if call to base64-encode-region
+ fails with wrong-number-of-arguments error call it with only
+ two args and do the B encoding cleanup separately.
+ * vm-mime-base64-decode-region: don't use the FSF Emacs base64
+ decoding function, since it fails completely if it encounters
+ characters outside of the BASE64 alphabet.
+ * vm-mime-attachment-auto-type-alist: added the usual PDF,
+ Quicktime and Excel file extensions.
+ * vm-imap-move-mail: trying using obsolete RFC822.PEEK if
+ BODY.PEEK fails.
+ * vm-imap-retrieve-to-crashbox: support use of obsolete RFC822.PEEK.
+ * vm-so-sortable-datestring: use vm-timezone-make-date-sortable
+ instead of the bare timezone-make-date-sortable, which is less
+ capable of parsing badly formed Date headers.
+ * vm-mime-convert-undisplayable-layout: save the content type
+ parameters from the old type and give them to the new type.
+ * all your base are belong to us
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 10 Mar 2001 15:53:38 -0600
+
+vm (6.90-1) unstable; urgency=low
+
+ * Mostly bug fixes.
+ * vm-compose-mail: Use apply instead of funcall to call the yank
+ action. We aren't passing a list of arguments to the function.
+ * vm-mark-or-unmark-messages-same-author: compare author
+ addresses case insensitively.
+ * vm-emit-eom-blurb: ignore case when matching against
+ vm-summary-uninteresting-senders to match what
+ vm-su-interesting-from does.
+ * vm-mime-display-internal-text/html: use 'message' to display
+ any errors encountered.
+ * vm-mime-display-internal-text/enriched: use 'message' to display
+ any errors encountered.
+ * vm-yank-message: call vm-decode-mime-encoded-words in the correct buffer.
+ * default value of vm-auto-center-summary changed from nil to 0.
+ * Removed any relationship with emacs19, since that has been removed
+ from stable. closes: Bug#82788
+ * since around mid 6.80's, VM has started using grep -c to determine the
+ number of new messages. Before, it just looked at the time stamp and
+ hence did not muck with access times of the spool file. This messes
+ with other biff like programs out there. At present, the only option
+ is to turn vm mail check off; this is already reported as a bug. Stay
+ tuned.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 28 Jan 2001 18:13:38 -0600
+
+vm (6.89-1) unstable; urgency=low
+
+ * Mostly bug fixes.
+ * vm-yank-message: MIME decode the headers of the yanked message
+ if vm-display-using-mime is non-nil.
+ * vm-forward-message: if MIME forwarding, switch the buffer
+ containing the attached message to be multibyte to avoid the
+ appearance of our old friend \201 when the buffer contents are
+ inserted into the composition buffer. (FSF Emacs 20 only).
+ * vm-do-folders-summary: count messages in folders that lack
+ entries in the folders summary database using vm-grep-program.
+ * vm-do-folders-summary: ignore index files in the folder directories.
+ * vm-update-folders-summary-highlight: use intern-soft instead of
+ intern, since the symbol may not be present in the obarray.
+ * vm-mark-for-folders-summary-update: check for killed summary
+ before selecting folders summary buffer.
+ * vm-emit-eom-blurb: bind vm-summary-uninteresting-senders-arrow
+ to "" around call to vm-summary-sprintf.
+ * Makefile: Start using $(prefix) to be more GNUish. Try to
+ create the installation directories if they don't exist.
+ * vm-modify-folder-totals: wrong cells in the list were being
+ updated; fixed.
+ * vm-mime-run-display-function-at-point: return result of calling
+ the display function because callers expect it. This wasn't
+ happening in the FSF Emacs part of the conditional.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 26 Dec 2000 17:36:06 -0600
+
+vm (6.88-1) unstable; urgency=low
+
+ * New upstream revision. The changes are:
+ * New variables:
+ + vm-folders-summary-mode-hook
+ + vm-mmosaic-program
+ + vm-mmosaic-program-switches
+ * vm-determine-proper-charset: don't use MULE rules if operating
+ in a unibyte buffer. The non-MULE rules work better in that
+ case. Dropped use of vm-with-multibyte-buffer.
+ * use BODY.PEEK instead of RFC822.PEEK in IMAP message fetches,
+ since RFC822.PEEK has been made obsolete in RFC 2060.
+ * not decoding for preview if vm-preview-lines == 0 was a
+ mistake, as the header might still need decoding, so this
+ change was reversed.
+ * allow 8-bit chars in IMAP atoms. Microsoft Exchange emits them,
+ resistance is futile.
+ * keep IMAP trace buffer if a protocol error occurs. Code for
+ this was partially done, it's finished now.
+ * improved folders summary, new folders summary format specifier %s.
+ * vm-move-to-xxxx-button: fixed code assumption that buttons were
+ contiguous.
+ * qp-encode.c: get rid of non-constant initializers (nextc =
+ getchar()) to avoid warnings from Sun's compiler.
+ * vm-toolbar-fsfemacs-install-toolbar: "mime" now works in
+ vm-use-toolbar under FSF Emacs.
+ * don't display verbose "Waiting for POP QUIT" message unless
+ getting mail interactively.
+ * make vm-thread-loop-obarray a larger hash table.
+ * use vm-global-block-new-mail to prevent async reentrance into the POP
+ and IMAP code. Use vm-block-new-mail to prevent command-level
+ mail retrieval buffer locally.
+ * vm-check-mail-itimer-function: always check for mail. Now that
+ we're updating the folders summary we need to do the check even
+ if we know there is new mail fmor a previous check, so that the
+ summary so kept up to date.
+ * removed Mule menu from VM's commandeered menubar (FSF Emacs 20 only).
+ * C-c C-p in composition buffer binding changed from
+ vm-mime-preview-composition to vm-preview-composition.
+ * vm-sort-messages: fixed paren problem that broke non-thread
+ sorting while threading was enabled.
+ * vm-assimilate-new-messages: don't run vm-arrived-message-hook
+ and vm-arrived-messages-hook if being called for the first time
+ in this folder. Old check for this didn't work properly, so
+ now first-time status is passed in as a parameter.
+ * vm-emit-eom-blurb: use vm-summary-sprintf on full name so that
+ it is MIME decoded if necessary.
+ * vm-check-for-spooled-mail: don't skip remaining spool files
+ once we know there is mail waiting. We still need to retrieve
+ data for the remaining folders for the folders summary.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 18 Dec 2000 13:45:59 -0600
+
+vm (6.87-1) unstable; urgency=low
+
+ * New upstream revision. The changes are:
+ * New commands:
+ + vm-delete-duplicate-messages
+ * New variables:
+ + vm-pop-read-quit-response (default value is t)
+ * vm-toolbar-fsfemacs-install-toolbar: fix logic reversal that
+ caused Emacs 21 toolbar to never be installed.
+ * reviewed coding-system-for-{read,write} usage everywhere and
+ brought it into line with current theory of how Emacs/MULE
+ works. coding-system-for-write is bound in more places because
+ in the Emacs 21.0.91 pretest, write-region, even when called
+ non-interactively, will query the user if it doesn't think the
+ buffer's coding system can be used to safely write out the
+ data.
+ * vm-mail-to-mailto-url: vm-url-decode -> vm-url-decode-string.
+ * vm-move-to-xxxx-button: next-etent-change -> next-extent-change.
+ * vm-move-to-xxxx-button: dropped point movement outside the loop
+ as it wasn't needed and actually broke things.
+ * vm-add-or-delete-message-labels: don't cycle through the
+ message list if there are no labels to act upon.
+ * vm-add-or-delete-message-labels: return a list of labels that were
+ rejected because they are not known. vm-add-existing-message-labels
+ expects this and it apparently hasn't been done in a long time.
+ * call base64-encode-region and base64-decode-region only if they
+ are subrs.
+ * vm-check-for-spooled-mail: save-excursion around the guts
+ of the let form that binds vm-block-new-mail to avoid the
+ restore-the-wrong-local-variable bug.
+ * vm-get-spooled-mail: save-excursion around the guts of the let
+ form that binds vm-block-new-mail to avoid the
+ restore-the-wrong-local-variable bug.
+ * vm-determine-proper-content-transfer-encoding: changed search
+ for non-ASCII chars from [\200-\377] to [^\000-\177] because FSF
+ Emacs 20 re-search-forward does not match 0200-0377 unibyte
+ chars in multibyte buffers. They only match in unibyte buffers.
+ * vm-unbury-buffer: wrapped call to switch-to-buffer in condition-case
+ in case it fails (dedicated window, minibuffer window)
+ * reversed coding system changes introduced in VM 6.85 in
+ vm-line-ending-coding-system and vm-binary-coding-system, as
+ they were wrong.
+ * vm-minibuffer-complete-word: use minibuffer-prompt-end
+ function to determine where the prompt ends instead of
+ previous-property-change.
+ * vm-toolbar-fsfemacs-install-toolbar: use xbm images if the
+ display is not color-capable.
+ * vm-toolbar-fsfemacs-install-toolbar: don't use "mime-colorful"
+ as a basename when looking for an XBM for a non-color display.
+ * vm-toolbar-make-fsfemacs-toolbar-image-spec: use ":mask
+ heuristic" to make the toolbar pixmap/bitmap backgrounds track the
+ background of the tool-bar face.
+ * vm-mime-base64-encode-region: when using base64-encode-region
+ wrap it in a condition-case to catch errors and resignal all
+ errors with vm-mime-error.
+ * vm-mime-base64-decode-region: when using base64-decode-region
+ wrap it in a condition-case to catch errors and resignal all
+ errors with vm-mime-error.
+ * getmail-xx.xbm was a PBM file. No one noticed. Fixed.
+ * check for vm-fsfemacs-p before using overlay-put, overlay-get,
+ etc. in the extent/overlay compatibility functions. We can't
+ use the overlay emulation package's functions because VM needs
+ the functions to be able to handle plain extents also.
+ * vm-mime-fsfemacs-encode-composition: catch the "Invalid search
+ bound (wrong side of point)" error that font-lock can throw and
+ ignore it.
+ * vm-set-window-configuration: delete windows that are over
+ explicitly named buffers. This is meant as an aid to BBDB
+ users who might want to include a BBDB window in a
+ configuration but don't want the window to appear unless the
+ displayed buffer is non-empty.
+ * install the toolbar only once under FSF Emacs, since it will
+ appear everywhere vm-mode-map is used thereafter.
+ * panic buffoon's color changed from rgb:ff/7f/ff to rgb:e1/92/46 (tan).
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 1 Dec 2000 02:13:21 -0600
+
+vm (6.85-1) unstable; urgency=low
+
+ * New upstream revision. The changes are:
+ * New commands:
+ + vm-move-to-previous-button
+ + vm-move-to-next-button
+ * vm-end-of-message, vm-beginning-of-message: wrap vm-save-buffer-excursion
+ about part of function that does window selection since that can
+ change the current buffer. vm-narrow-to-page was noticing the
+ buffer change to the summary; vm-message-pointer was suddenly nil.
+ * made vm-create-virtual-folder, and by effect its callers, honor
+ vm-next-command-uses-marks.
+ * vm-apply-virtual-folder: honor vm-next-command-uses-marks.
+ * added no-suggested-filename arg to vm-mime-attach-file and
+ vm-mime-attach-object.
+ * vm-preview-current-message: don't decode for preview unless
+ vm-preview-lines is non-nil, as this is extra unnecessary work.
+ * vm-pop-end-session: read POP QUIT response; Microsoft Exchange
+ apparently will sometimes not expunge if we close the connection
+ without reading the response.
+ * set reasonable default value for vm-folders-summary-directories.
+ * vm-preview-current-message: don't block display of any type
+ other than message/external-body and externally displayed types
+ when supporting vm-mime-decode-for-preview.
+ * internal image support for v21 Emacs.
+ * toolbar support for v21 Emacs.
+ * Makefile: for 'make autoload' compile vm.el into vm.elc instead
+ of writing require statements directly into it, otherwise Emacs
+ 21 bitches.
+ * vm-binary-coding-system was returning no-conversion under FSF
+ Emacs, which is wrong, now returns raw-text.
+ * vm-minibuffer-complete-word: In Emacs 21, during a minibuffer
+ read the minibuffer contains propt as buffer text and that text
+ is read only. So we can no longer assume that (point-min) is
+ where the user-entered text starts so we must compute this
+ location. Calling previous-property-change is a kludge but it
+ seems ot be the only thing that does the job.
+ * vm-mime-display-internal-message/external-body: for Emacs 21,
+ use a multibyte work buffer, otherwise the evil \201s appear
+ in the tempfile and utterly corrupt it. Also set
+ buffer-file-coding-system in the work buffer, since
+ write-region may be called in it later.
+ * dropped use of vm-with-unibyte-buffer. I don't htink it is
+ needed any longer.
+ * vm-assimilate-new-messages: only run vm-arrived-messages-hook
+ if a new message has arrived.
+ * use a normal keymap instead of a sparse keymap for vm-mode-map.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 24 Nov 2000 23:42:45 -0600
+
+vm (6.84-1) unstable; urgency=low
+
+ * New upstream revision. The changes are:
+ * vm-submit-bug-report: mail-user-agent should be a symbol not a
+ list--- fixed.
+ * vm-keep-some-buffers: kill a buffer even if it is modified
+ if it's value of buffer-offer-save is nil.
+ * vm-pop-make-session: if APOP authentcation fails, remove the
+ saved password just like we do for PASS authentication.
+ * new variable and function vm-xemacs-file-coding-p tells whether
+ XEmacs was compiled with --with-file-coding=yes, which means
+ several things need to be treated the same as if MULE were
+ enabled.
+ * when deciding whether to call set-buffer-file-coding-system
+ just check fboundp instead of xemacs-mule-p or fsfemacs-mule-p.
+ This should help XEmacs-NT+file-coding.
+
+ * New variables:
+ + vm-page-continuation-glyph
+ + vm-folders-summary-database
+ + vm-folders-summary-directories
+ + vm-folders-summary-format
+ + vm-frame-per-folders-summary
+ * New commands:
+ + vm-folders-summarize
+ * Makefile: moved vm-version.el to the beginning of the SOURCES
+ list so that "make debug" doesn't crash on unbound variables.
+ * vm-narrow-to-page: move to beginning of line only if we're not
+ at end of buffer. If we're at end of buffer, it usually means
+ forward-page failed to find a page delimiter and crashed into
+ point-max.
+ * vm-scroll-forward: after calling vm-narrow-to-page move to
+ either the new window start or the start of the text section of
+ the message, whichever is the greater buffer position. This
+ fixes the semi-broken backward paging over page delimiters and
+ fixed the broken forward scrolling over page delimiters after
+ scrolling backward through the same message.
+ * vm-narrow-to-page: use overlay/extent to display a "...more..."
+ type string at the end of a page.
+ * vm-scroll-forward: do (sit-for 0) to refresh display early so that
+ the end of message notice appears when it should when scrolling
+ over page delimiters.
+ * vm-mime-display-internal-text/html: insert placeholder
+ character before end marker before calling w3-region to avoid
+ end == start marker squashing problem.
+ * vm-submit-bug-report: reporter-submit-bug-report apparently
+ dropped support for the variable reporter-mailer in favor of
+ using mail-user-agent instead. Bind this variable as well the
+ old one so bug reporters can send attachments.
+ * vm: don't decode MIME if recover-file is likely to happen,
+ since recover-file does not work in a presentation buffer.
+ * vm-mail-to-mailto-url: decode URL before handing it to
+ vm-mail-internal.
+ * vm-mime-compile-format-1: removed code to decode and reencode
+ MIME encoded words, since these aren't needed in MIME button
+ format tags.
+ * give up on disabling font-lock around attachments. font-lock
+ users will just have to lose, because I don't see a clean way
+ to do it. Removed futile atemptes from code.
+ * vm-preview-current-message: don't MIME decode for preview if
+ vm-preview-lines == 0 since it's pointless in that case.
+ * vm-select-folder-buffer: make folder buffer selection
+ mandatory, generate error otherwise. New function
+ vm-select-folder-buffer-if-possible is to be used for
+ situations where buffer selection is not mandatory.
+ * moved vm-totals computation out of vm-emit-totals-blurb and into a
+ separate function.
+ * vm-expunge-folder: increment vm-modification-counter in the
+ real folder buffers to invalidate vm-totals.
+ * New variables:
+ + vm-url-retrieval-methods
+ + vm-wget-program
+ + vm-lynx-program
+ * access-type=url support added for message/external-body.
+ * vm-visit-virtual-folder: call vm-fsfemacs-nonmule-display-8bit-chars.
+ This needs to be done for the same reasons as it needs to be done
+ in 'vm'.
+ * provide keymap prompt for # and ## (XEmacs only, unfortunately).
+ * vm-truncate-string: fixed to once again support a negative width
+ argument, even if we're using char-width.
+ * vm-mime-get-xxx-parameter: don't inadvertently truncate parameter
+ value at newline.
+ * vm-string-width: don't use Emacs 20's string width--- it
+ ignores buffer-display-table and thereby hoses the summary.
+ Using char-width on each character and summing the reuslt
+ gives the answer we want.
+ * vm-decode-coding-region: compute old region size based on the
+ source buffer rather than the work buffer, since they might
+ have different unibyte/multibyte status.
+ * vm-decode-coding-region: reverse order of insert/delete
+ sequence at the end to delete then insert. It fixes the
+ parsing of this header
+ From: "Cajsa Ottesj=?ISO-8859-1?B?9g==?=" <cajsao@ling.gu.se>
+ Apparently if ö is inserted before \366 in a multibyte buffer,
+ Emacs believes that the two characters are one character and
+ moves point forward past the \366. This loses because the \366
+ needs to be deleted.
+ * vm-flush-cached-data: stuff last-modified, pop-retrieved and
+ imap-retrieved lists.
+ * vm-pop-move-mail: if we retrieved something, call vm-stuff-pop-retrieved.
+ * vm-imap-move-mail: if we retrieved something, call vm-stuff-imap-retrieved.
+ * vm-mime-display-internal-text/html: pass charset name to
+ vm-mime-charset-decode-region instead a layout.
+ * vm-mime-display-internal-text/enriched: pass charset name to
+ vm-mime-charset-decode-region instead a layout.
+ * vm-menu-mime-dispose-menu: convert extent or overlay into a
+ layout before using layout functions on it.
+ * vm-mime-send-body-to-folder: put leading and trailiing message
+ separators around the message in the temp folder.
+ * vm-mime-send-body-to-folder: clear buffer-modified flag before
+ entering vm-mode.
+ * call the mime-reader-map save functions from the dispose menu
+ instead of the low-level functions, so that
+ vm-mime-delete-after-saving is honored.
+ * vm-mime-can-display-internal: add 'deep' flag, which indicates
+ whether to check the subobject of a message/external-body
+ object.
+ * vm-mime-display-internal-multipart/alternative: use the new 'deep'
+ flag of vm-mime-can-display-internal.
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 17 Nov 2000 12:20:14 -0600
+
+vm (6.81-1) unstable; urgency=low
+
+ * New upstream revision, with tonnes of changes for emacs 20
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 8 Nov 2000 10:58:09 -0600
+
+vm (6.76-3) unstable; urgency=low
+
+ * fixed silly typo in dependency; we need miome-codecs, not
+ vm-encoders. closes: Bug#74198
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 4 Nov 2000 14:46:02 -0600
+
+vm (6.76-2) unstable; urgency=low
+
+ * Change the rules file not to require emacs in the binary arch
+ phase. closes: Bug#71354
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 15 Sep 2000 13:07:10 -0500
+
+vm (6.76-1) unstable; urgency=low
+
+ * At last, emacs20 compatibility. This is a new upstream
+ version. excerpted changes: closes: Bug#69189
+ # New variables:
+ + vm-movemail-program-switches
+ # generate a random Message-ID for previewed compositions in case
+ the user wants to resend the preview somewhere.
+ # vm-fix-my-summary!!!: call vm-set-modflag-of on each message
+ whose summary we whack so that the summary cache is rewritten
+ when the folder is saved.
+ # vm-sort-messages: if this is not a thread sort and threading is
+ enabled, then disable threading and make sure the whole summary
+ is regenerated (to recalculate %I everywhere).
+ # vm-mime-display-internal-image-xxxx: set glyph baseline to 100%
+ to add scrolling in XEmacs 21.2.
+ # vm-generate-index-file-validity-check: set step value to 1 if
+ buffer size is smaller than 11 bytes. Step used to be 0 in
+ this case which led to infloop.
+ # added base64-encode.c, base64-decode.c, qp-encode.c,
+ qp-decode.c to the distribution.
+ # fixed problem in qp-decode.c where lines contain a single
+ character followed by newline would have the first character
+ dropped.
+ # vm-display: allow a string as a buffer argument, convert it to
+ a buffer internally.
+ # vm-print-message: don't set the current buffer to be the shell
+ output buffer, as this makes vm-set-window-configuration bail
+ out early because it wants to be in a VM related buffer.
+ # vm-pipe-message-to-command: don't set the current buffer to be the
+ shell output buffer, as this makes vm-set-window-configuration
+ bail out early because it wants to be in a VM related buffer.
+ # vm-print-message: don't use vm-display to display the shell
+ output buffer, use display-buffer instead and only use it if
+ the output buffer is not empty.
+ # vm-pipe-message-to-command: don't use vm-display to display the
+ shell output buffer, use display-buffer instead and only use it
+ if the output buffer is not empty.
+ # vm-print-message: use the vm-print-message config instead of
+ the vm-pipe-message-to-command config.
+ # vm-display: don't immediately set current buffer to be the buffer
+ to be displayed. This behavior made vm-set-window-configuration
+ bail out early.
+ # vm-discard-cached-data: call vm-garbage-collect-message before
+ flushing message caches.
+ # look for (fboundp 'w3-about) in addition to (fboundp 'w3-region)
+ to determine if text/html can be displayed internally.
+ # make after-save-hook local in VM folder buffers.
+ # vm-get-new-mail: make third arg to read-file-name nil, make
+ fourth arg t.
+ # vm-compose-mail: move to point-min before searching for the header
+ separator string.
+ # Removed bad quote in vm-delete-mime-object menu entry.
+ # vm-match-data: replaced with version that calls match-data to
+ figure out the number of valid \(..\) groups. Emacs 20.4 is
+ randomly signaling args-out-of-range if the arg to
+ match-beginning exceed the number of internally allocated
+ registers in the regexp engine or some such nonsense.
+ # vm-frame-loop: in the last deletion check, also check the
+ delete-me frame with vm-created-this-frame-p before deleting
+ it.
+ # vm-check-index-file-validity: allow for a nil modified time,
+ which can occur if the folder is empty.
+ # generalized vm-keep-mail-buffer into vm-keep-some-buffers and
+ made the former call the latter.
+ # keep POP and IMAP trace buffers if there is trouble making a connection.
+ # complain to user if APOP authentication is asked for but isn't
+ supported. Previously POP retrieval silently failed.
+ # vm-reorder-message-headers: For babyl folders, add a newline
+ before the EOOH line if header section does not end with two
+ newline.
+ # macroized most uses of coding system constants 'no-conversion
+ and 'binary, because 'no-conversion doesn't meant the same thing
+ in Emacs and XEmacs.
+ # vm: if buffer-file-coding-system is nil, set it to 'raw-text.
+ (FSF Emacs MULE only).
+ # removed duplicate (make-variable-buffer-local 'vm-pop-retrieved-messages)
+ # vm-parse-date: assume 2-digit year specifications < 70 are in
+ the 2000's rather than the 1900's.
+ # vm-mm-encoded-header: bind case-fold-search to t during
+ search for encoded words.
+ * Added new package for the included mime transport encoder/decoders.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 6 Sep 2000 12:08:15 -0500
+
+vm (6.75-9) unstable; urgency=low
+
+ * Added documentation and conflicts to reflact the fact that vm and
+ semi/wemi do not happily co-exist. closes: Bug#62048
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 15 Apr 2000 01:47:57 -0500
+
+vm (6.75-8) frozen unstable; urgency=low
+
+ * Use absolute links when related links would not work, for the
+ /usr/doc/latex2tml symlink.
+ * Added a dependency on fileutiles >=4.0, since the package would fail
+ to install with older fileutils.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 27 Mar 2000 12:29:26 -0600
+
+vm (6.75-7) frozen unstable; urgency=high
+
+ * A recent change to the postinst whacked the compilation phase. This
+ fixes what would be an important bug. closes: bug#59725
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 6 Mar 2000 16:03:02 -0600
+
+vm (6.75-6) frozen unstable; urgency=low
+
+ * Fixed an upgrade bug when /usr/doc happens to be a symlink, and does
+ not point to /usr/share/doc. A couple of people were bitten by this.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 28 Feb 2000 22:27:05 -0600
+
+vm (6.75-5) frozen unstable; urgency=low
+
+ * The postinst was vulnerable to being affected by symlinks (if, for
+ some reason, the prerm failed). This has happended for latex2html; and
+ created a grave bug.
+ * There was a bug in the postinst in a case statement, that caused
+ installation to fail for certain situations.
+ * Also fixed an lintian warning
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 8 Feb 2000 20:16:49 -0600
+
+vm (6.75-4) experimental; urgency=low
+
+ * his is the experimental version of VM with support for
+ emacs20. Please note that the author says that this may cause lossage
+ due to infelicitous behaviour en emacs20. The Debian developer uses
+ this version, but may merely have been lucky. Use this at your own
+ risk.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 1 Sep 1999 01:33:42 -0500
+
+vm (6.75-3) unstable; urgency=low
+
+ * Darnit. Forgot to change the changelog for the last upload. This one
+ is again meant for unstable.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 1 Sep 1999 01:21:00 -0500
+
+vm (6.75-2) unstable; urgency=low
+
+ * This is the experimental version of VM with support for
+ emacs20. Please note that the author says that this may cause lossage
+ due to infelicitous behaviour en emacs20. The Debian developer uses
+ this version, but may merely have been lucky. Use this at your own
+ risk.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 30 Aug 1999 22:30:28 -0500
+
+vm (6.75-1) unstable; urgency=low
+
+ * New upstream version. Still no support for emacs20. Excerpted changes:
+ * New variables:
+ + vm-mail-send-hook
+ * vm-mime-parse-entity: when checking for a content type of just
+ "text" allow for the possibility that there was no content-type
+ header at all.
+ * use XEmacs built-in MD5 support.
+ * vm-pop-md5: use shell-file-name instead of "/bin/sh".
+ * formatting and typo fixes in the manual and docstrings
+ from will@fumblers.org.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 30 Aug 1999 22:04:38 -0500
+
+vm (6.74-2) experimental; urgency=low
+
+ * This is the experimental version of VM with support for
+ emacs20. Please note that the author says that this may cause lossage
+ due to infelicitous behaviour en emacs20. The Debian developer uses
+ this version, but may merely have been lucky. Use this at your own
+ risk.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 3 Aug 1999 12:17:40 -0500
+
+vm (6.74-1) unstable; urgency=low
+
+ * Starting with this version, vm shall not try and byte compile for
+ emacs20 emacsen. VM has only depended upon emacs19, but it would
+ compile on emacs20 as well. However, emacs 20.4 was released recently,
+ but Kyle still does not feel comfortable with it. Therefore, until the
+ upstream supports emacs20, vm shall not compile under it. Instead,
+ there shall be an experimental version of vm that shall depend on
+ emacs20 as well and support it, but the user uses that at their own
+ risk. I personally have been using vm on emacs20 with no mishap, but
+ that is just one data point.
+ * Excerpted changes:
+ * New variables:
+ + vm-mime-external-content-type-exceptions
+ * vm-mime-parse-entity: quietly treat "text" as a content type as
+ if it were "text/plain" and US-ASCII.
+ * vm-mime-discard-layout-contents: set m to be the layout's
+ message, not the end of the layout's body.
+ * New variables:
+ + vm-mime-decode-for-preview
+ + vm-mime-delete-viewer-processes
+ * vm-mime-display-external-generic: put MIME temp files on the message
+ garbage list instead of the folder's garbage list.
+ * vm-delete-mime-object: copied check for the top-level MIME
+ object from FSF Emacs code to XEmacs code since the former is
+ the correct check to use.
+ * vm-mime-discard-layout-contents: discard cached byte and line
+ counts of the edited message.
+ * vm-sort-compare-thread: in the case where root message IDs are
+ different, if the message dates are identical, use string-lessp on
+ the message IDs to break the tie. This avoids having different
+ messages compare as equal, which makes the sort unstable.
+ * vm-mime-discard-layout-contents: recompute Content-Length
+ header if needed.
+ * vm-mime-can-display-internal: consider all text types except
+ text/html displayable if the character set is displayable.
+ For text/html continue to require W3.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 3 Aug 1999 12:01:43 -0500
+
+vm (6.72-1) unstable; urgency=low
+
+ * Excerpted changes:
+ * New commands:
+ + vm-delete-mime-object
+ * New variables
+ + vm-mime-delete-after-saving
+ + vm-mime-confirm-delete
+ + vm-mime-default-face-charset-exceptions
+ + vm-paragraph-fill-column
+ + vm-imap-session-preauth-hook
+ * removed old, bogus definition of vm-session-initialization from
+ vm.folder.el
+ * added w32 as another name for win32 as a window system type.
+ (FSF Emacs only).
+ * changed default value of vm-mime-default-face-charsets to
+ include iso-8859-1 if running on a tty under FSF Emacs/Mule.
+ * vm-mime-parse-entity: move binding of case-fold-search to a
+ point after the set-buffer call to avoid having the binding
+ overriden by a buffer-local value.
+ * vm-mime-convert-undisplayable-layout: wrap call to vm-mm-layout
+ message in a call to vm-mime-make-message-symbol; a symbol
+ needs to be in the struct slot, not the raw message.
+ * signal an error if mail-alias-file is set and the user is not
+ the superuser.
+ * broke the message ID creation code out of
+ vm-mail-mode-insert-message-id-maybe.
+ * vm-su-do-date: allow a RFC 822 regexp to match a timezone spec
+ that lacks the leading plus or minus.
+ * bind jka-compr-compression-info-list to nil in various place to
+ avoid unwanted compression or decompression of data.
+ * vm-mime-send-body-to-file: bind jka-compr-compression-info-list
+ to nil instead of func-binding jka-compr-get-compression-info.
+ * vm-sort-messages: call vm-build-thread-lists (new function)
+ which calls vm-th-thread-list on each message in the folder.
+ This generates keys that the thread sort needs before the sort
+ happens instead of during it. Fixes thread sorting bugs.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 15 Jul 1999 15:57:47 -0500
+
+vm (6.71-2) unstable; urgency=low
+
+ * VM not creates multiple vm.info-? files. Remember to install all of
+ them. closes: Bug#38041
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 20 May 1999 11:15:38 -0500
+
+vm (6.71-1) unstable; urgency=low
+
+ * Excerpted changes:
+ * vm-mime-display-internal-text/plain: get message struct from
+ the MIME layout instead of from vm-message-pointer, since the
+ latter is utterly the wrong place to find it in this context.
+ Also, don't fill if no-highlighting is non-nil.
+ * vm-add-or-delete-message-labels: propagate label additions in
+ virtual folders to the global lists of the underlying real folders.
+ * bind format-alist to nil around calls to insert-file-contents
+ in MIME composition encoding functions.
+ * New variables:
+ + vm-fill-paragraphs-containing-long-lines
+ * vm-mime-display-internal-text/html: moved the code that rmeoves
+ read-only text properties into the vm-with-unibyte-buffer form.
+ * vm-make-presentation-copy: bind inhibit-read-only before tryign
+ to modify an existing presentation buffer. This is to avoid
+ stumbling over read-only text properties.
+ * vm-mime-insert-button: use 'append' instead of 'nconc' to add a
+ keymap parent. (FSF Emacs only) This avoids modifying the
+ child keymap and creating a circular keymap structure in a
+ subsequent call.
+ * moved code that sets vm-xemacs-p, vm-fsfemacs-p, etc. to vm-version.el.
+ Moved other basic feature checking code to vm-version.el.
+ * Makefile: make sure vm-version gets loaded first, so the
+ version/feature checking code is run very early. Some of it is
+ needed by other modules at load time.
+ * added keymap for MIME buttons so you can display, save, pipe,
+ print from a tty.
+ * vm-mime-xemacs-encode-composition: use insert-file-contents
+ instead of insert-file-contents-literally and see what breaks.
+ This will allow EFS to work.
+ * default value of vm-mime-default-face-charsets no longer contains
+ "iso-8859-1" under FSF Emacs/Mule. 8-bit character display as
+ octal codes in a unibyte buffer unless standard-display-europeans
+ or equivalent is called, and we don't call this function under
+ MULE.
+ * vm-compose-mail: this function is a VM entry point so call
+ vm-session-initialization.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 13 May 1999 14:47:30 -0500
+
+vm (6.68-1) unstable; urgency=low
+
+ * Added doc-base support.
+ * New upstream version. Please NOTE: Kyle has retracted support for emacs
+ 20.3, saying that there is an bug in that version of emacs whence a
+ buffer string copy does not copy the contents of the buffer, causing
+ mail to be distorted. I have personally committed to using emacs20 v
+ 20.3, and I have never experienced this bug. However, the chance does
+ exist (and has existed for all emacs20+vm combinations); use this on
+ emacs20 at your own risk. (I have changed VM so it does at least
+ compile on Emacs 20.3).
+ * Excerpted changes:
+ * put user specified Netscape switches before the -remote stuff
+ in the arg list to Netscape.
+ * vm-imap-retrieve-to-crashbox: use char-after instead of
+ char-before since Emacs 19.34 doesn't have char-before.
+ * use vm-coding-system-name instead of coding-system-name. fset
+ vm-coding-system-name to coding-system-name if it exists,
+ otherwise use symbol-name. FSF Emacs doesn't have a
+ coding system object, so the name is the same as the coding
+ system symbol's name.
+ * vm-determine-proper-charset: wrap the guts of the function in a
+ vm-with-multibyte-buffer form to ensure we're looking at
+ characters instead of the raw encoding data when scanning for
+ the character sets that are present.
+ * vm-decode-mime-layout: support the old 'name' parameter when
+ supporting vm-infer-mime-types.
+ * vm-do-reply: don't match vm-subject-ignored-prefix against the
+ subject to determine if we prepend vm-reply-subject-prefix to
+ the subject or not. This reverts a change made in VM 6.47.
+ * vm-mm-layout: call vm-mime-parse-entity-safe instead of
+ vm-mime-parse-entity so that we get always get a layout back.
+ This avoids a MIME part completely disappearing if we can't
+ parse it.
+ * vm-mime-parse-entity-safe: use type "error/error" for the
+ layout returned if the MIME part can't be parsed.
+ * vm-mime-qp-encode-region: hex encode _ and ? for Q encoding as
+ required by RFC 2047.
+ * vm-mime-send-body-to-file: Func-bind jka-compr-get-compression-info
+ to 'ignore' to avoid double compression of saved MIME bodies that
+ are already compressed.
+ * vm-imap-make-session: quote (using IMAP quoting rules) login
+ name and password that are sent as part of the LOGIN command.
+ * vm-mime-parse-entity-safe: pass message and passing-message-only
+ flag to vm-mime-parse-entity.
+ * vm-mime-parse-entity: wrong number of fields in the last layout
+ structure fixed.
+ * make MIME transfer encoding/decoding work buffers unibyte to
+ avoid corruption when characters are copied from them. (FSF
+ Emacs only).
+ * vm-mime-attach-message: store the message to attach in an
+ unibyte buffer instead of a multibyte buffer.
+ * vm-mime-fsfemacs-encode-composition: encode text regions using
+ coding system selected from vm-mime-mule-coding-to-charset-alist
+ instead of relying on buffer-file-coding-system to be set properly.
+ * vm-mime-fsfemacs-encode-composition: when handling the attachment
+ of a composite object, add MIME header section (if not already
+ provided) before parsing and transfer encoding the object.
+ vm-mime-xemacs-encode-composition similarly modified.
+ * New variables:
+ + vm-mime-qp-decoder-program
+ + vm-mime-qp-decoder-switches
+ + vm-mime-qp-encoder-program
+ + vm-mime-qp-encoder-switches
+ * set-file-coding-system -> set-buffer-file-coding-system.
+ * vm-edit-message: force edit buffer to be unibyte (FSF Emacs
+ only).
+ * vm: force folder buffer to be unibyte (FSF Emacs only).
+ * wrap parts of various MIME decoding and display functions in
+ vm-with-unibyte-buffer so we can work with unwashed 8-bit data
+ directly. (FSF Emacs only).
+ * force some buffers we create to be unibyte buffers to avoid
+ conflabulation of 8-bit data. (FSF Emacs only).
+ * vm-find-trailing-message-separator: point still not moving backward
+ all the times that it should be, so go back to ignoring the return
+ value of vm-find-leading-message-separator and always moving backward.
+ * vm-mail-mode-insert-message-id-maybe: use the hostname variable
+ we so carefullly initialized, instead of just using
+ (system-name).
+ * vm-mime-base64-encode-region: if B encoding, strip newlines from
+ the work buffer instead of the buffer region we're converting.
+ * vm-mime-base64-encode-region: don't emit status message unless
+ the region we're encoding is larger than 200 chars.
+ * vm-mime-parse-entity: new fourth argument that tells the
+ function whether to use the message argument for positional
+ information or to just use it to struct in the message slot of
+ the MIME layout struct. Same for vm-mime-parse-entity-safe.
+ Use this new argument appropriately in various places so the
+ message slot gets filled in more places.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 27 Feb 1999 23:38:16 -0600
+
+vm (6.65-2) unstable; urgency=low
+
+ * vm-search.el had gone missing, for some reason. fixes: BUG#32658
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 31 Jan 1999 16:21:57 -0600
+
+vm (6.65-1) unstable; urgency=low
+
+ * New upstream version. This is trhe forst version ratified for emacs20.
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 29 Jan 1999 11:35:18 -0600
+
+vm (6.64-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * vm-mail-mode-insert-message-id-maybe: (stringp
+ 'mail-host-address) -> (stringp mail-host-address).
+ * vm-imap-retrieve-to-crashbox: for From_-with-Content-Length and
+ BellFrom_ folder, add a newline to the end of a message if the
+ message lacks one.
+ * vm-mime-display-internal-text/html: third arg to
+ remove-text-properties changed to be a plist as the function
+ requires.
+ * new edition of the user manual.
+ * updated README, new installation instructions for manual,
+ mention Web site
+ * vm-search18.el gone, vm-search19.el became vm-search.el.
+ * vm-pop-make-session: switched to the trace buffer earlier in
+ the function so that MULE coding system is set in correct
+ buffer. Add connection status messages to trace buffer.
+ * vm-imap-make-session: switched to the trace buffer earlier in
+ the function so that MULE coding system is set in correct
+ buffer. Added connection status messages to trace buffer.
+ * vm-submit-bug-report: use 'vm-mail instead of 'mail for sending
+ bug reports. Less confusing, and will work most of the time.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 26 Jan 1999 18:33:33 -0600
+
+vm (6.63-2) unstable; urgency=low
+
+ * Uncomment call to update menu on postrm.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 9 Jan 1999 12:25:05 -0600
+
+vm (6.63-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * set selective-display to nil in various places in the code
+ where write-region and call-process-region (which calls
+ write-region) are called to avoid the CR -> LF translation.
+ * vm-load-window-configurations: added bind of
+ coding-system-for-read.
+ * vm-store-window-configurations: removed binding of
+ coding-system-for-read, moved coding-system-for-write binding
+ to be ambient only during the write-region call.
+ * removed all but one of the bindings of inhibit-read-only in the
+ MIME code.
+ * vm-mime-display-internal-text/html: Added a remove-text-properties
+ call to remove read-only text properties.
+ * vm-mime-attach-object: Don't allow attachment of object to a
+ composition buffer that has already been encoded.
+ * retain IMAP session trace buffer if a protocol error occurs.
+ * removed vm-iamp-store-failed error definition since it was
+ unused.
+ * 'w' summary format specifier now gives full weekday name.
+ * vm-mail-mode-insert-message-id-maybe: ensure RFC 822 compliant
+ month and day name by indexing the names from an alist instead
+ of relying on format-time-string. format-time-string's output
+ can't be trusted for this because of the dubious `locale' stuff
+ in the C library.
+ * for non-Content-Length based From_ types, don't require a year
+ >= A.D. 1000 at the end of the From line--- instead only require a
+ single digit. This change to deal with some evil mailer that
+ puts a numeric timezone at the end of the line.
+ * vm-make-presentation-buffer: remove buffer local foreground and
+ background colors set in the default face in the presentation
+ buffer.
+ * dropped the Videodrome joke from vm-submit-bug-report.
+ * vm-mime-fsfemacs-encode-composition: bind
+ file-name-buffer-file-type-alist so that a bit-for-bit binary
+ file read is assured. This matters only to NTEmacs.
+ * vm-mouse-send-url-to-netscape: Netscape 4.05 apparently doesn't
+ like the space after the comma in openURL(..., new-window) and
+ doesn't create a new window. So the space has been removed.
+ * read per-folder IMAP retrieved list at startup... forgot to add
+ code to do this.
+ * accept lower-case hex digits in quoted-printable encoding.
+ * vm-mime-composite-type-p: assume message/rfc822 and
+ message/news are the only composite "message" types. New ones
+ will have to be manually added.
+ * vm-misc.el: moved macros to vm-macro.el.
+ * Makefile: Preload vm-macro.el instead of vm-misc.el.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 9 Jan 1999 06:19:51 -0600
+
+vm (6.62-4) frozen unstable; urgency=low
+
+ * Fixed a problem with the remove/purge process in which the byte
+ compiled files would be left behind. Since VM is in a bug fix mode, no
+ new code has been introduced; and this bug fix should be justification
+ to include in frozen.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 25 Nov 1998 11:32:03 -0600
+
+vm (6.62-3) unstable; urgency=low
+
+ * Try and make the installation quieter.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 3 Nov 1998 23:43:01 -0600
+
+vm (6.62-2) unstable; urgency=low
+
+ * Enhanced mail-mode-smart-tab to use bbdb-complete-name in the headers
+ if and only if bbdb is already loaded into emacs. In the body, tab
+ still is tab-to-tab-stop. This enhancement comes at the request of
+ Dirk Eddelbuettel <edd@debian.org>.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 17 Sep 1998 22:45:22 -0500
+
+vm (6.62-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * vm-mouse-send-url-to-netscape: Change commas to %2C to avoid
+ confusing Netscape -remote.
+ * vm-mime-display-external-generic: when searching for %f, ignore
+ %%f.
+ * vm-decode-mime-layoout: drop rule that causes unmatched text/*
+ and message/* MIME objects to be displayed as text plain.
+ * vm-mime-can-display-internal: don't load W3 just to see if
+ w3-region gets bound. If the user wants to view inline HTML,
+ they'll have to either load W3 explicitly or set up an autoload
+ for w3-region.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 10 Sep 1998 09:42:40 -0500
+
+vm (6.61-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * vm-find-trailing-message-separator: point wasn't being moved
+ backward when it should be. Change check to use the return
+ value of vm-find-leading-message-separator.
+ * vm-build-message-list: add the starting position of the garbage
+ to the garbage warning.
+ * don't use gray75 to initialize gui-button-face under Windows
+ (FSF Emacs only). Use only primary colors instead.
+ * vm-find-trailing-message-separator: for From_ folders, don't
+ move point backward one char after finding the leading separator
+ unless that char is a newline.
+ * vm-skip-past-trailing-message-separator: for From_ folders
+ don't move point forward one character unless we're not at end
+ of buffer.
+ * vm-submit-bug-report: require vm-vars and vm-version modules.
+ * vm-visit-folder-other-frame: call vm-session-initialization
+ even if the command is not called interactively.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 30 Aug 1998 13:14:22 -0500
+
+vm (6.59-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * New variables:
+ + vm-default-From_-folder-type
+ * new folder type: BellFrom_.
+ * vm-mime-display-internal-multipart/alternative: call
+ vm-mime-should-display-internal with two arguments, as
+ required, instead of one.
+ * vm-munge-message-separators: if folder type arg is From_, use
+ BellFrom_ as type to produce folders that are less likely to be
+ misparsed by other mailers.
+ * quoted vm variables in docstrings in vm-vars.el with ` and '
+ for hyper-apropos. Change previous other uses of `foo' to
+ ``foo''.
+ * fixed typo in vm-mime-fsfemacs-encode-composition; e -> o.
+ * added a defvar for timer-list in vm-folder.el.
+ * added defvars for standard-display-table,
+ buffer-display-table and buffer-file-type in vm-mime.el.
+ * added a defvar for mail-personal-alias-file in vm-reply.el.
+ * added defvars for lpr-command and lpr-switches.
+ * rewrote text/html inline display functoin to not need a temp
+ buffer, save-excursion, and save-restriction. Needed because
+ w3-region puts markers into the buffer that can't be copied
+ out.
+ * don't auto-create text body attachments that contain all
+ whitespace if the attachment will be at the beginning or end
+ of the composition.
+ * vm-imap-retrieve-to-crashbox: munge folder message separators
+ so the retrieved messages will be parsed correctly in the
+ target folder.
+ * vm-do-reply: don't use contents of In-Reply-To in generated
+ References header unless no References header is present.
+ * if vm-mime-alternative-select-method is best-internal, consider
+ a MIME object only if the user wants it displayed internally,
+ not just if it can be displayed internally.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 25 Jul 1998 15:42:27 -0500
+
+vm (6.56-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * vm-get-spooled-mail: set the non-file maildrop flag on each pass
+ though the loop.
+ * vm-get-spool-mail: restore expand-file-name call on the
+ maildrop so that tildes get expanded.
+ * store/use the same password for IMAP mailboxes on the same host.
+ * removed greeting block on Cyrus server.
+ * Shapiro typo fixes.
+ * vm-mail-mode-insert-message-id-maybe: check mail-host-address
+ with stringp instead of boundp before using its value.
+ * vm-rfc1153-or-rfc934-burst-message: do digest separator unstuffing
+ on a per message basis and before message separator munging, so
+ that message separators exposed by the unstuffing get munged.
+ * registered vm-imap-protocol-error as a known error/exception. Use it.
+ * vm-check-for-spooled-mail: check spool filename against the IMAP
+ template before chaecking against the POP template, since the
+ POP template will match both.
+ * vm-imap-check-mail: bail early if message count in mailbox is zero.
+ * first crack at IMAP support.
+ * New commands:
+ + vm-expunge-imap-messages
+ * New varisbles:
+ + vm-recognize-imap-maildrops
+ + vm-imap-auto-expunge-alist
+ + vm-imap-bytes-per-session
+ + vm-imap-expunge-after-retrieving
+ + vm-imap-max-message-size
+ + vm-imap-messages-per-session
+ * use vm-check-for-killed-folder before calling
+ vm-select-folder-buffer in a few functions that don't necessarily
+ need to select the folder buffer in order to run.
+ * vm-goto-message bound to M-g.
+ * vm-find-leading-message-separator: for From_ type folders
+ require that end of the leading separator line match
+ " [1-9][0-9][0-9][0-9]". Revisit in eight thousand years.
+ * rename vm-sprintf to vm-summary-sprintf. Use alists to store
+ compiled formats instead of using symbol property lists.
+ * vm-mime-xemacs-encode-composition: discard all but Content-ID
+ header in already MIME'd objects to avoid header duplication.
+ Same for vm-mime-fsfemacs-encode-composition.
+ * vm-mime-display-internal-text/html: If error signaled, catch
+ it, store the error message and return nil.
+ * more descriptive buffer name for header buffer used when asking
+ about POP retrievals.
+ * vm-mail-mode-insert-message-id-maybe: try harder to find a
+ hostname that has dots in it for the Message-ID header.
+ * made vm-pop-retrieved-messages a buffer-local variable, as the
+ table isn't meant to be shared among folders.
+ * vm-expunge-pop-messages: use password-less maildrop specs when
+ doing comparisons in skip code. Changed catch tag from 'skip
+ to 'replay to more accurately reflect what's happening.
+ * vm-pop-end-session: delete the trace buffer.
+ * vm-pop-make-session: generate a new buffer for each session
+ instead of reusing the same one.
+ * vm-expunge-pop-messages: set buffer-read-only to nil in
+ trouble-alert buffer before trying to modify erase it.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 15 Jul 1998 09:16:04 -0500
+
+vm (6.53-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * vm-mf-default-action: needed car of vm-mm-layout-type to
+ extract type string.
+ * vm-mime-display-button-xxxx: don't display button unless
+ there's a defined method for displaying the object.
+ * New variables:
+ + vm-auto-displayed-mime-content-type-exceptions
+ + vm-mime-internal-content-type-exceptions
+ * vm-find-leading-message-separator: for From_ type folders,
+ reinstate requirement that there be two newlines before "From "
+ message separators.
+ * renamed vm-mime-should-display-external to vm-mime-can-display-internal.
+ * added big5 to vm-mime-mule-charset-to-coding-alist
+ * default value of vm-send-using-mime to always be t instead of
+ looking to see if the TM mime-setup feature is present.
+ * added a newline to the 'end' line of a uuencoded attachmentsif
+ there isn't one already; this to cope with the usual crocked PC
+ mail readers (may they reek).
+ * vm-mime-text-description: further identify a text part if it
+ has a standard signature in it.
+ * remove TM hooks from mail mode buffers if vm-send-using-mime is
+ non-nil.
+ * vm-mime-send-body-to-file: if user enters a directory name, use
+ it unconditionally.
+ * panic buffoon's color changed from rgb:00/df/ff to rgb:ff/7f/ff.
+ * use user-mail-address function in Bcc header (XEmacs only).
+ * use user-mail-address variable, if bound in, Bcc headers.
+ * replaced definition of vm-load-init-file in vm-startup.el with
+ the one from vm-folder.el.
+ * use vm-mime-default-action-string-alist only if VM knows how to
+ display the MIME object. Fiddle with the strings in the list.
+ * support foregroundToolBarColor symbol in the 'small' set of
+ toolbar pixmaps (XEmacs only).
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 29 Jun 1998 18:10:12 -0500
+
+vm (6.51-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * don't call make-face if no face support is compiled into Emacs
+ (FSF Emacs only).
+ * enable inline display of text/html again.
+ * vm-mime-text-type-p: anchor string matches and add a trailing /
+ to assure matching only the correct types.
+ * more fiddling with newlines around the Content-Description
+ header, hopefully getting it right this time.
+ * correct "Display as Text" MIME menu item.
+ * vm-mime-charset-internally-displayable-p: check
+ vm-mime-mule-charset-to-coding-alist if vm-fsfemacs-mule-p is
+ non-nil.
+ * vm-rename-current-mail-buffer: changed to recognize new default
+ composition buffer name introduced in 6.49.
+ * vm-mime-display-external-generic: append filename when supporting
+ COMMAND-LINE form. Copy program-list since we may need to modify
+ it.
+ * vm-discard-cached-data: set mime layout and mime encoded header
+ slots to nil in virtual messages.
+ * vm-session-initialization: initialize gui-button-face if not
+ already initialized (FSF Emacs only).
+ * vm-pop-move-mail: check vm-pop-auto-expunge-alist properly;
+ defaulting did not work as you would expect.
+ * enable image and multiple font support for Windows (XEmacs only).
+ * provide Content-Description headers for text surrounding
+ MIME attachments in compositions.
+ * vm-forward-message: provide Content-Description header for a
+ MIME forwarded message.
+ * use same filename extension as that of the suggested attachment
+ filename when creating a tempfile for use by an external MIME
+ viewer.
+ * New variables:
+ + vm-infer-mime-types
+ * vm-pop-check-mail: return nil if UIDL returns an empty list.
+ * vm-mail-internal: default composition buffer name to "mail to ?"
+ instead of "*VM-mail*".
+ * added '$' to regexps in default value of
+ vm-mime-attachment-auto-type-alist.
+ * new semantics for vm-mime-external-content-types-alist: %-spec
+ expansion, shell command line syntax allowed.
+ * default value of vm-auto-decode-mime-messages changed from nil
+ to t.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 25 Jun 1998 11:45:44 -0500
+
+vm (6.48-1) unstable; urgency=low
+
+ * New upstream version. Excerpted changes:
+ * New variables:
+ + vm-spooled-mail-waiting-hook
+ + vm-mime-uuencode-decoder-program
+ + vm-mime-uuencode-decoder-switches
+ * vm-delete-index-file: don't try to delete the file if
+ vm-index-file-suffix is not a string.
+ * show completions if completion-auto-help is non-nil. Needed to
+ replace car with caar in one place in vm-minibuffer-complete-word.
+ * vm-startup-with-summary: handle 0 case specially so that a
+ negative number is not passed to nth.
+ * make vm-mime-preview-composition an alias for
+ vm-preview-composition, fixing the typo that aliased
+ vm-preview-mime-composition instead.
+ * vm-auto-archive-messages: don't archive messages to the same
+ folder that the user is visiting.
+ * vm-mime-fsfemacs-encode-composition: encode last MIME part from
+ point to point-max instead of point-min to point-max. (FSF
+ Emacs/MULE only.)
+ * fixed regexp syntax for backslashes in [..] contexts. Need
+ four backslahses for every one to appear in the regexp.
+ * vm-discard-cached-data: set the mime-encoded-header-flag to nil.
+ * vm-mime-burst-message: reverse varref and funcall in `or' expression
+ to avoid skipping the rest of the vm-mime-burst-layout calls after
+ the first successful one.
+ * vm-check-pop-mail: use UIDL data to determine if messages in the
+ popdrop have been retrieved.
+ * vm-get-spooled-mail: always set vm-spooled-mail-waiting to nil
+ after doing a sweep through the spool files, whether mailw as
+ retrieved or not. Not really correct but it is what the user
+ expects.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 1 Jun 1998 13:39:24 -0500
+
+vm (6.47-2) frozen unstable; urgency=low
+
+ * Fix a typo in the rules that was preventing th eexamples dir from
+ getting exported. closes: Bug#22407
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 13 May 1998 12:49:18 -0500
+
+vm (6.47-1) frozen unstable; urgency=low
+
+ * New upstream BUG FIX version
+ * Excerpted changes are:
+ * vm-write-string: bind buffer-read-only to nil before
+ attempting to modify the buffer.
+ * vm-auto-select-folder: Do the eval if the cdr of the alist pair
+ is anything other than a string, instead of it it is anything
+ other than an atom.
+ * vm-do-reply: match vm-subject-ignored-prefix against the subject
+ and don't prepend vm-reply-subject-prefix if there is a prefix
+ match.
+ * vm-buffer-to-label: map presentation buffers to the 'message
+ label.
+ * vm-scroll-forward: raise and select frame before setting window
+ configuration.
+ * vm-frame-totally-visible-p: Consider frame totally visible if
+ return value of frame-visible-p is not eequal to nil or 'hidden.
+ * dropped `sender' synonym virtual selectors.
+ * If prefix arg is given to vm-visit-virtual-folder-* commands, say
+ "read only" in the prompt string.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 4 May 1998 10:04:15 -0500
+
+vm (6.46-4) frozen unstable; urgency=low
+
+ * Added a recommendation for make; and scream loudly if make is not found.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 20 Apr 1998 03:36:12 -0500
+
+vm (6.46-3) unstable; urgency=low
+
+ * Fixed broken path in vm-init.el
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 16 Apr 1998 01:03:35 -0500
+
+vm (6.46-2) frozen unstable; urgency=low
+
+ * Bug fixes in packaging the new emacsen way.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 14 Apr 1998 00:22:25 -0500
+
+vm (6.46-1) frozen unstable; urgency=low
+
+ * Now an emacs19 dependent package in the new style
+ * upstream bug fix release
+ * Call emacsen install in postinst, and emacsen remove in postrm
+ * Fixed bad magic numbe in file. closes: Bug#20947
+ * Fixed example files. closes: Bug#20946
+ * Verified that vm does not unzip files on its own. closes: Bug#20948
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 13 Apr 1998 01:59:43 -0500
+
+vm (6.42-1) unstable; urgency=low
+
+ * New upstream version
+ * New variables:
+ + vm-pop-expunge-after-retrieving
+ + vm-pop-auto-expunge-alist
+ + vm-mime-button-format-alist
+ * vm-save-message: don't set vm-last-save-folder if it is non-nil
+ and the user selected folder matches what vm-auto-folder-alist
+ would have chosen. Tried to do this in 6.41, but broke the
+ setting of vm-last-save-folder instead.
+ * vm-expunge-pop-messages: typo prngn -> progn.
+ * vm-expunge-pop-messages: check whether vm-make-pop-session
+ returns nil.
+ * vm-read-attributes: allow header without a label list. The
+ label part of the data in the header was added later and may
+ not be in the header of some older folders.
+ * dropped use of vm-with-virtual-selector-variables in favor of
+ using an alist.
+ * only use char-to-int if defined, use identity funciton
+ otherwise.
+
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 16 Feb 1998 17:47:07 -0600
+
+vm (6.41-1) unstable; urgency=low
+
+ * Modified the copyright statement to include addresses.
+ * Fixed silly typo in version string
+ * New upstream version
+ * New variables:
+ + vm-index-file-suffix
+ * New commands:
+ + vm-expunge-pop-messages
+ * don't issue DELE commands on POP messages when retrieving. Remember
+ what messages have been retrieved and avoid retrieving them later.
+ * vm-save-message: don't set vm-last-save-folder if it is non-nil and
+ the user selected folder matches what vm-auto-folder-alist would have
+ chosen.
+ * vm-show-list: sort list before displaying it.
+ * vm-show-list: display list ordered top to bottom then left to
+ right, instead of left to right and then top to bottom.
+ * bind print-length to nil in some places to avoid truncation of
+ Lisp Objects in folder headers.
+ * Added notes all over warning about tm-vm breaking vm, since tm-vm was
+ written for vm-5.X. It is still possible to use tm for mail
+ composition. closes: Bug#16862
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 13 Feb 1998 12:55:31 -0600
+
+vm (6.40.1) unstable; urgency=low
+
+ * Upgraded to standards version 2.4.0.0
+ * Updated FSF address.
+ * This fixes all Lintian bugs.
+ * New upstream version. Excerpted changes:
+ * New variables:
+ + vm-mime-7bit-composition-charset
+ * don't grey-out "Decode MIME" toolbar button after a message is
+ first decoded. Let user use the button to rotate through
+ decoding states like the 'D' key does. This applies only to
+ the separate MIME button, not the one that appears as part of
+ the `helper' button.
+ * vm-mark-or-unmark-messages-with-selector: removed extra count
+ argument from `message' call.
+ * vm-build-virtual-message-list: if dont-finalize is set, don't
+ set up the location vector or to obarray used to suppress
+ duplicate messages. In particular the latter causing empty
+ message lists to be returned since all the messages were
+ considered duplicates.
+ * support foregroundToolBarColor symbol in toolbar pixmaps
+ (XEmacs only).
+ * vm-rfc1153-or-rfc934-burst-message: Use current buffer as
+ folder buffer, instead of the buffer of specified message.
+ * vm-get-new-mail: signal error if we fail to find a folder
+ buffer through the normal means.
+ * sleep for 2 seconds instead of 1 second after "consider M-x
+ revert-buffer" message and after a quit is signaled and caught
+ in vm-get-spooled-mail.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 9 Feb 1998 16:03:40 -0600
+
+vm (6.39-1) unstable; urgency=low
+
+ * New upstream version, with lots of changes
+ VM 6.39 released (20 January 1998)
+ * New commands:
+ + vm-burst-digest-to-temp-folder
+ + vm-add-existing-message-labels
+ * vm-vs-header-or-text: vm-header-of -> vm-headers-of.
+ * fixed reversed fset definition of vm-vs-sender.
+ * don't grey-out "Decode MIME" menu entry after a message is
+ first decoded. Let user use menu entry to rotate through
+ decoding states like the 'D' key does.
+ * vm-check-emacs-version: Disallow running under Emacs 20.
+ * vm-mime-display-internal-multipart/digest: genereate summary if
+ vm-startup-with-summary says so. Did the same for
+ vm-mime-display-internal-message/partial and
+ vm-mime-display-internal-message/rfc822.
+ * default vm-temp-directory to (getenv "TMPDIR") if result is
+ non-nil.
+ * vm-undo: signal an error if the current folder is read-only.
+ * vm-minibuffer-complete-word: set start of word to beginning of
+ buffers if not doing a multi-word read.
+ * vm-minibuffer-complete-word: if doing multi-word completion and
+ the word before point exactly matches something in the completion
+ list and the word also prefixes something else in the completion
+ list and last-command eq vm-minibuffer-complete-word, insert
+ a space, thereby letting the user complete the word.
+ * vm-mime-display-internal-text/enriched: Don't assume (car
+ errdata) is a string; it usually isn't. Format error data
+ properly.
+ * vm-print-message: write out the tempfile for the non-MIME lobe
+ of the conditional in the code, since it is needed there also.
+ * vm-read-virtual-selector: raise the selected frame before
+ reading from the minibuffer, so the user is less likely to type
+ into the wrong minibuffer window and hose themselves.
+ * vm-mime-fsfemacs-encode-composition: set coding-system-for-read
+ when inserting a file-based attachment to avoid MULE munging.
+ Protect value of buffer-file-coding-system from possible
+ changes by insert-file-contents.
+ VM 6.38 released (15 January 1998)
+ * add vm-virtual-selector-clause property to new selectors.
+ * vm-read-virtual-selector: removed hard coded list of selectors
+ that take an arument. Instead, read arg only for selectors that
+ have a vm-virtual-selector-arg-type property.
+ * fixed virtual folder numbering/infloop problem introduced in
+ 6.37.
+ * vm-mark-or-unmark-messages-with-virtual-folder: Mark virtual
+ messages instead of the underlying real messages when current
+ folder is a virtual folder.
+ VM 6.37 released (29 December 1997)
+ * Folders menu code: create directories by default in vm-folder-directory.
+ * added name parameter to vm-create-virtual-folder for use by
+ vm-create-virtual-folder-same-author and
+ vm-create-virtual-folder-same-subject to avoid regexp-quote
+ goop in the modeline.
+ * make sure the -should-delete-frame variables in vm-mouse.el are
+ initialized before use.
+ * vm-apply-virtual-folder bound to V X.
+ * added virtual folder selectors for all the attributes that
+ vm-set-message-attributes accepts. Added un- selectors so that
+ simple negations can be used with V C. Added header-or-text
+ selector. Added aliases for some selector names.
+ * New commands:
+ + vm-toggle-all-marks (bound to M V).
+ + vm-mark-matching-messages-with-virtual-folder (bound to M X).
+ + vm-unmark-matching-messages-with-virtual-folder (bound to M x).
+ * vm-update-summary-and-mode-line: copy value of default-directory
+ from folder buffer to the summary and presentation buffers.
+ * report null results in mark commands as "No message marked"
+ instead of "0 messages marked".
+ VM 6.36 released (19 December 1997)
+ * vm-yank-message: commented out text/html code.
+ * added toolbar initialization status message (XEmacs only).
+ * allow integers in the vm-use-toolbar toolbar specification,
+ which represent blank space in the toolbar. (XEmacs only).
+ * allow for the possibility that lpr-command and lpr-switches
+ are unbound.
+ * restore binding of C-? ; binding the delete keysym doesn't
+ affect the delete key on a dumb terminal when running FSF
+ Emacs.
+ * changed semantics of vm-temp-file-directory. Its value now
+ must end with the directory separator character used by the
+ local operating system.
+ * vm-mime-display-internal-text/enriched: catch errors in
+ enriched-decode and store it in the MIME layout struct for
+ future display.
+ * New commands:
+ + vm-create-virtual-folder-same-subject (bound to V S)
+ + vm-create-virtual-folder-same-author (bound to V A)
+ * vm-write-file: If write-file renames the folder buffer, rename
+ the summary buffer and presentation buffer to match.
+ * vm-mime-can-display-internal: don't assume enriched.el is
+ shipped with Emacs. Assume text/enriched is internally
+ displayable only if enriched-mode is fbound.
+ * vm-mime-fragment-composition: supply the "total" parameter in
+ all message/partial parts instead of just the last one.
+ * only delete the frame used for completion if VM created it.
+ * vm-fsfemacs-p: Don't insist on v19.
+ VM 6.35 released (24 November 1997)
+ * typo fixes
+ * Gregory Neil Shapiro's Emacs 20 MULE patches, which inserted
+ bindings for coding-system-for-read/write in various places.
+ * renamed vm-fsfemacs-19-p to vm-fsfemacs-p.
+ * Bound (control /) to vm-undo, bound backspace and delete
+ keysyms to vm-scroll-backward, dropped binding of "\C-?".
+ * added ;;;###autoload cookies to all VM entry points.
+ * vm-session-initialization: require 'vm first to make sure the basic
+ things are loaded before we try to do anything.
+ * dropped inline support for text/html. Too much pain right now.
+ Revisit later.
+ * recognize po:user type spool file and peaceably hand it off to
+ movemail.
+ * vm-mode-internal: install new fucntion vm-unblock-new-mail on
+ after-save-hook to allow retrieval of mail after a save of an
+ M-x recover-file'd folder.
+ * vm-pop-make-session: first argument to buffer-disable-undo is
+ required under XEmacs 19.14, so provide it.
+ * Use locate-data-directory if it exists when setting
+ vm-image-directory.
+ * vm-mail-internal: insert an extra newline before the inserted signature
+ so the user doesn't have to type one. (I give.)
+ * vm-mime-transfer-encode-layout: don't add a
+ Content-Transfer-Encoding header unless the encoding type of
+ the layout differs from what we require it to be.
+ * vm-mime-transfer-encode-region: downcase the return value so
+ string comparisons don't have to worry about case. QP encode
+ if armor-dot is set.
+ * vm-print-message: use a tempfile under Windows 95 or NT.
+ Apparently the losing print utils there don't understand stdin or
+ can't read from it.
+ * vm-mime-text-type-p renamed to vm-mime-text-type-layout-p.
+ The new version of vm-mime-text-type-p checks the type without a
+ layout wrapped around it.
+ * vm-mime-xemacs-encode-composition: For MULE, use binary coding
+ system when inserting an attached file if the type of the
+ attachment is not a textual MIME type.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 22 Jan 1998 16:43:30 -0600
+
+vm (6.34-2) unstable; urgency=low
+
+ * Make sure the copyright file is not compressed.
+ closes:Bug#14453,Bug#14468
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 5 Nov 1997 12:05:35 -0600
+
+vm (6.34-1) unstable; urgency=low
+
+ * New upstream version. Bug fixes. Changes:
+ * vm: use other frame if folder is visible there.
+ * vm-auto-archive-messages: don't silently block archival
+ attempts to /dev/null; Emacs no longer complains about
+ writes to /dev/null.
+ * vm-toolbar-initialize: add line for 'getmail' button support
+ that got omitted somehow.
+ * vm-multiple-fonts-possible-p: added win32 as a window system
+ that supports multiple fonts.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 16 Sep 1997 19:16:23 -0500
+
+vm (6.33-2) unstable; urgency=low
+
+ * Mentioned the /usr/doc/vm-vars.el.gz file, since the documentation is
+ quite outdated. This fixes BUG#11998.
+ * Got rid of the tar and uuencode directories since now dpkg-source can
+ handle things correctly.
+ * Have been using pristine sources, thought this should go on record.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sun, 10 Aug 1997 18:28:08 -0500
+
+vm (6.33-1) unstable; urgency=low
+
+ * Chaned post installation script not to redirect input to a scratch
+ file in /tmp (we use /tmp/emacs/file.new.$$ instead. This fixes
+ BUG#11787.
+ * New upstream bug fixing release. Excerpted changes:
+ * vm-undisplay-buffer: don't delete frames unless both
+ vm-mutable-windows and pop-up-frames are not non-nil. Loop
+ over the remaining windows that display the target buffer and
+ make those windows display some other buffer.
+ * vm-mime-set-extent-glyph-for-type: use a list of instantiators,
+ use 'xpm instead of 'autodetect and fallback to [nothing] if
+ instantiation fails.
+ * vm-display-face: use the [nothing] instantiator on ttys. XEmcas
+ only.
+ * vm-toolbar-install-toolbar: change toolbar size specifier on
+ frame even if VM did not create the frame. This reverses the
+ change made in 6.32.
+ * vm-isearch: call vm-energize-urls to light up the URLs after a
+ search completes.
+ * vm-set-window-configuration: return the window configuration we
+ set. A change in 6.32 caused this not to be done. This confused
+ vm-display which relied on the return value to determine whether
+ vm-display-buffer needed to be called.
+ * don't recognize <URL:...> as an URL if it contains a newline.
+ * vm-scroll-backwrd: make argument optional.
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 1 Aug 1997 16:12:14 -0500
+
+vm (6.32-1) unstable; urgency=low
+
+ * This is the first version built with cvs-buildpackage.
+ * Removed examples subdirectory from the debian directory, instead, the
+ directory is now tarred, gzipped, and uuencoded, and it is imploded
+ and exploded on the fly.
+ * New upstream bug fixing release. Excerpted changes:
+ * vm-toolbar-install-toolbar: don't change toolbar size specifier
+ on frame unless VM created the frame.
+ * vm-mail-send: move attribute change before possible deletion of
+ the buffer due to vm-keep-sent-messages == nil.
+ * remove references to vm-record-current-window-configuration
+ since it is not being used and will never be used.
+ * vm-mouse-read-file-name-event-handler: don't delete the completion
+ frame before reading keyboard input. This should avoid making
+ the user hunt for the frame that contains the correct minibuffer
+ window to type into.
+ * default value of vm-mutable-frames changed to t, and the
+ semantics of this variable have been changed to hopefully be
+ more like what users expect it to be.
+ * use cache slot of MIME layout struct as an alist everywhere
+ to avoid having display functions confuse each other with their
+ different cache entries.
+ * vm-mime-display-internal-image-xxxx: use device tag lists to have
+ a text tag displayed on ttys and the image itself on image-capable
+ devices.
+ * added optional `to' argument to vm-mail commands.
+ * mouse support changed so that it is installed whenever mouse
+ support may be possible instead of only if it is possible on
+ the current device.. Significant only under XEmacs currently.
+ * use multiple frames on ttys, where available.
+ * vm-scroll-forward: don't scroll if we're auto decoding MIME and
+ the message needed to be decoded.
+ * vm-mail-internal: support mail-personal-alias-file, fall back
+ to ~/.mailrc if it is nil.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 3 Jun 1997 12:41:47 -0500
+
+vm (6.31-1) unstable; urgency=low
+
+ * New upstream bug fixing release. Excerpted changes:
+ * vm-toolbar-support-possible-p: don't check device type, install
+ toolbar if the 'toolbar feature is present.
+ * vm-toolbar-initialize: check for device-on-window-system-p
+ before looking at device-bitplanes, in case the selected device
+ is a tty.
+ * use '(win) tag sets on toolbar specifiers to prevent toolbars
+ from being attached to non-window system frames.
+ * vm-multiple-fonts-possible-p: conditionalize checks on
+ XEmacs/Emacs to avoid looking at the window-system variable
+ under XEmacs where it should not be used.
+ * set scrollbar height only if (featurep 'scrollbar) and under
+ XEmacs. Previously we checked if set-specifier was fbound.
+ * vm-mime-preview-composition: copy value of enriched-mode to
+ the temp buffer so that the MIME encoding code knows what to do.
+ * set perms to 600 on MIME tempfiles before writing to them.
+ There's still a race window where access can be gained to
+ such files, but it should be very small assuming NFS is not
+ involved.
+ * added new 'display-error' slot to the MIME layout struct to
+ avoid overloading the cache slot... and fixed a bug thereby, due
+ to vm-mime-display-external-generic trying to use the contents
+ of the cache slot when there was an error message there.
+ * vm-mime-display-internal-message/rfc822: bind buffer-read-only
+ to nil before trying to insert text into the presentation
+ buffer.
+ * vm-burst-digest will now descend into nested MIME layouts to find
+ digests to burst.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 12 May 1997 18:26:44 -0501
+
+vm (6.30-3) unstable; urgency=low
+
+ * Added an el package a la Emacs (the elisp files are nearly 1M!), since
+ I think it is imperative that the uncompiled elisp files be available
+ for users, but it is not reasonable to unconditionally chew up 1M of
+ disk space.
+ * Also install vm-vars.el into the doc (for the old regular package)
+ directory, since not all customizable variables are documented
+ elsewhere.
+
+ -- Manoj Srivastava <srivasta@debian.org> Sat, 10 May 1997 22:29:42 -0501
+
+vm (6.30-2) unstable; urgency=low
+
+ * Added README.hilit19
+ * Added a menu entry for the HTML documentation
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 8 May 1997 01:58:21 -0500
+
+vm (6.30-1) unstable; urgency=medium
+
+ * New upstream bug fixing release. Excerpted changes:
+ * vm-mail-send: rename and/or delete the composition buffer
+ before trying to make the replied/forward/etc. attribute
+ change, since the user might abort that action.
+ E.g. "... really edit the buffer?"
+ * changed code to use XEmacs 20.2 MULE variables and functions
+ instead of the 20.0 functions.
+ * treat inlined message/rfc822 like multipart/mixed except we also
+ insert the forwarded headers message and decode any encoded
+ words in them.
+ * support enriched-mode in composition buffers.
+ * replaced some repeated calls to car with varrefs.
+ * vm-make-presentation-copy: bind inhibit-read-only to disable
+ read-only text properties before calling erase-buffer.
+ * vm-rfc1153-or-rfc934-burst-message: don't insert a traling
+ message separator if we're bursting the first message.
+ * rewrote vm-menu-support-possible-p to not factor device type
+ into it's decision. For a multi-device XEmacs what is not
+ possible now might be possible later, so let the menus be
+ instaited even if they aren't necessarily visible on the
+ currently selected device.
+ * default value of vm-honor-mime-content-disposition now nil.
+ * disable the setting of stack-trace-on-error for now.
+ * fixed a few places where MIME layout vectors were created with
+ too many slots and one place with too few slots.
+ * Makefile: doc fixes
+ * Shapiro typo fixes.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 6 May 1997 16:24:08 -0500
+
+vm (6.28-1) frozen unstable; urgency=medium
+
+ * New bugfixing release. Vm has been in feature freeze for a while,
+ and this release is quite stable (better than the 6.22 release
+ available before).
+ Excerpted changes:
+ * added status messages for vm-mark-all-messages and
+ vm-clear-all-marks.
+ * vm-mime-set-extent-glyph-for-type: don't croak on unknown
+ types.
+ * vm-thread-mark-for-summary-update: when skipping already marked
+ messages don't skip the part of the loop that moves the list
+ pointer forward. :-P
+ * rerun vm-menu-install-known-virtual-folders-menu after creating
+ on-the-fly virtual folders because the folder menu gets hosed
+ by the let-bound value of vm-virtual-folder-alist.
+ * added hack to vm-mail-send-and-exit to try and imrpvoe window
+ configuration behvavior under XEmacs when vm-keep-sent-messages
+ is nil.
+ * vm-mime-composite-type-p: don't consider message/partial and
+ message/external-body as a composite types.
+ * fixed nested MIME encoding to check types recursively all the
+ way down to make sure the 7bit/8bit rules are followed.
+ * vm-forward-message: use message/rfc822 instead of multipart/digest.
+ * vm-send-digest: fixed preamble insert for MIME digests to
+ insert into the composition buffer instead of directly into the
+ digest buffer.
+ * Added to postinst commands to remove obsolete references to vm in
+ site-start.el files
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 22 Apr 1997 01:46:16 -0500
+
+vm (6.27-1) unstable; urgency=low
+
+ * New upstream Source
+ * excerpted changes:
+ * vm-mime-rewrite-failed-button: add newline to displayed error
+ string.
+ * vm-menu-goto-event: use event-closest-point instead of
+ event-point so that we get locality of point when a click
+ occurs over a glyph (XEmacs only).
+ * vm-mime-display-button-xxxx: say "attempt to display" instead of
+ "display", as the button doesn't know if there is a functional
+ display function for the type.
+ * vm-mime-xemacs-encode-composition: dropped calls to
+ encode-coding-region for now. They were screwing up marker
+ positions.
+ * vm-mime-xemacs-encode-composition: protect value of
+ file-coding-system from changes when inserting attachment file
+ contents.
+ * vm-mime-display-internal-text/html: don't call w3-region if it
+ isn't bound, just set error string and return nil.
+ * vm-thread-mark-for-summary-update: don't mark if vm-thread-list-of
+ slot is nil; use nil in this slot to mean we've already marked
+ this message.
+ * added missing application/octet-stream button display function.
+ * Shapiro typo fixes
+ * copied vm-note-emacs-version to vm-menu.el so that it is
+ available at load time for use there.
+ * converted mona stamps to XPMs as XEmacs can't display the GIF versions.
+ * vm-mime-transfer-encode-layout: mark encoding in transfer
+ encoded leaves, forgot this previously (oops).
+ * default value of vm-mime-ignore-mime-version now t.
+ * restored vm-xemacs-p, vm-xemacs-mule-p and vm-fsfemacs-19-p
+ function to avoid breaking third party code that rely on them
+ being present (sigh).
+ * dropped vm-mime-attach-mime-file from the vm-mail-mode keymap and
+ menu.
+ * vm-show-list: binding to button release events in XEmacs didn't
+ work. Should probably use mouse-track hooks instead of binding
+ keys but until we do that go back to binding button press events.
+ * vm-mouse-get-mouse-track-string: check whether we're running
+ Emacs/XEmacs rather than whether functions are defined to avoid
+ using the wrong overlay/extent interface.
+ * initialize mail-default-reply-to from REPLYTO environmental
+ variable if value is nil (used to be if value is t).
+ * vm: moved call to vm-preview-current-message after the summary
+ generatation/display code. The summary might completely
+ obscure the view of the message buffer, so previewing should
+ occur after that so that vm-show-current-message knows whether
+ the message was visible and therefore also knows whether to
+ mark the message as read.
+ * vm-keep-mail-buffer: don't kill a buffer if it marked as
+ modified, even if the number of `kept' messages would be
+ exceeeded by keeping it. Presumably if a buffer is modified
+ the user has resumed composing in it and so we should not delete
+ it.
+ * added vm-mouse-send-url-to-netscape-new-window and
+ vm-mouse-send-url-to-mosaic-new-window functions for use as
+ values of vm-url-browser.
+ * dropped use of vm-check-for-killed-folder in menubar and
+ toolbar enabled-p functions. We wrap troublesome calls to
+ vm-select-folder-buffer in (condition-case ...) now to avoid a
+ "Folder has been killed" error from hosing the toolbar/mnunebar
+ and XEmacs permanently.
+ * don't use application/octet-stream's button function for all
+ application subtypes. Added a separate function to be used for
+ subtypes other than octet-stream.
+ * vm-mime-attach-object: if type is nil, use text/plain as the
+ type when calling vm-mime-set-extent-glyph-for-type.
+ * don't fold content-disposition headers if
+ vm-mime-avoid-folding-content-type is non-nil.
+ * don't add an extra newline after the unfolded content-type of the
+ last text subpart.
+ * vm-mime-preview-composition: remove mail header separator after
+ the message is encoded since the encoder won't work without it.
+ * default value of vm-mime-avoid-folding-content-type now t due
+ to pervasive broken Solaris sendmail installations that mangle
+ the headers of messages with folded Content- headers.
+ * vm-mime-make-multipart-boundary: shortened multipart boundaries to
+ avoid long header lines when vm-mime-avoid-folding-content-type is
+ t.
+ * include the missing audio_stamp images in the distribution.
+ * set version variables at startup and refer to them rather than
+ calling vm-xemacs-p, etc. repeatedly.
+ * vm-summary-highlight-region: overlays and extents aren't
+ interchangable in this context, so behave based on Emacs/XEmacs
+ version to avoid any overlay/extent emulations, and also to
+ avoid having make-overlay's sudden appearance give us
+ heartburn.
+ * don't fset vm-extent-property, vm-make-extent, etc. unless they
+ are undefined. This is to avoid changing their definition in
+ the middle of an Emacs session and thereby mixing usage the
+ overlay/extent interfaces.
+ * vm-mime-set-extent-glyph-for-layout: fixed reversed colorfulness
+ test.
+ * vm-mime-set-extent-glyph-for-type: mona_stamp is a GIF not an XPM.
+ * more overlay/extent interface cleanup.
+ * reenabled internal text/html code.
+ * vm-yank-message: decode text/html and text/enriched in the
+ composition buffer.
+ * attach image glyphs to attachment tags in composition buffers
+ (XEmacs only).
+ * print a warning and continue if x-vm- header seems corrupted.
+ old behavior was to just croak an error and wedge the mailer.
+ * vm-print-message: default count to 1 if passed no arguments.
+ * default value of vm-honor-mime-content-disposition now t.
+ * Makefile: default VM build type is now back to `autoload'.
+ * vm-rfc1153-or-rfc934-burst-message: use point instead of
+ (match-end 0) when deleting the message separator.
+ * vm-rfc1153-or-rfc934-burst-message: trim excessive newlines
+ only after we know that we are looking at a valid message separator.
+ * vm-su-message-id: discard chaff preceding message ID.
+ * vm-mime-fragment-composition: 'send -> '8bit to match
+ documentation of vm-mime-8bit-text-transfer-encoding.
+ * vm-mime-fragment-composition: call vm-add-mail-mode-header-separator
+ at the end so the buffer could be sent again.
+ * vm-mime-preview-composition: call vm-remove-mail-mode-header-separator.
+ * avoid starting new timers if old timers are still active (FSF
+ Emacs only).
+ * vm-mime-encode-composition: split code into FSF Emacs and
+ XEmacs functions. This should avoid mixing usage of the extent
+ and overlay interfaces, which loses with Nuspl's overlay.el
+ emulation.
+ * default vm-temp-file-directory to C:\ if /tmp is not a directory
+ and C:\ is.
+ * use insert-file-contents instead of insert-file-contents-literally
+ when inserting MIME attachments into compositions when encoding.
+ * if vm-auto-displayed-mime-content-types or Content-Disposition
+ says to display message/rfc822 or message/news inline and
+ immediately display them as text/plain. If displaying them due
+ to button activation, use a folder instead.
+ * use different menu for mailto: URLs since the old one didn't
+ really do what it advertised, i.e. didn't allow mailto URLs to
+ be send to other browsers.
+ * added reduced color MIME art for 8-bit displays that used to only be
+ used with displays with 16-bit or better displays.
+ * cache MIME art image glyphs for reuse to save load time.
+ * wrap calls to timezone-make-date-sortable in (condition-case ...)
+ to avoid crashing on bad dates.
+ * gave up on using frame-totally-visible-p since it is still
+ broken in 19.15.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 17 Apr 1997 20:57:45 -0500
+
+vm (6.22-1) unstable; urgency=low
+
+ * New upstream bugfix release
+ * Excerpted changes :
+ * vm-save-folder: call clear-visited-file-modtime if folder was deleted
+ to avoid "File changed on disk" warnings later.
+ * vm-mime-qp-encode-region: bounds check (1+ inputpos) before using it
+ to avoid referencing outside a clipping region.
+ * vm-mime-encode-composition: do the insert/delete dance to avoid text
+ leaking into overlays in the file insertion case.
+ * vm-mime-encode-composition: insert-file-contents-literally doesn't
+ move point. the code assumed it does and corrupted attachments as a
+ result.
+ * vm-gobble-crash-box: remove/rename crash box even if it is
+ zero-length.
+
+ -- Manoj Srivastava <srivasta@debian.org> Mon, 24 Mar 1997 10:21:14 -0600
+
+vm (6.20-1) unstable; urgency=low
+
+ * BUG#7775 was already fixed in 6.18-2
+ * New upstream version
+ * Excerpted changes :
+ * vm-menu-support-possible-p: allow menu code to operate under
+ NextStep. window-system == ns.
+ * New variables:
+ + vm-mosaic-program-switches
+ + vm-netscape-program-switches
+ + vm-mime-ignore-mime-version
+ + vm-presentation-mode-hook (you were right, i was wrong)
+ * vm-decode-mime-messages: run the highlighting code
+ * vm-mime-display-internal-multipart/digest: copied folder display
+ code from the message/rfc822 handler since they should work the
+ same and message/rfc822 works properly with vm-mutable-windows
+ == nil.
+ * make gui-button-face be the unconditional default value for
+ vm-mime-button-face.
+ * vm-virtual-quit: make sure vm-message-pointer is non-nil before
+ trying to run vm-message-id-number-of on it.
+ * vm-howl-if-eom: don't search other frames for the buffer's
+ window. Under XEmacs calling select-window on such a window
+ causes its frame to be selected and it stays selected despite
+ the call being wrapped in a save-window-excursion. I don't
+ think we really want to report end of message status in a
+ window in a non-selected frame anyway.
+ * removed reference to user-mail-address variable, because it might be
+ set to nil.
+ * vm-show-list: bind command to mouse release events instead of
+ mouse press events in XEmacs.
+ * vm-preview-current-message: set vm-mime-decoded to nil; it is
+ not enough to just let vm-make-presentation-copy do this.
+ * use full contents of References headers to avoid
+ * insert an X-Mailer in composition buffers. Music! Fun! Horoscopes!
+ And bug tracking.
+ * New user data functions:
+ + vm-user-composition-folder-buffer
+ + vm-user-composition-real-folder-buffers
+ * vm-print-message: make printing of MIME message work more like
+ non-MIME messages; print visible headers, print tags for
+ non-textual body parts.
+ * vm-mime-insert-button: don't set keymap parent to be the
+ current local map unless that map exists (i.e. is non-nil).
+ * catch errors when decoding encoded words and substitute an error
+ indicator for the string that we could not parse.
+ * vm-set-xxxx-flag: don't set attribute flag until after the undo
+ information is recorded. The buffer modification might be
+ nixed by the user via the clash detection query, so we need to
+ be sure we're past that code before committing to the attribute
+ change.
+ * vm-set-labels: same as vm-set-xxxx-flag and for same reason.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 18 Mar 1997 15:03:24 -0600
+
+vm (6.18-2) unstable; urgency=low
+
+ * New maintainer
+
+ -- Manoj Srivastava <srivasta@debian.org> Fri, 7 Mar 1997 14:55:18 -0600
+
+vm (6.18-1) unstable; urgency=low
+
+ * Fixed dww heading
+ * New version from upstream with lots of changes.
+ * Excerpted changes :
+ * New variables:
+ + vm-mime-composition-armor-from-lines
+ * use Dispose menu as the mode menu in the presentation buffer.
+ * vm-mime-encode-composition: do insert/delete dance to avoid
+ inserting into attachment overlays.
+ * vm-print-command now decodes the MIME message before printing.
+ * added 'print' item to mime dispose menu.
+ * returned to using the day's date as part of the saved crash box
+ name used when vm-keep-crash-boxes is set.
+ * added support for message/news type, which is handled mostly
+ like message/rfc822.
+ * new mime-dispose menu entries.
+ * don't check again for new mail if we already know some is waiting.
+ * add extended status reporting during POP message retrieval.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 4 Mar 1997 10:02:57 -0600
+
+vm (6.16-1) unstable; urgency=low
+
+ * New upstream version, with bug fixes.
+ * The most visible bug-fix is the undefined file-coding-system bug.
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 25 Feb 1997 13:56:29 -0600
+
+vm (6.15-1) unstable; urgency=low
+
+ * New upstream bugfix release. Changes include:
+ * move start of attachment tag out of header section.
+ * vm-mime-preview-composition: don't copy extents under XEmacs.
+ * use text properties for attachment tags in FSF Emacs.
+ * vm-mime-attach-file: pass description from interactive spec
+ into function.
+ * better handling of M-x vm-mode w.r.t. coding systems under Mule.
+ * Shapiro typo fixes.
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 20 Feb 1997 11:36:39 -0600
+
+vm (6.14-1) unstable; urgency=low
+
+ * Made Richard Kettlewell <richard@elmail.co.uk> the maintainer n the control file again
+ * Added HTML files and an dwww index.
+ * Since VM stopped supporting older Emacs versions, no longer need to
+ install itimer. XEmacs ships it by default, and FSF Emacs has an
+ different timer interface that VM knows how.
+ * New upstream release. Many changes from previous version.
+
+ -- Manoj Srivastava <srivasta@debian.org> Wed, 19 Feb 1997 13:02:30 -0600
+
+vm (6.13-2) unstable; urgency=low
+
+ * Changed priority to optional, as per override file
+
+ -- Manoj Srivastava <srivasta@debian.org> Thu, 13 Feb 1997 14:19:55 -0600
+
+vm (6.13-1) unstable; urgency=low
+
+ * Changed postinst and prerm to just install and remove info files, as the
+ new way of running elisp at startup is the dir /etc/emacs/site-start.d
+ * Installed vm-init.el in the new /etc/emacs/site-start.d/ directory
+ * Added error messages to source directory and root checks in debian/rules.
+ * Give destination directories on command line, rather than edit upstream
+ Makefile.
+ * Non-maintainer upgrade to non-beta vm and new packaging conventions.
+ Now upto Standards-Version: 2.1.2.2
+
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 11 Feb 1997 14:46:25 -0600
+
+Wed Jan 17 00:13:10 1996 Richard Kettlewell <richard@sfere.uk.geeks.org>
+
+ * debian.rules: Cope with deleted package_revision field
+
+ * debian.control: Delete package_revision field; better
+ description field lifted from info documentation.
+
+Fri Sep 22 21:30:46 1995 Richard Kettlewell <richard@sfere.elmail.co.uk>
+
+ * debian.control: virtual package support
+
+ * moved to version 5.95beta. This has been unchanged for weeks.
+
+ * debian.rules (version): changed version number
+
+Sat Aug 12 00:19:23 1995 Richard Kettlewell <richard@elmail.co.uk>
+
+ * debian.site-lisp/vm-init.el: changed the name of this file.
+
+ * debian.site-lisp/vm-init: added mail-mode-smart-tab as posted to
+ info-vm.
+
+Wed Aug 9 19:58:31 1995 Richard Kettlewell <richard@elmail.co.uk>
+
+ * debian.{postinst,prerm}: hacked &followlink a bit; better error
+ handling.
+
+ * download 5.94beta from ftp.uu.net
+
+Tue Aug 1 22:45:03 1995 Richard Kettlewell <richard@sfere.elmail.co.uk>
+
+ * debian.vm-init: used to be vm-debian, changed it to bring in
+ line with e.g. the w3-el package.
+
+ * debian.README: fixed version number in pointer to upstream
+ version.
+
+ * debian.prerm: rewrote in perl, now we follow links properly
+
+ * debian.postinst: rewrote in perl, now we follow links properly
+
+Fri Jul 28 18:52:35 1995 Richard Kettlewell <richard@sfere.elmail.co.uk>
+
+ * moved ChangeLog to debian.ChangeLog
+
+Wed Jul 26 18:21:18 1995 Richard Kettlewell <richard@sfere.elmail.co.uk>
+
+ * debian.control (Description): Removed package name from start of
+ description field.
+
+Tue Jul 25 10:00:00 1995 Richard Kettlewell <richard@sfere.elmail.co.uk>
+
+ * Released vm-5.92beta-1 (time approximate)
+
+Sun Jul 23 22:31:12 1995 Richard Kettlewell <richard@sfere.elmail.co.uk>
+
+ * debian.rules: changed version number
+
+ * patched up to 5.92beta
+
+Wed Jul 19 23:49:25 1995 Richard J Kettlewell <richard@sfere.elmail.co.uk>
+
+ * Makefile: changed directories to point to the right place for
+ us.
+
+ (clean): clean up things we don't want in the source package
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..7b4133c
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,7 @@
+lisp/vm-autoloads.el
+Makefile
+config.log
+config.status
+lisp/vm-cus-load.el
+vm-load.el
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bdd6234
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: vm
+VCS-Git: git://anonscm.debian.org/users/srivasta/debian/vm.git
+VCS-Browser: http://git.debian.org/git/?p=users/srivasta/debian/vm.git
+Section: mail
+Homepage: https://launchpad.net/vm
+Priority: optional
+Maintainer: Manoj Srivastava <srivasta@debian.org>
+Standards-Version: 3.9.5
+Build-Depends-Indep: debhelper (>= 9.0.0), autotools-dev, emacs24,
+ texinfo, texlive-latex-base, texlive-fonts-recommended
+
+Package: vm
+Architecture: all
+Depends: ${misc:Depends}, ucf (>= 0.08), emacs24 | emacsen, make,
+ dpkg (>= 1.15.4) | install-info
+Suggests: exim4 | sendmail | mail-transport-agent, stunnel
+Provides: mail-reader
+Conflicts: semi, wemi, semi1.12, wemi1.12
+Description: mail user agent for Emacs
+ VM (View Mail) is an Emacs subsystem that allows UNIX mail to be read
+ and disposed of within Emacs. Commands exist to do the normal things
+ expected of a mail user agent, such as generating replies, saving
+ messages to folders, deleting messages and so on. There are other
+ more advanced commands that do tasks like bursting and creating
+ digests, message forwarding, and organizing message presentation
+ according to various criteria. With smtpmail in modern emacsen, you do
+ not need an MTA locally in order to use VM.
+ .
+ This package does not cater to XEmacs, since vm comes (by default)
+ bundled in with XEmacs.
diff --git a/debian/control.mime-codecs b/debian/control.mime-codecs
new file mode 100644
index 0000000..d5f7239
--- /dev/null
+++ b/debian/control.mime-codecs
@@ -0,0 +1,51 @@
+Source: vm
+Section: mail
+Priority: optional
+Maintainer: Manoj Srivastava <srivasta@debian.org>
+Standards-Version: 3.6.2.0
+Build-Depends-Indep: emacs21, texi2html (>= 1.76-1)
+Build-Depends: file, emacs21, texi2html (>= 1.76-1)
+
+Package: vm
+Architecture: all
+Priority: optional
+Section: mail
+Depends: ucf (>= 0.08), emacs21
+Recommends: make
+Suggests: exim4 | sendmail | mail-transport-agent, mime-codecs
+Provides: mail-reader
+Conflicts: vm-el, semi, wemi, semi1.12, wemi1.12
+Replaces: vm-el
+Description: A mail user agent for Emacs.
+ VM (View Mail) is an Emacs subsystem that allows UNIX mail to be read
+ and disposed of within Emacs. Commands exist to do the normal things
+ expected of a mail user agent, such as generating replies, saving
+ messages to folders, deleting messages and so on. There are other
+ more advanced commands that do tasks like bursting and creating
+ digests, message forwarding, and organizing message presentation
+ according to various criteria. With smtpmail in modern emacsen, you do
+ not need an MTA locally in order to use VM.
+ .
+ VM 6.x versions have problems with the library tm-vm from the Tiny Mime (TM)
+ package, since that version was written for VM 5.X. Indeed, the problems
+ seems to exist with semi as well.
+ .
+ This package does not cater to XEmacs, since vm comes (by default)
+ bundled in with XEmacs.
+
+Package: mime-codecs
+Architecture: any
+Section: utils
+Priority: optional
+Depends: ${shlibs:Depends}
+Enhances: vm
+Description: Fast Quoted-Printable and BASE64 MIME transport codecs
+ At its most basic MIME is a set of transfer encodings used to ensure
+ error free transport, and a set of content types. VM understands the
+ two standard MIME transport encodings, Quoted-Printable and BASE64,
+ and will decode messages that use them as necessary. VM has
+ Emacs-Lisp based Quoted-Printable and BASE64 encoders and decoders,
+ but you can have VM use external programs to perform these tasks and
+ the process will almost certainly be faster. This package provides
+ external executables for Quoted-Printable and BASE64 encoders and
+ decoders.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9880f9c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,55 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: vm
+Source: <url:https://launchpad.net/vm>
+Comment: This package was originally debianized by Richard Kettlewell
+ <richard@elmail.co.uk>. The current maintainer is Manoj Srivastava
+ <srivasta@debian.org>. It was originally downloaded from
+ <url:http://download.savannah.nongnu.org/releases/viewmail/>
+
+
+Files: *
+Copyright: Copyright © 1989-2003 Kyle E. Jones
+ Copyright © 1998-2007 Robert Widhopf-Fenk
+ Copyright © 1997, 1999-2000 Noah S. Friedman
+ Copyright © 1999 Rob Hodges
+ Copyright © 2001-2007 by Ulf Jasper
+ Copyright © 2004 Kevin Rodgers]
+ Copyright © 2006 Robert P. Goldman
+ Manual Copyright © 1989, 1991 Kyle E. Jones
+License: GPL-2.0+
+
+Files: info/*
+Copyright: Copyright © 1989, 1991 Kyle E. Jones
+License: GPL-2.0+
+Comment: Permission is granted to make and distribute verbatim copies
+ of this manual provided the copyright notice and this permission
+ notice are preserved on all copies.
+
+Files: src/*
+Copyright: no one
+License: public-domain
+ There are fast encoders and decoders for common mime transport
+ encodings included in this package. These programs are in the public
+ domain.
+
+
+Files: debian/*
+Copyright: 2013 Manoj Srivastava <srivasta@debian.org>
+License: GPL-2.0+
+
+License: GPL-2.0+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..5502ed8
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
diff --git a/debian/examples/README b/debian/examples/README
new file mode 100644
index 0000000..cd9b914
--- /dev/null
+++ b/debian/examples/README
@@ -0,0 +1,13 @@
+The files dot.vm, dot.emacs and dot.abbrevs are mine; dot.vm.2 was
+contributed by a friend as an alternative example. Edit them to your
+personal requirements before trying to use them!
+
+If there is demand it should be trivial to write a program to
+translate between other addressbook formats and the abbrev file
+format. (There's no reason you have to use abbrevs for your address
+book, but I like it;-)
+
+README.windows, full_screen and summary_{bottom,right,top} are from
+the windows package distributed with the upstream vm source.
+
+1995-08-19 Richard Kettlewell <richard@elmail.co.uk>
diff --git a/debian/examples/README.windows b/debian/examples/README.windows
new file mode 100644
index 0000000..989e749
--- /dev/null
+++ b/debian/examples/README.windows
@@ -0,0 +1,47 @@
+Here are some window configuration files to get your started.
+There are comments at the top of each file that describe what
+they make VM do.
+
+Pick one of these files and copy it somewhere, like say
+~/.vm.windows. Then put
+
+(setq vm-window-configuration-file "~/.vm.windows")
+
+in your .vm file.
+
+VM's window configuration system works by assigning
+configurations to actions. Nearly every VM command can have its
+own separate configuration. However, there are also
+configurations for classes of actions, like 'startup' and
+'composing-message'. These configuration classes cover all the
+commands that fit into the class. For example, all the commands
+that send out mail fall under the 'composing-message' config.
+
+If there is no command specific configuration, the class
+configuration for that command is used. If there is no class
+configuration, then the 'default' configuration is used. If
+there is no 'default' configuration, VM does <something> to get
+its buffers displayed, and <something> is undefined. If you
+don't set up a window configuration VM might start displaying your
+folders by skywriting or some such. So, for your privacy's sake,
+you should set up window configurations. :)
+
+To set a configuration, you should use normal Emacs window and
+buffer selection and sizing commands to make the screen look like
+you want it to look for a particular action. Then run
+vm-save-window-configuration. This is bound to W S in vm-mode
+buffers, and C-c C-v W S in VM mail-mode and edit-message buffers.
+You can of course use M-x vm-save-window-configuration from any
+other buffer. You will be asked for a configuration name, and
+there is completion for the names. If a configuration for the
+name you select already exists, it will be overwritten.
+
+To delete a configuration, use vm-delete-window-configuration,
+bound to W D in vm-mode buffer. The action that you specify will
+no longer have a configuration associated with it.
+
+vm-apply-window-configuration (W W) makes the screen look like a
+particular configuration. You might use this as an aid to
+setting up configurations based on some common framework. W W is
+an easy way to call up a config instead of recreating it each
+time.
diff --git a/debian/examples/dot.abbrevs b/debian/examples/dot.abbrevs
new file mode 100644
index 0000000..1a03373
--- /dev/null
+++ b/debian/examples/dot.abbrevs
@@ -0,0 +1,16 @@
+;-*-emacs-lisp-*-
+;
+; Rather than editing abbrevs files directly, it's better to use
+; commands like M-X define-mail-abbrev and M-X edit-abbrevs, then save
+; them back with M-X write-abbrev-file
+;
+; (err, this may not be the best way to do it. Watch this space.)
+;
+
+(define-abbrev-table 'mail-abbrevs '(
+ ("debian-bugs-done" "debian-bugs-done@pixar.com" mail-abbrev-expand-hook 0)
+ ("debian-announce" "debian-announce@pixar.com" mail-abbrev-expand-hook 0)
+ ("debian-user" "debian-user@pixar.com" mail-abbrev-expand-hook 0)
+ ("debian-devel" "debian-devel@pixar.com" mail-abbrev-expand-hook 0)
+ ("rjk" "Richard Kettlewell <richard@elmail.co.uk>" mail-abbrev-expand-hook 0)
+ ))
diff --git a/debian/examples/dot.emacs b/debian/examples/dot.emacs
new file mode 100644
index 0000000..a600d6e
--- /dev/null
+++ b/debian/examples/dot.emacs
@@ -0,0 +1,53 @@
+;-*-emacs-lisp-*-
+;
+; Various mail-related things I put in my .emacs file
+;
+
+; use abbrevs in (Resent-)?(To|Cc|Bcc): lines
+
+(add-hook 'mail-setup-hook 'mail-abbrevs-setup)
+
+; load my address book
+
+(load-file "~/.abbrevs")
+
+; set my email address
+
+(setq user-mail-address "richard@elmail.co.uk")
+
+; set quoting character for replies
+
+(setq mail-yank-prefix ">")
+
+; set default Fcc folder
+
+(setq mail-archive-file-name "~/mail/sent-mail")
+
+; see /usr/doc/examples/vm/README.hilit19 for what's going on here
+
+(cond (window-system
+ (setq hilit-mode-enable-list '(not text-mode)
+ hilit-background-mode 'light
+ hilit-inhibit-hooks nil
+ hilit-inhibit-rebinding nil)
+ (require 'hilit19)
+ (add-hook 'vm-summary-pointer-update-hook 'hilit-rehighlight-buffer)
+ (add-hook 'vm-select-message-hook 'hilit-rehighlight-buffer)
+ (hilit-translate comment 'firebrick-bold)
+ (hilit-set-mode-patterns
+ 'outline-mode
+ '(("^\*.*$" nil defun)
+ ))
+ ))
+;; This will return a list of all the buffers in VM mode:
+; (let ((buffers (buffer-list))
+; (vm-buffers '()))
+; (while buffers
+; (if (eq (save-excursion
+; (set-buffer (car buffers))
+; major-mode)
+; 'vm-mode)
+; (setq vm-buffers
+; (cons (car buffers) vm-buffers)))
+; (setq buffers (cdr buffers)))
+; (nreverse vm-buffers))
diff --git a/debian/examples/dot.vm b/debian/examples/dot.vm
new file mode 100644
index 0000000..2385f49
--- /dev/null
+++ b/debian/examples/dot.vm
@@ -0,0 +1,52 @@
+;-*-emacs-lisp-*-
+;
+; Example configuration for VM.
+;
+; Copy this file into ~/.vm and edit to taste; it will be run when vm
+; starts up. See the vm manual - under VM in info - for more details.
+;
+; NOTE to administrators: vm works perfectly OK without this file in
+; everyone's home directory. There's no call for it to be copied to
+; /etc/skel.
+;
+
+(setq vm-startup-with-summary t)
+(setq vm-skip-deleted-messages nil)
+(setq vm-circular-folders nil)
+(setq vm-preview-lines nil)
+(setq vm-highlighted-header-regexp "^From\\|^Subject")
+(setq vm-included-text-prefix ">")
+(setq vm-reply-subject-prefix "Re: ")
+(setq vm-folder-directory "~/mail/")
+(setq vm-delete-after-saving t)
+(setq vm-move-after-deleting t)
+(setq vm-delete-empty-folders)
+(setq vm-visible-headers '("Resent-From:" "From:" "Sender:" "To:" "Apparently-To:" "Cc:" "Subject:" "Date:"))
+
+; A quick tutorial on VM's MIME display variables.
+
+; vm-display-using-mime controls whether MIME is displayed specially
+; at all. Default value is t.
+
+; vm-auto-decode-mime-messages controls whether a MIME message is
+; decoded when the message is selected. Decoding means parsing the
+; message to figure out what MIME types are in it. This can be
+; slow for large messages, so you might not want it to happen
+; automatically. Default value is t.
+
+; vm-auto-displayed-mime-content-types controls which MIME types
+; are displayed immediately after the message is decoded.
+; Default value is ("text" "multipart").
+
+; vm-auto-displayed-mime-content-type-exceptions lists exceptions
+; to the auto-displayed types. So you can specify "text" as an
+; auto-displayed type and '("text/html") as the exceptions list to avoid
+; immediate display of text/html. Default value is nil.
+
+
+
+; For text/html handling you probably want to do this:
+
+; (add-to-list 'vm-mime-internal-content-type-exceptions "text/html")
+; (add-to-list 'vm-mime-external-content-types-alist
+; '("text/html" "netscape -remote 'openFILE(%f)' || netscape %f"))
diff --git a/debian/examples/dot.vm-auto-spool b/debian/examples/dot.vm-auto-spool
new file mode 100644
index 0000000..87b9720
--- /dev/null
+++ b/debian/examples/dot.vm-auto-spool
@@ -0,0 +1,13 @@
+;; Set vm-spool-files based on all filenames in vm-spool-directory.
+;; You probably don't want to do this unless you've set vm-spool-directory
+;; to point to a directory used exclusively for your own spool files.
+
+(cond ((string-equal vm-folder-directory vm-spool-directory)
+ (error "vm-folder-directory and vm-spool-directory must be different."))
+ (t
+ (setq vm-spool-files
+ (mapcar '(lambda(spool-name)
+ (list (concat vm-folder-directory spool-name)
+ (concat vm-spool-directory spool-name)
+ (concat vm-folder-directory spool-name ".CRASH")))
+ (directory-files vm-spool-directory nil "^[^.]")))))
diff --git a/debian/examples/dot.vm-color b/debian/examples/dot.vm-color
new file mode 100644
index 0000000..441f6e4
--- /dev/null
+++ b/debian/examples/dot.vm-color
@@ -0,0 +1,80 @@
+I find font-locking email very useful for colouring quoted text
+differently to the new text. In fact, Gnus manages to colour every
+quoted message differently, which is very handy once you get three or
+four different people quoting each other. Can you get VM to do this?
+
+FWIW, here is the relevant bit of my .vm file (i use XEmacs which may
+(not) be relevant). Before anyone asks i don't know why i need to use
+both vm-mail-mode-hook and mail-setup-hook, but it works for me, and i
+can't be bothered to sort it out.
+
+
+(require 'highlight-headers)
+;;colours
+(set-face-foreground 'message-headers "darkslateblue")
+(set-face-foreground 'message-header-contents "brown")
+(set-face-foreground 'message-highlighted-header-contents "black")
+(set-face-foreground 'message-cited-text "darkgreen")
+(make-face-bold 'message-highlighted-header-contents)
+(make-face-unitalic 'message-header-contents)
+
+;;highlighting
+(defconst kmc-vm-mail-font-lock-keywords
+ (purecopy
+ (list
+ '("^\\([-a-zA-Z0-9]+:\\)[ ]*\\(.*\\)$" 1 message-headers t)
+ '("^\\([-a-zA-Z0-9]+:\\)[ ]*\\(.*\\)$" 2 message-header-contents t)
+ '("Subject[ \t]*:[ ]*\\(.*\\)$" 1 message-highlighted-header-contents t)
+ (list (concat highlight-headers-citation-regexp
+ "\\(.*\\)$") 2 'message-cited-text t)
+ (list (concat "\\("
+ highlight-headers-citation-header-regexp
+ "\\)") 1 'message-headers t)
+ )))
+
+(add-hook 'vm-mail-mode-hook
+ (lambda ()
+ (setq font-lock-keywords kmc-vm-mail-font-lock-keywords)
+ ))
+(add-hook 'mail-setup-hook
+ (lambda ()
+ (setq font-lock-keywords kmc-vm-mail-font-lock-keywords)
+ )
+
+
+======================================================================
+> I've found it useful when you can display the quoted portion in a
+> grey-ish color, rather than my default white on black. It seems to
+> make it easier to focus in on the reply parts. Certainly not
+> critical, but I'd find it a very nice feature.
+
+
+I had to add a new hook to VM for making that:
+vm-presentation-mode-hook. Then, I use the following. It fontifies the
+"From" and "Subject" lines, as well as URLs, quoted text and auto-MIME
+decode zones.
+======================================================================
+
+(setq vm-font-lock-words
+ '(("^Subject: \\(.*\\)$" . font-lock-reference-face)
+ ("^From: \\(.*\\)" . font-lock-type-face)
+ ("^[>|}].*" . font-lock-comment-face)
+ ("^.*\\\[Click .*\\\]$" . font-lock-variable-name-face)
+ ("\\(file\\|ftp\\|gopher\\|http\\|https\\|news\\|wais\\|www\\)://[^ \t\n\f\r\"<>|()]*[^ \t\n\f\r\"<>|.!?(){}]" . font-lock-string-face)
+ )
+)
+
+(defun vm-fontify ()
+ (make-local-variable 'font-lock-defaults)
+ (setq font-lock-defaults '(vm-font-lock-words t))
+ (turn-on-font-lock))
+
+(add-hook 'vm-mode-hook
+ '(lambda ()
+ (local-set-key "r" 'vm-followup)
+ (vm-fontify)))
+
+(add-hook 'vm-presentation-mode-hook
+ '(lambda ()
+ (vm-fontify)))
+
diff --git a/debian/examples/dot.vm-hide-ref b/debian/examples/dot.vm-hide-ref
new file mode 100644
index 0000000..f1863fb
--- /dev/null
+++ b/debian/examples/dot.vm-hide-ref
@@ -0,0 +1,26 @@
+In .emacs
+
+(defun hide-references-hook ()
+ (save-excursion
+ (let (lim)
+ (goto-char (point-min))
+ (re-search-forward (concat "^" (regexp-quote mail-header-separator) "$"))
+ (setq lim (match-beginning 0))
+ (goto-char (point-min))
+ (cond ((re-search-forward "^References:.*\n\\([ \t].*\n\\)*" lim t)
+ (let ((o (make-overlay (match-beginning 0) (match-end 0))))
+ (overlay-put o 'invisible t)))))))
+
+(defun hide-in-reply-to-hook ()
+ (save-excursion
+ (let (lim)
+ (goto-char (point-min))
+ (re-search-forward (concat "^" (regexp-quote mail-header-separator) "$"))
+ (setq lim (match-beginning 0))
+ (goto-char (point-min))
+ (cond ((re-search-forward "^In-Reply-To:.*\n\\([ \t].*\n\\)*" lim t)
+ (let ((o (make-overlay (match-beginning 0) (match-end 0))))
+ (overlay-put o 'invisible t)))))))
+
+(add-hook 'vm-mail-mode-hook 'hide-references-hook)
+(add-hook 'vm-mail-mode-hook 'hide-in-reply-to-hook)
diff --git a/debian/examples/dot.vm-hide-ref-2 b/debian/examples/dot.vm-hide-ref-2
new file mode 100644
index 0000000..d38a76d
--- /dev/null
+++ b/debian/examples/dot.vm-hide-ref-2
@@ -0,0 +1,34 @@
+Here's a hook function that will hide the References header in
+VM's mail-mode buffers. This is for Good 'Ol Emacs only; this
+won't work under XEmacs. You will notice the cursor behaves as
+if the References header is still there... that's because it is
+still there.
+
+(defun hide-references-hook ()
+ (save-excursion
+ (let (lim)
+ (goto-char (point-min))
+ (re-search-forward (concat "^" (regexp-quote mail-header-separator) "$"))
+ (setq lim (match-beginning 0))
+ (goto-char (point-min))
+ (cond ((re-search-forward "^References:.*\n\\([ \t].*\n\\)*" lim t)
+ (let ((o (make-overlay (match-beginning 0) (match-end 0))))
+ (overlay-put o 'invisible t)))))))
+
+(add-hook 'vm-mail-mode-hook 'hide-references-hook)
+
+Here's the XEmacs version of that function. Required change was
+replacing make-overlay with make-extent, and overlay-put with
+set-extent-property.
+
+(defun hide-references-hook ()
+ (save-excursion
+ (let (lim)
+ (goto-char (point-min))
+ (re-search-forward (concat "^" (regexp-quote mail-header-separator) "$"))
+ (setq lim (match-beginning 0))
+ (goto-char (point-min))
+ (cond ((re-search-forward "^References:.*\n\\([ \t].*\n\\)*" lim t)
+ (let ((o (make-extent (match-beginning 0) (match-end 0))))
+ (set-extent-property o 'invisible t)))))))
+
diff --git a/debian/examples/dot.vm-manoj-current b/debian/examples/dot.vm-manoj-current
new file mode 100644
index 0000000..dfd9a88
--- /dev/null
+++ b/debian/examples/dot.vm-manoj-current
@@ -0,0 +1,653 @@
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; To read mail with VM from an IMAP spool, an entry specifying the ;;;
+;;; maildrop is needed in vm-spool-files. This can be configured ;;;
+;;; using, for example: ;;;
+;;; ;;;
+;;; (add-to-list 'vm-spool-files ;;;
+;;; '("~/mail/IMAP-INBOX" ;;;
+;;; "imap:HOST:PORT:MAILBOX:AUTH:USER:PASSWORD" ;;;
+;;; "~/mail/IMAP-INBOX.CRASH")) ;;;
+;;; ;;;
+;;; where PORT is normally 143. To use IMAP over SSL, use, instead: ;;;
+;;; ;;;
+;;; (add-to-list 'vm-spool-files ;;;
+;;; '("~/mail/IMAP-INBOX" ;;;
+;;; "imap-ssl:HOST:PORT:MAILBOX:AUTH:USER:PASSWORD" ;;;
+;;; "~/mail/IMAP-INBOX.CRASH")) ;;;
+;;; ;;;
+;;; where PORT is normally 993. In both cases, if PASSWORD is given ;;;
+;;; as *, it will be prompted for the first time that mail is ;;;
+;;; retrieved. ;;;
+;;; ;;;
+;;; By default, messages are removed from the IMAP server after ;;;
+;;; retrieving them. This is controlled by the variable ;;;
+;;; vm-imap-expunge-after-retrieving, but per-maildrop settings can ;;;
+;;; be made in vm-imap-auto-expunge-alist. ;;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; To read mail with VM from a POP spool, an entry specifying the ;;;
+;;; maildrop is needed in vm-spool-files. This can be configured ;;;
+;;; using, for example: ;;;
+;;; ;;;
+;;; (add-to-list 'vm-spool-files ;;;
+;;; '("~/mail/POP-INBOX" ;;;
+;;; "pop:HOST:PORT:AUTH:USER:PASSWORD" ;;;
+;;; "~/mail/POP-INBOX.CRASH")) ;;;
+;;; ;;;
+;;; where PORT is normally 110. To use POP over SSL, use, instead: ;;;
+;;; ;;;
+;;; (add-to-list 'vm-spool-files ;;;
+;;; '("~/mail/POP-INBOX" ;;;
+;;; "pop-ssl:HOST:PORT:AUTH:USER:PASSWORD" ;;;
+;;; "~/mail/POP-INBOX.CRASH")) ;;;
+;;; ;;;
+;;; where PORT is normally 995. In both cases, if PASSWORD is given ;;;
+;;; as *, it will be prompted for the first time that mail is ;;;
+;;; retrieved. ;;;
+;;; ;;;
+;;; AUTH will normally be "pass". See the docstring ;;;
+;;; of vm-spool-files for the other acceptable values and their ;;;
+;;; meanings. ;;;
+;;; ;;;
+;;; By default, messages are removed from the POP server after ;;;
+;;; retrieving them. This is controlled by the variable ;;;
+;;; vm-pop-expunge-after-retrieving, but per-maildrop settings can be ;;;
+;;; made in vm-pop-auto-expunge-alist. ;;;
+;;; ;;;
+;;; Other variables controlling POP behaviour include: ;;;
+;;; ;;;
+;;; vm-pop-bytes-per-session ;;;
+;;; vm-pop-max-message-size ;;;
+;;; vm-pop-messages-per-session ;;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(require 'message)
+(load-library "vm-autoloads")
+
+(require 'vm-pine)
+(require 'vm-rfaddons)
+(require 'vm-thread)
+(require 'vm-virtual)
+(require 'vm-delete)
+(require 'vm-sort)
+(require 'bbdb-vm)
+(require 'vm-misc)
+(require 'vm-mime)
+(if window-system
+ (require 'vm-mouse))
+(bbdb-insinuate-vm)
+
+
+(vm-rfaddons-infect-vm)
+
+(require 'u-vm-color)
+(add-hook 'vm-summary-mode-hook 'u-vm-color-summary-mode)
+(add-hook 'vm-select-message-hook 'u-vm-color-fontify-buffer)
+(defadvice vm-decode-mime-message (after u-vm-color activate)
+ (u-vm-color-fontify-buffer-even-more))
+(defadvice vm-fill-paragraphs-containing-long-lines
+ (after u-vm-color activate)
+ (u-vm-color-fontify-buffer))
+
+(setq-default vm-summary-show-threads t)
+
+(setq
+ vm-auto-center-summary 0
+ vm-auto-decode-mime-messages t
+ vm-auto-displayed-mime-content-types
+ '("text" "multipart" "message/rfc822" "plain text" "mail message"
+ "text/x-vcard" "text/enriched" )
+
+ vm-crash-inbox (concat my-mail-dir "/INBOX.CRASH")
+ vm-delete-after-archiving t
+ vm-delete-after-bursting t
+ vm-delete-after-saving t
+ vm-folder-directory (concat my-mail-dir "/")
+ vm-follow-summary-cursor t
+ vm-forwarding-subject-format "Forwarded message from %F, %h %w,%d %m %y"
+ vm-highlighted-header-regexp (if window-system nil "^From\\|^Subject")
+ vm-honor-page-delimiters t
+ vm-honor-mime-content-disposition t
+ ;; vm-in-reply-to-format "%i:%F's message of %h %w,%d %m %y "
+ vm-included-text-headers '("\\bFrom\\b" "\\bSubject\\b" "\\bDate\\b")
+ vm-inhibit-startup-message t
+ vm-keep-sent-messages 2
+ vm-mail-header-from (or user-mail-address (concat (user-login-name)
+ "@acm.org"))
+ vm-mime-internal-content-types
+ '("text" "multipart" "message/rfc822" "plain text" "mail message"
+ "text/x-vcard" "text/enriched" )
+
+ vm-mime-8bit-composition-charset "utf-8"
+ vm-mime-qp-decoder-program "qp-decode"
+ vm-mime-qp-encoder-program "qp-encode"
+ vm-mime-base64-decoder-program "base64-decode"
+ vm-mime-base64-encoder-program "base64-encode"
+ vm-move-after-deleting t
+ vm-move-after-killing t
+ vm-preferences-file "~/etc/vm.preferences"
+ vm-popup-menu-on-mouse-3 t
+ vm-preview-read-messages nil
+ vm-primary-inbox (concat my-mail-dir "/INBOX")
+ vm-reply-ignored-addresses (list (concat "\\b" (regexp-quote
+ (user-login-name)) "\\b"))
+ vm-reply-subject-prefix "Re: "
+ vm-search-using-regexps t
+ vm-skip-deleted-messages 0
+ vm-skip-read-messages nil
+ vm-spool-files
+ (list
+ (list "INBOX" "~/mbox" "INBOX.CRASH" )
+ (list "INBOX" (concat "/var/mail/" (user-login-name)) "INBOX.CRASH" )
+ (list "INBOX" (concat "/var/spool/mail/" (user-login-name))
+ "INBOX.CRASH" )
+ (list "INBOX" (concat "/usr/mail/" (user-login-name)) "INBOX.CRASH" )
+ (list "INBOX" (concat "/usr/spool/mail/" (user-login-name))
+ "INBOX.CRASH" )
+ (list "INBOX" (concat real-home-directory "/var/spool/mail/important")
+ "INBOX.CRASH" )
+ (list "ADMIN" (concat real-home-directory "/var/spool/mail/admin")
+ "ADMIN.CRASH")
+ (list "BCAST" (concat real-home-directory "/var/spool/mail/bcast")
+ "BCAST.CRASH")
+ (list "CONSULT" (concat real-home-directory "/var/spool/mail/consult")
+ "CONSULT.CRASH")
+ (list "DIGITAL" (concat real-home-directory "/var/spool/mail/digital")
+ "DIGITAL.CRASH")
+ (list "GCIF" (concat real-home-directory "/var/spool/mail/gcif")
+ "GCIF.CRASH")
+ (list "GCIFC" (concat real-home-directory "/var/spool/mail/gcifcases")
+ "GCIFC.CRASH")
+ (list "spam" (concat real-home-directory "/var/spool/mail/spam")
+ "spam.CRASH")
+ (list "grey" (concat real-home-directory "/var/spool/mail/grey.mbox")
+ "grey.CRASH")
+ (list "MISC" (concat real-home-directory "/var/spool/mail/misc")
+ "MISC.CRASH")
+ (list "orders" (concat real-home-directory "/var/spool/mail/orders")
+ "orders.CRASH")
+ )
+ vm-startup-with-summary 1
+ vm-strip-reply-headers t
+ vm-summary-format "%2n%UA%*%a %-17.17UB %-3.3m %2d %4l/%-5c %I\"%s\"\n"
+ vm-summary-uninteresting-senders (concat "\\b" (regexp-quote
+ (user-login-name)) "\\b")
+ vm-summary-uninteresting-senders-arrow "==> "
+ vm-use-menus t
+ vm-visit-when-saving 'okay
+ vm-virtual-folder-alist
+ '(
+ ("misc"
+ (("ADMIN" "BCAST" "MISC" ) ;;;;
+ (any)))
+ )
+ vm-window-configuration-file "~/etc/vm.windows"
+)
+
+;;; (setq vm-mime-default-face-charsets
+;;; '("us-ascii" "iso-8859-1" "iso-8859-2" "iso-8859-3" "iso-8859-4"
+;;; "iso-8859-5" "iso-8859-6" "iso-8859-7" "iso-8859-8" "iso-8859-9"
+;;; "windows-1251" "windows-1252" "koi8-r" "us-ascii" "X-roman8"
+;;; )
+;;; )
+;;; (add-to-list 'vm-mime-default-face-charsets "Windows-1251")
+;;; (add-to-list 'vm-mime-default-face-charsets "Windows-1252")
+;;; (add-to-list 'vm-mime-default-face-charsets "Windows-1257")
+
+;; Show all:
+(setq vm-mime-default-face-charsets t)
+
+(setq vm-mime-type-converter-alist
+ '(
+ ("text/html" "text/plain" "links -force_html -dump /dev/stdin")
+ ))
+
+;;;;(require 'browse-url)
+;;;;(defvaralias 'vm-url-browser 'browse-url-browser-function))
+
+;;;; Then tell VM that it should not display text/html internally.
+;(setq vm-mime-internal-content-type-exceptions '("text/html"))
+;(add-to-list 'vm-mime-external-content-types-alist
+; '("text/html" "mozilla -remote 'openFILE(%f)' || mozilla %f"))
+; setq vm-mime-type-converter-alist
+; ;; w3 takes a loong time ... so:
+; '(
+; ("text/html" "text/plain" "w3m -T \"text/html\" -dump")
+; ))
+
+(setq
+ vm-netscape-program "firefox"
+ vm-url-browser 'vm-mouse-send-url-to-netscape
+ vm-netscape-program-switches nil
+ )
+
+
+;(add-to-list 'vm-mime-external-content-types-alist
+; '("image/*" "display %f"))
+
+(defun vm-summary-function-A (m)
+ (if (string-match "Manoj Srivastava" (vm-su-to m)) "+" " "))
+
+;;"%2n %*%a %-17.17F %-3.3m %2d %4l/%-5c \"%s\"\n"
+;;"%2n %*%a %-17.17U %-3.3m %2d %4l/%-5c \"%s\"\n"
+
+(defun my-vm-mode-function ()
+ "Added quitting, no backups, and load a few libs."
+ (interactive)
+ (make-local-variable 'version-control)
+ (setq version-control 'never); keep minimal backups
+;; (load-library "jwz-vm-summary")
+ (require 'sendmail)
+;; (load-library "ml-alias")
+;; (require 'vm-sort)
+ (require 'message)
+ (add-hook 'local-write-file-hooks 'bbdb-offer-save)
+ )
+
+(setq vm-mode-hooks 'my-vm-mode-function)
+(add-hook 'vm-quit-hook 'vm-expunge-folder)
+(add-hook 'vm-quit-hook 'bbdb-save-db)
+;;(bbdb/vm-set-auto-folder-alist)
+
+
+;;; For a while, I used to do a BBDB save only when quitting out of my
+;;; primary "in" box. For that, I did this:
+;;; (add-hook 'vm-quit-hook
+;;; (function
+;;; (lambda ()
+;;; (if (string-equal (buffer-name (current-buffer)) "INBOX")
+;;; (progn
+;;; (bbdb-save-db))))))
+
+(setq mail-yank-ignored-headers
+ (concat
+ "^Content-Length:\\|"
+ "^Content-Type:\\|"
+ "^Email-Version:\\|"
+ "^End-of-Header:\\|"
+ "^End-of-Protocol:\\|"
+ "^Full-Name:\\|"
+ "^Message-Version:\\|"
+ "^Message-Service:\\|"
+ "^Reply-Path:\\|"
+ "^Reply-To:\\|"
+ "^>To:\\|"
+ "^UA-Content-ID:\\|"
+ "^UA-Message-ID:\\|"
+ "^X-at-.*:\\|"
+ mail-yank-ignored-headers)
+ )
+
+
+(defvar vm-ml-ids
+ '(
+ "info-vm-request"
+ "info-mm"
+ "ange-ftp-lovers"
+ "info-gnuplot-request"
+ "lucid-emacs"
+ "Gutenberg"
+ "hyperbole"
+ "auc-tex"
+ "owner-supercite"
+ "fsp-discussion"
+ )
+ "*List of strings naming the mailing lists that VM should know
+ about. VM archives mailing-lists that appear in vm-mailing-lists in
+ their own folder. See also info on function vm-make-mailinglist-regexp.")
+
+(defun vm-make-mailing-list-regexp (listname)
+ "This function is used only to construct the variable
+ vm-auto-folder-alist. It returns the cons of a regexp and a
+ foldername. The regexp is supposed to match the To, Cc, or Sender
+ field in the message. The foldername is the LISTNAME prepended with
+ \"M-\" and the result is used as the name of the folder to append the
+ message to."
+ (cons
+ (concat
+ "\\<" listname
+ "\\|" (upcase listname)
+ "\\|" listname "-list"
+ "\\|" (upcase listname) "-LIST"
+ "\\>")
+ (concat "M-" listname)))
+
+
+(setq
+ vm-auto-folder-alist
+ (list
+ ;; First we check if this is a mailing-list. The name of the
+ ;; mailing-list is usually in the To-field, but sometimes in the Cc-
+ ;; or Sender-field:
+
+
+ (cons "To" (mapcar 'vm-make-mailing-list-regexp vm-ml-ids))
+ (cons "Cc" (mapcar 'vm-make-mailing-list-regexp vm-ml-ids))
+ (cons "Sender" (mapcar 'vm-make-mailing-list-regexp vm-ml-ids))
+ ;; if it's not a mailing list, then use sender's name as folder name:
+ (list "Newsgroups"
+ (cons "gnu.emacs.sources" "emacs")
+ )
+ (list "Subject"
+ (cons ".*[oO]pen ?[lL]ook.*" "xnews")
+ (cons ".*\\(MOTIF\\|X11\\| X \\).*" "x11")
+ (cons ".*\\(OSF\\).*" "osf1")
+ (cons ".*[vV][mM].*" "vm")
+ (cons ".*[cC]\\+\\+.*" "c++")
+ (cons "Returned mail" "Receipts")
+ )
+ (list "From"
+ (cons my-login-name-regexp
+ '(list (list "To"
+ '( "ART" . "gaylord")
+ ;; match id with IN%
+ '( "IN%\"\\([^>@%]+\\)" .
+ (buffer-substring
+ (match-beginning 1) (match-end 1)))
+ ;; match id in <>
+ '( "<\\([^>@%]+\\)" .
+ (buffer-substring
+ (match-beginning 1) (match-end 1)))
+ ;; match id with @
+ '( "\\([^@%:]+\\)[@%]" .
+ (buffer-substring
+ (match-beginning 1) (match-end 1)))
+ ;; match id with ::
+ '("[^:]+\:\:\\(\\w+\\|\\w+\\W\\w+\\)" .
+ (buffer-substring
+ (match-beginning 1) (match-end 1)))
+ ;; match first word
+ '("\\(\\w+\\)" .
+ (buffer-substring
+ (match-beginning 1) (match-end 1)))
+ )
+
+ ))
+ '("IN%\"\\([^>@%]+\\)" .
+ (buffer-substring (match-beginning 1) (match-end 1)))
+ ;; Kyle's catch-all:
+ '( "ART" . "gaylord")
+ ;; match id with IN%
+ '("<\\([^ \t\n\f@%()<>]+\\)[@%]\\([^ \t\n\f<>()]+\\)>" .
+ (buffer-substring (match-beginning 1) (match-end 1)))
+ '("<\\([^>]+\\)>" .
+ (buffer-substring (match-beginning 1) (match-end 1)))
+;; '("\\([^ \t\n\f@%()<>]+\\)\\([@%]\\([^ \t\n\f<>()]+\\)\\)?"
+;; (buffer-substring (match-beginning 1) (match-end 1)))
+ ;; match id in <>
+ '("<\\([^>@%]+\\)" .
+ (buffer-substring (match-beginning 1) (match-end 1)))
+ ;; match id with @
+ '("\\([^@%:]+\\)[@%]" .
+ (buffer-substring (match-beginning 1) (match-end 1)))
+ ;; match id with ::
+ '("[^:]+\:\:\\(\\w+\\|\\w+\\W\\w+\\)" .
+ (buffer-substring (match-beginning 1) (match-end 1)))
+ ;; match first word
+ '("\\(\\w+\\)" .
+ (buffer-substring (match-beginning 1) (match-end 1)))
+ )
+ ))
+
+(if (eq 'x window-system)
+ (progn
+
+
+ (defun vm-highlight-headers (message window)
+ "Using font-lock; highlight From: and Subject: fields in mail
+ messages displayed by VM."
+ (save-excursion
+ ;; As of v18.52, this call to save-window-excursion is needed!
+ ;; Somehow window point can get fouled in here, and drag the
+ ;; buffer point along with it. This problem only manifests
+ ;; itself when operating VM from the summary buffer, subsequent
+ ;; to using vm-beginning-of-message or vm-end-of-message.
+ ;; After running a next or previous message command, point
+ ;; somehow ends up at the end of the message.
+ (save-window-excursion
+ (font-lock-mode 1)
+ )))
+ ))
+
+(setq tm-vm/automatic-mime-preview nil)
+
+(defun vm-folder-count ()
+ "Count buffers visiting mail folders."
+ (save-excursion
+ (let ((folder-count 0))
+ (mapcar (function
+ (lambda (buf)
+ (set-buffer buf)
+ (and (eq major-mode 'vm-mode)
+ (setq folder-count (+ folder-count 1)))))
+ (buffer-list))
+ folder-count)))
+
+
+(add-hook 'vm-presentation-mode-hook
+ (lambda ()
+ (or buffer-display-table
+ ;; Don't let disp-table.el overwrite standard-display-table:
+ (let ((standard-display-table standard-display-table))
+ (setq buffer-display-table (make-display-table))))
+ ;; Make A0 (\240) (non-breaking space) display as normal space
+ (aset buffer-display-table ?\xA0 [\? ])
+ (aset buffer-display-table ?\x91 [?\'])
+ (aset buffer-display-table ?\x92 [?\'])
+ (aset buffer-display-table ?\x93 [?\"])
+ (aset buffer-display-table ?\x94 [?\"])
+ (aset buffer-display-table ?\x96 [?\-])
+ (aset buffer-display-table ?\x97 [?\-?\-])
+ ;; Make ^M invisible:
+ (aset buffer-display-table ?\x0D [])))
+
+
+(require 'time-date)
+(defun my-vm-print-message-with-faces (&optional filename)
+ "Print the current message to a PostScript printer (or file) with
+ font information"
+ (interactive)
+ (vm-select-folder-buffer)
+ (let* ((msg (vm-real-message-of (car vm-message-pointer)))
+ (buffer (set-buffer (if (vm-mime-plain-message-p msg)
+ (vm-buffer-of msg)
+ vm-presentation-buffer)))
+ (subject-line (or (vm-get-header-contents msg "Subject:")
+ "<No Subject>">))
+ (from-line (concat "From: " (or
+ (vm-get-header-contents msg "From:")
+ "<No Sender>")))
+ (date-line (vm-get-header-contents msg "Date:"))
+ (time (if date-line (date-to-time date-line) (current-time)))
+ (dd-mon-yy (format-time-string "%d %b %y" time))
+ (hh:mm:ss (format-time-string "%T" time))
+ (ps-left-header (list 'subject-line 'from-line))
+ (ps-right-header (list "/pagenumberstring load" 'dd-mon-yy 'hh:mm:ss))
+ (ps-header-lines 2)
+ (ps-print-header-frame t))
+ (if (null filename)
+ (ps-print-buffer-with-faces)
+ (ps-print-buffer-with-faces filename)
+ )))
+
+
+(require 'vm-vcard)
+
+(setq vm-spamassassin-cmd "/usr/bin/spamassassin")
+
+(defun vm-spamassassin-report-spam ()
+ "Report mail as spam by piping the message to spamassassin in reporting
+mode."
+ (interactive)
+ (if (y-or-n-p "Are you sure you want to report this message as spam? ")
+ (vm-pipe-message-to-command
+ (concat vm-spamassassin-cmd " -r -w " user-mail-address)
+ nil)))
+
+(defun vm-spamassassin-add-to-whitelist ()
+ "Add the sender of the message to the spamassassin auto-whitelist, so
+that mail from them is not classified as spam again."
+ (interactive)
+ (vm-pipe-message-to-command (concat vm-spamassassin-cmd " -W") nil))
+
+(require 'vm-menu)
+(setq vm-menu-dispose-menu
+ (append vm-menu-dispose-menu
+ '(
+ "---"
+ ["Add to whitelist" vm-spamassassin-add-to-whitelist vm-message-list ]
+ ["Report as spam" vm-spamassassin-report-spam vm-message-list ])))
+
+;;; ;;; Peronality crisis
+;;; (setq rwh-vm-pcrisis-use-vm-mail-wraparound t)
+;;; (defadvice mail-text (before call-automorph-with-mail-text activate)
+;;; (rwh-vm-pcrisis-automorph) )
+;;; (add-hook 'vm-mail-mode-hook
+;;; '(lambda () (local-set-key [f7] 'rwh-vm-pcrisis-automorph)))
+;;;
+;;; ;;; An action-list can take many forms. The first item in an action-list
+;;; ;;; is a string, which may be any of the following:
+;;;
+;;; ;;; * "pre-function"
+;;; ;;; * "reply-buffer-function"
+;;; ;;; * "signature"
+;;; ;;; * "pre-signature"
+;;; ;;; * "set-to-to"
+;;; ;;; * If none of the above, a string containing the name of a header to
+;;; ;;; add or change in your reply.
+;;;
+;;;(add-to-list 'rwh-vm-pcrisis-headers-to-save "Original-Sender")
+;;; (setq rwh-vm-pcrisis-profiles
+;;; '(
+;;; ( ;;This first recipe causes the contents of the file ~/.sig
+;;; ;; to be inserted as the signature in absolutely all replies.
+;;; ("From" ".*")
+;;; ("signature" "~/.sig")
+;;; )
+;;; ( ;;you DO NOT include a :
+;;; ("From" "^president@whitehouse\\.gov$")
+;;; ("X-Subliminal-Header-Message" "Please lower my taxes.")
+;;; )
+;;; ( ;;the function names should not be placed in quotes.
+;;; ("Content-type" "iso-8859-2") ;; Note 3
+;;; ("pre-function" my-vm-variable-changer-8859-2)
+;;; ("reply-buffer-function" my-change-kbd-layout-to-polish)
+;;; )
+;;; ( ;;To understand this, read *Note pcp Note 4::
+;;; ("Content-type" "html")
+;;; ("From" "\"The HTML Police\" <me@my.mail.address>")
+;;; ("pre-signature" "~/formletters/why_html_is_bad.txt")
+;;; )
+;;; (
+;;; ("Reply-To" "bad_list@some.listserv.com") ;;match-list
+;;; ("set-to-to" "Original-Sender")) ;;action-list
+;;; )
+;;; ) )
+;;;
+;;;
+;;; rwh-vm-pcrisis-automorph-profil
+;;;
+;;; rwh-vm-pcrisis-newmail-profiles
+;;;
+
+
+
+;;; From: kyle_jones@wonderworks.com (Kyle Jones)
+
+;;; > Is there anyway I can get a 50/50 split on everything, without having to
+;;; > explicitly save to *all* window configurations?
+
+;;; Yes. You only need to save to the main classes: startup,
+;;; reading-message, composing-message, editing-message, and for the
+;;; command config for vm-summarize.
+
+;;; ;;;;
+;;; ;;;; Wastebasket support
+;;; ;;;;
+;;; ;;;; By default, deleted mail goes into the "wastebasket" directory,
+;;; ;;;; which is a subdirectory of vm-folder-directory. There is a
+;;; ;;;; wastebasket file for each month; the file name format is
+;;; ;;;; wastebasket-yymm.
+;;; ;;;;
+
+;;; (require 'cl)
+
+;;; (defvar *vm-wastebasket-directory*
+;;; (concat (file-name-as-directory vm-folder-directory)
+;;; (format "wastebasket/wastebasket")))
+
+;;; (defvar *vm-wastebasket-months*
+;;; '("Jan" "Feb" "Mar" "Apr" "May" "Jun"
+;;; "Jul" "Aug" "Sep" "Oct" "Nov" "Dec"))
+
+;;; (defvar *vm-wastebasket-date-regexp*
+;;; (concat "\\(" (mapconcat 'identity *vm-wastebasket-months* "\\|") "\\)"
+;;; ".*"
+;;; "[0-9][0-9]\\([0-9][0-9]\\)"))
+
+;;; (defun vm-wastebasket ()
+;;; (format
+;;; "%s-%s"
+;;; *vm-wastebasket-directory*
+;;; (if (fboundp 'time-yymm) ;Use my private hack first
+;;; (time-yymm)
+;;; (let ((time (current-time-string)))
+;;; (string-match *vm-wastebasket-date-regexp* time)
+;;; (unless (and (match-beginning 1) (match-beginning 2))
+;;; (error "Unable to extract month and year from current-time-string"))
+;;; (let* ((month (substring time (match-beginning 1) (match-end 1)))
+;;; (month-number (1+ (position month *vm-wastebasket-months*
+;;; :test 'string-equal)))
+;;; (year (substring time (match-beginning 2) (match-end 2))))
+;;; (concat year (format "%02d" month-number)))))))
+
+;;; (defun vm-save-in-wastebasket (&rest ignore)
+;;; (interactive)
+;;; (vm-save-message (vm-wastebasket)))
+
+;;; (defun vm-visit-wastebasket (prefix &optional read-only-p)
+;;; (interactive "P")
+;;; (vm-visit-folder (vm-wastebasket) (or prefix read-only-p)))
+
+;;; ;;; Move the "d" key to "D", and add "T" to read the wastebasket
+;;; (define-key vm-mode-map "D" 'vm-delete-message)
+;;; (define-key vm-mode-map "d" 'vm-save-in-wastebasket)
+;;; (define-key vm-mode-map "T" 'vm-visit-wastebasket)
+(define-key vm-mode-map "#" 'vm-expunge-folder)
+
+
+;; Pop mail service using ssh
+;;; # ssh -C -L 4711:mail.server.at.your.domain:110 other.server.at.your.domain
+
+;;; The above statement will setup a local port (4711) that is
+;;; forwarded to the POP port on your mailserver
+;;; (mail.server.at.your.domain) via another machine
+;;; (other.server.at.your.domain). (The -C flags is not necessary, it
+;;; only makes the communication compressed.)
+
+;;; You can then setup your vm-spool-files to point out this local port like this:
+
+;;; (setq vm-spool-files
+;;; (list (list vm-primary-inbox "localhost:4711:pass:username:*" vm-crash-box)))
+
+
+;;; This will return a list of all the buffers in VM mode:
+
+;;; (let ((buffers (buffer-list))
+;;; (vm-buffers '()))
+;;; (while buffers
+;;; (if (eq (save-excursion
+;;; (set-buffer (car buffers))
+;;; major-mode)
+;;; 'vm-mode)
+;;; (setq vm-buffers
+;;; (cons (car buffers) vm-buffers)))
+;;; (setq buffers (cdr buffers)))
+;;; (nreverse vm-buffers))
+
+;;; Local Variables:
+;;; mode: emacs-lisp
+;;; comment-start: ";;; "
+;;; End:
+
diff --git a/debian/examples/dot.vm.2 b/debian/examples/dot.vm.2
new file mode 100644
index 0000000..cd4229d
--- /dev/null
+++ b/debian/examples/dot.vm.2
@@ -0,0 +1,148 @@
+;-*-emacs-lisp-*-
+;From: Ian Jackson <iwj10@cus.cam.ac.uk>
+;To: richard@elmail.co.uk (Richard Kettlewell)
+;Subject: Re: ~/.vm
+;Date: Sat, 12 Aug 95 16:28 BST
+;
+;Richard Kettlewell writes ("~/.vm"):
+;> Do you have a ~/.vm file you would like to contribute to the Debian vm
+;> package?
+;
+;I keep my vm startup stuff in ~/emacs/ian.el. It could probably do
+;with a bit of tweaking, but here it is.
+;
+;Ian.
+
+; In Emacs 19 only, to override the default mouse bindings (which
+; I don't like):
+(add-hook 'vm-mode-hook 'unset-down-mouse-3)
+(add-hook 'vm-mail-mode-hook 'unset-down-mouse-3)
+
+; In my term-setup-hook function:
+(global-set-key "m" 'vm-mail)
+(global-set-key "4m" 'vm-mail-other-window)
+(global-set-key "9" 'vm-visit-folder)
+
+; To purge deleted messages automatically:
+(add-hook 'vm-mode-hook
+ '(lambda ()
+ (local-set-key "Q" 'vm-quit)
+ (local-set-key "q" "#Q")))
+
+; ^X 4 m does the right thing ...
+(defun vm-mail-other-window ()
+ "Like `vm-mail' command, but display buffer in another window."
+ (interactive)
+ (switch-to-buffer-other-window (current-buffer))
+ (vm-mail))
+
+; All my general variables
+(setq vm-included-text-attribution-format "%F writes (\"%s\"):\n"
+ vm-reply-subject-prefix "Re: "
+ vm-folder-directory "~/mail/"
+ vm-delete-after-saving t
+ vm-delete-empty-folders t
+ vm-mutable-windows nil
+ vm-preview-lines nil
+ vm-included-text-prefix "> "
+ vm-confirm-quit 1
+ vm-auto-center-summary t
+ vm-confirm-new-folders t
+ vm-circular-folders nil
+ vm-visit-when-saving t
+ vm-move-after-deleting t
+ vm-keep-sent-messages t
+ vm-follow-summary-cursor t
+ vm-frame-per-composition nil
+ vm-frame-per-edit nil
+ vm-frame-per-summary nil
+ vm-frame-per-folder nil
+ vm-primary-inbox (concat vm-folder-directory "INBOX")
+ vm-uninteresting-senders "ian"
+ vm-spool-files '("~/mbox" "~/mail/Outbound" "~/mail/Record"
+ "~/mail/Import" "/usr/spool/mail/ian" "~/News/r")
+ vm-startup-with-summary nil
+ vm-summary-format "%3n %a %2d %3m %-19.19F %s\n"
+ mail-archive-file-name "~/mail/Outbound")
+
+
+
+; A whole lot of stuff for setting the Precedence header ...
+(setq mail-precedence-key-alist
+ '((?0 . "special-delivery")
+ (?1 . "air-mail")
+ (?2 . "first-class")
+ (?3 . "second-class")
+ (?5 . "third-class")
+ (?\ . nil)
+ (?6 . "bulk")
+ (?9 . "junk")))
+;
+(defun mail-precedence-as-key ()
+ "Set precedence by looking up last command char in mail-precedence-key-alist"
+ (interactive)
+ (message "%s" (concat "Precedence ["
+ (mapconcat '(lambda (c) (char-to-string (car c)))
+ mail-precedence-key-alist "")
+ "] ?"))
+ (let* ((key (read-char))
+ (prec (assoc key mail-precedence-key-alist)))
+ (if prec (mail-precedence (cdr prec))
+ (error "mail-precedence-as-key `%s' not found" key))))
+;
+(defun mail-precedence-as-key-send-and-exit (arg)
+ "Set precedence by looking up last command char in mail-precedence-key-alist,
+then call send-and-exit."
+ (interactive "P")
+ (mail-precedence-as-key)
+ (execute-kbd-macro ""))
+;
+(defun mail-precedence (prec)
+ (save-excursion
+ (mail-position-on-field "Precedence")
+ (let ((p (point)))
+ (beginning-of-line)
+ (delete-region (point) p)
+ (if prec
+ (insert "Precedence: " prec)
+ (delete-char 1)))))
+;
+(defun mail-mode-setup-keys ()
+ (local-set-key "" 'mail-precedence-as-key)
+ (local-set-key "p" 'mail-precedence-as-key-send-and-exit))
+(add-hook 'mail-mode-hook 'mail-mode-setup-keys)
+(add-hook 'vm-mail-mode-hook 'mail-mode-setup-keys)
+;
+
+
+
+; A quick tutorial on VM's MIME display variables.
+
+; vm-display-using-mime controls whether MIME is displayed specially
+; at all. Default value is t.
+
+; vm-auto-decode-mime-messages controls whether a MIME message is
+; decoded when the message is selected. Decoding means parsing the
+; message to figure out what MIME types are in it. This can be
+; slow for large messages, so you might not want it to happen
+; automatically. Default value is t.
+
+; vm-auto-displayed-mime-content-types controls which MIME types
+; are displayed immediately after the message is decoded.
+; Default value is ("text" "multipart").
+
+; vm-auto-displayed-mime-content-type-exceptions lists exceptions
+; to the auto-displayed types. So you can specify "text" as an
+; auto-displayed type and '("text/html") as the exceptions list to avoid
+; immediate display of text/html. Default value is nil.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/debian/examples/full_screen b/debian/examples/full_screen
new file mode 100644
index 0000000..69990ec
--- /dev/null
+++ b/debian/examples/full_screen
@@ -0,0 +1,9 @@
+;-*-emacs-lisp-*-
+
+;; startup = full screen summary
+;; reading-message = full screen folder
+;; composing-message = full screen composition
+;; editing-message = full screen edit
+;; vm-summarize = full screen summary
+
+((editing-message ((((visibility . t) (top . 80) (left . 200) (unsplittable) (minibuffer . t) (modeline . t) (width . 80) (height . 40) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((0 1 80 39) ((nil edit)) ((nil nil nil t)))))) (startup ((((visibility . t) (top . 140) (left . 140) (unsplittable) (minibuffer . t) (modeline . t) (width . 80) (height . 40) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((0 1 80 39) ((nil summary)) ((nil nil nil t)))))) (reading-message ((((visibility . t) (top . 80) (left . 200) (unsplittable) (minibuffer . t) (modeline . t) (width . 80) (height . 40) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((0 1 80 39) ((nil message)) ((nil nil nil t)))))) (comp
diff --git a/debian/examples/summary_bottom b/debian/examples/summary_bottom
new file mode 100644
index 0000000..5255262
--- /dev/null
+++ b/debian/examples/summary_bottom
@@ -0,0 +1,9 @@
+;-*-emacs-lisp-*-
+
+;; startup = full screen summary
+;; reading-message = folder on top, summary on bottom
+;; composing-message = composition on top, summary on bottom
+;; editing-message = edit on top, summary on bottom
+;; vm-summarize = full screen summary
+
+((editing-message ((((visibility . t) (top . 52) (left . 172) (unsplittable) (minibuffer . t) (modeline . t) (width . 80) (height . 40) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((- (0 1 80 31) (0 31 80 39)) ((nil edit) (nil summary)) ((nil nil nil t) (nil nil nil nil)))))) (startup ((((visibility . t) (top . 140) (left . 140) (unsplittable) (minibuffer . t) (modeline . t) (width . 80) (height . 40) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((0 1 80 39) ((nil summary)) ((nil nil nil t)))))) (reading-message ((((visibility . t) (top . 52) (left . 172) (unsplittable) (minibuffer . t) (modeline . t) (width . 80) (height . 40) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((- (0
diff --git a/debian/examples/summary_right b/debian/examples/summary_right
new file mode 100644
index 0000000..5c61771
--- /dev/null
+++ b/debian/examples/summary_right
@@ -0,0 +1,12 @@
+;-*-emacs-lisp-*-
+
+;; This is designed for a very wide display. I used a 163 column
+;; window under X for this. The screen is split horizontally.
+
+;; startup = full screen summary
+;; reading-message = folder on left, summary on right
+;; composing-message = composition on left, folder on right
+;; editing-message = edit on left, summary on right
+;; vm-summarize = full screen summary
+
+((editing-message ((((visibility . t) (top . 50) (left . 8) (unsplittable) (minibuffer . t) (modeline . t) (width . 163) (height . 50) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((| (0 1 80 49) (80 1 163 49)) ((nil edit) (nil summary)) ((nil nil nil t) (nil nil nil nil)))))) (startup ((((visibility . t) (top . 140) (left . 140) (unsplittable) (minibuffer . t) (modeline . t) (width . 80) (height . 40) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((0 1 80 39) ((nil summary)) ((nil nil nil t)))))) (reading-message ((((visibility . t) (top . 50) (left . 8) (unsplittable) (minibuffer . t) (modeline . t) (width . 163) (height . 50) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((| (0 1
diff --git a/debian/examples/summary_top b/debian/examples/summary_top
new file mode 100644
index 0000000..2db365c
--- /dev/null
+++ b/debian/examples/summary_top
@@ -0,0 +1,9 @@
+;-*-emacs-lisp-*-
+
+;; startup = full screen summary
+;; reading-message = folder on bottom, summary on top
+;; composing-message = composition on bottom, summary on top
+;; editing-message = edit on bottom, summary on top
+;; vm-summarize = full screen summary
+
+((editing-message ((((visibility . t) (top . 50) (left . 170) (unsplittable) (minibuffer . t) (modeline . t) (width . 80) (height . 40) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((- (0 1 80 10) (0 10 80 39)) ((nil summary) (nil edit)) ((nil nil nil nil) (nil nil nil t)))))) (startup ((((visibility . t) (top . 140) (left . 140) (unsplittable) (minibuffer . t) (modeline . t) (width . 80) (height . 40) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((0 1 80 39) ((nil summary)) ((nil nil nil t)))))) (reading-message ((((visibility . t) (top . 80) (left . 200) (unsplittable) (minibuffer . t) (modeline . t) (width . 80) (height . 40) (menu-bar-lines . 1) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (vertical-scroll-bars . t) (internal-border-width . 2) (border-width . 2))) (((- (0
diff --git a/debian/patches/0001-debcherry-fixup-patch.patch b/debian/patches/0001-debcherry-fixup-patch.patch
new file mode 100644
index 0000000..5b6f399
--- /dev/null
+++ b/debian/patches/0001-debcherry-fixup-patch.patch
@@ -0,0 +1,2112 @@
+From 2dbc1a70849710bbc17c654dbd7f629ab1a66433 Mon Sep 17 00:00:00 2001
+From: Manoj Srivastava <srivasta@golden-gryphon.com>
+Date: Mon, 28 Apr 2014 16:24:32 -0700
+Subject: [PATCH 1/1] debcherry fixup patch
+
+fc23530 [fix-texinfo-warnings]: More tecinfo warning fixes
+ - no changes against upstream or conflicts
+c4c2399 [fix-texinfo-warnings]: This fixes a FTBS issue
+ - extra changes or conflicts
+6dc310e [topc--base64fix]: base64_decode_multichunk_and_speedup.diff
+ - no changes against upstream or conflicts
+53a7df0 [topic--debian]: Added manual pages for all binaries.
+ - extra changes or conflicts
+2020262 Make sure the autoloads files are generated in the right place
+ - no changes against upstream or conflicts
+7662c40 [topic--debian]: Do not rely on absolute path
+ - extra changes or conflicts
+---
+ info/vm-pcrisis.texinfo | 2 +-
+ info/vm.texinfo | 419 ++++++++++++++++++++++++------------------------
+ lisp/Makefile.in | 4 +-
+ src/Makefile.in | 9 ++
+ src/base64-decode.1 | 50 ++++++
+ src/base64-decode.c | 105 +++++++-----
+ src/base64-encode.1 | 51 ++++++
+ src/base64-encode.c | 3 +-
+ src/qp-decode.1 | 51 ++++++
+ src/qp-decode.c | 9 +-
+ src/qp-encode.1 | 51 ++++++
+ src/qp-encode.c | 5 +-
+ 12 files changed, 497 insertions(+), 262 deletions(-)
+ create mode 100644 src/base64-decode.1
+ create mode 100644 src/base64-encode.1
+ create mode 100644 src/qp-decode.1
+ create mode 100644 src/qp-encode.1
+
+diff --git a/info/vm-pcrisis.texinfo b/info/vm-pcrisis.texinfo
+index fa2342c..72b8cfa 100755
+--- a/info/vm-pcrisis.texinfo
++++ b/info/vm-pcrisis.texinfo
+@@ -1179,7 +1179,7 @@ bear this in mind when you set up the profiles!
+
+ @c ***************************************************************************
+
+-@unnumberedsubsec vmpc-auto-profiles-file
++@unnumberedsec vmpc-auto-profiles-file
+ @vindex vmpc-auto-profiles-file
+
+ The variable @code{vmpc-auto-profiles-file} contains the name of the
+diff --git a/info/vm.texinfo b/info/vm.texinfo
+index 7e06dae..5a03949 100755
+--- a/info/vm.texinfo
++++ b/info/vm.texinfo
+@@ -160,7 +160,7 @@ in mail-reading functionality by introducing features like thread
+ management, virtual folders, automatic archiving of messages and a
+ full treatment of @acronym{MIME}. VM can interface to other packages
+ available in Emacs, for remote file access, @acronym{BBDB} address book,
+-@acronym{GPG}
++@acronym{GPG}
+ encryption and Org mode task management etc. It can also invoke
+ external utilities available on your system such as mail filtering
+ tools and html rendering tools.
+@@ -275,7 +275,7 @@ that the next time the folder is visited VM will know which messages
+ have been already read, replied to and so on. Typing @kbd{S}
+ (@code{vm-save-folder}) saves the folder. The default behavior is
+ that deleted messages are @emph{not} expunged automatically when you
+-save a folder.
++save a folder.
+ The next time you visit the folder any deleted
+ messages will still be flagged for deletion. @pxref{Deleting Messages}.
+
+@@ -393,7 +393,7 @@ settings.
+ @cindex primary inbox
+ @kbd{M-x vm} causes VM to visit a folder known as your @dfn{primary
+ inbox}, specified by the variable @code{vm-primary-inbox}. If the
+-variable @code{vm-auto-get-new-mail} is set
++variable @code{vm-auto-get-new-mail} is set
+ non-@code{nil}, VM will gather any new mail that has arrived
+ and integrate it into your primary inbox. The default setting for your
+ primary inbox is the local file @file{~/Mail/inbox}, but a variety of
+@@ -415,7 +415,7 @@ treats server folders with equal facility.
+ any local mail folder. The folder name will be
+ prompted for in the minibuffer. @kbd{M-x vm-visit-pop-folder} and
+ @kbd{M-x vm-visit-imap-folder} perform similar function for server
+-folders.
++folders.
+
+ Once VM has read the folder and assimilated any new mail, the first new or
+ unread message will be selected, if any. If there is no such message,
+@@ -501,7 +501,7 @@ VM transfers the mail from a spool file to a folder via a
+ temporary file known as the @dfn{crash box}. The variable
+ @code{vm-crash-box} names the crash box file for the primary inbox.
+ Or a crash-box name may be created from @code{vm-crash-box-suffix}
+-described below.
++described below.
+ (@pxref{Spool Files}.)
+ VM first copies the mail to the crash box, truncates the spool file
+ to zero messages, merges the crash box contents into the
+@@ -573,7 +573,7 @@ For example, you can set @code{vm-spool-files} like this
+ @end example
+
+ @noindent The folder @file{~/INBOX} has two spool files associated
+-with it in this
++with it in this
+ example, @file{/var/spool/mail/kyle} and @file{~/Mailbox}. Another
+ folder, @file{"~/Mail/bugs"} has one spool file
+ @file{/var/spool/mail/answerman} associated with it. Note that both of
+@@ -597,7 +597,7 @@ to be used to create possible spool file names for folders. Example:
+ @end example
+
+ @noindent With @code{vm-spool-file-suffixes} set this way, if you
+-visit a
++visit a
+ folder @file{~/mail/beekeeping}, when VM attempts to retrieve new mail for
+ that folder it will look for mail in @file{~/mail/beekeeping.spool}
+ and @file{~/mail/beekeeping-} in addition to scanning @code{vm-spool-files}
+@@ -648,7 +648,7 @@ mailbox. The retrieved messages can be automatically removed from the
+ By default VM will retrieve all the messages from a @acronym{POP} mailbox
+ before returning control of Emacs to you. If the mailbox is
+ large, the wait could be considerable. If you set
+-@code{vm-pop-max-message-size} to a positive numeric value, VM will not
++@code{vm-pop-max-message-size} to a positive numeric value, VM will not
+ automatically retrieve messages larger than this size. If VM is
+ retrieving messages because you invoked @code{vm-get-new-mail}
+ interactively, then VM will ask whether it should retrieve the
+@@ -717,7 +717,7 @@ Here is an example:
+ @cindex @acronym{IMAP} spool files
+ @cindex maildrop specification
+ VM can also use @dfn{@acronym{IMAP}} (@dfn{Internet Message Access Protocol}) to
+-retrieve mail from a mail server.
++retrieve mail from a mail server.
+ As with @acronym{POP}, instead of specifying a local file name in the
+ @code{vm-spool-files} definition, you would give an @acronym{IMAP} maildrop
+ specification (@ref{maildrop specification}, @ref{@acronym{POP} and @acronym{IMAP} Folders}).
+@@ -838,7 +838,7 @@ order to quickly form the summary of the folder.
+
+ @vindex vm-index-file-suffix
+ To use this feature, set the variable @code{vm-index-file-suffix} to a
+-file name extension, e.g.,
++file name extension, e.g.,
+
+ @example
+ (setq vm-index-file-suffix "idx")
+@@ -914,7 +914,8 @@ following formats:
+
+ @example
+ ``pop:@var{HOST}:@var{PORT}:@var{AUTH}:@var{USER}:@var{PASSWORD}''
+-``imap:@var{HOST}:@var{PORT}:@var{MAILBOX}:@var{AUTH}:@var{USER}:@var{PASSWORD}''@end example
++``imap:@var{HOST}:@var{PORT}:@var{MAILBOX}:@var{AUTH}:@var{USER}:@var{PASSWORD}''
++@end example
+
+ @noindent Remote mailboxes accessed by VM in this fashion are referred
+ to as @dfn{server folders} (and @dfn{@acronym{POP} folders} or @dfn{@acronym{IMAP}
+@@ -952,7 +953,7 @@ have VM speak @acronym{POP} over an @acronym{SSL} connection. Use
+ replace @samp{imap} with @samp{imap-ssl} or @samp{imap-ssh}, as needed.
+
+ @cindex @acronym{SSL}
+-@cindex @acronym{TLS}
++@cindex @acronym{TLS}
+ @dfn{@acronym{SSL}} refers to a protocol called @dfn{secure sockets layer},
+ which allows you to securely communicate with a mail server using encryption
+ technology. A newer version of the same protocol is called
+@@ -984,7 +985,7 @@ establish a port-forwarded connection to the mail server. (SSH must be able
+ to authenticate without a password, which means you must be using .shosts
+ authentication or RSA.)
+
+-@var{HOST} is the host name of the mail server.
++@var{HOST} is the host name of the mail server.
+
+ @cindex port, TCP
+ @var{PORT} is the TCP port number to connect to. The normal port
+@@ -1066,7 +1067,7 @@ machine HOST login USER password PASSWORD port PORT
+
+ @noindent where HOST, USER, PASSWORD and PORT are as detailed above.
+ Ensure that the variable @code{auth-sources} is customized to refer to
+-your authinfo file.
++your authinfo file.
+ @xref{Help for users,, Help for users, auth , Emacs auth-source}.
+ Then VM will read passwords from the file and you
+ don't need to type them in when accessing mail servers.
+@@ -1168,7 +1169,7 @@ need to specify the password for @acronym{POP} accounts in this definition.
+ @node @acronym{IMAP} Folders,, @acronym{POP} Folders, @acronym{POP} and @acronym{IMAP} Folders
+ @unnumberedsubsec @acronym{IMAP} Folders
+ @cindex @acronym{IMAP}
+-@cindex message attributes
++@cindex message attributes
+ @cindex message labels
+
+ @findex vm-visit-imap-folder
+@@ -1184,7 +1185,7 @@ Here, ``account-name'' is the name of an @acronym{IMAP} account declared in
+ @vindex vm-imap-folder-cache-directory
+ When you visit an @acronym{IMAP} folder, VM will
+ download copies of the messages that it finds there for you to read.
+-These messages are saved locally in a cache folder on the disk, in the
++These messages are saved locally in a cache folder on the disk, in the
+ directory specified by @code{vm-imap-folder-cache-directory} (or
+ @code{vm-folder-directory} if the former is not defined).
+ @vindex vm-imap-folder-cache-directory
+@@ -1207,8 +1208,7 @@ The variable's value should be an associative list of the form:
+ ((@var{IMAPDROP} @var{NAME}) ...)
+ @end example
+
+-@var{IMAPDROP} is an @acronym{IMAP} maildrop specification (@ref{maildrop
+- specification}).
++@var{IMAPDROP} is an IMAP maildrop specification (@ref{maildrop specification}).
+
+ @var{NAME} is a string that should give a less cumbersome name that you
+ will use to refer to this maildrop when using @code{vm-visit-imap-folder}.
+@@ -1313,7 +1313,7 @@ them. So, the changes made to the folders will be lost after you quit
+ VM. If you set it to @code{nil}, then VM refrains from reading and
+ writing the Thunderbird status flags. In this case, the changes made to
+ the folders are visible inside VM even after revisiting, but they will have
+-no effect for Thunderbird.
++no effect for Thunderbird.
+
+ WARNING: Keep in mind that all this applies to changes to message
+ attributes only. If you @i{expunge} a folder, then the deleted messages
+@@ -1336,7 +1336,7 @@ saving messages will be taken from the variable
+ directory where Thunderbird stores its folders. The folders visited
+ using @code{M-x vm-visit-folder} will continue to be found in
+ @code{vm-folder-directory}, thus allowing you to manage the two spaces
+-separately.
++separately.
+
+ If, on the other hand, you want to maintain a single space where VM
+ and Thunderbird can jointly operate, then you should set the variable
+@@ -1427,7 +1427,7 @@ spool, it is possible that the new mail might get retrieved into
+ another mail client and your ``Mail'' indicator won't reflect the
+ situation. If you need to be particular about new mail in such a
+ situation, then you should set the variable
+-@code{vm-mail-check-always}.
++@code{vm-mail-check-always}.
+
+ @node Crash Recovery,, Getting New Mail, Starting Up
+ @section Crash Recovery
+@@ -1818,14 +1818,14 @@ faces}.)
+ @vindex vm-word-wrap-paragraphs
+ Sometimes you will receive messages that contain lines that are
+ too long to fit on your screen without wrapping. Setting
+-@code{vm-word-wrap-paragraphs} to t will cause VM to use the
++@code{vm-word-wrap-paragraphs} to t will cause VM to use the
+ @file{longlines.el} library by Grossjohann, Schroeder and Yidong to
+ carry out word wrapping. You must have this library installed
+ somewhere on your @code{load-path}. Another way to deal with the
+ problem is to use the @code{visual-line-mode} in Emacs 23. You can
+ activate it automatically for viewing messages by adding the function
+ @code{turn-on-visual-line-mode} to the
+-@code{vm-presentation-mode-hook}.
++@code{vm-presentation-mode-hook}.
+
+ If you are unable to use either of these solutions, then you can use
+ Emacs's paragraph filling facility. If you set
+@@ -1932,7 +1932,7 @@ those buttons.
+
+ After decoding you will see either the decoded @acronym{MIME} objects or
+ button lines that must be activated to attempt display of the
+-@acronym{MIME} object.
++@acronym{MIME} object.
+
+ @vindex vm-mime-auto-displayed-content-types
+ @vindex vm-mime-auto-displayed-content-type-exceptions
+@@ -1983,7 +1983,7 @@ used move to particular buttons within the message presentation.
+ @kindex $ w
+ @kindex $ p
+ @kindex $ d
+-@kindex $ e
++@kindex $ e
+ @findex vm-mime-reader-map-pipe-to-command
+ @findex vm-delete-mime-object
+ @findex vm-mime-reader-map-display-using-default
+@@ -2030,7 +2030,7 @@ directory to save the attachments in. The @acronym{MIME} attachments can also
+ be deleted directly from the message bodies with @kbd{$ d}
+ (@code{vm-delete-mime-object}). The variable
+ @code{vm-mime-confirm-delete} controls whether a confirmation is asked
+-for.
++for.
+
+ It is a good idea to use @code{vm-mime-delete-after-saving} to delete
+ saved attachments instead of deleting them manually, because with the
+@@ -2116,7 +2116,7 @@ variable.
+
+ @vindex vm-mime-internal-content-type-exceptions
+ The variable @code{vm-mime-internal-content-type-exceptions} serves as
+-the exception list for @code{vm-mime-internal-content-types}. Its value
++the exception list for @code{vm-mime-internal-content-types}. Its value
+ should be a list of types that should not be displayed internally.
+
+ @cindex @acronym{HTML}
+@@ -2128,15 +2128,15 @@ displayed in Emacs using a variety of packages. VM knows about:
+ @cindex w3m
+ @cindex w3
+ @multitable @columnfractions .15 .85
+-@item lynx
++@item lynx
+ @tab The @command{lynx} browser used externally to convert @acronym{HTML}
+ to plain text
+-@item w3m
++@item w3m
+ @tab The @command{w3m} browser used externally to convert @acronym{HTML}
+ to plain text
+-@item emacs-w3
++@item emacs-w3
+ @tab The @samp{Emacs/W3} browser used internally in Emacs
+-@item emacs-w3m
++@item emacs-w3m
+ @tab The @samp{Emacs/W3M} browser used internally in Emacs
+ @end multitable
+
+@@ -2249,12 +2249,12 @@ As with the internal type list, there is an exception list that
+ you can use to specify types that you do not want displayed
+ externally. When VM is considering whether it should
+ automatically launch an external viewer, it will consult the
+-variable @code{vm-mime-external-content-type-exceptions}. If the
++variable @code{vm-mime-external-content-type-exceptions}. If the
+ type to be displayed is listed, VM will not launch a viewer.
+ This allows you to setup viewers for types that ordinarily you
+ would not want VM to display or for types that you normally want
+ to convert to some other type using @code{vm-mime-type-converter-alist}.
+-You can still display such a type with an external viewer by using
++You can still display such a type with an external viewer by using
+ @kbd{$ e}.
+
+ @vindex vm-mime-attachment-auto-suffix-alist
+@@ -2293,7 +2293,7 @@ Example:
+ )
+ @end example
+
+-@noindent VM will search the list for a matching type. The suffix
++@noindent VM will search the list for a matching type. The suffix
+ associated with the first type that matches will be used for the
+ temporary filename.
+
+@@ -2316,13 +2316,13 @@ function @code{image-type-available-p} with an image type such as
+ @vindex vm-mime-auto-displayed-content-types
+ Assuming that a particular image type, say @samp{tiff} is available,
+ you can include its @acronym{MIME} type in
+-@code{vm-mime-internal-content-types}, e.g.,
++@code{vm-mime-internal-content-types}, e.g.,
+ @example
+ (add-to-list 'vm-mime-internal-content-types "image/tiff")
+ @end example
+ You can also add the @acronym{MIME} type to the variable
+ @code{vm-mime-auto-displayed-content-types} so that VM will
+-automatically display all images of the type.
++automatically display all images of the type.
+ If the type is not included among the auto-displayed types, then the
+ image is initially shown as a button with a thumbnail image. Clicking on the
+ button with the middle mouse button expands the image to its full size.
+@@ -2494,22 +2494,22 @@ The first matching list element will be used. Be sure to include the
+ of causing error messages.
+
+ @vindex vm-mime-charset-font-alist
+-The variable @code{vm-mime-charset-font-alist} tells VM what font to use
++The variable @code{vm-mime-charset-font-alist} tells VM what font to use
+ to display a character set that cannot be displayed using
+ the default face. The value of this variable should be an
+ assoc list of character sets and fonts that can be used to display
+ them. The format of the list is:
+-
+-( (@var{CHARSET} . @var{FONT}) ...)
+-
+-@var{CHARSET} is a string naming a @acronym{MIME} registered character set such
++
++( (@var{CHARSET} . @var{FONT}) ...)
++
++@var{CHARSET} is a string naming a @acronym{MIME} registered character set such
+ as @samp{"iso-8859-5"}.
+-
++
+ @var{FONT} is a string naming a font that can be used to display
+ @var{CHARSET}.
+-
+-An example setup might be:
+-
++
++An example setup might be:
++
+ @example
+ (setq vm-mime-charset-font-alist
+ '(
+@@ -2597,19 +2597,19 @@ really have a specific @acronym{MIME} type. For example, a JPEG image
+ might be sent using @samp{application/octet-stream} type instead
+ of @samp{image/jpeg}, which would be the correct type. In many
+ cases the filename sent along with the mistyped file
+-(e.g. @file{foo.jpg}) suggests the correct type.
++(e.g. @file{foo.jpg}) suggests the correct type.
+
+ @vindex vm-infer-mime-types
+ If the variable
+-@code{vm-infer-mime-types} is set non-@code{nil}, VM will attempt to use
+-the filename sent with a @acronym{MIME} attachment to guess an attachment's
++@code{vm-infer-mime-types} is set non-@code{nil}, VM will attempt to use
++the filename sent with a @acronym{MIME} attachment to guess an attachment's
+ type if the attachment is of type @samp{application/octet-stream}.
+
+ @vindex vm-infer-mime-types-for-text
+ If the variable
+ @code{vm-infer-mime-types-for-text} is set non-@code{nil}, VM will
+ attempt to use filenames for attachments of type @samp{text/plain} as
+-well.
++well.
+
+ @node Sending Messages, Saving Messages, Reading Messages, Top
+ @chapter Sending Messages
+@@ -2638,11 +2638,11 @@ the copy is prepended with the value of the variable
+ with the text. Point is left before the inserted text, the mark after.
+ Any hook functions bound to @code{mail-yank-hooks} are run, after inserting
+ the text and setting point and mark. If a prefix argument is given,
+-this tells VM: ignore @code{mail-yank-hooks}, don't set the mark, don't
+-prepend the
++this tells VM: ignore @code{mail-yank-hooks}, don't set the mark, don't
++prepend the
+ value of @code{vm-included-text-prefix} to every yanked line, and don't yank
+ any headers other than those specified in
+-@code{vm-visible-headers} and @code{vm-invisible-headers}.
++@code{vm-visible-headers} and @code{vm-invisible-headers}.
+
+ @item @code{M-x vm-yank-message-other-folder}
+ This allows one to yank a message from a different folder than the
+@@ -2656,19 +2656,19 @@ with C-c C-v.
+ @vindex vm-send-using-mime
+ @cindex drag and drop
+ @item C-c C-a (@code{vm-attach-file}) or drag-and-drop a file
+-Attaches a file to the composition. When you send the message, VM
++Attaches a file to the composition. When you send the message, VM
+ will insert the file and @acronym{MIME} encode it. The variable
+ @code{vm-send-using-mime} must be set non-@code{nil} for this command to work.
+-You will be asked for the file's type, and a brief description of
++You will be asked for the file's type, and a brief description of
+ the attachment. The description is optional. If the file's type
+ is a text type, you will also be asked for the character set
+ in which the text should be displayed.
+ The new attachment will appear as a highlighted tag in the
+ composition buffer. You can use mouse button 3 on this tag
+ to set the default content disposition of the attachment. The
+-content disposition gives a hint to the recipient's mailer how to
+-treat the attachment. Specifically the disposition will indicate
+-whether the attachment should be displayed along with the message
++content disposition gives a hint to the recipient's mailer how to
++treat the attachment. Specifically the disposition will indicate
++whether the attachment should be displayed along with the message
+ or saved to a file. Any text in the composition that appears
+ before the tag will appear in a @acronym{MIME} text part before the
+ attachment when the message is encoded and sent. Similarly, any
+@@ -2765,7 +2765,7 @@ header lines that you can fill in. The @code{From} header is usually
+ standard and contains your email address. You can have VM fill it in
+ for you
+ automatically by setting the variable @code{vm-mail-header-from}. (It is
+-@code{nil} by default.)
++@code{nil} by default.)
+
+ @vindex vm-mail-use-sender-address
+ The variable @code{vm-mail-use-sender-address}, if set to @code{t}, asks VM
+@@ -2779,7 +2779,7 @@ older message.)
+ The variable
+ @code{vm-mail-mode-hidden-headers} can be used to hide some of the
+ header lines from the mail composition buffer. By default, the
+-headers ``References'' and ``X-Mailer'' are hidden.
++headers ``References'' and ``X-Mailer'' are hidden.
+
+ @vindex vm-mail-header-insert-date
+ @vindex vm-mail-header-insert-message-id
+@@ -2814,7 +2814,7 @@ composition and will analyze your message when you send it and
+ * @acronym{MIME} preview:: Previewing a @acronym{MIME} message before sending.
+ @end menu
+
+-@node @acronym{MIME} attachments, @acronym{MIME} characters, Sending @acronym{MIME} Messages, Sending @acronym{MIME} Messages,
++@node @acronym{MIME} attachments, @acronym{MIME} characters, Sending @acronym{MIME} Messages, Sending @acronym{MIME} Messages
+ @unnumberedsec @acronym{MIME} attachments
+
+ @kindex C-c C-a
+@@ -2822,7 +2822,7 @@ composition and will analyze your message when you send it and
+ To attach a file to your composition, use @kbd{C-c C-a}
+ (@code{vm-attach-file}). VM will ask you for the name of the
+ file, its type, a brief description and its character set if it is a
+-text attachment.
++text attachment.
+
+ An attachment will be represented in the composition as a tag line
+ like this
+@@ -2853,7 +2853,7 @@ disposition for all @acronym{MIME} types except @samp{application} and
+
+ @kindex C-c C-b
+ @findex vm-attach-buffer
+-To attach a buffer instead of a file, use @kbd{C-c C-b} (normally
++To attach a buffer instead of a file, use @kbd{C-c C-b} (normally
+ bound to @code{vm-attach-buffer}. You must not kill the
+ buffer that you attach until after the message has been sent.
+
+@@ -2868,7 +2868,7 @@ Alternatively, you can mark one or more messages in the parent folder
+ before invoking this command. All the marked messages will be
+ attached as a digest in the outgoing message.
+
+-@unnumberedsubsubsec Point-to-point attachment operations
++@unnumberedsubsec Point-to-point attachment operations
+
+ @cindex point-to-point attachment operations
+ A number of @dfn{point-to-point operations} allow you to attach objects
+@@ -2920,7 +2920,7 @@ set.
+
+ @vindex vm-mime-8bit-composition-charset
+ If there are character codes in the composition greater than 128, the
+-variable @code{vm-mime-8bit-composition-charset} tells VM what character
++variable @code{vm-mime-8bit-composition-charset} tells VM what character
+ set to assume when encoding the message. The default is
+ @samp{iso-8859-1}.
+
+@@ -2958,7 +2958,7 @@ The internet standards specify that the header lines of messages should
+ always be in 7 bit ASCII, even if the body of a message can use an
+ 8 bit character set. If you use other non-ASCII characters in typing
+ the headers then VM encodes their words using the @acronym{MIME} encoded-word
+-syntax, which is of the form @code{=?charset?encoding?encoded text?=}.
++syntax, which is of the form @code{=?charset?encoding?encoded text?=}.
+
+ @vindex vm-mime-encode-headers-regexp
+ @vindex vm-mime-encode-headers-type
+@@ -2972,7 +2972,7 @@ encoding by setting the variable @code{vm-mime-encode-headers-type}.
+ @vindex vm-mime-encode-words.regexp
+ @vindex vm-mime-encode-headers-words-regexp
+ The variables @code{vm-mime-encode-words.regexp} and
+-@code{vm-mime-encode-headers-words-regexp} control what is
++@code{vm-mime-encode-headers-words-regexp} control what is
+ meant by a ``word'' for VM for the purpose of encoding. By default, the
+ words are those containing any 8 bit character and delimited by white
+ space characters.
+@@ -3057,7 +3057,7 @@ negative) @var{n-1} messages as well as the current message. Also, all
+ the reply commands set the ``replied'' attribute of the messages to
+ which you are responding, but only when the reply is actually sent. The
+ reply commands can also be applied to marked messages. (@pxref{Marking
+-Messages}.)
++Messages}.)
+
+ @vindex vm-reply-ignored-addresses
+ If you are one of multiple recipients of a message and you use @kbd{f}
+@@ -3120,9 +3120,9 @@ message is sent. The format of the button in this case looks like:
+ @vindex vm-mime-alternative-yank-method
+ When citing a @code{multipart/alternative} @acronym{MIME} component, VM chooses the
+ alternative specified by the variable
+-@code{vm-mime-alternative-yank-method}. It can
++@code{vm-mime-alternative-yank-method}. It can
+ be defined similar to the variable
+-@code{vm-mime-alternative-show-method}. (@pxref{multipart/alternative}.)
++@code{vm-mime-alternative-show-method}. (@pxref{multipart/alternative}.)
+
+ @vindex vm-fill-paragraphs-containing-long-lines-in-reply
+ @vindex vm-fill-long-lines-in-reply-column
+@@ -3144,7 +3144,7 @@ Alternatively, you can fill individual paragraphs manually using
+ The method of @acronym{MIME} decoding for included text is relatively new in VM.
+ The older methods are the inclusion of plain text, due to Kyle Jones,
+ and the inclusion of text from the Presentation buffer, due to Robert
+-Fenk.
++Fenk.
+
+ @vindex vm-included-mime-types-list
+ @vindex vm-include-text-basic
+@@ -3185,7 +3185,7 @@ the variables @code{vm-included-text-headers} and
+ @section Forwarding Messages
+
+ VM has four commands to forward messages: @kbd{z}
+-(@code{vm-forward-message}),
++(@code{vm-forward-message}),
+ @kbd{Z} (@code{vm-forward-message-plain}),
+ @kbd{@@} (@code{vm-send-digest}) and
+ @kbd{B} (@code{vm-resend-message}).
+@@ -3196,12 +3196,12 @@ VM has four commands to forward messages: @kbd{z}
+ @kindex z
+ Typing @kbd{z} (@code{vm-forward-message}) puts you into a VM Mail
+ mode buffer just like @kbd{m}, except that the current message appears
+-as the body of the message in the VM Mail mode buffer.
++as the body of the message in the VM Mail mode buffer.
+
+ @vindex vm-forwarding-digest-type
+ The forwarded message is encapsulated as specified by the variable
+ @code{vm-forwarding-digest-type}. Recognized values are @code{nil}, "mime",
+-"rfc934" and "rfc1153". The default is "mime".
++"rfc934" and "rfc1153". The default is "mime".
+
+ If @code{vm-forwarding-digest-type} is set to @code{nil}, the forwarded
+ message is not encapsulated. It is included in a plain text form. Any
+@@ -3227,7 +3227,7 @@ the variables @code{vm-forwarded-headers} and
+ they are used differs based on the form of forwarding used.
+
+ @itemize
+-@item
++@item
+ For encapsulated forwarding, the default is to forward all
+ the headers, but you can limit the forwarded headers by setting
+ @code{vm-unforwarded-header-regexp} to a regular expression. All the
+@@ -3242,13 +3242,13 @@ latter is set to a regular expression, then the headers matching it are
+ omitted. Otherwise, only the headers listed in
+ @code{vm-forwarded-headers-plain} are included. The default settings
+ forward only the headers ``From'', ``To'', ``Cc'', ``Subject'', ``Date'' and
+-``In-Reply-To''.
++``In-Reply-To''.
+ @end itemize
+
+ @findex vm-forward-message-all-headers
+ The command @code{vm-forward-message-all-headers} forwards the
+ message with all headers intact, irrespective of the values of these
+-variables.
++variables.
+
+ @vindex vm-forwarding-subject-format
+ If the variable
+@@ -3390,7 +3390,7 @@ folders on the @acronym{IMAP} server.
+ You can override the effect of @code{vm-imap-save-to-server} by using
+ the specialized commands @code{vm-save-message-to-local-folder}
+ and @code{vm-save-message-to-imap-folder}, which do what their names
+-indicate.
++indicate.
+
+ @vindex vm-confirm-new-folders
+ If the value of the variable @code{vm-confirm-new-folders} is
+@@ -3425,7 +3425,7 @@ command. There is a separate variable
+ works like @code{vm-delete-after-saving} but applies to the @kbd{A}
+ (@code{vm-auto-archive-messages}) command (see below).
+
+-@unnumberedsubsec vm-auto-folder-alist
++@unnumberedsec vm-auto-folder-alist
+
+ @vindex vm-auto-folder-alist
+ The variable @code{vm-auto-folder-alist} is used to specify
+@@ -3441,12 +3441,12 @@ list of the form:
+
+ @noindent where @var{header-name} and @var{regexp} are strings, and
+ @var{folder-name} is a string or an s-expression that evaluates to a
+-string. The value of @var{folder-name} can be
++string. The value of @var{folder-name} can be
+
+ @itemize
+-@item
++@item
+ the absolute path name of a local folder,
+-@item
++@item
+ a relative path name -- relative to @code{vm-folder-directory} or the
+ @code{default-directory} of the currently visited folder, whichever is
+ non-nil, or
+@@ -3458,7 +3458,7 @@ If any part of the contents of the message header named by
+ @var{header-name} is matched by the regular expression
+ @var{regexp}, VM will evaluate the corresponding
+ @var{folder-name} and use the result as the default when
+-prompting for a folder to save the message in.
++prompting for a folder to save the message in.
+
+ When @var{folder-name} is evaluated, the current buffer will contain only
+ the contents of the header named by @var{header-name}. It is safe to
+@@ -3498,7 +3498,7 @@ prefix argument, confirmation will be requested for each save.
+ Runs a shell command with some or all of the current message as input.
+ By default, the entire message is used. However, the leading and
+ trailing message separator lines are not included. When applied to
+-multiple messages, the command is invoked on each message individually.@*
++multiple messages, the command is invoked on each message individually.@*
+ If invoked with one @t{C-u} the text portion of the message is used.@*
+ If invoked with two @t{C-u}'s the header portion of the message is used.@*
+ In invoked with three @t{C-u}'s the visible headers and the text
+@@ -3520,7 +3520,7 @@ messages in the mbox format. In contrast to
+ @code{vm-pipe-message-to-command}, the leading and trailing separator
+ lines are included. This behaviour can be altered using the variables
+ @code{vm-pipe-messages-to-command-start} and
+-@code{vm-pipe-messages-to-command-end}.
++@code{vm-pipe-messages-to-command-end}.
+ @findex vm-pipe-messages-to-command-discard-output
+ @kindex |n
+ @item |n (@code{vm-pipe-messages-to-command-discard-output})
+@@ -3566,7 +3566,7 @@ Flags all messages with the same subject as the current message (ignoring
+ @kindex K
+ @item K (@code{vm-kill-thread-subtree})
+ Flags all messages in the thread subtree of the current message for
+-deletion.
++deletion.
+ @findex vm-delete-duplicate-messages
+ @item @code{vm-delete-duplicate-messages}
+ Flags duplicate messages for deletion. The duplicate messages are
+@@ -3607,7 +3607,7 @@ confirmation is asked for. So you should use this setting only if
+ your normal workflow includes expunging messages as part of save. The
+ variable @code{vm-expunge-before-quit} can be similarly set to
+ non-@code{nil} to cause VM to expunge deleted messages whenever you
+-quit the folder.
++quit the folder.
+
+ @cindex vm-save-folder-no-expunge
+ @cindex vm-quit-no-expunge
+@@ -3810,7 +3810,7 @@ The message has been replied to.
+ @end table
+
+ @findex vm-set-message-attributes
+-You can set and unset these attributes directly by using
++You can set and unset these attributes directly by using
+ @code{M-x vm-set-message-attributes}. You will be prompted in the
+ minibuffer for names of the attributes and you can enter them with
+ completion. Every attribute has an ``un-'' prefixed name you can use
+@@ -4014,7 +4014,7 @@ subject lines. Sorting them by date would sort them chronologically
+ according to when the threads were initiated. Sorting them by activity
+ is a variant of the chronological order where the dates of latest
+ activity are given prominence instead of the dates of the initial
+-messages.
++messages.
+
+ @vindex vm-sort-subthreads
+ Normally, thread-based grouping applies to entire threads as well as
+@@ -4143,13 +4143,14 @@ The seventh is `e' or ` ', for messages that have been edited.
+ @vindex vm-summary-attachment-indicator
+ @item P
+ indicator for a message with attachments.
+-The variable @code{vm-summary-attachment-indicator} is the inserted
+-string, by default a @kbd{$}.
+-@vindex vm-summary-postponed-indicator
++The variable
++@vindex vm-summary-attachment-indicator
++@code{vm-summary-attachment-indicator} is the inserted string, by default a @code{$}.
+ @item p
+-indicator for a postponed message.
+-The variable @code{vm-summary-postponed-indicator} is the inserted
+-string, by default a @kbd{P}.
++indicator for a postponed message.
++The variable
++@vindex vm-summary-postponed-indicator
++@code{vm-summary-postponed-indicator} is the inserted string, by default a @code{P}.
+ @item c
+ number of characters in message (ignoring headers)
+ @item S
+@@ -4260,7 +4261,7 @@ again, you can reuse the saved summary format. Set the variable
+ @vindex vm-summary-thread-indent-level
+ @vindex vm-summary-maximum-thread-indentation
+ When message threading is enabled (@pxref{Threading}),
+-you will find that the
++you will find that the
+ Summary buffer has all related messages are grouped together and the
+ subject titles are indented to show hierarchical relationships.
+ Parent messages are displayed before their children and children are
+@@ -4282,7 +4283,7 @@ non-@code{nil} in your VM init file. Example:
+ @noindent Do not use @code{setq}, as this will only set the value of
+ the variable in a single buffer. Once you've started VM you should
+ not change the value of this variable. Rather you should use
+-@kbd{C-t} to control the thread display. @xref{Threading}.
++@kbd{C-t} to control the thread display. @xref{Threading}.
+
+ @unnumberedsubsec Manual control of thread indentation
+
+@@ -4339,7 +4340,7 @@ collapsed. The command @kbd{T}
+ (@code{vm-toggle-thread}) allows you to expand a collapsed thread or
+ collapse an expanded thread. The commands @code{vm-expand-thread} and
+ @code{vm-collapse-thread} implement the more specific versions of the
+-function.
++function.
+
+ @vindex vm-summary-visible
+ When threads are folded, not all messages in the threads are hidden.
+@@ -4411,7 +4412,7 @@ extend to thread operations in this way. They include deleting,
+ undeleting, marking, unmarking, forwarding, saving/deleting
+ attachments etc. Replying to messages cannot be invoked as a thread
+ operation, to prevent the accidental sending of replies to unintended
+-recipients.
++recipients.
+
+ The thread operations can give rise to surprising behavior. Even
+ though it appears that an operation was invoked on a single message,
+@@ -4421,7 +4422,7 @@ unconditionally. A safer option is to set
+ `vm-enable-thread-operations' to `ask'. In that case, VM asks for
+ confirmation every time an operation is applicable to all the messages
+ in a collapsed thread. You can override the confirmation dialog by
+-giving a prefix argument `C-u' to your operation.
++giving a prefix argument `C-u' to your operation.
+
+ @node Summary Faces,, Thread Operations, Summaries
+ @section Summary Faces
+@@ -4585,10 +4586,10 @@ The command @code{vm-create-search-folder} (bound to @kbd{V C}) lets you
+ interactively create a virtual folder from the messages of the current
+ folder, using exactly one selector to choose the messages. If you type
+ @kbd{V C header @key{RET} greeting}, VM will create a folder containing only
+-those
++those
+ messages that contain the string @samp{greeting} in one of its headers.
+ @xref{Virtual Selectors}, for virtual selectors you can use for this
+-purpose.
++purpose.
+
+ @findex vm-create-virtual-folder-of-threads
+ @findex vm-create-search-folder-of-threads
+@@ -4665,7 +4666,7 @@ text of messages. The key binding @kbd{V t}
+ (@code{vm-create-text-virtual-folder}) can be used to find all messages with
+ the string. This is more efficient than the @code{vm-isearch-forward}
+ command (@pxref{Selecting Messages}) because it only searches in the text part
+-of message bodies, not inside @acronym{MIME} attachments.
++of message bodies, not inside @acronym{MIME} attachments.
+
+ @node Defined Folders, Working with Virtual Folders, Search Folders, Virtual Folders
+ @section Defined Virtual Folders
+@@ -4765,7 +4766,7 @@ headers or the text portion of the message;
+ @var{ARG} should be a regular expression.
+ @item header-field
+ matches messages if the header field named @var{ARG1} has text matching
+-@var{ARG2}.
++@var{ARG2}.
+ @end table
+
+ @unnumberedsubsubsec Selectors based on message headers
+@@ -4791,7 +4792,7 @@ matches message if its addresses are in the @acronym{BBDB}. With an optional
+ first argument you can specify the address class (@code{authors} or
+ @code{recipients}) . With an optional second argument @code{t}, the
+ selector checks only the first address specified in the message.
+-Examples:
++Examples:
+
+ @example
+ (in-bbdb authors)
+@@ -4876,7 +4877,7 @@ matches message if it is not flagged.
+ matches message if it has been replied to.
+ @item answered
+ matches message if it has been replied to. Same as the @code{replied}
+-selector.
++selector.
+ @item unreplied
+ matches message if it has not been replied to.
+ @item unanswered
+@@ -4987,7 +4988,7 @@ selector. Example:
+ (thread (less-chars-than 1000))
+ @end example
+ @noindent matches threads if all their messages contain fewer than 1000
+-characters.
++characters.
+ @end table
+
+ @unnumberedsubsubsec Selectors based on context
+@@ -5174,7 +5175,7 @@ the offline operation. Similarly, @emph{all} the messages that may have
+ been expunged in the cache folder are expunged on the server.
+
+ @anchor{@acronym{UIDVALIDITY}}
+-@unnumberedsubsec @acronym{UIDVALIDITY}
++@unnumberedsec @acronym{UIDVALIDITY}
+
+ @cindex @acronym{UIDVALIDITY}
+ Messages on an @acronym{IMAP} server have unique id numbers called UID's.
+@@ -5271,7 +5272,7 @@ Setting @code{vm-frame-per-composition} non-@code{nil} causes VM to create a
+ new frame for the composition buffer when you run any of VM's
+ message composition commands. E.g. @code{vm-reply-include-text},
+ @code{vm-mail}, @code{vm-forward-message}. When you finish editing the
+-composition and send it, or when you kill the composition buffer,
++composition and send it, or when you kill the composition buffer,
+ the frame will be deleted.
+
+ @vindex vm-frame-per-edit
+@@ -5300,7 +5301,7 @@ When VM is deciding whether to create a new frame, it checks
+ other existing frames to see if a buffer that it wants to display in a
+ frame is already being displayed somewhere. If so, then VM will
+ not create a new frame. If you don't want VM to search other
+-frames, set the variable @code{vm-search-other-frames} to @code{nil}. VM will
++frames, set the variable @code{vm-search-other-frames} to @code{nil}. VM will
+ still search the currently selected frame and will not create a
+ new frame if the buffer that it wants to display is visible there.
+
+@@ -5371,7 +5372,7 @@ classes are:
+ searching-message
+ @end display
+
+-When a VM command is executed, window configurations are searched
++When a VM command is executed, window configurations are searched
+ for as follows. First, a command specific configuration is
+ searched for. If one is found, it is used. Next a class
+ configuration is searched for. Not all commands are in command
+@@ -5437,24 +5438,24 @@ is a match.
+ @item compose
+ The Compose button. Clicking on this button runs the command
+ @code{vm-toolbar-compose-command}. This command is normally just an
+-alias for the @code{vm-mail} command. If you want the Compose button to
++alias for the @code{vm-mail} command. If you want the Compose button to
+ do something else, redefine @code{vm-toolbar-compose-command} using
+ either @code{fset} or @code{defun}.
+ @item delete/undelete
+-The Delete/Undelete button. If the current message is marked for
++The Delete/Undelete button. If the current message is marked for
+ deletion, this button displays as an Undelete button. Otherwise
+ it displays as a Delete button.
+ @item file
+ The File button. Clicking on this button runs the command
+ @code{vm-toolbar-file-command}. This command is normally just an
+-alias for the @code{vm-mail} command. If you want the File button to
++alias for the @code{vm-mail} command. If you want the File button to
+ do something else, redefine @code{vm-toolbar-file-command} using
+ either @code{fset} or @code{defun}.
+ @item getmail
+ The Get Mail button. Clicking on this button runs the command
+ @code{vm-toolbar-getmail-command}. This command is normally just an
+ alias for the @code{vm-get-new-mail} command. If you want the
+-Get Mail button to
++Get Mail button to
+ do something else, redefine @code{vm-toolbar-getmail-command} using
+ either @code{fset} or @code{defun}.
+ @item help
+@@ -5462,10 +5463,10 @@ The Helper button. Clicking on this button runs the command
+ @code{vm-toolbar-helper-command}. This command normally just runs
+ @code{vm-help}, but it also does context specific things under certain
+ conditions. If the current message is a @acronym{MIME} message that needs
+-decoding, the Helper button becomes the Decode @acronym{MIME} button. If the
+-current folder has an auto-save file that appears to be the result
+-of an Emacs or system crash, the Helper button becomes the Recover
+-button. Clicking on the Recover button runs @code{vm-recover-folder},
++decoding, the Helper button becomes the Decode @acronym{MIME} button. If the
++current folder has an auto-save file that appears to be the result
++of an Emacs or system crash, the Helper button becomes the Recover
++button. Clicking on the Recover button runs @code{vm-recover-folder},
+ so you can recover your folder from an existing auto-save file.
+ @item mime
+ The Decode @acronym{MIME} button. Clicking on this button runs the command
+@@ -5474,26 +5475,26 @@ alias for the @code{vm-decode-mime-message} command.
+ @item next
+ The Next button. Clicking on this button runs the command
+ @code{vm-toolbar-next-command}. This command is normally just an
+-alias for the @code{vm-next-message} command. If you want the Next button to
++alias for the @code{vm-next-message} command. If you want the Next button to
+ do something else, redefine @code{vm-toolbar-next-command} using
+ either @code{fset} or @code{defun}.
+ @item previous
+ The Previous button. Clicking on this button runs the command
+ @code{vm-toolbar-previous-command}. This command is normally just an
+-alias for the @code{vm-previous-message} command. If you want the Previous button to
++alias for the @code{vm-previous-message} command. If you want the Previous button to
+ do something else, redefine @code{vm-toolbar-previous-command} using
+ either @code{fset} or @code{defun}.
+ @item print
+ The Print button. Clicking on this button runs the command
+ @code{vm-toolbar-print-command}. This command is normally just an
+ alias for the @code{vm-print-message} command. If you want the
+-Print button to
++Print button to
+ do something else, redefine @code{vm-toolbar-print-command} using
+ either @code{fset} or @code{defun}.
+ @item quit
+ The Quit button. Clicking on this button runs the command
+ @code{vm-toolbar-quit-command}. This command is normally just an
+-alias for the @code{vm-quit} command. If you want the Quit button to
++alias for the @code{vm-quit} command. If you want the Quit button to
+ do something else, redefine @code{vm-toolbar-quit-command} using
+ either @code{fset} or @code{defun}.
+ @item reply
+@@ -5506,7 +5507,7 @@ either @code{fset} or @code{defun}.
+ @item visit
+ The Visit button. Clicking on this button runs the command
+ @code{vm-toolbar-visit-command}. This command is normally just an
+-alias for the @code{vm-visit-folder} command. If you want the Visit button to
++alias for the @code{vm-visit-folder} command. If you want the Visit button to
+ do something else, redefine @code{vm-toolbar-visit-command} using
+ either @code{fset} or @code{defun}.
+ @item nil
+@@ -5522,7 +5523,7 @@ the button that comes before and the button that comes after the
+ integer.
+
+ @vindex vm-toolbar-orientation
+-The variable @code{vm-toolbar-orientation} controls on which side of the
++The variable @code{vm-toolbar-orientation} controls on which side of the
+ frame the toolbar is displayed. E.g.
+
+ @example
+@@ -5587,7 +5588,7 @@ message. E.g. reply, print, save, delete.
+ This provides a menu button labelled @code{[Emacs]} that causes the
+ menu bar to change to the global Emacs menu bar. On that menu bar you
+ will find a @code{[VM]} button that can return you to the VM menu
+-bar.
++bar.
+ @item folder
+ This is a menu of folder related commands. You can visit a
+ folder, save a folder, quit a folder and so on.
+@@ -5649,7 +5650,7 @@ large message can take a long time. Since @acronym{URL}s often occur near
+ the beginning and near the end of messages, VM offers a way to
+ search just those parts of a message for @acronym{URL}s. The variable
+ @code{vm-url-search-limit} specifies how much of a message to search.
+-If @code{vm-url-search-limit} has a positive numeric value @var{N}, VM
++If @code{vm-url-search-limit} has a positive numeric value @var{N}, VM
+ will search the first @math{@var{N} / 2} characters and the last
+ @math{@var{N} / 2} characters in the message for @acronym{URL}s.
+
+@@ -5676,7 +5677,7 @@ highlighted @acronym{URL} in the body of a message, that @acronym{URL} will be s
+ to the browser specified by @code{vm-url-browser}.
+ @item button-3 (right button usually)
+ Context Menu. If the mouse pointer is over the contents of the
+-From header, button-3 pops up a menu of actions that can be taken
++From header, button-3 pops up a menu of actions that can be taken
+ using the author of the message as a parameter. For instance,
+ you may want to create a virtual folder containing all the
+ messages in the current folder written by this author. If the
+@@ -5721,7 +5722,7 @@ external browsers.
+
+ VM has many hook variables that allow you to run functions when
+ certain events occur. Here is a list of the hooks and when they
+-are run. (If you don't write Emacs-Lisp programs you
++are run. (If you don't write Emacs-Lisp programs you
+ can skip this chapter.)
+
+ @table @code
+@@ -5908,7 +5909,7 @@ List of hook functions to run when you quit VM.
+ This applies to all VM quit commands, including @code{vm-quit-no-change}.
+ So you should not include in this hook any functions that alter the folder.
+ For automatically expunging deleted messages, set the variable
+-@code{vm-expunge-before-quit}.
++@code{vm-expunge-before-quit}.
+
+ @item vm-summary-pointer-update-hook
+ @vindex vm-summary-pointer-update-hook
+@@ -5948,7 +5949,7 @@ List of hook functions that are run just after all menus are initialized.
+
+ @item vm-mime-display-function
+ @vindex vm-mime-display-function
+-If non-@code{nil}, this should name a function to be called inside
++If non-@code{nil}, this should name a function to be called inside
+ @code{vm-decode-mime-message} to do the @acronym{MIME} display of the current
+ message. The function is called with no arguments, and at the
+ time of the call the current buffer will be the @dfn{presentation
+@@ -6021,7 +6022,7 @@ packages in your environment.
+ Useful ways to customize VM.
+ @section Reading messages
+
+-@unnumberedsubsubsec Shrunken headers
++@unnumberedsubsec Shrunken headers
+
+ @cindex headers, shrunken
+ @vindex vm-enable-addons
+@@ -6069,7 +6070,7 @@ part. You can use the same function to change the method back to
+
+ @section Saving messages and attachments
+
+-@unnumberedsubsubsec Auto saving attachments
++@unnumberedsubsec Auto saving attachments
+
+ Messages with attachments get bulky and increase the size of VM
+ folders, slowing down VM. The functions
+@@ -6085,7 +6086,7 @@ attachments. It saves the attachments in a subdirectory of
+ @code{vm-mime-save-attachment-save-directory}, whose name is obtained
+ by concating the ``from'', ``subject'' and ``date'' headers of the
+ message. This can be customized via the variable
+-@code{vm-mime-auto-save-all-attachments-subdir}.
++@code{vm-mime-auto-save-all-attachments-subdir}.
+
+ You can save the attachments of all new messages automatically by
+ putting @code{vm-mime-auto-save-all-attachments} in
+@@ -6104,14 +6105,14 @@ putting @code{vm-mime-auto-save-all-attachments} in
+ @cindex postponing message composition
+ Sometimes, you might want to interrupt the composing of a message and
+ continue it later. This is called @dfn{postponing}. The add-on called
+-@samp{vm-pine} provides this
+-functionality.
++@samp{vm-pine} provides this
++functionality.
+
+ @findex vm-postpone-composition
+ @kindex C-c C-d
+ @vindex vm-postponed-folder
+ In a message composition buffer, the command @key{C-c C-d}
+-(@code{vm-postpone-composition})
++(@code{vm-postpone-composition})
+ postpones the current composition. The postponed message is stored in the
+ folder specified in @code{vm-postponed-folder}. (The default is a folder
+ called ``postponed''). When called with a prefix argument,
+@@ -6137,7 +6138,7 @@ encoded. This is a limitation of this package.
+ @cindex Kyle Jones
+ VM was developed by Kyle Jones, starting in early 1989. The first
+ public release of VM was version 4.10, released in June of that year.
+-The original development environment was GNU Emacs 18.52.
++The original development environment was GNU Emacs 18.52.
+
+ @cindex Wonderworks
+ The copyright for the code was retained by Kyle Jones. Hence, the
+@@ -6157,12 +6158,12 @@ also acquired a number of add-on's contributed by various developers,
+ including himself, and included them in his distribution. Kyle Jones
+ agreed to hand over the maintenance of VM to Robert Fenk in February,
+ 2007. Further releases were made by Robert Fenk under the @code{8.0.x}
+-series.
++series.
+
+ @cindex Savannah
+ All these releases are available from the new project page of VM hosted
+ by Savannah, at the @acronym{URL}
+-@uref{http://savannah.nongnu.org/projects/viewmail/}.
++@uref{http://savannah.nongnu.org/projects/viewmail/}.
+ According to the project page, ``this site exists to continue VM development
+ after version 7.19 as a community project.''
+
+@@ -6179,7 +6180,7 @@ The project code base is maintained at the Launchpad web site
+ @uref{http://launchpad.net/vm}. The ``VM Development Team'' can be
+ reached here using the email address @email{vm@@lists.launchpad.net}.
+
+-@unnumberedsubsec Savannah project site
++@unnumberedsec Savannah project site
+
+ The changes made in each of the releases is described in the @samp{NEWS}
+ file, which can be found in the source code repository. The changes made
+@@ -6197,7 +6198,7 @@ the @code{Source Code} menu. The @code{Use Bazaar} entry in the menu
+ takes you to a page that lists various version of VM source code, and
+ gives instructions for downloading it via @samp{Bazaar} (@code{bzr}).
+
+-@unnumberedsubsec Technical support
++@unnumberedsec Technical support
+
+ VM has a dedicated usenet newsgroup @code{gnu.emacs.vm.info} and a
+ gmane newsgroup @code{gmane.emacs.viewmail}, in which the developers
+@@ -6220,13 +6221,13 @@ alternative approaches to narrow down the problem.
+
+ The best way to report bugs is via the Launchpad bug tacker. See below.
+
+-@unnumberedsubsec Get Involved
++@unnumberedsec Get Involved
+
+ VM is now supported and maintained by the user community. So, as an
+-active user, your participation is key to keep the project going.
++active user, your participation is key to keep the project going.
+
+ Consider registering as a user of the Launchpad development site
+-@uref{http://launchpad.net/vm}. This
++@uref{http://launchpad.net/vm}. This
+ allows you to communicate with the developers and other users using a
+ private Launchpad email address. In particular, you can contribute bug
+ reports and participate in the bug report discussions.
+@@ -6239,7 +6240,7 @@ To download the development version, identify the ``branch'' that you
+ would like to download, and use Bazaar version control system with an
+ appropriate Launchpad @acronym{URL}. For example, the command
+ @command{bzr get lp:vm} can be used to download the main development
+-branch.
++branch.
+
+ You can also make change to the branch you have downloaded, and submit
+ them to the developers for inclusion in the project. The @code{README}
+@@ -6249,7 +6250,7 @@ site, and submit your changes to that branch. The developers can review
+ and merge your branch with the main development when your changes
+ are ready.
+
+-@unnumberedsubsec Contributors
++@unnumberedsec Contributors
+
+ Contributions to the code from the following members of the VM community
+ are gratefully acknowledged:
+@@ -6338,20 +6339,20 @@ Here are some of the VM features that its users find most valuable:
+ VM's reliability and stability.
+ @item
+ Integration within Emacs, providing ease of editing and familiar key
+-bindings.
++bindings.
+ @item
+ Speed of usage facilitated by keyboard commands.
+ @item
+ Integration with @acronym{BBDB} for maintaining contacts and email addresses.
+ @item
+ VM-Pcrisis for managing multiple mail identities.
+-@item
++@item
+ Integration with emacs-w3m for viewing @acronym{HTML} email.
+ @item
+ Comprehensive @acronym{MIME} support.
+ @item
+ Ability to operate on all attachments of a message, such as saving or
+-deleting.
++deleting.
+ @item
+ Interactive virtual folders (created by @code{V C}).
+ @item
+@@ -6368,7 +6369,7 @@ Some of the ideas being worked on for future extensions of VM are the
+ following:
+
+ @itemize
+-@item
++@item
+ Ability to compose rich text email messages (in 'text/enriched' and
+ 'text/html' modes).
+ @item
+@@ -6422,7 +6423,7 @@ automatically included in the bug-report.
+ @chapter VM Internals
+
+ This section gives a sketchy overview of the VM internals for the
+-developers/programmers.
++developers/programmers.
+
+ @menu
+ * Folder Internals:: Structure of the folders
+@@ -6474,7 +6475,7 @@ Three variants of the @code{mbox} format are recognized by VM, called
+ @code{From_}, @code{BellFrom_} and @code{From_with-Content-Length}.
+ In a @code{From_} type mbox, every message has a leading and trailing
+ separator line, as indicated above. In a @code{BellFrom_} type mbox,
+-the trailing separator line can be missing. (This is so that the
++the trailing separator line can be missing. (This is so that the
+ mbox's from the old System V format can be handled.) In a
+ @code{From_with-Content-Length} type mbox, the @code{From} separator
+ line stores the length of the message. So, no trailing separator line
+@@ -6505,7 +6506,7 @@ folder, VM attempts to put the cursor back at this position.
+ @item
+ @inindex X-VM-Last-Modified
+ X-VM-Last-Modified. The date and time at which the folder was last
+-modified.
++modified.
+ @item
+ @inindex X-VM-Message-order
+ X-VM-Message-Order. This header lists the order in which the messages
+@@ -6513,7 +6514,7 @@ should be listed.
+ @item
+ @inindex X-VM-Labels
+ X-VM-Labels. This header lists the message labels that have been used in
+-the folder.
++the folder.
+ @item
+ @inindex X-VM-VHeader
+ X-VM-VHeader. This header lists the values of @code{vm-visible-headers}
+@@ -6545,7 +6546,7 @@ server are listed. In the normal cases, the variable is just nil in
+ @acronym{IMAP} folders.)
+ @end itemize
+
+-@unnumberedsubsubsec Folder variables
++@unnumberedsubsec Folder variables
+
+ Internal to Emacs, VM stores the folder as simply a text buffer. However, it
+ remembers a variety of data about the message contents in the buffer
+@@ -6565,7 +6566,7 @@ the messages are stored: one of 'babyl, 'From_, 'BellFrom_,
+ @inindex vm-folder-access-method
+ @code{vm-folder-access-method}. The method for accessing the server
+ message store: 'pop for pop-folders and 'imap for imap-folders, and nil
+-for all other folders.
++for all other folders.
+ @item
+ @inindex vm-folder-access-data
+ @code{vm-folder-access-data}. A vector of data for accessing the server
+@@ -6644,7 +6645,7 @@ bodies were fetched for viewing or other operations.
+ @inindex vm-fetched-messages
+ @code{vm-fetched-message-count}. The number of messages in
+ @code{vm-fetched-messages}. An attempt is made to keep this below the
+-@code{vm-fetched-message-limit}.
++@code{vm-fetched-message-limit}.
+ @item
+ @inindex vm-mime-decoded
+ @inindex @acronym{MIME}
+@@ -6653,22 +6654,22 @@ display: @code{undecoded} if the message is shown in undecoded plain
+ text form, @code{decoded} if the message is shown decoded, and
+ @code{buttons} if the message is shown as a series of buttons for all
+ its @acronym{MIME} components. The @kbd{D} command cycles through these
+-states.
++states.
+ @item
+ @inindex vm-system-state
+ @code{vm-system-state}. The state of VM in a Folder buffer or
+-Presentation buffer:
++Presentation buffer:
+
+ @itemize
+-@item
++@item
+ @inindex previewing
+ @code{previewing}.
+ if a message is being previewed.
+-@item
++@item
+ @inindex showing
+ @code{showing}.
+ if a full message is being shown.
+-@item
++@item
+ @inindex reading
+ @code{reading}.
+ if message reading is in progress.
+@@ -6680,15 +6681,15 @@ A message edit buffer is in state @code{editing}.
+ A message composition buffer may be in one of these states:
+
+ @itemize
+-@item
++@item
+ @inindex forwarding
+ @code{forwarding}.
+ if a message is being forwarded.
+-@item
++@item
+ @inindex replying
+ @code{replying}.
+ if a message is being replied to.
+-@item
++@item
+ @inindex redistributing
+ @code{redistributing}.
+ if a message is being redistributed.
+@@ -6726,7 +6727,7 @@ MAILDROP specification of the server folder.
+ @code{pop-process} or @code{imap-process}.
+ The Emacs process being used to communicate with the server for this
+ folder. (Each folder uses a separate process to avoid unwanted
+-interference.)
++interference.)
+ @item
+ @code{imap-uid-validity}.
+ The @acronym{UIDVALIDITY} value of the @acronym{IMAP} folder.
+@@ -6987,7 +6988,7 @@ edited-flag. Flag to indicate if the message has been edited.
+ @inindex redistributed-flag
+ @item
+ redistributed-flag. Flag to indicate if the message has been
+-redistributed.
++redistributed.
+ @end itemize
+
+ @subsubheading Cached Data
+@@ -7017,7 +7018,7 @@ byte-count. The size of the message in bytes.
+ weekday, monthday, month, year, hour, zone. Data indicating the date of
+ the message.
+ @inindex full-name
+-@item
++@item
+ full-name. The full name of the author of the message. This is a
+ @acronym{MIME}-decoded string with text properties.
+ @inindex from
+@@ -7039,7 +7040,7 @@ string with text properties.
+ vheaders-regexp. A regular expression that can be used to find the
+ start of the visible headers. The headers must have been already
+ ordered so that the visible headers are at the bottom of the headers
+-section.
++section.
+ @inindex to
+ @item
+ to. Addresses of the recipients of the message in a comma separated
+@@ -7097,7 +7098,7 @@ imap-uid. The @acronym{UID} of the message on the @acronym{IMAP} server.
+ @inindex imap-uid-validity
+ @item
+ imap-uid-validity. The @acronym{UIDVALIDITY} value of the message on the
+-@acronym{IMAP} server.
++@acronym{IMAP} server.
+ @inindex spam-score
+ @item
+ spam-score. The spam score of the message.
+@@ -7110,13 +7111,13 @@ is non-nil.
+
+ @inindex edit-buffer
+ @itemize
+-@item
++@item
+ edit-buffer. If the message is being edited, this is the buffer being
+ used.
+ @inindex virtual-messages-sym
+ @item
+ virtual-messages-sym. List of virtual messages mirroring the current real
+-message, represented by an uninterned symbol written as ``<v>''.
++message, represented by an uninterned symbol written as ``<v>''.
+ @inindex stuff-flag
+ @item
+ stuff-flag. Flag to indicates if the attribute changes have been
+@@ -7175,7 +7176,7 @@ stripped from attribute values. (An example is @code{(``attachment'',
+ @inindex qdisposition
+ @item
+ @code{qdisposition}. Like disposition, but the quotation marks are not
+-stripped.
++stripped.
+ @inindex header-start
+ @item
+ @code{header-start}, @code{header-end}, @code{body-start} and
+@@ -7193,7 +7194,7 @@ stored as properties of this symbol:
+ @item
+ @code{vm-mime-display-external-generic}.
+ This property stores the id of the process used to externally display
+-the @acronym{MIME} part as well as the name of the temporary file used.
++the @acronym{MIME} part as well as the name of the temporary file used.
+ @inindex vm-mime-display-internal-image-xxxx
+ @item
+ @code{vm-mime-display-internal-image-xxxx}.
+@@ -7204,7 +7205,7 @@ a list with a number of other data items.
+ @item
+ @code{vm-image-modified}.
+ This property stores a boolean flag indicating that the image has been
+-modified.
++modified.
+ @inindex vm-mime-display-internal-audio/basic
+ @item
+ @code{vm-mime-display-internal-audio/basic}.
+@@ -7219,7 +7220,7 @@ clip is stored.
+ @code{message-symbol}. A reference to the message that contains the @acronym{MIME}
+ part. Represented as a symbol (that is, an interned key into a hash
+ table). This is a different symbol from the real-message-sym of the
+-message.
++message.
+ @inindex display-error
+ @item
+ @code{display-error}. If the display of a @acronym{MIME} part fails, its error string is
+@@ -7239,7 +7240,7 @@ this part, then this holds the original unconverted layout.
+ @inindex vm-message-list
+ @inindex vm-message-pointer
+ Every Folder buffer has a @code{vm-message-list} and a
+-@code{vm-message-pointer} list containing message data vectors.
++@code{vm-message-pointer} list containing message data vectors.
+
+ Every Presentation buffer also uses a @code{vm-message-pointer} list
+ with a single message (the one being presented). The message data
+@@ -7256,7 +7257,7 @@ However, they have message descriptors for all the messages in
+ location data vector, because only one message body can be stored in
+ the Folder buffer, but have separate Soft data vectors. (This allows,
+ for instance, virtual folders to have their own threads, which could
+-in general be different from the threads in the underlying folders.)
++in general be different from the threads in the underlying folders.)
+ The other sub-vectors are shared with the underlying real folders. (In
+ particular, the tokenized summary line is the same in the virual
+ folders and their underlying folders.)
+@@ -7269,7 +7270,7 @@ folders and their underlying folders.)
+ @inindex summary line, tokenized
+ @inindex tokenized summary line
+ Generating a summary is quite a time-consuming operation. VM uses a
+-variety of tricks to speed up the generation of summaries.
++variety of tricks to speed up the generation of summaries.
+
+ The format of the summary lines is specified in the variable
+ @code{vm-summary-line-format}. The information that needs to go into
+@@ -7291,18 +7292,18 @@ line for each message and caches it in the cached-data vector.
+ The following forms of tokens are used in tokenized summary lines:
+
+ @itemize
+-@item
++@item
+ @code{number}.
+ Stands for the message number in the linear order of the summary.
+ @item
+ @code{mark}.
+ Stands for an indicator of message mark (whether the message is marked
+ at present).
+-@item
++@item
+ @code{thread-indent}.
+ Stands for the indentation to be used for the message's summary
+ depending on its position in the message thread.
+-@item
++@item
+ @code{group-begin}, @code{group-end}.
+ Brackets used to denote groups of items that might have particular
+ formatting constraints.
+@@ -7370,7 +7371,7 @@ Message threads required for threaded summaries are calculated using
+ message ID's, which are unique when the message was originally
+ composed. However, VM may need to deal with multiple copies of the
+ same message received via possibly different routes. So, message ID's are
+-not unique for messages inside VM.
++not unique for messages inside VM.
+
+ Messages composed as replies generally have an ``In-Reply-To'' header.
+ The message mentioned in this header is referred to as the parent of
+@@ -7460,7 +7461,7 @@ The list of all the messages in the folder that have this subject.
+ @b{Building threads} involves calculating all the data stored with the
+ @code{vm-thread-obarray} and @code{vm-thread-subject-obarray}. These two
+ collections of data are calculated in sequence, because the subject
+-threads are based on the reference threads.
++threads are based on the reference threads.
+
+ @inindex thread-subtree
+ @inindex thread-list
+@@ -7598,13 +7599,13 @@ well as the buffer in which the command execution was initiated.
+ The default menu bar of VM contains VM-specific menus, replacing the
+ standard Emacs menus. This is achieved by setting the buffer-specific
+ menu bar to one in which the Emacs menus are @code{undefined} (at
+-least in Gnu Emacs).
++least in Gnu Emacs).
+
+ VM computes its standard menu bar and stores it internally:
+
+ @itemize
+-@item
+-In Gnu Emacs, this is stored in the keymap @code{vm-mode-menu-map}.
++@item
++In Gnu Emacs, this is stored in the keymap @code{vm-mode-menu-map}.
+ @item
+ In XEmacs ...
+ @end itemize
+@@ -7616,12 +7617,12 @@ standard Emacs menu bar.
+ The computed menu bar is then installed depending on the setting of
+ @code{vm-use-menus}.
+ If the user selects the action to revert to the standard Emacs menu
+-bar, the installation is easily reverted.
++bar, the installation is easily reverted.
+
+ @itemize
+ @item
+ In Gnu Emacs, the installation involves inserting a key binding for
+-@code{menu-bar}.
++@code{menu-bar}.
+ @item
+ In XEmacs, ...
+ @end itemize
+@@ -7631,7 +7632,7 @@ In XEmacs, ...
+ Emacs menu bar, the function @code{vm-menu-toggle-menubar} is invoked,
+ which installs a fresh menu bar retaining the standard Emacs menus.
+ The same function is used to reinstall the dedicated VM menu bar when
+-needed.
++needed.
+
+ @node Coding Systems, Virtual Folder Internals, User Interaction, Internals
+ @section Coding Systems
+@@ -7711,7 +7712,7 @@ data structure @code{m} and all the arguments for the virtual selector
+
+ For example, the virtual selector @code{author} has a string argument,
+ representing the author name. The corresponding Lisp function is defined
+-as:
++as:
+
+ @example
+ (defun vm-vs-author (m author-name)
+@@ -7727,7 +7728,7 @@ The @code{author} selector is then registered in four places:
+
+ @itemize
+ @inindex vm-virtual-selector-function-alist
+-@item
++@item
+ The variable @code{vm-virtual-selector-function-alist}, which contains pairs
+ of the form @samp{(@var{SELECTOR} . @var{FUNCTION})}. For the @code{author}
+ selector, the pair is @code{(author . vm-vs-author)}.
+@@ -7777,13 +7778,13 @@ responsible for traversing the tree structure at each @acronym{MIME} part
+ and displaying it appropriately.
+
+ The function @code{vm-decode-mime-layout} goes through the following
+-sequence of decisions:
++sequence of decisions:
+
+ @enumerate
+ @item
+ If the @acronym{MIME} part is a @code{multipart} type, then the subparts are
+ displayed as needed. If it is a single part, it proceeds as follows.
+-@item
++@item
+ If the @acronym{MIME} part should not be displayed automatically, it is
+ displayed as a button. (An automatically displayed @acronym{MIME} type is one
+ listed in @code{vm-mime-auto-displayed-content-types}
+@@ -7818,7 +7819,7 @@ which has a number of properties associated with it:
+ @itemize
+ @item @code{vm-button}.
+ Always @code{t}.
+-@item @code{vm-mime-layout}.
++@item @code{vm-mime-layout}.
+ Gives the layout of the @acronym{MIME} part.
+ @item @code{vm-mime-function}.
+ The function that carries out the action represented by pressing the
+@@ -7864,22 +7865,22 @@ The following properties are defined for attachment buttons:
+
+ @itemize
+ @item @code{vm-mime-object}.
+-The object denoting the @acronym{MIME} attachment. It is either
++The object denoting the @acronym{MIME} attachment. It is either
+
+ @itemize
+-@item
+-a string denoting a file name,
+ @item
+-a buffer containing the file to be attached,
++a string denoting a file name,
++@item
++a buffer containing the file to be attached,
+ @item
+ a list of the form (buffer, start, end, filename) indicating a region in a
+-buffer, typically the Folder buffer, or
++buffer, typically the Folder buffer, or
+ @item
+ @code{t} indicating that the attachment is another @acronym{MIME}
+-object in a VM folder.
++object in a VM folder.
+ @end itemize
+
+-@noindent
++@noindent
+ In the last case, the @code{vm-mime-layout}
+ property describes the rest of the metadata.
+ @item @code{vm-mime-type}.
+@@ -7903,7 +7904,7 @@ Standard text property.
+ @item @code{duplicable}.
+ Set to @code{t} in XEmacs allowing the extent to be
+ preserved under killing and yanking.
+-@item @code{front-nonsticky} and @code{rear-nonsticky}.
++@item @code{front-nonsticky} and @code{rear-nonsticky}.
+ Standard stickiness of text properties in GNU Emacs.
+ @end itemize
+
+@@ -7966,12 +7967,12 @@ GNU Emacs 19 uses two distinct objects, "text properties" and
+ are a superset of the union of the functionality of the two GNU Emacs
+ data types. The full GNU Emacs 19 interface to text properties and
+ overlays is supported in XEmacs (with extents being the underlying
+-representation).
++representation).
+
+ Extents can be made to be copied into strings, and then restored, by
+ kill and yank. Thus, one can specify this behavior on either "extents"
+ or "text properties", whereas in GNU Emacs 19 text properties always
+-have this behavior and overlays never do.
++have this behavior and overlays never do.
+ @end quotation
+
+ While extents and overlays look similar on the surface, they differ
+@@ -7994,7 +7995,7 @@ Another major differences between extents and overlays is that the
+ beginning and ending of overlays are markers. This has some
+ advantages. However, if a buffer has many overlays, normal editing
+ operations must update all the overlay markers, which can be
+-time-consuming.
++time-consuming.
+
+ The major applications of extents and overlays in VM are the following:
+
+@@ -8028,7 +8029,7 @@ three timer tasks that get scheduled to occur at regular intervals:
+ @item vm-flush-itimer-function
+ Stores message attributes in the folder so that they will be saved
+ when an auto-save is done. This is controlled by the variable
+-@code{vm-flush-interval}.
++@code{vm-flush-interval}.
+ @inindex vm-get-mail-itimer-function
+ @item vm-get-mail-itimer-function
+ Moves new mail from maildrops into the folder. This is controlled by
+@@ -8429,7 +8430,7 @@ when it starts in an interactive mode:
+ Gnomovision version 69, Copyright (C) 19@var{yy} @var{name of author}
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
+ type `show w'. This is free software, and you are welcome
+-to redistribute it under certain conditions; type `show c'
++to redistribute it under certain conditions; type `show c'
+ for details.
+ @end smallexample
+
+@@ -8447,7 +8448,7 @@ necessary. Here is a sample; alter the names:
+ @group
+ Yoyodyne, Inc., hereby disclaims all copyright
+ interest in the program `Gnomovision'
+-(which makes passes at compilers) written
++(which makes passes at compilers) written
+ by James Hacker.
+
+ @var{signature of Ty Coon}, 1 April 1989
+diff --git a/lisp/Makefile.in b/lisp/Makefile.in
+index ea3453d..342f6dd 100755
+--- a/lisp/Makefile.in
++++ b/lisp/Makefile.in
+@@ -130,12 +130,14 @@ version.txt:
+ # under Windows. We remove the CRs.
+ # Solaris 8's tr -d '\r' removes r's so we use '\015' instead.
+ # the echo command can also emit CRs.
++# Since Debian compiles the files on the fly on the target machine,
++# Do not depend on the abslute file path of the source directory to exist
+ vm-autoloads.el: $(SOURCES:%=@srcdir@/%)
+ -$(RM) -f $@
+ echo > $@
+ (build_dir="`pwd`"; cd "@srcdir@"; \
+ "$(EMACS_PROG)" $(FLAGS) -l autoload \
+- -f vm-built-autoloads "@abs_builddir@/$@" "`pwd`")
++ -f vm-built-autoloads "`pwd`/$@" "`pwd`")
+ echo "(custom-add-load 'vm 'vm-cus-load)" | tr -d '\015' >> $@
+ echo "(setq vm-configure-datadir \"${datadir}/vm\")" | tr -d '\015' >> $@
+ echo "(setq vm-configure-pixmapdir \"${pixmapdir}\")" | tr -d '\015' >> $@
+diff --git a/src/Makefile.in b/src/Makefile.in
+index 437626f..ef773a6 100755
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -8,6 +8,8 @@ SOURCES = $(wildcard *.c)
+
+ OBJECTS = $(SOURCES:.c=.o)
+
++MANS = $(wildcard *.1)
++
+ ##############################################################################
+ # location of required programms
+ prefix = @prefix@
+@@ -16,11 +18,13 @@ MKDIR = @MKDIR@
+ RM = @RM@
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
+
+ prefix = @prefix@
+ top_srcdir = @top_srcdir@
+ srcdir = @srcdir@
+ bindir= @bindir@
++mandir= @mandir@
+
+ ##############################################################################
+ all: $(SOURCES:.c=)
+@@ -31,6 +35,11 @@ install:
+ echo "Installing $$i in $(DESTDIR)$(bindir)" ; \
+ $(INSTALL_PROGRAM) $$i "$(DESTDIR)$(bindir)" ; \
+ done ;
++ @test -d $(DESTDIR)$(mandir) || \
++ mkdir -p -m 0755 "$(DESTDIR)$(mandir)/man1"; \
++ for i in $(MANS) ; do \
++ $(INSTALL_DATA) $$i "$(DESTDIR)$(mandir)/man1" ; \
++ done
+ @echo VM helper binaries successfully installed\!
+
+ ##############################################################################
+diff --git a/src/base64-decode.1 b/src/base64-decode.1
+new file mode 100644
+index 0000000..4ba903c
+--- /dev/null
++++ b/src/base64-decode.1
+@@ -0,0 +1,50 @@
++.\" -*- Mode: Nroff -*-
++.\" Copyright (C) 2000 Manoj Srivastava <srivasta@debian.org>.
++.\"
++.\" Permission is granted to make and distribute verbatim copies of
++.\" this manual provided the copyright notice and this permission notice
++.\" are preserved on all copies.
++.\"
++.\" Permission is granted to copy and distribute modified versions of this
++.\" manual under the conditions for verbatim copying, provided that the entire
++.\" resulting derived work is distributed under the terms of a permission
++.\" notice identical to this one.
++.\"
++.\" Permission is granted to copy and distribute translations of this manual
++.\" into another language, under the above conditions for modified versions,
++.\" except that this permission notice may be stated in a translation approved
++.\" by the Author.
++.\"
++.\" Author: Manoj Srivastava
++.\"
++.\" arch-tag: e94acb5a-38da-416b-b01d-9196c0836599
++.\"
++.TH BASE64\-DECODE 1 "Sep 2 2000" "Debian" "Debian GNU/Linux manual"
++.SH NAME
++base64\-decode \- Fast BASE64 decoder
++.SH SYNOPSIS
++.B base64\-decode
++<
++.I base64\-encoded data
++>
++.I converted output
++.SH DESCRIPTION
++The
++.B base64\-decode
++utility takes BASE64 data on the standard input and converts
++it to the standard output.
++.PP
++This manual page was written for the Debian GNU/Linux distribution
++because the original program does not have a manual page.
++.SH OPTIONS
++.B base64\-encode
++does not take any arguments or options.
++.SH BUGS
++None known.
++.SH SEE ALSO
++.I base64\-encode (1)
++.SH AUTHORS
++.B base64\-decode
++was written by Kyle Jones. and placed by him into the public domain.
++This manual page was written by Manoj Srivastava <srivasta@debian.org>,
++for the Debian GNU/Linux system.
+diff --git a/src/base64-decode.c b/src/base64-decode.c
+index d0d3b9a..1b026f7 100755
+--- a/src/base64-decode.c
++++ b/src/base64-decode.c
+@@ -4,6 +4,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #ifdef _WIN32
+ #ifndef WIN32
+@@ -19,10 +20,10 @@
+ unsigned char alphabet[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+
+ int
+-main()
++main(void)
+ {
+- static char inalphabet[256], decoder[256];
+- int i, bits, c, char_count, errors = 0;
++ static char inalphabet[256], decoder[256];
++ int i, bits, char_count, errors = 0;
+
+ #ifdef WIN32
+ _setmode( _fileno(stdout), _O_BINARY);
+@@ -32,46 +33,62 @@ main()
+ inalphabet[alphabet[i]] = 1;
+ decoder[alphabet[i]] = i;
+ }
++#define BUFLEN 72*500 // must be multiple of 4
+
+- char_count = 0;
+- bits = 0;
+- while ((c = getchar()) != EOF) {
+- if (c == '=')
+- break;
+- if (c > 255 || ! inalphabet[c])
+- continue;
+- bits += decoder[c];
+- char_count++;
+- if (char_count == 4) {
+- putchar((bits >> 16));
+- putchar(((bits >> 8) & 0xff));
+- putchar((bits & 0xff));
+- bits = 0;
+- char_count = 0;
+- } else {
+- bits <<= 6;
+- }
+- }
+- if (c == EOF) {
+- if (char_count) {
+- fprintf(stderr, "base64 encoding incomplete: at least %d bits truncated",
+- ((4 - char_count) * 6));
+- errors++;
+- }
+- } else { /* c == '=' */
+- switch (char_count) {
+- case 1:
+- fprintf(stderr, "base64 encoding incomplete: at least 2 bits missing");
+- errors++;
+- break;
+- case 2:
+- putchar((bits >> 10));
+- break;
+- case 3:
+- putchar((bits >> 16));
+- putchar(((bits >> 8) & 0xff));
+- break;
+- }
+- }
+- exit(errors ? 1 : 0);
++ int len;
++ char buf[BUFLEN];
++ char outbuf[BUFLEN];
++
++ while(!feof(stdin)) {
++ unsigned char c;
++
++ int pos=0;
++ char *out=outbuf;
++ len=fread(buf, sizeof(c), BUFLEN, stdin);
++ if(!len) continue;
++
++cont_buffer:
++ char_count = 0;
++ bits = 0;
++ while(pos<len) {
++ c=buf[pos++];
++ if (c == '=')
++ break;
++ if (! inalphabet[c])
++ continue;
++ bits += decoder[c];
++ char_count++;
++ if (char_count == 4) {
++ *out++ = ((bits >> 16));
++ *out++ = (((bits >> 8) & 0xff));
++ *out++ = ((bits & 0xff));
++ bits = 0;
++ char_count = 0;
++ } else {
++ bits <<= 6;
++ }
++ }
++ switch (char_count) {
++ case 1:
++ fprintf(stderr, "base64-decode: base64 encoding incomplete: at least 2 bits missing");
++ errors++;
++ break;
++ case 2:
++ *out++ = ((bits >> 10));
++ break;
++ case 3:
++ *out++ = ((bits >> 16));
++ *out++ = (((bits >> 8) & 0xff));
++ break;
++ case 0:
++ break;
++ default:
++ fprintf(stderr, "base64-decode: base64 encoding incomplete: at least %d bits truncated",
++ ((4 - char_count) * 6));
++ }
++ if(pos<len) // did not proceed the whole thing, continue
++ goto cont_buffer;
++ fwrite(outbuf, sizeof(char), (out-outbuf), stdout);
++ }
++ exit(errors ? 1 : 0);
+ }
+diff --git a/src/base64-encode.1 b/src/base64-encode.1
+new file mode 100644
+index 0000000..ba0e95a
+--- /dev/null
++++ b/src/base64-encode.1
+@@ -0,0 +1,51 @@
++.\" -*- Mode: Nroff -*-
++.\" Copyright (C) 2000 Manoj Srivastava <srivasta@debian.org>.
++.\"
++.\" Permission is granted to make and distribute verbatim copies of
++.\" this manual provided the copyright notice and this permission notice
++.\" are preserved on all copies.
++.\"
++.\" Permission is granted to copy and distribute modified versions of this
++.\" manual under the conditions for verbatim copying, provided that the entire
++.\" resulting derived work is distributed under the terms of a permission
++.\" notice identical to this one.
++.\"
++.\" Permission is granted to copy and distribute translations of this manual
++.\" into another language, under the above conditions for modified versions,
++.\" except that this permission notice may be stated in a translation approved
++.\" by the Author.
++.\"
++.\" Author: Manoj Srivastava
++.\"
++.\" arch-tag: 6563f4a9-302a-4d17-986a-42be5fb1d1c9
++.\"
++.TH BASE64\-ENCODE 1 "Sep 2 2000" "Debian" "Debian GNU/Linux manual"
++.SH NAME
++base64\-encode \- Fast Base 64 encoder
++.SH SYNOPSIS
++.B base64\-encode
++<
++.I input
++>
++.I base64\-encoded output
++.SH DESCRIPTION
++The
++.B base64\-encode
++utility takes arbitrary data on the standard input and converts
++it to BASE64 data on standard output. UNIX's newline convention is
++used, i.e. one ASCII control-j (10 decimal).
++.PP
++This manual page was written for the Debian GNU/Linux distribution
++because the original program does not have a manual page.
++.SH OPTIONS
++.B base64\-encode
++does not take any arguments or options.
++.SH BUGS
++None known.
++.SH SEE ALSO
++.I base64\-decode (1)
++.SH AUTHORS
++.B base64\-encode
++was written by Kyle Jones. and placed by him into the public domain.
++This manual page was written by Manoj Srivastava <srivasta@debian.org>,
++for the Debian GNU/Linux system.
+diff --git a/src/base64-encode.c b/src/base64-encode.c
+index fd146fa..d9c6651 100755
+--- a/src/base64-encode.c
++++ b/src/base64-encode.c
+@@ -8,6 +8,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #ifdef _WIN32
+ #ifndef WIN32
+@@ -23,7 +24,7 @@
+ unsigned char alphabet[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+
+ int
+-main()
++main(void)
+ {
+ int cols, bits, c, char_count;
+
+diff --git a/src/qp-decode.1 b/src/qp-decode.1
+new file mode 100644
+index 0000000..a9a60d8
+--- /dev/null
++++ b/src/qp-decode.1
+@@ -0,0 +1,51 @@
++.\" -*- Mode: Nroff -*-
++.\" Copyright (C) 2000 Manoj Srivastava <srivasta@debian.org>.
++.\"
++.\" Permission is granted to make and distribute verbatim copies of
++.\" this manual provided the copyright notice and this permission notice
++.\" are preserved on all copies.
++.\"
++.\" Permission is granted to copy and distribute modified versions of this
++.\" manual under the conditions for verbatim copying, provided that the entire
++.\" resulting derived work is distributed under the terms of a permission
++.\" notice identical to this one.
++.\"
++.\" Permission is granted to copy and distribute translations of this manual
++.\" into another language, under the above conditions for modified versions,
++.\" except that this permission notice may be stated in a translation approved
++.\" by the Author.
++.\"
++.\" Author: Manoj Srivastava
++.\"
++.\" arch-tag: cfe27e82-b7a5-4171-bef6-f7bc28306374
++.\"
++.TH QP\-DECODE 1 "Sep 2 2000" "Debian" "Debian GNU/Linux manual"
++.SH NAME
++qp\-decode \- Fast Quoted Printable decoder
++.SH SYNOPSIS
++.B qp\-decode
++<
++.I qp\-encoded data
++>
++.I converted output
++.SH DESCRIPTION
++The
++.B qp\-decode
++utility takes Quoted Printable data on the standard input and converts
++it to the standard output.
++.PP
++This manual page was written for the Debian GNU/Linux distribution
++because the original program does not have a manual page.
++.SH OPTIONS
++.B qp\-encode
++does not take any arguments or options.
++.SH BUGS
++None known.
++.SH SEE ALSO
++.I qp\-encode (1)
++.SH AUTHORS
++.B qp\-decode
++was written by Kyle Jones. and placed by him into the public domain.
++This manual page was written by Manoj Srivastava <srivasta@debian.org>,
++for the Debian GNU/Linux system.
++
+diff --git a/src/qp-decode.c b/src/qp-decode.c
+index 0d6eaa1..9861f7b 100755
+--- a/src/qp-decode.c
++++ b/src/qp-decode.c
+@@ -5,6 +5,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <stdlib.h>
+
+ #ifdef _WIN32
+ #ifndef WIN32
+@@ -17,11 +18,11 @@
+ #include <fcntl.h>
+ #endif
+
+-char *hexdigits = "0123456789ABCDEF";
+-char *hexdigits2 = "0123456789abcdef";
++const char *hexdigits = "0123456789ABCDEF";
++const char *hexdigits2 = "0123456789abcdef";
+
+ int
+-main()
++main(void)
+ {
+ char line[2000], *start, *stop, *copy;
+ char *d1, *d2, c;
+@@ -90,7 +91,7 @@ main()
+ for (stop++; *stop && (*stop == ' ' || *stop == '\t'); stop++)
+ ;
+ } else {
+- fprintf(stderr, "Error: line %d: '%c' is something other than line break or hex digit after = in quoted-printable encoding\n", lineno, *stop);
++ fprintf(stderr, "Error: qp-decode: line %d: '%c' is something other than line break or hex digit after = in quoted-printable encoding\n", lineno, *stop);
+ putchar('=');
+ putchar(*stop);
+ stop++;
+diff --git a/src/qp-encode.1 b/src/qp-encode.1
+new file mode 100644
+index 0000000..c3dc52b
+--- /dev/null
++++ b/src/qp-encode.1
+@@ -0,0 +1,51 @@
++.\" -*- Mode: Nroff -*-
++.\" Copyright (C) 2000 Manoj Srivastava <srivasta@debian.org>.
++.\"
++.\" Permission is granted to make and distribute verbatim copies of
++.\" this manual provided the copyright notice and this permission notice
++.\" are preserved on all copies.
++.\"
++.\" Permission is granted to copy and distribute modified versions of this
++.\" manual under the conditions for verbatim copying, provided that the entire
++.\" resulting derived work is distributed under the terms of a permission
++.\" notice identical to this one.
++.\"
++.\" Permission is granted to copy and distribute translations of this manual
++.\" into another language, under the above conditions for modified versions,
++.\" except that this permission notice may be stated in a translation approved
++.\" by the Author.
++.\"
++.\" Author: Manoj Srivastava
++.\"
++.\" arch-tag: bc2b7485-8846-4a92-9e54-8fd22a778663
++.\"
++.TH QP\-ENCODE 1 "Sep 2 2000" "Debian" "Debian GNU/Linux manual"
++.SH NAME
++qp\-encode \- Fast Quoted Printable encoder
++.SH SYNOPSIS
++.B qp\-encode
++<
++.I input
++>
++.I qp\-encoded output
++.SH DESCRIPTION
++The
++.B qp\-encode
++utility takes arbitrary data on the standard input and converts
++it to Quoted Printable data on standard output.
++.PP
++This manual page was written for the Debian GNU/Linux distribution
++because the original program does not have a manual page.
++.SH OPTIONS
++.B qp\-encode
++does not take any arguments or options.
++.SH BUGS
++None known.
++.SH SEE ALSO
++.I qp\-decode (1)
++.SH AUTHORS
++.B qp\-encode
++was written by Kyle Jones. and placed by him into the public domain.
++This manual page was written by Manoj Srivastava <srivasta@debian.org>,
++for the Debian GNU/Linux system.
++
+diff --git a/src/qp-encode.c b/src/qp-encode.c
+index e5796d0..8014d02 100755
+--- a/src/qp-encode.c
++++ b/src/qp-encode.c
+@@ -8,6 +8,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #ifdef _WIN32
+ #ifndef WIN32
+@@ -20,10 +21,10 @@
+ #include <fcntl.h>
+ #endif
+
+-char *hexdigits = "0123456789ABCDEF";
++const char *hexdigits = "0123456789ABCDEF";
+
+ int
+-main()
++main(void)
+ {
+ int c;
+ int cols = 0;
+--
+2.0.0.rc0
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9eb8f71
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+# exported from git by git-debcherry
+0001-debcherry-fixup-patch.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7f1f93d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+SRCTOP := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
+TMPTOP = $(SRCTOP)/debian/$(package)
+package := vm
+
+INSTALL = install
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+install_file = $(INSTALL) -p -o root -g root -m 644
+install_program = $(INSTALL) -p -o root -g root -m 755
+install_script = $(INSTALL) -p -o root -g root -m 755
+make_directory = $(INSTALL) -p -d -o root -g root -m 755
+
+
+PREFIX = /usr
+P_MANDIR = $(PREFIX)/share/man
+P_BINDIR = $(PREFIX)/bin
+P_INFODIR = $(PREFIX)/share/info
+P_DOCTOP = $(PREFIX)/share/doc
+P_DOCDIR = $(P_DOCTOP)/$(package)
+P_LISPDIR = $(PREFIX)/share/emacs/site-lisp/$(package)
+P_PIXMAPDIR= $(P_LISPDIR)/pixmaps
+DOCDIR = $(TMPTOP)$(P_DOCDIR)
+
+%:
+ dh $@ --with autotools-dev
+
+
+override_dh_auto_configure:
+ dh_auto_configure -- --verbose --sysconfdir=/etc \
+ --with-pixmapdir=$(P_PIXMAPDIR)
+
+override_dh_auto_install:
+ dh_auto_install
+ @find $(TMPTOP)$(P_LISPDIR) -type f -name \*.elc -exec rm -f {} \;
+ (cd $(DOCDIR) && makeinfo --html --ifinfo --split=chapter \
+ -o html $(SRCTOP)/info/vm.texinfo)
+
+override_dh_install:
+ dh_install
+# mime codecs should not get installed
+ @rm -rf $(TMPTOP)/usr/bin
+ $(install_file) lisp/Makefile $(TMPTOP)$(P_LISPDIR)/Makefile
+ $(install_file) lisp/Makefile.in $(TMPTOP)$(P_LISPDIR)/Makefile.in
+ $(install_file) lisp/vm-build.el $(TMPTOP)$(P_LISPDIR)/
+ $(install_file) debian/vm.emacsen-startup \
+ $(TMPTOP)$(P_LISPDIR)/vm-init.el
+ test ! -f $(TMPTOP)$(P_LISPDIR)/vm-autoloads.el || \
+ rm -f $(TMPTOP)$(P_LISPDIR)/vm-autoloads.el
+override_dh_installchangelogs:
+ dh_installchangelogs
+ test ! -d $(TMPTOP)/$(PREFIX)/share/$(package)/pixmaps || \
+ mv $(TMPTOP)/$(PREFIX)/share/$(package)/pixmaps \
+ $(TMPTOP)$(P_PIXMAPDIR)
+ test ! -f $(TMPTOP)/usr/share/$(package)/COPYING || rm $(TMPTOP)/usr/share/$(package)/COPYING
+ test ! -f $(DOCDIR)/CHANGES || rm $(DOCDIR)/CHANGES
+ test ! -f $(DOCDIR)/COPYING || rm $(DOCDIR)/COPYING
+
+override_dh_fixperms:
+ dh_fixperms
+ @test ! -d debian/vm/usr/share/man || rm -rf debian/vm/usr/share/man
+ @rm -f $(TMPTOP)/usr/share/emacs/site-lisp/vm/version.txt
+#Local variables:
+#mode: makefile
+#End:
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/vm.doc-base b/debian/vm.doc-base
new file mode 100644
index 0000000..9a22258
--- /dev/null
+++ b/debian/vm.doc-base
@@ -0,0 +1,16 @@
+Document: vm
+Title: VM: A mail user agent for Emacs.
+Author: Kyle Jones
+Abstract: VM (View Mail) is an Emacs subsystem that allows UNIX
+ mail to be read and disposed of within Emacs. Commands exist to do
+ the normal things expected of a mail user agent, such as generating
+ replies, saving messages to folders, deleting messages and so on.
+ There are other more advanced commands that do tasks like bursting
+ and creating digests, message forwarding, and organizing message
+ presentation according to various criteria.
+ VM comes by default with XEmacs.
+Section: Network/Communication
+
+Format: HTML
+Index: /usr/share/doc/vm/html/index.html
+Files: /usr/share/doc/vm/html/*.html
diff --git a/debian/vm.emacsen-install b/debian/vm.emacsen-install
new file mode 100755
index 0000000..94f28d2
--- /dev/null
+++ b/debian/vm.emacsen-install
@@ -0,0 +1,123 @@
+#!/bin/bash
+# -*- Mode: Sh -*-
+# emacsen.install ---
+# Author : Manoj Srivastava ( srivasta@tiamat.datasync.com )
+# Created On : Fri Apr 3 14:39:59 1998
+# Created On Node : tiamat.datasync.com
+# Last Modified By : Manoj Srivastava
+# Last Modified On : Fri Feb 8 21:55:35 2008
+# Last Machine Used: anzu.internal.golden-gryphon.com
+# Update Count : 48
+# Status : Unknown, Use with caution!
+# HISTORY :
+# Description :
+#
+# arch-tag: 8d8ec43a-8bb5-4ecd-bde8-67736b2d04d5
+#
+
+set -e
+
+FLAVOUR=$1
+PACKAGE="vm"
+
+if [ "X$FLAVOUR" = "X" ]; then
+ echo Need argument to determin FLAVOUR of emacs;
+ exit 1
+fi
+
+if [ "X$PACKAGE" = "X" ]; then
+ echo Internal error: need package name;
+ exit 1;
+fi
+
+
+ELDIR=/usr/share/emacs/site-lisp/$PACKAGE
+ELCDIR=/usr/share/$FLAVOUR/site-lisp/$PACKAGE
+EFLAGS="-batch -q -l load-path-hack.el -f batch-byte-compile"
+STARTDIR=/etc/$FLAVOUR/site-start.d
+INFO_FILES="/usr/info/vm.info.gz";
+STARTFILE="$PACKAGE-init.el";
+BYTEOPTS="./vm-byteopts.el";
+PRELOADS=" -l $BYTEOPTS -l ./vm-message.el -l ./vm-misc.el -l ./vm-vars.el -l ./vm-version.el";
+BATCHFLAGS=" -batch -q -no-site-file"
+CORE="vm-message.el vm-misc.el vm-byteopts.el"
+STAMPFILE=vm-autoload.elc
+
+case "$FLAVOUR" in
+ emacs24|emacs23|emacs-snapshot|xemacs21)
+ echo -n "install/$PACKAGE: Byte-compiling for $FLAVOUR..."
+ case $FLAVOUR in
+ emacs*)
+ EMACS_FLAVOR=emacs
+ ;;
+ xemacs*)
+ EMACS_FLAVOR=xemacs
+ ;;
+ esac
+
+ if [ -d $ELCDIR ]; then
+ if [ -e "${ELCDIR}/${STAMPFILE}" ]; then
+ echo "${PACKAGE} files already compiled in ${ELCDIR}."
+ exit 0
+ else
+ test ! -d $ELCDIR/pixmaps || rm -rf $ELCDIR/pixmaps
+ test ! -f $ELCDIR/Makefile.in || rm -rf $ELCDIR/Makefile.in
+ test ! -f $ELCDIR/Makefile || rm -rf $ELCDIR/Makefile
+ test ! -d $ELCDIR || rm -f $ELCDIR/*.elc $ELCDIR/*.el $ELCDIR/install.log $ELCDIR/vm-init.el;
+ test ! -d $ELCDIR || rm -rf $ELCDIR
+ fi
+ fi
+ if [ ! -d $ELCDIR ]; then
+ install -m 755 -d $ELCDIR
+ fi
+ cd $ELDIR
+ # if we do not have make, well, we are hosed.
+ LOG=`tempfile`;
+ trap "test -f $LOG && mv -f $LOG $ELCDIR/install.log > /dev/null 2>&1" exit
+ if [ -x /usr/bin/make ]; then
+ # Save the old autoloads file since we ship it in the .deb
+ test ! -f vm-autoload.el || cp -a vm-autoload.el vm-autoload.el.precious
+ make clean > $LOG;
+ (make prefix=/usr EMACS=$FLAVOUR EMACS_FLAVOR=$EMACS_FLAVOR) >> $LOG 2>&1 ;
+ echo "tar cf - . | (cd $ELCDIR; tar xpf -)" >> $LOG;
+ tar cf - . | (cd $ELCDIR; tar xpf -)
+ make clean >> $LOG;
+ # Restore the autoloads file
+ test ! -f vm-autoload.el.precious || mv vm-autoload.el.precious vm-autoload.el
+ echo "cd $ELCDIR;" >> $LOG;
+ cd $ELCDIR;
+ else
+ echo >&2 "You do not seem to have make."
+ echo >&2 "This is not good, since I can't byte compile without make"
+ echo >&2 "I am letting vm remain non-byte compiled, which slows it down."
+ echo >&2 "Please hit return to continue."
+ read ans;
+ echo "You do not seem to have make." > $LOG;
+ echo "Not byte compiling." >> $LOG;
+ echo "tar cf - . | (cd $ELCDIR; tar xpf -)" >> $LOG;
+ tar cf - . | (cd $ELCDIR; tar xpf -)
+ echo "rm -f *.elc *~" >> $LOG;
+ rm -f *.elc *~
+ echo "cd $ELCDIR;" >> $LOG;
+ cd $ELCDIR;
+ fi
+
+ mv $LOG $ELCDIR/install.log;
+ chmod 644 $ELCDIR/install.log;
+ sed -e "s|=F|/usr/share/$FLAVOUR/site-lisp/$PACKAGE|" \
+ $ELDIR/$STARTFILE > $ELCDIR/$STARTFILE;
+ ucf $ELCDIR/$STARTFILE $STARTDIR/50$STARTFILE;
+
+ echo " done."
+ ;;
+ *)
+ echo "install/$PACKAGE: Ignoring emacsen flavor $FLAVOUR."
+ ;;
+esac
+
+exit 0
+
+
+### Local Variables:
+### mode: shell-script
+### End:
diff --git a/debian/vm.emacsen-remove b/debian/vm.emacsen-remove
new file mode 100755
index 0000000..423309e
--- /dev/null
+++ b/debian/vm.emacsen-remove
@@ -0,0 +1,61 @@
+#! /bin/bash
+# -*- Mode: Sh -*-
+# emacsen.remove ---
+# Author : Manoj Srivastava ( srivasta@tiamat.datasync.com )
+# Created On : Mon Apr 13 01:38:03 1998
+# Created On Node : tiamat.datasync.com
+# Last Modified By : Manoj Srivastava
+# Last Modified On : Fri Feb 8 21:46:54 2008
+# Last Machine Used: anzu.internal.golden-gryphon.com
+# Update Count : 9
+# Status : Unknown, Use with caution!
+# HISTORY :
+# Description :
+#
+# arch-tag: 7b9e5ffb-d1b2-47cb-86ab-0da24d51ed46
+#
+
+
+set -e
+
+FLAVOUR=$1
+PACKAGE="vm"
+
+if [ "X$FLAVOUR" = "X" ]; then
+ echo Need argument to determin FLAVOUR of emacs;
+ exit 1
+fi
+
+if [ "X$PACKAGE" = "X" ]; then
+ echo Internal error: need package name;
+ exit 1;
+fi
+
+ELDIR=/usr/share/emacs/site-lisp/$PACKAGE
+ELCDIR=/usr/share/$FLAVOUR/site-lisp/$PACKAGE/
+STARTDIR=/etc/$FLAVOUR/site-start.d
+STARTFILE="$PACKAGE-init.el";
+EFLAGS="-batch -q -l load-path-hack.el -f batch-byte-compile"
+INFO_FILES="/usr/info/vm.info.gz";
+
+
+case $FLAVOUR in
+ emacs24|emacs23|emacs-snapshot|xemacs21)
+ echo -n "remove/$PACKAGE: Removing for $FLAVOUR..."
+ echo -n "$ELCDIR..."
+ test ! -d $ELCDIR || rm -rf $ELCDIR
+ echo -n "$ELDIR..."
+ test ! -f $ELDIR/vm-cus-load.el || rm -rf $ELDIR/vm-cus-load.el
+ echo " done."
+
+ ;;
+ *)
+ echo "remove/$PACKAGE: Ignoring emacsen flavor $FLAVOUR."
+ ;;
+esac
+
+exit 0
+
+### Local Variables:
+### mode: shell-script
+### End:
diff --git a/debian/vm.emacsen-startup b/debian/vm.emacsen-startup
new file mode 100644
index 0000000..9e269c9
--- /dev/null
+++ b/debian/vm.emacsen-startup
@@ -0,0 +1,47 @@
+;-*-emacs-lisp-*-
+; arch-tag: 045640fd-0ff2-45b7-a29f-68e4b8378fbf
+
+(let ((package-dir (concat "/usr/share/"
+ (symbol-name debian-emacs-flavor)
+ "/site-lisp/vm")))
+ ;; If package-dir does not exist, the vm package must have
+ ;; removed but not purged, and we should skip the setup.
+ (when (file-directory-p package-dir)
+ ;;make sure we have a compiled version ...
+ (if (file-readable-p (concat package-dir "/vm.elc"))
+ (progn
+ (provide 'vm-init)
+ (require 'vm-autoload)
+ ;; Fixes for Debian
+ (if (fboundp 'debian-pkg-add-load-path-item)
+ (setq load-path (debian-pkg-add-load-path-item package-dir))
+ (setq load-path (nconc load-path (list package-dir))))
+ (eval-after-load 'vm-vars
+ '(setq
+ vm-toolbar-pixmap-directory
+ (if (string-match "'--with-gtk'\\|'--with-x-toolkit=gtk'"
+ system-configuration-options)
+ (concat (vm-pixmap-directory) "/gtk")
+ (vm-pixmap-directory))))
+ (autoload (quote vm-decode-postponed-mime-message) "vm-pine" "\
+Replace the mime buttons by attachment buttons.
+\(fn)" t nil)
+
+ ;; Uncomment these if you have the package mime-codecs installed
+ ;; (setq
+ ;; vm-mime-qp-decoder-program "qp-decode"
+ ;; vm-mime-qp-encoder-program "qp-encode"
+ ;; vm-mime-base64-decoder-program "base64-decode"
+ ;; vm-mime-base64-encoder-program "base64-encode"
+ ;; )
+
+ ;; If you have metamail, you would set these instead:
+ ;; (setq vm-mime-base64-decoder-program "mimencode")
+ ;; (setq vm-mime-base64-decoder-switches '("-u" "-b" "-p"))
+ ;; (setq vm-mime-base64-encoder-program "mimencode")
+ ;; (setq vm-mime-base64-encoder-switches '("-b"))
+ ;; (setq vm-mime-qp-decoder-program "mimencode")
+ ;; (setq vm-mime-qp-decoder-switches '("-u" "-q"))
+ ;; (setq vm-mime-qp-encoder-program "mimencode")
+ ;; (setq vm-mime-qp-encoder-switches '("-q"))
+ ))))
diff --git a/debian/vm.examples b/debian/vm.examples
new file mode 100644
index 0000000..7a5f3b8
--- /dev/null
+++ b/debian/vm.examples
@@ -0,0 +1,16 @@
+example.vm
+debian/examples/dot.vm-auto-spool
+debian/examples/dot.vm-hide-ref-2
+debian/examples/dot.vm-manoj-current
+debian/examples/summary_bottom
+debian/examples/summary_right
+debian/examples/summary_top
+debian/examples/dot.vm-hide-ref
+debian/examples/dot.vm.2
+debian/examples/README.windows
+debian/examples/dot.vm
+debian/examples/full_screen
+debian/examples/dot.emacs
+debian/examples/dot.abbrevs
+debian/examples/README
+debian/examples/dot.vm-color
diff --git a/debian/vm.install b/debian/vm.install
new file mode 100644
index 0000000..d4f4542
--- /dev/null
+++ b/debian/vm.install
@@ -0,0 +1 @@
+#DOCS#
diff --git a/debian/vm.postinst b/debian/vm.postinst
new file mode 100755
index 0000000..7288383
--- /dev/null
+++ b/debian/vm.postinst
@@ -0,0 +1,279 @@
+#! /bin/sh
+# -*- Mode: Sh -*-
+# postinst ---
+# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
+# Created On : Fri Nov 14 11:25:07 2003
+# Created On Node : glaurung.green-gryphon.com
+# Last Modified By : Manoj Srivastava
+# Last Modified On : Fri Sep 29 14:16:38 2006
+# Last Machine Used: glaurung.internal.golden-gryphon.com
+# Update Count : 22
+# Status : Unknown, Use with caution!
+# HISTORY :
+# Description :
+#
+# arch-tag: 5401e9ef-39cc-4aee-96a4-61dfb8f32cf7
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+#
+
+# Abort if any command returns an error value
+set -e
+
+package_name=vm
+
+if [ -z "$package_name" ]; then
+ print >&2 "Internal Error. Please report a bug."
+ exit 1;
+fi
+
+# This script is called as the last step of the installation of the
+# package. All the package's files are in place, dpkg has already done
+# its automatic conffile handling, and all the packages we depend of
+# are already fully installed and configured.
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <old-postinst> abort-remove # if prerm fails during removal
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+# The following idempotent stuff doesn't generally need protecting
+# against being run in the abort-* cases.
+
+
+# Create stub directories under /usr/local
+##: if test ! -d /usr/local/lib/${package_name}; then
+##: if test ! -d /usr/local/lib; then
+##: if mkdir /usr/local/lib; then
+##: chown root.staff /usr/local/lib || true
+##: chmod 2775 /usr/local/lib || true
+##: fi
+##: fi
+##: if mkdir /usr/local/lib/${package_name}; then
+##: chown root.staff /usr/local/lib/${package_name} || true
+##: chmod 2775 /usr/local/lib/${package_name} || true
+##: fi
+##: fi
+
+# Ensure the menu system is updated
+# [ ! -x /usr/bin/update-menus ] || /usr/bin/update-menus
+
+# Arrange for a daemon to be started at system boot time
+##: update-rc.d ${package_name} default >/dev/null
+
+case "$1" in
+ configure)
+ # Configure this package. If the package must prompt the user for
+ # information, do it here.
+
+ # Activate menu-methods script
+ ##: chmod a+x /etc/menu-methods/${package_name}
+
+ # Update ld.so cache
+ ##: ldconfig
+
+ # Make our version of a program available
+ ##: update-alternatives \
+ ##: --install /usr/bin/program program /usr/bin/alternative 50 \
+ ##: --slave /usr/man/man1/program.1.gz program.1.gz \
+ ##: /usr/man/man1/alternative.1.gz
+
+ # Tell ucf that the file in /usr/share/foo is the latest
+ # maintainer version, and let it handle how to manage the real
+ # confuguration file in /etc. This is how a static configuration
+ # file can be handled:
+ ##:if which ucf >/dev/null 2>&1; then
+ ##: ucf /usr/share/${package_name}/configuration /etc/${package_name}.conf
+ ##:fi
+
+ ### We could also do this on the fly. The following is from Tore
+ ### Anderson:
+
+ #. /usr/share/debconf/confmodule
+
+ ### find out what the user answered.
+ # db_get foo/run_on_boot
+ # run_on_boot=$RET
+ # db_stop
+
+ ### safely create a temporary file to generate our suggested
+ ### configuration file.
+ # tempfile=`tempfile`
+ # cat << _eof > $tempfile
+ ### Configuration file for Foo.
+
+ ### this was answered by you, the user in a debconf dialogue
+ # RUNONBOOT=$run_on_boot
+
+ ### this was not, as it has a sane default value.
+ # COLOUROFSKY=blue
+
+ #_eof
+
+ ### Note that some versions of debconf do not release stdin, so
+ ### the following invocation of ucf may not work, since the stdin
+ ### is never coneected to ucfr.
+
+ ### now, invoke ucf, which will take care of the rest, and ask
+ ### the user if he wants to update his file, if it is modified.
+ #ucf $tempfile /etc/foo.conf
+
+ ### done! now we'll just clear up our cruft.
+ #rm -f $tempfile
+
+
+
+ # There are three sub-cases:
+ if test "${2+set}" != set; then
+ # We're being installed by an ancient dpkg which doesn't remember
+ # which version was most recently configured, or even whether
+ # there is a most recently configured version.
+ :
+
+ elif test -z "$2" || test "$2" = "<unknown>"; then
+ # The package has not ever been configured on this system, or was
+ # purged since it was last configured.
+ :
+
+ else
+ # Version $2 is the most recently configured version of this
+ # package.
+ :
+ # People upgrading from older versions should get byte compiled
+ if dpkg --compare-versions "7.19-8" gt "$2"; then
+ if [ -e /usr/share/emacs21/site-lisp/$package_name/vm-autoload.elc ]; then
+ rm -f /usr/share/emacs21/site-lisp/$package_name/vm-autoload.elc
+ fi
+ if [ -e /usr/share/emacs22/site-lisp/$package_name/vm-autoload.elc ]; then
+ rm -f /usr/share/emacs22/site-lisp/$package_name/vm-autoload.elc
+ fi
+ fi
+
+ fi
+
+ # Install emacs lisp files
+ if [ -x /usr/lib/emacsen-common/emacs-package-install ]; then
+ /usr/lib/emacsen-common/emacs-package-install $package_name
+ fi
+
+ if which ucfr >/dev/null; then
+ for flavour in emacs24 emacs22 emacs23 emacs-snapshot xemacs21; do
+ STARTDIR=/etc/$flavour/site-start.d;
+ STARTFILE="${package_name}-init.el";
+ if [ -e "$STARTDIR/50$STARTFILE" ]; then
+ ucfr ${package_name} "$STARTDIR/50$STARTFILE"
+ fi
+ done
+ fi
+
+ # Take care of older vm-init requirements
+ # These are the potential places we could find things in
+ SITE_START="/etc/emacs/site-start.el /usr/lib/emacs/site-lisp/site-start.el"
+
+ # The requires line looks like this
+ REQUIRE='(load "vm-init.el")'
+
+ # Ok, lets see what we have here
+ for i in $SITE_START ; do
+ if [ -e $i ]; then
+ if [ "`grep vm-init $i`" != "" ]; then
+ SITE_FIX="$SITE_FIX $i"
+ fi
+ fi
+ done
+
+ # See if we may fix things quietly
+ for i in $SITE_FIX ; do
+ grep -v "$REQUIRE" $i > /etc/emacs/`basename $i`.new.$$
+ mv /etc/emacs/`basename $i`.new.$$ $i || echo Could not edit $i
+ done
+
+ # These were the problem files
+ SITE_START="$SITE_FIX"
+ SITE_FIX=""
+
+ # Any mention of vm-init left?
+ for i in $SITE_START ; do
+ if [ -e $i ]; then
+ if [ "`grep vm-init $i`" != "" ]; then
+ SITE_FIX="$SITE_FIX $i"
+ fi
+ fi
+ done
+
+ if [ "$SITE_FIX" != "" ]; then
+ echo ""
+ echo "The following files mention vm-init, even though they shouldn't:"
+ echo " $SITE_FIX "
+ echo "please remove the load or require command from these files."
+ echo ""
+ exit 0
+ fi
+
+ ;;
+ abort-upgrade)
+ # Back out of an attempt to upgrade this package FROM THIS VERSION
+ # to version $2. Undo the effects of "prerm upgrade $2".
+ :
+
+ ;;
+ abort-remove)
+ if test "$2" != in-favour; then
+ echo "$0: undocumented call to \`postinst $*'" 1>&2
+ exit 0
+ fi
+ # Back out of an attempt to remove this package, which was due to
+ # a conflict with package $3 (version $4). Undo the effects of
+ # "prerm remove in-favour $3 $4".
+ :
+
+ ;;
+ abort-deconfigure)
+ if test "$2" != in-favour || test "$5" != removing; then
+ echo "$0: undocumented call to \`postinst $*'" 1>&2
+ exit 0
+ fi
+ # Back out of an attempt to deconfigure this package, which was
+ # due to package $6 (version $7) which we depend on being removed
+ # to make way for package $3 (version $4). Undo the effects of
+ # "prerm deconfigure in-favour $3 $4 removing $6 $7".
+ :
+
+ ;;
+ *) echo "$0: didn't understand being called with \`$1'" 1>&2
+ exit 0;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+
+exit 0
diff --git a/debian/vm.postrm b/debian/vm.postrm
new file mode 100755
index 0000000..23245eb
--- /dev/null
+++ b/debian/vm.postrm
@@ -0,0 +1,217 @@
+#! /bin/sh
+# -*- Mode: Sh -*-
+# postrm ---
+# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
+# Created On : Fri Nov 14 12:22:20 2003
+# Created On Node : glaurung.green-gryphon.com
+# Last Modified By : Manoj Srivastava
+# Last Modified On : Fri Sep 29 14:09:08 2006
+# Last Machine Used: glaurung.internal.golden-gryphon.com
+# Update Count : 11
+# Status : Unknown, Use with caution!
+# HISTORY :
+# Description :
+#
+# arch-tag: 56802d51-d980-4822-85c0-28fce19ed430
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+
+# Abort if any command returns an error value
+set -e
+
+package_name=vm
+ELDIR=/usr/share/emacs/site-lisp/$package_name
+
+if [ -z "$package_name" ]; then
+ print >&2 "Internal Error. Please report a bug."
+ exit 1;
+fi
+
+# This script is called twice during the removal of the package; once
+# after the removal of the package's files from the system, and as
+# the final step in the removal of this package, after the package's
+# conffiles have been removed.
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+# Ensure the menu system is updated
+#[ ! -x /usr/bin/update-menus ] || /usr/bin/update-menus
+
+case "$1" in
+ remove)
+ # This package is being removed, but its configuration has not yet
+ # been purged.
+ :
+ test ! -d /usr/share/emacs/site-lisp/vm || \
+ find /usr/share/emacs/site-lisp/vm -type f \
+ \( -name \*.elc -o -name \*.el \) -exec rm {} \;
+ test ! -d /usr/share/emacs/site-lisp/vm || \
+ rmdir --ignore-fail-on-non-empty /usr/share/emacs/site-lisp/vm
+ # Remove diversion
+ ##: dpkg-divert --package ${package_name} --remove --rename \
+ ##: --divert /usr/bin/other.real /usr/bin/other
+
+ # ldconfig is NOT needed during removal of a library, only during
+ # installation
+
+ ;;
+ purge)
+ # This package has previously been removed and is now having
+ # its configuration purged from the system.
+ :
+
+ # we mimic dpkg as closely as possible, so we remove configuration
+ # files with dpkg backup extensions too:
+ ### Some of the following is from Tore Anderson:
+ ##: for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do
+ ##: rm -f /etc/${package_name}.conf$ext
+ ##: done
+
+ # remove the configuration file itself
+ ##: rm -f /etc/${package_name}.conf
+
+ # and finally clear it out from the ucf database
+ ##: ucf --purge /etc/${package_name}.conf
+
+ # Remove symlinks from /etc/rc?.d
+ ##: update-rc.d ${package_name} remove >/dev/null
+
+ ##: if [ -e /usr/share/debconf/confmodule ]; then
+ ##: # Purge this package's data from the debconf database.
+ ##: . /usr/share/debconf/confmodule
+ ##: db_purge
+ ##: fi
+ test ! -d /usr/share/emacs/site-lisp/vm || \
+ find /usr/share/emacs/site-lisp/vm -type f \
+ \( -name \*.elc -o -name \*.el \) -exec rm {} \;
+ test ! -d /usr/share/emacs/site-lisp/vm || \
+ rmdir --ignore-fail-on-non-empty /usr/share/emacs/site-lisp/vm
+
+ if [ -f $ELDIR/vm.el ]; then
+ rm -f -f $ELDIR/vm.el
+ fi
+ if [ -f $ELDIR/vm.elc ]; then
+ rm -f -f $ELDIR/vm.elc
+ fi
+
+ for flavour in emacs24 emacs22 emacs23 emacs-snapshot xemacs21; do
+ ELCDIR=/usr/share/$flavour/site-lisp/$package_name/
+ if [ -f /etc/$flavour/site-start.d/50vm-init.el ]; then
+ rm -f /etc/$flavour/site-start.d/50vm-init.el
+ fi
+ if [ -d /usr/share/$flavour/site-lisp/$package_name ]; then
+ if [ -f /usr/share/$flavour/site-lisp/$package_name/install.log ]; then
+ rm -f /usr/share/$flavour/site-lisp/$package_name/install.log
+ fi
+ if [ -f /usr/share/$flavour/site-lisp/$package_name/vm-init.el ]; then
+ rm -f /usr/share/$flavour/site-lisp/$package_name/vm-init.el
+ fi
+ rm -f /usr/share/$flavour/site-lisp/$package_name/*.elc || true
+ rmdir /usr/share/$flavour/site-lisp/$package_name || true
+ fi
+ done
+
+ # This package has previously been removed and is now having
+ # its configuration purged from the system.
+ for flavour in emacs24 emacs22 emacs23 emacs-snapshot xemacs21; do
+ STARTDIR=/etc/$flavour/site-start.d;
+ STARTFILE="${package_name}-init.el";
+ if which ucf >/dev/null; then
+ ucf --purge "$STARTDIR/50$STARTFILE";
+ fi
+ if which ucfr >/dev/null; then
+ ucfr --purge ${package_name} "$STARTDIR/50$STARTFILE"
+ fi
+ if [ -e "$STARTDIR/20$STARTFILE" ]; then
+ rm -f "$STARTDIR/20$STARTFILE"
+ fi
+ done
+
+ ;;
+ disappear)
+ if test "$2" != overwriter; then
+ echo "$0: undocumented call to \`postrm $*'" 1>&2
+ exit 0
+ fi
+ # This package has been completely overwritten by package $3
+ # (version $4). All our files are already gone from the system.
+ # This is a special case: neither "prerm remove" nor "postrm remove"
+ # have been called, because dpkg didn't know that this package would
+ # disappear until this stage.
+ :
+
+ ;;
+ upgrade)
+ # About to upgrade FROM THIS VERSION to version $2 of this package.
+ # "prerm upgrade" has been called for this version, and "preinst
+ # upgrade" has been called for the new version. Last chance to
+ # clean up.
+ :
+
+ ;;
+ failed-upgrade)
+ # About to upgrade from version $2 of this package TO THIS VERSION.
+ # "prerm upgrade" has been called for the old version, and "preinst
+ # upgrade" has been called for this version. This is only used if
+ # the previous version's "postrm upgrade" couldn't handle it and
+ # returned non-zero. (Fix old postrm bugs here.)
+ :
+
+ ;;
+ abort-install)
+ # Back out of an attempt to install this package. Undo the effects of
+ # "preinst install...". There are two sub-cases.
+ :
+
+ if test "${2+set}" = set; then
+ # When the install was attempted, version $2's configuration
+ # files were still on the system. Undo the effects of "preinst
+ # install $2".
+ :
+
+ else
+ # We were being installed from scratch. Undo the effects of
+ # "preinst install".
+ :
+
+ fi ;;
+ abort-upgrade)
+ # Back out of an attempt to upgrade this package from version $2
+ # TO THIS VERSION. Undo the effects of "preinst upgrade $2".
+ :
+
+ ;;
+ *) echo "$0: didn't understand being called with \`$1'" 1>&2
+ exit 0;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+
+exit 0
diff --git a/debian/vm.prerm b/debian/vm.prerm
new file mode 100755
index 0000000..5c90f6d
--- /dev/null
+++ b/debian/vm.prerm
@@ -0,0 +1,136 @@
+#! /bin/sh
+# -*- Mode: Sh -*-
+# prerm ---
+# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
+# Created On : Fri Nov 14 12:16:39 2003
+# Created On Node : glaurung.green-gryphon.com
+# Last Modified By : Manoj Srivastava
+# Last Modified On : Sat Dec 3 15:14:38 2005
+# Last Machine Used: glaurung.internal.golden-gryphon.com
+# Update Count : 10
+# Status : Unknown, Use with caution!
+# HISTORY :
+# Description :
+#
+# arch-tag: a4c1a888-137d-4800-98f8-93d0365422d8
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+#
+
+# Abort if any command returns an error value
+set -e
+
+package_name=vm
+
+if [ -z "$package_name" ]; then
+ print >&2 "Internal Error. Please report a bug."
+ exit 1;
+fi
+
+
+# This script is called as the first step in removing the package from
+# the system. This includes cases where the user explicitly asked for
+# the package to be removed, upgrade, automatic removal due to conflicts,
+# and deconfiguration due to temporary removal of a depended-on package.
+
+case "$1" in
+ remove)
+ # This package about to be removed.
+ :
+
+ # Remove package-specific directories from /usr/local. Don't try
+ # to remove standard directories such as /usr/local/lib.
+ ##: if test -d /usr/local/lib/${package_name}; then
+ ##: rmdir /usr/local/lib/${package_name} || true
+ ##: fi
+
+ # Deactivate menu-methods script.
+ ##: chmod a-x /etc/menu-methods/${package_name}
+
+ # Withdraw our version of a program.
+ ##: update-alternatives --remove program /usr/bin/alternative
+
+
+ # Get rid of the byte compiled files
+ if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then
+ /usr/lib/emacsen-common/emacs-package-remove $package_name
+ fi
+
+ if [ -L /usr/doc/$package_name ]; then
+ rm -f /usr/doc/$package_name
+ fi
+
+ # There are two sub-cases:
+ if test "${2+set}" = set; then
+ if test "$2" != in-favour; then
+ echo "$0: undocumented call to \`prerm $*'" 1>&2
+ exit 0
+ fi
+ # We are being removed because of a conflict with package $3
+ # (version $4), which is now being installed.
+ :
+
+ else
+ # The package is being removed in its own right.
+ :
+
+ fi ;;
+ deconfigure)
+ if test "$2" != in-favour || test "$5" != removing; then
+ echo "$0: undocumented call to \`prerm $*'" 1>&2
+ exit 0
+ fi
+ # Package $6 (version $7) which we depend on is being removed due
+ # to a conflict with package $3 (version $4), and this package is
+ # being deconfigured until $6 can be reinstalled.
+ :
+
+ ;;
+ upgrade)
+ # Prepare to upgrade FROM THIS VERSION of this package to version $2.
+ :
+
+ # Get rid of the byte compiled files
+ if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then
+ /usr/lib/emacsen-common/emacs-package-remove $package_name
+ fi
+ if [ -L /usr/doc/$package_name ]; then
+ rm -f /usr/doc/$package_name
+ fi
+
+ ;;
+ failed-upgrade)
+ # Prepare to upgrade from version $2 of this package TO THIS VERSION.
+ # This is only used if the old version's prerm couldn't handle it,
+ # and returned non-zero. (Fix old prerm bugs here.)
+ :
+ # Get rid of the byte compiled files
+ if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then
+ /usr/lib/emacsen-common/emacs-package-remove $package_name
+ fi
+
+ ;;
+ *) echo "$0: didn't understand being called with \`$1'" 1>&2
+ exit 0;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+
+exit 0
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5319811
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,15 @@
+# format version number, currently 2; this line is compulsory!
+version=3
+
+# http://www.seanet.com/~kylemonger/vm/vm-([0-9][0-9\.]*)\.tar\.gz debian
+
+#opts="uversionmangle=s/\.$//" \
+#http://download.savannah.nongnu.org/releases/viewmail/vm-([0-9][0-9\.]*?[0-9]+)(-\d+)?\.tgz debian
+
+opts=filenamemangle=s/tgz$/tar.gz/ \
+https://launchpad.net/vm https://launchpad.net/vm/.*/.*/\+download/vm-([\d\.a-z]+).tgz
+
+# So. If We only want the 8.1.x series, and also the non-emacs-23 versions
+# which are source only
+#opts=filenamemangle=s/tgz$/tar.gz/ \
+#https://launchpad.net/vm/+download https://launchpad.net/vm/8\.1.*/.*/\+download/vm-([\d\.]+).tgz