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

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

Re: Emacs 22.3 ignores setq default-directory


From: Markus Heller
Subject: Re: Emacs 22.3 ignores setq default-directory
Date: Mon, 29 Jun 2009 14:19:51 -0700

On Sat, Jun 27, 2009 at 1:23 AM, Peter Dyballa<Peter_Dyballa@web.de> wrote:
>
> Am 27.06.2009 um 00:21 schrieb Markus Heller:
>
>> An error has occurred while loading `c:/Documents and
>> Settings/mheller/_emacs':
>>
>> error: No such directory found via CDPATH environment variable
>
> Are you setting a CDPATH environment variable in your init file? Since it
> only is of concern for an interactive shell it's better put into
> _emacs_<shell interpreter's name> ...

Nope, at least not that I'm aware of.  Below is my _emacs ...  Maybe
that'll help.  I primarily use emacs for LaTeX, and I'm not exactly
knowledgeable with all its mighty configurations.

Thanks and Cheers
Markus

;;
;; set default directory
;;
(setq default-directory "h:")
;;
;; line numbers
;;
(require 'linum)
(add-hook 'find-file-hook (lambda () (linum-mode 1)))
;;
;; load AUCTeX (Posting by Uwe Siart .emacs Probleme in dctt)
;;
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
;; require MikTeX installation
;;
(require 'tex-mik)
;;
;; activate document parsing as described in AUCTeX manual
;;
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
;;
;; activate RefTeX
;;
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
;(add-hook 'latex-mode-hook 'turn-on-reftex)
(setq reftex-plug-into-AUCTeX t)
;;
(add-hook 'LaTeX-mode-hook 'turn-on-auto-fill)
(add-hook 'text-mode-hook 'flyspell-mode)
;;
;; align arrays at separators (&)
(add-hook 'LaTeX-mode-hook
   (function
    (lambda ()
     (define-key LaTeX-mode-map "\C-c\C-a"
      'align-current))))
;;
;; activate org mode
;;
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
;;
;;
;;
(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.
 '(TeX-output-view-style (quote (("^dvi$"
"^pstricks$\\|^pst-\\|^psfrag$" "dvips %d -o && start \"\" %f")
("^dvi$" "." "yap -1 %dS %d") ("^pdf$" "." "gsview32.exe %o")
("^html?$" "." "start \"\" %o"))))
 '(blink-cursor-mode nil)
 '(ispell-extra-args (quote ("-t")))
 '(ispell-program-name "ispell")
 '(show-paren-mode t)
 '(text-mode-hook (quote (turn-on-auto-fill flyspell-mode
text-mode-hook-identify)))
 '(tool-bar-mode nil))
;;
(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.
;; '(default ((t (:stipple nil :background "SystemWindow" :foreground
"SystemWindowText" :inverse-video nil :box nil :strike-through nil
:overline nil :underline nil :slant normal :weight normal :height 96
:width normal :family "raster-dina"))))
 (set-default-font
"-outline-Consolas-normal-r-normal-normal-17-*-120-120-c-*-iso8859-1")
 '(font-latex-sectioning-0-face ((t (:inherit font-latex-sectioning-1-face))))
 '(font-latex-sectioning-1-face ((t (:inherit font-latex-sectioning-2-face))))
 '(font-latex-sectioning-2-face ((t (:inherit font-latex-sectioning-3-face))))
 '(font-latex-sectioning-3-face ((t (:inherit font-latex-sectioning-4-face))))
 '(font-latex-sectioning-4-face ((t (:inherit font-latex-sectioning-5-face))))
;; '(font-latex-sectioning-5-face ((((class color) (background light))
(:inherit default :foreground "blue4" :weight bold :family "Dina"))))
 '(font-latex-sectioning-5-face ((((class color) (background light))
(:inherit default :foreground "blue4" :weight bold :family
"Consolas"))))
 '(linum ((t (:inherit (shadow default) :background "dark grey"
:foreground "yellow")))))


> --
> Mit reisefreudigen Grüßen
>
>  Pete
>
> Wer nicht weiß, wo er oder sie hin will, muss sich nicht wundern, wenn er
> oder sie nicht ankommt ...
>                                        (Mark Twain)
>
>
>
>




reply via email to

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