unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to say "💝 Happy Valentine's Day 💝"
@ 2022-02-14  9:10 Jean Louis
  2022-02-14 10:54 ` 황병희
  2022-02-15  4:33 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 5+ messages in thread
From: Jean Louis @ 2022-02-14  9:10 UTC (permalink / raw)
  To: Help GNU Emacs


Today I am sending to a list of girl friends information about the
Valentine's Day. It is a link to online description of what that day
is about.

I am using my RCD Template Interpolation System for Emacs: 
https://hyperscope.link/3/7/1/3/3/RCD-Template-Interpolation-System-for-Emacs.html

I am using it as a pre-processor for various markup languages and
simple text. 

And then insert something like this in the description of the link:

⟦ (if (string= (substring (rcd-iso-date) 5) "02-14") 
  "💝 Happy Valentine's Day 💝") ⟧



(defun rcd-iso-date ()
  (format-time-string "%Y-%m-%d"))

Then if the day of today is (more or less) 2022-02-14 then the
function will look into "02-14" and if that is the case, the string
"💝 Happy Valentine's Day 💝" will appear in the message.

But if the day is not that one, nothing appears.

One can understand it better by watching this video:
https://gnu.support/images/2022/02/2022-02-14/2022-02-14-12:00:04.ogv


Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



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

end of thread, other threads:[~2022-02-16  7:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-14  9:10 How to say "💝 Happy Valentine's Day 💝" Jean Louis
2022-02-14 10:54 ` 황병희
2022-02-15  4:33 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-16  6:34   ` Marcin Borkowski
2022-02-16  7:44     ` Emanuel Berg via Users list for the GNU Emacs text editor

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 read-only IMAP folder(s) and NNTP newsgroup(s).