emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* two basic elisp questions
@ 2016-07-22 15:38 Matt Price
  2016-07-22 16:13 ` Matt Price
  2016-07-22 17:27 ` Michael Welle
  0 siblings, 2 replies; 7+ messages in thread
From: Matt Price @ 2016-07-22 15:38 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

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

(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 like to set different base directories when attaching files to subtrees
of different first-level trees in a buffer. I guess I would set the value
for the base directory with a property.

thanks!
Matt

[-- Attachment #2: Type: text/html, Size: 938 bytes --]

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

end of thread, other threads:[~2016-07-29 14:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22 15:38 two basic elisp questions Matt Price
2016-07-22 16:13 ` Matt Price
2016-07-22 17:54   ` Michael Welle
2016-07-23  2:27     ` Matt Price
2016-07-23  5:24       ` Michael Welle
2016-07-29 14:15         ` Matt Price
2016-07-22 17:27 ` Michael Welle

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