From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Schmitt Subject: Re: Docs submitted Date: Wed, 11 Feb 2009 15:38:55 +0100 Message-ID: <4992E2FF.90405@cs.tu-berlin.de> References: <20090211130712.26E5E2935B@mailhost.cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXGFX-0005gY-FW for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 09:39:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXGFU-0005ef-QG for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 09:39:38 -0500 Received: from [199.232.76.173] (port=33468 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXGFU-0005eQ-2J for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 09:39:36 -0500 Received: from mail.cs.tu-berlin.de ([130.149.17.13]:61816) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LXGFT-00059I-LR for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 09:39:35 -0500 Received: from localhost (localhost [127.0.0.1]) by localhost-12225.cs.tu-berlin.de (Postfix) with ESMTP id 8C44D29196 for ; Wed, 11 Feb 2009 15:39:32 +0100 (MET) In-Reply-To: <20090211130712.26E5E2935B@mailhost.cs.tu-berlin.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: "Tom Breton (Tehom)" > > (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