unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Michael Welsh Duggan <mwd@md5i.com>, 18749@debbugs.gnu.org
Subject: bug#18749: 24.3.94; CC Mode 5.32.5 (C/l); cc-mode state cache failure leading to bad indentation
Date: Sat, 18 Oct 2014 08:48:28 +0000	[thread overview]
Message-ID: <20141018084828.GA3207@acm.acm> (raw)
In-Reply-To: <jwvr3y6ij7g.fsf-monnier+emacsbugs@gnu.org>

Hi, Stefan.

On Fri, Oct 17, 2014 at 03:35:22PM -0400, Stefan Monnier wrote:
> > 1000 bytes before 46793 is 45793.  This spot is in the middle of the "##"
> > operator on L1346.  Thus the buffer is getting narrowed such that the
> > first character, ostensibly at BOL (to the Emacs regexp matcher), is "#".

> For these kinds of reasons (along with various related ones), I have
> learned to stay away from narrowing.

That would be all very well if all movement and scanning primitives
(like `scan-lists' and the things that use it) actually had limit
parameters.  They don't.  What alternative, then, is there to narrowing?

>         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).





  reply	other threads:[~2014-10-18  8:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-16 21:12 bug#18749: 24.3.94; CC Mode 5.32.5 (C/l); cc-mode state cache failure leading to bad indentation Michael Welsh Duggan
2014-10-17 18:19 ` Alan Mackenzie
2014-10-17 19:35   ` Stefan Monnier
2014-10-18  8:48     ` Alan Mackenzie [this message]
2014-10-18 19:11       ` Stefan Monnier
2014-10-17 20:12   ` Alan Mackenzie
     [not found] ` <mailman.11430.1413622526.1147.bug-gnu-emacs@gnu.org>
2015-12-24 19:41   ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141018084828.GA3207@acm.acm \
    --to=acm@muc.de \
    --cc=18749@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=mwd@md5i.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).