>>>>> "Wolfgang" == Wolfgang Pausch <[EMAIL PROTECTED]> writes:
Wolfgang> Hello, I have attached a problem-report concerning Wolfgang> writing and reading abbrev-files. I have also attached Wolfgang> my abbrev_defs-file. Wolfgang> Wolfgang PauschTo: [EMAIL PROTECTED] Subject: --text Wolfgang> follows this line-- Wolfgang> Please enter the details of your bug report here Wolfgang> Problem occured also under an earlier path of XEmacs Wolfgang> 21.4 Wolfgang> I defined some extra abbrevs (for texinfo-mode, Wolfgang> BTW). Then I wrote an abbrev-defining-file using Wolfgang> write-abbrev-file. When I read this file again using Wolfgang> read-abbrev-file, I get the error "Invalid read syntax: Wolfgang> Cannot read unreadable object". When I remove the Wolfgang> jde-mode-abbrev-table manually from the file and try Wolfgang> again, everything works fine. So I think the problem is Wolfgang> located somewhere in the way JDE defines its abbrevs. The JDEE uses functions to generate expansions for Java control flow abbreviations. It looks to me like XEmacs write-abbrev-file function is trying to write out the expansions as objects, regardless of whether they are strings or functions, depending on low-level I/O functions to use the correct Lisp "read" syntax for the objects being written out. I don't know whether this approach would work in principal for abbreviations that use functions to generate the expansions but it does not appear to be working in practise. Paul