From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#70077: An easier way to track buffer changes Date: Mon, 08 Apr 2024 13:27:47 -0400 Message-ID: References: <86frvy51af.fsf@gnu.org> <86msq3yhot.fsf@gnu.org> 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="18016"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: acm@muc.de, yantar92@posteo.net, Stefan Monnier , 70077@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 08 19:29:42 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rtsoO-0004UC-Fh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Apr 2024 19:29:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtsno-0005UQ-EA; Mon, 08 Apr 2024 13:29:05 -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 1rtsni-0005Tu-0f for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 13:28:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rtsng-0000Gq-BU for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 13:28:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtsnn-0007Q9-QA for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 13:29:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Apr 2024 17:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70077 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70077-submit@debbugs.gnu.org id=B70077.171259729828140 (code B ref 70077); Mon, 08 Apr 2024 17:29:03 +0000 Original-Received: (at 70077) by debbugs.gnu.org; 8 Apr 2024 17:28:18 +0000 Original-Received: from localhost ([127.0.0.1]:47561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtsn3-0007Jg-NJ for submit@debbugs.gnu.org; Mon, 08 Apr 2024 13:28:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtsmu-0007HC-TU for 70077@debbugs.gnu.org; Mon, 08 Apr 2024 13:28:11 -0400 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 1rtsmg-0008UV-5S; Mon, 08 Apr 2024 13:27:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=XWmI97MSED0EBPvzrrhjZYNH+Tl9StLVLhe1LOLXVjA=; b=AY1DQQWO5XTXM3DEbfFP HZuWXkvvtWa1fOIsiegmem2cG1IEU2K+oLUzw5bAUYlcRxwkTI6hmsErdIwmgQpfSS2WPuqHc95ni iOiAvRgYTnw//KHoHdS0xPag23wOEsIaNjJRZkwH7N3YfVBnZT71UF7S6wbVvaP+HDfi12/KLUX2x 6PyxKk4wIfddfGUZcubGXZ8121l0I8AeLD9Y8AiqnLg3XLR9SBd/74sZB1SicBIoU1tN+dbOeqTpu nmro+xy8dAvVORL7dodKtUVho7hoWsmwu1gKSQU8XCAXGZrx/ExDJzOD8yyRDkgH2IJv8X2vqqEjh IBl167CifOmTYQ==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rtsmZ-0007Rb-NL; Mon, 08 Apr 2024 13:27:49 -0400 In-Reply-To: (Stefan Monnier via's message of "Mon, 08 Apr 2024 13:17:37 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282949 Archived-At: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: >>> Maybe `describe-type` should lists the slots first and the docstring >>> underneath rather than other way around? >> >> That'd also be good. Then the doc string should say something like >> >> Object holding a description of a buffer state. >> It has the following Allocated Slots: >> >> Name Type Default >> =E2=80=94=E2=80=94=E2=80=94=E2=80=94 =E2=80=94=E2=80=94= =E2=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94 >> beg t (point-max) >> end t (point-min) >> before t nil >> next t nil >> >> BEG..END is the area that was changed and BEFORE is its previous >> content[...] > > OK, I'll switch the two, thanks. > >> (Btw, those "t" under "Type" are also somewhat mysterious. What do >> they signify?) > > `C-h o t RET` says: > > t=E2=80=99s value is t >=20=20=20=20=20 > Not documented as a variable. >=20=20=20=20=20 > Probably introduced at or before Emacs version 16. >=20=20=20=20=20 >=20=20=20=20=20 >=20=20=20=20=20 > t is also a type. >=20=20=20=20=20 > t is a type (of kind =E2=80=98built-in-class=E2=80=99). > Children =E2=80=98sequence=E2=80=99, =E2=80=98atom=E2=80=99. >=20=20=20=20=20 > Abstract supertype of everything. >=20=20=20=20=20 > This is a built-in type. >=20=20=20=20=20 > [back] > > We could put buttons in the "Type" column, but I'm not sure it'd be > better or worse (I'm worried about turning everything into a button). FWIW I'd vote for buttonify every type in our *Help* buffer. Andrea