jed-users mailing list

[2013 Date Index] [2013 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] editing symbolic links


On Thu 2013-04-11 (11:40), John E. Davis wrote:

> > When I edit a file via a symbolic link, I would like to see in jed the
> > real file name.
> 
> It used to be that way.  It was changed because there are apparantly
> some version control systems whose checked-out files are symbolic
> links to files with random names, e.g.,
> 
>    /home/me/proj/foo.c -> /var/cache/vcs/proj/32277BCAAC

BAD situation!
In this case the current jed behaviour is better, no question!


> Using the real file name in this case is not the thing to do.  Also
> should jed handle the following situation when editing foo?
> 
>    foo -> /tmp/bar
>    bar

Yes, I would like to have it this way.

What about a configuration variable how jed should handle symlinks?
So, every user could decide which way symlinks are handled.
The current behaviour should be default, to minimize user confusion.


> About backups: jed's standard way of doing backups for the first
> example would be to move the file 32277BCAAC to 32277BCAAC~, and then
> overwriting 32277BCAAC with the new version:

Yes.


> (Now that I think about it more, I believe jed should also create a
>  link foo.c~ to 32277BCAAC~.  Currently it does not).

Good idea!


> I believe that you are now using backups.sl. 

I started with backups.sl some days ago, but regarding this symlink
question I did not use it.
Meanwhile I use my own versions.sl with a different naming scheme.
See my other mail.


> I will also see if I can make the behavior that you want with respect
> to the real filename configurable.

Great!



> I hope this clarifies things a bit.

As always! :-)

-- 
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: <201304111540.r3BFeHZd032121@xxxxxxxxxxxxxx>
_______________________________________________
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]