Re: [Factor-talk] Help-lint with size-of

2009-01-22 Thread Eduardo Cavazos
Slava Pestov wrote: > Try this: > > USE: size-of > "size-of" help-lint > > We need this to pass so that binaries can be made. Slava, On my system, it passes. I also noticed that the build report for linux-32, linux-64, and windows all don't list 'size-of' in the help lint portion of the repo

Re: [Factor-talk] Factor ui screen corruption bug

2009-01-22 Thread Eduardo Cavazos
Adam wrote: > What tool in linux generated the report? It's called 'HardInfo'. Ed -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___

[Factor-talk] fep in windows: build 618

2009-01-22 Thread Adam
http://paste.factorcode.org/paste?id=368 -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___

[Factor-talk] Help-lint with size-of

2009-01-22 Thread Slava Pestov
Ed, Try this: USE: size-of "size-of" help-lint We need this to pass so that binaries can be made. Slava -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/s

Re: [Factor-talk] Factor ui screen corruption bug

2009-01-22 Thread Adam
Ed, What tool in linux generated the report? On Thu, Jan 22, 2009 at 3:29 PM, Eduardo Cavazos wrote: > Slava, > > I recently started working on a different computer. It's an older > machine so I'm running a light weight Linux distro on it, Puppy Linux > 4.12. The good news is performance of Fact

[Factor-talk] UI listener corruption

2009-01-22 Thread Eduardo Cavazos
Slava, Here's an example of corruption in the ui listener: http://img240.imageshack.us/img240/921/factorlistenertextcorruko4.png Ed -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tel

[Factor-talk] test case for screen corruption

2009-01-22 Thread Eduardo Cavazos
Slava, This is a reliable way to reproduce the screen corruption bug on my system: { "find" "/etc" } run-process/result popup-process-window Those words are available in the git-tool vocab. Ed -- This SF.net email

Re: [Factor-talk] Locals Usage

2009-01-22 Thread Alex Drummond
Dan> This is my philosophy too. I do use locals sometimes, but Dan> typically only one or two locals words per vocabulary. The Dan> version without locals is usually cleaner, I find. Same here, mostly. I think a good knowledge of the libraries really helps for writing clean stack code, because thi

[Factor-talk] Factor ui screen corruption bug

2009-01-22 Thread Eduardo Cavazos
Slava, I recently started working on a different computer. It's an older machine so I'm running a light weight Linux distro on it, Puppy Linux 4.12. The good news is performance of Factor on this machine is quite good. The bad news is, there's occasional screen corruption issues in the Factor

Re: [Factor-talk] FUEL cheat sheet by kib2 in #concatenative

2009-01-22 Thread Eduardo Cavazos
Slava Pestov wrote: > kib2 in the IRC channel made a very nice FUEL cheat sheet: > > http://kib2.free.fr/temp/FUEL_cheatsheet.pdf Indeed, it's very slick! But don't forget, the FUEL README file also has a quick reference. Jose, I noticed that the README is set to switch to org-mode. This is a

[Factor-talk] FUEL cheat sheet by kib2 in #concatenative

2009-01-22 Thread Slava Pestov
Hi all, kib2 in the IRC channel made a very nice FUEL cheat sheet: http://kib2.free.fr/temp/FUEL_cheatsheet.pdf Slava -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http

Re: [Factor-talk] Locals Usage

2009-01-22 Thread Daniel Ehrenberg
This is my philosophy too. I do use locals sometimes, but typically only one or two locals words per vocabulary. The version without locals is usually cleaner, I find. Dan On Thu, Jan 22, 2009 at 2:06 PM, V. Glenn Tarcea wrote: > Sam, > > Interesting in sites :-) > > I find I only use Locals whe

[Factor-talk] Pull request: FUEL: new refactoring: rename word

2009-01-22 Thread Jose A. Ortega Ruiz
C-cC-xw will ask for a word (with default the one whose definition you're at) a new name, and rename all its usages (asking for confirmation), or at least all its usages known to factor. After substitution, you can use the standard emacs command C-xs to save all modified buffers. Thanks! ---

Re: [Factor-talk] Locals Usage

2009-01-22 Thread Slava Pestov
On Thu, Jan 22, 2009 at 1:35 PM, Samuel Tardieu wrote: > experiments, even if I would prefer the Factor standard library to be > more in a stack-oriented style. You're forgetting that Ed also invented the cleave combinators, which have significantly cleaned up pure stack code, and eliminated many

[Factor-talk] Pull request: FUEL: new xref for vocabularies

2009-01-22 Thread Jose A. Ortega Ruiz
Patches below implement cross-references for vocabularies. In factor buffers, when you press C-cM-< or C-cM-> with point on a vocab, you'll get a list of vocabularies using or, respectively, used by the vocab at point. You can also use M-x fuel-vocab-uses, M-x fuel-vocab-usage to get a prompt with

Re: [Factor-talk] Locals Usage

2009-01-22 Thread V. Glenn Tarcea
Sam, Interesting in sites :-) I find I only use Locals when I end up in a word where I have to do a lot of stack shuffling, and breaking the word down further doesn't really work. I find Locals interesting because they give you the best of both worlds and allow you to switch between the two on an

Re: [Factor-talk] Locals Usage

2009-01-22 Thread Samuel Tardieu
> "Glenn" == V Glenn Tarcea writes: Glenn> I really like how Factor allows either usage, even though it Glenn> creates a tension between the two styles. I personally dislike Eduardo's style, as it leads to code which looks too complicated to me and I think that it encourages longer words. Wh

[Factor-talk] Locals Usage

2009-01-22 Thread V. Glenn Tarcea
Hi Eduardo, I've noticed in a lot of the examples you post that you make extensive use of locals. I'm curious if this is a common idiom you use (as opposed to being common to the code you post), and if so what you see as the benefits vs. working off the stack without named variables. I really lik

[Factor-talk] io.launcher: stdout and stderr as streams

2009-01-22 Thread Eduardo Cavazos
Slava, In git-tool, I need to run a process (various git commands) and have access to stdout and stderr as streams. As far as I know, there is no way to do this via the 'io.launcher' vocabulary. I'm using the following word to achieve this: -

[Factor-talk] Pull request: FUEL: new option fuel-xref-follow-link-method

2009-01-22 Thread Jose A. Ortega Ruiz
A list of pending changes in my repo. The last one gives you the option to choose how links in xref buffers (callers, callees, etc.) are followed (in the same buffer, other window or frame). M-x customize-variable fuel-xref-follow-link-method Thanks! --- The following changes since com

Re: [Factor-talk] Pull request: inverse fix

2009-01-22 Thread Samuel Tardieu
> "Jason" == Jason Merrill writes: Jason> Not sure if I've done this pull request correctly. If not, Jason> guidance appreciated. I generally use "git request-pull" to prepare the pull request text. Sam -- Samuel Tardieu -- s...@rfc1149.net -- http://www.rfc1149.net/ -