Re: [9fans] Using Guide Files

2009-08-14 Thread yy
2009/8/12 <6o205z...@sneakemail.com>: > Given how useful and important it is to have Edit in the tag of text > windows, is there some reason that it isn't there automatically? After this discussion, I wrote a little patch, which somebody else might find useful: ; diff /sys/src/cmd/acme/exec.c sr

Re: [9fans] Using Guide Files

2009-08-11 Thread erik quanstrom
On Tue Aug 11 23:18:02 EDT 2009, jason.cat...@gmail.com wrote: > > Given how useful and important it is to have Edit in the tag of text > > windows, is there some reason that it isn't there automatically? > > Probably to avoid temptation for files you shouldn't, and see at a > glance which files y

Re: [9fans] Using Guide Files

2009-08-11 Thread Jason Catena
> Given how useful and important it is to have Edit in the tag of text > windows, is there some reason that it isn't there automatically? Probably to avoid temptation for files you shouldn't, and see at a glance which files you edited and saved (since the dirty bit will be clear). >        thanks

Re: [9fans] Using Guide Files

2009-08-11 Thread 6o205zd02
On Mon, 2009-08-10 at 15:35 +0200, Rudolf Sykora rudolf.sykora-at-gmail.com |9fans| wrote: > I can have that '|fmt -w 72' anywhere in any window, but other than > where my text is. I ensure I have 'Edit' in the tag line of the text > window. I highlight the text I want be formatted. I go to the win

Re: [9fans] Using Guide Files

2009-08-10 Thread Jason Catena
> Find it in the forum. A search for "Run title" uniquely found Russ' post. http://9fans.net/archive/2009/06/138 (Well, it did until this post.) Once I installed Run and studied Russ' illustration, I can set up my own commands, thanks. In acme I highlight some text to process (filenames, data, wh

Re: [9fans] Using Guide Files

2009-08-10 Thread Rudolf Sykora
2009/8/10 Jason Catena : > And so it does.  I assumed I could only use Edit in conjunction with > sam commands, but apparently Edit (or at least its author) is smarter > than that. Well, I'd say, that |... thing still _is_ a sam command..., only delivered to the Edit command via the chord now. (Al

Re: [9fans] Using Guide Files

2009-08-10 Thread erik quanstrom
> I assume Run works similarly? That is, I can put Run in a directory's > tag, highlight a filename in that directory, then highlight a command > and apply it to Run with 2-1 to run the command on the file? posting to 9fans is now easier than typing 3 characters and three mouse actions. wow! - e

Re: [9fans] Using Guide Files

2009-08-10 Thread Jason Catena
> I can have that '|fmt -w 72' anywhere in any window, but other than > where my text is. I ensure I have 'Edit' in the tag line of the text > window. I highlight the text I want be formatted. I go to the window > with the command, |fmt -w 72. I highlight that. I go back to the Edit > in the text's

Re: [9fans] Using Guide Files

2009-08-10 Thread Rudolf Sykora
A few words pertaining one of your points. 2009/8/10 Jason Catena : > For example, I often run "|fmt -w 72" to justify a paragraph in a text > file.  With wily, I can highlight text in any window, and justify the > text from one copy of the command stored in any guide file.  With > acme, I can't

Re: [9fans] Using Guide Files

2009-08-10 Thread Jason Catena
> just run the command in the context of some > arbitrary window. Wily does this. The 2-1 chord uses the context of the object applied to the command, rather than the command. This makes commands like New useful from the top of a column. When you type in a new file name in its directory, highli

Re: [9fans] Using Guide Files

2009-08-10 Thread Rudolf Sykora
Also check the Run script we discussed earlier in this forum. Could be of help... Ruda 2009/8/10 Aaron W. Hsu : > Hello, > > When using guide files, let's say I have some Edit command or the like that > I run often on certain types of files. So I have the guide file open, and I > can copy the comm

Re: [9fans] Using Guide Files

2009-08-10 Thread Noah Evans
Do you know the 2-1 chord? Try putting an Edit in the tag, then leaving the Edit commands in your guide. On Mon, Aug 10, 2009 at 10:46 AM, Aaron W. Hsu wrote: > Hello, > > When using guide files, let's say I have some Edit command or the like that > I run often on certain types of files. So I have