girzel / ebdb

An EIEIO port of BBDB, Emacs' contact-management package
67 stars 12 forks source link

How should I enable VM support? #80

Closed hartzell closed 2 years ago

hartzell commented 5 years ago

The manual sez this in the MUA section

MUAs supported by EBDB include gnus, message, mh-e, mu4e, wl, and rmail.

I'm a VM user (not the last, I think, but...), and I see a handful of references to VM in the code.

But, its not clear how much support is there, if it works, or how to enable it.

girzel commented 5 years ago

You're hitting all the bugs! I think there was originally a bbdb-vm.el file that I copied over to ebdb-vm.el, but eventually deleted because I couldn't find anyone using VM and wasn't sure what was required for integration. Hang on while I find a copy of VM to test with, and I'll put support back in.

hartzell commented 5 years ago

You're hitting all the bugs! [...]

We all have our special skills....

I can share my straight.el config w/ you, but it's a bit complicated because vm expects to have autoconf, configure and make run on it, which isn't straight.el's happy path.

And, you can count on me to give it a test run. ;)

hartzell commented 5 years ago

In fact, I ended up forking and working from a slightly older commit, then layering a commit of my own with two known fixes on it.

Here's what I'm running: https://github.com/hartzell/vm/tree/oldie

girzel commented 5 years ago

Excellent, I'll try it using that version of VM. And it turns out that there's a "vm-mua" branch here with EBDB' VM code already in it, so obviously I meant to do this and then forgot about it. Don't bother running that yet, let me just do some basic sanity tests first.

girzel commented 2 years ago

Huh, apparently I put in the ebdb-vm.el library, but didn't check back here. I haven't been attending to Github like I should! Assuming you're still around, and using EBDB, did you ever find that library?

hartzell commented 2 years ago

Yep, still here. Honestly, I forgot about this. Looking at my config I should be using ebdb, but I seem to be using bbdb, and I haven't thought about any of this. I currently have this (on alice), but I need to think about what I did there.


(when (string-match "^alice" (system-name))
  (use-package ebdb
    :straight (ebdb :type git :host github :repo "girzel/ebdb"
                    )
    :config
    (setq ebdb-case-fold-search t)
    )
  (use-package bbdb
    :commands (bbdb bbdb-insinuate-vm)
    :init
    (require 's)
    (load "bbdb-autoloads" nil t)```
girzel commented 2 years ago

If you can't tell which library you're using, maybe it doesn't matter :)

Anyway, I'm going to close this report since I think the basic issue is resolved: ebdb-vm.el is present. If you hit more specific bugs, open more reports!

hartzell commented 2 years ago

If you can't tell which library you're using, maybe it doesn't matter :)

I suspect that I've just be using the bbdb side, will queue this up as something to revisit. Thanks for following up. I promise to not be shy about filing reports!