From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [Babel] Small problem with tangling
Date: Wed, 13 Oct 2010 16:15:46 +0200 [thread overview]
Message-ID: <80mxqirxf1.fsf@mundaneum.com> (raw)
Hello,
I just tried this:
--8<---------------cut here---------------start------------->8---
Creating the following =.reg= file:
#+begin_src sh :tangle org-protocol-setup.reg
REGEDIT4
[HKEY_CLASSES_ROOT\org-protocol]
@="URL:Org Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\org-protocol\shell]
[HKEY_CLASSES_ROOT\org-protocol\shell\open]
[HKEY_CLASSES_ROOT\org-protocol\shell\open\command]
@="\"C:\\Programme\\Emacs\\emacs\\bin\\emacsclientw.exe\" \"%1\""
#+end_src
and double-click it.
--8<---------------cut here---------------end--------------->8---
and tangled it.
But, when clicking on the reg file, it fails... saying it is not a valid reg
file.
I've found the reason to be an empty first line that's always inserted at the
beginning of the file. Removing it cures the problem.
What should I do to get rid of that first *empty* line?
Best regards,
Seb
--
Sébastien Vauban
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next reply other threads:[~2010-10-13 14:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 14:15 Sébastien Vauban [this message]
2010-10-13 15:26 ` [Babel] Small problem with tangling Eric Schulte
2010-10-14 7:37 ` Sébastien Vauban
2010-10-14 13:53 ` Eric Schulte
2010-10-14 15:01 ` Sébastien Vauban
2010-10-14 23:17 ` Eric Schulte
2010-10-15 12:40 ` Sébastien Vauban
2010-10-14 12:28 ` [Babel] Small problem with... previewing Sébastien Vauban
2010-10-14 13:53 ` Dan Davison
2010-10-14 14:15 ` Eric Schulte
2010-10-14 14:55 ` Sébastien Vauban
2010-10-14 15:04 ` Dan Davison
2010-10-14 23:03 ` Eric Schulte
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=80mxqirxf1.fsf@mundaneum.com \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/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).