From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nix Newsgroups: gmane.emacs.devel Subject: Re: IDE Date: Wed, 28 Oct 2015 16:09:36 +0000 Message-ID: <87oafjvutb.fsf@esperi.org.uk> References: <87vb9wcpw9.fsf@esperi.org.uk> <83eggkwdgh.fsf@gnu.org> <83611ww5uc.fsf@gnu.org> <83si4xbi2m.fsf@gnu.org> <878u6pcs74.fsf@igel.home> <83io5tbcye.fsf@gnu.org> <87bnblnzn7.fsf@wanadoo.es> <562E8E51.40006@yandex.ru> <877fm9nuxv.fsf@wanadoo.es> <562EACD9.1030807@yandex.ru> <87y4epmdpr.fsf@wanadoo.es> <562ED468.1010907@siege-engine.com> <87bnblnhfx.fsf@vostro.rath.org> <83a8r5as2g.fsf@gnu.org> <874mhdnel8.fsf@vostro.rath.org> <83mvv442vj.fsf@gnu.org> <87lhaoxig0.fsf@thinkpad.rath.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1446048610 8242 80.91.229.3 (28 Oct 2015 16:10:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Oct 2015 16:10:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 28 17:10:06 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZrTIa-0001Ch-4P for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2015 17:10:04 +0100 Original-Received: from localhost ([::1]:39252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrTIZ-0006Te-Lq for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2015 12:10:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrTIL-0006TO-NC for emacs-devel@gnu.org; Wed, 28 Oct 2015 12:09:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrTIG-0006Gg-TP for emacs-devel@gnu.org; Wed, 28 Oct 2015 12:09:49 -0400 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:45872 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrTIG-0006Fi-N2 for emacs-devel@gnu.org; Wed, 28 Oct 2015 12:09:44 -0400 Original-Received: from spindle (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.15.2/8.15.2) with ESMTP id t9SG9bOv009295 for ; Wed, 28 Oct 2015 16:09:37 GMT Emacs: more boundary conditions than the Middle East. In-Reply-To: <87lhaoxig0.fsf@thinkpad.rath.org> (Nikolaus Rath's message of "Tue, 27 Oct 2015 11:41:35 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-DCC-wuwien-Metrics: spindle 1290; Body=1 Fuz1=1 Fuz2=1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 81.187.191.129 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192803 Archived-At: On 27 Oct 2015, Nikolaus Rath said: > On Oct 27 2015, Eli Zaretskii wrote: >> My interpretation of that, perhaps incorrect, was that you tried to >> use some functionality and tried to find documentation about it, but >> either the documentation was inadequate or completely missing. > > Well, I followed the instructions in the manual but (as far as I can > tell) didn't get support for Global/idutils/cscope. At the time I didn't > suspect anything was wrong - until I read here that there ought to be > such support. Thus my conclusion that the "obvious bit of code" isn't > all that obvious (in both necessity and content). > >> Based on that interpretation, I suggested that you report what you >> tried to figure out from the documentation, but couldn't. > > I would have expected the documentation to tell me that I need to do > something in order to get Global et al support (and ideally also *what* > I need to do). The manual says ,----[ 7. Miscellaneous Commands ] | EDE can use external tools to help with file finding. To do this, | customize `ede-locate-setup-options'. | | -- Variable: ede-locate-setup-options | List of locate objects to try out by default. Listed in order of | preference. If the first item cannot be used in a particular | project, then the next one is tried. It is always assumed that | "ede-locate-base" is at end of the list. `---- It is true that 'Miscellaneous Commands' is not a very good place for this, and it doesn't note that this is not only used for C-c . f (which I have never used, and would never use, since it doesn't have any completions at all so feels like something from a previous era), but for all file searches done by EDE, Semantic, etc. None of the available options are documented at all: you have to dig through the source code. FWIW, I got it to work via (setq ede-locate-setup-options '(ede-locate-global ede-locate-locate ede-locate-base)) ;;... (semantic-mode 1) (semanticdb-enable-gnu-global-databases 'c-mode) (semanticdb-enable-gnu-global-databases 'c++-mode) but whether all of these are actually necessary or not (in particular, whether the latter two options are redundant with part of the first) I have no real idea. -- NULL && (void)