emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [babel] Output table


From: Sebastien Vauban
Subject: [O] [babel] Output table
Date: Mon, 02 Dec 2013 17:16:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Hello,

I'm trying to generate R graphs from lines found in the *Messages* buffer with
the following code of mine:

#+begin_src emacs-lisp :results output table
  (setq txt nil)
  (with-current-buffer "*Messages*"
    (goto-char (point-min))
    (while (re-search-forward
            "^Retrieving newsgroup: \\(.+\\)"
            nil t)
      (setq txt (concat txt (format "%s" (match-string 1)) "\n"))
      (princ txt)))
#+end_src

However, the results is always an example block, NEVER in an Org _table_ -- and
I don't understand why. Does anybody?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]