Re: web interface to notmuch

2017-10-25 Thread Brian Sniffen
That's inspiring!  Now there's a demo of nmweb at

https://nmweb.evenmere.org/


It's possible to get it to dump the whole mbox by clicking through the
obvious links; please consider exploring at
https://nmweb.evenmere.org/search/monkey instead.  There are not many
monkeys in the inbox.

-Brian

Vladimir Panteleev  writes:

> Hi,
>
> Sorry to barge in, I noticed this thread and thought I'd try to have a 
> go at setting up a test DFeed instance.
>
> Here it is:
>
> http://dfeed-notmuch.k3.1azy.net/
>
> There is some more info on the help page:
>
> http://dfeed-notmuch.k3.1azy.net/help
>
> Posting is supported, but it is currently (intentionally) unconfigured 
> for now.
>
> What do you think?
>
> On 2017-10-21 22:21, Daniel Kahn Gillmor wrote:
>> On Sat 2017-10-21 23:00:00 +0300, Jani Nikula wrote:
>>> For the list archive, we could restrict to displaying text/plain only.
>> 
>> and text/x-diff, surely :)
>> 
>> But yeah, good point.
>> 
>> Brian, what do you think about such a constraint?  would that make your
>> implementation safe enough to put on the public Internet for a read-only
>> archive?
>> 
>>  --dkg
>> 
>> 
>> 
>> ___
>> notmuch mailing list
>> notmuch@notmuchmail.org
>> https://notmuchmail.org/mailman/listinfo/notmuch
>> 
>
> -- 
> Best regards,
>   Vladimir
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Newbie question defining deleted map

2017-10-25 Thread Tomi Ollila
On Wed, Oct 25 2017, David Bremner wrote:

> Tomi Ollila  writes:
>
>> On Wed, Oct 25 2017, Jürgen Beier wrote:
>>
>>> Hi,
>>>
>>> I am trying to set up notmuch-emacs.
>>>
>>> I found the advice in the faq to define an key map "d" to add a "deleted 
>>> tag" to the mail to be used in the notmuch message mode.
>>>
>>> I put according to the advice the following in my .emacs file:
>>
>> where is that advice?
>>
>> perhaps putting that to ~/.emacs.d/notmuch-config.el helps ?
>>
>> that file is loaded *after* notmuch is loaded so the keymap is defined
>
> It seems worth noting that recent versions of notmuch-emacs have a
> binding 'k d' that addes the deleted tag. This works at least in
> notmuch-search, notmuch-show and notmuch-tree mode.

Indeed! I always forgot to remove my current alternative binding for doing
that!

___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Newbie question defining deleted map

2017-10-25 Thread David Bremner
Tomi Ollila  writes:

> On Wed, Oct 25 2017, Jürgen Beier wrote:
>
>> Hi,
>>
>> I am trying to set up notmuch-emacs.
>>
>> I found the advice in the faq to define an key map "d" to add a "deleted 
>> tag" to the mail to be used in the notmuch message mode.
>>
>> I put according to the advice the following in my .emacs file:
>
> where is that advice?
>
> perhaps putting that to ~/.emacs.d/notmuch-config.el helps ?
>
> that file is loaded *after* notmuch is loaded so the keymap is defined

It seems worth noting that recent versions of notmuch-emacs have a
binding 'k d' that addes the deleted tag. This works at least in
notmuch-search, notmuch-show and notmuch-tree mode.
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Newbie question defining deleted map

2017-10-25 Thread Tomi Ollila
On Wed, Oct 25 2017, Jürgen Beier wrote:

> Hi,
>
> I am trying to set up notmuch-emacs.
>
> I found the advice in the faq to define an key map "d" to add a "deleted 
> tag" to the mail to be used in the notmuch message mode.
>
> I put according to the advice the following in my .emacs file:

where is that advice?

perhaps putting that to ~/.emacs.d/notmuch-config.el helps ?

that file is loaded *after* notmuch is loaded so the keymap is defined

Tomi

