On 2008-02-22 15:56 +0100, Manoj Srivastava wrote:

> Hi,
> On Fri, 22 Feb 2008 11:07:19 +0100, Sven Joachim <[EMAIL PROTECTED]> said: 
>
>> Thanks, vm-autoloads contains the autoloads in 8.0.9-1.  However, the
>> files /etc/emacs*/site-start.d/50vm-init.el are still empty, so the
>> autoloads are not defined at Emacs startup and M-x vm RET signals "No
>> match".  I had to manually load vm-autoloads to make vm work.
>
>> Since this is not what users expect, I've reopened the bug; I think vm
>> should not transition to testing until the problem with the empty
>> 50vm-init.el files is resolved.
>
>         This is not really a package bug. The package does not contain
>  any file called  /etc/emacs*/site-start.d/50vm-init.el; instead, it
>  ships /usr/share/emacs/site-lisp/vm/vm-init.el, which is shipped not
>  empty. 
>
>         During installation, ucf is called to install the appropriate
>  /etc/emacs*/site-start.d/  files; and uses debconf to ask whether or
>  not to replace the file. Now, I have no idea why  the init files are
>  empty right now on your machine,

Nor do I. :-(  Maybe it's time for me to install etckeeper¹.

> but it is seen by ucf as a user change
>  which must be preserved unless the  user allows the file to be
>  replaced -- are you using debconf at a high setting, opting not to see
>  the question?

I use medium priority, and I wasn't asked anything in the last two vm
installs (8.0.7-1 and 8.0.9-1).

Now I tried "dpkg-reconfigure vm" but that failed miserably:

,----
| remove/vm: Ignoring emacsen flavor emacs.
| remove/vm: Removing for 
emacs-snapshot.../usr/share/emacs-snapshot/site-lisp/vm/... done.
| remove/vm: Removing for emacs21.../usr/share/emacs21/site-lisp/vm/... done.
| remove/vm: Removing for emacs22.../usr/share/emacs22/site-lisp/vm/... done.
| emacs-package-install: /usr/lib/emacsen-common/packages/install/vm 
emacs-snapshot emacs-snapshot emacs21 emacs22 failed at 
/usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
`----

Next thing to try was to purge vm which did not work too well either,
it left a bunch of files around:

,----
| % ls -l /usr/share/emacs/site-lisp/vm
| total 1684
| -rw-r--r-- 1 root root  12696 Feb 22 18:36 tapestry.elc
| -rw-r--r-- 1 root root  18170 Feb 22 18:36 vcard.elc
| -rw-r--r-- 1 root root    691 Feb 22 18:36 vm-autoload.elc
| -rw-r--r-- 1 root root 126410 Feb 22 18:36 vm-autoloads.el
| -rw-r--r-- 1 root root 114472 Feb 22 18:36 vm-autoloads.elc
| -rw-r--r-- 1 root root  35098 Feb 22 18:36 vm-avirtual.elc
| -rw-r--r-- 1 root root  12184 Feb 22 18:36 vm-biff.elc
| -rw-r--r-- 1 root root   4888 Feb 22 18:36 vm-crypto.elc
| -rw-r--r-- 1 root root   2213 Feb 22 10:32 vm-cus-load.el
| -rw-r--r-- 1 root root  12260 Feb 22 18:36 vm-delete.elc
| -rw-r--r-- 1 root root  22190 Feb 22 18:36 vm-digest.elc
| -rw-r--r-- 1 root root  10155 Feb 22 18:36 vm-edit.elc
| -rw-r--r-- 1 root root 108163 Feb 22 18:36 vm-folder.elc
| -rw-r--r-- 1 root root   6489 Feb 22 18:36 vm-grepmail.elc
| -rw-r--r-- 1 root root  55388 Feb 22 18:36 vm-imap.elc
| -rw-r--r-- 1 root root   1587 Feb 22 18:36 vm-license.elc
| -rw-r--r-- 1 root root   3547 Feb 22 18:36 vm-macro.elc
| -rw-r--r-- 1 root root  18530 Feb 22 18:36 vm-mark.elc
| -rw-r--r-- 1 root root  44962 Feb 22 18:36 vm-menu.elc
| -rw-r--r-- 1 root root   5283 Feb 22 18:36 vm-message-history.elc
| -rw-r--r-- 1 root root  23573 Feb 22 18:36 vm-message.elc
| -rw-r--r-- 1 root root 162215 Feb 22 18:36 vm-mime.elc
| -rw-r--r-- 1 root root   8667 Feb 22 18:36 vm-minibuf.elc
| -rw-r--r-- 1 root root  24402 Feb 22 18:36 vm-misc.elc
| -rw-r--r-- 1 root root  14970 Feb 22 18:36 vm-motion.elc
| -rw-r--r-- 1 root root  18395 Feb 22 18:36 vm-mouse.elc
| -rw-r--r-- 1 root root  27703 Feb 22 18:36 vm-page.elc
| -rw-r--r-- 1 root root  44648 Feb 22 18:36 vm-pcrisis.elc
| -rw-r--r-- 1 root root  34405 Feb 22 18:36 vm-pgg.elc
| -rw-r--r-- 1 root root  31464 Feb 22 18:36 vm-pine.elc
| -rw-r--r-- 1 root root  30235 Feb 22 18:36 vm-pop.elc
| -rw-r--r-- 1 root root  13090 Feb 22 18:36 vm-ps-print.elc
| -rw-r--r-- 1 root root  46775 Feb 22 18:36 vm-reply.elc
| -rw-r--r-- 1 root root  67607 Feb 22 18:36 vm-rfaddons.elc
| -rw-r--r-- 1 root root  28021 Feb 22 18:36 vm-save.elc
| -rw-r--r-- 1 root root   4290 Feb 22 18:36 vm-search.elc
| -rw-r--r-- 1 root root  24522 Feb 22 18:36 vm-serial.elc
| -rw-r--r-- 1 root root  17409 Feb 22 18:36 vm-sort.elc
| -rw-r--r-- 1 root root    646 Feb 22 18:36 vm-startup.elc
| -rw-r--r-- 1 root root   7479 Feb 22 18:36 vm-summary-faces.elc
| -rw-r--r-- 1 root root  42509 Feb 22 18:36 vm-summary.elc
| -rw-r--r-- 1 root root   6757 Feb 22 18:36 vm-thread.elc
| -rw-r--r-- 1 root root  21651 Feb 22 18:36 vm-toolbar.elc
| -rw-r--r-- 1 root root  17550 Feb 22 18:36 vm-undo.elc
| -rw-r--r-- 1 root root   1771 Feb 22 18:36 vm-user.elc
| -rw-r--r-- 1 root root 216488 Feb 22 18:36 vm-vars.elc
| -rw-r--r-- 1 root root   1866 Feb 22 18:36 vm-vcard.elc
| -rw-r--r-- 1 root root   5310 Feb 22 18:36 vm-version.elc
| -rw-r--r-- 1 root root  20564 Feb 22 18:36 vm-virtual.elc
| -rw-r--r-- 1 root root  17245 Feb 22 18:36 vm-window.elc
`----

You probably want to remove these files in your postrm script.  And
maybe not create them in the first place, because "emacs" is not a
flavor for which vm's lisp files should be compiled, IIUIC.

Then I reinstalled vm which recreated the 50vm-init.el files:

,----
| install/vm: Byte-compiling for emacs-snapshot...
| Creating config file /etc/emacs-snapshot/site-start.d/50vm-init.el with new 
version
|  done.
| install/vm: Byte-compiling for emacs21...
| Creating config file /etc/emacs21/site-start.d/50vm-init.el with new version
|  done.
| install/vm: Byte-compiling for emacs22...
| Creating config file /etc/emacs22/site-start.d/50vm-init.el with new version
|  done.
`----

But they are still empty! :-/  What can I do to debug this?

>         In any case, there is nothing a change in VM can do to fix this
>  on your machine; just cp the /usr/share/emacs/site-lisp/vm/vm-init.el
>  if you want your init files to be not empty.

I'm afraid that they might be empty again after the next update of vm.
Luckily I learned Gnus last summer, so I might just kiss vm goodbye.

Sven


¹ http://packages.debian.org/sid/etckeeper



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to