In the previous thread I discussed four new files in Leo's leo/config directory: leo10pt.leo, leo12pt.leo, leo14-12pt.leo and leo14pt.leo.
These files are an example of an important technique, that belongs in a Leo tips section. The idea is to use .leo files to test settings rather than to contain data. This is a surprisingly important technique, one that first occurred to me last week. Indeed, it was an essential step in getting the vim-mode project started. I created a file, called ekr-vim.leo, and a corresponding script that launched it. This file contains @bool vim-mode = True. As a result, I can test vim mode *safely*, without interfering with my normal work flow. In other words, these kinds of files limit the effects of experimental/non-standard/risky settings to a single file. It's a great technique to know. As the latest example, the files leo10pt.leo, leo12pt.leo, leo14-12pt.leo and leo14pt.leo make it easy to compare different font settings. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
