From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#8368: 24.0.50; "temp" means "help" - rename or at least document Date: Sun, 29 Apr 2012 08:28:04 -0700 Message-ID: <2F5D2C7A2A6D44A3B25C5891EFEF7DF0@us.oracle.com> References: <4F9BA96C.8070005@gmx.at> <4573CB93BA8F47DD922007A8C8CF3EB3@us.oracle.com> <4F9D1AB8.5090302@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1335713404 30964 80.91.229.3 (29 Apr 2012 15:30:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2012 15:30:04 +0000 (UTC) Cc: 'Lars Magne Ingebrigtsen' , 8368@debbugs.gnu.org, rms@gnu.org To: "'martin rudalics'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 29 17:30:02 2012 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 1SOW4T-0006D3-HE for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Apr 2012 17:29:57 +0200 Original-Received: from localhost ([::1]:45483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOW4S-0005x9-Td for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Apr 2012 11:29:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOW4P-0005wu-Q4 for bug-gnu-emacs@gnu.org; Sun, 29 Apr 2012 11:29:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOW4O-00078O-1I for bug-gnu-emacs@gnu.org; Sun, 29 Apr 2012 11:29:53 -0400 Original-Received: from [140.186.70.43] (port=56856 helo=debbugs.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOW4N-00076s-UA for bug-gnu-emacs@gnu.org; Sun, 29 Apr 2012 11:29:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SOW5V-0001Qu-PN for bug-gnu-emacs@gnu.org; Sun, 29 Apr 2012 11:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Apr 2012 15:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8368 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8368-submit@debbugs.gnu.org id=B8368.13357134045421 (code B ref 8368); Sun, 29 Apr 2012 15:31:01 +0000 Original-Received: (at 8368) by debbugs.gnu.org; 29 Apr 2012 15:30:04 +0000 Original-Received: from localhost ([127.0.0.1]:57890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOW4Z-0001PN-4x for submit@debbugs.gnu.org; Sun, 29 Apr 2012 11:30:03 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:30748) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOW4E-0001O7-IP for 8368@debbugs.gnu.org; Sun, 29 Apr 2012 11:30:01 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q3TFSG3Z012720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 29 Apr 2012 15:28:17 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q3TFSFd8022121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Apr 2012 15:28:16 GMT Original-Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q3TFSFrq014611; Sun, 29 Apr 2012 10:28:15 -0500 Original-Received: from dradamslap1 (/10.159.176.150) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 29 Apr 2012 08:28:15 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4F9D1AB8.5090302@gmx.at> Thread-Index: Ac0l9JcLTCdBSd+ZSUCeoEbNE1bmRQAJ14BA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:59624 Archived-At: > You don't have to remove and re-add any hooks. It's > sufficient to turn off help mode in the body of > `with-output-to-temp-buffer'. Similarly, > if you don't want to run `completion-list-mode-finish', turn off > `completion-list-mode' in the buffer. Sufficient? That sounds like more work, not less. Why turn help mode etc. on automatically and then turn it off again. Why not just remove the hook so it does not get turned on? I'm probably missing something in what you're suggesting. > > Probably we will need to leave the original name for the > > current behavior, but if it could be aliased to something > > with "help" in the name, and then the original name deprecated, > > that would be better. (I think that's part of what > > you suggest.) And create a new name for the > > temp-without-the-help-stuff case. > > Basically, `with-output-to-temp-buffer' is a misnomer. The > buffer is not necessarily temporary, hence > `with-output-temporarily-bound-to-buffer' > would be a better name for this. True, but I don't really have a problem with that. "Temporary" can mean different things depending on the use to which this is put. A buffer that I display showing some information might be considered temporary if the user is likely to throw it away soon after seeing the info. At another extreme, a temporary buffer might be one that a program uses without ever displaying and kills when done. > In addition, it displays the buffer in > some window and this is not reflected in the name. True again. This point is more important, IMO, than the "temporary" point. It would be good for the name to indicate that the buffer is shown to the user.