* VM on Emacs 26?
@ 2020-01-23 13:23 Skip Montanaro
2020-01-23 16:27 ` Robert Pluim
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Skip Montanaro @ 2020-01-23 13:23 UTC (permalink / raw)
To: Help GNU Emacs
I don't use vm a ton anymore, just to work through the unsure messages held
by SpamBayes for mail.python.org. Alas, upgrading from Emacs 25 to 26 the
other day seems to have borked vm. I do have it installed on my Ubuntu
18.04 system:
vm/bionic,bionic,now 8.2.0b-2.1 all [installed]
mail user agent for Emacs
but Emacs 26 is clearly not finding it. Any suggestions?
Skip
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: VM on Emacs 26?
2020-01-23 13:23 VM on Emacs 26? Skip Montanaro
@ 2020-01-23 16:27 ` Robert Pluim
2020-01-23 17:08 ` Sven Joachim
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Robert Pluim @ 2020-01-23 16:27 UTC (permalink / raw)
To: Skip Montanaro; +Cc: Help GNU Emacs
>>>>> On Thu, 23 Jan 2020 07:23:27 -0600, Skip Montanaro <skip.montanaro@gmail.com> said:
Skip> I don't use vm a ton anymore, just to work through the unsure messages held
Skip> by SpamBayes for mail.python.org. Alas, upgrading from Emacs 25 to 26 the
Skip> other day seems to have borked vm. I do have it installed on my Ubuntu
Skip> 18.04 system:
Skip> vm/bionic,bionic,now 8.2.0b-2.1 all [installed]
Skip> mail user agent for Emacs
Skip> but Emacs 26 is clearly not finding it. Any suggestions?
Iʼd inspect the load-path on emacs25 to see where VM is installed, and
then grep to find which init file sets up that path. Quite possibly
itʼs an init file only used by your emacs25 installation.
Robert
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: VM on Emacs 26?
2020-01-23 13:23 VM on Emacs 26? Skip Montanaro
2020-01-23 16:27 ` Robert Pluim
@ 2020-01-23 17:08 ` Sven Joachim
2020-01-23 20:10 ` George Hartzell
2020-01-24 14:00 ` Pieter van Oostrum
3 siblings, 0 replies; 7+ messages in thread
From: Sven Joachim @ 2020-01-23 17:08 UTC (permalink / raw)
To: help-gnu-emacs
On 2020-01-23 07:23 -0600, Skip Montanaro wrote:
> I don't use vm a ton anymore, just to work through the unsure messages held
> by SpamBayes for mail.python.org. Alas, upgrading from Emacs 25 to 26 the
> other day seems to have borked vm. I do have it installed on my Ubuntu
> 18.04 system:
>
> vm/bionic,bionic,now 8.2.0b-2.1 all [installed]
> mail user agent for Emacs
>
> but Emacs 26 is clearly not finding it. Any suggestions?
That's probably Debian bug #900813[1]. I would suggest to install the
package from disco[2] where this is fixed.
1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900813
2. https://launchpad.net/ubuntu/+source/vm/8.2.0b-5
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: VM on Emacs 26?
2020-01-23 13:23 VM on Emacs 26? Skip Montanaro
2020-01-23 16:27 ` Robert Pluim
2020-01-23 17:08 ` Sven Joachim
@ 2020-01-23 20:10 ` George Hartzell
2020-01-23 20:56 ` Stefan Monnier
2020-01-24 14:00 ` Pieter van Oostrum
3 siblings, 1 reply; 7+ messages in thread
From: George Hartzell @ 2020-01-23 20:10 UTC (permalink / raw)
To: Skip Montanaro; +Cc: Help GNU Emacs
Skip Montanaro writes:
> I don't use vm a ton anymore, just to work through the unsure messages held
> by SpamBayes for mail.python.org. Alas, upgrading from Emacs 25 to 26 the
> other day seems to have borked vm. I do have it installed on my Ubuntu
> 18.04 system:
>
> vm/bionic,bionic,now 8.2.0b-2.1 all [installed]
> mail user agent for Emacs
>
> but Emacs 26 is clearly not finding it. Any suggestions?
>
> Skip
>
>
>
I'm running it in emacs 26.3 on a mac (via homebrew), so it can be
made to work.
[My config][config] uses [straight.el] to manage it's dependencies.
Here's the interesting bit of the vm setup.
```lisp
(use-package vm
:straight (vm :type git :host github :repo "emacsmirror/vm"
:fork (:host github
:repo "hartzell/vm"
:branch "oldie"
;; :branch "wip"
)
:no-byte-compile t
:files (:defaults "lisp/*.elc")
)
:commands (vm)
:init
(require 'cl)
:config
;; Make VM your default mail agent in Emacs
(setq mail-user-agent 'vm-user-agent)
;; Many many configuratinos things redacted
;; (setq vm-berkeley-mail-compatibility t)
;; ....
(add-hook 'vm-mode-hook
'(lambda ()
(setq vm-visible-headers
(append vm-visible-headers (list "X-Spam-Status:")))
;; more stuff redacted
;; ...
))
;; ...
)
```
g.
[straight.el]: https://github.com/raxod502/straight.el
[config]: https://github.com/hartzell/.emacs.d
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: VM on Emacs 26?
2020-01-23 13:23 VM on Emacs 26? Skip Montanaro
` (2 preceding siblings ...)
2020-01-23 20:10 ` George Hartzell
@ 2020-01-24 14:00 ` Pieter van Oostrum
2020-01-24 14:08 ` Skip Montanaro
3 siblings, 1 reply; 7+ messages in thread
From: Pieter van Oostrum @ 2020-01-24 14:00 UTC (permalink / raw)
To: help-gnu-emacs
Skip Montanaro <skip.montanaro@gmail.com> writes:
> I don't use vm a ton anymore, just to work through the unsure messages held
> by SpamBayes for mail.python.org. Alas, upgrading from Emacs 25 to 26 the
> other day seems to have borked vm. I do have it installed on my Ubuntu
> 18.04 system:
>
> vm/bionic,bionic,now 8.2.0b-2.1 all [installed]
> mail user agent for Emacs
>
> but Emacs 26 is clearly not finding it. Any suggestions?
>
> Skip
I have been running VM for a long time on Emacs 26, and now on Emacs 27. It is my main email reader/writer. It is just running fine.
I got it from the trunk on launchpad https://launchpad.net/vm/trunk with bzr.
I just put the whole directory in my site-lisp (on my mac that is ~/Library/Application Support/Emacs/site-lisp/vm-trunk/lisp), but on your Linux system it will surely be somewhere else.
I only had to apply a patch to get it working.
--- lisp/vm-mime.el 2013-02-15 08:44:48 +0000
+++ lisp/vm-mime.el 2013-06-02 14:46:59 +0000
@@ -1088,7 +1088,7 @@
(save-excursion
(setq start (point-min))
(while (not done)
- (setq charset (get-text-property start 'vm-charset))
+ (setq charset (or (get-text-property start 'vm-charset) "us-ascii"))
(setq pos (next-single-property-change start 'vm-charset))
(or pos (setq pos (point-max) done t))
(if charset
--
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: VM on Emacs 26?
2020-01-24 14:00 ` Pieter van Oostrum
@ 2020-01-24 14:08 ` Skip Montanaro
0 siblings, 0 replies; 7+ messages in thread
From: Skip Montanaro @ 2020-01-24 14:08 UTC (permalink / raw)
To: Help GNU Emacs
>
> I have been running VM for a long time on Emacs 26, and now on Emacs 27.
> It is my main email reader/writer. It is just running fine.
>
> I got it from the trunk on launchpad https://launchpad.net/vm/trunk with
> bzr.
> I just put the whole directory in my site-lisp (on my mac that is
> ~/Library/Application Support/Emacs/site-lisp/vm-trunk/lisp), but on your
> Linux system it will surely be somewhere else.
>
Thanks. I've now got it working as well. I wasn't sure what to do with the
posted Launchpad URL, so took the coward's way out and just upgraded from
Ubuntu 18.04LTS to 19.04. Even with that change I needed to visit the
installation directory and run "make" to generate vm-autoloads.el.
Skip
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-01-24 14:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-23 13:23 VM on Emacs 26? Skip Montanaro
2020-01-23 16:27 ` Robert Pluim
2020-01-23 17:08 ` Sven Joachim
2020-01-23 20:10 ` George Hartzell
2020-01-23 20:56 ` Stefan Monnier
2020-01-24 14:00 ` Pieter van Oostrum
2020-01-24 14:08 ` Skip Montanaro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).