GNU bug report logs - #67621
[PATCH] documentation for ert-font-lock

Previous Next

Package: emacs;

Reported by: Vladimir Kazanov <vekazanov <at> gmail.com>

Date: Mon, 4 Dec 2023 12:21:02 UTC

Severity: minor

Tags: patch

Fixed in version 30.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 67621 <at> debbugs.gnu.org (full text, mbox):

From: Vladimir Kazanov <vekazanov <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 67621 <at> debbugs.gnu.org
Subject: Re: bug#67621: [PATCH] documentation for ert-font-lock
Date: Mon, 4 Dec 2023 13:29:36 +0000
[Message part 1 (text/plain, inline)]
Michael,

Thank you for reviewing the patch!

Attached is an updated patch.

Thanks,
Vlad

On Mon, 4 Dec 2023 at 13:01, Michael Albinus <michael.albinus <at> gmx.de> wrote:
>
> Vladimir Kazanov <vekazanov <at> 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.



-- 
Regards,

Vladimir Kazanov
[0001-add-ert-font-lock-docs.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.