Re: [LyX/master] Move input method debug messages to Debug::KEY category

Jean-Marc Lasgouttes <[email protected]>
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
Le 10/04/2026 à 10:29, Koji Yokota a écrit :
> commit 37b9cff52fb2f2819733fb884a10748d564e0ea5
> Author: Koji Yokota <[email protected]>
> Date:   Fri Apr 10 17:27:05 2026 +0900
> 
>      Move input method debug messages to Debug::KEY category

This is fine.

>   #ifdef _DEBUG
> -	LYXERR(Debug::DEBUG, "GuiInputMethod: Address of parent: " << parent);
> -	LYXERR(Debug::DEBUG, "GuiInputMethod: Address of buffer_view_: " <<
> +	LYXERR(Debug::KEY, "GuiInputMethod: Address of parent: " << parent);
> +	LYXERR(Debug::KEY, "GuiInputMethod: Address of buffer_view_: " <<
>   	       &d->work_area_->bufferView());
>   #endif

Koji, why the #ifdef _DEBUG? It defeats the whole logic of runtime 
selection of debug messages.

JMarc
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.