From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: how about a find-library-other-window command? Date: Thu, 21 Jun 2007 21:51:49 -0400 Message-ID: References: <87bqfb7grk.fsf@jurta.org> <87abuuhg52.fsf@jurta.org> <87lkeebpha.fsf@jurta.org> <18042.19357.517899.64196@gargle.gargle.HOWL> <874pl1vaym.fsf@kfs-lx.testafd.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1182477223 15026 80.91.229.12 (22 Jun 2007 01:53:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2007 01:53:43 +0000 (UTC) Cc: juri@jurta.org, dmhouse@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, schwab@suse.de To: storm@cua.dk (Kim F. Storm) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 22 03:53:41 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I1YLE-00085a-MB for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 03:53:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1YLE-0000Za-Bi for ged-emacs-devel@m.gmane.org; Thu, 21 Jun 2007 21:53:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1YJT-000868-Ri for emacs-devel@gnu.org; Thu, 21 Jun 2007 21:51:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1YJT-00085i-Fw for emacs-devel@gnu.org; Thu, 21 Jun 2007 21:51:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1YJS-00085T-UT for emacs-devel@gnu.org; Thu, 21 Jun 2007 21:51:50 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I1YJS-0007zH-K6 for emacs-devel@gnu.org; Thu, 21 Jun 2007 21:51:50 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1I1YJR-0001Nr-Gj; Thu, 21 Jun 2007 21:51:49 -0400 In-reply-to: <874pl1vaym.fsf@kfs-lx.testafd.dk> (storm@cua.dk) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73578 Archived-At: Now, if switch-to-buffer looked at the keys used to invoke the current command, it could DTRT if command invoked with a C-x 4 or C-x 5 prefix vs. a plain C-x prefix. That would work, but it doesn't seem very clean. If we want to have the same command do both jobs (same window and other window), I'd rather have `interactive' set up an argument to tell it which one to do. However, I think it is cleaner to continue to have different commands for the same-window and other-window cases. In other words, I think the cleanest approach for this is the one we are now using, and that it is best not to change this at all.