bugGNU TeXmacs - Bugs: bug #61659, Command line switches with one...

 
 

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

bug #61659: Command line switches with one argument treat it as a file to open

Submitter:  Jeroen Wouters <jeronim>
Submitted:  Sat 11 Dec 2021 03:37:56 PM UTC
   
 
Category:  None Priority:  5 - Normal
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release:  2.1
Fixed Release:  None Fixed Release: 
Keywords: 

Sat 05 Feb 2022 06:30:28 PM UTC, comment #2: 

fixed in r13841

Philippe Joyez <pjoyez>
Group Member
Wed 29 Dec 2021 12:50:19 PM UTC, comment #1: 

I confirm the issue. It seems the counter incrementation was unintentionally removed in r 13638.

Philippe Joyez <pjoyez>
Group Member
Sat 11 Dec 2021 03:37:56 PM UTC, original submission:  

Command line switches with one extra argument, like "-x [cmd]" or "-log-file [file]" treat "cmd" and "file", resp., both as the argument to the desired functionality and as a TeXmacs file to open. E.g. running `texmacs -q "(quit-TeXmacs)"` will attempt to open a file called `(quit-TeXmacs)`.

I believe the counter `i` should be incremented on line 479 of `src/Texmacs/Texmacs/texmacs.cpp`.

Jeroen Wouters <jeronim>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pjoyez (Posted a comment)
  • -email is unavailable- added by jeronim (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-05 pjoyez StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2021-12-29 pjoyez StatusNone Confirmed
        Assigned toNone vdhoeven

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code