From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Vladimir Kazanov <vekazanov@gmail.com>
Cc: 67621@debbugs.gnu.org
Subject: bug#67621: [PATCH] documentation for ert-font-lock
Date: Mon, 04 Dec 2023 14:01:40 +0100 [thread overview]
Message-ID: <87il5et93f.fsf@gmx.de> (raw)
In-Reply-To: <CAAs=0-0huAp-o5CD08F+N+fiYt18f+iPzU_tm4aRSuH0OdpB0A@mail.gmail.com> (Vladimir Kazanov's message of "Mon, 4 Dec 2023 12:19:55 +0000")
Vladimir Kazanov <vekazanov@gmail.com> writes:
> Hi team,
Hi Vladimir,
> As (reasonably) requested in emacs-devel@ [1], sending a patch that
> adds ert-font-lock to NEWS and expands the ERT manual.
Thanks. Just some few comments.
> --- a/doc/misc/ert.texi
> +++ b/doc/misc/ert.texi
> @@ -526,6 +526,7 @@ How to Write Tests
> * Tests and Their Environment:: Don't depend on customizations; no side effects.
> * Useful Techniques:: Some examples.
> * erts files:: Files containing many buffer tests.
> +* Syntax Highlighting Tests:: Tests for face assignment.
> @end menu
Align the entries. "Tests" must be at the same position as "Files".
> +Syntax highlighting is normally provided by the Font Lock minor mode
> +that assigns face properties to parts of the buffer. The
Use two spaces at sentence end. This is for everything in ert.texi and
NEWS.
> +Test assertion parser extracts tests from comment-only lines. Every
> +comment assertion line starts either with a caret ('^') or an arrow
> +('<-'). A caret/arrow should be followed immedately by the name of a
> +face to be checked.
Use @samp here, like (@samp{^}) and (@samp{<-}) .
> +i.e. @code{:tag} and @code{:expected-result}.
Please write i.e.,
> --- a/etc/NEWS
> +++ b/etc/NEWS
> +** ERT
> +
> ++++
> +*** Syntax highlighting unit testing support
This needs a trailing period.
> +An ERT extension ('ert-font-lock') now provides support for face
> +assignment unit testing.
Since it doesn't tell details, you might refer to the manual. like
--8<---------------cut here---------------start------------->8---
An ERT extension ('ert-font-lock') now provides support for face
assignment unit testing. For more information, see the "(ert) Syntax
Highlighting Tests" node in the ERT manual.
--8<---------------cut here---------------end--------------->8---
> Regards,
>
> Vladimir Kazanov
Best regards, Michael.
next prev parent reply other threads:[~2023-12-04 13:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-04 12:19 bug#67621: [PATCH] documentation for ert-font-lock Vladimir Kazanov
2023-12-04 13:01 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-12-04 13:29 ` Vladimir Kazanov
2023-12-04 14:02 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-04 14:42 ` Vladimir Kazanov
2023-12-04 15:15 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-08 13:47 ` Vladimir Kazanov
2023-12-08 13:56 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-09 9:29 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=87il5et93f.fsf@gmx.de \
--to=bug-gnu-emacs@gnu.org \
--cc=67621@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
--cc=vekazanov@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 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.