Re: bbdb prevents mu4e from sending a message

2015-12-21 Thread Michael Strey
On Mo, 2015-12-21 at 14:37, Eric Abrahamsen wrote:
> Michael Strey  writes:

[...]

>> I finally gave up trying to use mu4e in parallel to gnus for the same reason.
>
> BBDB checks current modes against the bbdb-muda-mode-alist variable,
> which you should be able to add to. It comes with (mu4e mu4e-view-mode)
> in there, maybe you can add something like (mu4e-message-mode
> message-mode) to the list and see if that works? I haven't looked
> exactly at how that variable is queried, but I'll bet you can trick BBDB
> into letting it pass.

You are right and I've been confused by the many problems I struggled
with in the past.  In fact I had the problem not with mu4e but with
notmuch that I'm still using side by side with gnus for searching and
solved it as suggested by you.  I have the following in
bbdb-mua-mode-alist:

((vm vm-mode vm-virtual-mode vm-summary-mode vm-presentation-mode)
 (gnus gnus-summary-mode gnus-article-mode gnus-tree-mode)
 (rmail rmail-mode rmail-summary-mode)
 (mh mhe-mode mhe-summary-mode mh-folder-mode)
 (message notmuch-message-mode message-mode)
 (mail mail-mode))

-- 
Michael Strey
http://www.strey.biz * https://twitter.com/michaelstrey


--
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb prevents mu4e from sending a message

2015-12-21 Thread Eric Abrahamsen
Michael Strey  writes:

> Hi Alan,
>
> On Mo, 2015-12-21 at 09:14, Alan Schmitt wrote:
>
> [...]
>
>> I tried adding the 'mu4e symbol to both lines and it's not changing
>> anything. I don't necessarily want BBDB to work with mu4e: I want to be
>> able to send messages with mu4e while still using BBDB with gnus. Is
>> this possible?
>>
>> I asked this question on the mu4e mailing list, and it seems that the
>> problems comes from the hook bbdb adds to message mode, which is run in
>> mu4e-compose-mode as it extends message mode.
>
> I finally gave up trying to use mu4e in parallel to gnus for the same reason.

BBDB checks current modes against the bbdb-muda-mode-alist variable,
which you should be able to add to. It comes with (mu4e mu4e-view-mode)
in there, maybe you can add something like (mu4e-message-mode
message-mode) to the list and see if that works? I haven't looked
exactly at how that variable is queried, but I'll bet you can trick BBDB
into letting it pass.

E


--
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb prevents mu4e from sending a message

2015-12-21 Thread Michael Strey
Hi Alan,

On Mo, 2015-12-21 at 09:14, Alan Schmitt wrote:

[...]

> I tried adding the 'mu4e symbol to both lines and it's not changing
> anything. I don't necessarily want BBDB to work with mu4e: I want to be
> able to send messages with mu4e while still using BBDB with gnus. Is
> this possible?
>
> I asked this question on the mu4e mailing list, and it seems that the
> problems comes from the hook bbdb adds to message mode, which is run in
> mu4e-compose-mode as it extends message mode.

I finally gave up trying to use mu4e in parallel to gnus for the same reason.

-- 
Michael Strey
http://www.strey.biz * https://twitter.com/michaelstrey


--
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bbdb prevents mu4e from sending a message

2015-12-21 Thread Alan Schmitt
Hello,

I'm trying to use both gnus and mu4e, and I'm having an issue when
sending a message from mu4e: I get the following error:

bbdb-mua: BBDB: MUA `mu4e-compose-mode' not supported

I'm using a recent version of BBDB (the Melpa version from November of
this year), and my BBDB setup looks like this:

#+begin_src emacs-lisp
(bbdb-initialize 'gnus 'message)
(bbdb-mua-auto-update-init 'gnus 'message)
#+end_src

I tried adding the 'mu4e symbol to both lines and it's not changing
anything. I don't necessarily want BBDB to work with mu4e: I want to be
able to send messages with mu4e while still using BBDB with gnus. Is
this possible?

I asked this question on the mu4e mailing list, and it seems that the
problems comes from the hook bbdb adds to message mode, which is run in
mu4e-compose-mode as it extends message mode.

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated December 13, 2015, Mauna Loa Obs.): 401.31 ppm


signature.asc
Description: PGP signature
--
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/