From: Stefan Kangas <stefan@marxist.se>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 17797@debbugs.gnu.org, Thorsten Jolitz <tjolitz@gmail.com>
Subject: bug#17797: 24.3; Include ert-buffer.el in Emacs
Date: Sun, 6 Dec 2020 03:19:51 -0600 [thread overview]
Message-ID: <CADwFkmmC1Bycrjw9oDX28swz-9Yx54Sc79KdWUGLcwB6s322Bw@mail.gmail.com> (raw)
In-Reply-To: <CADwFkmmV0VPfsCyCBWFtzvrO3vX50B5zZXq5y_=uP-Yd-YKHTg@mail.gmail.com> (Stefan Kangas's message of "Thu, 22 Oct 2020 20:00:26 -0700")
tags 17797 wontfix
close 17797
thanks
Stefan Kangas <stefan@marxist.se> writes:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>> The library 'ert-buffer.el', which does not seem to have a repository
>>> nor to be included in any package repo, but can easily be found via a
>>> web-search, offers some fundamental extensions to ERT functionality in
>>> Emacs core and should thus be included in core.
>>
>> I don't have a strong opinion either way because I don't know this area
>> well enough to judge how useful this can be. So whoever thinks this is
>> a good or a bad idea, please chime in,
>
> This seems to be:
>
> https://docutils.sourceforge.io/tools/editors/emacs/tests/ert-buffer.el
>
> I'm not sure that this is useful for general use. It has some
> interesting ideas, but I'm not a big fan of the forms you seem to end up
> with:
>
> ;; (should (ert-equal-buffer '(insert "foo")
> ;; ; Insertion of "foo"...
> ;; (concat ert-Buf-point-char ert-Buf-mark-char)
> ;; ; ...into an empty buffer with point and mark...
> ;; (concat ert-Buf-mark-char "foo"
> ;; ert-Buf-point-char)))
> ;; ; ...should result in a buffer containing "foo"
> ;; ; with point and mark moved appropriately.
No further comments within 6 weeks, so I'm closing this as wontfix.
prev parent reply other threads:[~2020-12-06 9:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-17 13:32 bug#17797: 24.3; Include ert-buffer.el in Emacs Thorsten Jolitz
2014-06-19 20:46 ` Stefan Monnier
2020-10-23 3:00 ` Stefan Kangas
2020-12-06 9:19 ` Stefan Kangas [this message]
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=CADwFkmmC1Bycrjw9oDX28swz-9Yx54Sc79KdWUGLcwB6s322Bw@mail.gmail.com \
--to=stefan@marxist.se \
--cc=17797@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=tjolitz@gmail.com \
/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).