unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: haziz <hsaziz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs starter kit - disabled menus
Date: Fri, 29 Apr 2011 16:57:35 -0700 (PDT)	[thread overview]
Message-ID: <90790574-bbe3-4af0-a14f-7091775b9fff@glegroupsg2000goo.googlegroups.com> (raw)
In-Reply-To: <jwvoc3ohokb.fsf-monnier+gnu.emacs.help@gnu.org>

On Friday, April 29, 2011 3:00:43 PM UTC-4, Stefan Monnier wrote:
> > I am not sure if this is the most efficient way to do it, but if you comment
> > out (one or two semicolons ;; ) the first three lines of Lisp code in the
> > init.el file, this will restore the menus, buttons and scrollbars.
> 
> A simpler way might be to start with an empty .emacs file (no starter
> kit or any such thing), check the Options menu since it contains the
> most frequently asked configuration variables, and post questions in
> this newsgroup when you don't know how to do something.
> 
> 
>         Stefan

I agree to some extent, but that would basically disable the "Emacs Starter Kit" completely since it depends on loading a few packages through the init.el file and other Lisp files in the .emacs.d directory. The "Emacs Starter Kit" is heavily oriented towards dynamic languages e.g. ruby and I personally did not find it very useful, however if he wants to explore it further he can leave the init.el file intact and just comment out (or erase) the three offending lines of code, which are:

(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))

This would enable him to restore the menus, buttons and scrollbars and still utilize the Emacs Starter Kit if he so chooses. I personally did not find it very useful but most of my use of emacs is in developing in C rather than dynamic languages and I also did not appreciate some of the defaults selected by Phil Hagelberg (technomancy) the original poster of the Starter Kit on Github.
BTW if you place a separate .emacs file in your home folder this would also automatically disable any references to the .emacs.d directory and the init.el file contained within also effectively disabling the Starter Kit completely. It really depends on whether you want to check out the "Emacs Starter Kit" at all or not. Most of my references to "dot" files and directories of course assumes you are working on a Unix system including Linux or Mac OS X. The names may start differently on a Windows system.


  reply	other threads:[~2011-04-29 23:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29 11:34 Emacs starter kit - disabled menus flebber
2011-04-29 18:16 ` haziz
2011-04-29 18:17 ` haziz
2011-04-29 19:00   ` Stefan Monnier
2011-04-29 23:57     ` haziz [this message]
2011-04-30 14:24       ` Stefan Monnier
2011-05-01  0:36     ` Tim X
2011-05-01  8:13       ` Jorgen Grahn
2011-05-01 14:14         ` Marco Parrone
2011-05-01 14:47           ` upcase-region (was Re: Emacs starter kit - disabled menus) Jorgen Grahn
2011-04-29 22:13 ` Emacs starter kit - disabled menus Marco Parrone
2011-04-29 23:14   ` despen

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=90790574-bbe3-4af0-a14f-7091775b9fff@glegroupsg2000goo.googlegroups.com \
    --to=hsaziz@gmail.com \
    --cc=gnu.emacs.help@googlegroups.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).