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#16651: 24.3.50; desktop saves temporary buffers Date: Wed, 5 Feb 2014 09:05:21 -0800 (PST) Message-ID: <693f56c8-302d-4459-82bc-460fe65295c6@default> References: <87eh3ing77.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1391619986 15849 80.91.229.3 (5 Feb 2014 17:06:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2014 17:06:26 +0000 (UTC) To: Juri Linkov , 16651@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 05 18:06:29 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 1WB5vd-00005T-OG for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 18:06:25 +0100 Original-Received: from localhost ([::1]:60410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB5vd-0001ji-7v for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 12:06:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB5vP-0001Ry-Ib for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:06:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WB5vH-0005rZ-09 for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:06:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB5vG-0005rT-T7 for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WB5vG-0002LZ-3Y for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Feb 2014 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16651 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16651-submit@debbugs.gnu.org id=B16651.13916199298972 (code B ref 16651); Wed, 05 Feb 2014 17:06:02 +0000 Original-Received: (at 16651) by debbugs.gnu.org; 5 Feb 2014 17:05:29 +0000 Original-Received: from localhost ([127.0.0.1]:51116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WB5uj-0002Kd-0b for submit@debbugs.gnu.org; Wed, 05 Feb 2014 12:05:29 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:33654) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WB5ue-0002KQ-QF for 16651@debbugs.gnu.org; Wed, 05 Feb 2014 12:05:25 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s15H5NBK013639 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Feb 2014 17:05:23 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s15H5Mg0001621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Feb 2014 17:05:22 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s15H5LhS006610; Wed, 5 Feb 2014 17:05:21 GMT In-Reply-To: <87eh3ing77.fsf@mail.jurta.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] 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:84637 Archived-At: > With the desktop mode enabled and `C-h S info-lookup-symbol RET' > info-look.el creates a temporary buffer with the name " temp-info- > look" > that is saved to the desktop because this buffer is in Info mode > saved by `Info-desktop-buffer-misc-data'. >=20 > I see two possible solutions: skip saving all buffers with the > leading space in the buffer name, or if this problem is Info > specific > then fix it in `Info-desktop-buffer-misc-data' to return nil for > Info buffers with the leading space in the buffer name. I'm not following this thread - please excuse any ignorance wrt this topic. If the question of whether to save buffers whose name begins with a space is being posed then why not leave that up to the user, by providing an option to decide it? Or if you think that users might want even more control, saving some but not all such buffers, maybe: * By default, exclude such buffers (and perhaps other kinds of "insignificant" buffers or buffers that are difficult to re-create or whatever). * Provide an option that users can use to specify particular buffers or a regexp matching buffers that should not be excluded. I'm guessing that it can be hard for Emacs to guess just what users will need/want in this regard, and so it is better to define a reasonable default behavior but also give users a way to override that.