emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-contacts show "Non-existent agenda file ~/org/* virexit. [R]emove from list or [A]bort?" when trying to find contacts with M-x org-contacts<RET> [8.2.7b (8.2.7b-dist @ c:/Users/Seam/AppData/Roaming/.emacs.d/orgmode/lisp/)]
@ 2014-07-19  3:03 seamwill
  2014-07-20  8:52 ` Daimrod
  0 siblings, 1 reply; 2+ messages in thread
From: seamwill @ 2014-07-19  3:03 UTC (permalink / raw)
  To: emacs-orgmode


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

I put my captured contacts to "~/.orgmode/data/contact.org" and I can
successfully capture the contacts, however, when I eval the function
org-contacts in org mode, it just shows the message in the title.

if the contact file is empty, it does not show the message, but org-contacts
show an empty match.

Emacs  : GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601)
 of 2013-03-18 on MARVIN
Package: Org-mode version 8.2.7b (8.2.7b-dist @ c:/Users/Seam/AppData/Roaming/.emacs.d/orgmode/lisp/)

current state:
==============
(setq
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
			  org-babel-execute-safely-maybe)
 org-reverse-note-order '(("next") ("task" . t))
 org-archive-location "~/.orgmode/data/archive.org::* Archived Tasks"
 org-tab-first-hook '(org-hide-block-toggle-maybe
		      org-src-native-tab-command-maybe
		      org-babel-hide-result-toggle-maybe
		      org-babel-header-arg-expand)
 org-refile-targets '(("~/.orgmode/data/next.org" :level . 1)
		      ("~/.orgmode/data/task.org" :level . 1)
		      (nil :level . 2))
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
		  org-cycle-hide-inline-tasks org-cycle-show-empty-lines
		  org-optimize-window-after-visibility-change)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-speed-command-hook '(org-speed-command-default-hook
			  org-babel-speed-command-hook)
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-babel-pre-tangle-hook '(save-buffer)
 org-occur-hook '(org-first-headline-recenter)
 org-log-done 'time
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-capture-templates '(("c" "Contacts" entry
			  (file "~/.orgmode/data/contact.org")
			  "* %(org-contacts-template-name)\n		:PROPERTIES:\n		:EMAIL: %(org-contacts-template-email)\n		:END:")
			 ("i" "Inbox" entry
			  (file+headline "~/.orgmode/data/inbox.org"
			   "INBOX")
			  "* TODO %?")
			 ("j" "Journal" entry
			  (file+datetree "~/.orgmode/data/journal.org")
			  "* %?\nDate: %U")
			 ("n" "Notes" entry
			  (file+headline "~/.orgmode/data/note.org"
			   "NOTES")
			  "* %? %^g\n%x\nCaptured At: %U\n")
			 )
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-enforce-todo-dependencies t
 org-mode-hook '((lambda nil
		  (org-add-hook (quote change-major-mode-hook)
		   (quote org-show-block-all) (quote append) (quote local))
		  )
		 (lambda nil
		  (org-add-hook (quote change-major-mode-hook)
		   (quote org-babel-show-result-all) (quote append)
		   (quote local))
		  )
		 org-babel-result-hide-spec org-babel-hide-all-hashes
		 (lambda nil
		  (define-key org-mode-map "w"
		   (quote toggle-truncate-lines))
		  )
		 (lambda nil
		  (define-key org-mode-map "m" (quote org-show-level)))
		 (lambda nil (org-show-level 2)))
 org-from-is-user-regexp nil
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-todo-keywords '((sequence "TODO" "|" "DONE" "CANCELED"))
 org-agenda-files '("~/.orgmode/data/task.org")
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
		     org-src-mode-configure-edit-buffer)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-todo-keyword-faces '(("TODO" . org-warning)
			  ("CANCELED" :foreground "maroon" :weight bold))
 org-contacts-files "~/.orgmode/data/contact.org"
 org-after-todo-statistics-hook '(org-summary-todo)
 org-confirm-shell-link-function 'yes-or-no-p
 )

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: org-contacts show "Non-existent agenda file ~/org/* virexit. [R]emove from list or [A]bort?" when trying to find contacts with M-x org-contacts<RET> [8.2.7b (8.2.7b-dist @ c:/Users/Seam/AppData/Roaming/.emacs.d/orgmode/lisp/)]
  2014-07-19  3:03 Bug: org-contacts show "Non-existent agenda file ~/org/* virexit. [R]emove from list or [A]bort?" when trying to find contacts with M-x org-contacts<RET> [8.2.7b (8.2.7b-dist @ c:/Users/Seam/AppData/Roaming/.emacs.d/orgmode/lisp/)] seamwill
@ 2014-07-20  8:52 ` Daimrod
  0 siblings, 0 replies; 2+ messages in thread
From: Daimrod @ 2014-07-20  8:52 UTC (permalink / raw)
  To: emacs-orgmode

seamwill@gmail.com writes:

> I put my captured contacts to "~/.orgmode/data/contact.org" and I can
> successfully capture the contacts, however, when I eval the function
> org-contacts in org mode, it just shows the message in the title.
>
> if the contact file is empty, it does not show the message, but org-contacts
> show an empty match.

----------
> org-contacts show "Non-existent agenda file ~/org/* virexit. [R]emove
> from list or [A]bort?" when trying to find contacts with M-x
> org-contacts<RET> [8.2.7b (8.2.7b-dist @
> c:/Users/Seam/AppData/Roaming/.emacs.d/orgmode/lisp/)]
----------

It looks like you had added a file named '* virexit' to the agenda list,
but that file doesn't exist anymore.

`org-contacts' uses the agenda views to display contacts. I don't know
the internals of `org-agenda' very well but I guess that it checks for
agenda files even if the caller doesn't need them, hence the error.

I don't know (yet) if it's possible to disable this behavior, but in the
meantime you can remove the file from the agenda list.

Best,

-- 
Daimrod/Greg

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-20  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-19  3:03 Bug: org-contacts show "Non-existent agenda file ~/org/* virexit. [R]emove from list or [A]bort?" when trying to find contacts with M-x org-contacts<RET> [8.2.7b (8.2.7b-dist @ c:/Users/Seam/AppData/Roaming/.emacs.d/orgmode/lisp/)] seamwill
2014-07-20  8:52 ` Daimrod

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).