unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Mattias Engdegård" <mattiase@acm.org>,
	59333@debbugs.gnu.org, daanturo <daanturo@gmail.com>,
	"Stefan Monnier" <monnier@iro.umontreal.ca>
Subject: bug#59333: [PATCH] Define macro dlet*
Date: Sat, 19 Nov 2022 07:28:18 +0300	[thread overview]
Message-ID: <Y3hbYlaiJ7yOYzmd@protected.localdomain> (raw)
In-Reply-To: <83leoadovn.fsf@gnu.org>

* Eli Zaretskii <eliz@gnu.org> [2022-11-17 10:27]:
> I can only understand the breakage if someone picked up dlet as
> originally implemented on master, before Emacs 28 was released.  In
> that case, it's the risk people take when they follow the development
> code too closely.

Since I found it volatile in development, I have renamed it in my
personal packages to `rcd-dlet'.

My packages are with lexical binding. `dlet' is inevitable part of
template interpolation which is used to generate thousands of Internet
pages, e-mails, and too many PDf documents.

hyperscope.el:3113:	 (text (rcd-dlet ((hs::id id)
hyperscope.el:4515:    (rcd-dlet ((rcd::lisp (rcd-db-get-entry "markuptypes" "markuptypes_textlisp" markup hs-db))
hyperscope.el:4526:  (rcd-dlet ((hs::id id)
hyperscope.el:4545:      (rcd-dlet ((hs::markup-id (hyperscope-markup-language id))
hyperscope.el:4571:    (rcd-dlet ((hs::markup-id (hyperscope-markup-language id))
hyperscope.el:5772:  (rcd-dlet ((hs::markup-id (hyperscope-markup-language id)) 
hyperscope.el:5830:	     ;; 					       (rcd-dlet ((hd::is id)) (rcd-template-eval text)))
hyperscope.el:6819:	    (rcd-dlet ((hyperscope::variables (make-hash-table)))
hyperscope.el:6958:	      (rcd-dlet ((wrs::variables (make-hash-table :test 'equal))
hyperscope.el:7014:	  (rcd-dlet ((wrs::title title)
hyperscope.el:7116:		   (asciidoc (rcd-dlet ((hs:id id)) (rcd-template-eval asciidoc '("X" "X") hash)))
rcd-cf.el:6898:    (rcd-dlet ((wrs::width width)
rcd-cf.el:7840:	     (message (rcd-dlet ((rcd::hello-name name))
rcd-cf.el:9151:  (rcd-dlet ((wrs-text text))
rcd-cf.el:9310:				(rcd-dlet ((wrs::related-pages related-pages)
rcd-cf.el:9335:    (rcd-dlet ((rcd::name name)
rcd-cf.el:9381:    (rcd-dlet ((wrs::id page-id)
rcd-cf.el:9426:      (rcd-dlet ((wrs::text (rcd-template-eval wrs::text '("X" "X") wrs::variables))
rcd-cf.el:9429:	(rcd-dlet ((wrs::template (gethash "templates_template" wrs::template))
rcd-cf.el:10850:    (rcd-dlet ((rcd::name name)
rcd-cf.el:10998:      (rcd-dlet ((rcd::hello-name "Jean"))
rcd-cf.el:12307:    (rcd-dlet ((rcd::text text))
rcd-cf.el:12328:       (cond (template (rcd-dlet ((wrs::text text)
rcd-mailing.el:211:		 (message (rcd-dlet ((wrs::text message)
rcd-mailing.el:256:	   (expanded-body (rcd-dlet ((hello-name hello-name)
rcd-mailing.el:261:	   (html (rcd-dlet ((wrs::text (rcd-db-markupconversions-do expanded-body markup-input markup-output-html))
rcd-utilities.el:191:(defmacro rcd-dlet (binders &rest body)
rcd-utilities.el:1881:  (rcd-dlet ((wrs-processor "asciidoctor"))

--
Jean

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

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





  parent reply	other threads:[~2022-11-19  4:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-17  7:13 bug#59333: [PATCH] Define macro dlet* daanturo
2022-11-17  7:25 ` Eli Zaretskii
2022-11-17  7:40   ` Daan Ro
2022-11-19  4:37     ` Jean Louis
2022-11-17 13:22   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-17 13:36     ` Mattias Engdegård
2022-11-25  0:14       ` Stefan Kangas
2022-11-19  4:28   ` Jean Louis [this message]
2022-11-19  4:47 ` Jean Louis
2022-11-19  5:29   ` daanturo

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y3hbYlaiJ7yOYzmd@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=59333@debbugs.gnu.org \
    --cc=daanturo@gmail.com \
    --cc=eliz@gnu.org \
    --cc=mattiase@acm.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
Code repositories for project(s) associated with this public inbox

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

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