bugGNU TeXmacs - Bugs: bug #37286, command line option -S (or...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #37286: command line option -S (or --setup) fails on windows

Submitted by:  Philippe Joyez <pjoyez>
Submitted on:  Thu 06 Sep 2012 12:03:19 PM UTC  
 
Category: Windows portPriority: 5 - Normal
Item Group: ErrorStatus: Need Info
Privacy: PublicAssigned to: Denis Raux <denisraux>
Originator Name: Open/Closed: Open
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Thu 06 Sep 2012 01:59:39 PM UTC, comment #1:

I confirm what I suspected: It works properly if immediate_options is called (a second time) after TeXmacs_init_paths (at line 466).

Would that be acceptable to simply delay the call to immediate_options or is there really an emergency to execute it so early in the program?

Otherwise I can simply create a windows specific chunk of code a bit like mac_alternate_startup.

Philippe Joyez <pjoyez>
Project Member
Thu 06 Sep 2012 12:03:19 PM UTC, original submission:

This is because in /src/scr/TeXmacs/TeXmacs/texmacs.cpp:

line 412: remove (url ("$TEXMACS_HOME_PATH/system/settings.scm"));

fails to remove that file, for some reason (It is the absence of that file that then triggers the setup process).

I have found that when executed at that location:

exists(url ("$TEXMACS_HOME_PATH/system/settings.scm"))

returns false. I have tried many variants with the url syntax, but with no luck.

I suspect it's a problem of not having yet properly initialized everything for windows because the file is indeed detected properly later on, say at line 310.

PS: I encounter this problem on an french XP system.

Philippe Joyez <pjoyez>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mdbenito (Updated the item)
  • -unavailable- added by pjoyez (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 Sep 2012 04:22:38 PM UTCmdbenitoStatusNone=>Need Info
      Assigned toNone=>denisraux
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup