unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* using gpg with notmuch
@ 2016-01-10 20:42 Austin Guest
  2016-01-10 21:31 ` David Bremner
  0 siblings, 1 reply; 6+ messages in thread
From: Austin Guest @ 2016-01-10 20:42 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

Hi there. Bit of a n00b to notmuch and having some problems using it
alongside gnupg to decrypt emails in Emacs.

I'm running Emacs 24.5.1 on Ubuntu 15.10 (x86_64) with notmuch v 0.20.2 and
the emacs notmuch package 20160108.432 from melpa (but have had identical
results with v 0.21 from melpa-stable).

Following the instructions on the emacstips page
<https://notmuchmail.org/emacstips/>, I'm inserting
`(notmuch-crypto-process-mime t)` into my `init.el` file -- after
successfully running `(require `notmuch)`. I get the error

Symbol's function definition is void: notmuch-crypto-process-mime

Have searched around a bit and not been able to turn up any fixes. Does
anyone have any pointers as to how I could troubleshoot and/or links to any
step-by-step tutorials for getting this setup?

Thanks in advance,

Austin

[-- Attachment #2: Type: text/html, Size: 1066 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: using gpg with notmuch
  2016-01-10 20:42 using gpg with notmuch Austin Guest
@ 2016-01-10 21:31 ` David Bremner
  2016-01-10 21:45   ` Austin Guest
  0 siblings, 1 reply; 6+ messages in thread
From: David Bremner @ 2016-01-10 21:31 UTC (permalink / raw)
  To: Austin Guest, notmuch

Austin Guest <guest.austin@gmail.com> writes:

> Hi there. Bit of a n00b to notmuch and having some problems using it
> alongside gnupg to decrypt emails in Emacs.
>
> I'm running Emacs 24.5.1 on Ubuntu 15.10 (x86_64) with notmuch v 0.20.2 and
> the emacs notmuch package 20160108.432 from melpa (but have had identical
> results with v 0.21 from melpa-stable).

The emacs frontend for notmuch ships with the C source. You should use
matching versions. Other versions _might_ work, but are not guaranteed
to. MELPA is kindof unuseful for things like notmuch that need C
libraries; it's easy to get badly out of sync.

On the other hand, the problem you mention sounds unrelated...

> Following the instructions on the emacstips page
> <https://notmuchmail.org/emacstips/>, I'm inserting
> `(notmuch-crypto-process-mime t)` into my `init.el` file -- after
> successfully running `(require `notmuch)`. I get the error
>
> Symbol's function definition is void: notmuch-crypto-process-mime

I think you want (setq notmuch-crypto-process-mime t); it's a variable,
not a function.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: using gpg with notmuch
  2016-01-10 21:31 ` David Bremner
@ 2016-01-10 21:45   ` Austin Guest
  2016-01-10 22:48     ` David Bremner
  0 siblings, 1 reply; 6+ messages in thread
From: Austin Guest @ 2016-01-10 21:45 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 2255 bytes --]

Thank you David!

Using `setq` cleared things up. Should have caught that. Is there any way
to contribute a patch to the docs (which omit `setq`) to help other n00bs
along the way avoid the same pitfall?

Also: I'd like to get version parity between my version of notmuch and my
version of notmuch-emacs, but am not quite sure how to build form source as
you suggest. (Tried poking around the docs and couldn't turn anything up.)
Any pointers?

When you say the frontend "ships with the C source" what does that mean? Or
perhaps more to the point: how can I find and use the C source to build the
binary? Once built, how can I make sure the new version is what I run from
Emacs since I'm currently running the version from Melpa, etc...?

Thank you in advance for your patience. I really appreciate the help! Not
to mention the fantastic program! :)

/a/


On Sun, Jan 10, 2016 at 4:31 PM, David Bremner <david@tethera.net> wrote:

> Austin Guest <guest.austin@gmail.com> writes:
>
> > Hi there. Bit of a n00b to notmuch and having some problems using it
> > alongside gnupg to decrypt emails in Emacs.
> >
> > I'm running Emacs 24.5.1 on Ubuntu 15.10 (x86_64) with notmuch v 0.20.2
> and
> > the emacs notmuch package 20160108.432 from melpa (but have had identical
> > results with v 0.21 from melpa-stable).
>
> The emacs frontend for notmuch ships with the C source. You should use
> matching versions. Other versions _might_ work, but are not guaranteed
> to. MELPA is kindof unuseful for things like notmuch that need C
> libraries; it's easy to get badly out of sync.
>
>
Will try building from source. Any pointers

Is there a way to contribute a patch to the docs?


