all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephan Stahl" <stahl@eos.franken.de>
Subject: recompile uses wrong buffer.. hint
Date: Mon, 7 Jun 2004 10:40:16 +0200 (CEST)	[thread overview]
Message-ID: <49418.217.194.34.123.1086597616.squirrel@wwws.franken.de> (raw)

Hi.

I tried to find a solution to this problem and at least found what was
causing this strange behaviour.

The function `compilation-buffer-name' tries to get a name for the
compilation buffer. There is a test:
	((and (eq major-mode 'compilation-mode)
	      (equal mode-name (nth 2 compilation-arguments)))
	 (buffer-name))
that equal will (always?) return nil because the structure of
compilation-arguments has changed in the recent compile.el rewrite.
Because of this the function will always return a default name. Maybe its
sufficient to remove that equal but i'm not sure..

-- 
Stephan Stahl

             reply	other threads:[~2004-06-07  8:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07  8:40 Stephan Stahl [this message]
2004-06-07  9:29 ` recompile uses wrong buffer.. hint Juri Linkov
2004-06-07 12:36   ` Juri Linkov
2004-06-09 19:52     ` 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

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

  git send-email \
    --in-reply-to=49418.217.194.34.123.1086597616.squirrel@wwws.franken.de \
    --to=stahl@eos.franken.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.