all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* archive problem [7.7 (release_7.7.167.gfceb)]
@ 2011-08-22  6:47 yagnesh raghava
  2011-08-22  7:17 ` suvayu ali
  0 siblings, 1 reply; 3+ messages in thread
From: yagnesh raghava @ 2011-08-22  6:47 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.
------------------------------------------------------------------------
when I do C-c C-x C-a to archive a entry in the agenda view i get the
following back trace


Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   string-match("^/tmp_mnt/" nil)
   abbreviate-file-name(nil)
   org-archive-subtree()
   org-agenda-archive-with(org-archive-subtree)
   org-agenda-archive-default()
   call-interactively(org-agenda-archive-default nil nil)

--
Yagnesh

--------------------------------------------------------------------------
Emacs  : GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.9)
  of 2011-08-22 on amur
Package: Org-mode version 7.7 (release_7.7.167.gfceb)

current state:
==============
(setq
  org-agenda-tags-todo-honor-ignore-options t
  org-export-preprocess-before-selecting-backend-code-hook 
'(org-beamer-select-beamer-code)
  org-tab-first-hook '(yas/org-very-safe-expand org-hide-block-toggle-maybe
               org-src-native-tab-command-maybe
               org-babel-hide-result-toggle-maybe)
  org-speed-command-hook '(org-speed-command-default-hook
               org-babel-speed-command-hook)
  org-agenda-diary-file "~/git/org/diary.org"
  org-agenda-skip-timestamp-if-done t
  org-occur-hook '(org-first-headline-recenter)
  org-metaup-hook '(org-babel-load-in-session-maybe)
  org-export-preprocess-before-normalizing-links-hook 
'(org-remove-file-link-modifiers)
  org-confirm-shell-link-function 'yes-or-no-p
  org-export-latex-emphasis-alist '(("*" "\\textbf{%s}" nil) ("/" 
"\\emph{%s}" nil)
                    ("_" "\\underline{%s}" nil)
                    ("+" "\\texttt{%s}" nil) ("=" "\\verb=%s=" nil)
                    ("~" "\\verb~%s~" t) ("@" "\\alert{%s}" nil))
  org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
                    org-beamer-auto-fragile-frames
                    org-beamer-place-default-actions-for-lists)
  org-emphasis-alist '(("*" bold "<b>" "</b>") ("/" italic "<i>" "</i>")
               ("_" underline "<span style=\"text-decoration:underline;\">"
                "</span>")
               ("=" org-code "<code>" "</code>" verbatim)
               ("~" org-verbatim "<code>" "</code>" verbatim)
               ("+" (:strike-through t) "<del>" "</del>")
               ("@" org-warning "<b>" "</b>"))
  org-special-ctrl-a/e t
  org-agenda-todo-ignore-scheduled t
  org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
  org-agenda-skip-scheduled-if-done t
  org-agenda-custom-commands '(("w" "Works for weekend" tags 
"@night|@weekend!"
                    ((org-agenda-overriding-header "weekend works")))
                   ("d" "At WORK" tags "@day!"
                    ((org-agenda-overriding-header "at Work")))
                   ("n" "Evening" tags "@night!"
                    ((org-agenda-overriding-header "Night time")))
                   ("r" "Refile New Notes and Tasks" tags
                    "LEVEL=2+REFILE"
                    ((org-agenda-overriding-header "Tasks to Refile")))
                   ("N" "Next" tags-todo "/!NEXT")
                   ("A" "Tasks to be Archived" tags
                    "LEVEL=2-REFILE/DONE|CANCELLED")
                   )
  org-default-notes-file "~/git/org/refile.org"
  org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold)
               ("NEXT" :foreground "blue" :weight bold)
               ("DONE" :foreground "forest green" :weight bold)
               ("WAITING" :foreground "yellow" :weight bold)
               ("SOMEDAY" :foreground "goldenrod" :weight bold)
               ("CANCELLED" :foreground "orangered" :weight bold)
               ("OPEN" :foreground "magenta" :weight bold)
               ("CLOSED" :foreground "forest green" :weight bold))
  org-agenda-include-diary t
  org-after-todo-state-change-hook '(org-clock-out-if-current)
  org-src-mode-hook '(org-src-babel-configure-edit-buffer
              org-src-mode-configure-edit-buffer)
  org-agenda-before-write-hook '(org-agenda-add-entry-text)
  org-babel-pre-tangle-hook '(save-buffer)
  org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
  org-mode-hook '(#[nil "\300\301\302\303\304$\207"
            [org-add-hook change-major-mode-hook org-show-block-all append
             local]
            5]
          #[nil "\300\301\302\303\304$\207"
            [org-add-hook change-major-mode-hook org-babel-show-result-all
             append local]
            5]
          org-babel-result-hide-spec org-babel-hide-all-hashes
          (lambda nil (make-variable-buffer-local (quote yas/trigger-key))
           (setq yas/trigger-key [tab])
           (add-to-list (quote org-tab-first-hook)
            (quote yas/org-very-safe-expand))
           (define-key yas/keymap [tab] (quote yas/next-field))
           (flyspell-mode 1))
          )
  org-refile-targets '((org-agenda-files :maxlevel . 5) (nil :maxlevel . 5))
  org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t))
                 ("WAITING" ("WAITING" . t))
                 ("SOMEDAY" ("WAITING" . t)) (done ("WAITING"))
                 ("TODO" ("WAITING") ("CANCELLED"))
                 ("NEXT" ("WAITING"))
                 ("DONE" ("WAITING") ("CANCELLED")))
  org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point 
org-babel-execute-safely-maybe)
  org-refile-use-outline-path 'file
  org-directory "~/git/org/"
  org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
           org-cycle-show-empty-lines
           org-optimize-window-after-visibility-change)
  org-export-latex-format-toc-function 'org-export-latex-format-toc-default
  org-export-blocks '((src org-babel-exp-src-block nil)
              (comment org-export-blocks-format-comment t)
              (ditaa org-export-blocks-format-ditaa nil)
              (dot org-export-blocks-format-dot nil))
  org-export-first-hook '(org-beamer-initialize-open-trackers)
  org-agenda-todo-ignore-with-date t
  org-export-interblocks '((lob org-babel-exp-lob-one-liners)
               (src org-babel-exp-inline-src-blocks))
  org-refile-allow-creating-parent-nodes 'confirm
  org-blank-before-new-entry nil
  org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!/!)")
              (sequence "WAITING(w@/!)" "SOMEDAY(s!)" "|" 
"CANCELLED(c@/!)"))
  org-agenda-ndays 10
  org-fast-tag-selection-single-key 'expert
  org-deadline-warning-days 2
  org-babel-tangle-lang-exts '(("perl" . "pl") ("emacs-lisp" . "el"))
  org-confirm-elisp-link-function 'yes-or-no-p
  org-metadown-hook '(org-babel-pop-to-session-maybe)
  org-babel-after-execute-hook '(org-display-inline-images)
  org-treat-S-cursor-todo-selection-as-state-change nil
  org-agenda-skip-deadline-if-done t
  org-completion-use-ido t
  org-babel-load-languages '((emacs-lisp . t) (dot . t) (ditaa . t) 
(octave . t)
                 (perl . t) (gnuplot . t) (sh . t))
  org-agenda-files '("~/git/org/fam.org" "~/git/org/manage/management.org"
             "~/git/org/refile.org" "~/git/org/todo.org" 
"~/git/org/work.org"
             "~/git/org/read/read.org" "~/git/org/write.org"
             "~/git/org/web/wv.org" "~/git/org/web/yorg.org"
             "~/git/org/off-works.org" "~/git/org/prj.org"
             "~/git/org/travel/travel.org" "~/git/org/conference.org"
             "~/git/org/snowband-simu/simu-work.org"
             "~/git/org/outings/outings.org")
  org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
  org-confirm-babel-evaluate nil
  org-publish-project-alist '(("org-yag" :base-directory 
"~/git/sites/yorg/org/"
                   :base-extension "org" :publishing-directory
                   "~/git/sites/yorg/jekyll/" :recursive t
                   :publishing-function org-publish-org-to-html
                   :headline-levels 4 :html-extension "html" :body-only t)
                  ("org-static-yag" :base-directory
                   "~/git/sites/yorg/org/" :base-extension
                   
"css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php" 
:publishing-directory "~/git/sites/yorg/jekyll" :recursive t 
:publishing-function org-publish-attachment)
                  ("yag" :components ("org-yag" "org-static-yag")))
  org-tag-alist '((:startgroup) ("@home" . 104) ("@lab" . 108) ("@xhome" 
. 120)
          ("@shop" . 83) (:endgroup) (:startgroup) ("@night" . 110)
          ("@weekend" . 87) ("@day" . 100) (:endgroup) ("PHONE" . 80)
          ("EMAIL" . 109) ("WORK" . 119) ("GIT" . 103) ("READ" . 114)
          ("EMACS" . 69) ("HOME" . 72) ("KIRTI" . 107) ("CANCELLED" . 67))
  org-export-latex-classes '(("beamer"
                  "\\documentclass[11pt]{beamer}\n\n      
\\mode<{{{beamermode}}}>\n\n      \\usetheme{{{{beamertheme}}}}\n\n      
\\usecolortheme{{{{beamercolortheme}}}}\n\n      
\\beamertemplateballitem\n\n      \\setbeameroption{show notes}\n      
\\usepackage[utf8]{inputenc}\n\n      \\usepackage[T1]{fontenc}\n\n      
\\usepackage{hyperref}\n\n      \\usepackage{color}\n      
\\usepackage{listings}\n      
\\lstset{numbers=none,language=[ISO]C++,tabsize=4,\n  frame=single,\n  
basicstyle=\\small,\n  showspaces=false,showstringspaces=false,\n  
showtabs=false,\n  keywordstyle=\\color{blue}\\bfseries,\n  
commentstyle=\\color{red},\n  }\n\n      \\usepackage{verbatim}\n\n      
\\institute{{{{beamerinstitute}}}}\n          \n       
\\subject{{{{beamersubject}}}}\n"
                  ("\\section{%s}" . "\\section*{%s}")
                  ("\\begin{frame}[fragile]\\frametitle{%s}"
                   "\\end{frame}"
                   "\\begin{frame}[fragile]\\frametitle{%s}"
                   "\\end{frame}")
                  )
                 ("article" "\\documentclass{article}"
                  ("\\section{%s}" . "\\section*{%s}"))
                 ("letter"
                  "\\documentclass[11pt]{letter}\n\n      
\\usepackage[utf8]{inputenc}\n\n      \\usepackage[T1]{fontenc}\n\n      
\\usepackage{color}"
                  ("\\section{%s}" . "\\section*{%s}")
                  ("\\subsection{%s}" . "\\subsection*{%s}")
                  ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
                  ("\\paragraph{%s}" . "\\paragraph*{%s}")
                  ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
                 )
  )

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

* Re: archive problem [7.7 (release_7.7.167.gfceb)]
  2011-08-22  6:47 archive problem [7.7 (release_7.7.167.gfceb)] yagnesh raghava
@ 2011-08-22  7:17 ` suvayu ali
  0 siblings, 0 replies; 3+ messages in thread
