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


Groups > de.comp.editoren > #256

Re: emacs - Standardordner

From Helmut Waitzmann <nn.throttle@xoxy.net>
Newsgroups de.comp.editoren
Subject Re: emacs - Standardordner
Date 2020-02-22 18:34 +0100
Organization albasani.net
Message-ID <878skuedax.fsf@helmutwaitzmann.news.arcor.de> (permalink)
References <m2imjy53ei.warhorse@cmschueller.my-fqdn.de> <875zfyrht3.fsf@eswe.dd-dns.de> <m2k14evowb.warhorse@cmschueller.my-fqdn.de>

Show all headers | View raw


Clemens Schüller <cs.usenet@mailbox.org>:
>Stefan Wiens schrieb am 22. Feb. 2020 um 12:23:
>> Clemens Schüller <cs.usenet@mailbox.org> writes:

>> (setq-default default-directory "~/") 
>>
>> (Hinweis in elisp.info: 11.10.1 Introduction to Buffer-Local Variables) 
>>
>
>Nein, tut auch nicht: 
>

Tut immerhin, was es soll, denn „global value is "~/"“ (nur 
scheint das nichts zu nützen):

>--8<---------------cut here---------------start------------->8---
>default-directory is a variable defined in ‘C source code’.
>Its value is "/"
>Local in buffer *GNU Emacs*; global value is "~/"
>
>  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’.
>--8<---------------cut here---------------end--------------->8---

Ich habe leider keine Erklärung für das bemängelte Verhalten, nur 
ein paar Fragen, die vielleicht helfen, die Ursache zu finden:

In welchem Arbeitsverzeichnis startest du den Emacs? 


Hast du vielleicht in der Emacs‐Konfiguration irgendwo ein 
„cd“‐Kommando stehen?

Wie verhält sich der Emacs, wenn du ihn mit der Option 
„--no-init-file“ startest?

Und wenn du zusätzlich noch die Option „--no-site-file“ 
hinzunimmst?

Wird dem Emacs Zugriff auf das Verzeichnis „~/“ und die Datei 
„~/.emacs“ erlaubt?

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