emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: William Henney <whenney@gmail.com>
Cc: Eddward DeVilla <eddward@gmail.com>,
	Scott Otterson <scotto@u.washington.edu>,
	emacs-orgmode@gnu.org
Subject: Re: protecting ascii art
Date: Fri, 5 Sep 2008 23:58:06 +0200	[thread overview]
Message-ID: <9F1111EB-D944-40CB-BC39-8C515414252F@uva.nl> (raw)
In-Reply-To: <41c818190808251726l117e68u61bda2e786d1efba@mail.gmail.com>


On Aug 26, 2008, at 2:26 AM, William Henney wrote:

> Hi Scott
>
> On Sat, Aug 16, 2008 at 11:38 AM, Scott Otterson
> <scotto@u.washington.edu> wrote:
>> By the way, it would be lovely if it were possible to use emacs's  
>> built-in
>> artist-mode:
>>
>>  http://www.cinsk.org/emacs/emacs-artist.html
>>
>> to draw diagrams inside of an org mode buffer.  Right now, hitting  
>> 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  
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
>
> -- 
>
> Dr William Henney, Centro de Radioastronomía y Astrofísica,
> Universidad Nacional Autónoma de México, 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

  parent reply	other threads:[~2008-09-05 21:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15 21:54 protecting ascii art Scott Otterson
2008-08-16  1:34 ` Eddward DeVilla
2008-08-16 16:38   ` Scott Otterson
2008-08-17 21:07     ` artist/mouse - was: " Sebastian Rose
2008-08-26  0:26     ` William Henney
2008-08-26  2:44       ` Scott Otterson
2008-09-05 21:58       ` Carsten Dominik [this message]
2008-09-07  2:40         ` Scott Otterson
2008-09-07  4:51           ` Carsten Dominik
2008-09-05  7:05 ` Carsten Dominik
2008-09-05 11:24   ` Carsten Dominik

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=9F1111EB-D944-40CB-BC39-8C515414252F@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=eddward@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=scotto@u.washington.edu \
    --cc=whenney@gmail.com \
    /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).