From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: srht Date: Thu, 19 May 2022 06:56:12 +0200 Message-ID: <87leuyun2m.fsf@gnu.org> References: <87tu9mu40v.fsf@posteo.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15710"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.21; emacs 29.0.50 Cc: Stefan Monnier , emacs-devel@gnu.org To: Aleksandr Vityazev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 19 07:08:59 2022 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 1nrYPD-0003sl-MP for ged-emacs-devel@m.gmane-mx.org; Thu, 19 May 2022 07:08:59 +0200 Original-Received: from localhost ([::1]:49966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrYPC-00080q-7C for ged-emacs-devel@m.gmane-mx.org; Thu, 19 May 2022 01:08:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrYON-0007Jw-3O for emacs-devel@gnu.org; Thu, 19 May 2022 01:08:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrYOM-0004F4-3u; Thu, 19 May 2022 01:08:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=wfnMD6ixjnCiAhoEJ4pXF5DC2iD5Vf09ZDwwthXh424=; b=Vv/nupoFD2FKvW NLuL0JKiDEnqWFu/W2mL5+E9tTLQhrLwymMkJQcg5hcMHMCJMn172N+Ilmw4sEUaXkGxcmKIyLgjy or40wG3eJeFGqzNsBDKQPtJ8+SMbRfQNnT7b4j2YrwT3x36DDkfDhMEVER/nPoI+mx9Fn4OKOJtGj JKV1/CwQpgH78neYOrwDd99RCGGBNKk19IuK2203l2NPwsgXXT3ME/v71djzGtP83t+TddJZOM5yK kIW7YOipIscfq5w2WKL5Rv9j1cd9d1sLS8ECBbEYmoYtgFiZniI9cHa8sjOmpgrkr85p5r7uRQgZ0 O28hEBxx6cnSC4U9+Dzg==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:36473) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrYOL-00025f-SM; Thu, 19 May 2022 01:08:05 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 3532627C0054; Thu, 19 May 2022 01:08:04 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 19 May 2022 01:08:04 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedriedtgdelvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvfevufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnhepud ejtdehuddvleffjeekteegvdehleehvdeufefhueekkeekhedvgfeggeffvefgnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 May 2022 01:08:03 -0400 (EDT) In-reply-to: <87tu9mu40v.fsf@posteo.org> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:289951 Archived-At: Aleksandr Vityazev writes: >>> No, in version 0.1 it is already possible to interact with any >>> Sourcehut instance. Can be specified via the srht-domain variable. >> >> That's one variable, hence only one instance. > > Good point, now I understand, will be included in version 0.2. Out of curiosity, what are you planning to do? I didn't quite get Stefan's compaint to begin with. I would imagine one sets srht-domain on a per-project basis, i.e., in a .dir-locals.el file. Should the package cater for the possibility that a project's git is on instance 1 but the tracker on instance 2? Or should there just be a way to define all instances I want to interact with and then have an convenient switch-command? Or should the instance be a mandatory argument to all functions (which would also be ok if it's just a library providing access to the srht API) and packages using srht should handle the "which instance" aspect? Bye, Tassilo, who's just trying to make sure we're all on the same page...