emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Millar via Emacs-orgmode <emacs-orgmode@gnu.org>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Bug header argumednt :file does not produce a file or a link to the file
Date: Thu, 22 Aug 2019 21:47:58 -0400	[thread overview]
Message-ID: <6d1c9dbe-d0ec-7b7b-0ef9-1aaef1d430d0@verizon.net> (raw)

Org mode version 9.2.5 (release_9.2.5-494-g4848b8 @ 
/usr/local/share/org-mode/lisp/)
GNU Emacs 27.0.50 (build 59, x86_64-pc-linux-gnu, GTK+ Version 3.24.10) 
of 2019-08-22

ECM

#+begin_src sh :file test.rec
cat << EOF
# -*- mode: rec -*-

%rec: somerecord

Account: something
Amount: 0.00

#### end of file
EOF

#+end_src

I expect that when I execute the above code block that

	1. An external file test.rec is produced with contents

	# -*- mode: rec -*-

	%rec: somerecord

	Account: something
	Amount: 0.00

	#### end of file

  and

	2. A link to that file is placed below the source code block

Instead all I get is a table and no external file is created

#+RESULTS:
| #     |   -*- | mode: | rec | -*- |
| %rec: | somerecord | | | |
| Account: | sometyhing | | | |
| Amount: | 0.0 | | | |
| #### | end | of | file | |

I reported this earlier but my subject line was not correct.

Charlie Millar

             reply	other threads:[~2019-08-23  1:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-23  1:47 Charles Millar via Emacs-orgmode [this message]
2019-08-23  8:15 ` Bug header argumednt :file does not produce a file or a link to the file Nicolas Goaziou
2019-08-23 13:37   ` Charles Millar via Emacs-orgmode
2019-08-23 21:43     ` Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2019-08-24 14:02 Charles Millar via Emacs-orgmode

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6d1c9dbe-d0ec-7b7b-0ef9-1aaef1d430d0@verizon.net \
    --to=emacs-orgmode@gnu.org \
    --cc=millarc@verizon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).