[racket-users] 2 point about sribble

2015-05-28 Thread Jos Koot
Hi to all, margin-note of scribble no longer puts the notes in the right hand margin. I prefer the older layout with the margin-notes at the right hand side of the text proper. This may be a problem for margin-notes consisting of much text. However, I think a margin notes should always be very

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Robby Findler
This is fine advice. If you wanted to prepare just a little bit more, you might run raco pkg update --clone drracket (and then respond yes to the prompt). This would, in the directory you're in, create a drracket sub directory and a few others that contain the source code of DrRacket, linked to

[racket-users] Re: Keep getting call-with-file-lock/timeout

2015-05-28 Thread George Neuner
On Wed, 27 May 2015 08:34:11 -0700 (PDT), N N nawar.noo...@gmail.com wrote: I've been trying to set up Racket for evaluation purposes and due to being on CentOS with no root privileges, I've chosen the Racket minimal distribution. I was able to compile it from source and run it and wanted to

Re: [racket-users] 2 point about sribble

2015-05-28 Thread Greg Hendershott
Matthew Butterick is the expert on this, but in the meantime here's some info I hope is mostly correct. The margin-note is responsive, to use the latest Web 2.0 (or whatever verison we're up to now) jargon. If the page is wide enough, it will still appear to the right. (Try resizing the browser

Re: [racket-users] Dozens and dozens of interdependent modules, better to use include?

2015-05-28 Thread Lux
I am sorry, I've not explained well my intents. My actual situation is like this: I have a main.rkt file which require the most of all other modules, and it is the entry point of the application, it provide access to almost all procedures contained in the required modules. Modules are abundant

Re: [racket-users] Dozens and dozens of interdependent modules, better to use include?

2015-05-28 Thread Daniel Feltey
If the issue you're facing is mutual dependencies between modules, then using units[1] is one possible solution. Units are first-class modules that allow cyclic linking, and would avoid the need to use include. In particular using #lang racket/unit [2] may be useful to convert each the

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Laurent
For what it's worth, I think these are some of the relevant lines: https://github.com/racket/drracket/blob/21c155c46c58c5d01ff984df27a77c19f4481640/drracket/drracket/private/drracket-normal.rkt#L19

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Laurent
Regarding contribution, this should at least be a good start: http://blog.racket-lang.org/2012/11/tutorial-contributing-to-racket.html http://www.greghendershott.com/2013/04/a-guide-for-infrequent-contributors-to-racket.html However, note that racket has been split into many different packages

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Matthias Felleisen
On May 28, 2015, at 12:20 PM, Josh Grams wrote: I asked how to build it from source, but just got pointed to the snapshot binaries instead of getting a real answer. That's a serious mistake and I apologize. It shouldn't happen -- Matthias -- You received this message because you are

Re: [racket-users] 2 point about sribble

2015-05-28 Thread Matthew Butterick
The web is a terrible thing to be an expert about. 1) Greg is correct that the styling of 'margin-note' was changed to keep it visible on narrow screens. On wider screens, it moves into the margin. 2) The new styling is implemented as an override of the old styling, which is still lurking in the

[racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Lux
As much as I love vim/gvim and configured it to do anything I want, I can not code anymore without DrRacket. Something I miss is the ability to open a file (in an existing istance) in a tab at specific line number (bonus points if also column). Tried searching around with no success... Any

[racket-users] Persistent vectors: a generic collections proof-of-concept

2015-05-28 Thread Alexis King
As a followup to my last thread regarding my generic collections library, I have now created a package that uses it to define an entirely new data structure. I've implemented Clojure's 32-way bitmapped tries to create a persistent vector implementation. If you're interested in trying it out,

[racket-users] truncated text-outline rendering on dc-path%

2015-05-28 Thread Tim Brown
Folks, I am trying to place a string on a dc-path% with text-outline. - #lang racket (require pict racket/draw) (define f (make-object font% 30 'default)) (dc (λ (d dx dy) (define p (new dc-path%)) (define old-brush (send

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Lux
Do you mean opening the file from a menu within DrRacket or from the outside, like from the command line? Hi Laurent, thanks for your answer. Yes, I mean from the command line (more specifically I need it to be launched as a system command, which is almost the same). I am on Linux but I

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Laurent
Hi Lux, Do you mean opening the file from a menu within DrRacket or from the outside, like from the command line? On Thu, May 28, 2015 at 8:40 AM, Lux glsdes...@gmail.com wrote: As much as I love vim/gvim and configured it to do anything I want, I can not code anymore without DrRacket.

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Laurent
Ok. Some elements of answer: - DrRacket can be started with the option -singleInstance to make sure that an existing window is reused to open new files. This option must be used each time the `drracket` executable is called, so it's better to simply make an alias. This also requires libunique to

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Lux
I see it is possible to do now, but require some not negligible amount of work, at least at this time for me... Thanks for the informations. I will continue to search for an hack on background, nonetheless... I will let you all know if I find something. Ok. Some elements of answer: - DrRacket

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Matthias Felleisen
On May 28, 2015, at 3:40 AM, Lux glsdes...@gmail.com wrote: I can not code anymore without DrRacket. +1 I know DrRacket has some downsides, but I sure wish many more people would see the light, use it, and help identify and better yet fix the problems. Thanks for the vote of confidence

[racket-users] Dozens and dozens of interdependent modules, better to use include?

2015-05-28 Thread Lux
Racket module system is very efficient, but it wont be more efficient in the particular situation of dozens (and counting...) of highly interdependent modules, every one containing a big number of functions to just include all in a single namespace? I can think of various shortcomings (like

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Lux
OFF-TOPIC: I feel like I can do anything, because of this I can not thank you and all others for your work enough. Just to let you know my feelings and appreciation. +1 I know DrRacket has some downsides, but I sure wish many more people would see the light, use it, and help identify and

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-28 Thread Josh Grams
On 2015-05-28 09:59AM, Matthias Felleisen wrote: I know DrRacket has some downsides, but I sure wish many more people would see the light, use it, and help identify and better yet fix the problems. I was interested in that, but couldn't figure out how to build it. I had found a couple of things