Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: info-gnus-english@gnu.org
Subject: Re: deuglifing articles
Date: Sat, 11 Jun 2022 00:31:06 +0200	[thread overview]
Message-ID: <87tu8sup5h.fsf@dataswamp.org> (raw)
In-Reply-To: <871qvw5hx0.fsf@tullinup.koldfront.dk>

Adam Sjøgren wrote:

>> many mails from gmail are using Top Posting style, any
>> function to deuglify it?
>
> I think it has been discussed before, but I can't remember
> if anybody came up with something good.

Okay but what's the goal more precisely?

> It would be really nice to have a way to move around quotes
> automatically

(setq gnus-treat-hide-citation t)

TAB is `forward-button' and
<backtab> can be `backward-button'

If you want to fill the citation on open, do this - but, it's
not always what you want -

(defun gnus-article-show-filled-citation ()
  "Fill the citation opened on a hidden citation button press."
  (interactive)
  (let*((pos (point))
        (but (get-char-property pos 'button)) )
    (when but
      (widget-button-press pos)
      (save-excursion
        (gnus-article-fill-cited-article) ))))

If you take a look at this you may also help me by making me
aware if stuff can be removed since it's already in Gnus,
that has always been a problem for me with Elisp and even more
so with my Elisp for Gnus.

https://dataswamp.org/~incal/emacs-init/gnus/article.el

-- 
underground experts united
https://dataswamp.org/~incal



  reply	other threads:[~2022-06-10 22:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10 18:59 GH
2022-06-10 21:26 ` Adam Sjøgren
2022-06-10 22:31   ` Emanuel Berg [this message]
2022-06-10 22:18 ` Emanuel Berg
2022-06-10 22:25   ` GH
2022-06-10 22:33     ` Emanuel Berg

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=87tu8sup5h.fsf@dataswamp.org \
    --to=incal@dataswamp.org \
    --cc=info-gnus-english@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.
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 NNTP newsgroup(s).