unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Abrahams <dave@boost-consulting.com>
Subject: "Recent" changes to compilation-mode?
Date: Sun, 22 May 2005 07:37:06 -0400	[thread overview]
Message-ID: <ull67mqzh.fsf@boost-consulting.com> (raw)


Sometime in the past year or so compilation-mode started acting very
strangely for me with a CVS-built emacs.  First, if I use next-error
while compilation is still going on, I will often, after a moment or
two, see the point jump unpredictably in the file it takes me to.

Second, next-error used to cause the error in question to scroll to
the top of the *compilation* buffer's window, which made it very easy
to see what was going on.  Now emacs just moves that buffer's point
without scrolling.  Since the active point ends up in the source
file's buffer where the error is, all I see change in the
*compilation* buffer is that an unfilled rectangle with super-thin
borders moves.  It's extremely hard to see; if the window isn't going
to scroll, IMO something else needs to be done (e.g. with
highlighting) to emphasize the error in question.

Finally, many of my carefully-constructed error regexps seem no longer
to be recognized.  I had been doing:

  (require 'compile)

  (setq compilation-error-regexp-alist
        (append
         '(...regexps...)
         compilation-error-regexp-alist))

   (if (fboundp 'compilation-file-regexp-alist) ; in case of XEmacs,
                                                ; which doesn't support
                                                ; 'compilation-file-regexp-alist
    (setq compilation-file-regexp-alist
      (append
       '(... regexps ...)
           compilation-file-regexp-alist)))

I note that now there appears to be a two-layer scheme with
compilation-error-regexp-alist-alist that renders my old settings
invalid.  I can adjust what I'm doing, but discovering what to do was
a struggle.  Is there a way to provide a better transition experience
for people who upgrade?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

             reply	other threads:[~2005-05-22 11:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-22 11:37 David Abrahams [this message]
2005-05-22 21:44 ` "Recent" changes to compilation-mode? Nick Roberts
2005-05-23 13:25   ` David Abrahams
2005-05-25 16:55     ` Juri Linkov
     [not found] ` <E1DcDnj-0000PS-Ml@fencepost.gnu.org>
2005-06-01 16:54   ` David Abrahams
2005-06-03  8:02     ` Richard Stallman
     [not found]   ` <uhdgi10hu.fsf@boost-consulting.com>
     [not found]     ` <E1DdjNA-0005OT-Sv@fencepost.gnu.org>
2005-06-02 12:15       ` David Abrahams
2005-06-03 10:33         ` Richard 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=ull67mqzh.fsf@boost-consulting.com \
    --to=dave@boost-consulting.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).