Questions tagged [symbolic-links]

Following or manipulating symbolic links in the underlying file system.

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

Follow symbolic links in alternative org-roam directory

I use org-roam to take notes. I have two org-roam directories. The alternative one has a .dir-locals.el file where I set the value of org-roam-directory and org-roam-db-location with the path to the ...
NandKN's user avatar
  • 73
0 votes
1 answer
61 views

prevent symbolic link follow from git repo HOWTO

I have git repo here: ~/git/myrepo/ then I do: ln -s ~/external_dir ~/git/myrepo emacs follows symbolic link when opening the file: ~/git/myrepo/external_dir/somefile.txt I'd like to prevent it, ...
vibrys's user avatar
  • 21
2 votes
1 answer
393 views

How to show current directory in Dired with symlinks resolved

I have ~/bin -> ~/some/long/path/bin. When I open ~/bin in Dired, it tells me at the top that it is looking at /Users/username/bin, i.e. it expands '~' in the current directory printed on the ...
spepo's user avatar
  • 21
0 votes
1 answer
130 views

Emacs completion through symlink (OSX)

I have a symlink on my Desktop that points to my Dropbox folder. Clicking on this link takes me through to Dropbox, which is located elsewhere. But if I try navigating to ~/Desktop/Dropbox using Emacs,...
Adam's user avatar
  • 1,887
1 vote
0 answers
44 views

Can Dired (or Dired+) detect symlinks in Windows?

Can Dired(+) be made to show symlinks in Windows? A picture is worth a thousand words:
kotchwane's user avatar
  • 491
1 vote
1 answer
76 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.
Don's user avatar
  • 113
0 votes
1 answer
417 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 ...
JAre's user avatar
  • 175
7 votes
1 answer
1k 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 ...
halloleo's user avatar
  • 1,311
2 votes
1 answer
160 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 ...
wolfv's user avatar
  • 1,393
0 votes
1 answer
71 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: ...
Vacker's user avatar
  • 11
0 votes
2 answers
332 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 ...
Make Mark's user avatar
  • 141
1 vote
0 answers
148 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 ...
Daniel's user avatar
  • 196
1 vote
1 answer
548 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 ...
antonio's user avatar
  • 1,792
4 votes
2 answers
992 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 ...
CodyChan's user avatar
  • 2,609
6 votes
2 answers
677 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 ...
Rainer's user avatar
  • 907