From: "Mattias Engdegård" <mattiase@acm.org>
To: 39663@debbugs.gnu.org
Cc: Vinicius Jose Latorre <viniciusjl.gnu@gmail.com>,
Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#39663: 27.1; ebnf2ps bugs
Date: Tue, 18 Feb 2020 15:11:23 +0100 [thread overview]
Message-ID: <631D6235-82DE-46FE-9264-453F00ED77F7@acm.org> (raw)
A few bugs and other things noticed in ebnf2ps:
* The code resides in lisp/progmodes but isn't actually a mode at all: it converts BNF into railway diagrams in Postscript. It looks a bit out of place. What about moving it to ELPA?
* Prose values in ABNF don't seem to work. Guilty line:
(or (looking-at ebnf-abn-non-terminal-letter-chars)
where 'ebnf-abn-non-terminal-letter-chars' is not a regexp but a skip-set used in skip-chars-{forward,backward}. This was found by a relint scan.
* Despite a lot of effort been spent on making it work with Latin-1, I get UTF-8 mojibake in the PostScript output when using chars in the U+00A0..U+00FF range in the rules, eg in nonterminals. Unibyte/multibyte confusion, perhaps?
* The 'ebnf-range-regexp' function is misnamed -- it doesn't return a regexp -- and triggers relint's bad-regexp-o-meter. Moreover, it is only there to compensate for a bug in Emacs 20, long ago fixed. Calls to the function could be replaced by string literals.
next reply other threads:[~2020-02-18 14:11 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-18 14:11 Mattias Engdegård [this message]
2020-02-18 16:35 ` bug#39663: 27.1; ebnf2ps bugs Stefan Monnier
2020-02-20 15:11 ` Mattias Engdegård
2020-02-24 16:31 ` Stefan Monnier
2020-02-24 16:53 ` Mattias Engdegård
2021-08-30 1:15 ` Lars Ingebrigtsen
2021-08-30 11:39 ` Mattias Engdegård
2021-08-31 1:11 ` Lars Ingebrigtsen
2021-08-31 2:21 ` bug#39663: [External] : " Drew Adams
2021-08-31 3:28 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-31 9:14 ` Mattias Engdegård
2021-08-31 13:08 ` Eli Zaretskii
2021-08-31 16:13 ` Drew Adams
2021-09-01 7:53 ` Lars Ingebrigtsen
2021-09-01 8:23 ` Mattias Engdegård
2021-09-01 8:38 ` Lars Ingebrigtsen
2021-09-01 12:10 ` Eli Zaretskii
2021-09-01 12:08 ` Eli Zaretskii
2021-08-31 15:59 ` Drew Adams
2021-08-31 1:17 ` Lars Ingebrigtsen
2021-08-30 12:53 ` Eli Zaretskii
2021-08-31 1:19 ` Lars Ingebrigtsen
2021-08-31 12:33 ` Eli Zaretskii
2021-09-01 8:05 ` Lars Ingebrigtsen
2021-09-01 12:09 ` Eli Zaretskii
2021-09-02 7:20 ` Lars Ingebrigtsen
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=631D6235-82DE-46FE-9264-453F00ED77F7@acm.org \
--to=mattiase@acm.org \
--cc=39663@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=viniciusjl.gnu@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.