From: suvayu ali @ 2011-08-22  7:17 UTC (permalink / raw)
  To: yagnesh raghava; +Cc: emacs-orgmode

Hi Yagnesh,

On Mon, Aug 22, 2011 at 8:47 AM, yagnesh raghava <yagnesh@live.com> wrote:
> when I do C-c C-x C-a to archive a entry in the agenda view i get the
> following back trace
>
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>  string-match("^/tmp_mnt/" nil)
>  abbreviate-file-name(nil)
>  org-archive-subtree()
>  org-agenda-archive-with(org-archive-subtree)
>  org-agenda-archive-default()
>  call-interactively(org-agenda-archive-default nil nil)
>

Can you replicate this with a minimal setup as described in the
following link?

<http://article.gmane.org/gmane.emacs.orgmode/45629/match=minimal+org+setup>

For a minimal setup of your agenda files you can take hints from this:

<http://article.gmane.org/gmane.emacs.orgmode/45788>

> Yagnesh

GL

-- 
Suvayu

Open source is the future. It sets us free.

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

* Re: archive problem [7.7 (release_7.7.167.gfceb)]
@ 2011-08-22 10:06 yagnesh raghava
  0 siblings, 0 replies; 3+ messages in thread
From: yagnesh raghava @ 2011-08-22 10:06 UTC (permalink / raw)
  To: emacs-orgmode

