From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: protecting ascii art Date: Fri, 5 Sep 2008 23:58:06 +0200 Message-ID: <9F1111EB-D944-40CB-BC39-8C515414252F@uva.nl> References: <48A5FB13.9@u.washington.edu> <48A70292.705@u.washington.edu> <41c818190808251726l117e68u61bda2e786d1efba@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbjJm-00089A-67 for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 17:58:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbjJk-00088B-BI for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 17:58:13 -0400 Received: from [199.232.76.173] (port=60378 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbjJk-000888-6T for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 17:58:12 -0400 Received: from ey-out-1920.google.com ([74.125.78.147]:63576) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbjJj-0000SN-Qa for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 17:58:12 -0400 Received: by ey-out-1920.google.com with SMTP id 4so279789eyg.24 for ; Fri, 05 Sep 2008 14:58:10 -0700 (PDT) In-Reply-To: <41c818190808251726l117e68u61bda2e786d1efba@mail.gmail.com> 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@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: William Henney Cc: Eddward DeVilla , Scott Otterson , emacs-orgmode@gnu.org On Aug 26, 2008, at 2:26 AM, William Henney wrote: > Hi Scott > > On Sat, Aug 16, 2008 at 11:38 AM, Scott Otterson > wrote: >> By the way, it would be lovely if it were possible to use emacs's =20 >> built-in >> artist-mode: >> >> http://www.cinsk.org/emacs/emacs-artist.html >> >> to draw diagrams inside of an org mode buffer. Right now, hitting =20= >> M-x >> artist-mode while already in org-mode clobbers the org file. > > What seems to work is to first set aside some lines for your artistic > creation, select them, and do "C-x n n" (narrow-to-region) before > turning on artist-mode. Then, when you have finished, turn off > artist-mode and do "C-x n w" (widen). > > This is a bit of a pain to remember the steps, but it does protect the > org file from getting clobbered. This is a very good idea that fits right into the functionality of the "C-c '" command, so I have added it there. If you now press "C-c '" in a region of lines starting with a colon, you get to edit this region in artist-mode. Also, if you press these keys in an empty line, a new drawing is created. I always wanted to have drawing in some way and even did some =20 experiments years ago - but I did not know of artist-mode. Thanks for the ideas! - Carsten P.S. I believe that also the strikethrough problem is fixed by now. > > > Cheers > > Will > > --=20 > > Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, > Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode