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.bugs Subject: bug#67287: 29.1; hs-set-up-overlay messes up indent-sexp Date: Mon, 20 Nov 2023 16:10:07 +0200 Message-ID: <83v89wikhs.fsf@gnu.org> References: <87zfz95yf0.fsf@ergo> <83a5r9jy3l.fsf@gnu.org> <87sf505ynz.fsf@ergo> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2258"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67287@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o?= Pedro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 20 15:11:29 2023 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 1r54zo-0000NT-0n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Nov 2023 15:11:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r54zT-0001MG-0E; Mon, 20 Nov 2023 09:11:07 -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 1r54zM-0001Lb-Ne for bug-gnu-emacs@gnu.org; Mon, 20 Nov 2023 09:11:00 -0500 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 1r54zM-0003oQ-C3 for bug-gnu-emacs@gnu.org; Mon, 20 Nov 2023 09:11:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r54zO-0002lG-0E for bug-gnu-emacs@gnu.org; Mon, 20 Nov 2023 09:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Nov 2023 14:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67287 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Original-Received: via spool by 67287-submit@debbugs.gnu.org id=B67287.170048943810580 (code B ref 67287); Mon, 20 Nov 2023 14:11:01 +0000 Original-Received: (at 67287) by debbugs.gnu.org; 20 Nov 2023 14:10:38 +0000 Original-Received: from localhost ([127.0.0.1]:52914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r54yz-0002ka-KV for submit@debbugs.gnu.org; Mon, 20 Nov 2023 09:10:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r54yu-0002kI-8k for 67287@debbugs.gnu.org; Mon, 20 Nov 2023 09:10:36 -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 1r54ym-0003eP-Og; Mon, 20 Nov 2023 09:10:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=TFPLzAhf5OLasFMMFfcSaumtW5pIZEqmlqZ822Xr5B8=; b=aVQQ1I6OB3IleP3ed611 NrI0iRx+Z0az5CgUP4EwZqWvo6wWviQM9ytJe+O0uh+xc2U8n+xdJy26Wjjc08V8Fz8ii7nyfqoIc /3yPBjPwNCJiTSdwjIkB8oYKPuM0ni6TkVWPmY6sqGXSSZNUrMemTYMxTW3boCEkDfnu53zCRLxto fgppQje9gk/D7oxU/aLPnJTM2PfmLPE5KEbRTjKkNZM7BD66F+jokzyAP7pKW90yiVKwQWHklnQ3l 8sj4/GxndtatsXoSyhIZA4m0E0DUuZ0siiQWfWvGi54GyCZbxvtYrZudmtQLHzx2SHBrS6782J8SC 9aDaQ4PKrpdCZg==; In-Reply-To: <87sf505ynz.fsf@ergo> (message from =?UTF-8?Q?Jo=C3=A3o?= Pedro on Mon, 20 Nov 2023 10:42:24 -0300) 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:274668 Archived-At: > From: João Pedro > Cc: 67287@debbugs.gnu.org > Date: Mon, 20 Nov 2023 10:42:24 -0300 > > > So you shouldn't expect reasonable results from indenting a sexp which > > is partially hidden and has a 'display' property that replaces it. > > IOW, always unhide the block before indenting it. > > So you mean that whatever is going to indent or modify the hidden text > should be "unhiding" it before doing so? Can you point to a function > that does this so I could take as a reference? Not sure what you want me to tell. I meant hs-show-block and its likes. > > This is not a bug. > > Yeah, but maybe it requires a bit more documenting? I couldn't find > where this new behaviour was documented in NEWS.29, all I could find was > that the implementation of overlays has changed, but no mention of how > it affects 'display' properties. Maybe I missed it? It was deemed to be a bug fix, since current-column would basically ignore these features and behave as if display properties didn't exist. And we don't call out bug fixes in NEWS.