all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Monaco <andrea.monaco@autistici.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Jumping to message by ID
Date: Fri, 20 Oct 2023 19:26:44 +0200	[thread overview]
Message-ID: <87y1fxyzl7.fsf@autistici.org> (raw)
In-Reply-To: <83sf65si7o.fsf@gnu.org> (message from Eli Zaretskii on Fri, 20 Oct 2023 13:26:19 +0300)


  > The name of the function doesn't seem to reflect what it does.  Can
  > you come up with a better name?

What about rmail-match-email-address-around-point?  Of course I'm
looking for message ids, but those have the same syntax as email
addresses and the latter are surely known to whoever reads my function.


  > If so, perhaps it would make sense to update the data each time we
  > update the summary, instead of punishing the first call after
  > getting new email?

You're right, that's the same issue as rmail-summary-by-thread.

In this case I only need the message id hash table so I could just
update that, at the risk of making it out of sync with the vectors of
parents and descendants.

The only solution is updating all the data structures each time new mail
is got or mail is expunged, instead of recreating them from scratch; I
can look into that.



Andrea Monaco



  reply	other threads:[~2023-10-20 17:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-09  9:00 Jumping to message by ID Andrea Monaco
2023-09-09  9:15 ` Eli Zaretskii
2023-10-20  8:09   ` [PATCH] " Andrea Monaco
2023-10-20 10:26     ` Eli Zaretskii
2023-10-20 17:26       ` Andrea Monaco [this message]
2023-10-20 23:44         ` Adam Porter
2023-10-23  2:08     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1fxyzl7.fsf@autistici.org \
    --to=andrea.monaco@autistici.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.