help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please help to fix this error


From: Anand Dhanakshirur
Subject: Please help to fix this error
Date: Mon, 15 Jun 2009 17:32:15 +0530
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Hi,
I have attached the .emacs and debug trace which i got when i started emacs with --debug-init option
The debug trace is given below.

Debugger entered--Lisp error: (error "Font `-sony-fixed-medium-r-normal--13-120-100-100-c-80-iso8859-1' is not defined") modify-frame-parameters(#<frame emacs@surya.cdotb.ernet.in 0x90caa48> ((font . "-sony-fixed-medium-r-normal--13-120-100-100-c-80-iso8859-1")))
set-default-font("-sony-fixed-medium-r-normal--13-120-100-100-c-80-iso8859-1")
byte-code("ÆÇ!\"\"\"\"\"\" \"\"\"\"\"!\"??!??!? ?çèé!??!??!??!??!?ðñ\fBCòó#???\"?\f?)?ðñ BCò÷#???\"? ?)ù=ðñ=BCòú#\"?=?)ëü!?" [emacs-version emacs-major-version senator-minor-mode-name semantic-imenu-auto-rebuild-directory-indexes tmp0 tmp0 set-default-font "-sony-fixed-medium-r-normal--13-120-100-100-c-80-iso8859-1" global-set-key [f1] save-buffer [f2] set-mark-command [f3] kill-ring-save [f4] yank [f6] compile message "Hi! Greetings from GNU Emacs %s! This is before key binding action." "Hi again! Another greetings from %s! This is *after* key binding action." [f9] undo [f10] other-window [f11] delete-other-windows [f12] kill-buffer global-unset-key "" "ã" save-buffers-kill-emacs load-file "~/tools/emacsAddOns/linum.el" "~/tools/cedet/common/cedet.el" semantic-load-enable-excessive-code-helpers "SN" nil global-srecode-minor-mode 1 global-semantic-mru-bookmark-mode require semantic-decorate-include semantic-gcc semantic-ia (project unloaded system recursive) mode-local-bind semanticdb-find-default-throttle ...] 4)
load("~/.emacs" t t)
#[nil "?

KINDLY help to fix this.
I am not getting from where ,it is trying to set the font to .`-sony-fixed-medium-r-normal--13-120-100-100-c-80-iso8859-1.
because of this i am not able to start cedet tools.

anand


(global-set-key [f1] 'save-buffer)
(global-set-key [f2] 'set-mark-command)
(global-set-key [f3] 'kill-ring-save)
(global-set-key [f4] 'yank)
(global-set-key [f6] 'compile)
                                        ;(global-set-key [f7] 'ediff-files)
(message "Hi! Greetings from GNU Emacs %s! This is before key binding action." 
emacs-version) 
(message "Hi again! Another greetings from %s! This is *after* key binding 
action." emacs-major-version)

(global-set-key [f9] 'undo)
(global-set-key [f10] 'other-window)
(global-set-key [f11] 'delete-other-windows)
(global-set-key [f12] 'kill-buffer)

(global-unset-key "\C-x\C-c")
(global-set-key "\C-x\M-c" 'save-buffers-kill-emacs)

;;load linum.el
(load-file "~/tools/emacsAddOns/linum.el")

;; Load CEDET.
;; See cedet/common/cedet.info for configuration details.

(load-file "/export/home1/asd/tools/cedet/cedet-1.0pre7/common/cedet.el")

;;(add-to-list 'load-path
;;           "~/tools/cedet/cedet-1.0pre7/semantic/bovine")

(semantic-load-enable-excessive-code-helpers)
;;(semantic-load-enable-semantic-debugging-helpers)

(setq senator-minor-mode-name "SN")
(setq semantic-imenu-auto-rebuild-directory-indexes nil)
(global-srecode-minor-mode 1)
(global-semantic-mru-bookmark-mode 1)

(require 'semantic-decorate-include)

;; gcc setup
(require 'semantic-gcc)

;; smart complitions
(require 'semantic-ia)

;;(setq-mode-local c-mode semanticdb-find-default-throttle
;;                 '(project unloaded system recursive))
;;(setq-mode-local c++-mode semanticdb-find-default-throttle
;;                 '(project unloaded system recursive))
;;(setq-mode-local erlang-mode semanticdb-find-default-throttle
;;                 '(project unloaded system recursive))

(require 'eassist)

;; customisation of modes
(defun my-cedet-hook ()
  ;;   (local-set-key [(control return)] 'semantic-ia-complete-symbol-menu)
  ;;   (local-set-key "\C-c?" 'semantic-ia-complete-symbol)
  ;;   ;;
  ;;   (local-set-key "\C-c>" 'semantic-complete-analyze-inline)
  ;;   (local-set-key "\C-c=" 'semantic-decoration-include-visit)

  ;;   (local-set-key "\C-cj" 'semantic-ia-fast-jump)
  ;;   (local-set-key "\C-cq" 'semantic-ia-show-doc)
  ;;   (local-set-key "\C-cs" 'semantic-ia-show-summary)
  ;;   (local-set-key "\C-cp" 'semantic-analyze-proto-impl-toggle)
  (local-set-key [f5] 'pop-global-mark)

  (local-set-key [f6] 'semantic-ia-fast-jump)
  (local-set-key [f7] 'semantic-ia-complete-symbol-menu)
  (local-set-key [f8] 'semantic-symref)

  (local-set-key [f9] 'undo)
  )

;;(add-hook 'semantic-init-hooks 'my-cedet-hook)
(add-hook 'c-mode-common-hook 'my-cedet-hook)
(add-hook 'lisp-mode-hook 'my-cedet-hook)
(add-hook 'emacs-lisp-mode-hook 'my-cedet-hook)


(defun my-c-mode-cedet-hook ()
  ;; (local-set-key "." 'semantic-complete-self-insert)
  ;; (local-set-key ">" 'semantic-complete-self-insert)
  (local-set-key "\C-ct" 'eassist-switch-h-cpp)
  (local-set-key "\C-xt" 'eassist-switch-h-cpp)
  (local-set-key "\C-ce" 'eassist-list-methods)
  (local-set-key "\C-c\C-r" 'semantic-symref)
  )
(add-hook 'c-mode-common-hook 'my-c-mode-cedet-hook)

;; hooks, specific for semantic
(defun my-semantic-hook ()
  ;; (semantic-tag-folding-mode 1)
  (imenu-add-to-menubar "TAGS")
  )
(add-hook 'semantic-init-hooks 'my-semantic-hook)


(global-semantic-tag-folding-mode 0)

;; gnu global support
;;(require 'semanticdb-global)
;;(semanticdb-enable-gnu-global-databases 'c-mode)
;;(semanticdb-enable-gnu-global-databases 'c++-mode)


;;; ede customization
 (require 'semantic-lex-spp)
 (global-ede-mode t)

;; Enable EDE for a pre-existing C++ project

   (ede-cpp-root-project  "RESET_BSC_INSTANCE-V0_0_5"
                      :name "TESTING_RESET"
                      :file 
"/export/home1/asd/users/ashok/ref/old/BSC_INST-V0_0_5/makefile"
                      :include-path '(
                                      "/src"
                                      "/src/api"
                                      "/src/common"
                                      "/src/gpm"
                                      "/src/gpm/src"
                                      "/src/gpm/src/ame"
                                      "/src/gpm/src/common"
                                      "/src/gpm/src/db"
                                      "/src/gpm/src/encdec"
                                      "/src/gpm/src/encdec/bssap"
                                      "/src/gpm/src/encdec/btsm"
                                      "/src/gpm/src/encdec/common"
                                      "/src/gpm/src/encdec/rr"
                                      "/src/gpm/src/main"
                                      "/src/gpm/src/rme"
                                      "/src/main"
                                      "/src/platsw"
                                      "/src/smm"
                                      "/src/smm/src"
                                      "/src/smm/src/bme"
                                      "/src/smm/src/common"
                                      "/src/smm/src/db"
                                      "/src/smm/src/main"
                                      "/src/smm/src/mie"
                                      "/src/smm/src/mme"
                                      "/src/smm/src/mme/src"
                                      "/src/smm/src/mme/src/appl"
                                      "/src/smm/src/mme/src/common"
                                      "/src/smm/src/mme/src/driver"
                                      "/src/smm/src/mme/src/include"
                                      "/src/smm/src/sme"
                                      "/test"
                                      "/test/basicinfra"
                                      "/test/bnm"
                                      "/test/bts"
                                      "/test/bts/main"
                                      "/test/bts/src"
                                      "/test/common"
                                      "/test/db"
                                      "/test/lapd"
                                      "/test/lapd/include"
                                      "/test/lapd/src"
                                      "/test/lapd/src/common"
                                      "/test/lapd/src/dle"
                                      "/test/lapd/src/lme-nw"
                                      "/test/lapd/src/lme-usr"
                                      "/test/lapd/src/mac"
                                      "/test/msc"
                                      "/test/msc/bssapstub"
                                      "/test/msc/frmwrk"
                                      "/test/oat"
                                      "/test/ss7amf"
                                      "/test/ss7amf/src"
                                      "/test/ss7amf/src/api"
                                      "/test/ss7amf/src/api/common"
                                      "/test/ss7amf/src/api/mi"
                                      "/test/ss7amf/src/api/ui"
                                      "/test/ss7amf/src/common"
                                      "/test/ss7amf/src/common/msgs"
                                      "/test/ss7amf/src/common/rodata"
                                      "/test/ss7amf/src/cp"
                                      "/test/ss7amf/src/db"
                                      "/test/ss7amf/src/db/application"
                                      "/test/ss7amf/src/db/ss7"
                                      "/test/ss7amf/src/intf"
                                      "/test/ss7amf/src/intf/common"
                                      "/test/ss7amf/src/intf/mi"
                                      "/test/ss7amf/src/intf/ui"
                                      "/test/ss7amf/src/mac"
                                      "/test/ss7amf/src/mac/common"
                                      "/test/ss7amf/src/mac/macthrproxy"
                                      "/test/ss7amf/src/mac/mcc"
                                      "/test/ss7amf/src/mac/mcc/mac-alone"
                                      "/test/ss7amf/src/mac/mcc/single"
                                      "/test/ss7amf/src/mac/mcc/single/piclinux"
                                      "/test/ss7amf/src/mac/mcc/split"
                                      "/test/ss7amf/src/mac/mcc/split/mac-alone"
                                      "/test/ss7amf/src/mac/sgran-macthrproxy"
                                      "/test/ss7amf/src/mac/tcp"
                                      "/test/ss7amf/src/mac/tcp/single"
                                      "/test/ss7amf/src/mac/tcp/split"
                                      "/test/ss7amf/src/mac/tcp/split/mac-alone"
                                      "/test/ss7amf/src/sm"
                                      "/test/ss7amf/src/sm/main"
                                      "/test/ss7amf/src/sm/ss7"
                                      "/test/ss7amf/src/sm/ss7/sico"
                                      "/test/ss7amf/src/stacks"
                                      "/test/ss7amf/src/stacks/ss7"
                                      "/test/ss7amf/src/stacks/ss7/tril"
                                      "/test/ss7amf/src/stacks/ss7/tril/common"
                                      "/test/ss7amf/src/stacks/ss7/tril/isup"
                                      "/test/ss7amf/src/stacks/ss7/tril/mtp2"
                                      "/test/ss7amf/src/stacks/ss7/tril/mtp3"
                                      "/test/ss7amf/src/stacks/ss7/tril/sccp"
                                      "/test/ss7amf/src/stacks/ss7/tril/ssi"
                                      
"/test/ss7amf/src/stacks/ss7/tril/ssi/plat-ind"
                                      
"/test/ss7amf/src/stacks/ss7/tril/ssi/ssisdk"
                                      "/test/ss7amf/src/tools"
                                      "/test/ss7amf/src/tools/dbutil"
                                      "/test/ss7amf/test"
                                      "/test/ss7amf/test/basicinfra"
                                      "/test/ss7amf/test/cp"
                                      "/test/ss7amf/test/cp/gcc"
                                      "/test/ss7amf/test/db"
                                      "/test/ss7amf/test/db/iterator"
                                      "/test/ss7amf/test/load"
                                      "/test/ss7amf/test/miFeatureTest"
                                      "/test/ss7amf/test/sccp-load-tester"
                                      "/test/ss7amf/test/sccpApp"
                                      "/test/ss7amf/test/sm"
                                      "/test/ss7amf/test/uiFeatureTest"
                                      "/test/util"
                                      "/test/util/include"
                                      "/test/util/src"
                                      "/test/util/src/misc"
                                      "/test/util/src/msgdistr"
                                      "/test/util/src/tcpnh"
                                      "/test/util/src/timer"
                                      "/test/util/src/udpnh"
                                      )
                      )

(add-to-list 'load-path
             "~/tools/ecb-2.40")

(require 'ecb)  



(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.
 '(column-number-mode t)
 '(compile-command "make")
 '(ecb-auto-activate t)
 '(ecb-compile-window-height 6)
 '(ecb-compile-window-width (quote edit-window))
 '(ecb-layout-name "left-symboldef")
 '(ecb-layout-window-sizes nil)
 '(ecb-major-modes-show-or-hide (quote ((c-mode))))
 '(ecb-options-version "2.40")
 '(ecb-source-path (quote ("/export/home1/asd")))
 '(ecb-symboldef-buffer-sync (quote always))
 '(ecb-windows-width 0.3)
 '(highlight-changes-initial-state (quote active))
 '(show-paren-mode t)
 '(transient-mark-mode t))
(custom-set-faces
  ;; custom-set-faces 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.
 '(compilation-error ((default nil) (nil (:underline "orange"))))
 '(compilation-warning ((default nil) (nil nil))))

;; (put 'downcase-region 'disabled nil)
;; ;; Xrefactory configuration part ;;
;; ;; some Xrefactory defaults can be set here
;; (defvar xref-current-project nil) ;; can be also "my_project_name"
;; (defvar xref-key-binding 'global) ;; can be also 'local or 'none
;; (setq load-path (cons "/export/home1/asd/tools/xref/emacs" load-path))
;; (setq exec-path (cons "/export/home1/asd/tools/xref" exec-path))
;; (load "xrefactory")
;; ;; end of Xrefactory configuration part ;;
;; (message "xrefactory loaded")

;; loading oo-browser
;;(setq load-path (cons "/export/home1/asd/tools/oo-browser/" ))

(setq load-path (append
                 '("/export/home1/asd/tools/oo-browser/"
                 "/export/home1/asd/tools/oo-browser/hypb/")
      load-path))

(load "/export/home1/asd/tools/oo-browser/br-start.el")
(global-set-key "\C-c\C-o" 'oo-browser)

;;my kbd macros
(fset 'roi
   "\C-sOnly\C-a\C-k\C-k")
(fset 'gcf
   [?\C-@ ?\C-s ?a ?n ?d right ?\C-w ?\C-e M-delete down ?\C-a])
(fset 'p\\e
   [?\C-e ?\\ down ?\C-a])

Attachment: asd.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]