mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Reload my-init-texmacs.scm


Chronological Thread 
  • From: Karl Hegbloom <address@hidden>
  • To: Michael Shea <address@hidden>
  • Cc: texmacs-users <address@hidden>
  • Subject: Re: [TeXmacs] Reload my-init-texmacs.scm
  • Date: Tue, 12 Jan 2016 10:54:29 -0700

Hmmm. For keyboard macros, try making the defining of them happen inside a function you define, or from inside of a separate scheme file you load from inside of my-init-texmacs.scm, and make sure it's idempotent such that running it twice or more times produces the desired result with no duplication and none left behind after you move them... Then call that function or load that scheme file from inside of a scheme session in a document.

On Tue, Jan 12, 2016 at 10:51 AM, Karl Hegbloom <address@hidden> wrote:
I think that unless my-init-texmacs.scm is set up just right so that it doesn't double-do things... like clicking the "submit payment" button twice kind of thing; then you can try to reload it via a scheme session in a document... but really it's meant to be run during a particular phase of the editor's start-up process, and with the associated assumptions regarding what is or isn't already loaded, the known state of the editor during startup, etc. To be sure it's working, you really do need to just restart the editor.

I really wish that somebody will have the time available to port TeXmacs to the latest (pre-released) version of Guile, since it adds a virtual machine and byte code compiler, which makes it run much faster. That would make TeXmacs much faster for many operations performed in guile scheme code.


On Tue, Jan 12, 2016 at 9:27 AM, Michael Shea <address@hidden> wrote:
I am working on defining so new keyboard macros. Whenever I save a change to my-init.texmacs.scm I have to close and reload TexMacs to make the changes effective. Is there a command I could issue to cause this reload to speedup my testing?  Document->Update->All does not work. 



--



--



Archive powered by MHonArc 2.6.19.

Top of page