4:10:55jack_rabbithmmmm.... Does the clim copy/paste stuff include a "copy from clim" functionality?
4:12:16jack_rabbitI don't understand X selection ownership stuff that well, but It looks like when you make a selection, XLIB:SET-SELECTION-OWNER is called. I thought that did the trick for creating a past-able thing.
4:12:41jack_rabbitI can select things, and paste things into mcclim, but I can't copy *from* mcclim.
4:23:42lokeI'm trying to render a mathematical fraction. I have an output record representing the top part, and and other output record representing the bottom part. I now need to render the top part, centred, as well as the bototm one, with a line between. Sounds simple, and I've managed to figure out how to get the dimensions of the output records so that I can compute the coordinates for centering.
4:23:56lokeHowever, how do I draw an output record at a given position?
4:24:27jack_rabbitI have absolutely no idea, sadly.
4:24:38lokeOK, I have to wait for beach or JD then.
4:25:04jack_rabbit:) Sorry, my exploration hasn't led me to that sort of drawing yet.
4:27:16beachloke: The way you do this is to go to the bauhh site, type output-record in the apropos window, and then look at the list. You will then see (setf* output-record-position), Generic Function.
4:29:01lokeWell, remember I can't access that site from my office. :-(
4:29:27beachYou can make a copy of it. I did, just in case it might disappear one day.
4:29:41beachI didn't want the annotations to be lost.
4:29:54lokeEven if I could, I likely wouldn't have found it, since I didn't realise the position was a propery of the output record itself. I thought you painted an output record at a given position, thus I assumed that the STREAM-ADD-OUTPUT-RECORD function would have a :POSITION parameter or something to that effect.
4:34:53beach:x-position :y-position ... All subclasses of either output-record or displayed-output-recrod must handle these ... initargs. So you are right, the position is not a property of the stream it is contained in, but of the output record itself.
4:35:57lokeLearning this actually explains a lot of the issues I've had with this. :-)
5:15:29lokeI render it in the centre of the screen right now, because I haven't figured out where to put it. I need to do something with the cursor position I guess?
5:18:07lokeWe have a large office in china, as well as officvies is Tokyo, Australia and Korea too. And one guy in India and another few peopele in Hong Kong
5:25:38nyef"The US government is doing those things that it ought not to do, and leaving undone those things that ought to do, and there is no health in it"?
5:25:42lokeProbably because of this: https://www.reddit.com/r/singapore/comments/8670mi/changi_voted_worlds_best_airport_for_6th/
5:28:26lokeAh found one: https://www.reddit.com/r/singapore/comments/867cxt/thats_one_way_to_keep_the_seat_in_front_of_you/
5:29:35beachOh, I hate it when people put their dirty shoes on the seats of public transportation. A lot of French teenagers do that.
5:30:26beachOnce I took a picture of a teenager doing that, and he looked like he was going to beat me up and take my camera.
5:32:34lokebeach: how can I add some horizontal spacing? Smaller than just (write-string " ")
5:47:14lokebeach: well, I have a function that is responsible for rending X-Y, and I need to add a bit of spacing around the minus symbol
5:47:43red-dotSingapores are a close second, only to the British, in their ability to complain.
5:48:01red-dotAnd let's not get started on Kia-su !
5:48:52beachloke: The only way I can think of is to split up the three components into separate output records and to render them separately at the right position, possibly with narrow rectangular output records between them.
5:54:21lokeAnother issue: When I draw an output record, it always ends up at position (0,0). I want to draw it at the cursor position, and I'd like the cursor to be placed after the output record afterwards. I.d. I want drawing the output record to be just like drawing any other object on the stream (like, text).
5:58:36lokeThe minus sign in the default font is too narrow anyway. Looks bad.
5:59:07lokeAlso, I need to special-case the rendering of minus, since the internal representation of subtraction is ((PLUS) X ((MMINUS) Y))
6:00:17lokehmm... but... The maxima text based interface renderis it as a-b (as opposed to a+-b). I wonder if they actually special-case that or if they call some magis simplication functiuon before printing.
7:21:17beachIn fact, we should probably stick to #clasp for these discussions. jackdaniel is not that happy about using #clim for just about anything. :)
8:37:25beachjackdaniel: "advice" is a substance in English, so it has no plural form, just like water, air, etc. You need to use "a piece of advice" in singular, but you can use "advice" to main any number of such pieces of advice.
8:37:39beachACTION felt like giving a short English lesson today. :)