unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ECB not Working Correctly with Python Files
@ 2011-07-09  8:36 Lorenzo Isella
  2011-07-17  8:42 ` Andreas Röhler
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Isella @ 2011-07-09  8:36 UTC (permalink / raw)
  To: help-gnu-emacs

Dear All,
I have not used ECB in a while, so I cannot tell exactly when the 
problem arose.
However, now ECB seems to work OK with R and Latex files (and pretty 
much with all the files I have) apart from with Python files (I do not 
see anything at all in the ecb window and the Python mode looks OK to me).
I paste below some parts of my .emacs file (the only relevant to ECB).
Any suggestion is appreciated.
Many thanks

Lorenzo


(custom-set-variables
   ;; custom-set-variables was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
  '(ecb-directories-menu-user-extension-function (quote ignore))
  '(ecb-display-image-icons-for-semantic-tags t)
  '(ecb-fix-window-size (quote width))
  '(ecb-highlight-tag-with-point (quote highlight-scroll))
  '(ecb-history-item-name (quote buffer-name))
  '(ecb-history-menu-user-extension-function (quote ignore))
  '(ecb-kill-buffer-clears-history (quote auto))
  '(ecb-layout-name "left9")
  '(ecb-method-non-semantic-face (quote ecb-default-general-face))
  '(ecb-methods-menu-user-extension-function (quote ignore))
  '(ecb-minor-mode-text "")
  '(ecb-non-semantic-exclude-modes (quote (sh-mode fundamental-mode 
text-mode LaTeX-mode)))
  '(ecb-options-version "2.40")
  '(ecb-primary-secondary-mouse-buttons (quote mouse-1--C-mouse-1))
  '(ecb-process-non-semantic-files t)
  '(ecb-show-tags (quote ((default (include expanded name) (parent 
expanded name) (type expanded name) (variable expanded name) (function 
expanded name) (label expanded name) (t expanded name)) (c++-mode 
(include collapsed nil) (parent collapsed nil) (type flattened nil) 
(variable collapsed access) (function flattened access) (function 
collapsed access) (label hidden nil) (t collapsed nil)) (c-mode (include 
collapsed nil) (parent collapsed nil) (type flattened nil) (variable 
collapsed access) (function flattened access) (function collapsed 
access) (label hidden nil) (t collapsed nil)) (bovine-grammar-mode 
(keyword collapsed name) (token collapsed name) (nonterminal flattened 
name) (rule flattened name) (t collapsed nil)) (wisent-grammar-mode 
(keyword collapsed name) (token collapsed name) (nonterminal flattened 
name) (rule flattened name) (t collapsed nil)) (texinfo-mode (section 
flattened nil) (def collapsed name) (t collapsed nil)) (lua-mode (t 
expanded name) (function collapsed name)))))
  '(ecb-sources-sort-method (quote extension))
  '(ecb-tree-expand-symbol-before t)
  '(ecb-truncate-long-names nil)
  '(ecb-use-speedbar-instead-native-tree-buffer nil)
  '(ecb-version-check t)
  '(ecb-windows-width 0.25)

  '(speedbar-frame-parameters (quote ((minibuffer) (width . 20) 
(border-width . 0) (menu-bar-lines . 0) (tool-bar-lines . 0) 
(unsplittable . t) (set-background-color "black"))))
  '(w3m-default-display-inline-images t)
  '(w3m-display-inline-image t)
  '(w3m-home-page "about:")
  '(w3m-key-binding (quote info))
  '(w3m-view-this-url-new-session-in-background t))


;; improve visualization in ecb

(setq truncate-partial-width-windows nil)
(setq ecb-truncate-lines nil)
(setq ecb-tree-truncate-lines nil)
;;(setq ecb-deactivate 'tip-of-the-day)
;; ecb cache directories


(setq ecb-show-sources-in-directories-buffer  nil)


(setq ecb-cache-directory-contents  '((".*" . 500)) )

(setq ecb-cache-directory-contents-not  nil )

;; kill tip of the day

(setq ecb-tip-of-the-day nil)

;; choose ecb layout

;;(ecb-change-layout 'left9)


;;hide interactor

(global-set-key (kbd "C-c C-z") 'ecb-toggle-ecb-windows)


;; macro for going to interactor

(fset 'go-to-interactor
    "\C-c.gm")

(global-set-key (kbd "C-c e") 'go-to-interactor)

(fset 'go-to-buffer
    "\C-c.gl")

(global-set-key (kbd "C-c w") 'go-to-buffer)








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

* Re: ECB not Working Correctly with Python Files
  2011-07-09  8:36 ECB not Working Correctly with Python Files Lorenzo Isella
@ 2011-07-17  8:42 ` Andreas Röhler
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Röhler @ 2011-07-17  8:42 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: python-mode

Am 09.07.2011 10:36, schrieb Lorenzo Isella:
> Dear All,
> I have not used ECB in a while, so I cannot tell exactly when the
> problem arose.
> However, now ECB seems to work OK with R and Latex files (and pretty
> much with all the files I have) apart from with Python files (I do not
> see anything at all in the ecb window and the Python mode looks OK to me).
> I paste below some parts of my .emacs file (the only relevant to ECB).
> Any suggestion is appreciated.
> Many thanks
>
> Lorenzo
>

Hi,

BTW recently fixed the indexing of python-mode.el, which should deliver 
basically all ECB does. You don't have that window, a menu instead. 
Pretty the similar IMHO. If not, interesting to hear what's needed still.


Andreas

--
https://launchpad.net/python-mode
https://launchpad.net/s-x-emacs-werkstatt/




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

end of thread, other threads:[~2011-07-17  8:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-09  8:36 ECB not Working Correctly with Python Files Lorenzo Isella
2011-07-17  8:42 ` Andreas Röhler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).