From: Stefan Monnier <monnier@iro.umontreal.ca>
To: mark.lillibridge@hp.com
Cc: 6248@debbugs.gnu.org
Subject: bug#6248: 23.1; justify (esc q) broken in Latex mode
Date: Mon, 24 May 2010 22:43:00 -0400 [thread overview]
Message-ID: <jwvpr0kaeje.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <qmhbpc4ltct.fsf@ts-rhel4.hpl.hp.com> (Mark Lillibridge's message of "Mon, 24 May 2010 17:26:10 -0700")
>> > Repeat the steps using instead a suffix of .tex (latex mode); this time
>> > you instead obtain the following incorrect result:
>> >
>> > This is a sample paragraph of text that is long enough that it may
>> > need to be filled. Here's a second sentence to continue the
>> > paragraph. And one more sentence for good measure.
>>
>> > Justify in latex mode worked correctly in Emacs 21, but does not work
>> > correctly in 22 or 23. Please fix.
>>
>> It's not a bug, it's a feature. The change is because Emacs-21 did not
>> offer indentation for LaTeX, whereas Emacs>=22 does.
>> To get the behavior you want, you'll want to set
>> fill-indent-according-to-mode, e.g.
>>
>> (add-hook 'latex-mode-hook
>> (lambda ()
>> (set (make-local-variable 'fill-indent-according-to-mode) nil)))
> While that workaround does work, I'm still not convinced this isn't
> a bug. Why is this broken behavior a feature?
It's a feature if you consider LaTeX as code rather than as text, so you
want the text parts of the LaTeX code to be properly indented, like
any other.
Stefan
next prev parent reply other threads:[~2010-05-25 2:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-22 17:51 bug#6248: 23.1; justify (esc q) broken in Latex mode Mark Lillibridge
2010-05-23 1:37 ` Stefan Monnier
2010-05-25 0:26 ` Mark Lillibridge
2010-05-25 2:43 ` Stefan Monnier [this message]
2010-05-27 2:46 ` Mark Lillibridge
2010-05-27 4:24 ` Stefan Monnier
2010-06-03 23:02 ` Mark Lillibridge
2010-06-04 13:41 ` Stefan Monnier
2022-01-31 17:04 ` Lars Ingebrigtsen
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=jwvpr0kaeje.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=6248@debbugs.gnu.org \
--cc=mark.lillibridge@hp.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 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.