From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: org-directory changed? Date: Wed, 17 Nov 2010 16:49:17 +0100 Message-ID: References: <22007.1290004600@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=48092 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIkGN-0000lz-Kx for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 10:49:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIkGM-0001mA-76 for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 10:49:35 -0500 Received: from lo.gmane.org ([80.91.229.12]:53947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIkGL-0001lm-T0 for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 10:49:34 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PIkGI-0007W6-Jl for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 16:49:30 +0100 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2010 16:49:30 +0100 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2010 16:49:30 +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 Nick Dokos writes: > Richard Riley wrote: > >>=20 >> Has something dramatic changed with how org loads files? >>=20 >> My org-directory setting is ~/org-files. >>=20 >> When I start up my agenda this morning after a git pull I get >>=20 >> insert-file-contents-literally: not a regular file: >> /home/shamrock/org-files >>=20 >>=20 > > I just pulled and saw no problem (but I'm not using org-directory for my > agenda files: they are explicitly enumerated in org-agenda-files). I > think the most useful way forward would be for you to get a backtrace. > > Thanks, > Nick > OK, here's the bt. So something to do with category items which rang a bell. In my custom I had a default=20 '(org-agenda-category-icon-alist (quote (("" "" nil nil nil)))) This caused the issue. I removed it and all was well. Possibly some bolstering of the category icon code might protect against this - not sure if it would be a common occurrence or not. ,---- | Debugger entered--Lisp error: (file-error "not a regular file" "/home/sha= mrock/org-files") | insert-file-contents("" nil 0 256 nil) | insert-file-contents-literally("" nil 0 256) | image-type-from-file-header("") | image-type("" nil nil) | create-image("" nil nil nil) | apply(create-image ("" nil nil nil)) | byte-code("\305\211\203:\n@\306 @=0B\"\2033 \211A@)<\203*\307\310 \211= A@)\"\210\2023\307\310\311\312 A\"\"\210\nA\211\204*\305\207" [org-agenda-= category-icon-alist entry --cl-dolist-temp-- category x nil org-string-matc= h-p throw --cl-block-nil-- apply create-image] 6) | org-agenda-get-category-icon(#("Hamburg, Germany" 0 16 (fontified nil o= rg-category #("Journal" 0 7 ...)))) | org-format-agenda-item("Sched. 2x: " "recurring org items :orgmo= de:recurring:schedule:CANCELLED:" #("Hamburg, Germany" 0 16 (fontified nil = org-category #("Journal" 0 7 ...))) (#("journal" 0 7 (inherited t)) "orgmod= e" "recurring" "schedule" "CANCELLED") nil nil nil nil) | byte-code("\306 \210\307\310!\311\310\224S\312\307\310!=0B\313\f$\211= =0BZ9:\205$=0E9\314W;9\314W\203A\3159!\235?\317\320!\205[\320 @?\203x=0E@\204s=0EA\204s=0E9= \314U\204x\311\202\"\321 B\322\323\311\324#\204\212=0EC\202\"\314\225b\210\= 314\224D@\203\256=0EE\203\246=0E:\204\320=0EF\203\320\325\326\311\"\210\202= \320=0EG\324=3D\204\277=0EG\203\320=0E;\203\320\327DH\"\211I\203\320\325\32= 6\311\"\210\330 J\331`\332\311w\210`\"K\333\334\"\203\361\310\224\311O\33= 5PL\202\364\336L\3379\314U\203=01M@\202\f\340MA@\3109Z\"KBJ9\314U\205=01L\3= 11\211@& \203\245=0E@\2044=0E;\2034\341\202>=0E:\203=3D\342\202>\343'@\205= G\344 @\345 N\346'\347?\203Z\350\202\\=0E'\351\352\n!\353\352D!\354;\203o\3= 55\202p\356\357;\203z=0D\202|=0E/\360@\203\211\361@!\202\223\362\363\3649Z\= 365 !#\366B\367@\3708&\210 OBO)\311\207" [s txt pos d1 org-agenda-repeating= -timestamp-show-all d2 org-agenda-skip match-string 1 nil org-time-string-t= o-absolute past 0 abs org-get-todo-state functionp org-is-habit-p org-get-c= ategory re-search-backward "^\\*+[ ]+" t throw :skip assoc org-get-tags-at= buffer-substring-no-properties "^\n" string-match " \\([012]?[0-9]:[0-9][0= -9]\\)" " " time org-format-agenda-item format org-scheduled-previously org= -scheduled-today org-scheduled org-habit-parse-todo org-add-props undone-fa= ce face org-agenda-done org-marker org-agenda-new-marker org-hd-marker type= "past-scheduled" "scheduled" date priority org-habit-get-priority ...] 24) | org-agenda-get-scheduled(nil) | org-agenda-get-day-entries("/home/shamrock/org-files/journal.org" (11 1= 7 2010) :deadline :scheduled :timestamp :sexp) | apply(org-agenda-get-day-entries "/home/shamrock/org-files/journal.org"= (11 17 2010) (:deadline :scheduled :timestamp :sexp)) | byte-code("\306!\210 \n\204=00\307\310 \"=0B\311=3D\203=00\312\f\313#= \2026=0B\203/\314\312\f\315\316 \"$\2026\314\312\f $)\315=0F\"=0F\306\207= " [file org-agenda-entry-types org-agenda-include-deadlines org-agenda-show= -log date rtn org-check-agenda-file delq :deadline only org-agenda-get-day-= entries :closed apply append (:closed) rtnall] 7) | org-agenda-list(nil) | call-interactively(org-agenda-list) | (let nil (call-interactively (quote org-agenda-list))) | (let nil (let nil (call-interactively ...))) | eval((let nil (let nil (call-interactively ...)))) | org-let2(nil nil (call-interactively (quote org-agenda-list))) | org-run-agenda-series("My\n Today" (((agenda "" nil) (tags "sticky" ...= )) nil nil)) | byte-code("\306\307 \232\203=00\310\202=00\n=0B\311\306\312\313=0B\"\"= p\314\315 !@\306\211AB\306\211CD\306\211EFG\204X\316\317!\203C=0E\204I\320\= 321\322\306#\210\306HI\306\211\223\210J\306\211\223\210\320\323\324\306#\21= 0pKL\204t\325!\211F@LFAMG\204\277=0EM\203\277\320\321\322@C#\210M\326=3D\2= 03\241\327HI\330 \306\223\210J\331 \306\223\210\202\277=0EM\332=3D\203\277\= 212\327H\333\327!\210I`\306\223\210J\334\327!\306\223\210)\335L=0B\"\211A\2= 03\314\336A89\204\333\337\336A8!\203\273\336A8C\340\341A8!D\342A8E\320\323\= 324E#\210C\343=3D\203=01\344E\345\"\202$=0EC\346=3D\203=01\344E\347\"\202$= =0EC\350=3D\203#\344E\351\"\202$=0EC\352=3D\2032\344E\353\"\202$=0EC\354=3D= \203A\344E\355\"\202$=0EC\356=3D\203P\344E\357\"\202$=0EC\360=3D\203_\344E\= 361\"\202$=0EC\362=3D\203q\363 \210\344E\364\"\202$=0EC\365=3D\203\203\363 = \210\344E\366\"\202$=0EC\367=3D\203\225\363 \210\344E\370\"\202$\337C!\203\= 244\344E\371\"\202$\372C!\203\263\344E\373\"\202$\374\375C\"\202$\376AA@A\2= 11NAA)\"\202$=0EL\377\232\203\335\f\201S\303!\202$=0EL\201T\232\203\360\201= U\201V!\202$=0EL\201W\232\203=02\201U\201X!\202$=0EL\201Y\232\203=02\201U\2= 01Z!\202$=0EL\201[\232\203<\201Z=0EO\206*\201\\=1EOPOQ\201U=0EP!+\202$=0EL\= 201]\232\203O\201U\201^!\202$=0EL\201_\232\203u\201^=0EO\206c\201`=1EOPOQ\2= 01U=0EP!+\202$=0EL\201a\232\203\210\201U\201b!\202$=0EL\201c\232\203\251\20= 1^\306\201d\"\210\201e\201f\201g\327\211$\202$=0EL\201h\232\203\346=0ER\201= i=3D\204\301\374\201j!\210M?\205$\320\321\322@C#\210\201k=0EOOPOQ\201U=0EP!= +\202$=0EL\201l\232\203\371\201U\201m!\202$=0EL\201n\232\203\f\201U\201o!\2= 02$=0EL\201p\232\203=1F\201S\201q!\202$\374\201r!.\f\207" [prefix-descripti= ons org-agenda-buffer-name org-agenda-window-setup org-agenda-custom-comman= ds org-agenda-custom-commands-orig buf nil buffer-name current-window delq = mapcar #[(x) "A;\203\f B\302\207A@;\203=00\207A@\204'@\303\211AA)BB\= 207@\303ABB\207" [x prefix-descriptions nil ""] 4] buffer-file-name buffe= r-base-buffer boundp org-agenda-keep-restricted-file-list put org-agenda-fi= les org-restrict org-agenda-redo-command org-lprops org-agenda-get-restrict= ion-and-command region t region-beginning region-end subtree org-back-to-he= ading org-end-of-subtree assoc 2 functionp eval 3 4 agenda org-let (org-age= nda-list current-prefix-arg) alltodo (org-todo-list current-prefix-arg) sea= rch (org-search-view current-prefix-arg match nil) stuck (org-agenda-list-s= tuck-projects current-prefix-arg) tags (org-tags-view current-prefix-arg ma= tch) tags-todo (org-tags-view (quote ...) match) todo (org-todo-list match)= ...] 6) | org-agenda(nil) | call-interactively(org-agenda nil nil) `----