From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18589: Why is the the longlines package obsolete? Date: Tue, 30 Sep 2014 21:33:04 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1412127264 13054 80.91.229.3 (1 Oct 2014 01:34:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2014 01:34:24 +0000 (UTC) Cc: 18589@debbugs.gnu.org To: bruce.connor.am@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 01 03:34:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZ8o5-0000sx-O2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2014 03:34:17 +0200 Original-Received: from localhost ([::1]:47379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ8o5-0007MU-6Z for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Sep 2014 21:34:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ8nw-0007MB-SF for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2014 21:34:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZ8nq-0003n8-U1 for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2014 21:34:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ8nq-0003n1-Qw for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2014 21:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZ8nq-000638-DP for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2014 21:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Oct 2014 01:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18589 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 18589-submit@debbugs.gnu.org id=B18589.141212719323184 (code B ref 18589); Wed, 01 Oct 2014 01:34:02 +0000 Original-Received: (at 18589) by debbugs.gnu.org; 1 Oct 2014 01:33:13 +0000 Original-Received: from localhost ([127.0.0.1]:56777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZ8n2-00061r-8j for submit@debbugs.gnu.org; Tue, 30 Sep 2014 21:33:12 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:13339) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZ8mv-00061e-De for 18589@debbugs.gnu.org; Tue, 30 Sep 2014 21:33:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtgGAIDvNVNFxKjo/2dsb2JhbABZgwY7gw+/H4EegRcXdIIlAQEBAQIBViMFCws0EhQYDYgoCA3SDBeOegcWhCIElGMFlDGBaoNMIQ X-IPAS-Result: AtgGAIDvNVNFxKjo/2dsb2JhbABZgwY7gw+/H4EegRcXdIIlAQEBAQIBViMFCws0EhQYDYgoCA3SDBeOegcWhCIElGMFlDGBaoNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="91347224" Original-Received: from 69-196-168-232.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Sep 2014 21:33:04 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1298A7CD1; Tue, 30 Sep 2014 21:33:04 -0400 (EDT) In-Reply-To: (bruce connor am's message of "Wed, 1 Oct 2014 00:40:09 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93946 Archived-At: > In my case, I managed to make longlines-mode wrap text while not wrapping > equations (LaTeX-mode). It would be interesting to extend visual-lines-mode so you can prevent wrapping of some lines (or prevent wrapping at particular places, as is done with fill-nobreak-functions). > I also got it to indent wrapped lines correctly. 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). > I understand this is a very specific hack, and doesn't justify unobsoleting > the package. But for the record, the code can be found here. > http://endlessparentheses.com/longlines-mode-in-latex.html 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? Stefan PS: BTW, I don't understand why people want to use single-line-paragraphs for "LaTeX under version control". It means that any change to a paragraph will always appear in the diff as a change to the whole paragraph, rather than just to the specific line on which the change happened. Of course, refilling a paragraph may cause the whole paragraph to show up in the diff, but as long as you only refill when you make changes, it's never worse than the "single-line paragraphs" approach. And `diff-refine-hunk' lets you see which part of the paragraph was really changed.