Re: Buffer sometimes changes to modified during isearch

2006-08-03 Thread Klaus Zeitler
Stefan == Stefan Monnier [EMAIL PROTECTED] writes: Stefan Can you send a reproducible test case? Stefan This is due to the recent changes to font-lock. The problem goes away if you turn global-font-lock-mode off. The buffer is modified or not, depending upon how

Re: [EMAIL PROTECTED]: Font Lock on-the-fly misfontification in C++]

2006-08-03 Thread Alan Mackenzie
Morning, Stefan! On Tue, Aug 01, 2006 at 03:23:54PM -0400, Stefan Monnier wrote: It seems that the identification of the safe place (in a previously unfontified region) needs to be done by a function essentially the same as font-lock-extend-region-function, since f-l-multiline properties

Re: [EMAIL PROTECTED]: Font Lock on-the-fly misfontification in C++]

2006-08-03 Thread Alan Mackenzie
Morning, Richard! On Wed, Aug 02, 2006 at 05:20:12PM -0400, Richard Stallman wrote: For distinguishing the two versions I write Emacs and XEmacs, because the context shows we are talking about these two variants of the original GNU Emacs. This leaves a difficulty when there is no context.

Re: [EMAIL PROTECTED]: Font Lock on-the-fly misfontification in C++]

2006-08-03 Thread David Kastrup
Alan Mackenzie [EMAIL PROTECTED] writes: Morning, Richard! On Wed, Aug 02, 2006 at 05:20:12PM -0400, Richard Stallman wrote: For distinguishing the two versions I write Emacs and XEmacs, because the context shows we are talking about these two variants of the original GNU Emacs. This

Re: emacs completion inferior to bash's

2006-08-03 Thread Richard Stallman
In the top info menu, we type mysTAB Menu item: mysql As the cursor is left at the end of line instead of moving further to the right like bash does on successful only match completions, _we must hit tab again_ to find Menu item: mysql [Sole completion] I do not

Re: subst-char-in-region broken when a before-change function reads buffer contents

2006-08-03 Thread Stefan Monnier
When I put a function calling buffer-substring into the before-change-functions hook, then subst-chars-in-region sometimes produces wrong results. Good catch. Does the patch below help? Stefan --- orig/src/editfns.c +++ mod/src/editfns.c @@ -2706,6 +2706,10 @@ Lisp_Object

Re: Error when applying hunk in Diff buffer

2006-08-03 Thread Stefan Monnier
Or maybe diff-mode should be able to cope with a diff like this: [...] And DTRT? Yes, maybe diff-mode could use some heuristic to decide which of the two file names should be used. Maybe if one of the two is a backup files (with the ~ at the end) or if one of the two is read-only,

ERC and mouse-avoidance-mode

2006-08-03 Thread David Hansen
Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of

Re: subst-char-in-region broken when a before-change function reads buffer contents

2006-08-03 Thread Milan Zamazal
SM == Stefan Monnier [EMAIL PROTECTED] writes: When I put a function calling buffer-substring into the before-change-functions hook, then subst-chars-in-region sometimes produces wrong results. SM Good catch. Does the patch below help? I think so, thanks! Regards, Milan

Re: Segfault and font corruption in menu under Windows

2006-08-03 Thread Ralf Angeli
* Ralf Angeli (2006-07-27) writes: We received a bug report on the AUCTeX list about a crash of Emacs under Windows. The report including a description on how to reproduce the crash can be found at URL:http://thread.gmane.org/gmane.emacs.auctex.general/1281/focus=1286. Here is a backtrace I

Re: Segfault and font corruption in menu under Windows

2006-08-03 Thread Ralf Angeli
* Eli Zaretskii (2006-08-03) writes: Put a watchpoint to watch *(char *)0x85f988, and see what code modifies it. Thanks for the hint. That's what I get when playing around with it a little bit (control characters replaced by strings again): Breakpoint 1, w32_wnd_proc (hwnd=0x101f0, msg=43,

Re: Segfault and font corruption in menu under Windows

2006-08-03 Thread Jason Rumney
Ralf Angeli [EMAIL PROTECTED] writes: Hm, a Google search regarding _libkernel32_a_iname revealed nothing really interesting. iname is used to denote an unknown function, in this case it is in libkernel32 (I assume this is mingw's name for the system library kernel32.dll, or a wrapper for it).