From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Alex Dias Prado Subject: Re: org-remember and anything Date: Mon, 14 Jun 2010 10:38:09 -0300 Message-ID: <871vc9zqda.fsf@gmail.com> References: <4C0FE13B.3040002@ccbr.umn.edu> <87r5kfpw9k.fsf@gollum.intra.norang.ca> <4C103369.5030008@ccbr.umn.edu> <87631rk9ja.fsf@gollum.intra.norang.ca> <871vcfk0kh.fsf@gollum.intra.norang.ca> <87ocfjtjvr.fsf_-_@mundaneum.com> <87eigcb7gs.fsf@in-ulm.de> <87631oyybr.fsf_-_@gmail.com> <87aar0yx3m.fsf@tux.homenetwork> Reply-To: smade4@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=39941 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO9hJ-0001L8-Nj for emacs-orgmode@gnu.org; Mon, 14 Jun 2010 09:27:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OO9hI-0003ji-9l for emacs-orgmode@gnu.org; Mon, 14 Jun 2010 09:27:29 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:55432) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OO9hI-0003jN-6R for emacs-orgmode@gnu.org; Mon, 14 Jun 2010 09:27:28 -0400 Received: by yxf34 with SMTP id 34so742590yxf.0 for ; Mon, 14 Jun 2010 06:27:27 -0700 (PDT) In-Reply-To: <87aar0yx3m.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Sat, 12 Jun 2010 19:33:33 +0200") 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: Thierry Volpiatto Cc: emacs-orgmode@gnu.org Oh sorry, here is complete instructions: (add-to-list 'load-path "/home/glauber/elisp") (add-to-list 'load-path "/home/glauber/elisp/org-mode") (add-to-list 'load-path "/home/glauber/elisp/org-mode/lisp") (require 'org) (require 'init-org-mode) ;; which can be found here: http://openpaste.org/2= 2109/inline/ (require 'anything-startup) (toggle-debug-on-error) call function org-remember trough binding f9-o-r when prompt for a template press t results in backtrace. I think im using latest version of all involved. Thierry Volpiatto writes: > Hi, can you please provide more info on what you do exactly and how you > use anything (which source, function etc...) with org. > Which command give this backtrace? > > Glauber Alex Dias Prado writes: > >> Hi, >> when calling org-remember, after selecting the template org doesnt >> provide the right syntax to anything as it is configure for icomplete i >> think, dunno what is really involved here as it used to work( i tried it >> with both ido completion support on and off): >> >> Sorry if this is not really a org thing: >> >> >> Debugger entered--Lisp error: (error "anything-interpret-value: Symbol m= ust be a function or a variable") >> signal(error ("anything-interpret-value: Symbol must be a function or = a variable")) >> error("anything-interpret-value: Symbol must be a function or a variab= le") >> anything-interpret-value(org-remember-template-prompt-history::Brief\ = Description ((match anything-exact-match anything-mp-3p-match anything-mp-3= -match) (search anything-exact-search anything-mp-3p-search anything-mp-3-s= earch) (name . "History") (candidates . org-remember-template-prompt-histor= y::Brief\ Description) nil (action . identity) (header-line . anything-pers= istent-help-string))) >> anything-get-candidates(((match anything-exact-match anything-mp-3p-ma= tch anything-mp-3-match) (search anything-exact-search anything-mp-3p-searc= h anything-mp-3-search) (name . "History") (candidates . org-remember-templ= ate-prompt-history::Brief\ Description) nil (action . identity) (header-lin= e . anything-persistent-help-string))) >> anything-get-cached-candidates(((match anything-exact-match anything-m= p-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3= p-search anything-mp-3-search) (name . "History") (candidates . org-remembe= r-template-prompt-history::Brief\ Description) nil (action . identity) (hea= der-line . anything-persistent-help-string))) >> #[nil "\306\307\"\306\310\"\311!\306\312\"\211\203=00\313 \n#\202= =00\n)\314=1A=1D=15\n\315\232\2042=0E\316\232\203F\317!\211G\fV\203K\320= =0B\321\f#\202K\314\322\323\217\210\306\324\"\211\203[\313 =0B$)=0B-\207= " [source it anything-pattern matches limit anything-source-name assoc-defa= ult match name anything-candidate-number-limit pattern-transformer anything= -composed-funcall-with-source nil "" (identity) anything-get-cached-candida= tes subseq 0 (byte-code "\306\307!\310=1A\f\204=00\311C\312!\210\313\314\2= 15\210+\310\207" [source exit cands item-count functions anything-match-has= h 0 anything-get-cached-candidates nil #[... "\302 \"\207" [anything-patte= rn candidate string-match] 3] clrhash --cl-block-nil-- ...] 3) (...) filter= ed-candidate-transformer functions] 8]() >> anything-compute-matches(((match anything-exact-match anything-mp-3p-m= atch anything-mp-3-match) (search anything-exact-search anything-mp-3p-sear= ch anything-mp-3-search) (name . "History") (candidates . org-remember-temp= late-prompt-history::Brief\ Description) nil (action . identity) (header-li= ne . anything-persistent-help-string))) >> anything-process-source(((match anything-exact-match anything-mp-3p-ma= tch anything-mp-3-match) (search anything-exact-search anything-mp-3p-searc= h anything-mp-3-search) (name . "History") (candidates . org-remember-templ= ate-prompt-history::Brief\ Description) nil (action . identity) (header-lin= e . anything-persistent-help-string))) >> anything-update() >> anything-read-pattern-maybe(#("Brief Description: " 0 17 (fontified ni= l)) nil nil noresume nil) >> byte-code("\306\211\211\307\206 =1A=1C\310\311=1A\"=0B\312\313!B\f\3= 12\314!B=1B=1C=1D\315=0B\316\313\306\"\210\317\216\320\321!\210\322=1E!=1F\= 323 !\"\210\324\325!\210\326 !\210\327\216\330\"!# $%\210-=0B?\205_\331 -\2= 07" [any-buffer anything-buffer case-fold-search anything-quit anything-in-= persistent-action anything-source-name nil t mapcar #[(v) "\211JB\207" [v]= 2] default-value post-command-hook pre-command-hook (t) set-default ((byte= -code "\306\211=1B :\203=1F @\211\211A@\211\nL\210 A\211\202=07+\f@\307\30= 5\fA\"\207" [--orig-vars --cl-var-- value var --post-command-hook-pair post= -command-hook nil set-default] 3)) anything-frame/window-configuration save= anything-normalize-sources anything-initialize-1 anything-hooks setup anyt= hing-display-buffer ((byte-code "\300 \210\301\302!\210\303\304!\207" [anyt= hing-cleanup anything-hooks cleanup anything-frame/window-configuration res= tore] 2)) anything-read-pattern-maybe anything-execute-selection-action-1 a= nything-restored-variables --pre-command-hook-pair --post-command-hook-pair= --orig-vars any-sources anything-sources any-resume any-input any-prompt a= ny-preselect any-keymap] 6) >> anything((((name . "Default") (default-value . "") (action . identity)= (accept-empty)) ((name . "Completions") (candidates) (action . identity) n= il nil) ((name . "History") (candidates . org-remember-template-prompt-hist= ory::Brief\ Description) nil (action . identity)) ((name . #("Brief Descrip= tion: " 0 17 ...)) (dummy) (action . identity))) nil #("Brief Description: = " 0 17 (fontified nil)) noresume nil "*anything complete*") >> anything-noresume((((name . "Default") (default-value . "") (action . = identity) (accept-empty)) ((name . "Completions") (candidates) (action . id= entity) nil nil) ((name . "History") (candidates . org-remember-template-pr= ompt-history::Brief\ Description) nil (action . identity)) ((name . #("Brie= f Description: " 0 17 ...)) (dummy) (action . identity))) nil #("Brief Desc= ription: " 0 17 (fontified nil)) nil nil "*anything complete*") >> ad-Orig-completing-read(#("Brief Description: " 0 17 (fontified nil)) = nil nil nil nil org-remember-template-prompt-history::Brief\ Description ni= l nil) >> completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil = nil nil org-remember-template-prompt-history::Brief\ Description nil) >> apply(completing-read (#("Brief Description: " 0 17 (fontified nil)) n= il nil nil nil org-remember-template-prompt-history::Brief\ Description nil= )) >> org-icompleting-read(#("Brief Description: " 0 17 (fontified nil)) nil= nil nil nil org-remember-template-prompt-history::Brief\ Description nil) >> apply(org-icompleting-read (#("Brief Description: " 0 17 (fontified ni= l)) nil nil nil nil org-remember-template-prompt-history::Brief\ Descriptio= n nil)) >> org-completing-read(#("Brief Description: " 0 17 (fontified nil)) nil = nil nil nil org-remember-template-prompt-history::Brief\ Description nil) >> apply(org-completing-read (#("Brief Description: " 0 17 (fontified nil= )) nil nil nil nil org-remember-template-prompt-history::Brief\ Description= nil)) >> org-completing-read-no-i(#("Brief Description: " 0 17 (fontified nil))= nil nil nil nil org-remember-template-prompt-history::Brief\ Description n= il) >> org-remember-apply-template() >> run-hooks(fundamental-mode-hook text-mode-hook remember-mode-hook) >> apply(run-hooks (fundamental-mode-hook text-mode-hook remember-mode-ho= ok)) >> run-mode-hooks(remember-mode-hook) >> remember-mode() >> remember(nil) >> org-do-remember() >> org-remember(nil) >> call-interactively(org-remember nil nil) >> >> _______________________________________________ >> 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 >>