unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53848: [PATCH] Tweak Notmuch EBDB insinuate
@ 2022-02-07 15:08 Utkarsh Singh
  2022-02-07 23:04 ` Eric Abrahamsen
  0 siblings, 1 reply; 4+ messages in thread
From: Utkarsh Singh @ 2022-02-07 15:08 UTC (permalink / raw)
  To: 53848; +Cc: Eric Abrahamsen

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

Hello,

IMHO it would be really helpful if EBDB insinuation can be hooked with
`notmuch-message-mode-hook' for the cases where `notmuch-message-mode'
is not preceded by `notmuch-show-mode'.  For eg. "directly" executing
`notmuch-mua-new-mail' command.

Thank you,
Utkarsh Singh
-- 
Utkarsh Singh
https://utkarshsingh.xyz/

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 737 bytes --]

From ba05872b80d5cebcf9258c4ff5ed9deca545b09c Mon Sep 17 00:00:00 2001
From: Utkarsh Singh <utkarsh190601@gmail.com>
Date: Mon, 7 Feb 2022 20:11:52 +0530
Subject: [PATCH] ebdb-notmuch.el: Tweak Notmuch EBDB insinuate

---
 ebdb-notmuch.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ebdb-notmuch.el b/ebdb-notmuch.el
index a945b56..c01df9d 100644
--- a/ebdb-notmuch.el
+++ b/ebdb-notmuch.el
@@ -70,6 +70,7 @@ the value of `ebdb-default-window-size'."
       (define-key notmuch-message-mode-map (kbd "TAB") #'ebdb-complete-mail))))
 
 (add-hook 'notmuch-show-mode-hook #'ebdb-insinuate-notmuch)
+(add-hook 'notmuch-message-mode-hook #'ebdb-insinuate-notmuch)
 
 (provide 'ebdb-notmuch)
 ;;; ebdb-notmuch.el ends here
-- 
2.35.1


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

* bug#53848: [PATCH] Tweak Notmuch EBDB insinuate
  2022-02-07 15:08 bug#53848: [PATCH] Tweak Notmuch EBDB insinuate Utkarsh Singh
@ 2022-02-07 23:04 ` Eric Abrahamsen
  2022-09-08 12:55   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Abrahamsen @ 2022-02-07 23:04 UTC (permalink / raw)
  To: Utkarsh Singh; +Cc: 53848

Utkarsh Singh <utkarsh190601@gmail.com> writes:

> Hello,
>
> IMHO it would be really helpful if EBDB insinuation can be hooked with
> `notmuch-message-mode-hook' for the cases where `notmuch-message-mode'
> is not preceded by `notmuch-show-mode'.  For eg. "directly" executing
> `notmuch-mua-new-mail' command.

Okay, sounds good, thanks for the report! I'll make sure the insinuation
function is idempotent, then add this additional hook.

Thanks,
Eric





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

* bug#53848: [PATCH] Tweak Notmuch EBDB insinuate
  2022-02-07 23:04 ` Eric Abrahamsen
@ 2022-09-08 12:55   ` Lars Ingebrigtsen
  2022-11-06  3:35     ` Eric Abrahamsen
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-08 12:55 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: Utkarsh Singh, 53848

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Okay, sounds good, thanks for the report! I'll make sure the insinuation
> function is idempotent, then add this additional hook.

This was half a year ago, but then there was now followup here.  Was
this patch merged?






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

* bug#53848: [PATCH] Tweak Notmuch EBDB insinuate
  2022-09-08 12:55   ` Lars Ingebrigtsen
@ 2022-11-06  3:35     ` Eric Abrahamsen
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Abrahamsen @ 2022-11-06  3:35 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 53848-done, Utkarsh Singh


On 09/08/22 14:55 PM, Lars Ingebrigtsen wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Okay, sounds good, thanks for the report! I'll make sure the insinuation
>> function is idempotent, then add this additional hook.
>
> This was half a year ago, but then there was now followup here.  Was
> this patch merged?

Ahem! It was not, thanks for the push. I've just done a new release of
EBDB, and am closing this now.





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

end of thread, other threads:[~2022-11-06  3:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07 15:08 bug#53848: [PATCH] Tweak Notmuch EBDB insinuate Utkarsh Singh
2022-02-07 23:04 ` Eric Abrahamsen
2022-09-08 12:55   ` Lars Ingebrigtsen
2022-11-06  3:35     ` Eric Abrahamsen

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

	https://git.savannah.gnu.org/cgit/emacs.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).