all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Getting Python system paths for CEDET
@ 2012-10-13  9:28 David Engster
  2012-10-13 12:14 ` Andreas Schwab
  2012-10-13 12:41 ` Andreas Röhler
  0 siblings, 2 replies; 8+ messages in thread
From: David Engster @ 2012-10-13  9:28 UTC (permalink / raw)
  To: emacs-devel; +Cc: Fabián E. Gallina, jan.moringen

CEDET's Python support has a function
`semantic-python-get-system-include-path' which calls Python to more or
less simply do

import sys
print(sys.path)

and parse the resulting output. This little thing however has caused so
much problems in the past that I'd like to settle this thing now once
and for all.

I'm currently trying to get rid of the warning messages when compiling
our Python support since we're using stuff like `python-proc',
`python-buffer', `python-preoutput-result' and so on. I now see in
Emacs' python.el that there are new variables
`python-shell-internal-buffer', but the doc-string says that they are
only there because of CEDET compatibility. So it seems we're doing
things the wrong way.

So here's my question: What is The Right Way to send and parse the
command above? It'd be great if this could be made compatible with
'python-mode', which apparently is another Python mode for Emacs people
are using. Also, it should run with no problems in batch-mode so that
our unit tests run (this was a problem in the past).

-David



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-10-13 20:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-13  9:28 Getting Python system paths for CEDET David Engster
2012-10-13 12:14 ` Andreas Schwab
2012-10-13 12:26   ` David Engster
2012-10-13 15:13     ` Andreas Röhler
2012-10-13 17:20       ` David Engster
2012-10-13 19:41         ` Fabian Ezequiel Gallina
2012-10-13 20:32           ` David Engster
2012-10-13 12:41 ` Andreas Röhler

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.