Working with the GUI under emacs is something I have long wanted to do and, as Raul suggests, there is no reason we should not be able to. Looking back, I see some early work I did on this some time ago but which I have not continued: https://code.jsoftware.com/wiki/NYCJUG/2005-04-12#Part_1:_the_Event-Loop_Horizon .
Please take a look and let me know what you think. On Wed, Nov 3, 2021 at 11:46 AM Raul Miller <[email protected]> wrote: > Conceptually, yes. > > After all, the entire system is packaged as binary libraries, and J > provides simple facilities for calling into other libraries (and for > being called from other libraries...). > > That said, you would be breaking new ground here, parts of it would > not be easy, and likely you would encounter occasional on-going > version drift issues. You might also need to dip into C and/or emacs > lisp for some issues. > > Also, getting it working for yourself would be just the first step. > Once you had it functioning well, there would be the realm of getting > it to deploy efficiently for other people (assuming you wanted to go > there). > > Good luck, > > -- > Raul > > On Wed, Nov 3, 2021 at 11:37 AM Samir <[email protected]> wrote: > > > > Excuse me for bringing a question in mind to this thread. I'm using > emacs, is there anyway I can develop GUI app in emacs instead of Qt editor? > Like can I use wd in script written and ran with emacs and j-mode? > > > > > > > > > > > > > > Original Message > > > > > > From: [email protected] > > Sent: November 3, 2021 5:17 PM > > To: [email protected] > > Reply-to: [email protected] > > Subject: Re: [Jprogramming] JQt terminal development environment > > > > > > Mike, yes, that was what I meant. I did not think of that combo though I > > did use Sharp for a number of years. > > Thanks! > > > > On Wed, Nov 3, 2021 at 10:51 AM 'Mike Day' via Programming < > > [email protected]> wrote: > > > > > Devon, in your initial msg, you mentioned > > > “Anyway, for really simple things I do in emacs, like recalling the > > > previous command...” > > > > > > You probably mean something else entirely, but just in case it helps, > > > the hot key combination ctrl-shift-up arrow goes back up previous > commands; > > > ctrl-shift-down moves back to the present. Iirc, this feature was > > > available in J from the very beginning, inherited from Sharp APL, or > the > > > like, I believe. > > > > > > Sorry if I’ve misunderstood the question! > > > > > > Mike > > > > > > Sent from my iPad > > > > > > > On 3 Nov 2021, at 12:02, joseph turco <[email protected]> > wrote: > > > > > > > > I personally just use the console from terminal. The jQt is nice > though. > > > > > > > >> On Mon, Nov 1, 2021, 10:35 AM Devon McCormick <[email protected]> > > > wrote: > > > >> > > > >> Thanks, Bill. It's > > > >> wd 'set strength text ..' > > > >> The ID has to come first but this solved almost all the problems I > was > > > >> having with this bit of code. > > > >> I have something basically workable but with a number of flaws: > > > >> https://code.jsoftware.com/wiki/NYCJUG/2021-11-09#Show-and-tell . > > > >> > > > >>>> On Sun, Oct 31, 2021 at 9:11 PM bill lam <[email protected]> > wrote: > > > >>> > > > >>> The wiki page that you followed was written J602 wd commands. Jqt > wd > > > >>> commands adopted a similar but different syntax. J602 set command > > > always > > > >>> sets the 'text' property and is implied, but Jqt needs the explicit > > > >> 'text' > > > >>> because it can also set other properties, see wiki wd commands > > > reference. > > > >>> J602: > > > >>> > > > >>> wd 'set strength *entropy ',(":<.(".size)*2^.#alph),' bits' > > > >>> > > > >>> Jqt > > > >>> wd 'set text strength *entropy ',(":<.(".size)*2^.#alph),' bits' > > > >>> > > > >>> (untested) > > > >>> > > > >>> > > > >>>> On Mon, Nov 1, 2021 at 3:06 AM Devon McCormick < > [email protected]> > > > >>> wrote: > > > >>> > > > >>>> Hi, > > > >>>> > > > >>>> Does anyone use the JQt environment for J much? I'm taking a > stab at > > > >>>> updating and extending the code here: > > > >>>> https://code.jsoftware.com/wiki/User:Andrew_Nikitin/Literate . > > > >>>> > > > >>>> I want to see how suitable I find J for developing a GUI app. Now > > > that > > > >>>> I've started, I'm starting to wonder if I should have started > with a > > > >>>> web-based front-end instead but I thought it might be easier to > start > > > >>> from > > > >>>> something which presumably worked at some point. > > > >>>> > > > >>>> That aside, I'm finding it painful to use the JQt interface > compared > > > to > > > >>> my > > > >>>> normal custom of running J under emacs. I feel I have to use JQt > > > >> because > > > >>>> of the GUI component. I think I once got some GUI-based code > working > > > >>> under > > > >>>> emacs but that was years ago and would be too much of a > distraction > > > >> from > > > >>> my > > > >>>> immediate project. > > > >>>> > > > >>>> You can see what I've done so far here: > > > >>>> > https://code.jsoftware.com/wiki/NYCJUG/2021-11-09#What_I_Have_So_Far > > > . > > > >>>> This just brings up the initial window; none of the buttons work > > > except > > > >>> the > > > >>>> one to cancel the dialog. > > > >>>> > > > >>>> Anyway, for really simple things I do in emacs, like recalling the > > > >>> previous > > > >>>> command, it is not obvious how I would do this in JQt. At the > moment, > > > >>> I'm > > > >>>> working mostly in emacs and loading my code into JQt, so this may > have > > > >> to > > > >>>> be how I deal with it but I'm interested in other people's > experience > > > >>>> working with JQt. > > > >>>> > > > >>>> Thanks, > > > >>>> > > > >>>> Devon > > > >>>> > > > >>>> -- > > > >>>> > > > >>>> Devon McCormick, CFA > > > >>>> > > > >>>> Quantitative Consultant > > > >>>> > ---------------------------------------------------------------------- > > > >>>> For information about J forums see > > > http://www.jsoftware.com/forums.htm > > > >>> > ---------------------------------------------------------------------- > > > >>> For information about J forums see > http://www.jsoftware.com/forums.htm > > > >> > > > >> > > > >> -- > > > >> > > > >> Devon McCormick, CFA > > > >> > > > >> Quantitative Consultant > > > >> > ---------------------------------------------------------------------- > > > >> 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 > > > > > > > > > -- > > > > Devon McCormick, CFA > > > > Quantitative Consultant > > ---------------------------------------------------------------------- > > 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 > -- Devon McCormick, CFA Quantitative Consultant ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
