Re: lyx2lyx style question

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:00, Andre Poenitz wrote: Currently nesting there is 1. level: 4 spaces 2. level: 1 tab 3. level: 1 tab + 4 spaces etc. which is a mess when tab != 8 spaces. Is this mandatory for python or can't we simply use the same rules as in the rest of LyX? For

Re: lyx2lyx style question

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:32, Andre Poenitz wrote: So I'd rather have that in 'LyX style' with which emacs users _and_ I seem to be happy. Moreover, it would make the whole of LyX more consistent. Lars, any clue how to force emacs to do this? Andre' -- José Abílio

Re: lyx2lyx style question

2003-01-08 Thread Angus Leeming
On Wednesday 08 January 2003 10:58 am, José Matos wrote: On Wednesday 08 January 2003 10:32, Andre Poenitz wrote: So I'd rather have that in 'LyX style' with which emacs users _and_ I seem to be happy. Moreover, it would make the whole of LyX more consistent. Lars, any clue how to

Re: lyx2lyx style question

2003-01-08 Thread Lars Gullik Bjønnes
José Matos [EMAIL PROTECTED] writes: | On Wednesday 08 January 2003 10:32, Andre Poenitz wrote: | | So I'd rather have that in 'LyX style' with which emacs users _and_ I seem | to be happy. Moreover, it would make the whole of LyX more consistent. | | Lars, any clue how to force emacs to

Re: lyx2lyx style question

2003-01-08 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | José Matos [EMAIL PROTECTED] writes: | | | On Wednesday 08 January 2003 10:32, Andre Poenitz wrote: | | | | So I'd rather have that in 'LyX style' with which emacs users _and_ I seem | | to be happy. Moreover, it would make the whole of LyX

Re: lyx2lyx style question

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 11:58, Lars Gullik Bjønnes wrote: (setq py-indent-offset 8) should do the trick. (M-x set-variable RET py-indent-offset RET 8 RET) Ok, I already knew that (trial and error), but there is a small (not) problem. It really inserts 8 spaces and not a tab. André

Re: lyx2lyx style question

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 12:27:53PM +, José Matos wrote: Ok, I already knew that (trial and error), but there is a small (not) problem. It really inserts 8 spaces and not a tab. André will not like it. I like it better than the mixed version... Andre' -- Those who desire to give up

Re: lyx2lyx style question

2003-01-08 Thread Dekel Tsur
On Wed, Jan 08, 2003 at 12:27:53PM +, Jos? Matos wrote: On Wednesday 08 January 2003 11:58, Lars Gullik Bj?nnes wrote: (setq py-indent-offset 8) should do the trick. (M-x set-variable RET py-indent-offset RET 8 RET) Ok, I already knew that (trial and error), but there is a

Re: lyx2lyx style question

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 12:37, Dekel Tsur wrote: And ^Q + TAB is not a reasonable solution. You need to add (setq-default indent-tabs-mode t) That did the trick, thanks. -- José Abílio

Re: lyx2lyx style question

2003-01-08 Thread Lars Gullik Bjønnes
José Matos [EMAIL PROTECTED] writes: | On Wednesday 08 January 2003 11:58, Lars Gullik Bjønnes wrote: | | (setq py-indent-offset 8) | | should do the trick. | | (M-x set-variable RET py-indent-offset RET 8 RET) | | Ok, I already knew that (trial and error), but there is a small (not) |

Re: lyx2lyx style question

2003-01-08 Thread John Levon
On Wed, Jan 08, 2003 at 11:32:10AM +0100, Andre Poenitz wrote: I don't use emacs. This 'default' is unreadable for me unless I set tabstop==8 (I usually have *shriek* 2), moreover it is a hassle to edit Andre, Andre ... *shakes head* /me runs john -- CUT IT OUT FACEHEAD - jeffk

Re: lyx2lyx style question

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 10:16:47AM +, José Matos wrote: The cruel truth is that we use that style since it is emacs python mode default. I don't use emacs. This 'default' is unreadable for me unless I set tabstop==8 (I usually have *shriek* 2), moreover it is a hassle to edit for me (yes,

