From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#11298: Scratch buffer (Summary of Xah's proposals, as I see it) Date: Tue, 24 Apr 2012 21:56:49 +0530 Message-ID: <81vckp9jue.fsf@gmail.com> References: <81397xm657.fsf@gmail.com> <81397tiao3.fsf@gmail.com> <4F96B5F3.5010304@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335284915 26426 80.91.229.3 (24 Apr 2012 16:28:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2012 16:28:35 +0000 (UTC) Cc: 11298@debbugs.gnu.org To: "Jan D." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 18:28:33 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 1SMibM-0007Jr-PQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 18:28:28 +0200 Original-Received: from localhost ([::1]:33105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMibL-0001R2-QH for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 12:28:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMibE-0001Q5-0a for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 12:28:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMib8-0007Xw-OO for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 12:28:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMib8-0007Xq-IS for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 12:28:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SMibu-0001Wy-4q for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 12:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Apr 2012 16:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11298 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11298-submit@debbugs.gnu.org id=B11298.13352848825797 (code B ref 11298); Tue, 24 Apr 2012 16:29:02 +0000 Original-Received: (at 11298) by debbugs.gnu.org; 24 Apr 2012 16:28:02 +0000 Original-Received: from localhost ([127.0.0.1]:50973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMiav-0001VN-6V for submit@debbugs.gnu.org; Tue, 24 Apr 2012 12:28:01 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:52588) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMiat-0001VC-LR for 11298@debbugs.gnu.org; Tue, 24 Apr 2012 12:28:00 -0400 Original-Received: by pbbrp16 with SMTP id rp16so256961pbb.3 for <11298@debbugs.gnu.org>; Tue, 24 Apr 2012 09:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=JfLeQkKwaMrLaMAd/xibYr8Um6URZfWEoILXiTxYSjQ=; b=u6M0if+hX0dpLvgSVK8icmvS8veI+uxXhTzvojjzJEpPZSu8WXBnDqEyfgupIYuVA0 LEMZbyvvO8R4gxQMKAnT5/Fp2biQteswZvtv+NoJkAppMSqV0B7POTw95QIsNSsmsTHE GO4/aP6+V5JB0YQs/3/eXQ1Z49HYhR9Da5Kng27hqwEGdaZmaGymjGf60ut1tILyx+ea GS+qGNxONBHF6crVIj2GsAx1bFzbI7s4gzs+cyqehpYfbnhbufp8/1fxH6ubrDF48C4q tV5NSmO/8PZhrQSb1FjZHdXJI5PrKDHc0FkgzOOw4G6lS7JCTbtvQk6qOHNke88HRbbv 50Pg== Original-Received: by 10.68.202.234 with SMTP id kl10mr4910335pbc.52.1335284824636; Tue, 24 Apr 2012 09:27:04 -0700 (PDT) Original-Received: from JAMBU-NETBOOK ([115.241.87.44]) by mx.google.com with ESMTPS id h10sm17792440pbh.69.2012.04.24.09.27.00 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 09:27:03 -0700 (PDT) In-Reply-To: <4F96B5F3.5010304@swipnet.se> (Jan D.'s message of "Tue, 24 Apr 2012 16:17:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (windows-nt) 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:59451 Archived-At: "Jan D." writes: > Jambunathan K skrev 2012-04-24 14:20: >> >> Let me rephrase ideas in Xah's post - >> http://lists.gnu.org/archive/html/help-gnu-emacs/2012-04/msg00260.html. >> >> The recommendations involve, >> >> 1. "Menu->File->Visit New File" should be changed to "File->New". This >> will create an 'Untitled N' buffer. This will mark the buffer as >> `potentially-file-visiting'. Specifically it will not ask for the >> name of the file. >> >> 2. Introduce "File->Save as" will mark a `potentially-file-visiting' >> buffer as a `real-file-visiting-buffer'. >> >> 3. `potentially-file-visiting-buffer' should be queried for save on >> exit. >> > > Giving a file name at 1. allows Emacs to set major mode. If there is > just "Untitled N", the user would have to manually set major mode for > all new files. This is not userfriendly. Does it matter what mode an empty or almost empty file is in? If a user wants to exploit facilities offered by a major mode he has to do a File->Save as. May be Emacs can query for the modes in which a buffer has to be opened?