Gnus development mailing list
 help / color / mirror / Atom feed
* for a given emacs session: insert a subject with an increasing counter
@ 2021-08-30 16:01 Uwe Brauer
  2021-08-30 16:10 ` Eric S Fraga
  0 siblings, 1 reply; 26+ messages in thread
From: Uwe Brauer @ 2021-08-30 16:01 UTC (permalink / raw)
  To: ding


Hi

Is the following possible for a given emacs session a internal counter
is created that is deleted after closing emacs and which would allow to
insert to each message in the subject line a counter of the form

Subject: message-of <2021-08-30 lun>: 1
Subject: message-of <2021-08-30 lun>: 2

Of course such a function could be used only for certain emails (using
say some bbdb functionality).

This for example

(defvar my-subject-counter 0)
(defun my-insert-add-counter ()
  (interactive)
  (insert (int-to-string (+ my-subject-counter 1)))) 

Does not work since the counter is not saved when increased.

Does anybody know about such a functionality?

Regards

Uwe Brauer



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

end of thread, other threads:[~2021-09-21 21:56 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30 16:01 for a given emacs session: insert a subject with an increasing counter Uwe Brauer
2021-08-30 16:10 ` Eric S Fraga
2021-08-30 18:46   ` Eric Abrahamsen
2021-08-31  6:50   ` Uwe Brauer
2021-08-31  6:58     ` Adam Sjøgren
2021-08-31 15:42       ` Uwe Brauer
2021-08-31 15:54         ` Adam Sjøgren
2021-09-02  8:15           ` Uwe Brauer
2021-09-04 15:30           ` [misunderstanding] (was: for a given emacs session: insert a subject with an increasing counter) Uwe Brauer
2021-09-07 20:04             ` Emanuel Berg
2021-09-01  3:55         ` for a given emacs session: insert a subject with an increasing counter Bodertz
2021-09-04 15:25           ` Uwe Brauer
2021-09-07 17:12             ` Emanuel Berg
2021-09-07 19:02               ` Eric Abrahamsen
2021-09-07 19:25                 ` Emanuel Berg
2021-09-07 20:09                   ` Emanuel Berg
2021-09-07 20:35                     ` Emanuel Berg
2021-09-07 20:44                     ` Eric Abrahamsen
2021-09-21  3:32                       ` Emanuel Berg
2021-09-21 19:12                         ` Bodertz
2021-09-21 21:56                           ` Emanuel Berg
2021-08-31  7:44     ` Emanuel Berg
2021-08-31  7:56       ` Emanuel Berg
2021-08-31 16:01       ` Uwe Brauer
2021-08-31 16:29         ` Eric Abrahamsen
2021-08-31 19:06           ` Uwe Brauer

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