jed-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: problem with non ascii chars in xjed on kubuntu 7.10


G. Milde schrieb:
On  1.12.07, Jörg Sommer wrote:
Joachim Schmitz <js@xxxxxxxxxxxxx> wrote:

I am using xjed 0.99.18U on kubuntu 7.10. for editing for example python source code. Whenever I enter an umlaut-char like 'ü', I get <C3><BC>, which is, I assume the utf8 representation of 'ü'.

What settings do I have to change to get 'ü' in the source.

Fast fix::
disable_dfa_syntax_for_mode("python");

that does not fix it.

I am using the recent version of pymode from cvs:
I have a debian setup with my settings in /etc/jed.d/10aixtra.sl

1. I put

disable_dfa_syntax_for_mode("python");

in my python_mode_hook. That gave an error:

/usr/share/jed/lib/site.sl:1778:modeline_hook:Type Mismatch
  Local variables for modeline_hook:
        Integer_Type mode = 0
        Integer_Type extra_hook = 33
        Undefined_Type mstr = Undefined_Type
/usr/share/jed/lib/site.sl:1868:mode_hook:Type Mismatch
  Local variables for mode_hook:
        String_Type ext = "py"
        Undefined_Type n = Undefined_Type
        Undefined_Type mode = Undefined_Type
Traceback: find_file
/usr/share/jed/lib/site.sl:3190:command_line_hook:Type Mismatch
  Local variables for command_line_hook:
        Integer_Type n = 0
        Integer_Type i = 2
        String_Type file = "WAeUP_SRP/WAeUPTool.py"
        Integer_Type depth = 0
        Undefined_Type next_file = Undefined_Type
        String_Type tmp = "eUP_SRP/WAeUPTool.py"
        Null_Type init_file = NULL
        Undefined_Type next_file_arg = Undefined_Type
***string***:-1:<top-level>:Type Mismatch
Traceback: called from eval: .()command_line_hook

I put it at the beginning of 10aixtra.sl that gave no error but had no effect either:

I deleted pymode.dfa in my jed/lib

I invoked xjed with two buffers one with a python-file and one with an slang-file I can enter the umlauts are displayed correct in the sl-buffer and incorrect in the python-buffer.





--
Gruß Joachim

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]