unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>,
	emacs-devel@gnu.org, Philipp Stephani <phst@google.com>
Subject: Re: "unescaped character literals detected"
Date: Fri, 05 May 2017 19:49:06 +0000	[thread overview]
Message-ID: <CAFyQvY2WJGfSRur-7xFnMXOKh93xswszp4RM23wVwCi8o=w2Mw@mail.gmail.com> (raw)
In-Reply-To: <834lx0hekg.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]

On Thu, May 4, 2017 at 10:39 AM Eli Zaretskii <eliz@gnu.org> wrote:

> Compiling the Lisp files in the current master produces quite a few of
> these new warnings, see below.  I hope someone is looking into
> eliminating them, otherwise we introduced a safety feature that does
> nothing except annoying us.
>
> Also, there seem to be several instances of the same warning, only one
> of which points out the line number where the problem happens.  Is it
> possible to output only that final warning?  The rest of them, those
> without a line number, are useless, as there's no practical way of
> finding the offending code unless you know exactly what to look for
> (and the wording isn't specific enough to allow the latter).
>

+1

Now when I load verilog-mode.el (autoloaded when I open the SystemVerilog
files), I get:

Loading ‘verilog-mode’: unescaped character literals ; detected!

verilog-mode.el has 14.5k lines. It would be very helpful to print the line
number where unescapted character literals are detected so that I can
attempt to fix it.

Thanks.

PS: This was added in
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c2bbdc3316487e34eba1470dd059c0c290431e00,
so copying Philipp.
-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1840 bytes --]

  reply	other threads:[~2017-05-05 19:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-04 14:38 "unescaped character literals detected" Eli Zaretskii
2017-05-05 19:49 ` Kaushal Modi [this message]
2017-05-05 20:00   ` Help fix unescaped character literals detected warnings in verilog-mode (Was: Re: "unescaped character literals detected") Kaushal Modi
2017-05-05 20:02     ` Philipp Stephani
2017-05-05 20:14       ` Kaushal Modi
2017-05-05 21:35         ` Philipp Stephani
2017-05-07 12:36           ` Philipp Stephani
2017-05-07 12:48             ` Kaushal Modi
2017-05-07 16:36             ` Eli Zaretskii
2017-05-05 20:33     ` Help fix unescaped character literals detected warnings in verilog-mode Stefan Monnier
2017-05-06 22:44       ` Richard Stallman
2017-05-13 10:31         ` Philipp Stephani
2017-05-05 20:04   ` "unescaped character literals detected" Philipp Stephani

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='CAFyQvY2WJGfSRur-7xFnMXOKh93xswszp4RM23wVwCi8o=w2Mw@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=phst@google.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).