[EMAIL PROTECTED] writes:

| On Fri, 12 Jan 2007, Georg Baum wrote:
| 
| > Abdelrazak Younes wrote:
| >
| >> Georg Baum wrote:
| >>> They are not different than the translatable ones. The only problem I can
| >>> imagine is that the cache could get out of date if somebody changes the
| >>> layout file.
| >>
| >> Do you mean in the Document settings? If yes, then we just need to reset
| >> the cache when this is changed.
| >
| > No, I mean if somebody changes the layout file on disk. I don't know
| > whether we read layout files only on startup, or always if a buffer
| > is loaded, so I don't know whether this is already a problem or not.
| 
| When I messed with layouts as a user, LyX only read layout files on
| startup. So that's how the older versions did it and AFAIK this has
| not changed. However, I really hope LyX will be able to to re-read the
| layout files in the future so I think it'd be bad to add a constraint.

We read layout files lazily, they are read when first used.

What do we gain by re-reading?

-- 
        Lgb

Reply via email to