I just sent this mail to Suvavu only.. apologies to Suvavu for duplicate 
mail

Hi Suvayu.,

On 08/22/2011 04:17 PM, suvayu ali wrote:
>  Hi Yagnesh,
>
>  On Mon, Aug 22, 2011 at 8:47 AM, yagnesh raghava<yagnesh@live.com>   wrote:
>>  when I do C-c C-x C-a to archive a entry in the agenda view i get the
>>  following back trace
>>
>>
>>  Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>    string-match("^/tmp_mnt/" nil)
>>    abbreviate-file-name(nil)
>>    org-archive-subtree()
>>    org-agenda-archive-with(org-archive-subtree)
>>    org-agenda-archive-default()
>>    call-interactively(org-agenda-archive-default nil nil)
>>
>  Can you replicate this with a minimal setup as described in the
>  following link?
>
>  <http://article.gmane.org/gmane.emacs.orgmode/45629/match=minimal+org+setup>
>
>  For a minimal setup of your agenda files you can take hints from this:
>
>  <http://article.gmane.org/gmane.emacs.orgmode/45788>
>
>>  Yagnesh
>  GL
>

Thanks for the reply.,

I found the reason which is causing the problem. ARCHIVE property of a
heading is set incorrectly. like the following.,

#+begin_src org
* plotting                                   :plot:
   :PROPERTIES:
   :ARCHIVE:  * plotting
   :END:
** DONE make a cross sectional plot
    - State "DONE"       from "NEXT"
#+end_src

I must have configured :ARCHIVE: property wrong using =C-c C-x
p= . If I set it to " :ARCHIVE: %s_archive::* plotting " as the manual
suggested, everything working fine as expected.

Thanks for your time.

-- 
YYR

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

end of thread, other threads:[~2011-08-22 10:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-22  6:47 archive problem [7.7 (release_7.7.167.gfceb)] yagnesh raghava
2011-08-22  7:17 ` suvayu ali
  -- strict thread matches above, loose matches on Subject: below --
2011-08-22 10:06 yagnesh raghava

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.