emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Nick Dokos <ndokos@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: What does the _ in `(defun org-element-section-parser (_) ...)' stands for?
Date: Sun, 14 Feb 2016 11:45:14 -0500	[thread overview]
Message-ID: <CAJ51ETqZwPGiOfqKd6fOw8hYThMOBfM5AdC3B8V+68AY3jCt-w@mail.gmail.com> (raw)
In-Reply-To: <8760xvrw29.fsf@alphaville.usersys.redhat.com>

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

FYI, I found this today:

(To silence byte-compiler warnings about unused variables, just use a
variable name that start with an underscore. The byte-compiler interprets
this as an indication that this is a variable known not to be used.)

https://www.gnu.org/software/emacs/manual/html_node/elisp/Using-Lexical-Binding.html

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Thu, Feb 11, 2016 at 12:33 PM, Nick Dokos <ndokos@gmail.com> wrote:

> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
> > John Kitchin <jkitchin@andrew.cmu.edu> writes:
> >
> >> On Wed, Feb 10, 2016 at 3:13 PM, Thorsten Jolitz <tjolitz@gmail.com>
> >> wrote:
> >>
> >>     #+BEGIN_SRC emacs-lisp
> >>     (defun my-foo (_)
> >>     "Hello World.
> >>     Argument _ unknown argument."
> >>     (+ 1 1))
> >>     #+END_SRC
> >>
> >> strange. in Emacs 25.1, I am pretty sure I get no errors from
> >> checkdoc.
> >
> > Maybe not so strange, since I'm on:
> >
> > ,----
> > | GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6)
> > |  of 2015-09-10 on foutrelis
> > `----
> >
> > And I thought with Archlinux I'm always up-to-date ...
>
> Unless you build your own from the upstream git repo, you can never be
> up to date; even so, it depends on how often you build - I build from
> upstream every six months or so and my current version is
>
> GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.15) of
> 2015-08-16
>
> It's probably time to rebuild...
>
> --
> Nick
>
>
>

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

      reply	other threads:[~2016-02-14 16:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-09 17:45 What does the _ in `(defun org-element-section-parser (_) ...)' stands for? Thorsten Jolitz
2016-02-09 18:59 ` John Kitchin
2016-02-10 20:13   ` Thorsten Jolitz
2016-02-10 20:47     ` John Kitchin
2016-02-11 17:10       ` Thorsten Jolitz
2016-02-11 17:20         ` John Kitchin
2016-02-11 17:33         ` Nick Dokos
2016-02-14 16:45           ` John Kitchin [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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ51ETqZwPGiOfqKd6fOw8hYThMOBfM5AdC3B8V+68AY3jCt-w@mail.gmail.com \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@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/org-mode.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).