all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: fill-paragraph
Date: Wed, 28 Oct 2009 14:01:27 +0000	[thread overview]
Message-ID: <xbaihbtjipmw.fsf@cam.ac.uk> (raw)

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:

\begin{tikzpicture}
  \draw (0,0) -- (1,1); \draw (1,1) -- (2,2);
\end{tikzpicture}

Thank you.

Leo





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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 14:01 Leo [this message]
2009-10-28 16:10 ` fill-paragraph Andreas Politz
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=xbaihbtjipmw.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --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.