From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: install org-element, org-db Date: Fri, 28 Aug 2015 14:21:03 -0400 Message-ID: <87io7zw9yo.fsf@alphaville.usersys.redhat.com> References: <87wpwf4bul.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVOHI-00078Z-Fy for emacs-orgmode@gnu.org; Fri, 28 Aug 2015 14:21:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVOHA-0008SE-MV for emacs-orgmode@gnu.org; Fri, 28 Aug 2015 14:21:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:42746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVOHA-0008S8-FV for emacs-orgmode@gnu.org; Fri, 28 Aug 2015 14:21:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZVOH3-0001Cs-R5 for emacs-orgmode@gnu.org; Fri, 28 Aug 2015 20:21:14 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Aug 2015 20:21:13 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Aug 2015 20:21:13 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Lawrence Bottorff writes: > Yes, I got confused when I did M-x org-element-interpret-data and got nothing. I used it in a code block > and it worked fine. Beginner question for sure: Why do these functions not work as M-x commands, rather, > just in elisp code? > It's the difference between "commands" and functions. Commands are functions that contain an (interactive) form and can be executed with M-x RET. Functions need to be evaluated with M-: ( ...) RET. See the "command" entry in (info "(elisp) What is a function") and references therein. I should say that the above is not quite accurate but it captures 99% of what you need to know. Read the references for the whole story. > BTW, how would I run org-element-interpret-data and have it just place the output directly into my > buffer without placing it in the #+RESULTS: output format? I see I can customize the #+RESULTS: word > itself, and, of course, :results raw almost gets it, but still puts the #+RESULTS: label at the top. > M-: (org-element-interpret-data) RET would evaluate the function, but any results would go to the echo area, not your buffer. Adding a prefix argument would do what you want: C-u M-: (org-element-interpret-data) RET > On Fri, Aug 28, 2015 at 4:27 PM, Rasmus wrote: > > Lawrence Bottorff writes: > > > What's the best way to install latest org-element and org-db? They're not > > default, are they? They're not in ELPA. > > Don't know what org-db is.  Re org-element you should probably use the one > that comes with your org-package.  IOW, you general org version and your > org-element version should be in sync. > > Hope it helps, > Rasmus > > -- > Tack, ni svenska vakttorn. Med plutonium tvingar vi dansken på knä! Nick