unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: bruce.connor.am@gmail.com
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 18589@debbugs.gnu.org
Subject: bug#18589: Why is the the longlines package obsolete?
Date: Wed, 1 Oct 2014 09:01:18 +0100	[thread overview]
Message-ID: <CAAdUY-+JyLG6QMLXjJBiYe_AQN6zgrMJVuZMHc_f7jhMEC6HpA@mail.gmail.com> (raw)
In-Reply-To: <jwvfvf8zirr.fsf-monnier+emacsbugs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]

>
> It would be interesting to extend visual-lines-mode so you can prevent
> wrapping of some lines
>
If I understand things correctly, visual-line-mode only wraps lines when
they’re longer than the window-width (or window-width - margins), so making
it not wrap some lines would only cause them to extend beyond the window’s
boundaries.

> adaptive-wrap-mode is another approach at indenting wrapped lines
> correctly (but for visual-lines-mode).  I don't guarantee it works well
> for LaTeX, tho (I don't think it uses the indent-according-to-mode code,
> but rather uses the adaptive-fill-mode code).
>
Thanks, under a few initial tests, it does seem to fix the indentation!

> I wouldn't mind de-obsoleting it.  If you're interested, I think it
> would be nice to change longlines.el by adding some hooks to it so you
> can cleanly make it work like you do (without overwriting its functions).
> Feel like taking over maintainership?
>
Sure, I could take over. What would that involve?

> PS: BTW, I don't understand why people want to use
> single-line-paragraphs for "LaTeX under version control".
>
Me neither, and I agree with everything you said here. The approach I’m
taking is with sentences.

If you give each sentence its own line then, when you change a sentence,
the rest of the paragraph doesn’t show up on the diff.

Best Regards,
Artur Malabarba

[-- Attachment #2: Type: text/html, Size: 2109 bytes --]

  reply	other threads:[~2014-10-01  8:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-30  9:57 bug#18589: Why is the the longlines package obsolete? bruce.connor.am
2014-09-30 15:54 ` Glenn Morris
2014-09-30 16:18   ` bruce.connor.am
2014-09-30 18:19 ` Stefan Monnier
2014-09-30 23:40   ` bruce.connor.am
2014-10-01  1:33     ` Stefan Monnier
2014-10-01  8:01       ` bruce.connor.am [this message]
2014-10-01 20:39   ` Glenn Morris
2022-07-02 15:33   ` bug#51051: Restore longlines.el to non-obsolete status 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAAdUY-+JyLG6QMLXjJBiYe_AQN6zgrMJVuZMHc_f7jhMEC6HpA@mail.gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=18589@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).