jed-users mailing list

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

Re: some UTF8 problems, one fixed


Hallo John,

"John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
> Jörg Sommer <joerg@xxxxxxxxxxxx> wrote:
>> It doesn't solve the problem.
>>
>> Insert the word vorübergehend in a buffer and insert the string vorüb and
>> press ESC-/. I get vorübbergehend with two B.
>
> I am unable to reproduce this.  What version of slang are you using?

% JED_ROOT=$PWD ./src/objs/xjed --version
jed version: 0.99.19-142/Unix
 Compiled with GNU C 4.3
S-Lang version: 2.1.3

jed compile-time options:
 +LINE_ATTRIBUTES +BUFFER_LOCAL_VARS +SAVE_NARROW +TTY_MENUS
 +EMACS_LOCKING +MULTICLICK +SUBPROCESSES +DFA_SYNTAX +ABBREVS
 +COLOR_COLUMNS +LINE_MARKS +GPM_MOUSE +IMPORT

Using JED_ROOT=/home/joerg/git/debian/jed

> What does `jed -batch -n` produce?

% JED_ROOT=$PWD ./src/objs/xjed -batch -n
loading /home/joerg/git/debian/jed/lib/site.sl
loading /home/joerg/git/debian/jed/lib/os.sl
loading /home/joerg/git/debian/jed/lib/menus.sl

% JED_ROOT=$PWD ./src/objs/xjed -n -f 'define cat_buf() { push_spot(); bob(); push_mark(); eob(); fprintf(stderr, "---\n%s\n", bufsubstr()); pop_spot(); }' -f 'insert("vorübergehend\nvor"); buffer_keystring("\e/\nvorüb\e/\eXcat_buf;exit_jed\n")'
---
vorübergehend
vorübergehend
vorübbergehend

>> % JED_ROOT=$PWD ./src/objs/xjed -n -f 'define cat_buf() { push_spot(); bob(); push_mark(); eob(); fprintf(stderr, "---\n%s\n", bufsubstr()); pop_spot(); }' -f 'text_mode(); insert("vorübergehend"); cat_buf; insert("\nvor"); dabbrev; cat_buf; insert("\nvorüb"); dabbrev; cat_buf; exit_jed'
>
> The problem with these experiments is that dabbrev was never written
> to be used outside of an interactive context.

Okay. I thought it is a bug.

Regards, Jörg.
-- 
Die beste Tarnung ist die Wahrheit. Die glaubt einem keiner!
                      (Max Frisch: ‚Biedermann und die Brandstifter‘)

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


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