From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: [Babel] Small problem with tangling Date: Wed, 13 Oct 2010 16:15:46 +0200 Message-ID: <80mxqirxf1.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, I just tried this: --8<---------------cut here---------------start------------->8--- Creating the following =3D.reg=3D file: #+begin_src sh :tangle org-protocol-setup.reg REGEDIT4 [HKEY_CLASSES_ROOT\org-protocol] @=3D"URL:Org Protocol" "URL Protocol"=3D"" [HKEY_CLASSES_ROOT\org-protocol\shell] [HKEY_CLASSES_ROOT\org-protocol\shell\open] [HKEY_CLASSES_ROOT\org-protocol\shell\open\command] @=3D"\"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 t= he beginning of the file. Removing it cures the problem. What should I do to get rid of that first *empty* line? Best regards, Seb --=20 S=C3=A9bastien 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