なんだこれは

はてなダイアリーから移転しました。

対処療法 warning-suppress-typesがでないようにしたい

とりあえず、M-x auto-install-batch RET anything.el RETで.emacs

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; anything
(require 'anything-startup)

って書くと、symbol's value as variable is void : warning-suppress-types
て言われちゃう人への対処療法。

だれか偉い人正しい対策を教えてください。


ぐぐってみたら、Mr. William Xu曰く、コンパイルしたらでることがあるらしい。
よくわからんが、.emacsとかにこうやって設定しておけばいいんじゃね?ということらしい。

(setq warning-suppress-types nil)

原文はこう書いてた。

William Xu

Andrea Crotti writes:

Probably I'm not the only one, I found something on the net but no
solutions yet.

In short after updating to:
GNU Emacs 23.2.1 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29...

I get very often this error related to compiled code:
Symbol's value as variable is void: warning-suppress-types

Anyone has a workaround?
I have to disable byte-compile-cache to make it working...

I also encounter this frequently when compiling. Don't know why. A
workaround is simply define it to nil.

(setq warning-suppress-types nil)

http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/ca5bdf88e61c0a94?pli=1

fu7mu4はこう書いてみた。

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; anything

(setq warning-suppress-types nil) ;; magic word to prevent bellow error
;;; symbol's value as variable is void : warning-suppress-types
(require 'anything-startup)
M-x eval-buffer

Warning (anything-config): You are using obsolete library `anything-etags.el' and should remove it.
Warning (anything-config): You are using obsolete library `anything-etags.el' and should remove it.

大事なことなので二回いいました、ですか?
とりあえず、2ファイルを削除して、このWarningを削除した。