all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* A valid example of kbd macros - take that, Emanuel! ;-)
@ 2015-07-28  8:42 Marcin Borkowski
  2015-07-29  2:04 ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2015-07-28  8:42 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi all,
hi Emanuel!

The last exchange about F3 and macros reminded me that you wanted an
example of valid kbd macro usage, not easily accomplished by writing
Elisp.  So here you are.  Some time ago I had to send 15 emails to 15
different people.  (You can imagine 150 instead of 15.)  I had their
addresses in an Org table, and in another column I had some data which
should be present in the emails.  (See
https://en.wikipedia.org/wiki/Mail_merge.)  You could find the Elisp
functions related to Org and mu4e (or Gnus, or whatever you use), but it
was *a lot* faster to record a kbd macro copying some fragments from the
table, starting mu4e, inserting the letter template, yanking the data in
right positions and stopping for me to review the email (I had to
manually change a few of them).  It took me 5 minutes (including
preparing the template and recording the macro!) to send
(semi-)personalized messages to 15 people.  It would be even faster if
I didn't want to review each email and edit some of them, of course.
Take that! :-)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



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

end of thread, other threads:[~2015-07-29 22:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28  8:42 A valid example of kbd macros - take that, Emanuel! ;-) Marcin Borkowski
2015-07-29  2:04 ` Emanuel Berg
2015-07-29  7:12   ` Marcin Borkowski
2015-07-29 22:34     ` Emanuel Berg

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.