From: Uwe Brauer <oub@mat.ucm.es>
To: ding@gnus.org
Subject: Re: supercite (sc-citation-leader " ") kill indentation, in a intelligent way
Date: Wed, 08 Jul 2020 10:48:33 +0200 [thread overview]
Message-ID: <87r1tm5r4u.fsf@mat.ucm.es> (raw)
In-Reply-To: <wo3fvsbe.dag@gnui.org>
[-- Attachment #1: Type: text/plain, Size: 1707 bytes --]
>>> "DA" == Dmitry Alexandrov <dag@gnui.org> writes:
> Uwe Brauer <oub@mat.ucm.es> wrote:
>> I use supercite
> ¿Thatʼs a package, that formats citations in mail like that, right:
UB> I use supercite
> If so, let me advise you against using it, and any idiosyncratic citation styles in general.
Right it does, but this particular feature (the prefix UB) I usually
turn off, [1]
I only turn it on if I reply to several messages at once (which I use
from time to time) then it is very very useful.
> Why there should not be? What youʼve just described does not feature
> anything ‘supercite’-specific and translates to Elisp
> straightforwardly. Interpreting your ‘RMS’ as any word (in a sense of
> syntax tables):
> (defun oub-mail-unindent (&optional beg end)
> (interactive (when (use-region-p)
> (list (region-beginning) (region-end))))
> (setq beg (or beg (mail-text-start))
> end (or end (point-max)))
> (save-excursion
> (goto-char end) (forward-line 0)
> (while (<= beg (point))
> (when (looking-at
> (rx (seq (one-or-more (literal sc-citation-leader))
> (group (zero-or-more word) ">"))))
> (replace-match "\\1" t))
> (forward-line -1))))
Great it works like expected thanks a lot!!!
Regards
Uwe
Footnotes:
[1] the indent feature I regularly use (and so does RMS) because it
makes the quotes more visible. Some mail readers have difficulties
with this intention and that is why I turn it of in newsgroups and
mailing list, and also want to have the freedom to delete if necessary in ordinary email.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
next prev parent reply other threads:[~2020-07-08 8:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-07 7:45 Uwe Brauer
2020-07-07 23:06 ` Dmitry Alexandrov
2020-07-08 8:48 ` Uwe Brauer [this message]
2020-07-09 4:21 ` Using idiosyncratic quoting styles in mail (was: supercite (sc-citation-leader " ") kill indentation, in a intelligent way) Dmitry Alexandrov
2020-07-09 17:53 ` Using idiosyncratic quoting styles in mail Uwe Brauer
2020-07-10 22:30 ` David Rogers
2020-07-11 6:56 ` Uwe Brauer
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=87r1tm5r4u.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=ding@gnus.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).