Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.editoren > #254

Re: emacs - Standardordner

From Stefan Wiens <s.wi@gmx.net>
Newsgroups de.comp.editoren
Subject Re: emacs - Standardordner
Date 2020-02-22 12:23 +0100
Message-ID <875zfyrht3.fsf@eswe.dd-dns.de> (permalink)
References <m2imjy53ei.warhorse@cmschueller.my-fqdn.de>

Show all headers | View raw


Clemens Schüller <cs.usenet@mailbox.org> writes:

> Ich hab hier das - leicht nervige - Problem, dass emacs bei C-x C-f oder
> C-x d _immer_ / als Standardordner vorgibt, ich will aber ~/ haben.
>
> In der .emacs steht
>
>
> (setq default-directory "/Users/mente/")
>
>
> Aber, ausgewertet wird es wohl nicht, denn:
>
>
>
> default-directory is a variable defined in ‘C source code’.
> Its value is "/"
> Local in buffer *unsent posting on de.comp.editoren*; global value is nil
>
>   Automatically becomes permanently buffer-local when set.
>   This variable is safe as a file local variable if its value
>   satisfies the predicate ‘stringp’.
>   Probably introduced at or before Emacs version 1.11.
>
> Documentation:
> Name of default directory of current buffer.
> It should be an absolute directory name; on GNU and Unix systems,
> these names start with ‘/’ or ‘~’ and end with ‘/’.
> To interactively change the default directory, use command ‘cd’.
>
>
>
> Was kann man hier machen?

vielleicht

(setq-default default-directory "~/")

(Hinweis in elisp.info: 11.10.1 Introduction to Buffer-Local Variables)
-- 
Stefan

Back to de.comp.editoren | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

emacs - Standardordner Clemens Schüller <cs.usenet@mailbox.org> - 2020-02-22 11:20 +0100
  Re: emacs - Standardordner Stefan Wiens <s.wi@gmx.net> - 2020-02-22 12:23 +0100
    Re: emacs - Standardordner Clemens Schüller <cs.usenet@mailbox.org> - 2020-02-22 12:32 +0100
      Re: emacs - Standardordner Helmut Waitzmann <nn.throttle@xoxy.net> - 2020-02-22 18:34 +0100
        Re: emacs - Standardordner Clemens Schüller <cs.usenet@mailbox.org> - 2020-02-22 18:49 +0100
          Re: emacs - Standardordner Helmut Waitzmann <nn.throttle@xoxy.net> - 2020-02-22 23:20 +0100
            Re: emacs - Standardordner Stefan Reuther <stefan.news@arcor.de> - 2020-02-23 09:41 +0100
        Re: emacs - Standardordner Stefan Wiens <s.wi@gmx.net> - 2020-02-23 12:01 +0100
          Magit als Standard VCS (was: emacs - Standardordner) Clemens Schüller <cs.usenet@mailbox.org> - 2020-02-23 21:22 +0100

csiph-web