Pepe >The wrapping is imposed by the gMail send program _before_ actual sending. So >one can shorten debugging by sending and the immediately undo`ing*. And thus >seeing the results: quicker REPL.
By using this method one can quickly see how > at the beginning of a line affects the lines coherence through the send routine. >Another possible confoundment is i only use "plain text" mode. It is possible >that amongst the myriad forms of "rich text" the coherent long line has been >embraced out of existence. My view is that "Rich Text" is just a playing field >for those who can embrace ownership of our email by seeming extensions. To >keep my writings from being locked in to a single stream i keep them as >generic as possible. (But no more so). ---* >undo timing is a setable parameter in settings|general|undo ... But requires >the "Undo Send" lab. greg ~krsnadas.org -- from: Jose Mario Quintana <[email protected]> to: Programming forum <[email protected]> date: 9 May 2014 10:43 subject: Re: [Jprogramming] Simple tacit verbs problem >Thanks for the tip Greg; I remember now that you have mentioned this before. I >thought that this could provide the means for shielding scripts from the >dreadful Gmail wrapping but I tested it unsuccessfully by sending a message to >myself to another account (which is not a Gmail account). The wrapping was >still there even after preceding each line of the script with >. It obviously >works for you; perhaps the problem is that I manage my Gmail account using a >browser (IE). -- from: greg heil <[email protected]> to: Programming forum <[email protected]> date: 8 May 2014 07:09 subject: Re: [Jprogramming] Simple tacit verbs problem Pepe >One gets rid of the gMail "feature" by preceding everything one wants to keep >in one line with a > >It is true that someone down the line does not know this trick and allows >their MUA to willy nilly put >'s before many broken up lines. But as the >practice spreads the vagaries of machine "re"formating CAN be overcome. i >expect the use of >`s is to old and hoary for even young turk programmers to >try to foil it. greg ~krsnadas.org -- from: Jose Mario Quintana <[email protected]> to: Programming forum <[email protected]> date: 7 May 2014 13:57 subject: Re: [Jprogramming] Simple tacit verbs problem Raul wrote: >>" One was email induced line wrapping. I did not realized I had overlooked >>that until I tried some of your expressions and received a domain error. " >I did not even think of issuing the customary warning. I find this Gmail >“feature" very annoying and I have not found a way to turn it off. Is there >any way? >>" The other was your use of =. instead of =: which I realized when I >>continued to experience that domain error when I was splitting execution of >>some expressions in a script and others interactively. " >I have the habit of using (=.) instead of (=:). Since I write tacitly I should >be indifferent; but, (=.) is easier to write. I am aware that sometimes within >a local environment (e.g., within Labs) there might be problems; but I use >interactively scripts (0!:…) and Ctrl-E (from within a script window) often >without any issues. I am still using the Windows IDE though. Can you elaborate >on the kind of problems that you encountered? -- On Sun, May 4, 2014 at 2:09 PM, Raul Miller <[email protected]> wrote: On Sun, May 4, 2014 at 12:21 PM, Jose Mario Quintana <[email protected]> wrote: 'X Y'=. 'X' ; 'Y' I see it now, thank you. >I should note also that I ran into two other problems hindering my initial >understanding of your post. >One was email induced line wrapping. I did not realized I had overlooked that >until I tried some of your expressions and received a domain error. >The other was your use of =. instead of =: which I realized when I continued >to experience that domain error when I was splitting execution of some >expressions in a script and others interactively. >I think the moral of the story here is that I rely on my ability to test code >to build my understandings of it. >That said, I also like to find fixes for problems I encounter, even if I >suspect no one else will ever encounter those problems nor have need of my >"fixes". So: 'X Y'=: 'X' ; 'Y' longdef=:3 :'0 !:0]0 : y -.LF' longdef 0 u=: ( '('"_ , 'u '"_ , ] , ')'"_ ) :( '('"_ , [ , ' u '"_ , ] , ')'"_ ) :.( ( '('"_ , 'u^:_1 '"_ , ] , ')'"_ ) :( '('"_ , [ , ' u^:_1 '"_ , ] , ')'"_ )) NB. ) longdef 0 v=: ( '('"_ , 'v '"_ , ] , ')'"_ ) :( '('"_ , [ , ' v '"_ , ] , ')'"_ ) :.( ( '('"_ , 'v^:_1 '"_ , ] , ')'"_ ) :( '('"_ , [ , ' v^:_1 '"_ , ] , ')'"_ )) NB. ) (i:999) ( X&u -: X&u@]^:[ ) Y Thanks, --- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
