- Subject: Re: [Jed-users-l] editing symbolic links
- From: Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 11 Apr 2013 09:25:51 +0200
On Wed 2013-04-10 (09:09), Ulli Horlacher wrote:
> > When I edit a file via a symbolic link, I would like to see in jed the
> > real file name.
(...)
> Therefore I want that jed loads /sw/share/fstools-0.0/bin/fexsend into the
> buffer when I open /client/bin/xx for editing. This would not only correct
> the backup~ bug, but I would also see the filename which is real edited.
I found a solution by myself:
I copied the functions patch_cmdline_file() and command_line_hook() from
site.sl to defaults.sl.
In the new patch_cmdline_file() I changed
return file;
to
return expand_symlink(file);
Works for me :-)
Is there a better solution?
--
Ullrich Horlacher Informationssysteme und Serverbetrieb
Rechenzentrum IZUS/TIK E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Universitaet Stuttgart Tel: ++49-711-68565868
Allmandring 30a Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
REF: <20130410070917.GA5146@xxxxxxxxxxxxxxxxxxxx>
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l
[2013 date index]
[2013 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]