Questions tagged [symbolic-links]

Following or manipulating symbolic links in the underlying file system.

Filter by
Sorted by
Tagged with
0
votes
0answers
53 views

How to resolve symlinks when visiting an individual non version controlled file

Emacs takes care that symlinked files are resolved before visiting a version controlled file. This behavior is set by vc-follow-symlinks, which is by default "ask". One can set it to nil, but even ...
1
vote
1answer
50 views

Is there a way to highlight symlinks in the speedbar?

I would like files in the speedbar that are symlinks, to be highlighted, or at least marked with @ so that they are easily distinguishable.
0
votes
1answer
47 views

Treat symbolic-link as separate files while visiting

Is there a way to make Emacs visit already visited file(with active buffer) via symbolic-link as a different file? I want them(links/file paths) to be visited by different buffers. It will be best if ...
6
votes
1answer
365 views

Follow symlinked directories in Dired

On a Linux machine I symlink some directories into my home directory like this: /home/mrdarcy: total used in directory 231 available 520120 drwxrwxr-x 3 4k 04-30 18:16 bin drwxr-xr-x 2 4k ...
1
vote
1answer
90 views

What are the '.#' links for? [duplicate]

When an Emacs buffer is modified, a broken link is created. The link's name is a concatenation of '.#' followed by the file's name. For example: $ ls .#spacemacs_ref.org -l lrwxrwxrwx. 1 wolfv wolfv ...
0
votes
1answer
40 views

.emacs linked to emacs.link,open emacs.link in emacs-lisp mode

Say I have a symbolic link .emacs link to emacs.link,so when I open emacs.link,the associated buffer's major mode is Fundamental mode. I want emacs.link's major mode Emacs-Lisp. Another example is: ...
0
votes
2answers
133 views

Hide symlink destination in ls-lisp output?

By default Emacs' ls-lisp shows the symlink destination in its output like this: /tmp: total used in directory 2 available 12933091 lrwxr-xr-x 40 02-07 16:12 foo -> bar -rw-r--r-- 0 03-06 14:45 ...
1
vote
0answers
103 views

Mac OS X problem accessing file via symlink

GNU Emacs 24 on El Capitan. When opening a file whose path includes a directory which is a symlink, Emacs emits the following error: *ERROR*: Wrong type argument: numberp, "Bus error: 10" If I ...
1
vote
1answer
351 views

Hard and soft links (junctions) under Windows

Let us assume to run the following commands creating links in the Windows prompt (terminal): > mkdir fooDir > echo hello> fooDir\foo > mklink /d fooDirSym fooDir > mklink /j fooDirJunc ...
4
votes
2answers
631 views

How to make vc-* and magit treat a symbolic link to a real file in git repo just like the original file?

Say, I got ~/.emacs which is a soft link to ~/.emacs.d/init.el(using ln -s ~/.emacs.d/init.el ~/.emacs) which is in a git repo, because this will make it easier to reach init.el, outside or inside ...
6
votes
2answers
463 views

Stop dired opening second window of already open directory

When I open a directory using dired and there is already the same directory opened in dired, a second one is opened with <2>. How can I inhibit this creation of the duplicate window and switch ...