From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Regexps and hard newlines Date: Fri, 01 Jul 2005 18:45:22 -0400 Message-ID: References: <858y0r7z9i.fsf@lola.goethe.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1120258165 29394 80.91.229.2 (1 Jul 2005 22:49:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2005 22:49:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 02 00:49:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DoUJZ-0002Mx-Tr for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2005 00:48:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DoUS7-0005bJ-8S for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2005 18:57:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DoUQr-0005E8-4e for emacs-devel@gnu.org; Fri, 01 Jul 2005 18:56:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DoUQh-00056s-C8 for emacs-devel@gnu.org; Fri, 01 Jul 2005 18:56:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DoUQf-00051e-Ua for emacs-devel@gnu.org; Fri, 01 Jul 2005 18:56:13 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoUNB-0007h0-Ob for emacs-devel@gnu.org; Fri, 01 Jul 2005 18:52:37 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DoUGA-0002G4-45; Fri, 01 Jul 2005 18:45:22 -0400 Original-To: David Kastrup In-reply-to: <858y0r7z9i.fsf@lola.goethe.zz> (message from David Kastrup on Fri, 01 Jul 2005 09:37:29 +0200) 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 Xref: news.gmane.org gmane.emacs.devel:40056 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40056 I think that a soft newline, most particularly so in the context of longlines.el, should pretty much be a space with a display property of newline on it, so search and replace would not even see it as anything but space. That could be too drastic--I don't think that commands that normally operate on lines should ignore soft newlines. C-a and C-e now have special commands to implement them, but there is also C-k, C-x C-t, and probably many more. The change I suggested, affecting only `,' in regexps, might also be too drastic. That's why I am asking to see if people can think of problems it could cause.