GNU bug report logs -
#17797
24.3; Include ert-buffer.el in Emacs
Previous Next
Reported by: Thorsten Jolitz <tjolitz <at> gmail.com>
Date: Tue, 17 Jun 2014 15:02:01 UTC
Severity: wishlist
Tags: wontfix
Found in version 24.3
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Stefan Monnier <monnier <at> 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.
This bug report was last modified 4 years and 169 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.