From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlef Steuer Subject: Re: apparently too stupid to use checkboxes Date: Tue, 23 Mar 2010 16:15:56 +0100 Message-ID: <20100323161556.7876f906@gaia> References: <20100323103714.5336e323@gaia> <87mxxz5pt3.wl%ucecesf@ucl.ac.uk> <4BA8A1DE.9080308@unibas.ch> <20100323135008.3c73d87f@gaia> <87bpefyvw2.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nu5qK-00055a-CP for emacs-orgmode@gnu.org; Tue, 23 Mar 2010 11:16:32 -0400 Received: from [140.186.70.92] (port=39155 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nu5qI-00052S-Gg for emacs-orgmode@gnu.org; Tue, 23 Mar 2010 11:16:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nu5qG-0007hR-1e for emacs-orgmode@gnu.org; Tue, 23 Mar 2010 11:16:30 -0400 Received: from lo.gmane.org ([80.91.229.12]:56943) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nu5qF-0007h7-IF for emacs-orgmode@gnu.org; Tue, 23 Mar 2010 11:16:28 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nu5qE-0007CE-1a for emacs-orgmode@gnu.org; Tue, 23 Mar 2010 16:16:26 +0100 Received: from gaia.unibw-hamburg.de ([139.11.181.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Mar 2010 16:16:26 +0100 Received: from detlef.steuer by gaia.unibw-hamburg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Mar 2010 16:16:26 +0100 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 Ok, here we go. I put=20 (defmacro ignore-errors (&rest body) "Execute BODY; if an error occurs, return nil. Otherwise, return result of last form in BODY." `(condition-case nil (progn ,@body) (error nil))) in my .emacs as Carsten advised. This action seems to be a complicated form of do-nothing. At least my error message remains the same. (emacs was restarted after adding the macro to .emacs) >=20 > I guess the next questions then have to be:=20 >=20 > 1. how have you installed org-mode? =20 Nightly git checkout. >=20 > 2. How are you loading it? >=20 I inline my (ugly) .emacs as it stands. It is unchanged since ages.=20 My guess is something goes wrong there. ---- snip (server-start) (defmacro ignore-errors (&rest body) "Execute BODY; if an error occurs, return nil. Otherwise, return result of last form in BODY." `(condition-case nil (progn ,@body) (error nil))) ;; Kein Fringe (wozu braucht man den?) (fringe-mode 0) ;; Keine Backups. Wenn ich Backups brauche, dann GIT (setq backup-inhibited t) ;; Keine splash screen (setq inhibit-splash-screen t) ;; Lokale Pakete (add-to-list 'load-path "/usr/local/share/emacs/site-lisp" ) ;; Autofill ist automatisch an (add-hook 'text-mode-hook 'turn-on-auto-fill) ;;;;;;;;;;;; ESS ;;;;;;;;;;;;;;;;;; (setq ess-indent-level 2) ;;; beschleunigt das senden von code an den R Prozess erheblich ;;; (setq ess-eval-visibly-p nil) ;;;; Org Mode ;;; (add-to-list 'load-path "~/GIT-Checkouts/org-mode/lisp") (require 'org-install) ;(require 'org-depend) (setq org-log-done t) ;; The following lines are always needed. Choose your own keys. (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) ;(add-hook 'org-mode-hook 'turn-on-font-lock) ; org-mode buffers only ;; org-babel support (add-to-list 'load-path "~/GIT-Checkouts/org-mode/contrib/lisp") (require 'org-babel-init) (require 'org-babel-R) (org-babel-load-library-of-babel) ;; remind mode (add-to-list 'load-path "~/.emacs.d/remind") (require 'remind-conf-mode)=20 ;; remember mode (add-to-list 'load-path "~/.emacs.d/remember") (require 'remember) (add-hook 'remember-mode-hook 'org-remember-apply-template) (define-key global-map [(control meta ?r)] 'remember) (org-remember-insinuate) (setq org-directory "~/.pim/") (setq org-default-notes-file (concat org-directory "notes.org")) (define-key global-map "\C-cr" 'org-remember) ;; from Wiegley's article ;; (require 'org-install) (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) ;(define-key mode-specific-map [?a] 'org-agenda) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ;'(delete-selection-mode nil) ;'(org-agenda-custom-commands (quote=20 ; (("d" todo #("DELEGATED" 0 9 (face org-warning)) nil)=20 ; ("c" todo #("DONE|DEFERRED|CANCELLED" 0 23 (face org-warning)) nil= )=20 ; ("w" todo #("WAITING" 0 7 (face org-warning)) nil)=20 ; ("W" agenda "" ((org-agenda-ndays 21)))=20 ; ("A" agenda "" ((org-agenda-skip-function=20 ; (lambda nil (org-agenda-skip-entry-if=20 ; (quote notregexp) "\\=3D.*\\[#A\\]"))) (org-agenda-nd= ays 1)=20 ; (org-agenda-overriding-header "Today's Priority #A tasks: = ")))=20 ; ("u" alltodo "" ((org-agenda-skip-function=20 ; (lambda nil (org-agenda-skip-entry-if (quote scheduled)=20 ; (quote deadline) (quote regexp) "<[^>]+>")))=20 ; (org-agenda-overriding-header "Unscheduled TODO entries: "= )))))) '(org-agenda-files (quote=20 ("~/.pim/termine.org" "~/.pim/todo.org" "~/.pim/remindout.org" "~/.p= im/inbox.org"))) '(org-agenda-ndays 7) '(org-agenda-show-all-dates t) '(org-agenda-skip-deadline-if-done t) '(org-agenda-skip-scheduled-if-done t) '(org-agenda-start-on-weekday nil) '(org-agenda-use-time-grid t) '(org-agenda-time-grid (quote ((daily today require-timed) "----------------" (800 900 1000 1100 1300 1400 1500 1600 2000)))) '(org-global-properties (quote (("Effort_ALL" . "0:10 0:30 1:00 2:00 3:00 = 4:00 8:00"))))=20 '(org-deadline-warning-days 14) '(org-default-notes-file "~/.pim/notes.org") ; '(org-fast-tag-selection-single-key (quote expert)) '(org-remember-store-without-prompt t) '(org-remember-templates=20 (quote ((116 "* TODO %?" "~/.pim/inbox.org" "Inbox")=20 (110 "* %?" "~/.pim/inbox.org" "Inbox")))) ; '(org-reverse-note-order t) ; '(remember-annotation-functions (quote (org-remember-annotation))) ; '(remember-handler-functions (quote (org-remember-handler))) ; '(scroll-bar-mode (quote right)) '(org-todo-keywords quote( '((sequence "TODO" "STARTED" "WAITING" | "DONE"= )))) ) ;; f=C3=BCr auctex (require 'tex-site) ;(load "auctex.el" nil t t) ;(load "preview-latex.el" nil t t) ;(setq TeX-auto-save t) ;(setq TeX-parse-self t) ;; f=C3=BCr Emacs Database (add-to-list 'load-path "~/.emacs.d/edb-1.31/lisp") (require 'database) ;; f=C3=BCr Elip (add-to-list 'load-path "~/.emacs.d/elip-0.803") ---- snip > 3. any extra useful information in the *Messages* buffer? This is my Message Buffer after C-c C-c. cl-macs gets loaded. Loading regexp-opt...done Loading subst-ksc...done Loading subst-gb2312...done Loading subst-big5...done Loading subst-jis...done Loading /usr/share/emacs/site-lisp/tex-site.el (source)...done Loading paren...done Loading server...done Loading easy-mmode...done Loading advice...done Loading cl-macs...done Loading byte-opt...done ("t" . org-babel-tangle) ("T" . org-babel-tangle-file) ("e" . org-babel-execute-src-block) ("s" . org-babel-execute-subtree) ("b" . org-babel-execute-buffer) ("h" . org-babel-sha1-hash) ("g" . org-babel-goto-named-source-block) ("l" . org-babel-lob-ingest) ("z" . org-babel-switch-to-session) OVERVIEW Loading vc-git...done Loading tabify...done Loading cl-seq...done Loading /usr/share/emacs/22.3/lisp/skeleton.el (source)...done Loading derived...done Loading org-remember...done Error setting org-todo-keywords: (void-variable quote) For information about GNU Emacs and the GNU system, type C-h C-a. OVERVIEW CONTENTS...done Making completion list... OVERVIEW SUBTREE (NO CHILDREN) org-update-checkbox-count: Invalid function: ignore-errors byte-code: Beginning of buffer >=20 > 4. have you tried turning on debug modes (e.g. toggle-debug-on-error) > to see where things are going wrong? Seems uninformative to me: Debugger entered--Lisp error: (invalid-function ignore-errors) ignore-errors(nil) org-update-checkbox-count() org-update-checkbox-count-maybe() org-toggle-checkbox(nil) call-interactively(org-toggle-checkbox) org-ctrl-c-ctrl-c(nil) call-interactively(org-ctrl-c-ctrl-c) Any ideas? Detlef >=20 >=20 > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >=20