From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: Longlines mode in menu Date: Thu, 12 Jun 2008 11:48:44 +0100 Message-ID: References: <87wsl41lq0.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v924) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213267774 21064 80.91.229.12 (12 Jun 2008 10:49:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2008 10:49:34 +0000 (UTC) Cc: "Kim F. Storm" , Emacs-Devel devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 12 12:50:17 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K6kNh-0007K2-9q for ged-emacs-devel@m.gmane.org; Thu, 12 Jun 2008 12:50:13 +0200 Original-Received: from localhost ([127.0.0.1]:54633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6kMs-0003on-KY for ged-emacs-devel@m.gmane.org; Thu, 12 Jun 2008 06:49:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6kMY-0003nb-J2 for emacs-devel@gnu.org; Thu, 12 Jun 2008 06:49:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6kMT-0003lY-Q4 for emacs-devel@gnu.org; Thu, 12 Jun 2008 06:49:02 -0400 Original-Received: from [199.232.76.173] (port=48670 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6kMT-0003lA-K0 for emacs-devel@gnu.org; Thu, 12 Jun 2008 06:48:57 -0400 Original-Received: from wr-out-0506.google.com ([64.233.184.234]:20092) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6kMT-0001sn-Cr for emacs-devel@gnu.org; Thu, 12 Jun 2008 06:48:57 -0400 Original-Received: by wr-out-0506.google.com with SMTP id c30so2022613wra.14 for ; Thu, 12 Jun 2008 03:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=LzWbw6XcyzAqUP6OL9a6AojZHc1pjzrpjoKjckUYRJ8=; b=BkuOzyuGPV8s3aqZRdWtHUXBcxP5aWhjuQ39ye4lDp6Vv6IMZT5TFubu1nzc0FnX71 9h4y43gJYuoBHeXXHJYPzGnVPd5xYiGBfBe6d6euAeZBkikny/1YG5C+m5/t3kzNIWEf eiYwq1Fqq7JHXI7VbFwXlTTgW9unmw8FcFQMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=Var4sSmSKVtR1PFbfpkwYYjjLqR+53vR1VoWAeKp9wZ1A6N3yobmEXw3t9SDwyvWBs XLj9srvzTdqL8V6RwJYfDsHW0dyFIL0pS8CUEX0Ca5Fztlaer7CTo4w7tFjq7u923GFL TzQ6de2Edx6lMsxr9WauxGFlalyxPkCvTAOk0= Original-Received: by 10.90.97.20 with SMTP id u20mr447556agb.84.1213267736525; Thu, 12 Jun 2008 03:48:56 -0700 (PDT) Original-Received: from scarlett.lan ( [93.96.127.15]) by mx.google.com with ESMTPS id 43sm1424828wri.27.2008.06.12.03.48.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Jun 2008 03:48:48 -0700 (PDT) In-Reply-To: <87wsl41lq0.fsf@stupidchicken.com> X-Mailer: Apple Mail (2.924) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:99001 Archived-At: On 5 Jun 2008, at 06:42, Chong Yidong wrote: > Someone just suggested to me that Longlines mode should have an > entry in > the Options menu of the menu-bar. This seems reasonable to me: new > users are likely to come across situations where Longlines mode is > necessary, but not know of its existence. Windows notepad has had > such > an item in its menu for a while. Are you aware that syntax hightlighting is broken with longlines mode? Any (line-based) comments, e.g. in LaTeX, will make it fail. When you comment out formulae in LaTeX and they get wrapped in middle, parsing fails with consequences for the remainder of the buffer. E.g.,: % \begin{quote} % $P_e(N_i|C_j)$ is empirically defined as $F(N_i \& C_j)/F(C_j)$, % where $F(N_i \& C_j)$ is the number of times $i$ is needed It seems that syntax highlighting does not know about soft and hard line breaks. Are there any news on the display-time word wrapping patch by Kim Storm? Back then when he posted the first incarnation, things almost worked as intended.