From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Graham Smith" Subject: help with modifying a bit of code in .emacs Date: Thu, 13 Dec 2007 19:11:57 +0000 Message-ID: <2c75873c0712131111m5b435f6cp912c2bce3b16f4d6@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0902801119==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2tTV-0005pA-Nv for emacs-orgmode@gnu.org; Thu, 13 Dec 2007 14:12:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2tTT-0005lM-Tr for emacs-orgmode@gnu.org; Thu, 13 Dec 2007 14:12:01 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2tTT-0005l9-Mq for emacs-orgmode@gnu.org; Thu, 13 Dec 2007 14:11:59 -0500 Received: from an-out-0708.google.com ([209.85.132.245]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J2tTT-0003rS-A0 for emacs-orgmode@gnu.org; Thu, 13 Dec 2007 14:11:59 -0500 Received: by an-out-0708.google.com with SMTP id c25so183111ana.84 for ; Thu, 13 Dec 2007 11:11:57 -0800 (PST) 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 --===============0902801119== Content-Type: multipart/alternative; boundary="----=_Part_48310_24013736.1197573117575" ------=_Part_48310_24013736.1197573117575 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have been using the set up provided by John Wiegley on a Mac and have tried to to use it with Emacs32 wbut with some problems as the custom-set-variables command seemed to badly interact with the Emacs32w custom-set-variables. I have been trying to rewrite the code to avoid the custom-set-variables in .emacs but have finally come unstuck with this bit: ;(setq org-agenda-custom-commands ; '(("d" todo #("DELEGATED" nil) ; ("c" todo #("DONE|DEFERRED|CANCELLED" nil) ; ("w" todo #("WAITING" nil) ; ("W" agenda "" ((org-agenda-ndays 21))) ; ("A" agenda "" ; ((org-agenda-skip-function ; (lambda nil ; (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]"))) ; (org-agenda-ndays 1) ; (org-agenda-overriding-header "Today's Priority #A tasks: "))) ;("u" alltodo "" ;((org-agenda-skip-function ; (lambda nil ; (org-agenda-skip-entry-if (quote scheduled) (quote deadline) ; (quote regexp) "<[^>\n]+>"))) ;(org-agenda-overriding-header "Unscheduled TODO entries: ")))))) I am getting An error has occurred while loading `c:/Home/.emacs': "Invalid read syntax: Invalid string property list" error when launching Emacs and narrowed it down to this bit of code. Can anyone point out where this is wrong. The rest of it loads OK, its just this bit which is failing. Can anyone help. Many thanks, Graham ------=_Part_48310_24013736.1197573117575 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have been using the set up provided by John Wiegley on a Mac and have tried to to use it with Emacs32 wbut with some problems as the custom-set-variables command seemed to badly interact with the Emacs32w custom-set-variables.

I have been trying to rewrite the code to avoid the custom-set-variables in .emacs but have finally come unstuck with this bit:

;(setq org-agenda-custom-commands
;             '(("d" todo #("DELEGATED" nil)
;          ("c" todo #("DONE|DEFERRED|CANCELLED" nil)
;          ("w" todo #("WAITING" nil)
;              ("W" agenda "" ((org-agenda-ndays 21)))
;     ("A" agenda ""
;        ((org-agenda-skip-function
;         (lambda nil
;               (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")))
;               (org-agenda-ndays 1)
;               (org-agenda-overriding-header "Today's Priority #A tasks: ")))
;("u" alltodo ""
;((org-agenda-skip-function
;  (lambda nil
;    (org-agenda-skip-entry-if (quote scheduled) (quote deadline)
;                  (quote regexp) "<[^>\n]+>")))
;(org-agenda-overriding-header "Unscheduled TODO entries: "))))))

I am getting An error has occurred while loading `c:/Home/.emacs':

"Invalid read syntax: Invalid string property list" error when launching Emacs and narrowed it down to this bit of code. Can anyone point out where this is wrong. The rest of it loads OK, its just this bit which is failing.

Can anyone help.

Many thanks,

Graham
------=_Part_48310_24013736.1197573117575-- --===============0902801119== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0902801119==--