Re: [Chicken-users] parley improvements
Hello Christian, Thanks for that, parley is really useful! I'm using parley for my everyday Chickening. I just have a small comment regarding regarding the prompt. When I do this: [klm@kth ~]$ csi -q #;1 (begin ;; each line produce ;; a '' mark (void)) #;2 #;2 ^D Those '' prompts are really quite handy. However, when I run csi from emacs as inferiour-scheme, it's not so useful because the '' end up on the same line, and I don't care that there were multiple lines involved. In my emacs buffer, if I evaluate the same sexp as above, I just get this: #;1#;2 What I'd like to see is this: #;1 #;2 So how about an option to turn those '' off, and perhaps place that newline before each prompt? Maybe there is something to fix this already in the docs, but I haven't found anything. This is my ~/.csirc: ;; -*- scheme -*- (use parley) (let ((old (current-input-port))) (current-input-port (make-parley-port old))) Cheers, K. On Tue, Aug 6, 2013 at 3:10 PM, Christian Kellermann ck...@pestilenz.orgwrote: Hello Chicken users! This is a public service announcement for the parley egg: I will commence working on long outstanding bugs inthe parley module. To make things nice for everyone I would appreciate it if you could send me reports of odd behaviour and other wishlist items you have encountered when working with parley. I will first collect them and work them off in the usual robot fashion. Yours truly, Christian -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothing can surpass it. --- Lao Tzu ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] parley improvements
* Kristian Lein-Mathisen kristianl...@gmail.com [130808 18:23]: Hello Christian, Thanks for that, parley is really useful! I'm using parley for my everyday Chickening. I just have a small comment regarding regarding the prompt. When I do this: [klm@kth ~]$ csi -q #;1 (begin ;; each line produce ;; a '' mark (void)) #;2 #;2 ^D Those '' prompts are really quite handy. However, when I run csi from emacs as inferiour-scheme, it's not so useful because the '' end up on the same line, and I don't care that there were multiple lines involved. In my emacs buffer, if I evaluate the same sexp as above, I just get this: #;1#;2 What I'd like to see is this: #;1 #;2 So how about an option to turn those '' off, and perhaps place that newline before each prompt? Maybe there is something to fix this already in the docs, but I haven't found anything. This is my ~/.csirc: ;; -*- scheme -*- (use parley) (let ((old (current-input-port))) (current-input-port (make-parley-port old))) Can you please try HEAD from the bitbucket repo and see whether this fixes your issue? git clone https://bitbucket.org/ckeen/parley.git With this code, parley does nothing clever with the prompt when we have a dumb terminal, i.e. when stdin is not a tty. Thanks, Christian -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothing can surpass it. --- Lao Tzu ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] parley improvements
Dumb terminal, that's a much better idea! It's working too, thanks a lot Christian. But I found another bug, I don't know where it was introduced: [klm@kth parley]$ csi -q #;1 (define x) Error: unbound variable: definex Call history: syntax (definex) eval (definex)-- #;1 ^D K. On Thu, Aug 8, 2013 at 8:55 PM, Christian Kellermann ck...@pestilenz.orgwrote: * Kristian Lein-Mathisen kristianl...@gmail.com [130808 18:23]: Hello Christian, Thanks for that, parley is really useful! I'm using parley for my everyday Chickening. I just have a small comment regarding regarding the prompt. When I do this: [klm@kth ~]$ csi -q #;1 (begin ;; each line produce ;; a '' mark (void)) #;2 #;2 ^D Those '' prompts are really quite handy. However, when I run csi from emacs as inferiour-scheme, it's not so useful because the '' end up on the same line, and I don't care that there were multiple lines involved. In my emacs buffer, if I evaluate the same sexp as above, I just get this: #;1#;2 What I'd like to see is this: #;1 #;2 So how about an option to turn those '' off, and perhaps place that newline before each prompt? Maybe there is something to fix this already in the docs, but I haven't found anything. This is my ~/.csirc: ;; -*- scheme -*- (use parley) (let ((old (current-input-port))) (current-input-port (make-parley-port old))) Can you please try HEAD from the bitbucket repo and see whether this fixes your issue? git clone https://bitbucket.org/ckeen/parley.git With this code, parley does nothing clever with the prompt when we have a dumb terminal, i.e. when stdin is not a tty. Thanks, Christian -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothing can surpass it. --- Lao Tzu ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] parley improvements
Sorry, that email went off a little too quick. In the example I sent, I start csi with parley in my csirc, and type (define, then hit enter, type x). I would expect that to work, defining x as (void). This may be a better illustration of the problem, however: [klm@kth parley]$ csi -q #;1 (begin 1 2 ) 12 Now I'm getting 12, which should have been 2. It seems newlines are missing as a separator somehow. Cheers, K. On Thu, Aug 8, 2013 at 9:06 PM, Kristian Lein-Mathisen kristianl...@gmail.com wrote: Dumb terminal, that's a much better idea! It's working too, thanks a lot Christian. But I found another bug, I don't know where it was introduced: [klm@kth parley]$ csi -q #;1 (define x) Error: unbound variable: definex Call history: syntax (definex) eval (definex)-- #;1 ^D K. On Thu, Aug 8, 2013 at 8:55 PM, Christian Kellermann ck...@pestilenz.orgwrote: * Kristian Lein-Mathisen kristianl...@gmail.com [130808 18:23]: Hello Christian, Thanks for that, parley is really useful! I'm using parley for my everyday Chickening. I just have a small comment regarding regarding the prompt. When I do this: [klm@kth ~]$ csi -q #;1 (begin ;; each line produce ;; a '' mark (void)) #;2 #;2 ^D Those '' prompts are really quite handy. However, when I run csi from emacs as inferiour-scheme, it's not so useful because the '' end up on the same line, and I don't care that there were multiple lines involved. In my emacs buffer, if I evaluate the same sexp as above, I just get this: #;1#;2 What I'd like to see is this: #;1 #;2 So how about an option to turn those '' off, and perhaps place that newline before each prompt? Maybe there is something to fix this already in the docs, but I haven't found anything. This is my ~/.csirc: ;; -*- scheme -*- (use parley) (let ((old (current-input-port))) (current-input-port (make-parley-port old))) Can you please try HEAD from the bitbucket repo and see whether this fixes your issue? git clone https://bitbucket.org/ckeen/parley.git With this code, parley does nothing clever with the prompt when we have a dumb terminal, i.e. when stdin is not a tty. Thanks, Christian -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothing can surpass it. --- Lao Tzu ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] parley improvements
* Kristian Lein-Mathisen kristianl...@gmail.com [130808 21:10]: Sorry, that email went off a little too quick. In the example I sent, I start csi with parley in my csirc, and type (define, then hit enter, type x). I would expect that to work, defining x as (void). This may be a better illustration of the problem, however: [klm@kth parley]$ csi -q #;1 (begin 1 2 ) 12 Right, enter does not introduce a separator in the input string in this case, I guess it should. Thanks! Christian -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothing can surpass it. --- Lao Tzu ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] parley improvements
Sounds good to me, looking forward to the new parley-release! Good job! K. On Thu, Aug 8, 2013 at 9:16 PM, Christian Kellermann ck...@pestilenz.orgwrote: * Kristian Lein-Mathisen kristianl...@gmail.com [130808 21:10]: Sorry, that email went off a little too quick. In the example I sent, I start csi with parley in my csirc, and type (define, then hit enter, type x). I would expect that to work, defining x as (void). This may be a better illustration of the problem, however: [klm@kth parley]$ csi -q #;1 (begin 1 2 ) 12 Right, enter does not introduce a separator in the input string in this case, I guess it should. Thanks! Christian -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothing can surpass it. --- Lao Tzu ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] parley improvements
Hello Chicken users! This is a public service announcement for the parley egg: I will commence working on long outstanding bugs inthe parley module. To make things nice for everyone I would appreciate it if you could send me reports of odd behaviour and other wishlist items you have encountered when working with parley. I will first collect them and work them off in the usual robot fashion. Yours truly, Christian -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothing can surpass it. --- Lao Tzu ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] parley improvements
Hi Christian, On Tue, 6 Aug 2013 15:10:44 +0200 Christian Kellermann ck...@pestilenz.org wrote: This is a public service announcement for the parley egg: I will commence working on long outstanding bugs inthe parley module. To make things nice for everyone I would appreciate it if you could send me reports of odd behaviour and other wishlist items you have encountered when working with parley. I will first collect them and work them off in the usual robot fashion. That's excellent news. I have an issue related to parley: it seems to be interepreting C-d (that's Control d) as Enter, as far as I understad. It seems to submit the expression to the evaluator, instead of removing the character on the cursor. Best wishes. Mario -- http://parenteses.org/mario ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users