> On the other hand, the problem you mention sounds unrelated...
>
> > Following the instructions on the emacstips page
> > <https://notmuchmail.org/emacstips/>, I'm inserting
> > `(notmuch-crypto-process-mime t)` into my `init.el` file -- after
> > successfully running `(require `notmuch)`. I get the error
> >
> > Symbol's function definition is void: notmuch-crypto-process-mime
>
> I think you want (setq notmuch-crypto-process-mime t); it's a variable,
> not a function.
>



-- 
Austin Guest
guest.austin@gmail.com
@aguestuser <http://twitter.com/aguestuser>
831-917-6400

[-- Attachment #2: Type: text/html, Size: 3408 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: using gpg with notmuch
  2016-01-10 21:45   ` Austin Guest
@ 2016-01-10 22:48     ` David Bremner
  2016-01-11  0:50       ` Austin Guest
  0 siblings, 1 reply; 6+ messages in thread
From: David Bremner @ 2016-01-10 22:48 UTC (permalink / raw)
  To: Austin Guest; +Cc: notmuch

Austin Guest <guest.austin@gmail.com> writes:

> Thank you David!
>
> Using `setq` cleared things up. Should have caught that. Is there any way
> to contribute a patch to the docs (which omit `setq`) to help other n00bs
> along the way avoid the same pitfall?

Ah, I see there is a typo on that page. It would be great if you could
fix it.

You can find instructions for editing the wiki here:

    https://notmuchmail.org/wikiwriteaccess/


> When you say the frontend "ships with the C source" what does that mean? Or
> perhaps more to the point: how can I find and use the C source to build the
> binary? Once built, how can I make sure the new version is what I run from
> Emacs since I'm currently running the version from Melpa, etc...?

download the source from

https://notmuchmail.org/releases/LATEST-notmuch-0.21.tar.gz

unpack that, and there is a file called INSTALL with instructions on how
to build and install.

You can find the versions by typing 'v' in the notmuch-hello buffer.

d

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: using gpg with notmuch
  2016-01-10 22:48     ` David Bremner
@ 2016-01-11  0:50       ` Austin Guest
  2016-01-11  1:54         ` David Bremner
  0 siblings, 1 reply; 6+ messages in thread
From: Austin Guest @ 2016-01-11  0:50 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 1435 bytes --]

Thanks for being so welcoming and helpful David! Just pushed an update to
the docs.

(Note: I pushed to a separate branch first
[aguestuser-fix-emacstips-crypto-section], before realizing the project
suggests just pushing to master and doing that, so apologies if I cluttered
up the remote repo!)

/a/

On Sun, Jan 10, 2016 at 5:48 PM David Bremner <david@tethera.net> wrote:

> Austin Guest <guest.austin@gmail.com> writes:
>
> > Thank you David!
> >
> > Using `setq` cleared things up. Should have caught that. Is there any way
> > to contribute a patch to the docs (which omit `setq`) to help other n00bs
> > along the way avoid the same pitfall?
>
> Ah, I see there is a typo on that page. It would be great if you could
> fix it.
>
> You can find instructions for editing the wiki here:
>
>     https://notmuchmail.org/wikiwriteaccess/
>
>
> > When you say the frontend "ships with the C source" what does that mean?
> Or
> > perhaps more to the point: how can I find and use the C source to build
> the
> > binary? Once built, how can I make sure the new version is what I run
> from
> > Emacs since I'm currently running the version from Melpa, etc...?
>
> download the source from
>
> https://notmuchmail.org/releases/LATEST-notmuch-0.21.tar.gz
>
> unpack that, and there is a file called INSTALL with instructions on how
> to build and install.
>
> You can find the versions by typing 'v' in the notmuch-hello buffer.
>
> d
>

[-- Attachment #2: Type: text/html, Size: 2110 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: using gpg with notmuch
  2016-01-11  0:50       ` Austin Guest
@ 2016-01-11  1:54         ` David Bremner
  0 siblings, 0 replies; 6+ messages in thread
From: David Bremner @ 2016-01-11  1:54 UTC (permalink / raw)
  To: Austin Guest; +Cc: notmuch

Austin Guest <guest.austin@gmail.com> writes:

> Thanks for being so welcoming and helpful David! Just pushed an update to
> the docs.
>
> (Note: I pushed to a separate branch first
> [aguestuser-fix-emacstips-crypto-section], before realizing the project
> suggests just pushing to master and doing that, so apologies if I cluttered
> up the remote repo!)
>
> /a/

No worries, I deleted the extra branch.

d

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-11  1:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-10 20:42 using gpg with notmuch Austin Guest
2016-01-10 21:31 ` David Bremner
2016-01-10 21:45   ` Austin Guest
2016-01-10 22:48     ` David Bremner
2016-01-11  0:50       ` Austin Guest
2016-01-11  1:54         ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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).