From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sanjeev Sariya Newsgroups: gmane.emacs.help Subject: Re: configuring irony Date: Mon, 12 Oct 2015 05:17:04 -0700 (PDT) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1444652440 32521 80.91.229.3 (12 Oct 2015 12:20:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Oct 2015 12:20:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 12 14:20:32 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 1Zlc5a-0000oB-AE for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Oct 2015 14:20:26 +0200 Original-Received: from localhost ([::1]:55009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlc5Z-0005NH-IJ for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Oct 2015 08:20:25 -0400 X-Received: by 10.182.117.194 with SMTP id kg2mr25073652obb.49.1444652225477; Mon, 12 Oct 2015 05:17:05 -0700 (PDT) X-Received: by 10.50.43.195 with SMTP id y3mr122277igl.1.1444652225451; Mon, 12 Oct 2015 05:17:05 -0700 (PDT) Original-Path: usenet.stanford.edu!kq10no20242647igb.0!news-out.google.com!z4ni18780ign.0!nntp.google.com!kq10no17837373igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=128.164.102.226; posting-account=3hywiQoAAAC7qRM75dhCGL6Nt6I-WinJ Original-NNTP-Posting-Host: 128.164.102.226 User-Agent: G2/1.0 Injection-Date: Mon, 12 Oct 2015 12:17:05 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:215306 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:107589 Archived-At: 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 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.