Re: OT: spacing of code in Google Groups

2005-01-10 Thread Tomi Häsä
Dan Bishop wrote: > > And for a long time, Google groups postings *were* whitespace > significant. But the new interface broke it. > > > I made a complaint several weeks ago to Google support, > > asking them too quit stripping leading whitespace, > > and the sent me a reply saying they appreciate

Re: OT: spacing of code in Google Groups

2005-01-08 Thread Peter Hansen
JanC wrote: Have a look at: They have native win32 builds of many of the GNU commandline utilities... Thanks, everyone, for all your kind help. (Uh, I thought it was clear I didn't actually *want* a method of cutting columns, since I have needed the functionality

Re: OT: spacing of code in Google Groups

2005-01-07 Thread JanC
Peter Hansen schreef: > Steve Holden wrote: > >> Or even used cut(1) from the command line. > > Or myybe not :-) > > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > c:\>cut > 'cut' is not recognized as an internal or external command, > operable program or

Re: OT: spacing of code in Google Groups

2005-01-07 Thread Jacek Generowicz
Peter Hansen <[EMAIL PROTECTED]> writes: > Jacek Generowicz wrote: > > Peter Hansen <[EMAIL PROTECTED]> writes: > >>Why the heck would I ever have to do "rectangle operations" on a > >>regular basis? ;-) > > Well, given that all editors are cat equivalent[*], you don't _have_ > > to use any of th

Really OT (was Re: OT: spacing of code in Google Groups)

2005-01-06 Thread Peter Hansen
Alex Martelli wrote: Peter Hansen <[EMAIL PROTECTED]> wrote: This "cat equivalent" thing is a red-herring. I can rarely type more I tried offering a red herring to my cat to check this out, and, sure enough, she indignantly refused it and miaowed loudly for less smelly food. So, you may have a po

Re: OT: spacing of code in Google Groups

2005-01-06 Thread Alex Martelli
Peter Hansen <[EMAIL PROTECTED]> wrote: > Jacek Generowicz wrote: > > Peter Hansen <[EMAIL PROTECTED]> writes: > >>Why the heck would I ever have to do "rectangle operations" on a > >>regular basis? ;-) > > > > Well, given that all editors are cat equivalent[*], you don't _have_ > > to use any o

RE: OT: spacing of code in Google Groups

2005-01-06 Thread Tim Golden
[Peter Hansen] | [Steve Holden] | > Peter Hansen wrote: | >> But the whole argument is fairly moot... I've needed a rectangle | >> operation only once in the last ten years, and if I hadn't known at | >> the time that my editor could do it (and spent about half an hour | >> figuring out how it wor

Re: OT: spacing of code in Google Groups

2005-01-06 Thread Grant Edwards
On 2005-01-06, Peter Hansen <[EMAIL PROTECTED]> wrote: > Steve Holden wrote: >> Peter Hansen wrote: >>> But the whole argument is fairly moot... I've needed a rectangle >>> operation only once in the last ten years, and if I hadn't known at >>> the time that my editor could do it (and spent about

Re: OT: spacing of code in Google Groups

2005-01-06 Thread Peter Hansen
Steve Holden wrote: Peter Hansen wrote: But the whole argument is fairly moot... I've needed a rectangle operation only once in the last ten years, and if I hadn't known at the time that my editor could do it (and spent about half an hour figuring out how it worked), I could have written a utility

Re: OT: spacing of code in Google Groups

2005-01-06 Thread Grant Edwards
On 2005-01-06, Steve Holden <[EMAIL PROTECTED]> wrote: > Peter Hansen wrote: > > [...] >> >> But the whole argument is fairly moot... I've needed a rectangle >> operation only once in the last ten years, and if I hadn't known at >> the time that my editor could do it (and spent about half an hour

Re: OT: spacing of code in Google Groups

2005-01-06 Thread Steve Holden
Peter Hansen wrote: [...] But the whole argument is fairly moot... I've needed a rectangle operation only once in the last ten years, and if I hadn't known at the time that my editor could do it (and spent about half an hour figuring out how it worked), I could have written a utility to do the job

Re: OT: spacing of code in Google Groups

2005-01-06 Thread Peter Hansen
Jacek Generowicz wrote: Peter Hansen <[EMAIL PROTECTED]> writes: Why the heck would I ever have to do "rectangle operations" on a regular basis? ;-) Well, given that all editors are cat equivalent[*], you don't _have_ to use any of their features :-) This "cat equivalent" thing is a red-herring.

Re: OT: spacing of code in Google Groups

2005-01-06 Thread Simon Brunning
On Wed, 05 Jan 2005 22:57:33 GMT, JanC <[EMAIL PROTECTED]> wrote: > Rectangular selection only works with the mouse in SciTE/Scintilla: > alt-click-drag. Nope - hold down alt-shift, and select with the cursor keys. -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/

Re: OT: spacing of code in Google Groups

2005-01-06 Thread Jacek Generowicz
Peter Hansen <[EMAIL PROTECTED]> writes: > Why the heck would I ever have to do "rectangle operations" on a > regular basis? ;-) Well, given that all editors are cat equivalent[*], you don't _have_ to use any of their features :-) But just like Python (particularly in the hands of a skilled Pyt

Re: OT: spacing of code in Google Groups

2005-01-05 Thread JanC
Peter Hansen schreef: >> You mean to say that your editor does not have rectangle operations ? >> :-) > > I wouldn't know.** I try quite hard to limit the features > that I have to learn and remember to a very, very small > list. Why the heck would I ever have to do "rectangle > operations" on

