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


Groups > de.comp.editoren > #257

Re: emacs - Standardordner

From Clemens Schüller <cs.usenet@mailbox.org>
Newsgroups de.comp.editoren
Subject Re: emacs - Standardordner
Date 2020-02-22 18:49 +0100
Message-ID <m2a75av7fb.warhorse@cmschueller.my-fqdn.de> (permalink)
References <m2imjy53ei.warhorse@cmschueller.my-fqdn.de> <875zfyrht3.fsf@eswe.dd-dns.de> <m2k14evowb.warhorse@cmschueller.my-fqdn.de> <878skuedax.fsf@helmutwaitzmann.news.arcor.de>

Show all headers | View raw


Servus!

Helmut Waitzmann schrieb am 22. Feb. 2020 um 18:34:
> 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? 

Dieser emacs rennt auf einem iMac, ist aus den git Sourcen gebaut und
wird über Spotlight gestartet.

Eines ist aber interessant - wenn ich den emacs aus dem Terminal raus
starte, passen die "Werte"

--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---


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

Ein schnelles grep hat nichts gefunden.


> 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?

Siehe oben


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

Wenn ich die Pfade mit der Hand "reinprügle" kann ich die
Verzeichnisse/Dateien problemlos öffnen.




-- 
Beste Grüße, Clemens Schüller

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