summaryrefslogtreecommitdiff
path: root/.gnus
AgeCommit message (Collapse)Author
2024-03-03Fix HTML-detection "logic"Kévin Le Gouguec
The previous code failed to detect some HTML emails, perhaps because the text/html part was nested inside a multipart/alternative? Lucked onto debbugs-gnu.el by asking xref for occurrences of gnus-article-mime-handles in the Emacs tree; not sure if M-? showing results from ~/.emacs.d/elpa was intended, but it sure helped here.
2024-03-02Fixup wrap heuristicKévin Le Gouguec
gnus-article-prepare-hook is _not_ run in the article buffer. No idea why things fall into place on my desktop; probably some ill-defined buffer-switching plumbing. Also clarify nearby comment.
2024-01-28Un-fill format=flowed emailsKévin Le Gouguec
Letting visual-line-mode take care of wrapping.
2024-01-28Improve display of HTML emailsKévin Le Gouguec
By tricking shr into treating tables like regular blocks.
2024-01-10Always set visual-line-mode to the intended stateKévin Le Gouguec
Since the article buffer is re-used, visual-line-mode will keep its previous state if not explicitly set. So before the patch 1. I display article 1, which should be wrapped: the hook sets visual-line-mode to t, 2. I display article 2, which should not be wrapped: truncate-lines is set to t, but visual-line-mode remains t (not a biggie, truncate-lines "wins"), 3. I decide I want to wrap article 2, so I call the visual-line-mode toggling command: visual-line-mode is set to nil; seemingly nothing happens. This patch dispels the confusion.
2024-01-08Make Gnus leverage visual-line-modeKévin Le Gouguec
Set shr-fill-text to nil; this automatically causes eww to enable visual-line-mode. For Gnus, the dance is a bit more involved. Not 100% happy with where I landed, but at least I gave myself an escape hatch by rebinding C-c d v in summary buffers. Also, * lift size restriction when fontifying citations: it mostly only ever causes fontification failures when people review big patches, * tweak header order slightly, * align shr heading faces with eighters-title-* faces.
2023-08-20Wordsmith .gnus commentaryKévin Le Gouguec
2023-07-30Make "shortish" group names more informativeKévin Le Gouguec
This option defaults to 1, which is sub-optimal for groups such as: nntp+news.gmane.io:gmane.linux.suse.opensuse.devel nntp+news.gmane.io:gmane.org.misc.sourcehut.general nntp+news.gmane.io:gmane.comp.gcc.devel nntp+news.gmane.io:gmane.emacs.help nntp+news.gmane.io:gmane.emacs.bugs nntp+news.gmane.io:gmane.emacs.devel
2023-06-21Jot down some more notes re. GnusKévin Le Gouguec
2023-02-12Tweak order of Gnus headersKévin Le Gouguec
2023-01-11Fix Gnus subject normalizationKévin Le Gouguec
Can't even remember what this was about; obviously positives when grouping threads due to subject-matching being too lax? 🤷
2023-01-09Teach Gnus to use new theme face for datesKévin Le Gouguec
2022-10-01Use my/centered-mode instead of relying on Gnus layoutsKévin Le Gouguec
Lots of commands in Gnus buffers try to reinstate the setup defined in gnus-buffer-configuration, so when eg drafting a message with the original article displayed on the side, and using P or N to move around the thread, there ends up being some friction in window management. So stop using the Group buffer as a way to left-pad articles; it doesn't even look good on half-width frames anyway.
2022-10-01Tweak .gnus organizationKévin Le Gouguec
Make it more outline-friendly.
2021-10-15Tweak Emacs settingsKévin Le Gouguec
- clarify package initialization comments - load Modus theme on terminal too - use emoji variation selector when appropriate - open patches in read-only mode - now that Modus has been updated, ditch obsolete option - etc.
2021-07-30Tweak Gnus subject-washing regexpKévin Le Gouguec
- add [SPAM UNSURE] - make tailing " :" optional
2021-06-17Enable lexical binding in .gnusKévin Le Gouguec
No specific reason, except maybe pacifying the mode-line, and making sure my code still works.
2021-06-17Add more patterns to subject "canonicalization" regexpKévin Le Gouguec
Also move it to a dedicated variable.
2021-04-14Fix message-subject-re-regexp some moreKévin Le Gouguec
2021-04-14Fix message-subject-re-regexpKévin Le Gouguec
Otherwise "Re: Repeat-mode" turns into "Re: peat-mode" when replying.
2021-04-11Flag sent messages as "read" in the archive groupsKévin Le Gouguec
2021-03-21Tweak Gnus window layoutKévin Le Gouguec
Keep showing group buffer on the left; that should help shove the article away from the edge of the screen. Also add Scandinavian abbreviation for "re:" to patterns to ignore when determining subject changes.
2021-03-17Commit a collection of tweaks to Emacs configKévin Le Gouguec
2021-02-03Make summary buffers less noisyKévin Le Gouguec
By recognizing more "reply-cruft". From a cursory glance at Emacs sources, the capture groups in the default value are not used, so I see no need to preserve them.
2020-09-18Check-in some tweaks to .gnusKévin Le Gouguec
NB: gnus-thread-sort-by-most-recent-{date,number} sometimes fail because of bug#42334.
2020-07-17Change "sent-by-me" prefixKévin Le Gouguec
Searching for "KLG" yields fewer false positives than "me".
2020-07-05Tweak ibuffer, ERC, and Gnus FAQKévin Le Gouguec
- Add ibuffer section for VC buffers. - Let ERC pick up my full name. Also, bind switch-to-buffer-obey-display-actions to make C-x 4 4 and C-x 5 5 more reliable.
2020-06-24Tweak Gnus summaryKévin Le Gouguec
- get rid of diamonds - don't use sender name if I'm the sender - fix off-by-one error when humanizing dates
2020-04-07Add subject to dummy thread rootsKévin Le Gouguec
Sometimes, when adding dummy roots, Gnus displays the thread subject on the first message: (emacs-devel, fetched from archive.lwn.net) ┌◈ 10:31 ├► martin rudalics Re: emacs rendering comparisson between emacs23 and emacs26.3 14:07 │├► Dmitry Gutov 14:35 ││├► Dmitry Gutov 14:45 ││╰► martin rudalics 13:47 │╰► Alan Mackenzie 14:45 ┆ ╰► martin rudalics And sometimes it doesn't: (bug-gnu-emacs, fetched from news.gmane.io) ┌◈ 02:08 ├► Juri Linkov 05:33 ╰► Stefan Monnier Adding %S to the dummy line-format will cause the subject to appear twice in the first situation (on the dummy root, then on the first message); not great, but better than not knowing what the topic is.
2020-03-28Tweak Gnus threading some moreKévin Le Gouguec
Frustratingly, sometimes the previous layout gave things like this: O Yesterday 03:59 ┌◈ Richard Stallman pull requests O Yesterday 08:54 ├► Eli Zaretskii 03:46 │├► Richard Stallman O Yesterday 14:00 │╰► Clément Pit-Claudel O Yesterday 15:05 │ ├► Stefan Monnier O Yesterday 14:30 │ ╰► Eli Zaretskii O Yesterday 15:37 │ ╰► Clément Pit-Claudel Yesterday 16:21 │ ╰► Eli Zaretskii Yesterday 17:39 │ ├► Clément Pit-Claudel Yesterday 20:21 │ │╰► Eli Zaretskii Yesterday 16:41 │ ╰► Dmitry Gutov Yesterday 20:16 │ ├► Eli Zaretskii Yesterday 20:24 │ │├► Dmitry Gutov Yesterday 20:34 │ │╰► 조성빈 Yesterday 20:28 │ ├► Eli Zaretskii Yesterday 21:39 │ │╰► Dmitry Gutov 03:46 │ ╰► Richard Stallman O Yesterday 04:49 ╰► Stefan Monnier 03:45 ╰► Richard Stallman 04:03 ╰► Stefan Monnier O Thu 20:31 ┌◈ Alan Mackenzie Re: emacs rendering comparisson between emacs23 and emacs26.3 O Thu 21:25 ├► Stefan Monnier O Thu 21:38 ╰► rrandresf@gmail.com O Yesterday 08:00 ├► Eli Zaretskii O Yesterday 19:36 │├► andrés ramírez 03:48 │╰► Richard Stallman 08:09 │ ╰► Eli Zaretskii 10:08 │ ╰► Eli Zaretskii O 03:40 ╰► Richard Stallman O 10:21 ├► Michael Albinus 10:58 ╰► Eli Zaretskii 11:09 ╰► Eli Zaretskii 12:20 ╰► Ulrich Mueller I.e. for some reason Alan's response to the "emacs rendering comparison thread" is not formatted as a false root, and things get misaligned. Trying to set gnus-summary-make-false-root to 'empty caused this: O Thu 20:31 ┌◈ Alan Mackenzie Re: emacs rendering comparisson between emacs23 and emacs26.3 O Thu 21:25 │├► Stefan Monnier O Thu 21:38 │╰► rrandresf@gmail.com O 03:40 │ ├► Richard Stallman O 10:21 │ │├► Michael Albinus 10:58 │ │╰► Eli Zaretskii 11:09 │ │ ╰► Eli Zaretskii O Yesterday 08:00 │ ╰► Eli Zaretskii O Yesterday 19:36 │ ├► andrés ramírez 03:48 │ ╰► Richard Stallman 08:09 │ ╰► Eli Zaretskii 10:08 │ ├► Eli Zaretskii 12:43 │ ╰► Alan Mackenzie 12:20 ◈ Ulrich Mueller Still no false root, and Ulrich's answer is misaligned. The new settings yield this layout: ┄┐ O Thu 20:31 ├► Alan Mackenzie Re: emacs rendering comparisson between emacs23 and emacs26.3 O Thu 21:25 │├► Stefan Monnier O Thu 21:38 │╰► rrandresf@gmail.com O 03:40 │ ├► Richard Stallman O 10:21 │ │├► Michael Albinus 10:58 │ │╰► Eli Zaretskii 11:09 │ │ ╰► Eli Zaretskii O Yesterday 08:00 │ ╰► Eli Zaretskii O Yesterday 19:36 │ ├► andrés ramírez 03:48 │ ╰► Richard Stallman 08:09 │ ╰► Eli Zaretskii 10:08 │ ├► Eli Zaretskii 12:58 │ │╰► Alan Mackenzie 12:43 │ ╰► Alan Mackenzie 13:05 │ ╰► Eli Zaretskii 13:18 │ ├► Alan Mackenzie 13:28 │ │╰► Eli Zaretskii 13:43 │ ╰► Stefan Monnier 12:20 ╰► Ulrich Mueller It'd be nice if the dummy root held the subject line, but oh well. At least things are aligned correctly 🙌
2020-03-27Indent single messages and thread roots in GnusKévin Le Gouguec
This way subjects are aligned, as well as the names of authors of root articles. Use this specific variation of WHITE DIAMOND CONTAINING BLACK … DIAMOND because it is covered by DejaVu Sans Mono; others require variable-width fonts.
2020-03-14Tweak article indentation in Gnus summary buffersKévin Le Gouguec
This way roots, false roots, first-level line drawings and single message are aligned.
2020-03-08Tweak Gnus settingsKévin Le Gouguec
Remove nnimap-stream: the default value is good enough, which is a good thing since I had misspelled it 🤦. Also tweak Info reference so that I can evaluate it directly.
2020-02-06Tweak Gnus thread display some moreKévin Le Gouguec
Add %* to prevent point from jumping sideways when changing articles.
2020-02-05Tweak Gnus display some moreKévin Le Gouguec
Keep false root, otherwise I cannot mark threads with T k. Apply crude fontification with gnus-face-0.
2020-02-05Tweak Gnus thread display some moreKévin Le Gouguec
Use box drawing characters to show article tree. Don't "adopt" rootless subthreads as that makes articles look like they answer unrelated messages.
2020-02-04Tweak thread sorting in GnusKévin Le Gouguec
AFAICT, by default Gnus threads by *root article* number, oldest above, newest below. I'd like to keep the "newest below" logic (messages are sorted within a thread anyhow), while making sure threads updated recently show up *below* older threads. Hence: - put gnus-thread-sort-by-number first to break ties, following the recommendation from (gnus) Sorting the Summary Buffer, - invert gnus-thread-sort-by-most-recent-number, to have recently-updated threads below older threads. Not sure this implements exactly what I want (I think I saw some surprising results here and there), but it seems to come close. Also note down more useful key bindings.
2020-02-01Add Gmane to Gnus methodsKévin Le Gouguec
So that I can use NNTP to reach bug-gnu-emacs and help-gnu-emacs. Gmane has moved recently: https://lars.ingebrigtsen.no/2020/01/15/news-gmane-org-is-now-news-gmane-io/
2019-12-12Add to Gnus cheatsheetKévin Le Gouguec
2019-10-08Note down a useful Gnus shortcutKévin Le Gouguec
2019-08-31Customize some Emacs settingsKévin Le Gouguec
- something something Sunday week-*end* something - been using these packages for a while now - getting used to the "most recent below" convention; it's what every interface shows within threads anyway
2019-05-15Make Gnus article summary line more readableKévin Le Gouguec
Since dates are variable-width and left-aligned, and the threaded view pushes the next info (author name) to the right, without delimiters it was hard to tell whether an article is the OP or not.
2019-05-12Add information on how to browse mailing listsKévin Le Gouguec
2019-05-09Minor rearrangements to Gnus configurationKévin Le Gouguec
Don't know why I thought those gnus- variables deserved to be in their own setq.
2019-02-24Add date to Gnus summary linesKévin Le Gouguec
2019-02-24Change Gnus summary line formatKévin Le Gouguec
Get rid of - the scoring indicator - the number of lines - the mouse face
2018-11-18Add a wishlist item for GnusKévin Le Gouguec
2018-11-14Commit some minor stuffKévin Le Gouguec
- fix accidentally committed Emacs 27 customization - add a useful Gnus shortcut when dealing with drafts
2018-02-03Mention ~/.xsessionrcKévin Le Gouguec
On Debian Jessie at least, this is necessary.
2018-01-31Add Emacs dotfilesKévin Le Gouguec