unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Matthew Fidler <matthew.fidler@gmail.com>
To: 18014@debbugs.gnu.org
Subject: bug#18014: Fwd: bug#18014: 24.3; Unused Lexical argument warning, when argument is used in a function...
Date: Mon, 14 Jul 2014 09:58:16 -0500	[thread overview]
Message-ID: <CAOmN8O4vX8shQSD2T6kuE+WtOsN_mYwOxcpKeAF45vmcp21qmg@mail.gmail.com> (raw)
In-Reply-To: <CAOmN8O5ROfi5W44fBJe=sUs28TR1CDVQ2hWZoU0D4BTOGmKESg@mail.gmail.com>

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

---------- Forwarded message ----------
From: Matthew Fidler <matthew.fidler@gmail.com>
Date: Mon, Jul 14, 2014 at 9:57 AM
Subject: Re: bug#18014: 24.3; Unused Lexical argument warning, when
argument is used in a function...
To: Eli Zaretskii <eliz@gnu.org>


Its the beginning of the function in the bug report.

https://github.com/ergoemacs/ergoemacs-mode/blob/7a30c03b59eab2b720c16f6cd8099c499fec1cc2/ergoemacs-translate.el#L695



On Mon, Jul 14, 2014 at 9:47 AM, Eli Zaretskii <eliz@gnu.org> wrote:

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

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

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

Thread overview: 13+ 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
     [not found]   ` <CAOmN8O5ROfi5W44fBJe=sUs28TR1CDVQ2hWZoU0D4BTOGmKESg@mail.gmail.com>
2014-07-14 14:58     ` Matthew Fidler [this message]
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
     [not found] <CAM-tV-8eB1gUhG1UUtHqZzoP_5uQQJ5TdMH7+zMLnRHVk6n9_w@mail.gmail.com>
2016-06-01 15:44 ` bug#18014: Fwd: " Noam Postavsky

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=CAOmN8O4vX8shQSD2T6kuE+WtOsN_mYwOxcpKeAF45vmcp21qmg@mail.gmail.com \
    --to=matthew.fidler@gmail.com \
    --cc=18014@debbugs.gnu.org \
    /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).