all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Why should it be so hard to tell find-dired to use a different window?
Date: Fri, 21 Sep 2018 10:52:06 -0400	[thread overview]
Message-ID: <jwvva6yzyyw.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: m11s9n474p.fsf@gmail.com

> I’m surprised that it works this way?  Does this bother anybody else?

I've been in this fight for a long time, but since I don't use
find-fired, I haven't bumped into this problem.

> Like, I could imagine an alternate world where that call to
> `switch-to-buffer' could be replaced with something as heavy-handed as …
>
>    (pop-to-buffer (get-buffer-create "*Find*")  '(display-buffer-same-window
> (inhibit-same-window)))

There's pop-to-buffer-same-window.

> Is there any particular reason to keep using switch-to-buffer here?

AFAIK the only reason is history,


        Stefan




  reply	other threads:[~2018-09-21 14:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21  7:55 Why should it be so hard to tell find-dired to use a different window? Trevor Murphy
2018-09-21 14:52 ` Stefan Monnier [this message]
2018-09-22 14:25 ` Stephen Leake
  -- strict thread matches above, loose matches on Subject: below --
2018-09-23  0:20 Trevor Murphy
2018-09-29  6:40 ` Eli Zaretskii

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=jwvva6yzyyw.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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 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.