GNU bug report logs - #34671
27.0.50; Outdated code listings in (elisp) Example Major Modes

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Tue, 26 Feb 2019 16:58:01 UTC

Severity: minor

Tags: fixed

Found in version 27.0.50

Fixed in version 26.2

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


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

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: 34671 <at> debbugs.gnu.org
Subject: Re: bug#34671: 27.0.50;
 Outdated code listings in (elisp) Example Major Modes
Date: Tue, 26 Feb 2019 17:06:58 +0000
[0001-Update-example-major-mode-code-in-Elisp-manual.patch (text/x-diff, attachment)]
[0002-Use-lexical-binding-in-text-mode.el.patch (text/x-diff, attachment)]
[0003-Do-not-set-indent-line-function-in-text-mode.patch (text/x-diff, attachment)]
[Message part 4 (text/plain, inline)]
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

> Some of the examples in '(elisp) Example Major Modes' do not reflect the
> current code in lisp/textmodes/text-mode.el and
> lisp/emacs-lisp/lisp-mode.el.  Furthermore, the indentation of the
> lisp-mode-map listing in the manual is off due to a tab character in its
> Texinfo source.
>
> Patch(es) to follow.

I attach said patches; WDYT?

The first patch reconciles the code listings in the manual with the
current state of the corresponding libraries.

The second patch enables lexical-binding in text-mode.el along with some
minor aesthetic changes.

The last patch fulfils an old promise in the manual to eventually forgo
setting indent-line-function in text-mode, which is considered
redundant.

Thanks,

-- 
Basil

This bug report was last modified 6 years and 167 days ago.

Previous Next


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