Re: [PATCH] tiny whitespace

2002-04-01 Thread Allan Rae
On Fri, 22 Mar 2002, Angus Leeming wrote: > > My emacs (20.7 --- bang up to date?) doesn't have them either. Emacs-21.1 has them and a whole lot more in a whitespace.el file. It seems to work okay with XEmacs-21.4.6 so there is some good news. Allan. (ARRae)

Re: [PATCH] tiny whitespace

2002-03-22 Thread Angus Leeming
On Friday 22 March 2002 6:55 pm, Angus Leeming wrote: > On Thursday 21 March 2002 8:16 am, Allan Rae wrote: > > On Wed, 20 Mar 2002, Lars Gullik Bjønnes wrote: > > > What about: > > > delete-trailing-whitespace > > > whitespace-cleanup > > > > Actually XEmacs doesn't seem to have these (

Re: [PATCH] tiny whitespace

2002-03-22 Thread Angus Leeming
On Thursday 21 March 2002 8:16 am, Allan Rae wrote: > On Wed, 20 Mar 2002, Lars Gullik Bjønnes wrote: > > What about: > > delete-trailing-whitespace > > whitespace-cleanup > > Actually XEmacs doesn't seem to have these (in either 21.1.14 or > 21.4.6). Which emacs and is there a package

Re: [PATCH] tiny whitespace

2002-03-21 Thread John Levon
On Fri, Mar 22, 2002 at 04:06:19PM +1000, Allan Rae wrote: > Take a look at the copyright notice in just about any file you care to > name. I've give you an example: > src/lyxfunc.C Any way, the new style header is much better and should replace all the old variants ... > More importantl

Re: [PATCH] tiny whitespace

2002-03-21 Thread Allan Rae
All that wonderful whitespace pissing about missed out on several tab->spaces or even spaces->tabs conversions inside comments. Take a look at the copyright notice in just about any file you care to name. I've give you an example: src/lyxfunc.C There are three indented lines. One of t

Re: [PATCH] tiny whitespace

2002-03-20 Thread Allan Rae
On Wed, 20 Mar 2002, Lars Gullik Bjønnes wrote: > What about: > delete-trailing-whitespace > whitespace-cleanup Actually XEmacs doesn't seem to have these (in either 21.1.14 or 21.4.6). Which emacs and is there a package to load first? I did find whitespace-mode which does a nice job

Re: [PATCH] tiny whitespace

2002-03-20 Thread Allan Rae
On Wed, 20 Mar 2002, Juergen Vigna wrote: > On 20-Mar-2002 Allan Rae wrote: > > > It's probably Jug's crazy 4 char tabs to 8 char tabs and few spaces > > conversion thing gone mad. > > I don't think I wrote FormParagraph and anyway I indent with tabs! I never said you didn't. I said you use 4 c

Re: [PATCH] tiny whitespace

2002-03-20 Thread Juergen Vigna
On 20-Mar-2002 Allan Rae wrote: > It's probably Jug's crazy 4 char tabs to 8 char tabs and few spaces > conversion thing gone mad. I don't think I wrote FormParagraph and anyway I indent with tabs! Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen

Re: [PATCH] tiny whitespace

2002-03-19 Thread Allan Rae
On Wed, 20 Mar 2002, Lars Gullik Bjønnes wrote: [...] > What about: > delete-trailing-whitespace > whitespace-cleanup Cool! I learn something new everyday! So now that I've learned that I can go home. I don't want to risk saturating my brain with new inputs. Allan. (ARRae)

Re: [PATCH] tiny whitespace

2002-03-19 Thread Lars Gullik Bjønnes
Allan Rae <[EMAIL PROTECTED]> writes: | On Tue, 19 Mar 2002, Angus Leeming wrote: > >> On Tuesday 19 March 2002 6:16 pm, Jean-Marc Lasgouttes wrote: >> > Angus> Ok. So do you hit tab on every line or is there a command to >> > Angus> format the whole thing prettily? >> > >> > For a {} block, I pu

Re: [PATCH] tiny whitespace

2002-03-19 Thread Allan Rae
On 19 Mar 2002, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> On Tue, Mar 19, 2002 at 03:48:55PM +0100, Jean-Marc Lasgouttes > Andre> wrote: > >> Does that fix a bug? Where is the Changelog? > > Andre> Actually I thought I had written a Change

