all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Nick Roberts <nickrob@snap.net.nz>, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: grep-mode should print default-directory (again)
Date: Fri, 13 Apr 2007 15:10:46 -0400	[thread overview]
Message-ID: <jwvslb4xf98.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87odlspau2.fsf@stupidchicken.com> (Chong Yidong's message of "Fri\, 13 Apr 2007 11\:12\:37 -0400")

>> AFAICS compilation-directory is just used with recompile and it gets set by
>> M-x compile (through default-directory).
>> 
>> Damn, you're right.  That means the change to set compilation-directory
>> instead of default-directory was no good.  It broke the feature.
>> 
>> I can see only two ways to fix this:
>> 
>> * Go back to setting and saving default-directory, as before, and mark
>> it safe.  (I don't find the arguments against this entirely convincing.)
>> 
>> * Make compilation-directory affect next-error, overriding
>> default-directory.

> I reverted to setting and saving default-directory.  I guess there is
> the risk isn't considerable (or at least no worse than what we had in
> Emacs 21).

Huh?  In Emacs-21, the default-directory was not set, so it didn't suffer
from any of the nasty side effects of setting it.


        Stefan

  reply	other threads:[~2007-04-13 19:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-09 12:07 grep-mode should print default-directory (again) Nick Roberts
2007-04-09 22:52 ` Richard Stallman
2007-04-09 23:53   ` Nick Roberts
2007-04-13  1:42     ` Richard Stallman
2007-04-13 13:49       ` Stefan Monnier
2007-04-13 21:43         ` Richard Stallman
2007-04-13 15:12       ` Chong Yidong
2007-04-13 19:10         ` Stefan Monnier [this message]
2007-04-13 21:54           ` Nick Roberts
2007-04-15 13:59             ` 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=jwvslb4xf98.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=nickrob@snap.net.nz \
    --cc=rms@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 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.