Re: attached find an example of that lang problem accidentally inserted by paste.

2009-05-16 Thread Jürgen Spitzmüller
Paul Johnson wrote: Here's a LyX file that exhibits the problem. I copied from the black ordinary text and pasted into the ERT and you see what happens. If you look in the file in a text editor, scan for the 3rd lang. You see the problem: \begin_layout Plain Layout summary(nes2002$

Re: attached find an example of that lang problem accidentally inserted by paste.

2009-05-16 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: \begin_layout Plain Layout summary(nes2002$ \series bold \lang english V023131 \series default ) \end_layout Thus renewing my request to NOT have lang adjusted with pastes. The real fix is to set the language to latex when pasting to ERT (this is

[PATCH] Re: attached find an example of that lang problem accidentally inserted by paste.

2009-05-16 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: For me, the wrong language is only inserted into ERT when pasting with the middle-mouse button. If I paste via C-v, however, the language is correctly reset to latex. It strikes me like the attached one-liner fixes this. I'm not sure, since the behaviour is not

Re: [PATCH] Re: attached find an example of that lang problem accidentally inserted by paste.

2009-05-16 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: It strikes me like the attached one-liner fixes this. I'm not sure, since the behaviour is not predicticably reproducable. But the fix looks necessary anyway. If noone objects, I'll commit to branch and trunk. Committed. Please test whether you still can produce

Re: [PATCH] Re: attached find an example of that lang problem accidentally inserted by paste.

2009-05-16 Thread Jean-Marc Lasgouttes
It strikes me like the attached one-liner fixes this. I'm not sure, since the behaviour is not predicticably reproducable. But the fix looks necessary anyway. Looks very good IMO. JMarc

Re: attached find an example of that "lang" problem accidentally inserted by paste.

2009-05-16 Thread Jürgen Spitzmüller
Paul Johnson wrote: > Here's a LyX file that exhibits the problem. I copied from the black > ordinary text and pasted into the ERT and you see what happens. If you > look in the file in a text editor, scan for the 3rd "lang". You see > the problem: > > \begin_layout Plain Layout > >

Re: attached find an example of that "lang" problem accidentally inserted by paste.

2009-05-16 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > > \begin_layout Plain Layout > > > > summary(nes2002$ > > \series bold > > \lang english > > V023131 > > \series default > > ) > > \end_layout > > > > Thus renewing my request to NOT have lang adjusted with pastes. > > The real fix is to set the language to "latex" when

[PATCH] Re: attached find an example of that "lang" problem accidentally inserted by paste.

2009-05-16 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > For me, the wrong language is only inserted into ERT > when pasting with the middle-mouse button. If I paste via C-v, however, the > language is correctly reset to latex. It strikes me like the attached one-liner fixes this. I'm not sure, since the behaviour is not

Re: [PATCH] Re: attached find an example of that "lang" problem accidentally inserted by paste.

2009-05-16 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > It strikes me like the attached one-liner fixes this. I'm not sure, since > the behaviour is not predicticably reproducable. But the fix looks > necessary anyway. > > If noone objects, I'll commit to branch and trunk. Committed. Please test whether you still can

Re: [PATCH] Re: attached find an example of that "lang" problem accidentally inserted by paste.

2009-05-16 Thread Jean-Marc Lasgouttes
It strikes me like the attached one-liner fixes this. I'm not sure, since the behaviour is not predicticably reproducable. But the fix looks necessary anyway. Looks very good IMO. JMarc

attached find an example of that lang problem accidentally inserted by paste.

2009-05-15 Thread Paul Johnson
This note concerns the 2 threads we have going on, the 1 I started last week about lang markers in ERT (May 1 bogus \lang_english markers inserted into ERT by LyX 1.6.2 and the one from 2 days ago from the user who said he did not want any language (May 13, . Can language support be disabled?

attached find an example of that "lang" problem accidentally inserted by paste.

2009-05-15 Thread Paul Johnson
This note concerns the 2 threads we have going on, the 1 I started last week about lang markers in ERT (May 1 "bogus \lang_english markers inserted into ERT by LyX 1.6.2" and the one from 2 days ago from the user who said he did not want any language (May 13, ". Can language support be