all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sanjeev Sariya <sanjeevsariya@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: configuring irony
Date: Mon, 12 Oct 2015 05:17:04 -0700 (PDT)	[thread overview]
Message-ID: <c114338b-02fb-4eaa-b2b9-81817bf985ab@googlegroups.com> (raw)
In-Reply-To: <mailman.119.1444622853.7904.help-gnu-emacs@gnu.org>

Hi Alexis,

Thanks for your attention and reply to my post. 
Sorry for a superficial, and a broad post. I shall keep in my mind suggestions provided by you. :)

My config file for emacs look like:

(require 'package)
(package-initialize)

(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
                         ("marmalade" . "https://marmalade-repo.org/packages/")
                         ("melpa" . "http://melpa.org/packages/")))

Sorry, I don't know configuring emacs archives. :( 
All packages I've been installing are as:
- M-x package-list-packages
- search for your package, hit enter, press I and press x 

Then I make changes in init.el file, for add, and load. 

For the irony, or c mode: I open c or c++ file, upon typing keywords - struct or int, and hitting tab, I won't get prompt to complete these.

Kindly guide me in order to proceed.

Thanks,
Sanjeev

---------------------------------------------------------
On Monday, 12 October 2015 00:07:35 UTC-4, Alexis  wrote:
> Sanjeev Sariya <sanjeevsariya@gmail.com> writes:
> 
> > Apologies if this a naive query. I'm new to emacs world, and 
> > have been trying to learn how to set up config in .emacs/init.el 
> > file for irony package.  I've installed/downloaded irony, 
> > company-irony, added their path to my .emacs file, yet they 
> > don't work.
> 
> Welcome to Emacs!
> 
> One of the most important things to do when asking for help with 
> issues like this is to not only say that something doesn't work, 
> but to describe:
> 
> * what you tried to do;
> * what you expected to happen;
> * what actually happened.
> 
> That is: how, /specifically/, did something not work for you?
> 
> So in this instance, you might write something like:
> 
> ---
> 
> Here's my Emacs config:
> 
> [config]
> 
> When I'm in a buffer in c-mode, and I type:
> 
> stru
> 
> I expect to see a list pop-up showing me possible completions, 
> such as 'struct'. But nothing happens, even if I then press TAB.
> 
> ---
> 
> That might help to give people some ideas about where the problem 
> might be.
> 
> (Also, i highly recommend configuring package archives, such as 
> MELPA, and then installing packages via Emacs' package system, 
> rather than manually - doing so will mean you usually won't need 
> to manually add package directories to your load-path.)
> 
> 
> Alexis.


  parent reply	other threads:[~2015-10-12 12:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-12  1:17 configuring irony Sanjeev Sariya
2015-10-12  4:07 ` Alexis
     [not found] ` <mailman.119.1444622853.7904.help-gnu-emacs@gnu.org>
2015-10-12 12:17   ` Sanjeev Sariya [this message]
2015-10-12 20:01 ` John Mastro

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

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

  git send-email \
    --in-reply-to=c114338b-02fb-4eaa-b2b9-81817bf985ab@googlegroups.com \
    --to=sanjeevsariya@gmail.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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.