GNU bug report logs - #18589
Why is the the longlines package obsolete?

Previous Next

Package: emacs;

Reported by: bruce.connor.am <at> gmail.com

Date: Tue, 30 Sep 2014 09:59:01 UTC

Severity: wishlist

Merged with 51051

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: bruce.connor.am <at> gmail.com
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 18589 <at> debbugs.gnu.org
Subject: bug#18589: Why is the the longlines package obsolete?
Date: Wed, 1 Oct 2014 09:01:18 +0100
[Message part 1 (text/plain, inline)]
>
> 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
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.