From mboxrd@z Thu Jan 1 00:00:00 1970 From: hymie! Subject: export code with backslashes Date: Mon, 16 Mar 2015 15:47:09 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXXEt-0000Yz-Ui for emacs-orgmode@gnu.org; Mon, 16 Mar 2015 11:47:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXXEp-0004Po-RY for emacs-orgmode@gnu.org; Mon, 16 Mar 2015 11:47:35 -0400 Received: from plane.gmane.org ([80.91.229.3]:34519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXXEp-0004Mt-Kb for emacs-orgmode@gnu.org; Mon, 16 Mar 2015 11:47:31 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YXXEn-0001Uv-CX for emacs-orgmode@gnu.org; Mon, 16 Mar 2015 16:47:29 +0100 Received: from 128.183.234.14 ([128.183.234.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Mar 2015 16:47:29 +0100 Received: from hymie by 128.183.234.14 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Mar 2015 16:47:29 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Greetings. I'm only asking this question because it seems that Orgmode can do anything, although I admit that what I'm asking for is probably outside the normal scope. I have snips of code in my org files, denoted as ~code~. I prefer ~code~ to BEGIN_SRC blocks, because I don't like the big grey text boxes in my exported documents. Sometimes my code is very long and includes long lists of options and arguments and such; for example: ~useradd -U -G wheel -p '$6$wcMRrkcdGeNHLT5b$password0ISmGZSsILOyV/WJnpassword//' accountname~ This is all one line. Then I use C-c C-e t A to "export" this into an ascii buffer, the sole reason being to remove the tilde characters and provide me an easy cut-n-paste option. I end up with this: useradd -U -G wheel -p '$6$wcMRrkcdGeNHLT5b$password0ISmGZSsILOyV/WJnpassword//' accountname I would really really really like it if, in addition to the newlines that are added, a backslash could be added as well. "Hey, this is a line enclosed in tildes. I'm going to add line-breaks. Each line-break except for the one at the end needs a backslash" useradd -U -G wheel -p \ '$6$wcMRrkcdGeNHLT5b$password0ISmGZSsILOyV/WJnpassword//' \ accountname Is such a thing possible? --hymie!