From: Brad Howes <howes@ll.mit.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Undesired point moves while compiling
Date: Wed, 2 Nov 2005 12:55:59 -0500 [thread overview]
Message-ID: <103F76AF-DD6C-45E2-B871-8FF18F282DEC@ll.mit.edu> (raw)
In-Reply-To: <87k6fr8t80.fsf@jurta.org>
> There is special code in this function that uses beginning-of-line to
> move point in the source buffer during fontification. But I don't
> know
> is this intentional or not. Or maybe `save-excursion' is missing
> around `save-restriction'?
Excellent suggestion! Inserting a `save-excursion' between the
`with-current-buffer' and `save-restriction' (line 710) in the routine
`compilation-internal-error-properties' fixed my problem. Thanks!
Brad
next prev parent reply other threads:[~2005-11-02 17:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-02 4:26 Undesired point moves while compiling Brad Howes
2005-11-02 6:22 ` Juri Linkov
2005-11-02 17:55 ` Brad Howes [this message]
2005-11-05 9:47 ` Juri Linkov
2005-11-05 23:43 ` Richard M. Stallman
2005-11-06 4:02 ` Miles Bader
2005-11-07 15:34 ` Richard M. Stallman
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=103F76AF-DD6C-45E2-B871-8FF18F282DEC@ll.mit.edu \
--to=howes@ll.mit.edu \
--cc=emacs-devel@gnu.org \
/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).