emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrg@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-directory changed?
Date: Wed, 17 Nov 2010 16:49:17 +0100	[thread overview]
Message-ID: <ic0tht$dke$1@dough.gmane.org> (raw)
In-Reply-To: 22007.1290004600@gamaville.dokosmarshall.org

Nick Dokos <nicholas.dokos@hp.com> writes:

> Richard Riley <rileyrg@googlemail.com> wrote:
>
>> 
>> Has something dramatic changed with how org loads files?
>> 
>> My org-directory setting is ~/org-files.
>> 
>> When I start up my agenda this morning after a git pull I get
>> 
>> insert-file-contents-literally: not a regular file:
>> /home/shamrock/org-files
>> 
>> 
>
> 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 

 '(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/shamrock/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("\b\305\211\203:\n@\306	@\v\"\2033	\211A@)<\203*\307\310	\211A@)\"\210\2023\307\310\311\312	A\"\"\210\nA\211\204\b*\305\207" [org-agenda-category-icon-alist entry --cl-dolist-temp-- category x nil org-string-match-p throw --cl-block-nil-- apply create-image] 6)
|   org-agenda-get-category-icon(#("Hamburg, Germany" 0 16 (fontified nil org-category #("Journal" 0 7 ...))))
|   org-format-agenda-item("Sched. 2x: " "recurring org items	       :orgmode:recurring:schedule:CANCELLED:" #("Hamburg, Germany" 0 16 (fontified nil org-category #("Journal" 0 7 ...))) (#("journal" 0 7 (inherited t)) "orgmode" "recurring" "schedule" "CANCELLED") nil nil nil nil)
|   byte-code("\306 \210\307\310!\311\310\224S\312\307\310!\v\313\f$\211\vZ9:\205$\x0e9\314W;9\314W\203A\3159!<W\203A\x0e:\203A\x0e=\203H\x0e9\314U\203\246\212\316 \2118>\235?\317\320!\205[\320 @?\203x\x0e@\204s\x0eA\204s\x0e9\314U\204x\311\202\"\321 B\322\323\311\324#\204\212\x0eC\202\"\314\225b\210\314\224D@\203\256\x0eE\203\246\x0e:\204\320\x0eF\203\320\325\326\311\"\210\202\320\x0eG\324=\204\277\x0eG\203\320\x0e;\203\320\327DH\"\211I\203\320\325\326\311\"\210\330 J\331`\332\311w\210`\"K\333\334\b\"\203\361\b\310\224\311O\335PL\202\364\336L\3379\314U\203\x01M@\202\f\340MA@\3109Z\"KBJ9\314U\205\x01L\311\211@&\b	\203\245\x0e@\2044\x0e;\2034\341\202>\x0e:\203=\342\202>\343'@\205G\344 @\345	N\346'\347?\203Z\350\202\\\x0e'\351\352\n!\353\352D!\354;\203o\355\202p\356\357;\203z\r\202|\x0e/\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-to-absolute past 0 abs org-get-todo-state functionp org-is-habit-p org-get-category 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-face 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 17 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\b!\210	\n\204\0\307\310	\"\v\311=\203\0\312\b\f\313#\2026\v\203/\314\312\b\f\315\316	\"$\2026\314\312\b\f	$)\315\x0f\"\x0f\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\0\310\202\0\n\v\311\306\312\313\v\"\"p\314\315 !@\306\211AB\306\211CD\306\211EFG\204X\316\317!\203C\x0e\204I\320\321\322\306#\210\306HI\306\211\223\210J\306\211\223\210\320\323\324\306#\210pKL\204t\325\b!\211F@LFAMG\204\277\x0eM\203\277\320\321\322@C#\210M\326=\203\241\327HI\330 \306\223\210J\331 \306\223\210\202\277\x0eM\332=\203\277\212\327H\333\327!\210I`\306\223\210J\334\327!\306\223\210)\335L\v\"\211A\203\314\336A89\204\333\337\336A8!\203\273\336A8C\340\341A8!D\342A8E\320\323\324E#\210C\343=\203\x01\344E\345\"\202$\x0eC\346=\203\x01\344E\347\"\202$\x0eC\350=\203#\344E\351\"\202$\x0eC\352=\2032\344E\353\"\202$\x0eC\354=\203A\344E\355\"\202$\x0eC\356=\203P\344E\357\"\202$\x0eC\360=\203_\344E\361\"\202$\x0eC\362=\203q\363 \210\344E\364\"\202$\x0eC\365=\203\203\363 \210\344E\366\"\202$\x0eC\367=\203\225\363 \210\344E\370\"\202$\337C!\203\244\344E\371\"\202$\372C!\203\263\344E\373\"\202$\374\375C\"\202$\376AA@A\211NAA)\"\202$\x0eL\377\232\203\335\f\201S\303!\202$\x0eL\201T\232\203\360\201U\201V!\202$\x0eL\201W\232\203\x02\201U\201X!\202$\x0eL\201Y\232\203\x02\201U\201Z!\202$\x0eL\201[\232\203<\201Z\x0eO\206*\201\\\x1eOPOQ\201U\x0eP!+\202$\x0eL\201]\232\203O\201U\201^!\202$\x0eL\201_\232\203u\201^\x0eO\206c\201`\x1eOPOQ\201U\x0eP!+\202$\x0eL\201a\232\203\210\201U\201b!\202$\x0eL\201c\232\203\251\201^\306\201d\"\210\201e\201f\201g\327\211$\202$\x0eL\201h\232\203\346\x0eR\201i=\204\301\374\201j!\210M?\205$\320\321\322@C#\210\201k\x0eOOPOQ\201U\x0eP!+\202$\x0eL\201l\232\203\371\201U\201m!\202$\x0eL\201n\232\203\f\201U\201o!\202$\x0eL\201p\232\203\x1f\201S\201q!\202$\374\201r!.\f\207" [prefix-descriptions org-agenda-buffer-name org-agenda-window-setup org-agenda-custom-commands org-agenda-custom-commands-orig buf nil buffer-name current-window delq mapcar #[(x) "\bA;\203\f\b	B\302\207\bA@;\203\0\b\207\bA@\204'\b@\303\b\211AA)BB\207\b@\303\bABB\207" [x prefix-descriptions nil ""] 4] buffer-file-name buffer-base-buffer boundp org-agenda-keep-restricted-file-list put org-agenda-files org-restrict org-agenda-redo-command org-lprops org-agenda-get-restriction-and-command region t region-beginning region-end subtree org-back-to-heading org-end-of-subtree assoc 2 functionp eval 3 4 agenda org-let (org-agenda-list current-prefix-arg) alltodo (org-todo-list current-prefix-arg) search (org-search-view current-prefix-arg match nil) stuck (org-agenda-list-stuck-projects current-prefix-arg) tags (org-tags-view current-prefix-arg match) tags-todo (org-tags-view (quote ...) match) todo (org-todo-list match) ...] 6)
|   org-agenda(nil)
|   call-interactively(org-agenda nil nil)
`----

      reply	other threads:[~2010-11-17 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17  7:57 org-directory changed? Richard Riley
2010-11-17 14:36 ` Nick Dokos
2010-11-17 15:49   ` Richard Riley [this message]

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='ic0tht$dke$1@dough.gmane.org' \
    --to=rileyrg@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).