From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: A plea for sanity from a frustrated hacker. Date: Sat, 09 Jun 2007 23:29:29 -0400 Message-ID: References: <20070609174130.GA3419@muc.de> <20070609202051.GA2399@muc.de> <87k5uc3fxk.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181446184 18738 80.91.229.12 (10 Jun 2007 03:29:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Jun 2007 03:29:44 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 10 05:29: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 1HxE7V-0007E2-A6 for ged-emacs-devel@m.gmane.org; Sun, 10 Jun 2007 05:29:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxE7U-0000R4-M5 for ged-emacs-devel@m.gmane.org; Sat, 09 Jun 2007 23:29:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HxE7R-0000Qx-8n for emacs-devel@gnu.org; Sat, 09 Jun 2007 23:29:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HxE7P-0000Qd-Ld for emacs-devel@gnu.org; Sat, 09 Jun 2007 23:29:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxE7P-0000Qa-Eg for emacs-devel@gnu.org; Sat, 09 Jun 2007 23:29:31 -0400 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HxE7P-00040W-1y for emacs-devel@gnu.org; Sat, 09 Jun 2007 23:29:31 -0400 Original-Received: from pastel.home ([70.55.146.35]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070610032929.PZA875.tomts22-srv.bellnexxia.net@pastel.home> for ; Sat, 9 Jun 2007 23:29:29 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AE3F480DD; Sat, 9 Jun 2007 23:29:29 -0400 (EDT) In-Reply-To: <87k5uc3fxk.fsf@jurta.org> (Juri Linkov's message of "Sun\, 10 Jun 2007 01\:45\:43 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:72559 Archived-At: > BTW, I have another frustration with this function. I like to view > the Help buffer and visit source code from it in the *same* window. > The former is achieved by > (add-hook 'same-window-regexps "\\*Help\\*\\(\\|<[0-9]+>\\)") > But the latter is impossible since as can be seen in code above > `help-function-def' calls the function `pop-to-buffer' which displays > the source code buffer in a different window. For what it's worth, I'd hate the behavior you like. So I don't think the code is wrong because the behavior should not be determined by the code but by user preferences. I.e. the problem is that the behavior of pop-to-buffer is not yet configurable enough. Stefan