From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: require-hard-newlines to use newline Date: Mon, 7 Mar 2005 18:05:20 -0600 (CST) Message-ID: <200503080005.j2805Kg28696@raven.dms.auburn.edu> References: <1483.220.255.172.231.1109730379.squirrel@www.stupidchicken.com> <200503020302.j2232fR21722@raven.dms.auburn.edu> <2750.220.255.172.231.1109734015.squirrel@www.stupidchicken.com> <1415.220.255.169.59.1109818150.squirrel@www.stupidchicken.com> <1404.220.255.169.59.1109889146.squirrel@www.stupidchicken.com> <200503040033.j240XD022473@raven.dms.auburn.edu> <50554.203.116.59.23.1109897782.squirrel@www.stupidchicken.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1110240507 1998 80.91.229.2 (8 Mar 2005 00:08:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2005 00:08:27 +0000 (UTC) Cc: cyd@stupidchicken.com, snogglethorpe@gmail.com, emacs-devel@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 08 01:08:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8SGd-0006Q4-IY for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2005 01:08:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8SaV-0007Fv-0T for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2005 19:28:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8SZS-0006mQ-2P for emacs-devel@gnu.org; Mon, 07 Mar 2005 19:27:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8SZO-0006kp-6e for emacs-devel@gnu.org; Mon, 07 Mar 2005 19:27:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8SZM-0006iK-R7 for emacs-devel@gnu.org; Mon, 07 Mar 2005 19:27:28 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D8SE8-0006bi-Bo; Mon, 07 Mar 2005 19:05:33 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j2805M9N020563; Mon, 7 Mar 2005 18:05:23 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j2805Kg28696; Mon, 7 Mar 2005 18:05:20 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Fri, 04 Mar 2005 18:46:13 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34295 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34295 Richard Stallman wrote: BTW, longlines.el seems to be fairly widely used; is there a reason it hasn't been added to the Emacs distribution? It would be useful for a few experienced Emacs developers to look it over and make suggestions. I am not really the best person to make suggestions. It would be better if longtime users did. Here are some remarks. I do not know what the version is that would be included. I dowmloaded 2.2.7 from: //www.emacswiki.org/elisp/index.html After putting (load "~/longlines.elc") in my .emacs, I had to edit longlines.el and put: (defvar longlines-mode nil) at the beginning to avoid a warnings buffer cropping up each time I started Emacs, warning about the free variable `longlines-mode'. Just (defvar longlines-mode) was _not_ sufficient. If I understood correctly, we do not like code included with the Emacs distribution to use `defadvice'. longlines.el uses defadvice for `newline', `kill-region', `copy-region-as-kill', `yank' and `yank-pop'. Sincerely, Luc.