Re: [PATCH] tiny whitespace

2002-03-19 Thread Allan Rae
On Tue, 19 Mar 2002, Angus Leeming wrote: > On Tuesday 19 March 2002 4:16 pm, John Levon wrote: > > On Tue, Mar 19, 2002 at 05:14:02PM +0100, Andre Poenitz wrote: > > > I don't know. But considering the importance of changing eight spaces > > > into a tab, it might last for while... > > > > Feel

Re: [PATCH] tiny whitespace

2002-03-19 Thread Allan Rae
On Tue, 19 Mar 2002, Angus Leeming wrote: > On Tuesday 19 March 2002 6:16 pm, Jean-Marc Lasgouttes wrote: > > Angus> Ok. So do you hit tab on every line or is there a command to > > Angus> format the whole thing prettily? > > > > For a {} block, I put the cursor on the opening { and use M-C-q. >

Re: [PATCH] tiny whitespace

2002-03-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Incidentally, highlighting a region and typing M-x Angus> indent-region works fine, but it doesn't remove whitespace from Angus> otherwise empty lines. Know the command for that? I guess you have to set some magical variable from

Re: [PATCH] tiny whitespace

2002-03-19 Thread Andre Poenitz
On Tue, Mar 19, 2002 at 05:01:30PM +, Angus Leeming wrote: > Ok. So do you hit tab on every line or is there a command to format the > whole thing prettily? I use << and >> to indent blocks of lines. Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: [PATCH] tiny whitespace

2002-03-19 Thread Angus Leeming
On Tuesday 19 March 2002 6:16 pm, Jean-Marc Lasgouttes wrote: > Angus> Ok. So do you hit tab on every line or is there a command to > Angus> format the whole thing prettily? > > For a {} block, I put the cursor on the opening { and use M-C-q. > > For a whole region, use the menu entry C++>Indent l

Re: [PATCH] tiny whitespace

2002-03-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> On Tuesday 19 March 2002 5:58 pm, Jean-Marc Lasgouttes wrote: >> > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> Angus> André, do you have some tool to do the hard work of formatting Angus> for you? Angus >> Emacs?

Re: [PATCH] tiny whitespace

2002-03-19 Thread John Levon
On Tue, Mar 19, 2002 at 06:01:24PM +0100, Andre Poenitz wrote: > > Emacs? > > Nah... I am running Linux. :) you really are trying to extend this thread ... john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.

Re: [PATCH] tiny whitespace

2002-03-19 Thread Andre Poenitz
On Tue, Mar 19, 2002 at 06:58:39PM +0100, Jean-Marc Lasgouttes wrote: > Angus> André, do you have some tool to do the hard work of formatting > Angus> for you? Angus > > Emacs? Nah... I am running Linux. Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: [PATCH] tiny whitespace

2002-03-19 Thread Angus Leeming
On Tuesday 19 March 2002 5:58 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> André, do you have some tool to do the hard work of formatting > Angus> for you? Angus > > Emacs? Ok. So do you hit tab on every line or is there a command to form

Re: [PATCH] tiny whitespace

2002-03-19 Thread Andre Poenitz
On Tue, Mar 19, 2002 at 04:49:04PM +, Angus Leeming wrote: > André, do you have some tool to do the hard work of formatting for you? Does vi count as a tool? Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: [PATCH] tiny whitespace

2002-03-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> André, do you have some tool to do the hard work of formatting Angus> for you? Angus Emacs? JMarc

Re: [PATCH] tiny whitespace

2002-03-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> A phase of the moon bug, maybe? Angus> You mean whoever wrote it is a lunatic??? ;-) No, a real phase of the moon bug: http://www.tuxedo.org/~esr/jargon/html/entry/phase-of-the-moon.html Or look at the very end of this interview of

Re: [PATCH] tiny whitespace

2002-03-19 Thread Angus Leeming
On Tuesday 19 March 2002 4:43 pm, Andre Poenitz wrote: > On Tue, Mar 19, 2002 at 04:20:41PM +, Angus Leeming wrote: > > No don't do that. The code in there is so crazy and horrible that I've > > concluded that there's some secret environment variable that must be set > > before changes to the

Re: [PATCH] tiny whitespace

