all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: fill-paragraph
Date: Wed, 28 Oct 2009 17:10:21 +0100	[thread overview]
Message-ID: <87my3b5wk2.fsf@fh-trier.de> (raw)
In-Reply-To: xbaihbtjipmw.fsf@cam.ac.uk

Leo <sdl.web@gmail.com> writes:

> Hi all,
>
> I use AUCTeX for editing LaTeX files. I use tikz/pgf for drawing
> graphics in TeX. In tikz, each drawing command ends with a `;', for
> example:
>
> \begin{tikzpicture}
>   \draw (0,0) -- (1,1);
>   \draw (1,1) -- (2,2);
> \end{tikzpicture}
>
> How can I configure Emacs (possibly by changing paragraph-separate or
> paragraph-start) so that M-q (M-x fill-paragraph) does not join those
> tikz drawing command.
>
> At the moment if I M-q in the above code it will change to:
>

Then don't do it.

> \begin{tikzpicture}
>   \draw (0,0) -- (1,1); \draw (1,1) -- (2,2);
> \end{tikzpicture}
>
> Thank you.
>
> Leo

Seriously, if you add "tikzpicture" to LaTeX-indent-environment-list

(add-to-list 'LaTeX-indent-environment-list '("tikzpicture"))

it'll leave the code unfilled.

-ap





  reply	other threads:[~2009-10-28 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 14:01 fill-paragraph Leo
2009-10-28 16:10 ` Andreas Politz [this message]
2009-10-28 23:08   ` fill-paragraph Leo
  -- strict thread matches above, loose matches on Subject: below --
2007-07-12  3:55 fill-paragraph Scott Otterson
2007-07-12 19:28 ` fill-paragraph 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87my3b5wk2.fsf@fh-trier.de \
    --to=politza@fh-trier.de \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.