emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: completion-at-point + semantic : erroneous error


From: Stefan Monnier
Subject: Re: completion-at-point + semantic : erroneous error
Date: Sun, 27 Oct 2019 17:54:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> One of the things that was driving me to fix this this is that I typically
> have debug-on-error on by default, so having this function run all the time
> via company-mode was disruptive.  It looks like with-demoted-errors will
> continue to allow debug-on-error to stop, which would be useful for
> debugging a real problem.

Ah, right.  I too have debug-on-error non-nil of course.
The `error`s should be turned into `user-error`s to avoid this problem.

Tho of course, if the corresponding messages are not useful, returning
nil is a better choice, indeed.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]