Re: lyx2lyx style question

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:00, Andre Poenitz wrote: > Currently nesting there is > > 1. level: 4 spaces > 2. level: 1 tab > 3. level: 1 tab + 4 spaces > > etc. which is a mess when tab != 8 spaces. > > Is this mandatory for python or can't we simply use the same rules as in > the rest of

Re: lyx2lyx style question

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:32, Andre Poenitz wrote: > > So I'd rather have that in 'LyX style' with which emacs users _and_ I seem > to be happy. Moreover, it would make the whole of LyX more consistent. Lars, any clue how to force emacs to do this? > Andre' -- José Abílio

Re: lyx2lyx style question

2003-01-08 Thread Angus Leeming
On Wednesday 08 January 2003 10:58 am, José Matos wrote: > On Wednesday 08 January 2003 10:32, Andre Poenitz wrote: > > So I'd rather have that in 'LyX style' with which emacs users _and_ I > > seem to be happy. Moreover, it would make the whole of LyX more > > consistent. > > Lars, any clue

Re: lyx2lyx style question

2003-01-08 Thread Lars Gullik Bjønnes
José Matos <[EMAIL PROTECTED]> writes: | On Wednesday 08 January 2003 10:32, Andre Poenitz wrote: | > | > So I'd rather have that in 'LyX style' with which emacs users _and_ I seem | > to be happy. Moreover, it would make the whole of LyX more consistent. | | Lars, any clue how to force emacs

Re: lyx2lyx style question

2003-01-08 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | José Matos <[EMAIL PROTECTED]> writes: | | | On Wednesday 08 January 2003 10:32, Andre Poenitz wrote: | | > | | > So I'd rather have that in 'LyX style' with which emacs users _and_ I seem | | > to be happy. Moreover, it would make the whole of

Re: lyx2lyx style question

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 11:58, Lars Gullik Bjønnes wrote: > > (setq py-indent-offset 8) > > should do the trick. > > (M-x set-variable RET py-indent-offset RET 8 RET) Ok, I already knew that (trial and error), but there is a small (not) problem. It really inserts 8 spaces and not a tab.

Re: lyx2lyx style question

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 12:27:53PM +, José Matos wrote: > Ok, I already knew that (trial and error), but there is a small (not) > problem. It really inserts 8 spaces and not a tab. André will not like it. I like it better than the mixed version... Andre' -- Those who desire to give up

Re: lyx2lyx style question

2003-01-08 Thread Dekel Tsur
On Wed, Jan 08, 2003 at 12:27:53PM +, Jos? Matos wrote: > On Wednesday 08 January 2003 11:58, Lars Gullik Bj?nnes wrote: > > > > (setq py-indent-offset 8) > > > > should do the trick. > > > > (M-x set-variable RET py-indent-offset RET 8 RET) > > Ok, I already knew that (trial and error),

Re: lyx2lyx style question

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 12:37, Dekel Tsur wrote: > > > > And ^Q + TAB is not a reasonable solution. > > You need to add > (setq-default indent-tabs-mode t) That did the trick, thanks. -- José Abílio

Re: lyx2lyx style question

2003-01-08 Thread Lars Gullik Bjønnes
José Matos <[EMAIL PROTECTED]> writes: | On Wednesday 08 January 2003 11:58, Lars Gullik Bjønnes wrote: | > | > (setq py-indent-offset 8) | > | > should do the trick. | > | > (M-x set-variable RET py-indent-offset RET 8 RET) | | Ok, I already knew that (trial and error), but there is a small

Re: lyx2lyx style question

2003-01-08 Thread John Levon
On Wed, Jan 08, 2003 at 11:32:10AM +0100, Andre Poenitz wrote: > I don't use emacs. This 'default' is unreadable for me unless I set > tabstop==8 (I usually have *shriek* 2), moreover it is a hassle to edit Andre, Andre ... *shakes head* /me runs john -- "CUT IT OUT FACEHEAD" - jeffk

Re: lyx2lyx style question

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 10:16:47AM +, José Matos wrote: > The cruel truth is that we use that style since it is emacs python mode > default. I don't use emacs. This 'default' is unreadable for me unless I set tabstop==8 (I usually have *shriek* 2), moreover it is a hassle to edit for me