From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: no package.el emacs 24.5.1 Date: Wed, 7 Oct 2015 12:36:50 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1444246644 17955 80.91.229.3 (7 Oct 2015 19:37:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Oct 2015 19:37:24 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Sanjeev Sariya Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 07 21:37:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZjuWh-0001Zp-Ab for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2015 21:37:23 +0200 Original-Received: from localhost ([::1]:59171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjuWg-0003Of-6W for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2015 15:37:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjuWV-0003OX-FQ for help-gnu-emacs@gnu.org; Wed, 07 Oct 2015 15:37:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjuWU-00010F-DG for help-gnu-emacs@gnu.org; Wed, 07 Oct 2015 15:37:11 -0400 Original-Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:32832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjuWU-000106-8r for help-gnu-emacs@gnu.org; Wed, 07 Oct 2015 15:37:10 -0400 Original-Received: by oixx17 with SMTP id x17so15297755oix.0 for ; Wed, 07 Oct 2015 12:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8Skt6DNNfGMr+hYwJKo0ABnMBwaDMOEcDVbZJObxGnY=; b=tG72vYy3TvDMP38IqlAoJuDZvJ4peT8tZ3bLseSnRT2HvtOSW8JVmdmotrsJpUdEkq 6Qdsa2yTn7mTTavZHmAWrjt08zNAv/1CMbNGtq/S0/vHlxv0WQhx35O21hT+L3thLhoV pEaSiVvvNLs04mbXz/cpG7N3TpL63vhDrJuHIwrc8qIcaQIXpNwSxJV41gGkpXLL5k2a UBMTJ4esBuTPxrCfXGPh3QlPReaWBjwLqMKyhGT4wEuMnkISlinaZ4nlVOW02WkUjJlf 9LfmU+7nn3kPnuA+WAxKCLKM2vdU78XeWhIIcEDpT3vaAhAKvdjYH4CuREFqr+sVERvn 9V/Q== X-Received: by 10.202.73.66 with SMTP id w63mr1852855oia.94.1444246629772; Wed, 07 Oct 2015 12:37:09 -0700 (PDT) Original-Received: by 10.76.45.8 with HTTP; Wed, 7 Oct 2015 12:36:50 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::230 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107545 Archived-At: Sanjeev Sariya 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