Subject: mailing-list for TeXmacs Users
List archive
From : Vincent Douce Mathoscope <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] crash after renaming
- Date: Wed, 27 Sep 2017 08:50:12 +0200
hi Philippe and Karl
for this strange bug, here are the answers to some of your questions :
- i believed that Coline had the same bug on windows, but it is not the case : phone co-working makes sometimes miscomprehensions
- the file enonce.tm does not open by double clic, but opens from texmacs' "file" menu, "Open..."
so, okay it may be a bug of mac os X.
it is the first time i encoutener such a bug, it never happened before on my mac under any application
i dont know enough about informatics to understand where is the difference between doublc clic or "open with" from mac os' contextual menu, and "Open..." from the TeXmacs menus. At a certain point, i guess something like, mac os knows it has to "send“ the file to TeXmacs and, for any reason, it does not.
that's all i can say about this topic that we can maybe close..
thank for your answers
Vincent
Le 26 sept. 2017 à 22:46, Karl Hegbloom <address@hidden> a écrit :I think that what you are describing is some kind of MacOS library level bug. That is supported by the report that the bug was not reproducible on Linux.I have a run from staging-install with --gdb switch on the ./texmacs start script, so I can run it under M-x gdb in Emacs. That is in my texmacs svn clone on github; poke around on different branches...So a debug build running under gdb, then put in a breakpoint... that's what this may require to find it...What does the broken, then now-repaired by copying??? look like in a plain text editor or pager (less)? Is there a diff between the .tm files, outside TeXmacs parsing of it?On Tue, Sep 26, 2017, 08:47 Vincent Douce Mathoscope <address@hidden> wrote:Hi Philippesorry 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
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...
VincentLe 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 toopen 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
Vincent Douce
Mathoscope, éveilleur de mathématiques
http://mathoscope.xyz
http://mathoscope.xyz
06~13~11~07~26
Bagnères de Bigorre 65200
- [TeXmacs] Rép : crash after renaming, Vincent Douce Mathoscope, 09/26/2017
- Re: [TeXmacs] Rép : crash after renaming, Philippe Joyez, 09/26/2017
- Re: [TeXmacs] Rép : crash after renaming, Karl Hegbloom, 09/26/2017
- Re: [TeXmacs] crash after renaming, Vincent Douce Mathoscope, 09/27/2017
Archive powered by MHonArc 2.6.19.