unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: elint and the byte-compiler
Date: Sat, 27 Jun 2015 03:45:21 +0200	[thread overview]
Message-ID: <871tgxlya6.fsf@nl106-137-147.student.uu.se> (raw)
In-Reply-To: 20150627001633.24092.36E5E2C1@ahiker.mooo.com

Ian Zimmerman <itz@buug.org> writes:

> Right, that's what I do and it works. Though my
> setup seems to be much simpler than yours :-)

I have now waded through all my source and examined
the `require' situation, and in nine out of ten cases
it wasn't an issue of variables, but *functions*!

In but a few cases, it was a matter of variables, only
then there were tons of them and they belonged to
modules I use every session (e.g., ERC) so I thought
it still cleaner and more efficient to use
`require' there.

In fewer cases still it was a matter of one or two
variables. I changed those from require to `defvar'.

I don't see how this surgical procedure will have any
practical impact whatsoever, but yeah, it is still
interesting to reason and be active about
the material.

-- 
underground experts united
http://user.it.uu.se/~embe8573




      parent reply	other threads:[~2015-06-27  1:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 15:48 elint and the byte-compiler Emanuel Berg
2015-06-26 17:07 ` Ian Zimmerman
2015-06-26 22:27   ` Emanuel Berg
2015-06-26 23:15     ` Ian Zimmerman
2015-06-26 23:19       ` Emanuel Berg
2015-06-27  0:18         ` Ian Zimmerman
2015-06-27  1:40           ` Emanuel Berg
2015-06-27  1:45           ` Emanuel Berg [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=871tgxlya6.fsf@nl106-137-147.student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@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.
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).