cengiz kandemir | 21 Apr 17:42 2015
Picon

Purpose of mailing list

Hi,
Can this mailing list be used to seek help regarding CEDET problems?

Best regards.

--

-- 
Cengiz Kandemir

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
Tu Do | 19 Apr 12:31 2015
Picon

Support for anonymous struct/union

Hi Eric,

Currently Semantic cannot return completion candidates for members in anonymous struct/union like this:

struct s {
  int a;
  int b;
  union {
     char *str;
     void *ptr;
  };
};

even though Semantic parser returns the empty name anonymous union with all of its members.

Regards,

Tu. 
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Steven Rémot | 11 Apr 15:44 2015
Picon

Plans to integrate a wisent grammar in php-mode

Hello,

some people in the PHP-Emacs sphere are showing interest in having a proper support of PHP in Semantic.

First of all, ejmr, the maintainer of php-mode, would like to integrate semantic support for PHP directly in php-mode [1]. He has been in touch with Andrea Turso, who started working on this in his personal configuration.

As I am also working on improving Semantic support for PHP, Andrea contacted my so that we can join our forces on this project.

Actually I like the plans of ejmr and Andrea. They would like to integrate in php-mode a really basic Semantic support for PHP, mainly for tagging purposes, and implement the more complex tasks (code analysis, type inference, refactoring, etc...) in external packages, using minor modes. This would allow people to have simple semantic support out of the box, and to easily get other features if needed.

In term of planning, we already thought about short and long term goals :

  • In the short term, we would work in a code base outside of CEDET and php-mode. We would implement a new grammar as close as possible to the PHP specification [2], and free of any shift/reduce - reduce/reduce conflict. This grammar would parse the whole language, so that it can be used for tagging and code analysis.
  • In the long term, we would separate basic Semantic support for tagging and more complex support for code analysis in different grammars. The basic support could be integrated in php-mode, and the other ones would be in one / several minor modes.

As there is already some code for PHP in the CEDET repository, and as the CEDET team have obviously more experience than Andrea and I in CEDET-related stuffs, we would like to know what you think about it. Do you think it is a good idea to implement Semantic support for PHP outside of CEDET repository, and to split it like that? And do you think it is technically feasible to do so?

Regards,
Steven Rémot

[1] https://github.com/ejmr/php-mode/issues/235
[2] https://github.com/php/php-langspec/blob/master/spec/19-grammar.md
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Tu Do | 10 Apr 05:57 2015
Picon

Integrate Srefactor into CEDET

Hi Eric,

I talked to Stefan Monnier about integrating the formatting commands so it can better format the Emacs Lisp backtrace. He suggests that it could be integrated into CEDET and add a hook to format the backtrace. Thinking about that, I want to integrate not just Lisp formatting commands but the whole Srefactor as well.

Is that ok with you? I already signed the FSF paper.

Regards,

Tu.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Tu Do | 6 Apr 19:40 2015
Picon

How to enable Semantic for temp buffer

Hi Eric,

How do I enable Semantic parsing for temporary Emacs Lisp mode? Semantic that comes with Emacs 24.4 always returns the error "Buffer was not setup for parsing" when I use `with-temp-buffer`, set it to Emac Lisp mode and insert some Elisp code in there. I want a temp buffer to process some Elisp code, but Semantic prevents me to do that.

Btw, I've just made a formatting tool for Emacs Lisp using plain Semantic lexer. Here are the demos: https://github.com/tuhdo/semantic-refactor/blob/master/srefactor-demos/demos-elisp.org

Regards,

Tu.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Felician Nemeth | 2 Apr 13:35 2015
Picon

Possible typo in cogre/srecode.el

Hi,

I've bumped into a possible typo.  I think the line below wasn't updated
when the directory structure changed.

Thanks,
Felicián

