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

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

Re: Please help to debug this error


From: Barry Margolin
Subject: Re: Please help to debug this error
Date: Tue, 16 Jun 2009 02:55:19 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <mailman.693.1245128671.2239.help-gnu-emacs@gnu.org>,
 Anand Dhanakshirur <asd@cdotb.ernet.in> wrote:

> Hi,
> Following  is the trace, when i started emacs with --debug-init option.

Where is the rest of the stack trace?  The full trace should include the 
line in your .emacs that eventually called set-default-font.  It could 
be inside one of the functions you call, or in one of the files that you 
load.  The backtrace will show this.

> 
> 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 0xa393a18> 
> ((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")
> 
> Some where, it is getting this code of setting default font to 
> sony-fixed-medium-r-normal--13-120-100-100-c-80-iso8859-1.
> Although it is not there in .emacs file.
> This error is present in emacs-22.2.1
> I thought it may be a problem in emacs22.2.1
> Hence
> I installed emacs-22.3.1 in a different path than that of emacs-22.2.1.
> Then also, same error is observed.
> 
> Where is the problem?
> 
> Can any body take this .emacs file and start emacs in their system
> and find out where is the error?
> 
> ---------------------------------------------------------------------
> 
> (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])
> ---------------------------------------------------------------------
> begin:vcard
> fn:Anand Dhanakshirur
> n:Dhanakshirur;Anand
> email;internet:asd@cdotb.ernet.in
> tel;work:(080)-25119295
> tel;cell:9886178750
> x-mozilla-html:FALSE
> version:2.1
> end:vcard

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

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