Talking about different keyboard layouts:
why not take a programmable keyboard?
I have a couple of ergodoxes lying around here.
Making them behave the way I want them to,
switching back and forth between layers,
is fun and makes for more efficient typing.
On the software side, I actually do switch
layouts regularly. When I’m not at my own
machine, I introduce myself to the shell by
setxkbmap de neo
and switch back afterwards to whatever they
use to have.
Just the way /I/ am trying to liberate my
thounghts from hardware vendors’ prejudices
of what my fingers do or don’t like typing.
Am 01.09.21 um 20:52 schrieb Gilles Kirouac:
Concerning the Toggle Comment Ctl+/ and Toggle Note Ctl+Shift+/ features
With my French-Canadian keyboard driver, I can do Ctl+/ using
Ctl+Shift+3 since / is uppercase 3 on that kb.
But Toggle Note poses a problem. Some Russian and Serbian images likely
have a similar problem.
Is there a workaround besides switching to a US kb for all my work in J
(which is not tempting at all)?
I am NOT asking for a change.
Thanks for your reply.
~ Gilles
Le 2021-09-01 à 12:33, Don Guinn a écrit :
I usually put a title for the comments in the quotes argument of Note.
On Wed, Sep 1, 2021, 8:35 AM R.E. Boss <[email protected]> wrote:
Didn't know Note (much more from stdlib is new to me ☹), but I will
become
a heavy user.
Most of my comments went unnoticed (!) because I did not like commenting
each line.
Ctrl+Shift+/, that it is.
Thnx!
R.E. Boss
-----Original Message-----
From: Programming <[email protected]> On
Behalf Of
Ric Sherlock
Sent: woensdag 1 september 2021 08:52
To: Programming JForum <[email protected]>
Subject: Re: [Jprogramming] Multiline comments WAS: break from loading a
script with 'load'
I like the proposed: NB.(
Would it be closed with: )
Apart from more consistent "naming", what are the other benefits of
multiline comments as a feature that currently aren't provided by
{{)n or 0
: 0?
Currently I use Note, a variation on 0 : 0 from the stdlib (
https://code.jsoftware.com/wiki/Standard_Library/stdlib#Note) as
mentioned in the other thread by Chris Note ''
this line is a comment
so is this one
)
There is shortcut support for this in the JQt editor (Toggle using
Ctrl+Shift+/)
The J extension for VSCode will also highlight these sections as
comments
(Alt+Shift+a to set as Note)
On Wed, Sep 1, 2021 at 3:49 AM Henry Rich <[email protected]<mailto:
[email protected]>> wrote:
The comment delimiter will always be NB. and comments will always run
to the end of the line.
Multiline comments would be useful. So far we use 0 : 0 or {{)n to
get that effect. Having NB.( or the like to start a multiline comment
would be useful. We can keep this topic open.
Henry Rich
On 8/31/2021 11:41 AM, Hauke Rehr wrote:
So this is open for silly ideas?
Multiline comments ought to be nestable.
Personally, I like the way lua does it.
Both multiline strings and comments work like this:
[[
an example string
spanning two lines
]]
[=[
… and
another one
]=]
[====[
as many = signs as you want,
so [[nesting]] is done by increasing = count ]====]
-- a single line comment
--[[
an example comment
spanning two lines
]]
--[=[
… and
another one
]=]
--[====[
which may be --[[nested]]
the same way;
]====]
Maybe using {={ … }=} etc?
It doesn’t need to be = but I like that way
of making comments nestable.
Am 31.08.21 um 17:28 schrieb Henry Rich:
I have wanted this often. If we could reach consensus on what the
best end-marker would be, I'll look into putting it in.
Henry Rich
On 8/31/2021 8:27 AM, 'Rudolf Sykora' via Programming wrote:
Dear list,
if I load a (longer) script, I sometimes want to ignore a part of it
beyond a certain line. Is there a way to achieve that gracefully? (I
sometimes just add something syntactically wrong to stop there,
on an
error).
Thank you.
Ruda
----------------------------------------------------------------------
For information about J forums see
http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
----------------------
mail written using NEO
neo-layout.org
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm