git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 0/2] imap-send: improve error messages for missing configuration

From
Joerg Thalheim <joerg@thalheim.io>
Date
Jun 20, 2025, 15:56 UTC
Message-ID
<20250620155614.901816-1-joerg@thalheim.io>
In-Reply-To
<8af387d5007b15cce49c924104d0e88522812e42@thalheim.io>
From: Jörg Thalheim <joerg@thalheim.io>

This patch series improves error messages when required IMAP configuration is missing, making it easier for users to understand and fix the issue.

Changes since v2:
- Use single advise() calls with multi-line strings instead of multiple
  calls, as suggested by Junio
- Simplified commit message explanation about advise() API
Changes since v1:
- Rebased on top of ag/imap-send-resurrection branch
- Split into two patches:
  * First patch fixes the confusing "store" → "folder" terminology
  * Second patch adds configuration hints using advise() API
- Use error() and advise() instead of fprintf()
Thanks to Junio for the helpful reviews.
Jörg Thalheim (2):
  imap-send: fix confusing 'store' terminology in error message
  imap-send: improve error messages with configuration hints
 imap-send.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
-- 
2.49.0
Previous: Junio C HamanoNext: Joerg Thalheim
Message 9 of 11 in “imap-send: improve error messages for missing configuration”
  1. imap-send: improve error messages for missing configurationJörg Thalheim, Jun 19, 2025
  2. Junio C HamanoJun 20, 2025
  3. Aditya GargJun 20, 2025
  4. Aditya GargJun 20, 2025
  5. 0/2 imap-send: improve error messages for missing configurationJoerg Thalheim, Jun 20, 2025
  6. 1/2 imap-send: fix confusing 'store' terminology in error messageJoerg Thalheim, Jun 20, 2025
  7. 2/2 imap-send: improve error messages with configuration hintsJoerg Thalheim, Jun 20, 2025
  8. Junio C HamanoJun 20, 2025
  9. 0/2 imap-send: improve error messages for missing configurationJoerg Thalheim, Jun 20, 2025
  10. 1/2 imap-send: fix confusing 'store' terminology in error messageJoerg Thalheim, Jun 20, 2025
  11. 2/2 imap-send: improve error messages with configuration hintsJoerg Thalheim, Jun 20, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.