Re: [O] two basic elisp questions

2016-07-29 Thread Matt Price
On Sat, Jul 23, 2016 at 1:24 AM, Michael Welle wrote: > Hello, > > Matt Price writes: > > > On Fri, Jul 22, 2016 at 1:54 PM, Michael Welle > wrote: > > > >> Hello, > >> > >> Matt Price writes: > >> > >> > On Fri, Jul 22, 2016 at 11:38 AM, Matt Price > wrote: > >> > > >> >> > >> >> (2) Is it p

Re: [O] two basic elisp questions

2016-07-22 Thread Matt Price
On Fri, Jul 22, 2016 at 1:54 PM, Michael Welle wrote: > Hello, > > Matt Price writes: > > > On Fri, Jul 22, 2016 at 11:38 AM, Matt Price wrote: > > > >> > >> (2) Is it possible to set the default value for interactive file > selection > >> to something OTHER than the currect directory of the cu

Re: [O] two basic elisp questions

2016-07-22 Thread Matt Price
On Fri, Jul 22, 2016 at 11:38 AM, Matt Price wrote: > > (2) Is it possible to set the default value for interactive file selection > to something OTHER than the currect directory of the current buffer? > Something like: > > (let > ((base-dir "./Assignment1/")) > (org-attach--attach)) > > I'd

[O] two basic elisp questions

2016-07-22 Thread Matt Price
(1) can I interactively call an e lisp function like "org-set-property" and provide a single argument to it even if it expects 2, e.g.: (call-interactively 'org-set-protertyt (vector "GRADE" ))? (I don't seem to be able to pass ANY arguments via call-interactively so maybe I misunderstand something