all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Emacs developers <emacs-devel@gnu.org>,
	Helmut Eller <eller.helmut@gmail.com>,
	Vasilij Schneidermann <mail@vasilij.de>
Subject: Re: Some dynamic module questions
Date: Wed, 2 Dec 2020 12:43:22 +0100	[thread overview]
Message-ID: <CAArVCkTc7VAaA7PJa1Uw1hsP3XHa0we77OJrEZbEaQWT4kDHNA@mail.gmail.com> (raw)
In-Reply-To: <83mtz2om79.fsf@gnu.org>

Am Fr., 27. Nov. 2020 um 16:26 Uhr schrieb Eli Zaretskii <eliz@gnu.org>:
>
> > Date: Fri, 27 Nov 2020 16:21:14 +0100
> > From: Vasilij Schneidermann <mail@vasilij.de>
> > Cc: eller.helmut@gmail.com, p.stephani2@gmail.com, emacs-devel@gnu.org
> >
> > > I don't yet see why would you need to send data to a module.  Why not
> > > generate that data in the module code itself, based on some Lisp you
> > > get from Emacs?
> >
> > I don't see why you would need to question my approach:
>
> Because adding an interface doesn't come for free.  Someone will need
> to code it, test, document it, etc.  That is why the modules interface
> allows only a relatively small set of objects across.

That is correct, but in this case the costs are outweighed by the
benefits. Byte arrays are a ubiquitous fundamental data type (similar
to integers or timestamps), and Emacs modules need good support for
them. For better or worse, Emacs has been using unibyte strings to
represent binary data for a long time (cf. bindat, image), so also
supporting them in modules for this purpose doesn't really introduce
new uses.
Unibyte support has now been requested at least three times
independently (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23487,
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34873, this thread),
showing how much users care about it.



  reply	other threads:[~2020-12-02 11:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-27 10:43 Some dynamic module questions Helmut Eller
2020-11-27 11:50 ` Philipp Stephani
2020-11-27 12:01   ` Helmut Eller
2020-11-27 12:17     ` Zhu Zihao
2020-11-27 12:25       ` Helmut Eller
2020-11-27 12:47     ` Eli Zaretskii
2020-11-27 12:59       ` Helmut Eller
2020-11-27 13:29         ` Eli Zaretskii
2020-11-27 13:32           ` Eli Zaretskii
2020-11-27 13:54             ` Vasilij Schneidermann
2020-11-27 15:09               ` Eli Zaretskii
2020-11-27 15:21                 ` Vasilij Schneidermann
2020-11-27 15:26                   ` Eli Zaretskii
2020-12-02 11:43                     ` Philipp Stephani [this message]
2020-12-03  5:30                       ` Richard Stallman
2020-12-03  8:08                       ` Lars Ingebrigtsen
2020-12-03  8:42                         ` Helmut Eller
2020-12-03 11:49                           ` Philipp Stephani
2020-12-03 15:13                             ` Stefan Monnier
2020-12-06 17:04                               ` Philipp Stephani
2020-11-27 14:06     ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=CAArVCkTc7VAaA7PJa1Uw1hsP3XHa0we77OJrEZbEaQWT4kDHNA@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=eliz@gnu.org \
    --cc=eller.helmut@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mail@vasilij.de \
    /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 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.