From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: completion-at-point + semantic : erroneous error Date: Sun, 27 Oct 2019 17:54:00 -0400 Message-ID: References: <957ad127-0d84-69e3-49b6-9799975bd724@siege-engine.com> <9cf7e484-9a86-ab1c-b04f-9dc3e7c91974@gmail.com> <1a694f37-5f8a-9e75-2ca4-feafa2b55504@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="162279"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Emacs Development , Eric Ludlam To: Eric Ludlam Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 27 22:54:18 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iOqUL-000g39-2J for ged-emacs-devel@m.gmane.org; Sun, 27 Oct 2019 22:54:17 +0100 Original-Received: from localhost ([::1]:49640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOqUJ-0005Xa-Sf for ged-emacs-devel@m.gmane.org; Sun, 27 Oct 2019 17:54:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59370) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOqUA-0005XN-6L for emacs-devel@gnu.org; Sun, 27 Oct 2019 17:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOqU8-0007yy-Al for emacs-devel@gnu.org; Sun, 27 Oct 2019 17:54:05 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29576) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iOqU8-0007yk-4B for emacs-devel@gnu.org; Sun, 27 Oct 2019 17:54:04 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 363244494A1; Sun, 27 Oct 2019 17:54:03 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 399B2442486; Sun, 27 Oct 2019 17:54:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572213242; bh=3tElzroUzlCeDd+C9n9o6+/QcVRao2v0ke3pMb0ifHo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=g3ixdnLbJdUsK0at+oSFQ3fIhAQqS8xdBSGsjuH/MIfp+Us0S25Ln7R76gagwAOHb K8MYsQe2EocKcz0kd0KhxL1L3HD5dFADevjgNrGK4iPLBfDaYcwg86U+Wqlxoz0aMN MopEiE9FTtlg27VZIxlAbvbRej9I34WLmhudWIVr7BXCrDMcxzE14LtCI4G+bDP1N4 oKoDSLfQyowTBgwF7UoY8vW3/7NrEaojTvwH8w1jfd2l2+lL/eK1Vxqi3O15TiCjOd jAD08mxYcnBz5qntqFJ6VK+qK3CkniqGu9TCj2h/p7gdt5Mwo2khIigWrE08kQSQ5q HMavuLuulPN4Q== Original-Received: from pastel (unknown [216.154.37.243]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id F1DE1120547; Sun, 27 Oct 2019 17:54:01 -0400 (EDT) In-Reply-To: <1a694f37-5f8a-9e75-2ca4-feafa2b55504@gmail.com> (Eric Ludlam's message of "Sun, 27 Oct 2019 07:52:10 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241527 Archived-At: > 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 ti= me > via company-mode was disruptive.=A0 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