> BTW, as and while I'm still using EDIT for the time being, if I have a number of edit sessions in various tabs, have focus on one, close it (with alt-F C, say) , switch to term, do something there and then return to edit, the edit window returned to doesn't have focus until I click in it, even though the cursor is showing there. All Windows 8.1 . May be intentional, but always takes me by surprise.
Thanks - this is not intentional. I'll take a look. On 25 July 2015 at 16:12, Mike Day <[email protected]> wrote: > Thanks, Chris. > > OK - I'll have a look. I suppose I was put off by the complications > in J4 and J5, when I last created and used projects in earnest. > > BTW, as and while I'm still using EDIT for the time being, if I have > a number of edit sessions in various tabs, have focus on one, > close it (with alt-F C, say) , switch to term, do something there > and then return to edit, the edit window returned to doesn't > have focus until I click in it, even though the cursor is showing > there. All Windows 8.1 . May be intentional, but always takes > me by surprise. > > Thanks again, > > Mike > > On 25/07/2015 23:50, chris burke wrote: > >> Mike >> >> Yes, you should use Projects (and Folders). These are just names for >> directories, so for example, if you have some stats scripts in directory >> called stats, you can just open stats from the Project open dialog and see >> all your scripts. >> >> The main benefit is easy navigation through your source code (and not >> building standalone scripts). A secondary benefit is automatic script and >> project snapshots, so you can track recent changes to the scripts. >> >> When I use J, it will invariably be with an open project. Even my ~temp >> directory is a project. >> >> Projects had an overly complicated definition up to J6. There was a >> complete rewrite for J7, and the new system is much simpler and easier to >> use. >> >> All the core J library scripts and most of the addons are in projects. >> >> See www.jsoftware.com/jwiki/Guides/Folders%20and%20Projects . >> >> >> Chris >> >> On 25 July 2015 at 15:06, Mike Day <[email protected]> wrote: >> >> Thanks, Chris. >>> >>> Your remarks elsewhere appear to show that you expect users to >>> exploit the project menu rather than the edit menu. >>> >>> I've always used the edit menu - it's never occurred to me that I >>> should use the project menu. I'd thought it was to be used for >>> developing stand-alone applications; I did use it nearly 20 years >>> ago for an application I rolled out at work for several >>> non-programmer food-scientist colleagues, but I hadn't seen its >>> point for small scripts run within a J environment. >>> >>> So- do you deprecate my method of use? - given a mathematical >>> (usually) problem, ctrl-N to open a new edit tab; type in verbs and >>> nouns and NB. comments, and alt-R W or ctrl-L to (re)load the script, >>> run a function or many, go back to the edit window and change a >>> few things etc. At some stage, usually soon after creating the edit >>> window, I've saved as ...ijs in ~user. >>> >>> I'm not aware of any recent advice or instruction on using the Project >>> menu, but I must admit I hadn't been looking for it! >>> >>> I know other modern IDEs expect me to use projects etc - I invariably >>> misunderstand them and get in a frightful muddle, and try to persuade >>> the IDE to let me do compile and run, or load and go when it's Salford >>> (now Silverfrost) Fortran. >>> >>> Thanks for all the help, >>> >>> Mike >>> >>> >>> >>> On 25/07/2015 14:29, chris burke wrote: >>> >>> 1. >>>> >>>> As for 0) - I (nearly) always want to open in ~user, so have to go up >>>>> a >>>>> >>>>> level every time I use open (in editor) - or perhaps the Edit open >>>> menu >>>> could include an Open User option as does the Term window. >>>> >>>> I was concerned that the File menus would have too many entries, but >>>> perhaps both in Edit and Term, it should have the current "Open temp >>>> (Ctrl+O)" plus a subdirectory "Open in directory" which would point to >>>> all >>>> the standard directories (user/addons/system/home/current/last used). >>>> >>>> 2. >>>> >>>> I think one such oddity is that if you create a new script and save it, >>>>> >>>>> it doesn't appear next time in recent files - that list seems >>>> reserved >>>> to >>>> files previously opened, not created. >>>> >>>> Right. I see that a new Temp appears in recent, but not the "Save As" >>>> script. This needs to be fixed. >>>> >>>> 3. >>>> >>>> Another oddity is when I close a file in the editor when several script >>>>> >>>>> files are open and tabbed. I think the tab keeps the name of the >>>> closed >>>> file, not the file that gets revealed - that might not be quite correct, >>>> but something similar, and unexpected, happens. >>>> >>>> Thanks for pointing it out. The tab name is OK, but the window title >>>> needs >>>> to be updated. >>>> >>>> >>>> On 25 July 2015 at 01:56, Mike Day <[email protected]> wrote: >>>> >>>> I agree with Jan-Pieter: >>>> >>>>> As for 0) - I (nearly) always want to open in ~user, so have to go up >>>>> a >>>>> level >>>>> every time I use open (in editor) >>>>> - or perhaps the Edit open menu could include an Open User option as >>>>> does >>>>> the Term window. >>>>> >>>>> and re 1)- various odd things happen which one means to record and >>>>> forgets. >>>>> They're irritating but it's not of course world-shaking if they remain. >>>>> >>>>> I think one such oddity is that if you create a new script and save it, >>>>> it doesn't >>>>> appear next time in recent files - that list seems reserved to files >>>>> previously >>>>> opened, not created. >>>>> >>>>> Another oddity is when I close a file in the editor when several script >>>>> files >>>>> are open and tabbed. I think the tab keeps the name of the closed >>>>> file, >>>>> not the file that gets revealed - that might not be quite correct, but >>>>> something >>>>> similar, and unexpected, happens. >>>>> >>>>> Thanks, >>>>> >>>>> Mike >>>>> >>>>> On 25/07/2015 08:45, Jan-Pieter Jacobs wrote: >>>>> >>>>> I've got some other file related ideas I've been thinking of sending >>>>> in: >>>>> >>>>>> 0) I would find it very nice if we would have file>open open either >>>>>> the >>>>>> current directory (where J was launched) or the last directory a file >>>>>> has >>>>>> been opened in. Now the default (and only option as far as I can see) >>>>>> is >>>>>> opening in ~temp. As temp is meant for temporary files, most of my >>>>>> files >>>>>> are stored elsewhere on my disk. This could save a lot of time >>>>>> navigating >>>>>> around. >>>>>> >>>>>> 1) There's a slight bug in updating the window title in the editor: >>>>>> if a >>>>>> file is closed, the window title is not updated accordingly. >>>>>> >>>>>> Kind regards, >>>>>> >>>>>> Jan-Pieter >>>>>> >>>>>> 2015-07-25 1:46 GMT+02:00 'Pascal Jasmin' via Beta < >>>>>> [email protected] >>>>>> >>>>>>> : >>>>>>> >>>>>> As a compromise, how about adding files I create with New (in >>>>>> editor) >>>>>> to >>>>>> >>>>>> recent files? >>>>>>> >>>>>>> Usually the only files I would open through menus are in >>>>>>> system/addons. >>>>>>> If I create 20 new files since the last time I opened an addon, then >>>>>>> I >>>>>>> probably don't need that older file in my list. In most versions of >>>>>>> J, I >>>>>>> do not have 20 files in my recent list. >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: chris burke <[email protected]> >>>>>>> To: Beta forum <[email protected]> >>>>>>> Cc: >>>>>>> Sent: Friday, July 24, 2015 11:23 AM >>>>>>> Subject: Re: [Jbeta] recent files >>>>>>> >>>>>>> We could do this, but I was concerned that adding all the files >>>>>>> opened >>>>>>> in >>>>>>> normal use of the editor would swamp the recent files list. Usually, >>>>>>> I >>>>>>> would only be interested in files opened outside the editor. >>>>>>> >>>>>>> After all, it is easy to navigate to any file recently opened in the >>>>>>> editor, with the recent project list and the fact that the opened >>>>>>> file >>>>>>> state is retained with each project. >>>>>>> >>>>>>> On 24 July 2015 at 08:10, 'Pascal Jasmin' via Beta < >>>>>>> [email protected] >>>>>>> wrote: >>>>>>> >>>>>>> could files loaded from the editor's files tab (double click in >>>>>>> left >>>>>>> pane) >>>>>>> >>>>>>> show up in the recent files list (ctrl-G)? >>>>>>> >>>>>>>> >>>>>>>> ---------------------------------------------------------------------- >>>>>>>> For information about J forums see >>>>>>>> http://www.jsoftware.com/forums.htm >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> ---------------------------------------------------------------------- >>>>>>> For information about J forums see >>>>>>> http://www.jsoftware.com/forums.htm >>>>>>> >>>>>>> ---------------------------------------------------------------------- >>>>>>> For information about J forums see >>>>>>> http://www.jsoftware.com/forums.htm >>>>>>> >>>>>>> >>>>>>> >>>>>>> ---------------------------------------------------------------------- >>>>>>> >>>>>>> For information about J forums see >>>>>> http://www.jsoftware.com/forums.htm >>>>>> >>>>>> >>>>>> --- >>>>>> >>>>> This email has been checked for viruses by Avast antivirus software. >>>>> https://www.avast.com/antivirus >>>>> >>>>> ---------------------------------------------------------------------- >>>>> For information about J forums see http://www.jsoftware.com/forums.htm >>>>> >>>>> >>>>> ---------------------------------------------------------------------- >>>>> >>>> For information about J forums see http://www.jsoftware.com/forums.htm >>>> >>>> >>>> --- >>> This email has been checked for viruses by Avast antivirus software. >>> https://www.avast.com/antivirus >>> >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >>> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> >> > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
