From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Heller Newsgroups: gmane.emacs.help Subject: Re: Emacs 22.3 ignores setq default-directory Date: Mon, 29 Jun 2009 14:19:51 -0700 Message-ID: <27c152c00906291419u49396cb4pbdce347e54bb7468@mail.gmail.com> References: <5cc316a8-1a47-4e0c-af2b-27675d5517f5@q3g2000pra.googlegroups.com> <3b31caf90906261504r77be9eegb8a3c73fc2d87ab4@mail.gmail.com> <27c152c00906261521m54d3c81bwfb10138e063eae8f@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1246338528 24573 80.91.229.12 (30 Jun 2009 05:08:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2009 05:08:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 30 07:08:41 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLVZt-0007mD-U2 for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 07:08:22 +0200 Original-Received: from localhost ([127.0.0.1]:54247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLVZt-0007f3-3q for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 01:08:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLOGb-00023S-UY for help-gnu-emacs@gnu.org; Mon, 29 Jun 2009 17:19:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLOGX-0001xX-Dr for help-gnu-emacs@gnu.org; Mon, 29 Jun 2009 17:19:57 -0400 Original-Received: from [199.232.76.173] (port=50505 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLOGX-0001xM-9j for help-gnu-emacs@gnu.org; Mon, 29 Jun 2009 17:19:53 -0400 Original-Received: from mail-px0-f192.google.com ([209.85.216.192]:51876) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLOGW-0000Pk-TD for help-gnu-emacs@gnu.org; Mon, 29 Jun 2009 17:19:53 -0400 Original-Received: by pxi30 with SMTP id 30so550225pxi.14 for ; Mon, 29 Jun 2009 14:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=h2hI/ODwcqtZkpMnJCoR4wLSO1jd8RLBcP5HfJJHPQA=; b=UMYLjKP58JHR5juJjYZBEx9vpHS2mJ84yMlG0TLgo3XVElHUilTKk4cTk9ncWS6qgf SbLBguBbRA4lj7CkmXYwhg2GpsM99xFiKN+YuyLCeUae1YNjuJLupNcLNr6NqesCMOPa gLsqg/6riiUZ1FKnBi9IKQ5LxqnxspksL3zqw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lEPc/mitB3qzuf4WK5SlqH44aiQvEesrBjirwcj+HQ0zhrZizKvBqH1/a8C6mcQW1n JsaST9XttM5n++aRF5TQw9UQmB1Xgb+v6WWU28s24AXSLINv5SJkI8kLBE8MDgorUVtY wIPMm//cdNHcI2V78vQE4TrsD6sF+JCACCN5Y= Original-Received: by 10.114.161.11 with SMTP id j11mr11821652wae.193.1246310391504; Mon, 29 Jun 2009 14:19:51 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 30 Jun 2009 01:00:10 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65653 Archived-At: On Sat, Jun 27, 2009 at 1:23 AM, Peter Dyballa 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_ ... 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=FC=DFen > > =A0Pete > > Wer nicht wei=DF, wo er oder sie hin will, muss sich nicht wundern, wenn = er > oder sie nicht ankommt ... > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0(Mark Twain) > > > >