World: r3wp
[RAMBO] The REBOL bug and enhancement database
older newer | first last |
Maxim 7-Mar-2007 [2831] | ? |
Gabriele 7-Mar-2007 [2832] | i don't have time for it now :) |
Anton 7-Mar-2007 [2833] | chickenfoot |
btiffin 8-Apr-2007 [2834x2] | Could someone update RAMBO ticket 3455 with info that Linux (at least Debian) supports a sensible-browser command. |
And then maybe mention that this script calls x-www-browser and then www-browser if there is no BROWSER env var Thanks. | |
Gabriele 9-Apr-2007 [2836] | done. |
Alan 9-Apr-2007 [2837] | Gabriele: so there is a script that I can use with mandriva to set browser path ? if so can you send a link ? Thanks ! |
Gabriele 9-Apr-2007 [2838] | no, i have just added brian's info to the ticket. Debian has a command (a bash script I assume) that will launch the user defined browser. |
Alan 10-Apr-2007 [2839] | yeah tried on Mandriva using the Debian tricks and no luck |
Anton 23-Apr-2007 [2840] | eh? >> replace "aa-aa" "aa" "P" == "P-aa" |
Henrik 23-Apr-2007 [2841] | what's the problem? |
Graham 23-Apr-2007 [2842] | replace/all ??? |
Anton 23-Apr-2007 [2843] | ahaa.. :) thanks Graham. |
Henrik 25-Apr-2007 [2844x6] | >> mold/all/flat [] Bus error Core 2.6.2.2.4 on MacOSX |
works fine in WinXP | |
>> mold [] == "[]" >> mold/all [] == "[]" >> mold/flat [] == "[]" >> mold/all/flat [] Bus error | |
same happens under Linux | |
also exists under Core 2.7.5.2.4 for MacOSX | |
RAMBO'ed | |
Gabriele 28-Apr-2007 [2850x4] | Re: 4268 - Gregg, do you think it really should return %/a/ %/c/ etc? |
when you do a read %dir/ and you get %subdir/ as a result, you know that the path to subdir is %dir/subdir/ so it seems consistent to me that a read %/ gives %a/ and the path is %/a/ . | |
eg if i make a function like: func [dir /local block] [block: read dir forall block [block/1: join dir block/1] block] | |
i expect it to work with any input, %/ included. but it would break if read %/ returned %/a/ . | |
Gregg 28-Apr-2007 [2854] | I've considered it a long-standing bug, because it didn't do that before, and I think Carl acknowledged it as a bug at one point. There are two ways to look at it, but the consistent-path model may be best in REBOL, meaning it's not a bug. Under Windows, where there is no concept of a root above the drive letters, it's more comfortable to think in terms of the drive spec being a top level entity. Not sure what's best for UNC usage. |
Gabriele 28-Apr-2007 [2855] | i'll leave it in as a bug, but i personally prefer it to be consistent with other operating systems. |
Gregg 28-Apr-2007 [2856] | I think I'm OK either way, as long as it's doc'd, though consistency is probably better. |
Anton 28-Apr-2007 [2857] | Gregg, I seem to remember arguing *for* the change, in order to achieve consistency, so I'm with Gabriele, here. |
Anton 1-May-2007 [2858x2] | Serialised function! not loadable in Rebol/View 2.7.5.3.1 on WinXP >> load {#[function! [][]]} ** Syntax Error: Invalid construct -- #[ ** Near: (line 1) #[function! [][]] >> load/all {#[function! [][]]} ** Syntax Error: Invalid construct -- #[ ** Near: (line 1) #[function! [][]] The above are loadable on View 1.3.2 |
Anyone reported something like this ? | |
Gregg 1-May-2007 [2860] | Reproduced here. |
Maxim 1-May-2007 [2861] | oh.. that is a mean bug! crashes in 2.7.2 also. |
Anton 1-May-2007 [2862] | Thankyou. |
Gabriele 1-May-2007 [2863] | known and on the list for next release. |
Anton 2-May-2007 [2864] | Ok, very good. |
Anton 4-May-2007 [2865x5] | Strange new-line bug/issue: |
foreach [style obj] svv/vid-styles [print mold to-lit-path reduce [style in obj 'color]] | |
solution/workaround: | |
foreach [style obj] svv/vid-styles [print mold to-lit-path new-line/all reduce [style in obj 'color] off] | |
(The first one produces lit-paths starting with a newline - looks weird.) | |
Oldes 4-May-2007 [2870x3] | foreach [style obj] new-line/all svv/vid-styles off [print mold to-lit-path reduce [style in obj 'color]] |
and why you use [style in obj 'color]? this will works as well: foreach [style obj] svv/vid-styles [print mold to-lit-path reduce [style 'color]] | |
foreach [style obj] svv/vid-styles [print mold to-lit-path reduce [style get in obj 'color]] | |
Anton 4-May-2007 [2873x3] | You are right. |
This is the reduction: >> to-lit-path first new-line/all [word] on == ' word | |
I think it is an error, since I am molding a lit-path which can't be loaded back, because of the newline between the ' and the first word. | |
Gregg 4-May-2007 [2876] | I agree Anton. I imagine it's because paths are a block type. So we want to make sure it doesn't mess up other block types when fixed. |
Anton 10-May-2007 [2877x4] | I think it's amazing that FIRST returns the word with its hidden new-line attached. Very confusing trying to reproduce it again today. :) |
Makes me wonder how new-lines are implemented. | |
I thought it was an attribute of a block, but maybe it's an attribute of a word ? | |
It looks like it is. I was wondering where those new-lines were kept ! :) | |
older newer | first last |