From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: RFC: Automatic setup for bug-reference-mode Date: Sun, 14 Jun 2020 19:57:05 +0100 Message-ID: <87mu55tr0e.fsf@tcd.ie> References: <87r1uihtsu.fsf@gnu.org> <87h7vd3cbs.fsf@gnu.org> <87tuzdsj8d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="54906"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 14 20:57:44 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jkXp9-000E9O-CG for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Jun 2020 20:57:43 +0200 Original-Received: from localhost ([::1]:41202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkXp8-0006Sz-Dv for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Jun 2020 14:57:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkXoe-000648-AZ for emacs-devel@gnu.org; Sun, 14 Jun 2020 14:57:12 -0400 Original-Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:40995) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkXoc-00043Y-Eg for emacs-devel@gnu.org; Sun, 14 Jun 2020 14:57:12 -0400 Original-Received: by mail-wr1-x433.google.com with SMTP id j10so14867370wrw.8 for ; Sun, 14 Jun 2020 11:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ePCVJANPmtEwb/1crUWifnvZAi57LooXOLoaCCMrl+A=; b=v36yZQvQPGeflBhk2zOsoYonNAcEXm7zO3V3zdeHBvlx9SssHcNtdu+UDSCaQfQ6Ek i/q9QMY4J7cP3nfF+NxrihKXozsLTi8JvxxY8DLvK2LCg0KU4mGL/zFldhWkZuaarY4F TXsIEfaCOJxcIN2AqJbcQVzaKIsvuyhO7q8YS+U0W/iv3Zt1+16MNsveAUezlOX3/mqO WgRCDz7YDQ87goZEOeS0K19Jl07nJGJh0/EGNzAd9//b8vE0iShtsapAFcblZrRbH1V9 CBJvNCClUqAYL7hI9EO/A2SQhsWCs6d20+Gll8PEqb4EbSZ5kOAZLrlSPISWbneAemvR yv3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ePCVJANPmtEwb/1crUWifnvZAi57LooXOLoaCCMrl+A=; b=gP0B2flM032wZWezh8r2ktbNxN4Cy7d1YhWPS67OWH5PxGdCBs3J6eXkZrqbc+GOez 7bm9ywNT3tfAB/IzwiT+4jIp0c8qLFp1ZPiXXY02VaLBIWYKkxbKLzEYvrZOrCUcipFU NmjjIhZZStHaICDtlFSaZKLzaORis7vSh0rwoIob+BkFrgpSv1dkdva4Zg5yPBcwNU1V 2q/K35IV49mYsNm7APcwpvdPmZ+gHuaANTt8zpS+omela0mbBAa+mAnaRPfSNokepWEI mwUhCKFE3R4+B8ZuoabQ8isWro2Q2zAiMvHypvi3/EBU/cLxAgfWNniQizggTolnrYLx UvGQ== X-Gm-Message-State: AOAM532Cafix0rBMyyChsSX41/VW+ybi4h/fG/ojNFPoeWIJR+EOQrCo acQpQUyDoqEaK9H1JmJ5jQVJ2g== X-Google-Smtp-Source: ABdhPJxr2nSm18UTjXeJFzcOOgUyQJbf3Z8FbtDkT/Z/RSpRJiwdQE7f5VvbKHHrmOK7I3b70KhSAg== X-Received: by 2002:a5d:4d4d:: with SMTP id a13mr25752107wru.252.1592161027506; Sun, 14 Jun 2020 11:57:07 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2]) by smtp.gmail.com with ESMTPSA id f185sm20070692wmf.43.2020.06.14.11.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jun 2020 11:57:06 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sun, 14 Jun 2020 14:40:24 -0400") Received-SPF: none client-ip=2a00:1450:4864:20::433; envelope-from=contovob@tcd.ie; helo=mail-wr1-x433.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252245 Archived-At: Stefan Monnier writes: > "Basil L. Contovounesios" wrote: >> Doesn't this need a non-nil NOERROR arg? > > I don't see why: if the backend doesn't implement the feature the > front-end function will signal an error, so the callers need to be > prepared to handle an error in any case. Then there's no need for branching based on the return value of re-search-forward, since we're assuming it will succeed or barf. -- Basil