|Subject:||bug#24923: 25.1; Lisp watchpoints|
|Date:||Sat, 12 Nov 2016 19:54:01 -0500|
|User-agent:||Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)|
Eli Zaretskii <address@hidden> writes: >> From: address@hidden >> Cc: address@hidden >> Date: Fri, 11 Nov 2016 23:34:33 -0500 >> >> >> + (_ (format "watchpoint triggered %S" (cdr args)))) >> > >> > Can you give a couple of examples of this, with %S shown explicitly? >> > I'm not sure whether the result will be self-explanatory. >> >> You mean examples of this this clause being used? It was meant more as >> a catchall in case some watch types were missed by the previous clauses. >> It shouldn't really ever happen unless the debugger and watchpoint code >> get out of sync. Do you think it would be better to just signal an >> error? (although would signalling an error while the debugger is >> invoked cause trouble?) > > Either signal an error, or include something like "(please submit a > bug report)" in the text. Here is the updated patch, created with -b. I went with a call to `error'. And actually, I had missed a couple of watchpoint types.
For the manual, do you think I should document just the debugging commands, or should there additionally be a section in the "Variables" chapter about the watchpoint mechanism?
|[Prev in Thread]||Current Thread||[Next in Thread]|