unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: 11298@debbugs.gnu.org
Subject: bug#11298: Scratch buffer (Summary of Xah's proposals, as I see it)
Date: Wed, 25 Apr 2012 14:33:55 +0200	[thread overview]
Message-ID: <4F97EF33.4090309@swipnet.se> (raw)
In-Reply-To: <81vckp9jue.fsf@gmail.com>

Jambunathan K skrev 2012-04-24 18:26:
> "Jan D."<jan.h.d@swipnet.se>  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.






  reply	other threads:[~2012-04-25 12:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-21 15:55 bug#11298: 24.0.95; (WISH) Re-look scratch buffers Jambunathan K
2012-04-21 19:53 ` Stefan Monnier
2012-04-21 20:50   ` Jambunathan K
2012-04-22 14:11     ` Richard Stallman
2012-04-24 10:21       ` Jambunathan K
2012-04-23 19:39     ` Stefan Monnier
2012-04-23 20:09       ` Lennart Borgman
2012-04-23 20:11       ` Drew Adams
2012-04-24  1:39         ` Stefan Monnier
2012-04-24 13:42           ` Drew Adams
2012-04-24 10:57 ` bug#11298: Recipe to surface *code-conversion-work* buffer Jambunathan K
2012-04-24 11:39   ` martin rudalics
2012-04-24 12:54     ` Jambunathan K
2012-04-24 12:20 ` bug#11298: Scratch buffer (Summary of Xah's proposals, as I see it) Jambunathan K
2012-04-24 12:31   ` Jambunathan K
2012-04-24 13:48   ` martin rudalics
2012-04-24 16:33     ` Jambunathan K
2012-04-24 14:17   ` Jan D.
2012-04-24 16:26     ` Jambunathan K
2012-04-25 12:33       ` Jan D. [this message]
2012-04-24 18:42   ` Stefan Monnier
2013-11-15  5:06 ` bug#11298: 24.0.95; (WISH) Re-look scratch buffers Jambunathan K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F97EF33.4090309@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=11298@debbugs.gnu.org \
    --cc=kjambunathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).