From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#16816: 24.3.50; erroneous docstring in with-temp-buffer-window Date: Fri, 28 Feb 2014 11:58:59 +0100 Message-ID: <53106BF3.8020504@gmx.at> References: <87sire4wqw.fsf@yahoo.fr> <53074FDB.4040907@gmx.at> <530F87A7.1080009@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1393585214 25348 80.91.229.3 (28 Feb 2014 11:00:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Feb 2014 11:00:14 +0000 (UTC) Cc: Nicolas Richard , 16816@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 28 12:00:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WJLAz-0003qt-3i for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 12:00:21 +0100 Original-Received: from localhost ([::1]:50408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJLAy-0003cH-Q2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 06:00:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJLAp-0003b6-JF for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 06:00:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJLAi-0008Bf-8w for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 06:00:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJLAi-0008B7-6W for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 06:00:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WJLAh-00013I-8X for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 06:00:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2014 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16816 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16816-submit@debbugs.gnu.org id=B16816.13935851543911 (code B ref 16816); Fri, 28 Feb 2014 11:00:02 +0000 Original-Received: (at 16816) by debbugs.gnu.org; 28 Feb 2014 10:59:14 +0000 Original-Received: from localhost ([127.0.0.1]:43640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJL9t-000110-Jt for submit@debbugs.gnu.org; Fri, 28 Feb 2014 05:59:13 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:49228) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJL9q-00010m-LB for 16816@debbugs.gnu.org; Fri, 28 Feb 2014 05:59:11 -0500 Original-Received: from [62.47.57.2] ([62.47.57.2]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M0cs6-1XE32n13BW-00uoZ0; Fri, 28 Feb 2014 11:59:04 +0100 In-Reply-To: X-Provags-ID: V03:K0:tq6TyvfUDtgmVXLiA94mSg0bPclqkyM4ksU5bbl2SyHOmRB/bpX 4KyaEFyzBJXi4JhMf1GZug/7Cz+PZ4dhDo2UIZo8mb7uMStpmTFv/aCVPwi2+APif/j6znB JCGb4/0kD98tCyu7KZG4wd6IaVJyPYmM8BXaZggWg9k56w6+6jeVggd8doxew9fleV+4YHF 9faAI6FuLCxJQ5TJRTQuA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86368 Archived-At: >> This would restore what we had till now: BODY would get evaluated in the >> help buffer and not in the original buffer. I doubt this could have any >> serious consequences (Emacs 24.3 runs this already for quite some time) >> but it's inherently disturbing. > > You're right, I suppose. I reverted my previous change. It's too dangerous as the bug you reported demonstrates. > BTW, the docstring of with-help-window isn't exactly clear to me... > > Display buffer with name BUFFER-NAME in a help window evaluating BODY. > > Evaluating BODY in a help window? What does this mean? I rewrote the doc-strings of `with-temp-buffer-window' and `with-help-window'. Please have a look. martin