emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stephan Schmitt <drmabuse@cs.tu-berlin.de>
To: emacs-orgmode@gnu.org
Cc: "Tom Breton (Tehom)" <tehom@panix.com>
Subject: Re: Docs submitted
Date: Wed, 11 Feb 2009 15:38:55 +0100	[thread overview]
Message-ID: <4992E2FF.90405@cs.tu-berlin.de> (raw)
In-Reply-To: <20090211130712.26E5E2935B@mailhost.cs.tu-berlin.de>

> > (eval-after-load 'org
> >  '(progn
> > ;;^--HERE.
> >     (add-to-list 'org-todo-setup-filter-hook
> > 		  #'org-choose-setup-filter)
> >     (add-to-list 'org-todo-get-default-hook
> > 		  #'org-choose-get-default-mark)
> >     (add-to-list 'org-trigger-hook
> > 		  #'org-choose-keep-sensible)
> >     (add-to-list 'org-todo-interpretation-widgets
> > 		  '(:tag "Choose   (to record decisions)" choose)
> > 		  'append)
> >   ))
> >
> 
> Hi Tom,
> 
> maybe you can educate me:  I have never understood what the "#" does
> in code like the one you have here.  You are using it, so maybe you  
> know?
> 
> - Carsten


Hi,

from [[info:elisp:Anonymous%20Functions]]:

>    We sometimes write `function' instead of `quote' when quoting the
> name of a function, but this usage is just a sort of comment:
> 
>      (function SYMBOL) == (quote SYMBOL) == 'SYMBOL
> 
>    The read syntax `#'' is a short-hand for using `function'.  For
> example,
> 
>      #'(lambda (x) (* x x))
> 
> is equivalent to
> 
>      (function (lambda (x) (* x x)))

so #'foo is the same as 'foo but indicates that foo is a function

hth,
	Stephan

       reply	other threads:[~2009-02-11 14:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090211130712.26E5E2935B@mailhost.cs.tu-berlin.de>
2009-02-11 14:38 ` Stephan Schmitt [this message]
     [not found] <20090101170227.C707734803@mail2.panix.com>
2009-02-06 20:07 ` Advice sought on managing decision alternatives Tom Breton (Tehom)
2009-02-07  0:18   ` Carsten Dominik
2009-02-07 20:46     ` Tom Breton (Tehom)
2009-02-08 13:06       ` Carsten Dominik
2009-02-08 20:25         ` Tom Breton (Tehom)
2009-02-09  6:42           ` Carsten Dominik
2009-02-10  3:14             ` Docs submitted (Was Re: Advice sought on managing decision alternatives.) Tom Breton (Tehom)
2009-02-10  8:46               ` Manish
2009-02-10  9:12                 ` Carsten Dominik
2009-02-10 10:26                   ` Manish
2009-02-11  1:08                     ` Tom Breton (Tehom)
2009-02-11 12:29                       ` Carsten Dominik
2009-02-11 14:58                         ` Docs submitted Bernt Hansen

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=4992E2FF.90405@cs.tu-berlin.de \
    --to=drmabuse@cs.tu-berlin.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=tehom@panix.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).