emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: tangling inserts blank line at top of file [7.9.1 (release_7.9.1-401-g2bd95b @ mypath)]
@ 2012-09-30 13:29 Myles English
  2012-10-01  8:25 ` Sebastien Vauban
  0 siblings, 1 reply; 2+ messages in thread
From: Myles English @ 2012-09-30 13:29 UTC (permalink / raw)
  To: emacs-orgmode


Using git master 2bd95b6b of Fri Sep 28 10:05:20 2012, if I tangle this
with org-babel-tangle:

#+BEGIN_SRC sh :tangle file.sh
a
#+END_SRC

then file.sh would contain a blank line at the top, which I would not
have expected to be there.

Myles

Emacs  : GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.4)
 of 2012-08-28 on shaun
Package: Org-mode version 7.9.1 (release_7.9.1-401-g2bd95b @ /home/myles/.emacs.d/plugins/org-mode/lisp/)

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

* Re: Bug: tangling inserts blank line at top of file [7.9.1 (release_7.9.1-401-g2bd95b @ mypath)]
  2012-09-30 13:29 Bug: tangling inserts blank line at top of file [7.9.1 (release_7.9.1-401-g2bd95b @ mypath)] Myles English
@ 2012-10-01  8:25 ` Sebastien Vauban
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Vauban @ 2012-10-01  8:25 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Myles,

"Myles English" wrote:
> Using git master 2bd95b6b of Fri Sep 28 10:05:20 2012, if I tangle this
> with org-babel-tangle:
>
> #+BEGIN_SRC sh :tangle file.sh
> a
> #+END_SRC
>
> then file.sh would contain a blank line at the top, which I would not
> have expected to be there.

Add ":padline no" to get rid of the first blank line preceding tangled output.

Best regards,
  Seb

-- 
Sebastien Vauban

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

end of thread, other threads:[~2012-10-01  8:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-30 13:29 Bug: tangling inserts blank line at top of file [7.9.1 (release_7.9.1-401-g2bd95b @ mypath)] Myles English
2012-10-01  8:25 ` Sebastien Vauban

Code repositories for project(s) associated with this 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).