Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Strip signature on reply without standard separator
@ 2022-08-09  4:28 Satoshi Yoshida
  2022-08-09  5:56 ` Emanuel Berg
  2022-08-11  6:41 ` Satoshi Yoshida
  0 siblings, 2 replies; 41+ messages in thread
From: Satoshi Yoshida @ 2022-08-09  4:28 UTC (permalink / raw)
  To: info-gnus-english

I use Gnus 5.13 and Emacs 28.1

I want to strip signature on reply without "-- ".
I read https://www.gnus.org/manual/gnus_48.html#Article-Signature
and add to .gnus.el,

(setq gnus-signature-separator
      '(
	"^-- $"
;        "^[ \t]*\\(--+\\|__+\\|==+\\)[ \t]*$"
        "^\nbest\\( regards\\| wishes\\)?.?[ \t]*$"
        "^\ncheers.?[ \t]*$"
        "^\n\\(good\\)?bye.?[ \t]*$"
        "^\ngood luck.?[ \t]*$"
        "^\n\\(kind \\|warmest \\)?regards.?[ \t]*$"
	"^\nrespectfully.?[ \t]*$"
	"^\nsincerely.?[ \t]*$"
	"^\nthank you.?[ \t]*$"
        "^\n\\(many \\)?thanks\\( in advance\\)?.?[ \t]*$"
	"^\n[ \t]*\\(-+[ \t]*\\)?[a-zA-Z]+.?[ \t]*\n*\\'"
	)
)

But I found that customizing gnus-signature-separator
has no effect on reply. I'm sad.

There is a solution by customizng xcite.el.
It's a wonderful package. But unsuitable for my purpose.
Because it needs a little bit more operation,
i.e. delete cite tag "foo > " to "> " everytime.
Additionally, delete "> \n" after "...said:"
and "> \n" before my signature.

For that reason, please show me another solution if it exists.
I can't find it in archives of this mailing list and web search.

I know supercite.el and mu-cite.el too.
But I don't know whether I can customize these package for my purpose.

-- 
Satoshi Yoshida


^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2022-10-24  3:42 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09  4:28 Strip signature on reply without standard separator Satoshi Yoshida
2022-08-09  5:56 ` Emanuel Berg
2022-08-09  8:34   ` Satoshi Yoshida
2022-08-09  8:52     ` Emanuel Berg
2022-08-09  9:25       ` Satoshi Yoshida
2022-09-11  9:46       ` Satoshi Yoshida
2022-09-12  6:45         ` Satoshi Yoshida
2022-09-14  6:08           ` Emanuel Berg
2022-09-14  7:48             ` Satoshi Yoshida
2022-08-11  6:41 ` Satoshi Yoshida
2022-08-11 14:48   ` Satoshi Yoshida
2022-08-12  3:06     ` Satoshi Yoshida
2022-08-11 15:26   ` Satoshi Yoshida
2022-08-24  2:30   ` Satoshi Yoshida
2022-08-24  2:37     ` Emanuel Berg
2022-08-24  3:55       ` Satoshi Yoshida
2022-08-24  5:28         ` Emanuel Berg
2022-08-24 22:26           ` Michael Heerdegen
2022-08-25  2:10             ` Satoshi Yoshida
2022-08-25  3:04           ` Strip signature on reply without standard separator [solved] Satoshi Yoshida
2022-08-25  6:46             ` Emanuel Berg
2022-08-27  6:59               ` Strip signature on reply without standard separator Satoshi Yoshida
2022-08-27  7:19             ` Satoshi Yoshida
2022-09-04  0:48               ` Satoshi Yoshida
2022-09-04  2:04                 ` Emanuel Berg
2022-09-06 23:36                   ` Satoshi Yoshida
2022-09-07  1:14                     ` Emanuel Berg
2022-09-15 23:50                       ` Satoshi Yoshida
2022-09-19  0:58                         ` Emanuel Berg
2022-09-21  9:15                           ` Satoshi Yoshida
2022-09-21 13:15                             ` Emanuel Berg
2022-09-23 21:36                               ` Satoshi Yoshida
2022-09-24 15:29                                 ` Emanuel Berg
2022-09-25  3:32                                   ` Satoshi Yoshida
2022-09-25  3:41                                     ` Emanuel Berg
2022-09-26  8:03                                       ` Satoshi Yoshida
2022-09-26 12:28                                         ` Emanuel Berg
2022-10-22  6:16                                           ` Satoshi Yoshida
2022-10-23 23:45                                             ` Emanuel Berg
2022-09-25  9:42                                     ` Michael Heerdegen
2022-09-26  7:56                                       ` Satoshi Yoshida

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).