From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#11298: Scratch buffer (Summary of Xah's proposals, as I see it) Date: Wed, 25 Apr 2012 14:33:55 +0200 Message-ID: <4F97EF33.4090309@swipnet.se> References: <81397xm657.fsf@gmail.com> <81397tiao3.fsf@gmail.com> <4F96B5F3.5010304@swipnet.se> <81vckp9jue.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1335372761 3877 80.91.229.3 (25 Apr 2012 16:52:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2012 16:52:41 +0000 (UTC) Cc: 11298@debbugs.gnu.org To: Jambunathan K Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 25 18:52:40 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 1SN5SK-00021l-0P for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Apr 2012 18:52:40 +0200 Original-Received: from localhost ([::1]:34544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN305-0001vN-8G for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Apr 2012 10:15:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN2yG-0006bW-Pl for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 10:15:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN2xW-0000AB-71 for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 10:13:28 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN2xV-00008v-6N for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 10:12:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SN1Ry-0006Xm-Dc for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 08:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan D." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Apr 2012 12:36: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.133535732625113 (code B ref 11298); Wed, 25 Apr 2012 12:36:02 +0000 Original-Received: (at 11298) by debbugs.gnu.org; 25 Apr 2012 12:35:26 +0000 Original-Received: from localhost ([127.0.0.1]:51554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SN1RN-0006Wn-A6 for submit@debbugs.gnu.org; Wed, 25 Apr 2012 08:35:26 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:35229) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SN1R9-0006W1-Ot for 11298@debbugs.gnu.org; Wed, 25 Apr 2012 08:35:13 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id E20E692B8 for <11298@debbugs.gnu.org>; Wed, 25 Apr 2012 14:33:57 +0200 (CEST) Original-Received: (qmail 22350 invoked by uid 89); 25 Apr 2012 12:30:18 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 25 Apr 2012 12:30:18 -0000 Original-Received: from [10.225.40.70] (unknown [193.45.43.33]) by coolsville.localdomain (Postfix) with ESMTPSA id 3B2977FA06C; Wed, 25 Apr 2012 14:33:57 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 In-Reply-To: <81vckp9jue.fsf@gmail.com> 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:59485 Archived-At: Jambunathan K skrev 2012-04-24 18:26: > "Jan D." writes: >> >> 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? Well, an empty file will be filled with something, be it Java, C, C++, Javascript, XML, SQL, Lisp or whatever. I seldom create empty files for random notes. > > 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? Even Eclipse and Netbeans have the ability to specify file type when starting a new file. It sounds to me that what you really want is "Visit New Unknown File" or something like it. Jan D.