From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: xraysmalevich@gmail.com Newsgroups: gmane.emacs.help Subject: Re: How to get rid of *GNU Emacs* buffer on start-up? Date: Fri, 19 Sep 2008 06:08:47 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <873ajzwoqu.fsf@kobe.laptop> <823901dd-c54c-4e3b-b6ad-512d52724a46@z11g2000prl.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1221831746 29071 80.91.229.12 (19 Sep 2008 13:42:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Sep 2008 13:42:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 19 15:43:20 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KggGE-00020E-E0 for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Sep 2008 15:43:02 +0200 Original-Received: from localhost ([127.0.0.1]:52968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KggFC-0001rF-Dt for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Sep 2008 09:41:58 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!q26g2000prq.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 77 Original-NNTP-Posting-Host: 209.183.178.159 Original-X-Trace: posting.google.com 1221829728 29045 127.0.0.1 (19 Sep 2008 13:08:48 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 19 Sep 2008 13:08:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q26g2000prq.googlegroups.com; posting-host=209.183.178.159; posting-account=GWRmcQoAAAByQPzrR7mhf5cbvIm17KAJ User-Agent: G2/1.0 X-HTTP-Via: 1.1 PROXY1 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:162448 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57793 Archived-At: Emacs provides a user level function to create a new buffer. C-x b, and enter a name of a non-existing buffer. Not once is there a prompt for a file-name. I find this useful as I create tens of buffers a day, holding chunks of files I'm twiddling with, notes from phone calls, lists of file names, etc. I don't want to save them to disk, but I sure as heck need to give that buffer a name so I can find it back amongst all the other things I have. And if I close it without saving, Emacs prompts me gently -- it doesn't demand a filename, it asks if I want to save it. And only then, if I say yes, does it prompt for a filename. How polite. I grew up with a "scratch-pad" next to the telephone (yeah, kids, it had a dial), and sometimes we'd get home-made scratch-pads for Christmas. What fun! On Sep 19, 7:34=C2=A0am, Xah Lee wrote: > On Sep 19, 1:53 am, Eli Zaretskii wrote: > > > > From: Xah Lee > > > Date: Thu, 18 Sep 2008 16:50:50 -0700 (PDT) > > > > =C2=A0 =C2=A0* Emacs does not provide a user level function to create= a new > > > buffer. It has =E2=80=9COpen New file...=E2=80=9D, which actually cre= ates a empty file > > > and immediately prompt user for a file name. This is annoying. > > > This is incorrect. =C2=A0No file is created on disk until you actually = save > > the buffer. =C2=A0Until then, only a buffer is created. > > Ok, my original phrasing is a bit off. Please focus on the main ideas. > > Here's a better phrasing: > > =E2=80=A2 Emacs does not provide a user level function to create a new bu= ffer. > It has =E2=80=9COpen file...=E2=80=9D (a wrapper to the find-file command= ), which > immediately prompt user for a full file path. This is annoying. Modern > apps's New File command actually just create a new untitled file > without prompting, and only when user save it it prompt a file name. > If user closes it, it prompts for saving. > > In newsgroup discussion, people tend to nick pick details and often > give no acknowledgement even if they agree in general. So, if a > criticism or idea X is posted in the thread's original post, often > there will be several responses that nick pick details that are non- > critical to the main idea. So, often, the thread becomes large and > derailed and little critical discussion. > > > > I propose that emacs should also add a menu command =E2=80=9CNew buff= er=E2=80=9D, with > > > the keyboard shortcut =E2=80=9CCtrl+n=E2=80=9D. Once called, it shoul= d create a > > > scratch buffer titled =E2=80=9Cuntitled=E2=80=9D. If one already exis= ts, append > > > numbers such =E2=80=9Cuntitled 2=E2=80=9D. > > > If I ever want a Notepad, I'd just launch that. =C2=A0I don't need Emac= s to > > emulate it. > > The issue here is not about whether one Eli Zaretskii wants Microsoft > Notepad (assuming it is Microsoft Notepad you are talking about). > Perhaps you are using the term =E2=80=9CNotepad=E2=80=9D as a general con= cept. In that > case, emacs's *scratch* buffer is also a notepad. So, i don't know > what u mean except perhaps you are just fooling around. > > =C2=A0 Xah > =E2=88=91http://xahlee.org/ > > =E2=98=84