Re: [O] Babel add comma in front of my '*'
Daniel Dehennin daniel.dehen...@baby-gnu.org writes: Hello, I tryed to babelize an iptables-save file and file to restore it. Babel put a comma in front of my '*', in the following, the '*mangle' became ',*mangle': #+begin_src text # Generated by iptables-save v1.4.4 on Wed Feb 15 10:16:05 2012 ,*mangle :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] COMMIT #+end_src Regards. Yes, Org-mode does the above to protect the rest of the file from the possible Org-mode syntax in the code block. However if you then use this text (e.g., through tangling or reference from another code block) the comma will be automatically removed, so it shouldn't cause you any problems. Best, -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] Babel add comma in front of my '*'
Eric Schulte eric.schu...@gmx.com writes: [...] Yes, Org-mode does the above to protect the rest of the file from the possible Org-mode syntax in the code block. However if you then use this text (e.g., through tangling or reference from another code block) the comma will be automatically removed, so it shouldn't cause you any problems. What about removing it during org-edit-special? My use is to org-edit-special the block, and use that overlay by cutpast and so on. Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1 pgpeb8wKTRyZE.pgp Description: PGP signature
Re: [O] Babel add comma in front of my '*'
Daniel Dehennin daniel.dehen...@baby-gnu.org writes: Eric Schulte eric.schu...@gmx.com writes: [...] Yes, Org-mode does the above to protect the rest of the file from the possible Org-mode syntax in the code block. However if you then use this text (e.g., through tangling or reference from another code block) the comma will be automatically removed, so it shouldn't cause you any problems. What about removing it during org-edit-special? My use is to org-edit-special the block, and use that overlay by cutpast and so on. Regards. I've just pushed up a fix so that commas will be stripped when org-edit-special is used. Best, -- Eric Schulte http://cs.unm.edu/~eschulte/