octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: edit.m: patches to restore and fix old behavior for new files


From: Ben Abbott
Subject: Re: edit.m: patches to restore and fix old behavior for new files
Date: Wed, 18 Apr 2012 20:27:43 -0400

On Apr 18, 2012, at 4:55 PM, Mike Miller wrote:

> Could be, I believe this is the change that stopped creating new files
> in HOME and just edits them in pwd:
> 
> http://hg.savannah.gnu.org/hgweb/octave/rev/2ce6b4258e96#l2.155
> 
> Ben, was this intentional?

Yes, it is intended that the default working directory be pwd ().

> If so, why was that changed but still copy existing function files into HOME 
> (line 184, same changeset)?

hmmm ... do you have write privilege to the m-file you tried to edit ?

If the file is modifiable in place then it will opened in its original 
location. If you do not have write privilege, then a copy is opened in HOME.

Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]