bugGNU TeXmacs - Bugs: bug #59768, Copy to TeXmacs Scheme yields...

 
 

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

bug #59768: Copy to TeXmacs Scheme yields incorrect code

Submitter:  Giovanni Piredda <pireddag>
Submitted:  Mon 28 Dec 2020 02:06:45 PM UTC
   
 
Category:  None Priority:  5 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  None Release:  1.99.17
Fixed Release:  None Fixed Release: 
Keywords: 

Sun 16 Mar 2025 08:11:59 PM UTC, comment #3: 

closing since there is no obvious issue.

Philippe Joyez <pjoyez>
Group Member
Wed 17 Mar 2021 03:51:22 PM UTC, comment #2: 

I did not realize that "color" between quotes is correct (as it is correct without quotes as well).
This said, pasting into Scheme sessions IMHO still doesn't "work as it should". I add more details here, although the bug can probably be closed.


I expect it to paste expressions as plain text, while they get interpreted by TeXmacs.

This example is better than the one I made first.

1. Write a mathematical expression with Greek letters
2. Copy it to TeXmacs Scheme
3. Paste it onto a Scheme session

The Greek letters appear as Greek letters, not as Scheme code. The way to get them to appear as Scheme code (e.g. <alpha>) is paste from Verbatim.

Since I expected the Scheme session to work like a terminal, I did not figure out how to get around this for a long time (for a while I used pasting to a text editor as an intermediate step).

Most probably this is an issue of user interface and not a malfunctioning, in the sense that Joris (or who wrote the code) intended it to work in this way.

Giovanni Piredda <pireddag>
Wed 17 Mar 2021 03:12:00 PM UTC, comment #1: 

Are you sure this is incorrect code, G.? If I paste it into a Scheme session as

(stree->tree '(with "color" "green" (circle (point "0.0" "2.0") (point "2.0" "1.0") (point "2.0" "3.0"))))

I get a nice green circle :)

Jeroen Wouters <jeronim>
Group Member
Mon 28 Dec 2020 02:06:45 PM UTC, original submission:  

When copying from source in a drawing. Did not test further.

Example (note that "color" is between quotes, while it should not be as far as I understand):

<with|color|green|<circle|<point|0.0|2.0>|<point|2.0|1.0>|<point|2.0|3.0>>>

yields

(with "color" "green" (circle (point "0.0" "2.0") (point "2.0" "1.0") (point "2.0" "3.0")))

Giovanni Piredda <pireddag>

 

(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 (Posted a comment)
  • -email is unavailable- added by pireddag (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-03-16 pjoyez Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code