John Smith | 21 May 2013 10:45
Picon

function argument list in C++?

Hi all,

  Can CEDET show me the prototype of the C++ function
as I'm typing in the arguments at the call point?
  As far as I can see, there's 'semantic-ia-show-summary
that possesses all required information when I call it with
the point on the function name, but when I'm inside
the (incomplete) argument list, it shows info about arguments
themselves, instead of function prototype as I would like.
It would also be nice if it could track which argument I'm currently
entering and highlight it in bold in the minibuffer.
As I recall this feature was present in Qt Creator when
I tried it 4 years ago and it was very convenient.
I'm sure that CEDET users would appreciate this feature.

regards,
Oleh
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Lars Petter Mostad | 19 May 2013 20:37
Picon

Question mark in rule

When translating an EBNF grammar to a wisent grammar, I'd like to make intermediate rules like "foo_*" for "{foo}", "foo_+" for "foo {foo}", and "foo_?" for "[foo]". The former two works fine, but when i try the latter one, i get errors like "wisent-parse-nonterminals: Symbol `bar' is used, but is not defined as a token and has no rules", where "bar" has a rule using "foo_?".

According to http://www.gnu.org/software/emacs/manual/html_node/elisp/Symbol-Type.html, '?' requires no special punctuation.

What is the problem here?
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Daimrod | 18 May 2013 17:54
Picon

[RFC] pulse.el

Hello,

I've recently switched to a less powerful laptop and I have been annoyed
by the pulse functionality because it made Emacs frames blur. So I have
rewrote my own version of pulse.el which uses a timer instead of
`sit-for'. Thanks to this, it doesn't make Emacs frames shakes and it is
possible to move the cursor during the effect.

ATM I've only implemented something similar to
`pulse-momentary-highlight-region'.

I would like to know:
- if you would be interested in this new implementation of pulse.el;
  (I'm not the only one impacted, an #emacs user reported this problem
  too)
- if it's ok to use lexical-let/closure or if I should use a global
  variable and properties.;
- which functions should be available;

Regards,

--

-- 
Daimrod/Greg
Attachment (dmd-pulse.el): application/emacs-lisp, 3025 bytes
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
John Smith | 15 May 2013 19:55
Picon

semantic-ia-complete-symbol case-insensitive patch

Hi,

  I think that 'semantic-ia-complete-symbol should have
an option to be case-insensitive.
  I attach a small patch that makes it case-insensitive by default.
Perhaps you could incorporate it in some form.

regrads,
Oleh
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Stephen Debique | 8 May 2013 03:00
Picon

semanticdb-javap; cc-mode, CEDET, and auto-complete-1.4

Hello all,

I installed the latest repository version of CEDET and disabled the version that is bundled with Emacs 24.3. After skimming the manual and reading Alex Ott's article "A Gentle Introduction to CEDET" I made several additions to my .emacs file. Once I made all of the recommended changes, I tried to edit a simple Java file. Code completion with auto-complete is functional, but extremely slow, even after the trying the same function from the same class twice (System.out.println). I would also add that CEDET does not seem to pick up the methods of the objects statically in the packages either. I am  not sure if this is an error or functionality that just needs to be added at a later date.

My second problem is that when I try to edit a C file, auto-complete (I am using version 1.4 that comes in the package repository) does not bring up any completions. I tried several configuration changes to my ,emacs file in an effort to get the auto-complete menu to work. It works great in Emacs Lisp mode. Additionally, normal semantic completion works fine once enabled. Can anyone give me a hand with either of these issues?

By the way, the link to "smart completion debugging" in the CEDETmanual is broken.

Thank you,

Stephen
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Pamela Carreño | 7 May 2013 16:19
Picon

Unsolved includes using ede-cpp-root-project definition

Hi,

I'm using ede-cpp-root-project to create an ede-project from existing files.

(ede-cpp-root-project "FLANN"
                :name "Flann1.8"
                :file "~/Documents/PhD/Code/Kd-Trees_NNS/Flann/CMakeLists.txt"
:include-path '("/test/"
                                "/examples/"
"/src/cpp/flann/"
"/src/cpp/flann/algorithms/"
                                "/src/cpp/flann/io/"
"/src/cpp/flann/mpi/"
"/src/cpp/flann/nn/"
"/src/cpp/flann/util/"
                               )
                :system-include-path '("/usr/include/" "usr/include/c++/4.7/")
                :spp-table '(("isUnix" . "")
                             ("BOOST_TEST_DYN_LINK" . "")))

However, when opening any .cpp or .h file there are some unsolved includes, most of them coming from files within the directories defined in the :include-path field. I thought that listing all includes directories as I do was enough for semantic to analyse and solve all dependencies and so.

Semantic-c-describe-environment gives this as output

