help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tex-mode.el


From: Emanuel Berg
Subject: Re: tex-mode.el
Date: Thu, 11 Feb 2021 22:11:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech wrote:

> I have made a minor mode for texinfo that does this, but the
> buffer is not being returned to look as source code.
> They still look that they have a difference in height.
>
> I attach the file with a test.

Using this...

(require 'checkdoc)

(setq checkdoc-permit-comma-termination-flag t)

(defun check-package-style ()
  (interactive)
  (let ((msg "Style check..."))
    (message msg)
    (checkdoc-current-buffer t) ; TAKE-NOTES
    (message "%sdone" msg) ))
(defalias 'check-style #'check-package-style)

It says

*** crucible-mode.el: checkdoc-current-buffer
crucible-mode.el:47: You should have a section marked ";;; Code:"
crucible-mode.el:360: First sentence should end with punctuation
crucible-mode.el:366: First sentence should end with punctuation
crucible-mode.el:384: Argument ‘start’ should appear (as START) in the doc 
string
crucible-mode.el:386: Lisp symbol ‘prog-mode’ should appear in quotes
crucible-mode.el:394: All variables and subroutines might as well have a 
documentation string
crucible-mode.el:408: Lisp symbol ‘fill-column’ should appear in quotes
crucible-mode.el:440: First sentence should end with punctuation
crucible-mode.el:440: First line should be capitalized

Using the byte compiler, it says

crucible-mode.el: 
In texglyph-cycle-crucible:
crucible-mode.el:425:10: Warning: assignment to free variable
    ‘tex-font-script-display’
crucible-mode.el:426:10: Warning: assignment to free variable
    ‘tex-suscript-height-ratio’

In end of data:
crucible-mode.el:458:1: Warning: the following functions are not known to be
    defined: multic, supinf-typeface-crucible

Seems to be minor issues most (all?) of them but you might as
well fix them to be home free. If and when you do that, I'd be
happy to look at it again, if there are still issues...

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]