* bug#4288: [PATCH] Emacs CVS: lisp/longlines.el -- Add turn-on-* and off functions
@ 2009-08-29 19:43 Jari Aalto
[not found] ` <jwvd46e9udm.fsf-monnier+emacsbugreports@gnu.org>
0 siblings, 1 reply; 3+ messages in thread
From: Jari Aalto @ 2009-08-29 19:43 UTC (permalink / raw)
To: Emacs bug BTS
[-- Attachment #1: Type: text/plain, Size: 217 bytes --]
Patch is against Emacs CVS as of 2009-08-29 22:42 UTC
2009-08-29 Jari Aalto <jari.aalto@cante.net>
* longlines.el (turn-on-longlines-mode): New function.
(turn-off-longlines-mode): New function.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-longlines.el-turn-on-off-longlines-mode-New-fun.patch --]
[-- Type: text/x-diff, Size: 1031 bytes --]
From f7d3f7485349e7081bd1717f7fda260b850301ea Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@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@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Processed: Re: bug#4288: [PATCH] Emacs CVS: lisp/longlines.el -- Add turn-on-* and off functions
[not found] ` <jwvd46e9udm.fsf-monnier+emacsbugreports@gnu.org>
@ 2009-08-29 21:40 ` Emacs bug Tracking System
2011-09-19 23:49 ` Glenn Morris
1 sibling, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2009-08-29 21:40 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Emacs Bugs
Processing commands for control@emacsbugs.donarmstrong.com:
> tag 4288 wontfix
Bug #4288 [emacs] [PATCH] Emacs CVS: lisp/longlines.el -- Add turn-on-* and off functions
Added tag(s) wontfix.
> thanks
Stopping processing here.
Please contact me if you need assistance.
Don Armstrong
(administrator, Emacs bugs database)
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#4288: [PATCH] Emacs CVS: lisp/longlines.el -- Add turn-on-* and off functions
[not found] ` <jwvd46e9udm.fsf-monnier+emacsbugreports@gnu.org>
2009-08-29 21:40 ` Processed: " Emacs bug Tracking System
@ 2011-09-19 23:49 ` Glenn Morris
1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2011-09-19 23:49 UTC (permalink / raw)
To: 4288-done
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-19 23:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-29 19:43 bug#4288: [PATCH] Emacs CVS: lisp/longlines.el -- Add turn-on-* and off functions Jari Aalto
[not found] ` <jwvd46e9udm.fsf-monnier+emacsbugreports@gnu.org>
2009-08-29 21:40 ` Processed: " Emacs bug Tracking System
2011-09-19 23:49 ` Glenn Morris
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).