2002-03-19 Thread Andre Poenitz
On Tue, Mar 19, 2002 at 04:20:41PM +, Angus Leeming wrote: > No don't do that. The code in there is so crazy and horrible that I've > concluded that there's some secret environment variable that must be set > before changes to the code will work. I've also concluded through much > experimen

Re: [PATCH] tiny whitespace

2002-03-19 Thread Angus Leeming
On Tuesday 19 March 2002 5:24 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> No don't do that. The code in there is so crazy and horrible > Angus> that I've concluded that there's some secret environment > Angus> variable that must be set be

Re: [PATCH] tiny whitespace

2002-03-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> No don't do that. The code in there is so crazy and horrible Angus> that I've concluded that there's some secret environment Angus> variable that must be set before changes to the code will work. Angus> I've also concluded through

Re: [PATCH] tiny whitespace

2002-03-19 Thread Angus Leeming
On Tuesday 19 March 2002 4:16 pm, John Levon wrote: > On Tue, Mar 19, 2002 at 05:14:02PM +0100, Andre Poenitz wrote: > > I don't know. But considering the importance of changing eight spaces > > into a tab, it might last for while... > > Feel free to do your thing with FormParagraph.C No don't do

Re: [PATCH] tiny whitespace

2002-03-19 Thread John Levon
On Tue, Mar 19, 2002 at 05:14:02PM +0100, Andre Poenitz wrote: > I don't know. But considering the importance of changing eight spaces > into a tab, it might last for while... Feel free to do your thing with FormParagraph.C regards john -- I am a complete moron for forgetting about endianness

Re: [PATCH] tiny whitespace

2002-03-19 Thread Andre Poenitz
On Tue, Mar 19, 2002 at 04:08:54PM +, John Levon wrote: > yup. How much longer can this thread go on for :) I don't know. But considering the importance of changing eight spaces into a tab, it might last for while... Andre' -- André Pönitz .. [EM

Re: [PATCH] tiny whitespace

2002-03-19 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Tue, Mar 19, 2002 at 06:02:39PM +0100, Jean-Marc Lasgouttes Andre> wrote: >> Except that your patch only applied from src/, that's why I got >> rejects and lost the changelog. Andre> Where am I supposed to call cvs diff? In ../

Re: [PATCH] tiny whitespace

2002-03-19 Thread John Levon
On Tue, Mar 19, 2002 at 05:02:48PM +0100, Andre Poenitz wrote: > Where am I supposed to call cvs diff? In ../lyx-devel/ ? yup. How much longer can this thread go on for :) john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.

Re: [PATCH] tiny whitespace

2002-03-19 Thread Andre Poenitz
On Tue, Mar 19, 2002 at 06:02:39PM +0100, Jean-Marc Lasgouttes wrote: > Except that your patch only applied from src/, that's why I got > rejects and lost the changelog. Where am I supposed to call cvs diff? In ../lyx-devel/ ? Andre' -- André Pönitz

Re: [PATCH] tiny whitespace

2002-03-19 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Tue, Mar 19, 2002 at 05:24:40PM +0100, Jean-Marc Lasgouttes Andre> wrote: >> OK, you're right, I'll commit it :) Andre> It's just to show that I can behave nicely when it does not Andre> matter... Except that your patch only a

Re: [PATCH] tiny whitespace

2002-03-19 Thread Andre Poenitz
On Tue, Mar 19, 2002 at 05:24:40PM +0100, Jean-Marc Lasgouttes wrote: > OK, you're right, I'll commit it :) It's just to show that I can behave nicely when it does not matter... Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: [PATCH] tiny whitespace

2002-03-19 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Tue, Mar 19, 2002 at 03:48:55PM +0100, Jean-Marc Lasgouttes Andre> wrote: >> Does that fix a bug? Where is the Changelog? Andre> Actually I thought I had written a Changelog entry... OK, you're right, I'll commit it :) JMarc

Re: [PATCH] tiny whitespace

2002-03-19 Thread Andre Poenitz
On Tue, Mar 19, 2002 at 03:48:55PM +0100, Jean-Marc Lasgouttes wrote: > Does that fix a bug? Where is the Changelog? Actually I thought I had written a Changelog entry... Andre' -- André Pönitz .. [EMAIL PROTECTED]

[PATCH] tiny whitespace

2002-03-19 Thread Andre Poenitz
Please apply -- André Pönitz .. [EMAIL PROTECTED] Index: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.634 diff -u -p -r1.634 ChangeLog -