Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] versioning tool (diff)

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] versioning tool (diff)


Chronological Thread 
  • From: Stephan Kassemeyer <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] versioning tool (diff)
  • Date: Tue, 12 Feb 2013 10:27:10 +0100

Hi,
it seems that I answered my own question:

the problem was that the buffer doesn't get loaded before the comparison command. A look in the code revealed that buffer loading from the command line is now translated into scheme "load-buffer" commands which executed delayed. The solution to my problem is to
prepend the load-buffer command to my comparison command:

texmacs -x "(load-buffer \"`pwd`/version2.tm'\" :new-window) (compare-with-older \"version1.tm\")"

I used this to implement a "git texmacsdiff" command.
If you know a better solution, please let me know.

Best regards,
Stephan Kassemeyer.


On 2/8/2013 11:03 AM, Stephan Kassemeyer wrote:
Dear TeXmacs users and developers,

with TeXmacs version 1.0.7.14 I could use an external version control
program which I instructed to show differences between versions with the
following command-line invocation of TeXmacs:

texmacs version2.tm -x "(compare-file \"version1.tm\")"

(this is bash syntax for escaping the " character).
Now that TeXmacs version 1.0.7.16 includes its own version control, the
compare-file command was renamed to compare-with-older. But
unfortunately, the updated version of my command no longer works:

texmacs version2.tm -x "(compare-with-older \"version1.tm\")"


Can someone please help me? Am I doing something wrong or is this no
longer possible?

Best regards,
Stephan Kassemeyer.




Archive powered by MHonArc 2.6.19.

Top of Page