Re: [PATCH] emacs: Add compatibility for org-msg.el

2021-06-24 Thread David Bremner
Ori  writes:

> Enable `notmuch-company` with `org-msg`, which does not derive from
> `message-mode` in composing. This change was first proposed in the
> discussion here: 
> https://github.com/jeremy-compostella/org-msg/issues/53

Applied to master, thanks for the updated version

d
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: sorting in show tree

2021-06-24 Thread Jose Antonio Ortega Ruiz


Hi again,

Just in case: is there anything else i should do to request this for
merging on the main branch? Or just wait? (which is of course okay!)

Thanks,
jao

On Fri, Jun 11 2021, Jose Antonio Ortega Ruiz wrote:

> Hi,
>
> I wanted to be able to sort oldest-first in notmuch-tree view (inside
> emacs).  Turns out that needed 'notmuch show' to accept a --sort
> argument (as search does).  I've given it a try (with the patient help
> of David on IRC) in this repo:
> https://jao.io/cgit/notmuch/log/?h=tree-sort.
>
> With that in place, it was also pretty straightforward to make 'o' work
> in notmuch-tree-mode to toggle the thread ordering.
>
> Hope you find it useful!
>
> Cheers,
> jao
> --
> In my youth I thought of writing a satire on mankind; but now in my
> old age I think I should write an apology for them. -Horace Walpole

-- 
How many Zen Buddhist does it take to change a light bulb?
Two. One to change it and one not to change it.
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


[PATCH] emacs: Add compatibility for org-msg.el

2021-06-24 Thread Ori
Enable `notmuch-company` with `org-msg`, which does not derive from
`message-mode` in composing. This change was first proposed in the
discussion here: 
https://github.com/jeremy-compostella/org-msg/issues/53
---
 NEWS | 2 ++
 emacs/notmuch-company.el | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 09456f60..c167c9a2 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,8 @@ Emacs
 previous behaviour of using notmuch to send mail by default, customize
 `mail-user-agent` to `notmuch-user-agent`.

+`notmuch-company` now works in `org-msg`.
+
 Vim
 ---

diff --git a/emacs/notmuch-company.el b/emacs/notmuch-company.el
index c6a004ae..7e05dc8f 100644
--- a/emacs/notmuch-company.el
+++ b/emacs/notmuch-company.el
@@ -70,7 +70,8 @@
(completion-ignore-case t))
 (cl-case command
   (interactive (company-begin-backend 'notmuch-company))
-  (prefix (and (derived-mode-p 'message-mode)
+  (prefix (and (or (derived-mode-p 'message-mode)
+  (derived-mode-p 'org-msg-edit-mode))
   (looking-back
(concat notmuch-address-completion-headers-regexp ".*")
(line-beginning-position))
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: [PATCH] emacs: Add compatibility for org-msg.el

2021-06-24 Thread David Edmondson
On Thursday, 2021-06-24 at 14:20:24 -04, Ori wrote:

> Thanks for the suggestion, David. Can the commit message be changed or
> should I resubmit? An elaborated version:

That's a question for bremner. Re-submitting will probably make his life
easier.

> -
>
> Enable `notmuch-company` with `org-msg`, which does not derive from
> `message-mode` in composing. This change was first proposed in the
> discussion here:
> 
>
> -
>
> Thanks,
>
> Ori
> ___
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-le...@notmuchmail.org

dme.
-- 
Hello? Is anybody home? Well, you don't know me, but I know you.
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: [PATCH] emacs: Add compatibility for org-msg.el

2021-06-24 Thread Ori
Thanks for the suggestion, David. Can the commit message be changed or should I 
resubmit? An elaborated version:

-

Enable `notmuch-company` with `org-msg`, which does not derive from 
`message-mode` in composing. This change was first proposed in the discussion 
here:  

-

Thanks,

Ori
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org