From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Patch: Syntax and Hard Newlines Date: Sun, 19 Nov 2006 12:11:39 +0100 Message-ID: <45603BEB.6050006@gmx.at> References: <455F19FC.6@gmx.at> <87wt5svkz1.fsf@catnip.gol.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163934700 566 80.91.229.2 (19 Nov 2006 11:11:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2006 11:11:40 +0000 (UTC) Cc: Herbert Euler , emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 19 12:11:37 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GlkaE-00013S-4K for ged-emacs-devel@m.gmane.org; Sun, 19 Nov 2006 12:11:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlkaD-0004Pz-EK for ged-emacs-devel@m.gmane.org; Sun, 19 Nov 2006 06:11:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GlkZx-0004PN-D0 for emacs-devel@gnu.org; Sun, 19 Nov 2006 06:11:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GlkZt-0004Nj-AH for emacs-devel@gnu.org; Sun, 19 Nov 2006 06:11:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlkZs-0004NZ-Ui for emacs-devel@gnu.org; Sun, 19 Nov 2006 06:11:13 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1GlkZs-0002Di-FU for emacs-devel@gnu.org; Sun, 19 Nov 2006 06:11:12 -0500 Original-Received: (qmail invoked by alias); 19 Nov 2006 11:11:10 -0000 Original-Received: from N838P014.adsl.highway.telekom.at (EHLO [62.47.48.174]) [62.47.48.174] by mail.gmx.net (mp004) with SMTP; 19 Nov 2006 12:11:10 +0100 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: Miles Bader In-Reply-To: <87wt5svkz1.fsf@catnip.gol.com> X-Y-GMX-Trusted: 0 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:62460 Archived-At: > That way lies madness... ... yet there is method in 't. I nearly spent an hour analyzing longlines-mode and writing my proposal. Please spend a few minutes on the following questions: - longlines-mode substitutes newlines for spaces. This means that any function based on scan_newline (like `goto-line') may get me results that are inconsistent with those of tools analyzing the file my buffer visits. How can I treat compiler or grep output with longlines-mode? - Matching against the regexp "." may get me different results for the same buffer with longlines-mode disabled and enabled. Ignore that? - longlines-mode may wrap a regexp like "[ \t]*" at the space character. How can I evaluate a wrapped regexp like that? - How can I avoid that longlines-mode wraps a Lisp or Perl expression at a space preceding a left paren (with the left paren ending up at bol and messing up `beginning-of-defun-raw' and thus font-locking)? - How can I avoid that longlines-mode wraps a C string and `c-font-lock-invalid-string' complains? - I put an arbitrary text property on a space character. longlines-mode wraps the line at that character. How can I restore that property when turning off longlines-mode? - I use two windows of different widths to simultaneously show one and the same buffer. How can I adapt longlines-mode to wrap at the right borders of my windows?