From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#16526: 24.3.50; scroll-conservatively & c-mode regression Date: Sat, 5 Jul 2014 07:47:06 +0000 Message-ID: <20140705074706.GA3045@acm.acm> References: <20140629124829.GC2948@acm.acm> <53B02042.1050107@gmx.at> <20140629144151.GD2948@acm.acm> <53B03876.9070307@gmx.at> <20140629174953.GE2948@acm.acm> <53B117D6.1050306@gmx.at> <20140702200522.GB3823@acm.acm> <20140704192902.GB3535@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1404546757 21228 80.91.229.3 (5 Jul 2014 07:52:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2014 07:52:37 +0000 (UTC) Cc: 16526-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 05 09:52:30 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X3Klp-0005ha-Ty for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Jul 2014 09:52:30 +0200 Original-Received: from localhost ([::1]:39469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3Klp-0003Ym-KR for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Jul 2014 03:52:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3Klg-0003Yb-8a for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 03:52:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3KlY-0004D6-Ok for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 03:52:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3KlO-0004Cf-Tg; Sat, 05 Jul 2014 03:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X3KlN-0004MJ-T7; Sat, 05 Jul 2014 03:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 05 Jul 2014 07:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16526 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 16526-done@debbugs.gnu.org id=D16526.140454670716730 (code D ref 16526); Sat, 05 Jul 2014 07:52:01 +0000 Original-Received: (at 16526-done) by debbugs.gnu.org; 5 Jul 2014 07:51:47 +0000 Original-Received: from localhost ([127.0.0.1]:43365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3Kl9-0004Lm-5S for submit@debbugs.gnu.org; Sat, 05 Jul 2014 03:51:47 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:29886 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3Kl6-0004Le-Nl for 16526-done@debbugs.gnu.org; Sat, 05 Jul 2014 03:51:45 -0400 Original-Received: (qmail 61533 invoked by uid 3782); 5 Jul 2014 07:51:43 -0000 Original-Received: from acm.muc.de (pD9518EAF.dip0.t-ipconnect.de [217.81.142.175]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 05 Jul 2014 09:51:40 +0200 Original-Received: (qmail 3067 invoked by uid 1000); 5 Jul 2014 07:47:06 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91202 Archived-At: Hi, Stefan. On Fri, Jul 04, 2014 at 09:52:09PM -0400, Stefan Monnier wrote: > > A long term solution may be to enhance the syntax bits of Emacs to > > recognise "syntactic islands" (e.g. C preprocessor construct, shell > > script "here documents" or literate programming chunks) somehow. > Shell script's here-documents work just fine when considered > as comments. Literate programming also works well when considering the > non-code as comments. > Maybe the same would hold of CPP thingies. Except that the "commented out" bits have their own syntactic structure. Ideally, a shell script here document as argument to awk ought to be parsed in AWK Mode. The non-code bits of literate programming are also likely to have their own structure. CPP sections are handled as C/C++/ObjC, but the complication caused by keeping them separate from the main code are considerable. > Stefan -- Alan Mackenzie (Nuremberg, Germany).