Re: [LyX/master] Clarify quote-insert LFUN.

2024-04-05 Thread Pavel Sanda
On Thu, Apr 04, 2024 at 06:30:08PM -0400, Richard Kimberly Heck wrote:
> >>If you are asking because of file format, just resaving in lyx itself
> >>and letting lyx2lyx do its work is probably better idea than trying
> >>to produce up-to-date format (you might need to change the mid-file
> >>as well and it's way to easy to shoot yourself in the leg...)
> >I see now, that you are asking because of the change in the begining of the 
> >file. But isn't the main part solved just by the attached patch?
> 
> Yes, though I was thinking the more general point was worth making
> somewhere. I'll look at it at some point, and maybe update to current
> format.

I comitted the patch and regenerated LFUNS.lyx. Feel free to change the intro 
later...
Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] Clarify quote-insert LFUN.

2024-04-04 Thread Richard Kimberly Heck

On 4/4/24 15:02, Pavel Sanda wrote:

On Tue, Apr 02, 2024 at 09:07:10PM +0200, Pavel Sanda wrote:

On Tue, Apr 02, 2024 at 12:46:13PM -0400, Richard Kimberly Heck wrote:

On 4/2/24 05:22, Pavel Sanda wrote:

On Mon, Apr 01, 2024 at 09:28:51PM +, Richard Kimberly Heck wrote:

commit b0c4681cd8f4dedb975aac80dcb717c40aa8
Author: Richard Kimberly Heck 
Date:   Mon Apr 1 17:26:01 2024 -0400

 Clarify quote-insert LFUN.
 And add remark about multiple optional arguments.
 (cherry picked from commit 29be057a073fde4e36c9adbf31c6cd764f62bda2)

Riki, this file is unf autogenerated. Everything needs to go to LyXAction.cpp
first and later regenerated via "make lfundoc".'

Oh, right. Where can I change the stuff at the beginning of the file?

development/tools/gen_lfuns.py

If you are asking because of file format, just resaving in lyx itself
and letting lyx2lyx do its work is probably better idea than trying
to produce up-to-date format (you might need to change the mid-file
as well and it's way to easy to shoot yourself in the leg...)

I see now, that you are asking because of the change in the begining of the 
file. But isn't the main part solved just by the attached patch?


Yes, though I was thinking the more general point was worth making 
somewhere. I'll look at it at some point, and maybe update to current 
format.


Riki


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] Clarify quote-insert LFUN.

2024-04-04 Thread Pavel Sanda
On Tue, Apr 02, 2024 at 09:07:10PM +0200, Pavel Sanda wrote:
> On Tue, Apr 02, 2024 at 12:46:13PM -0400, Richard Kimberly Heck wrote:
> > On 4/2/24 05:22, Pavel Sanda wrote:
> > >On Mon, Apr 01, 2024 at 09:28:51PM +, Richard Kimberly Heck wrote:
> > >>commit b0c4681cd8f4dedb975aac80dcb717c40aa8
> > >>Author: Richard Kimberly Heck 
> > >>Date:   Mon Apr 1 17:26:01 2024 -0400
> > >>
> > >> Clarify quote-insert LFUN.
> > >> And add remark about multiple optional arguments.
> > >> (cherry picked from commit 29be057a073fde4e36c9adbf31c6cd764f62bda2)
> > >Riki, this file is unf autogenerated. Everything needs to go to 
> > >LyXAction.cpp
> > >first and later regenerated via "make lfundoc".'
> > 
> > Oh, right. Where can I change the stuff at the beginning of the file?
> 
> development/tools/gen_lfuns.py
> 
> If you are asking because of file format, just resaving in lyx itself
> and letting lyx2lyx do its work is probably better idea than trying
> to produce up-to-date format (you might need to change the mid-file
> as well and it's way to easy to shoot yourself in the leg...)

I see now, that you are asking because of the change in the begining of the 
file.
But isn't the main part solved just by the attached patch?

Pavel
diff --git a/po/cs.gmo b/po/cs.gmo
index 77e6cdb0b6..a2e7997798 100644
Binary files a/po/cs.gmo and b/po/cs.gmo differ
diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index b6bb52152c..96b41c18a5 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -3466,7 +3466,7 @@ void LyXAction::init()
  * \var lyx::FuncCode lyx::LFUN_QUOTE_INSERT
  * \li Action: Inserts quotes according to the type and quote-language 
preference.
  * \li Notion: Currently 15 different quote styles are distinguished (see 
params).
- * \li Syntax: quote-insert [] [] [

Re: [LyX/master] Clarify quote-insert LFUN.

2024-04-02 Thread Pavel Sanda
On Tue, Apr 02, 2024 at 12:46:13PM -0400, Richard Kimberly Heck wrote:
> On 4/2/24 05:22, Pavel Sanda wrote:
> >On Mon, Apr 01, 2024 at 09:28:51PM +, Richard Kimberly Heck wrote:
> >>commit b0c4681cd8f4dedb975aac80dcb717c40aa8
> >>Author: Richard Kimberly Heck 
> >>Date:   Mon Apr 1 17:26:01 2024 -0400
> >>
> >> Clarify quote-insert LFUN.
> >> And add remark about multiple optional arguments.
> >> (cherry picked from commit 29be057a073fde4e36c9adbf31c6cd764f62bda2)
> >Riki, this file is unf autogenerated. Everything needs to go to LyXAction.cpp
> >first and later regenerated via "make lfundoc".'
> 
> Oh, right. Where can I change the stuff at the beginning of the file?

development/tools/gen_lfuns.py

If you are asking because of file format, just resaving in lyx itself
and letting lyx2lyx do its work is probably better idea than trying
to produce up-to-date format (you might need to change the mid-file
as well and it's way to easy to shoot yourself in the leg...)

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] Clarify quote-insert LFUN.

2024-04-02 Thread Richard Kimberly Heck

On 4/2/24 05:22, Pavel Sanda wrote:

On Mon, Apr 01, 2024 at 09:28:51PM +, Richard Kimberly Heck wrote:

commit b0c4681cd8f4dedb975aac80dcb717c40aa8
Author: Richard Kimberly Heck 
Date:   Mon Apr 1 17:26:01 2024 -0400

 Clarify quote-insert LFUN.
 
 And add remark about multiple optional arguments.
 
 (cherry picked from commit 29be057a073fde4e36c9adbf31c6cd764f62bda2)

Riki, this file is unf autogenerated. Everything needs to go to LyXAction.cpp
first and later regenerated via "make lfundoc".'


Oh, right. Where can I change the stuff at the beginning of the file?

Riki


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] Clarify quote-insert LFUN.

2024-04-02 Thread Pavel Sanda
On Mon, Apr 01, 2024 at 09:28:51PM +, Richard Kimberly Heck wrote:
> commit b0c4681cd8f4dedb975aac80dcb717c40aa8
> Author: Richard Kimberly Heck 
> Date:   Mon Apr 1 17:26:01 2024 -0400
> 
> Clarify quote-insert LFUN.
> 
> And add remark about multiple optional arguments.
> 
> (cherry picked from commit 29be057a073fde4e36c9adbf31c6cd764f62bda2)

Riki, this file is unf autogenerated. Everything needs to go to LyXAction.cpp
first and later regenerated via "make lfundoc".

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel