Hello, Thank you for posting this patch and reporting this bug. I have committed a bunch of patches to make qemacs compile with gcc 4.1 with most warnings enabled. Alas, I didn't commit the whole set in one step: files in the libqhtml subdirectory should now compile OK with the most recent version of qe.h from the main source directory.
Regarding C-mode, '{' and ';' both invoke the do_c_electric() command to insert the character and reindent the current line. The reindentation code seems doesn't keep the current position in the buffer correctly, it moves the current position to the indentation. This behaviour is correct for the TAB key, not for electric keys. I put this show stopper at the top of my list. Chqrlie. ----- Original Message ----- From: "Stanislav Maslovski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <qemacs-devel@nongnu.org> Sent: Saturday, December 30, 2006 10:26 AM Subject: [Qemacs-devel] [PATCH] QEmacs: gcc-4.1; utf8_encode() > Hello, > > This patch fixes two small problems: > > 1. compilation error with gcc-4.1 (__attribute__) > 2. Bug fix: utf8_encode() returns an address but not a byte count. > > By the way, is editing in C-mode broken at the moment? The behaviour when > typing a '{' or ';' is strange. > > -- > Stanislav > -------------------------------------------------------------------------------- > _______________________________________________ > Qemacs-devel mailing list > Qemacs-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemacs-devel > _______________________________________________ Qemacs-devel mailing list Qemacs-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemacs-devel