unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: John Mastro <john.b.mastro@gmail.com>
To: Sanjeev Sariya <sanjeevsariya@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: no package.el emacs 24.5.1
Date: Wed, 7 Oct 2015 12:36:50 -0700	[thread overview]
Message-ID: <CAOj2CQTY7CSn+BXXp9NFevR_vckb+HVnisc8aZObi8+11nJgBQ@mail.gmail.com> (raw)
In-Reply-To: <c8ce0e4f-3ff2-4506-9f59-d435c5de22e6@googlegroups.com>

Sanjeev Sariya <sanjeevsariya@gmail.com> wrote:
> Hi Emacs community,
>
> I'm new to emacs. I'm trying to add couple of bells and whistles to it.
> I upgraded it's version to 24.5.1 Mac OSX

Welcome!

> When I type emacs on terminal I get:
>
> ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
> ;; If you want to create a file, visit that file with C-x C-f,
> ;; then enter the text in that file's own buffer.

This is expected - it's the *scratch* buffer. If you instead invoke
Emacs as `emacs /path/to/file' it will start you in a buffer showing
that file's contents. Or, as the note above says, you can use `C-x C-f'
(control-x followed by control-f) to open a file from within Emacs.

> There's no package.el present in
>
> ~/.emacs.d/

This too is expected - package.el is installed along with Emacs's other
Lisp source files, not in your ~/.emacs.d/

> Without this nothing would load, and no M-x would work.

Can you be more specific regarding "nothing would load"? What did you
try and what errors did you receive?

One thing you should probably do is to add this form at the top of your
~/.emacs.d/init.el file:

(package-initialize)

M-x not working might be related to your terminal rather than Emacs
itself. For instance, on OS X I believe you use the "option" key for
meta (rather than command, as I personally prefer and originally
expected).

How did you install Emacs? You might find it more comfortable to use
Emacs in its GUI mode rather than at the terminal.

-- 
john



  reply	other threads:[~2015-10-07 19:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-07 17:46 no package.el emacs 24.5.1 Sanjeev Sariya
2015-10-07 19:36 ` John Mastro [this message]
2015-10-07 20:10 ` Nicolas Richard
     [not found] ` <mailman.83.1444248617.916.help-gnu-emacs@gnu.org>
2015-10-11 20:40   ` Sanjeev Sariya
     [not found] ` <mailman.82.1444246633.916.help-gnu-emacs@gnu.org>
2015-10-11 20:41   ` Sanjeev Sariya
2015-10-11 21:20     ` no package.el emacs 24.5.1 -- Classic Meta test Francis Belliveau
     [not found]     ` <mailman.102.1444598432.7904.help-gnu-emacs@gnu.org>
2015-10-12 13:10       ` Sanjeev Sariya

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=CAOj2CQTY7CSn+BXXp9NFevR_vckb+HVnisc8aZObi8+11nJgBQ@mail.gmail.com \
    --to=john.b.mastro@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sanjeevsariya@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.
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).