all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem about: Symbol's value as variable is void: x-max-tooltip-size
@ 2012-04-27  2:08 =?gb18030?B?tuDUxteq0vU=?=
  2012-04-27 21:36 ` David Engster
  0 siblings, 1 reply; 2+ messages in thread
From: =?gb18030?B?tuDUxteq0vU=?= @ 2012-04-27  2:08 UTC (permalink / raw)
  To: =?gb18030?B?aGVscC1nbnUtZW1hY3M=?=

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 1942 bytes --]

When I use the command semantic-complete-self-insert, emacs tips an error: 
Symbol's value as variable is void: x-max-tooltip-size¡£
I am using macos10.6.8, Emacs23.4.1£¬and the configuration for cedet is like this£º


(load-file "~/work/emacs/plugins/cedet-1.1/common/cedet.el")
(global-ede-mode t)
(semantic-load-enable-code-helpers)
(semantic-load-enable-semantic-debugging-helpers)
(global-srecode-minor-mode 1)
(require 'semantic-ia)
(require 'semantic-gcc)
(add-hook 'semantic-init-hooks (lambda () (imenu-add-to-menubar "TAGS")))


(defun my-cedet-hook ()
  (local-set-key [(control return)] 'semantic-ia-complete-symbol)


  (local-set-key "\C-c?" 'semantic-ia-complete-symbol-menu)
  (local-set-key (kbd "M-n") 'semantic-ia-complete-symbol-menu)


  (local-set-key "\C-c>" 'semantic-complete-analyze-inline)
  (local-set-key (kbd "M-/") 'semantic-complete-analyze-inline)


  (local-set-key "\C-cp" 'semantic-analyze-proto-impl-toggle)
  (local-set-key "\C-cd" 'semantic-ia-fast-jump)
  (local-set-key "\C-cr" 'semantic-symref-symbol)
  (local-set-key "\C-cR" 'semantic-symref)


  (local-set-key "." 'semantic-complete-self-insert)
  (local-set-key ">" 'semantic-complete-self-insert))
(add-hook 'c-mode-common-hook 'my-cedet-hook)
(add-hook 'c++-mode-common-hook 'my-cedet-hook)


;; (defun my-c-mode-cedet-hook ()
;;  (local-set-key "." 'semantic-complete-self-insert)
;;  (local-set-key ">" 'semantic-complete-self-insert))
;; (add-hook 'c-mode-common-hook 'my-c-mode-cedet-hook)
;; (add-hook 'c++-mode-common-hook 'my-c-mode-cedet-hook)


;; my project
(ede-cpp-root-project "Kingdom_Defenders"
  :file "~/Develop/my_works/project/CMakeLists.txt"
  :include-path '("/interface")
  :system-include-path '("/usr/include")
  :spp-table '(("BOOST_TEST_DYN_LINK" . ""))
  :local-variables (list
    (cons 'compile-command "make --directory=\"~/Develop/my_works/project/build\"")))

[-- Attachment #2: Type: text/html, Size: 8698 bytes --]

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

* Re: Problem about: Symbol's value as variable is void: x-max-tooltip-size
  2012-04-27  2:08 Problem about: Symbol's value as variable is void: x-max-tooltip-size =?gb18030?B?tuDUxteq0vU=?=
@ 2012-04-27 21:36 ` David Engster
  0 siblings, 0 replies; 2+ messages in thread
From: David Engster @ 2012-04-27 21:36 UTC (permalink / raw)
  To: help-gnu-emacs

多云转阴 writes:
> When I use the command semantic-complete-self-insert, emacs tips an error: 
> Symbol's value as variable is void: x-max-tooltip-size。

It's a bug and fixed in CEDET from bzr. Unfortunately, I forgot to port
that fix to CEDET 1.1. :-( You could switch to CEDET from bzr, but that
is currently in a very 'bleeding edge' state, so I think you should
better stay with 1.1 and hack around the problem. Does putting

(unless (boundp 'x-max-tooltip-size)
  (setq x-max-tooltip-size (80 . 40)))     

somewhere in your .emacs help?

-David




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

end of thread, other threads:[~2012-04-27 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27  2:08 Problem about: Symbol's value as variable is void: x-max-tooltip-size =?gb18030?B?tuDUxteq0vU=?=
2012-04-27 21:36 ` David Engster

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.