Include Path Summary:
  This file's project include is handled by:
    EDE : #<ede-cpp-root-target /home/carrenom/Documents/PhD/Code/Kd-Trees_NNS/Flann/src/cpp/flann/util/>
     with the system path:
    /usr/include/
    usr/include/c++/4.7/

  This file's system include path is:
    /usr/include
    /usr/lib/gcc/x86_64-linux-gnu/4.7/include/
    /usr/local/include/
    /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/
    /usr/include/x86_64-linux-gnu/
    /usr/include/

So my definition is not working. Is there something I forgot to include? Do I have to use semantic-add-system-include with each directory?

Regards,

Pamela
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Martin Zapf | 30 Apr 2013 17:33
Picon
Picon

Emacs24 Cedet launch error

Hi all,
loading cedet (bzr version 8557)  with Emacs 24.2.1 (and equally emacs 24.3.1) leads to the following warning:
 
Warning (initialization): An error occurred while loading `/home/martin/.emacs.d/init.el':
error: eieio is already loaded.  Removing CEDET now would be unwise.
 
I uploaded a full backtrace here http://pastebin.com/n6sPhgXz
 
This error occurs even if I use an init file for emacs that only contains the following line:
(load-file "~/tools/emacs/cedet/cedet-devel-load.el")
 
Everything works fine Emacs 23.4 though.
 
Cheers
Martin
 
 
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Florian Dold | 26 Apr 2013 20:25
Picon

broken documentation links

The user documentation linked at
http://www.randomsample.de/cedetdocs/semantic/semantic/Semantic-manuals.html#Semantic-manuals
contains a link to the user manual
http://www.randomsample.de/cedetdocs/semantic/semantic-user/index.html#Top
which is broken, and should actually be
http://www.randomsample.de/cedetdocs/semantic/user-guide/
Other links are broken as well.

Someone please fix this, as it is quite off-putting to new users to
find the links to the user documentation broken.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
Mandar Mitra | 23 Apr 2013 13:42
Picon

Info-directory-list: use add-to-list instead of setq?

I suddenly discovered my Info-directory-list variable was broken. It
didn't have a path that I'd added in the INFOPATH environment variable.

I think a setq in cedet-devel-load.el (bzr version of CEDET) is
responsible. After making the change below -- I've just copied the
corresponding bit from cedet-1.1, but don't know whether this is the
right thing to do -- things are working again, so I thought I'd report.

Not subscribed to the list. It'd be great if you could please cc me in
on replies. 

Thanks,
Mandar.

--- Output of "bzr diff" ---

=== modified file 'cedet-devel-load.el'
--- cedet-devel-load.el 2013-04-06 03:12:12 +0000
+++ cedet-devel-load.el 2013-04-23 11:26:23 +0000
 <at>  <at>  -56,9 +56,14  <at>  <at> 
     (load (expand-file-name "lisp/cedet/cogre/loaddefs.el" CEDETDIR) nil t t)
     (load (expand-file-name "lisp/cedet/srecode/loaddefs.el" CEDETDIR) nil t t)
     (load (expand-file-name "lisp/cedet/semantic/loaddefs.el" CEDETDIR) nil t t)
-    (setq Info-directory-list
-         (cons (expand-file-name "doc/info" CEDETDIR)
-               Info-default-directory-list)))
+    (let ((fulldocpath (expand-file-name "doc/info" CEDETDIR)))
+      (if (featurep 'info)
+          (progn
+            (condition-case nil ; Not all emacs versions have this.
+                (info-initialize)
+              (error nil))
+            (add-to-list 'Info-directory-list fulldocpath))
+        (add-to-list 'Info-default-directory-list fulldocpath))))

   ;; Load in COMPAT code - This is because NEW CEDET code may use this
   ;; for compatibility reasons, but Emacs integrated code removes it.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
Simon Brown | 18 Apr 2013 15:20
Favicon

semantic-add-system-include for multiple modes

Hello,

I'm working on a mixed c / c++ project and I'm finding myself having to
add the system includes twice, once for each mode. Is there a way I can
add them to both in one call.

Thanks,

Simon

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
Joe Steeve | 28 Mar 2013 04:30
Picon
Favicon

[OT] Request to munge the 'reply-to' header for this mailing list

Hello all,

I know this is a sensitive topic and many people consider it
sacrilegious. If this has already been discussed here and decided upon,
please let me know.

I have just asked two questions on this list so far. And, all the
replies for the two questions have come as personal email. These replies
should have come to the list so that it gets archived and is available
for others to find when they google.

Can we please have the 'reply-to' header munged by mailman to point to
this list?

Joe

--

-- 
.o. I'm a Free man. I use Free Software.
..o
ooo http://www.joesteeve.org/

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel

Gmane