all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rodolfo Medina <rodolfo.medina@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Indent region in LaTeX mode
Date: Wed, 26 Aug 2009 10:42:36 +0100	[thread overview]
Message-ID: <87hbvuhpwz.fsf_-_@gmail.com> (raw)
In-Reply-To: 87eir0yf4i.fsf@gmail.com

Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> Lennart Borgman <lennart.borgman@gmail.com> writes:
>
>> On Tue, Aug 25, 2009 at 12:13 AM, Rodolfo
>> Medina<rodolfo.medina@gmail.com> wrote:
>>> On Mon, Aug 24 Rodolfo Medina<rodolfo.medina@gmail.com> wrote:
>>>
>>>>> Thanks, but that's the same as `C-u 10 C-x TAB' or `C-M-\': each line of
>>>>> the region is indented separately, but not the region all together, as in
>>>>> my example.
>>
>>
>> Can't you just indent first and then fill? Or doesn't that work for
>> you? (What version of Emacs are you using?)
>
>
> Yes, it does, but not in LaTeX mode: that's why it didn't work for me: I was
> in LaTeX mode.  So, this seems to be an issue for AUCTeX mailing list.


It seems that from AUCTeX ml no help could come about that issue, so I'm coming
back to the present list in the hope that some elisp expert can suggest a
proper code in order to achieve what I want.

I resume the problem: I want a certain paragraph to be indented and filled,
like this:

\item{1)} The old lady pulled her spectacles down and looked over them about
          the room; then she put them up and looked out under them. She seldom
          or never looked through them for so small a thing as a boy; they were
          her state pair, the pride of her heart, and were built for "style,"
          not service -- she could have seen through a pair of stove-lids just

.  I get this easily in text mode with `C-u 10 C-x TAB' and then `M-q'.
Instead, in LaTeX mode, `M-q' does not fill the region.  I don't know why it
works fine in text mode but not in LaTeX mode.

Can anyone suggest a proper code to make those above commands work _also_ under
LaTeX mode?

The issue looks important to me because, just in LaTeX, mode, you can often use
such \item environments.

Thanks for any help
Rodolfo


  reply	other threads:[~2009-08-26  9:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-24 14:55 Indent region Rodolfo Medina
2009-08-24 15:02 ` Peter Brett
2009-08-24 15:16 ` Alan
2009-08-24 16:40 ` B. T. Raven
2009-08-24 18:22   ` Rodolfo Medina
2009-08-24 20:35     ` Lennart Borgman
2009-08-24 21:15     ` B. T. Raven
2009-08-24 22:28       ` Rodolfo Medina
2009-08-25  2:04         ` B. T. Raven
     [not found]     ` <mailman.5270.1251146161.2239.help-gnu-emacs@gnu.org>
2009-08-24 22:13       ` Rodolfo Medina
2009-08-24 21:51         ` Lennart Borgman
     [not found]         ` <mailman.5272.1251150746.2239.help-gnu-emacs@gnu.org>
2009-08-24 23:19           ` Rodolfo Medina
2009-08-26  9:42             ` Rodolfo Medina [this message]
2009-08-26 11:24               ` Indent region in LaTeX mode Peter Dyballa
     [not found]               ` <mailman.5415.1251285889.2239.help-gnu-emacs@gnu.org>
2009-08-26 13:23                 ` Rodolfo Medina
2009-08-26 12:54                   ` Peter Dyballa
     [not found]                   ` <mailman.5423.1251291261.2239.help-gnu-emacs@gnu.org>
2009-08-26 14:17                     ` Rodolfo Medina
2009-08-26 14:23                       ` Peter Dyballa
2009-08-26 17:52                       ` B. T. Raven
2009-08-27  9:00                       ` Peter Dyballa
     [not found]                       ` <mailman.5507.1251363817.2239.help-gnu-emacs@gnu.org>
2009-08-27 11:58                         ` Rodolfo Medina
2009-08-26 17:10               ` Ralf Angeli

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=87hbvuhpwz.fsf_-_@gmail.com \
    --to=rodolfo.medina@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.