GNU bug report logs - #4288
[PATCH] Emacs CVS: lisp/longlines.el -- Add turn-on-* and off functions

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Sat, 29 Aug 2009 19:50:04 UTC

Severity: wishlist

Tags: patch, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jari Aalto <jari.aalto <at> cante.net>
Subject: bug#4288: closed (Re: bug#4288: [PATCH] Emacs CVS:
 lisp/longlines.el -- Add turn-on-* and off functions)
Date: Mon, 19 Sep 2011 23:55:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#4288: [PATCH] Emacs CVS: lisp/longlines.el -- Add turn-on-* and off functions

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 4288 <at> debbugs.gnu.org.

-- 
4288: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4288
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 4288-done <at> debbugs.gnu.org
Subject: Re: bug#4288: [PATCH] Emacs CVS: lisp/longlines.el -- Add turn-on-*
	and off functions
Date: Mon, 19 Sep 2011 19:49:38 -0400
I don't see a point in keeping open this report open, which was marked
wontfix a few years ago.

Stefan Monnier wrote:

> longlines-mode is on the way out, so there's no point adding such
> things now.  Furthermore, I don't like the turn-on-* and turn-off-*
> functions: we have already the *-mode functions which should be plenty.

[Message part 3 (message/rfc822, inline)]
From: Jari Aalto <jari.aalto <at> cante.net>
To: Emacs bug BTS <submit <at> debbugs.gnu.org>
Subject: [PATCH] Emacs CVS: lisp/longlines.el -- Add turn-on-* and off functions
Date: Sat, 29 Aug 2009 22:43:41 +0300
[Message part 4 (text/plain, inline)]
Patch is against Emacs CVS as of 2009-08-29 22:42 UTC

2009-08-29  Jari Aalto  <jari.aalto <at> cante.net>

        * longlines.el (turn-on-longlines-mode): New function.
        (turn-off-longlines-mode): New function.

[0001-lisp-longlines.el-turn-on-off-longlines-mode-New-fun.patch (text/x-diff, inline)]
From f7d3f7485349e7081bd1717f7fda260b850301ea Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto <at> cante.net>
Date: Sat, 29 Aug 2009 22:40:09 +0300
Subject: [PATCH] lisp/longlines.el: (turn-{on,off}-longlines-mode): New functions


Signed-off-by: Jari Aalto <jari.aalto <at> cante.net>
---
 lisp/longlines.el |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/lisp/longlines.el b/lisp/longlines.el
index 9ef0638..fab7aee 100644
--- a/lisp/longlines.el
+++ b/lisp/longlines.el
@@ -94,6 +94,18 @@ This is used when `longlines-show-hard-newlines' is on."
 (defvar message-indent-citation-function)
 
 ;;;###autoload
+(defun turn-on-longlines-mode ()
+  "Turn on Long Lines mode."
+  (interactive)
+  (longlines-mode 1))
+
+;;;###autoload
+(defun turn-off-longlines-mode ()
+  "Turn off Long Lines mode."
+  (interactive)
+  (longlines-mode 1))
+
+;;;###autoload
 (define-minor-mode longlines-mode
   "Toggle Long Lines mode.
 In Long Lines mode, long lines are wrapped if they extend beyond
-- 
1.6.3.3


This bug report was last modified 13 years and 249 days ago.

Previous Next


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