From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Should EDE use project.el [PATCH] Date: Mon, 16 May 2022 18:23:43 +0200 Message-ID: <20220516162343.xtr6op7kiyl24a5t@Ergus> References: <20220516114643.5234do3n6zbyxv7r.ref@Ergus> <20220516114643.5234do3n6zbyxv7r@Ergus> <20220516150035.f5yryr6uby6msfqy@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5535"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 16 19:12:05 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 1nqeGK-0001KJ-Qb for ged-emacs-devel@m.gmane-mx.org; Mon, 16 May 2022 19:12:04 +0200 Original-Received: from localhost ([::1]:55106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqeGJ-0008Tu-JA for ged-emacs-devel@m.gmane-mx.org; Mon, 16 May 2022 13:12:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqdVh-0008U0-65 for emacs-devel@gnu.org; Mon, 16 May 2022 12:23:53 -0400 Original-Received: from sonic306-2.consmr.mail.bf2.yahoo.com ([74.6.132.41]:45578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqdVe-0007qb-CV for emacs-devel@gnu.org; Mon, 16 May 2022 12:23:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1652718228; bh=/FqcX7LUCcbJbJiy9bmEBkXO7iR9/VInjdYj9PDmuGo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=SxVe0enhKHHyxz1D7tdKm1MW2T+4dwG4hQFJqJaeAXjRI7YP2Xd936EaVm8zs7TdGPAE43Sc2AupRskpmw3XJIZDlGbWxyj0cBVGQ4QK1osA+K2VuOstZMP/Ga/Y0W4pn7RH+WdbidFBze8LtTmm/MQqr/P0x6auKRiLuXSq/R5ccyfeyPF+BrvPlr9czIRmQ1E9KYWMmeoyGx3L2iNMObkesuininhawt9YYEzFqQHbjBSeKLlBNhXA1FIHLRKPFV9kQg/xWS3lstkthmwawESuS13dlBNqsTth+1LliCJ+B9WAsM1VkozZKCRa+SzelU6M8iUFE/gOyYul6CvlcA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652718228; bh=nzZxWStXo2dJAYmHIrnS9279Y0ZnxMaeELkRdrLpK7O=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=X9b6zjnXctPI5iJS0YOL/VkGeDEQQyLZ0zzh30op3uWaxIgMPwgzcxud4kSj7cfruiA7+CSPLqhQvqwdXN6sCOMhQW4Wq7+jTrvg1hYMr71IDQUNYyvfbbm9DrSAyLC/MFXOwaYEBuUPGJVyh9w+nDTWrj/yQMZKCWXw5+0cMpJzJcUZr60wbQ4NdVrvaYKRyjaSHfgjJpc4ITpJ9nB8OjuGZILJKFZA2e2z16XN0CM91+bpeZjhY80gIXSMoKowUAXHDWWR7ZXu0Bonzdyd/KaJHjafrOXkmElI7t9CdH8acixLYCXCMKzvYA/Soo8kjX7Q8ujnXYfiS6VkMlC3Hw== X-YMail-OSG: zXTtL4kVM1lDiNjfo7C7vgVZ1FS81NZOwS9cTUHpBPAIIW.vy3fENC9DhZ3WpRv 7Y1L.W1Ta4svu.3mT6prGCZjcvA2wXTWFh6GcaqMzEbEM9UTUCqxIVRz0COdkToGKjD3EXXe2sE5 s3J2TUKtz8ROHHLqiDepFh94b8j99seXYj.S3R7TKMFRDCZdYZJw6VzRDh3S4BNtI6oVuYwekycY fQhmA6jYPBRUu63lyedfHkU6wwUrWSE950MTnlmFlV7.gpw5Rp5NykPFm1Y2qYu93H54jHgETsxe lg4IiHlszalEjGFhdWO9d8Lg6Rxo11i9MvTXhktTuvIhh5SJUdQx1Q2drsXYiLllNs7uDZ_0hrCE 8W7106436xbdZILWwatV2_6f0UEu5_JcTTDCDuUK6MlC8NGnXmsyQp00MxM1udpZa1Roldd8_y_b TaVMXK7b1hni0Gr67ohNBSND6pUH9d1ZMEXjhyp_yyLyqWyYt1dUyzsXL1CAhbmq_9e8cF12bRRw QneeBTLNobCh5vNZlKzcsRFtABY3n12Fm0iaQpLcoVe8uGYeoY8JVuSIGW3tLL_LGMEAj7RsfROg 53MuuVYt2du1YrdaLGtkw9o58vgszJsBwYJd2Iox9w8uZoxqHRPhh2ADbFW6CtvsCUlHEWyDOcv4 DqzxfMAn9NXDwcWiSAJyLYTpvcKYE7bKMomZ7L6qXI62MWkDPbcq6LzFNNNlfQVIr7raIYZCK04n WCZQ4DEnm5Q2kCkCsciZ1zsshhG5qNvsFcz_GH7kFPuqKgLS_SUKd4gwNUE10yFeNTOQuwGEnvZo R4wI.FCJhGG2DJ6Y.I27uGSrW7Snt9dBJZeSMjlvHA X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Mon, 16 May 2022 16:23:48 +0000 Original-Received: by hermes--canary-production-ir2-695448f88c-ksb2v (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d1875191c77aaddf02c02c4ebf4adee3; Mon, 16 May 2022 16:23:45 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.20188 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.132.41; envelope-from=spacibba@aol.com; helo=sonic306-2.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:289810 Archived-At: On Mon, May 16, 2022 at 06:50:59PM +0300, Dmitry Gutov wrote: >On 16.05.2022 18:00, Ergus wrote: >>Hi: >> >>I just attached an extremely simple (intested) attempt to make cedet use >>Project.el.. Maybe Dmitry or someone with more experience may complete >>this and extend it when possible? > >Looks okay to me. > >To give more detailed feedback, one might need more knowledge of >CEDET, I think > >Do you use it? CEDET, I mean. If yes, this can be a beneficial >direction to go in. My observations say it's only falling out of >favor, though. > I only get messages like this all the time: Debug on Error enabled globally - which-key: There are no keys to show [2 times] is undefined is undefined is undefined Remote file error: Forbidden reentrant call of Tramp [3 times] - which-key: There are no keys to show [2 times] is undefined is undefined is undefined Remote file error: Forbidden reentrant call of Tramp [3 times] - which-key: There are no keys to show [2 times] is undefined is undefined is undefined is undefined So I am 90% sure nobody is trying cedet with tramp. >> >>Best, >>Ergus >> >>On Mon, May 16, 2022 at 01:46:43PM +0200, Ergus wrote: >>>Hi: >>> >>>Recently working in the gtags-mode package I thought to add a backend >>>for ede/cedet... but I have found that most of the ede features overlap >>>or coincide with ones in project.el. >>> >>>So my question is: Isn't it easier to add a backend in locate.el to make >>>ede use project as one ede-locate-setup-options? >>> >>>I am not sure about how useful is ede or cedet these days as they seem >>>to be a bit unmaintained, but IMHO, if we don't want to remove them (for >>>some reason) but still keep project.el as the preferred way to go, then >>>maybe cedet should use the project.el functions by default. >>> >>>The basic implementation seems to need only: >>> >>>initialize-instance >>>ede-locate-ok-in-project >>>ede-locate-file-in-project-impl >>>ede-locate-create/update-root-database >>> >>>Implementing all these may be extremely simple but not sure if it worth >>>the effort. >>> >>>What do you suggest? >>> >>>Best, >>>Ergus >>> > >