>
>
> (define-key notmuch-show-mode-map "d"
>      (lambda ()
>    (interactive)
>     (notmuch-show-tag "+deleted")))
>
>
> and I get the following error:
>
>
> Warning (initialization): An error occurred while loading 
> `/home/beier/.emacs':
>
> Symbol's value as variable is void: notmuch-show-mode-map
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.  Start Emacs with
> the `--debug-init' option to view a complete error backtrace.
>
> Doing this I get the following:
>
>
> Debugger entered--Lisp error: (void-variable notmuch-show-mode-map)
>    (define-key notmuch-show-mode-map "d" (function (lambda nil 
> (interactive) (notmuch-show-tag "+deleted"
>    eval-buffer(# nil "/home/beier/.emacs" nil t)  ; 
> Reading at buffer position 17386
>    load-with-code-conversion("/home/beier/.emacs" "/home/user/.emacs" t t)
>    load("~/.emacs" t t)
>
> [...]
>
> [init-file-user system-type delayed-warnings-list user-init-file 
> inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" 
> windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" 
> "~/.emacs" "^_emacs\\(\\.elc?\\)?$" (initialization "`_emacs' init file 
> is deprecated, please use `.emacs'") "~/_emacs" t load expand-file-name 
> "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" 
> file-name-sans-extension ".el" file-exists-p file-newer-than-file-p 
> message "Warning: %s is newer than %s" sit-for 1 "default"] 7 "\n\n(fn)"]()
>    command-line()
>    normal-top-level()
>
> I am using:
>
> GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>   of 2017-09-20 on lcy01-07, modified by Debian
>
> Could you give me some advice? Thank you.
>
>
> Juergen
>
>
> ___
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Newbie question defining deleted map

2017-10-25 Thread Jürgen Beier

Hi,

I am trying to set up notmuch-emacs.

I found the advice in the faq to define an key map "d" to add a "deleted 
tag" to the mail to be used in the notmuch message mode.


I put according to the advice the following in my .emacs file:


(define-key notmuch-show-mode-map "d"
    (lambda ()
  (interactive)
   (notmuch-show-tag "+deleted")))


and I get the following error:


Warning (initialization): An error occurred while loading 
`/home/beier/.emacs':


Symbol's value as variable is void: notmuch-show-mode-map

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

Doing this I get the following:


Debugger entered--Lisp error: (void-variable notmuch-show-mode-map)
  (define-key notmuch-show-mode-map "d" (function (lambda nil 
(interactive) (notmuch-show-tag "+deleted"
  eval-buffer(# nil "/home/beier/.emacs" nil t)  ; 
Reading at buffer position 17386

  load-with-code-conversion("/home/beier/.emacs" "/home/user/.emacs" t t)
  load("~/.emacs" t t)

[...]

[init-file-user system-type delayed-warnings-list user-init-file 
inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" 
windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" 
"~/.emacs" "^_emacs\\(\\.elc?\\)?$" (initialization "`_emacs' init file 
is deprecated, please use `.emacs'") "~/_emacs" t load expand-file-name 
"init" file-name-as-directory "/.emacs.d" file-name-extension "elc" 
file-name-sans-extension ".el" file-exists-p file-newer-than-file-p 
message "Warning: %s is newer than %s" sit-for 1 "default"] 7 "\n\n(fn)"]()

  command-line()
  normal-top-level()

I am using:

GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2017-09-20 on lcy01-07, modified by Debian

Could you give me some advice? Thank you.


Juergen


___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH 16/18] crypto: add --try-decrypt=nostash to avoid stashing session keys

2017-10-25 Thread Daniel Kahn Gillmor
On Wed 2017-10-25 02:52:01 -0400, Daniel Kahn Gillmor wrote:
> -DO NOT USE ``index.try_decrypt=true`` without considering the
> -security of your index.
> +DO NOT USE ``index.try_decrypt=true`` or ``index-only``
> +without considering the security of your index.

jrollins helpfully caught that i'd let the previous, worse name of
"nostash" ("index-only") sneak into this commit.  I've fixed it in my
local copy of this branch, which can be found as "session-keys" at
https://gitlab.com/dkg/notmuch (current commit ID
ac7a7bb931b68a17dff0b4b782a2bdeced4e779c)

I'll wait to send revised patches to the list once i've incorporated any
other reviews folks want to send my way.

  --dkg


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch