[Orgmode] Re: org-remember and anything

2010-06-26 Thread rubikitch
From: Glauber Alex Dias Prado sma...@gmail.com
Subject: Re: org-remember and anything
Date: Mon, 14 Jun 2010 10:38:09 -0300

 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/22109/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 thierry.volpia...@gmail.com 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 sma...@gmail.com 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 
  must be a function or a variable)

Sorry for late reply.
I just fixed the bug.

Cheers,
--
rubikitch

___
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


[Orgmode] Re: org-remember and anything

2010-06-14 Thread Glauber Alex Dias Prado
i thought i was explicity enough when i said when calling org-remember
:), this happens after i select a template and it prompts for completion
which is being handled by anything, that is when the backtrace happens,
this only happens with org-mode so i thought it was more a org thing
than anything.

Thierry Volpiatto thierry.volpia...@gmail.com 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 sma...@gmail.com 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 must 
 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 variable)
   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-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-get-candidates(((match anything-exact-match anything-mp-3p-match 
 anything-mp-3-match) (search anything-exact-search anything-mp-3p-search 
 anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-get-cached-candidates(((match anything-exact-match 
 anything-mp-3p-match anything-mp-3-match) (search anything-exact-search 
 anything-mp-3p-search anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   #[nil \306\307\\306\310\\311!\306\312\\211\203\313   
 \n#\202\n)\314\n\315\232\2042\316\232\203F\317!\211G\fV\203K\320\321\f#\202K\314\322\323\217\210\306\324\\211\203[\313
 $)-\207 [source it anything-pattern matches limit 
 anything-source-name assoc-default match name 
 anything-candidate-number-limit pattern-transformer 
 anything-composed-funcall-with-source nil  (identity) 
 anything-get-cached-candidates subseq 0 (byte-code 
 \306\307!\310\f\204\311C\312!\210\313\314\215\210+\310\207 [source exit 
 cands item-count functions anything-match-hash 0 
 anything-get-cached-candidates nil #[... \302\\207 
 [anything-pattern candidate string-match] 3] clrhash --cl-block-nil-- ...] 
 3) (...) filtered-candidate-transformer functions] 8]()
   anything-compute-matches(((match anything-exact-match anything-mp-3p-match 
 anything-mp-3-match) (search anything-exact-search anything-mp-3p-search 
 anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-process-source(((match anything-exact-match anything-mp-3p-match 
 anything-mp-3-match) (search anything-exact-search anything-mp-3p-search 
 anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-update()
   anything-read-pattern-maybe(#(Brief Description:  0 17 (fontified nil)) 
 nil nil noresume nil)
   byte-code(\306\211\211\307\206   
 \310\311\\312\313!B\f\312\314!B\315\316\313\306\\210\317\216\320\321!\210\322!\323
  !\\210\324\325!\210\326 !\210\327\216\330\!# $%\210-?\205_\331 -\207 
 [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  :\203  @\211\2...@\211\nl\210  
 a\211\202...@\307\305\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 anything-display-buffer 
 ((byte-code \300 \210\301\302!\210\303\304!\207 [anything-cleanup 
 anything-hooks cleanup anything-frame/window-configuration restore] 2)) 
 anything-read-pattern-maybe anything-execute-selection-action-1 
 anything-restored-variables --pre-command-hook-pair --post-command-hook-pair 
 --orig-vars any-sources anything-sources any-resume any-input any-prompt 
 any-preselect 

[Orgmode] Re: org-remember and anything

2010-06-14 Thread Glauber Alex Dias Prado
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/22109/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 thierry.volpia...@gmail.com 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 sma...@gmail.com 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 must 
 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 variable)
   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-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-get-candidates(((match anything-exact-match anything-mp-3p-match 
 anything-mp-3-match) (search anything-exact-search anything-mp-3p-search 
 anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-get-cached-candidates(((match anything-exact-match 
 anything-mp-3p-match anything-mp-3-match) (search anything-exact-search 
 anything-mp-3p-search anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   #[nil \306\307\\306\310\\311!\306\312\\211\203\313   
 \n#\202\n)\314\n\315\232\2042\316\232\203F\317!\211G\fV\203K\320\321\f#\202K\314\322\323\217\210\306\324\\211\203[\313
 $)-\207 [source it anything-pattern matches limit 
 anything-source-name assoc-default match name 
 anything-candidate-number-limit pattern-transformer 
 anything-composed-funcall-with-source nil  (identity) 
 anything-get-cached-candidates subseq 0 (byte-code 
 \306\307!\310\f\204\311C\312!\210\313\314\215\210+\310\207 [source exit 
 cands item-count functions anything-match-hash 0 
 anything-get-cached-candidates nil #[... \302\\207 
 [anything-pattern candidate string-match] 3] clrhash --cl-block-nil-- ...] 
 3) (...) filtered-candidate-transformer functions] 8]()
   anything-compute-matches(((match anything-exact-match anything-mp-3p-match 
 anything-mp-3-match) (search anything-exact-search anything-mp-3p-search 
 anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-process-source(((match anything-exact-match anything-mp-3p-match 
 anything-mp-3-match) (search anything-exact-search anything-mp-3p-search 
 anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-update()
   anything-read-pattern-maybe(#(Brief Description:  0 17 (fontified nil)) 
 nil nil noresume nil)
   byte-code(\306\211\211\307\206   
 \310\311\\312\313!B\f\312\314!B\315\316\313\306\\210\317\216\320\321!\210\322!\323
  !\\210\324\325!\210\326 !\210\327\216\330\!# $%\210-?\205_\331 -\207 
 [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  :\203  @\211\2...@\211\nl\210  
 a\211\202...@\307\305\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 anything-display-buffer 
 ((byte-code \300 \210\301\302!\210\303\304!\207 [anything-cleanup 
 anything-hooks cleanup anything-frame/window-configuration restore] 2)) 
 anything-read-pattern-maybe 

[Orgmode] Re: org-remember and anything

2010-06-14 Thread Thierry Volpiatto
Glauber Alex Dias Prado sma...@gmail.com writes:

 i thought i was explicity enough when i said when calling org-remember
 :), this happens after i select a template and it prompts for completion
 which is being handled by anything, that is when the backtrace happens,
 this only happens with org-mode so i thought it was more a org thing
 than anything.

I understood you were using org-remember ;-)
What i still don't know is in what org-remember envolve anything.
Anything should not be called for template completion.
The config you sent me in other mail is not clear enough.
My guess is you are using anything-complete.el somewhere and maybe
something like this in your .emacs:

,
| (anything-read-string-mode 1)
`
That's replace normal completing-read and read-file-name by the one from
anything-complete.el that are experimentals and not working everywhere.

You will find stable replacement of these functions in
anything-config.el called:
anything-comp-read
anything-c-read-file-name


So, please try to invoke anything with ONLY this config:

,
| (add-to-list 'load-path path/to/anything)
| (require 'anything-config)
`

You need only two files for this:
anything.el
anything-config.el

You can get the latest files here:
http://repo.or.cz/w/anything-config.git

And remove all personal anything configs you may have in .emacs or
somewhere else. (or use emacs -Q)

Then call org-remember and tell me if problem appear.

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/


___
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


[Orgmode] Re: org-remember and anything

2010-06-12 Thread Bernt Hansen
Glauber Alex Dias Prado sma...@gmail.com 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 must 
 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 variable)

snipped details of backtrace

   remember-mode()
   remember(nil)
   org-do-remember()
   org-remember(nil)
   call-interactively(org-remember nil nil)

I don't think there are enough details here to help.  You should provide
your org-mode and emacs versions and the remember template you are
trying to invoke.

I have no idea what 'anything' is so details of your setup for that
would be helpful as well.

Regards,
Bernt



___
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


[Orgmode] Re: org-remember and anything

2010-06-12 Thread Glauber Alex Dias Prado
Bernt Hansen be...@norang.ca writes:

 Glauber Alex Dias Prado sma...@gmail.com 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 must 
 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 variable)

 snipped details of backtrace

   remember-mode()
   remember(nil)
   org-do-remember()
   org-remember(nil)
   call-interactively(org-remember nil nil)

 I don't think there are enough details here to help.  You should provide
 your org-mode and emacs versions and the remember template you are
 trying to invoke.

It happens for the simplest template you try(any):
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.0) of
2010-05-20 on jetski
Org-mode version 6.35trans (release_6.35g.161.ga2518)


 I have no idea what 'anything' is so details of your setup for that
 would be helpful as well.
its a very simple setup(if using auto-install):
http://www.emacswiki.org/emacs/AutoInstall

after u install auto-install you can call
M-x auto-install-batch
anything RET

After that:
(require 'anything-startup)


 Regards,
 Bernt



 ___
 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

___
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


[Orgmode] Re: org-remember and anything

2010-06-12 Thread Thierry Volpiatto
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 sma...@gmail.com 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 must 
 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 variable)
   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-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-get-candidates(((match anything-exact-match anything-mp-3p-match 
 anything-mp-3-match) (search anything-exact-search anything-mp-3p-search 
 anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-get-cached-candidates(((match anything-exact-match 
 anything-mp-3p-match anything-mp-3-match) (search anything-exact-search 
 anything-mp-3p-search anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   #[nil \306\307\\306\310\\311!\306\312\\211\203\313
 \n#\202\n)\314\n\315\232\2042\316\232\203F\317!\211G\fV\203K\320\321\f#\202K\314\322\323\217\210\306\324\\211\203[\313
 $)-\207 [source it anything-pattern matches limit 
 anything-source-name assoc-default match name anything-candidate-number-limit 
 pattern-transformer anything-composed-funcall-with-source nil  (identity) 
 anything-get-cached-candidates subseq 0 (byte-code 
 \306\307!\310\f\204\311C\312!\210\313\314\215\210+\310\207 [source exit 
 cands item-count functions anything-match-hash 0 
 anything-get-cached-candidates nil #[... \302\\207 
 [anything-pattern candidate string-match] 3] clrhash --cl-block-nil-- ...] 3) 
 (...) filtered-candidate-transformer functions] 8]()
   anything-compute-matches(((match anything-exact-match anything-mp-3p-match 
 anything-mp-3-match) (search anything-exact-search anything-mp-3p-search 
 anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-process-source(((match anything-exact-match anything-mp-3p-match 
 anything-mp-3-match) (search anything-exact-search anything-mp-3p-search 
 anything-mp-3-search) (name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity) (header-line . anything-persistent-help-string)))
   anything-update()
   anything-read-pattern-maybe(#(Brief Description:  0 17 (fontified nil)) 
 nil nil noresume nil)
   byte-code(\306\211\211\307\206
 \310\311\\312\313!B\f\312\314!B\315\316\313\306\\210\317\216\320\321!\210\322!\323
  !\\210\324\325!\210\326 !\210\327\216\330\!# $%\210-?\205_\331 -\207 
 [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  :\203  @\211\2...@\211\nl\210  
 a\211\202...@\307\305\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 anything-display-buffer 
 ((byte-code \300 \210\301\302!\210\303\304!\207 [anything-cleanup 
 anything-hooks cleanup anything-frame/window-configuration restore] 2)) 
 anything-read-pattern-maybe anything-execute-selection-action-1 
 anything-restored-variables --pre-command-hook-pair --post-command-hook-pair 
 --orig-vars any-sources anything-sources any-resume any-input any-prompt 
 any-preselect any-keymap] 6)
   anythingname . Default) (default-value . ) (action . identity) 
 (accept-empty)) ((name . Completions) (candidates) (action . identity) nil 
 nil) ((name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity)) ((name . #(Brief Description:  0 17 ...)) (dummy) (action . 
 identity))) nil