From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11298: 24.0.95; (WISH) Re-look scratch buffers Date: Mon, 23 Apr 2012 15:39:27 -0400 Message-ID: References: <81397xm657.fsf@gmail.com> <81r4vgq07a.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335210038 17973 80.91.229.3 (23 Apr 2012 19:40:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2012 19:40:38 +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 Mon Apr 23 21:40:37 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 1SMP7k-0007nC-OR for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Apr 2012 21:40:36 +0200 Original-Received: from localhost ([::1]:33623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMP7k-0006il-5M for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Apr 2012 15:40:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMP7V-00065q-Su for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 15:40:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMP7U-0002A9-3r for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 15:40:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMP7U-00029M-0H for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 15:40:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SMP8A-0002w3-1d for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 15:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Apr 2012 19:41:01 +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.133521001511226 (code B ref 11298); Mon, 23 Apr 2012 19:41:01 +0000 Original-Received: (at 11298) by debbugs.gnu.org; 23 Apr 2012 19:40:15 +0000 Original-Received: from localhost ([127.0.0.1]:49431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMP7O-0002uz-An for submit@debbugs.gnu.org; Mon, 23 Apr 2012 15:40:15 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:51087) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMP7M-0002us-AG for 11298@debbugs.gnu.org; Mon, 23 Apr 2012 15:40:13 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q3NJdSLX006356; Mon, 23 Apr 2012 15:39:28 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 47CAEB4018; Mon, 23 Apr 2012 15:39:28 -0400 (EDT) In-Reply-To: <81r4vgq07a.fsf@gmail.com> (Jambunathan K.'s message of "Sun, 22 Apr 2012 02:20:01 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4201=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4201> : streams <749522> : uri <1102769> 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:59416 Archived-At: >>> 1. Allow multiple scratch buffers one for each mode the user is >>> interested in. >> We do not disallow that, so could you be more specific in what you mean >> by that? > Instead of creating one scratch buffer, make changes such a way that N > scratch buffers are created. N = 0, 1, 2, 3 etc etc. You mean start up Emacs with several scratch buffers? Hmm, now that's an unexpected request: most people don't even know what to do with the single *scratch* buffer. I'd rather move towards eliminating *scratch* (after all, we have the splash screen to replace it nowadays). >>> C-u C-x b can offer to create *scratch-%s* (or %s-scratch) in >>> %s-mode. >> Interesting idea. It might not even need a C-u: we could simply make >> C-x b query the user for a major-mode when the buffer doesn't exist yet >> (and we could try and take a hint from the buffer name to guess a good >> default: e.g. looking for a major-mode name in the buffer name, or >> matching the buffer name against auto-mode-alist). > Whatever is chosen, this prompt "No buffer matching whatever, create one > (y/n)?" should be removed. This is annoying. This is the fault of `ido'. The normal C-x b just asks for an extra RET to confirm you do want to create a new buffer (under the control of confirm-nonexistent-file-or-buffer). Stefan