all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Thu, 27 May 2010 00:24:11 -0400	[thread overview]
Message-ID: <jwv8w76569e.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <qmhvdaam58n.fsf@ts-rhel4.hpl.hp.com> (Mark Lillibridge's message of "Wed, 26 May 2010 19:46:16 -0700")

>     I tend to view latex as text with intermixed code so I see this
> differently.  I can see an argument for why text inside of a specific
> environment might need to be indented specially, I don't see why that
> would apply to top-level text outside of any environment.

So you're saying that filling should not use indentation when filling
top-level text and that would solve your use case?

Hmm... I see some problems with that:
- your original message reported that the whole paragraph was indented
  (apparently by 4 spaces), so either that paragraph was not "outside
  of any environment" or there is something I don't understand.
- that would introduce unexpected difference between otherwise similar
  circumstances (top-level or not-top-level text).

>     I suspect we're going to agree to disagree on this one; feel free to
> close this bug.

Yes, I don't think we can satisfy everyone without someone having to do
some extra configuration to express his preference (which is what
fill-indent-according-to-mode is for).

But I could offer another "way out", based on your example text: the
indentation code could potentially be modified to try and recognize
paragraph-beginnings and indent them by some extra N spaces, so as to
look like:

         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.

I personally wouldn't like it, so it would still need to be controlled
by some configuration variable.  And I'm not sure it could be made
reliable enough.


        Stefan





  reply	other threads:[~2010-05-27  4:24 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
2010-05-27  2:46       ` Mark Lillibridge
2010-05-27  4:24         ` Stefan Monnier [this message]
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=jwv8w76569e.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.