From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [NonGNU ELPA] 11 new packages! Date: Thu, 17 Nov 2022 20:56:21 +0200 Message-ID: <83leo9csve.fsf@gnu.org> References: <87r0y6ug9z.fsf@disroot.org> <87o7t7f5r1.fsf@disroot.org> <83mt8qg7rs.fsf@gnu.org> <877czueqwq.fsf@disroot.org> <838rkafzq1.fsf@gnu.org> <87a64pd5c1.fsf@disroot.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27158"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Akib Azmain Turja Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 17 19:56:48 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 1ovk48-0006ry-GC for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Nov 2022 19:56:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovk3h-0007US-LQ; Thu, 17 Nov 2022 13:56:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovk3f-0007Tq-T4 for emacs-devel@gnu.org; Thu, 17 Nov 2022 13:56:19 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovk3f-0006Gq-9E; Thu, 17 Nov 2022 13:56:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UoA3giuOWD6qSfncG76jBiolp0OnDOaqWE+kzrZieEQ=; b=ghDhSII9vd11 Q5Ye9v/oEO+Q7jZa9eiinvaa/Joq15/X+O6JvDGQiFC7CckXvT4IOeNWNS3zl6YPA4KI3rVmiPaUw C9ddyA5Qb1RjCyX0V38QBpyuwttkB9D8CLNBkEptH2/KpNMRJr3GGCgykfRXN9+lA1v36iEeGJcgT ulyxdWGuSBtUJj/uUe+HzwL7bYrOG2GpMPOcrC/P+fcCpmulSOJTNWY6C+82ITJQFV9P5tBSCLxMN jNA3LsapBtYn4XJHHBXoQGmhZU5BI0I+H1Z+euVIejiKPBkacG3VF2e1yc+j63rPXLNrtg+FcI6Wv qiy732+nGgT1zDCWW30KnQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovk3e-00039O-Or; Thu, 17 Nov 2022 13:56:19 -0500 In-Reply-To: <87a64pd5c1.fsf@disroot.org> (message from Akib Azmain Turja on Thu, 17 Nov 2022 20:27:10 +0600) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300070 Archived-At: > From: Akib Azmain Turja > Cc: emacs-devel@gnu.org > Date: Thu, 17 Nov 2022 20:27:10 +0600 > > >> At a quick look, IIUC midnight.el kills buffers once a day, while > >> GC Buffers kills buffers after a minute of idle, by default. > > > > And? If that's the only issue, it shouldn't be hard to extend > > midnight.el to do this more frequently, or add a derivative minor mode > > for that purpose. > > Probably. Anyway, does midnight.el allow to use a function instead of > regexp? Not that I see, no. But it should be an easy extension. Also, there's a midnight-hook, in which you can do stuff even without such extensions. > > I guess my point is that we should try not to invent new wheels where > > old one are available and working. > > Yeah, but I reinvented the wheel six month ago (according to the first > commit) without knowing someone has already invented the wheel before. We are talking about what should be in Emacs and in ELPA. The fun of inventing wheels for your own use and joy no one can take from you.