From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: dape Date: Thu, 19 Oct 2023 15:12:30 +0000 Message-ID: <878r7ybq8x.fsf@posteo.net> References: <875y3ag16c.fsf@posteo.net> <87lec58dav.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19574"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Daniel Pettersson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 19 17:13:45 2023 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 1qtUiX-0004s8-KC for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Oct 2023 17:13:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtUhV-0001GE-DS; Thu, 19 Oct 2023 11:12:41 -0400 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 1qtUhT-0001Fy-Od for emacs-devel@gnu.org; Thu, 19 Oct 2023 11:12:39 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtUhQ-00055w-T6 for emacs-devel@gnu.org; Thu, 19 Oct 2023 11:12:39 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BF04624002A for ; Thu, 19 Oct 2023 17:12:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697728352; bh=hvLgyazjsMARI5cg9CLJynWG3hLn0xoRx1qbKb+9Tpw=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=mlU5+f+Wecwmba/SkCvPxnpqIAQQHqMNWL/CCCDG5Q41k/4Vt1g2vZg5t4qMGxtFn j3uDVs3XFhuvbfgmO+TEpzcmPsTGUkHquoAFoueUCgxzBBOl8scm1WToNjUrhL/jvC +HpY3p/WJyMOwKVQ82y8LtFYu5PQU0IvPLOznFbZcLCdMZLPmhKM4j43LGrmcdTxzi US97E3izaDcIUb/HtE6j49sPmj85+OXzTcNJrV72IrwSd+QziezJHZEK5rxtIlrjid CGdVlMiwjQop5p58KscItMLM9cTAlbCt0VYsvWdpkynPp+X/e7eXIfTGKQAcUgWOcw DZP7XCb64sIQg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SBB681Mq1z9rxT; Thu, 19 Oct 2023 17:12:32 +0200 (CEST) In-Reply-To: (Daniel Pettersson's message of "Wed, 18 Oct 2023 23:54:24 +0200") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311599 Archived-At: Daniel Pettersson writes: > On Sat, Oct 14, 2023 at 4:54=E2=80=AFPM Philip Kaludercic wrote: > >> I have tried to try it out right now, but because I've never used DAP >> before, I am not sure how to get it running properly. Nevertheless, I >> think it would be useful to have something along these lines: > > Did you get working? I haven't had the time to try since. >> + (customize-variable 'dape-configs) > > Implemented 1+ >> Another interesting idea to pursue might be to have modular UIs. >> Instead of splitting up the current Emacs frame, I think a minimalist, >> more edebug-like interface would be nice, where variable values could be >> displayed using overlays instead of having a separate buffer. > > Nice suggestion. I did try to implement a more minimalist interface with > variable overlays. > > Which can be enabled with the following. > (setq dape-inline-variables t) > (setq dape-on-start-hooks nil) This sounds great, I'll have to try it out at some point! It might be nice to have this as a minor mode that you could enable with a hook or as a global minor mode. > Second screenshot in the README.org, it's more inline with edebug.=20 Just FYI these don't appear to be displayed on the GitHub page. > But > there is some issues with placement and variable lookup. The current > implementation relies on regex and font lock to search for symbols. > If that work could be offloaded to Eglot/lsp-mode via xref (*I don't > know if lsp support it). But currently that is not possible because > Eglot only supports looking up reference at point. Have you contacted Jo=C3=A3o? >> Note that you don't need to add Compat just for `defvar-keymap', as you >> could also just use the traditional method of defining a keymap instead: > > Fixed. > >> It just doesn't say that much, and I don't know if it is intended, but >> the usual way I would read/pronounce it (rhyming with cape) wouldn't >> immediately signal any relation to DAP. Note that you can use (elisp) >> Shorthands to avoid writing out a longer name inside the file, in case a >> longer name like debuger-adapter. It seems there is no package by the >> name of "dbg"? If we are not interested in a self-descriptive and >> memorable name, and would want to create a parallel to Eglot (IIRC Emacs >> polyGLOT), perhaps something like based on "Emacs Debugger" (Egger? >> Ebugger? Edebugger?) might be possible as well. > > "dbg" is nice and sweet, but I think it's a + for discoverability to have > dap in the name of the package. How about eldap? If it should signify > a connection to Eglot, maybe Ebug or even closer Dpoly? Or maybe a > reference to Grace Hopper, hopper. While I like eldap, note that this doesn't have a direct connection to Eglot -- which is /not/ Elgot. > Personally I like eldap, probably because it feels familiar.