Re: OT: spacing of code in Google Groups

2005-01-05 Thread Peter Hansen
Jacek Generowicz wrote: Peter Hansen <[EMAIL PROTECTED]> writes: Grant Edwards wrote: I always rather liked line numbers (a-la 'can -n'). That also makes discussion of the code easier: That, unfortunately, is somewhat harder to remove without using a regular expression... You mean to say that your

Re: OT: spacing of code in Google Groups

2005-01-05 Thread Jacek Generowicz
Peter Hansen <[EMAIL PROTECTED]> writes: > Grant Edwards wrote: > > I always rather liked line numbers (a-la 'can -n'). That also > > makes discussion of the code easier: > > That, unfortunately, is somewhat harder to remove without > using a regular expression... You mean to say that your edit

Re: OT: spacing of code in Google Groups

2005-01-01 Thread JanC
Terry Reedy schreef: > "JanC" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> I don't know if gmane keeps formating of messages intact when >> posting? That could be an alternative too... > > Reading posts via gmane with Outlook Express preserves leading spaces > just fine. How

Re: OT: spacing of code in Google Groups

2005-01-01 Thread Terry Reedy
"JanC" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I don't know if gmane keeps formating of messages intact when posting? > That could be an alternative too... Reading posts via gmane with Outlook Express preserves leading spaces just fine. However, OE deletes tabs regardless

Re: OT: spacing of code in Google Groups

2004-12-31 Thread Dan Bishop
M.E.Farmer wrote: > Grant Edwards wrote: > >Not sure what Google Groups does to it... > The usual... it mangles it. > I don't get it, Google uses Python too, they know it is whitespace > signifigant. And for a long time, Google groups postings *were* whitespace significant. But the new interface

Re: OT: spacing of code in Google Groups

2004-12-31 Thread JanC
Adam DePrince schreef: > On Fri, 2004-12-31 at 13:03, [EMAIL PROTECTED] wrote: >> When I copy code from a source file into a Google Groups message, the >> indentation is messed up, making my Python code illegal and all my code >> ugly. Are there tricks to avoid this? > > Subscribe to the python-l

Re: OT: spacing of code in Google Groups

2004-12-31 Thread M.E.Farmer
Grant Edwards wrote: >Not sure what Google Groups does to it... The usual... it mangles it. I don't get it, Google uses Python too, they know it is whitespace signifigant. I made a complaint several weeks ago to Google support , asking them too quit stripping leading whitespace, and the sent me a r

Re: OT: spacing of code in Google Groups

2004-12-31 Thread Peter Hansen
Grant Edwards wrote: I always rather liked line numbers (a-la 'can -n'). That also makes discussion of the code easier: That, unfortunately, is somewhat harder to remove without using a regular expression... leading hash marks # is pretty simple to remove with almost any editor. -Peter -- http://

Re: OT: spacing of code in Google Groups

2004-12-31 Thread Adam DePrince
On Fri, 2004-12-31 at 13:03, [EMAIL PROTECTED] wrote: > When I copy code from a source file into a Google Groups message, the > indentation is messed up, making my Python code illegal and all my code > ugly. Are there tricks to avoid this? Subscribe to the python-list@python.org mailing list. Tak

Re: OT: spacing of code in Google Groups

2004-12-31 Thread [EMAIL PROTECTED]
Grant Edwards wrote: > On 2004-12-31, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > >> When I copy code from a source file into a Google Groups > >> message, the indentation is messed up, making my Python code > >> illegal and all my code ugly. Are there tricks to avo

Re: OT: spacing of code in Google Groups

2004-12-31 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote: > > When I copy code from a source file into a Google Groups message, the > > indentation is messed up, making my Python code illegal and all my > code > > ugly. Are there tricks to avoid this? > > Try putting a # at the start of every line. Ever

Re: OT: spacing of code in Google Groups

2004-12-31 Thread Grant Edwards
On 2004-12-31, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: >> When I copy code from a source file into a Google Groups >> message, the indentation is messed up, making my Python code >> illegal and all my code ugly. Are there tricks to avoid this? > > Try putting a # at

Re: OT: spacing of code in Google Groups

2004-12-31 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: > When I copy code from a source file into a Google Groups message, the > indentation is messed up, making my Python code illegal and all my code > ugly. Are there tricks to avoid this? Try putting a # at the start of every line. Everyone should understand what you mean (a