From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: What does the _ in `(defun org-element-section-parser (_) ...)' stands for? Date: Sun, 14 Feb 2016 11:45:14 -0500 Message-ID: References: <87vb5xsrqa.fsf@gmail.com> <87r3gkgw8f.fsf@gmail.com> <87h9hfgoki.fsf@gmail.com> <8760xvrw29.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1141e22cdffc90052bbd9fa4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUznR-0002zM-0o for emacs-orgmode@gnu.org; Sun, 14 Feb 2016 11:45:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUznP-0004TU-LM for emacs-orgmode@gnu.org; Sun, 14 Feb 2016 11:45:16 -0500 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:38822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUznP-0004TQ-A6 for emacs-orgmode@gnu.org; Sun, 14 Feb 2016 11:45:15 -0500 Received: by mail-wm0-x233.google.com with SMTP id a4so27541493wme.1 for ; Sun, 14 Feb 2016 08:45:15 -0800 (PST) In-Reply-To: <8760xvrw29.fsf@alphaville.usersys.redhat.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: "emacs-orgmode@gnu.org" --001a1141e22cdffc90052bbd9fa4 Content-Type: text/plain; charset=UTF-8 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 wrote: > Thorsten Jolitz writes: > > > John Kitchin writes: > > > >> On Wed, Feb 10, 2016 at 3:13 PM, Thorsten Jolitz > >> 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 > > > --001a1141e22cdffc90052bbd9fa4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
FYI, I found this today:

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

John

----------------------------= -------
Professor John Kitchin=C2=A0
Doherty Hall A207F
Department= of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15= 213
412-268-7803

On Thu, Feb 11, 2016 at 12:33 PM, Nick Dokos= <ndokos@gmail.com> wrote:
= Thorsten Jolitz <t= jolitz@gmail.com> writes:

> John Kitchin <jkitchin@a= ndrew.cmu.edu> writes:
>
>> On Wed, Feb 10, 2016 at 3:13 PM, Thorsten Jolitz <tjolitz@gmail.com>
>> wrote:
>>
>>=C2=A0 =C2=A0 =C2=A0#+BEGIN_SRC emacs-lisp
>>=C2=A0 =C2=A0 =C2=A0(defun my-foo (_)
>>=C2=A0 =C2=A0 =C2=A0"Hello World.
>>=C2=A0 =C2=A0 =C2=A0Argument _ unknown argument."
>>=C2=A0 =C2=A0 =C2=A0(+ 1 1))
>>=C2=A0 =C2=A0 =C2=A0#+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)
> |=C2=A0 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



--001a1141e22cdffc90052bbd9fa4--