octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54310] Synchronize file encoding used in edit


From: Torsten
Subject: [Octave-bug-tracker] [bug #54310] Synchronize file encoding used in editor with the one used for executing m files
Date: Sun, 29 Jul 2018 07:30:51 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #4, bug #54310 (project octave):

changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/bd30c6f8cfb7
implements the other way, i.e. updating __mfile_encoding__ whenever the gui
preference changes. Currently there is no modification since windows-1250 or
ibm850 seens to be okay for __mfile_encoding__.

However, there is a minor issue: it is not possible to determine who has
called __octave_link_gui-preference__. Assume, it was __mfile_encoding__
setting the encoding to "cp1250". Then the gui preference is updated to
"WINDOWS-1250". Since this change might be initiated by some other internal
function (not __mfile_encoding__) the gui "updates" __mfile_encoding__
resulting in "windows-1250" instead of "cp1250". Due to this change, there is
another request for updating the gui preference, however, here the cycle stops
since the gui preference would not change.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54310>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]