Re: [PATCH v2 2/2] Replace `delete-line` with its definition

2024-06-17 Thread Marc Fargas
Hi, El lun. 17 de jun. 2024, David escribió: > >> From: Michael J Gruber >> >> 37c022ae ("Use `without-restriction` in >> `with-temporary-notmuch-message-buffer`", 2024-03-14) >> introduced `delete-line` in a test, but this is Emacs 29 and above only. >> Replace it with its (almost) definition.

Re: notmuch.el, needs without-restriction to properly save draft

2024-06-17 Thread Marc Fargas
Hi, El lun. 17 de jun. 2024, Marc escribió: > > El lun. 17 de jun. 2024, Michael escribió: >>> (...) >> >> Does this depend on emacs version by any chance, i.e. is >> `without-restriction` defined on all emacsen? In Fedora's copr >> infrastructure, all builds succeed but some tests fail with >> `S

Re: notmuch.el, needs without-restriction to properly save draft

2024-06-17 Thread Marc Fargas
Hi, El lun. 17 de jun. 2024, Michael escribió: >> (...) > > Does this depend on emacs version by any chance, i.e. is > `without-restriction` defined on all emacsen? In Fedora's copr > infrastructure, all builds succeed but some tests fail with > `Symbol'€™s function definition is void: without-res

Re: Scheduling mails

2024-04-04 Thread Marc Fargas
Hi there, > I might be wrong, but I don't think the Gnus agent can be easily reused > from notmuch. We could perhaps save the message as a draft upon C-c C-j, > and then have a periodic timer that checks if any of the drafts has > expired (maybe using a special, additional tag for the search) and

Re: notmuch.el, needs without-restriction to properly save draft

2024-04-04 Thread Marc Fargas
Hi all, El dom. 24 de mar. 2024, Marc escribió: > I am attaching a new patch that includes an additional test on > T630-emacs-draft.sh. > > On the test only `References` is at the top (hence hidden by emacs), not > `In-Reply-To`. I guess that does rely on some configuration. > > In any case, the t

Re: Scheduling mails

2024-04-04 Thread Marc Fargas
Hi there, > I might be wrong, but I don't think the Gnus agent can be easily reused > from notmuch. We could perhaps save the message as a draft upon C-c C-j, > and then have a periodic timer that checks if any of the drafts has > expired (maybe using a special, additional tag for the search) and

Re: notmuch.el, needs without-restriction to properly save draft

2024-03-24 Thread Marc Fargas
), not `In-Reply-To`. I guess that does rely on some configuration. In any case, the test reproduces the problem (lost headers on draft save), and the patch fixes it! Hope all is good!! :D marc >From 77e8a775571458962ff11af549d1a0428a17435e Mon Sep 17 00:00:00 2001 From: Marc Fargas Date:

Re: notmuch.el, needs without-restriction to properly save draft

2024-03-24 Thread Marc Fargas
consider the one attached here. Hope I did the "format-patch" thing properly. I had to move the `without-restriction` call to the top of the `with-temporary-notmuch-message-buffer` defmacro. It does work properly now. marc >From 48efd572e6b8e6d214fc8b4e7b28f001fc13345a Mon Sep 17 00:00:

Re: notmuch.el, needs without-restriction to properly save draft

2024-03-24 Thread Marc Fargas
and apologies). >From 48efd572e6b8e6d214fc8b4e7b28f001fc13345a Mon Sep 17 00:00:00 2001 From: Marc Fargas Date: Thu, 14 Mar 2024 15:56:49 +0100 Subject: [PATCH] Use `without-restriction` in `with-temporary-notmuch-message-buffer` This ensures that the temporary copy of the current message-mode buffer

Re: [PATCH] Use `without-restriction` in `with-temporary-notmuch-message-buffer`

2024-03-15 Thread Marc Fargas
Hi, I hope my previous e-mails was properly sent. I have been testing the patch and.. does it work? The code looks proper to me but testing on my computer it is not working properly, as if the `without-restrictions` was being ignored. I think I do not understand `defmacro` properly to see where

[PATCH] Use `without-restriction` in `with-temporary-notmuch-message-buffer`

2024-03-14 Thread Marc Fargas
This ensures that the temporary copy of the current message-mode buffer is whole and not limited by a current restriction. An example of such restriction is the default one established by message-mode when composing a reply, that hides the References, In-Reply-To and similar headers. --- emacs/no

notmuch.el, needs without-restriction to properly save draft

2024-03-13 Thread Marc Fargas
Hi there, I'm not sure if this is the appropiate mailing list for bugs regarding notmuch.el (Notmuch in Emacs). Also, I'm not subscribed so please keep me in CC! I recently noticed that when saving drafts in notmuch I would loose all the headers that are not normally visible on the compose buffer