Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [symbolic-links]

Following or manipulating symbolic links in the underlying file system.

6
votes
1answer
219 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
71 views

What are the '.#' links for?

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
38 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
103 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
81 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
326 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
584 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
429 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 ...