> stefan monnier >>> There remain some questions on this patch: >>> 1- When `filedata` is neither a number nor a string this is treated >>> the >>> same as an empty string. Is that right? Or should it just never >>> happen (in which case we should probably catch this case and signal >>> an error). (still have not rediscovered the other 2 bugs i mentioned in my last message.) when filedata's value is of type character, it is treated as if it were an integer. for all the other datatypes i tested, yes, the function behaves as if the value is an empty string. this diff shows calling the function with different filedata values: https://codeberg.org/ozzloy/emacs/commit/cb8332b37b94e836e3072864594d9bdb1c0ef161 (also available as attached file filedata-value-of-various-types.diff)