unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: tex-mode.el
Date: Thu, 11 Feb 2021 22:11:34 +0100	[thread overview]
Message-ID: <87sg62cnsp.fsf@zoho.eu> (raw)
In-Reply-To: trinity-f5d860b5-c611-4463-a2de-096bff167f53-1612929661683@3c-app-mailcom-bs05

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




  parent reply	other threads:[~2021-02-11 21:11 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09 17:13 tex-mode.el Christopher Dimech
2021-02-09 17:22 ` tex-mode.el Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-09 17:45   ` tex-mode.el Christopher Dimech
2021-02-09 18:15     ` tex-mode.el Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-09 18:26       ` tex-mode.el Christopher Dimech
2021-02-09 18:37         ` tex-mode.el Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-09 18:52           ` tex-mode.el Christopher Dimech
2021-02-09 19:05             ` tex-mode.el Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-09 19:39               ` tex-mode.el Christopher Dimech
2021-02-09 19:45               ` tex-mode.el Christopher Dimech
2021-02-10 20:43               ` tex-mode.el Christopher Dimech
2021-02-10 20:49                 ` tex-mode.el Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-10 21:01                   ` tex-mode.el Christopher Dimech
2021-02-10 21:21                     ` tex-mode.el Stefan Monnier
2021-02-10 21:25                       ` tex-mode.el Christopher Dimech
2021-02-10 21:30                         ` tex-mode.el Stefan Monnier
2021-02-10 21:54                           ` tex-mode.el Christopher Dimech
2021-02-11  3:13                     ` tex-mode.el Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-11  3:27                       ` tex-mode.el Christopher Dimech
2021-02-09 20:13         ` tex-mode.el tomas
2021-02-09 20:26           ` tex-mode.el Christopher Dimech
2021-02-09 20:45             ` tex-mode.el tomas
2021-02-10  3:53               ` tex-mode.el Michael Heerdegen
2021-02-10  4:01                 ` tex-mode.el Christopher Dimech
2021-02-11  3:42                   ` tex-mode.el Michael Heerdegen
2021-02-11  4:01                     ` tex-mode.el Christopher Dimech
2021-02-11  4:11                       ` tex-mode.el Michael Heerdegen
2021-02-11  4:27                         ` tex-mode.el Christopher Dimech
2021-02-11 13:29                         ` tex-mode.el Christopher Dimech
2021-02-11 21:11                   ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-02-11 23:08                     ` tex-mode.el Christopher Dimech

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sg62cnsp.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).