From: Mekeor Melire <mekeor@posteo.de>
To: 68985@debbugs.gnu.org
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>, Eli Zaretskii <eliz@gnu.org>
Subject: bug#68985: 30.0.50; Gnus: Add option to disable display of logo image in mode-line
Date: Thu, 08 Feb 2024 19:49:37 +0000 [thread overview]
Message-ID: <87y1bu3f1j.fsf@posteo.de> (raw)
In-Reply-To: <86eddnxz7e.fsf@gnu.org>
2024-02-08 08:11 eliz@gnu.org:
> What would be the rationale not to show the logo if display of images
> is supported by the current Emacs session?
As Manuel Giraud said in the other subthread, it's "for those that don't
want too much icons in their Emacs". Personally, I prefer to not see any
icons or images in my Emacs - unless viewing an image. It distracts me
from text.
Currently, I use an override-advice to accomplish this:
(defun /gnus-mode-line-buffer-identification (line)
"Meant as override-advice for
`gnus-mode-line-buffer-identification' in order to prevent Gnus
to show its logo in the mode-line."
(let* ((str (car-safe line))
(str (if (stringp str)
(car (propertized-buffer-identification str))
str)))
(list str)))
(advice-add #'gnus-mode-line-buffer-identification
:override #'/gnus-mode-line-buffer-identification)
I shared this snippet on the proprietary website Reddit where it
received two upvotes. [1] So there seems to be an interest in this
feature. It'd be nice to have a defcustom option rather than needing to
use an advice.
[1] https://old.reddit.com/r/emacs/comments/18mplfa/weekly_tips_tricks_c_thread/ke5yaak/
next prev parent reply other threads:[~2024-02-08 19:49 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-07 22:02 bug#68985: 30.0.50; Gnus: Add option to disable display of logo image in mode-line Mekeor Melire
2024-02-08 1:39 ` Visuwesh
2024-02-08 10:53 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-08 6:11 ` Eli Zaretskii
2024-02-08 19:49 ` Mekeor Melire [this message]
2024-02-08 22:29 ` Eric Abrahamsen
2024-02-09 10:30 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-09 18:07 ` Eric Abrahamsen
2024-02-09 20:56 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-09 21:53 ` bug#68985: [PATCH v2] Add option gnus-mode-line-logo Mekeor Melire
2024-02-09 23:18 ` Eric Abrahamsen
2024-02-10 2:03 ` bug#68985: [PATCH v3] " Mekeor Melire
2024-02-10 4:20 ` Eric Abrahamsen
2024-02-10 9:07 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-10 7:31 ` bug#68985: [PATCH v2] " Eli Zaretskii
2024-02-10 16:43 ` Eric Abrahamsen
2024-02-10 22:01 ` Mekeor Melire
2024-02-11 3:26 ` bug#68985: 30.0.50; Gnus: Add option to disable display of logo image in mode-line Richard Stallman
2024-02-11 15:14 ` Eric Abrahamsen
2024-02-13 21:36 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1bu3f1j.fsf@posteo.de \
--to=mekeor@posteo.de \
--cc=68985@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=eric@ericabrahamsen.net \
/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 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).