diff --git a/lisp/cedet/cogre/srecode.el b/lisp/cedet/cogre/srecode.el
index 57ec54e..4db8208 100644
--- a/lisp/cedet/cogre/srecode.el
+++ b/lisp/cedet/cogre/srecode.el
 <at>  <at>  -75,7 +75,7  <at>  <at> 
     ))

 ;;;###autoload
-(eval-after-load "srecode-map" '(cogre-srecode-setup))
+(eval-after-load "srecode/map" '(cogre-srecode-setup))

 ;;;###autoload
 (defun srecode-semantic-handle-:dot (dict)

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Mandar Mitra | 1 Apr 13:39 2015
Picon

ede / eieio errors

Hello all,

I'm using the git version of CEDET (pulled very recently), and I'm
running into the following problem. When I open a file within a project,
the file opens up, but I also get the following message:

eieio-persistent-read: Corrupt object on disk: Unknown saved object

Same problem with M-x ede ...

After that, tag summaries / completions on "somePointer->" or
"someStructure." only work for structures defined within the file.

OTOH, (load-file "/home/mandar/Dropbox/ir/smart/src/Project.ede") returns
t, and tag summaries / completions work for structures defined in the
project's .h files as well.

My Project.ede file (based on some online tutorials) looks like this:

---------------------------------------------------------------------------

;; Object Smart
;; EDE Project Files are auto generated: Do Not Edit
(ede-cpp-root-project "Smart"
  :file "/home/mandar/Dropbox/ir/smart/src/Project.ede"
  :name "Smart"
  :include-path '("/h")
  :targets nil)

---------------------------------------------------------------------------

Can anyone please provide any hints about what I might be doing wrong?

Many thanks,
Mandar.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Alastair Rankine | 24 Mar 02:18 2015
Picon

Texinfo mode completion error

Finally trying to get some work done in texinfo mode, I came across this. Looks like it was trying to complete
an  <at> declaration…?

Debugger entered--Lisp error: (wrong-number-of-arguments #[(context) "\306\307\" <at> \310\306\311\"\235\203!
Martin Stein | 23 Mar 23:30 2015
Picon
Picon

semantic-lex-spp-project-macro-symbol-obarray in ede-cpp-root-project

Hi,

I have copied and adjusted ede-cpp-root-project for my f90 project and 
found a bug in my f90 code, which should also be present in the cpp code.

I a preprocessor macro is expaneded the expansion is placed in a 
temporary buffer and the parser is called recursively. In order to get 
the parser working properly, the mode and other stuff has to be setup 
properly. However, the variable
semantic-lex-spp-project-macro-symbol-obarray
is not set, nor is the temporary buffer likely to be recognised to 
belong to the cpp-root project.
I resolved this problem by also copying the obarray (along with 
semantic-lex-spp-dynamic-macro-symbol-obarray). From all I have seen, 
this should also be necessary for the C++ parser?

An example to demonstrate this bug could be

_macro_with_param_(_param_is_a_macro_)

where _param_is_a_macro is defined by the ede-cpp-root project (either 
map or file).

Martin

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Matthew Fidler | 18 Mar 18:20 2015
Picon

Strange Error with eieio using ergoemacs-mode

Hi,

I'm getting strange errors when using eieio in emacs 25 for ergoemacs-mode.  I'm not sure where they are coming from.  Its in trying to clone an object.  

The backtrace is located here:


Does anyone know how to fix this issue?

Matt


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Cedet-devel mailing list
Cedet-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel
Felician Nemeth | 16 Mar 17:25 2015
Picon

Cogre for emacs 24.4

Hi,

Emacs 24.4 is shipped with CEDET 2.0, but it doesn't contain COGRE.  The
latest stable release of CEDET (with COGRE) on Sourceforge is 1.1.

So, can you, please, tell me what are the recommended steps to install
COGRE to a relatively new Emacs?  Is there a package archive (ELPA)
where COGRE can be installed from?

Thanks in advance,
Felicián

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

Gmane