unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Matthew Fidler <matthew.fidler@gmail.com>
Cc: 18014@debbugs.gnu.org
Subject: bug#18014: 24.3; Unused Lexical argument warning, when argument is used in a	function...
Date: Mon, 14 Jul 2014 17:47:32 +0300	[thread overview]
Message-ID: <83tx6k80aj.fsf@gnu.org> (raw)
In-Reply-To: <CAOmN8O5m_4YU3-ry8A=smvG7mG7Ksn7zg3ZUZu+YdeURwLx+hg@mail.gmail.com>

> Date: Mon, 14 Jul 2014 07:25:56 -0500
> From: Matthew Fidler <matthew.fidler@gmail.com>
> 
> I'm getting a warning  for ergoemacs-translate:
> 
> Compiling file
> e:/EmacsPortable.App/Data/src/ergoemacs-mode/ergoemacs-translate.el at Mon
> Jul 14 07:17:14 2014
> ergoemacs-translate.el:695:1:Warning: Unused lexical argument `key'
> 
> I do use the argument key to calculate the translation, but the compiler
> claims I am not.  I'm not sure if it is a bug in the warning or a bug in
> my code.  For now, I can change key to _key to ignore the warning, but I
> do think that this is an invalid warning.
> 
> Here is the offending function:

And which one is the offending line 695, please?





  parent reply	other threads:[~2014-07-14 14:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14 12:25 bug#18014: 24.3; Unused Lexical argument warning, when argument is used in a function Matthew Fidler
2014-07-14 12:28 ` Matthew Fidler
2014-07-14 14:47 ` Eli Zaretskii [this message]
     [not found]   ` <CAOmN8O5ROfi5W44fBJe=sUs28TR1CDVQ2hWZoU0D4BTOGmKESg@mail.gmail.com>
2014-07-14 14:58     ` bug#18014: Fwd: " Matthew Fidler
2014-07-14 15:30     ` Eli Zaretskii
2014-07-14 15:46       ` Matthew Fidler
2014-07-14 15:47         ` Matthew Fidler
2014-07-14 16:01           ` Matthew Fidler
2014-07-14 16:18             ` Eli Zaretskii
2014-07-14 19:46               ` Matthew Fidler
2014-07-15 14:18                 ` Eli Zaretskii
2014-07-14 16:17           ` Eli Zaretskii

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=83tx6k80aj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=18014@debbugs.gnu.org \
    --cc=matthew.fidler@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).