all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Markus Heller <hellerm2@gmail.com>
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs 22.3 ignores setq default-directory
Date: Mon, 29 Jun 2009 14:19:51 -0700	[thread overview]
Message-ID: <27c152c00906291419u49396cb4pbdce347e54bb7468@mail.gmail.com> (raw)
In-Reply-To: <D418F0D8-D6FD-4B4A-810E-BDBE89C545E9@Web.DE>

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	other threads:[~2009-06-29 21:19 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25 18:47 Emacs 22.3 ignores setq default-directory Markus Heller
2009-06-25 21:03 ` TomSW
2009-06-25 21:39   ` Markus Heller
2009-07-15 12:08     ` David Combs
2009-06-26  6:57 ` Eli Zaretskii
     [not found] ` <mailman.1289.1245999446.2239.help-gnu-emacs@gnu.org>
2009-06-26 16:42   ` Markus Heller
2009-06-27  9:27     ` Eli Zaretskii
     [not found]     ` <mailman.1382.1246104268.2239.help-gnu-emacs@gnu.org>
2009-06-29 21:15       ` Markus Heller
2009-06-26 22:04 ` Edward O'Connor
2009-06-26 22:21   ` Markus Heller
     [not found]     ` <3b31caf90906261524k3f66ced1sa805bdd09195808@mail.gmail.com>
     [not found]       ` <27c152c00906261527v3e7a0df5xef09f36a0b1a8d6b@mail.gmail.com>
     [not found]         ` <3b31caf90906261531q5c804bb1o6bf336cce4c324b6@mail.gmail.com>
2009-06-26 22:38           ` Markus Heller
2009-06-27  8:23     ` Peter Dyballa
2009-06-29 21:19       ` Markus Heller [this message]
2009-06-29 21:43         ` Peter Dyballa
2009-06-29 21:54           ` Markus Heller
2009-06-29 22:48             ` Peter Dyballa
2009-06-29 23:00               ` Markus Heller
     [not found]           ` <mailman.1545.1246338014.2239.help-gnu-emacs@gnu.org>
2009-06-30  7:18             ` TomSW
2009-06-30 21:15               ` Markus Heller
     [not found]   ` <mailman.1367.1246077509.2239.help-gnu-emacs@gnu.org>
2009-06-27  8:18     ` TomSW
2009-06-29 21:22       ` Markus Heller
2009-06-30  8:36         ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27c152c00906291419u49396cb4pbdce347e54bb7468@mail.gmail.com \
    --to=hellerm2@gmail.com \
    --cc=Peter_Dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.