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

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

Kaushal Modi <kaushal.modi@gmail.com> schrieb am Fr., 5. Mai 2017, 21:49:

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


Yes, I'll fix all those over the weekend. Generally you can mechanically
replace ?( with ?\( etc.

Kaushal Modi
>
-- 

Google Germany GmbH
Erika-Mann-Straße 33
80636 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle

Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind,
leiten Sie diese bitte nicht weiter, informieren Sie den Absender und
löschen Sie die E-Mail und alle Anhänge. Vielen Dank.

This e-mail is confidential. If you are not the right addressee please do
not forward it, please inform the sender, and please erase this e-mail
including any attachments. Thanks.

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

      parent reply	other threads:[~2017-05-05 20:04 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
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   ` Philipp Stephani [this message]

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=CAP-RRPv19nHVb17v3knpa46OfXxXCosgNUq0MHVTtZmibn_LtA@mail.gmail.com \
    --to=phst@google.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kaushal.modi@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 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).