mailing-list for TeXmacs Users

Text archives Help


[TeXmacs] Rép : crash after renaming


Chronological Thread 
  • From: Vincent Douce Mathoscope <address@hidden>
  • To: address@hidden
  • Subject: [TeXmacs] Rép : crash after renaming
  • Date: Tue, 26 Sep 2017 16:47:13 +0200

Hi Philippe
sorry i answered on your personnal adress instead of answering on the forum

of course you are right
i should say more precisely
we work on, say 6 docments, shared by a dropbox
(framabox was not working...)

it often occurs that when one of both us starts workign, the file (among the 6 we work on) can not open

TeXmacs, instead, opens a blank document with starnge name (&!?a for example)

then if we duplicate the document (Command-D from Mac os X's Finder or the equivalent operation under windows) we get a copy that works

but if we trash the original and rename the copy, the problem starts again
i have made two videos on this fact
https://www.youtube.com/watch?v=CtrX-bkvcgk&list=PLwVXFDzLfXhc9yaw0Oy54VpBTd-wExrYD

Attachment: enon.tm
Description: Binary data

Attachment: enonc.tm
Description: Binary data


and here two files that appear on the second video

i guess there should be a problem by using space or - in the name of a tm file
but precisely, here, the space and the - (generated by mac oS) make the document readable

TeXmacs does not crash, you are right, the exact sentence would be : the document does not open

more surprising : see the 3rd video on the playlist

the name is enonce.tm and it does not open
if i rename it enonc.tm it opens
if then i rename it again enonce.tm it does not open
even with 1.99.5
i didnt find on texmacs.org any more recent version

if you have any idea...

Vincent

Le 18 sept. 2017 à 15:41, Philippe Joyez <address@hidden> a écrit :

Hi Vincent and Coline,

we encounter bugs, systematically, when we rename a document and then try to
open it a blanck document with strange name appears

What do you mean by "systematically"? If such a "systematic" bug were
affecting that basic functionality in two OSes it would have been reported
earlier, don't you think?

By "renaming", I guess you mean when you "save as..." with an other name. From
the image it looks like it could be an encoding problem with the filename. Are
you trying to use accented characters (or any non-ascii character) in the file
name or path?

After renaming, does the file name appear as expected in the Finder (MacOS) or
Explorer (Win)? Is it readable (and non-empty) in a plain text editor?

The title says "crash", but the "strange document" seems to open anyway. At
what point does texmacs crash?

it occurs both on my mac os X.10.4 Texmacs 1.99.4 and on Coline's TeXmacs

Many bugs have been fixed since Texmacs 1.99.4. Please, try with an up-to date
MacOS version.

IIRC Coline uses Texmacs for windows, and I presume it is the most recent
version (1.99.5) available from texmacs website. Some encoding problems in the
windows version have been addressed in this more recent non-official build:
https://github.com/slowphil/mingw-w64-texmacs/releases/download/svn10605%2Bextras/texmacs_installer-svn10605.extras.exe
Could she give it a try and report back?

it can give sevreal examples :
For me, these files open just fine in linux and windows; I can rename them
without any problem (even with accented names) and they still open correctly.

Philippe

––––––––––––––––––––––––––
Vincent Douce
Mathoscope, éveilleur de mathématiques
http://mathoscope.xyz
06~13~11~07~26
Bagnères de Bigorre 65200
––––––––––––––––––––––––––
Vincent Douce
06~13~11~07~26
Bagnères de Bigorre 65200



Archive powered by MHonArc 2.6.19.

Top of page