freenode/#clim - IRC Chatlog
Search
11:24:44
jackdaniel
should do-command-table-inheritance visit the same command table multiple times? (assuming, that it is part of inherit-from of two different command tables in the same inheritance tree)
11:26:39
jackdaniel
probably yes, because inherit-menu chain may be different depending on the path, and if we want to collect all menu items, we need to visit both then
15:54:52
loke
jackdaniel: I haven't worked on CLimaxima in a while (a few months) and I went back to it today. Something have changed in McCLIM that stops my input handling from working. Before I start dissecting, do you happen to know which change caused it? I note that CLIMI::LAST-GESTURE is no longer available.
15:59:54
jackdaniel
that's internal symbol for you ,) yes, things got changed during input stream refactor
16:00:26
jackdaniel
last-gesture is not hold, unread-gesture simply prepends unread object onto the queue
16:01:17
loke
Basically, when you type Shift-Return, a new line should be added, but when you just press Return, it should submit the entry.
16:02:48
loke
And that is controlled by maxima::$submit_on_return. If it's true, it should have that behaviour I just described, but if it's false then submit should only happen if you trpe return while the last character on the input line is a ; or $
16:03:55
loke
Now, if this is possible without digging into internal API's, that's of course a lot better :-)
16:04:53
jackdaniel
I see that the problem is that x11 does not send an event as "return + shift-modifier", it just sends return
16:06:08
loke
Now to be fair, I'd be OK with changing Shift-Return to Meta-Return or Control-Return but if I recall correctly, both of those had the same problem.
16:09:13
loke
Hmm... But wait a minute. I'm checking with xev, and the "state" flag changes for Shift, Meta and COntrol