From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Scratch buffer annoyance Date: Sat, 21 Jul 2007 11:52:53 -0700 Message-ID: References: <87odi539t0.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1185044096 19776 80.91.229.12 (21 Jul 2007 18:54:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Jul 2007 18:54:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juri Linkov" , "Dieter Wilhelm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 21 20:54:53 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICK6P-0007kc-5e for ged-emacs-devel@m.gmane.org; Sat, 21 Jul 2007 20:54:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICK6O-00029A-DL for ged-emacs-devel@m.gmane.org; Sat, 21 Jul 2007 14:54:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICK6L-00028T-0z for emacs-devel@gnu.org; Sat, 21 Jul 2007 14:54:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICK6I-000249-Hi for emacs-devel@gnu.org; Sat, 21 Jul 2007 14:54:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICK6I-00023j-8w for emacs-devel@gnu.org; Sat, 21 Jul 2007 14:54:46 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ICK6H-0000Hw-RN for emacs-devel@gnu.org; Sat, 21 Jul 2007 14:54:46 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l6LIsenh026679; Sat, 21 Jul 2007 13:54:41 -0500 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l6LIseh4024168; Sat, 21 Jul 2007 12:54:40 -0600 Original-Received: from dhcp-amer-csvpn-gw2-141-144-72-196.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3058909081185043983; Sat, 21 Jul 2007 11:53:03 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <87odi539t0.fsf@jurta.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75255 Archived-At: > >> splash screen could contain links to the most common initial actions: > >> > >> [Visit home directory] > >> [Open new file] > >> [Open buffer for notes you don't want to save] > >> [Emacs Tutorial] > >> [Emacs FAQ] > >> [Read the Emacs Manual] > >> ... > > > > it might be better to change the sequence to > > > > [Open new file] > > [Visit home directory] > > ... > > In the latest patch, the order is the following: > > [Create New File] Visit new file. > [Visit Home Directory] Visit home directory. > [Visit *scratch* Buffer] Visit buffer for notes you don't want > to save, and for Lisp evaluation. 1. I agree about the order: create new file first. 2. Instead of [Visit *scratch* Buffer], it should say [Visit Scratch Lisp Buffer]. 3. We should get rid of the descriptions next to the links. "Visit new file" is wrong, anyway; "Create New File" is better on its own. "Visit home directory" adds nothing. "Scratch" implies not automatically saving - think of scratch pad and scratch paper. If we must have descriptions next to the links, then use this for *scratch*: "Visit buffer *scratch* for Lisp interaction that is not saved automatically". 4. Instead of [Visit home directory], it should say [Visit directory]. Which directory to visit should be customizable, with `~/' as the default value. Add an option `splash-screen-directory-to-visit' to custom group `fancy-splash-screen'. 5. Option `visit-on-startup' should be in a new custom group, `startup-display'. This would be a child of group `initialization', and it would include custom group `fancy-splash-screen' as a subgroup. (`visit-on-startup' does not belong in group `fancy-splash-screen'.) 6. The final link of the splash screen, [Customize Startup Display], would then send you to the customize buffer for this group, `startup-display', which would show this: `visit-on-startup' [Hide Value] [Value Menu] What to show/visit on startup. `fancy-splash-screen' group: Go to Group Fancy splash screen when Emacs starts. 7. BTW, if we add `visit-on-startup', do we still need `inhibit-splash-screen'? (no) 8. Here's a summary of the new custom stuff proposed: (defgroup startup-display () "Options for what is displayed when Emacs starts up." :version "22" :group 'initialization) (defcustom visit-on-startup "~/" "What Emacs visits initially." :type '(choice (directory :tag "Directory" :value "~/") (file :tag "File" :value "~/new.txt") (const :tag "Scratch buffer" :value "*scratch*") (const :tag "Splash screen" nil)) :group 'startup-display) (defgroup fancy-splash-screen () "Fancy splash screen when Emacs starts." :version "21.1" :group 'startup-display) (defcustom splash-screen-directory-to-visit "~/" "Directory to visit when you click [Visit directory] on splash screen." :version "22" :group 'fancy-splash-screen)