From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: kobarity Newsgroups: gmane.emacs.bugs Subject: bug#52092: 28.0.60; hs-toggle-hiding does not toggle once folded Date: Sun, 25 Sep 2022 11:26:35 +0900 Message-ID: References: Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30282"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Cc: 52092@debbugs.gnu.org, Eli Zaretskii , Dan Nicolaescu , Mohammed Sadiq , Thien-Thi Nguyen To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 25 04:28:10 2022 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 1ocHNK-0007k0-5h for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Sep 2022 04:28:10 +0200 Original-Received: from localhost ([::1]:44394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocHNI-0007Ch-Np for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Sep 2022 22:28:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocHNC-0007CZ-6w for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 22:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocHNB-0008NP-Uu for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 22:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ocHNB-0002Hk-Pu for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 22:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: kobarity Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Sep 2022 02:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52092 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: help Original-Received: via spool by 52092-submit@debbugs.gnu.org id=B52092.16640728328722 (code B ref 52092); Sun, 25 Sep 2022 02:28:01 +0000 Original-Received: (at 52092) by debbugs.gnu.org; 25 Sep 2022 02:27:12 +0000 Original-Received: from localhost ([127.0.0.1]:45602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocHMN-0002Gc-OD for submit@debbugs.gnu.org; Sat, 24 Sep 2022 22:27:11 -0400 Original-Received: from mail-pl1-f172.google.com ([209.85.214.172]:34717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocHMK-0002GM-Mc for 52092@debbugs.gnu.org; Sat, 24 Sep 2022 22:27:10 -0400 Original-Received: by mail-pl1-f172.google.com with SMTP id w13so3417442plp.1 for <52092@debbugs.gnu.org>; Sat, 24 Sep 2022 19:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:references:in-reply-to:subject:cc:to:from :message-id:date:from:to:cc:subject:date; bh=/jQCqUeS5XEw7qdNXerD/ZSIFEZn6UhAFoTg6Wy/tIQ=; b=o3RIEqiSG3IWHJCyIGPFdla0yAL21iCXF1xBcLLclB6BaDHxbKFoIi6KFPVfTou1Wp OQyMXeTHGwQeNZc6ZiL6ta70qtB1ncwkl9EoyKFo6asbD9wQNcXY5RhOGfr1CaCtoeKC EHwd5BB9VqrXLa+cMhZNO9WhtZdsVWR/jAcv4tNq7A6i4sBE5OAep2mnauwNIlAnXCkU mtidMnb40KsykxvHjhR9hhWUkqZRWT3GgKooi9zS2Ser0O0DofQdqZb9jdYYhdnYwi3r 2HWZSPDqCsyADWCM0Oz/XO3XeHWT8/eg8aBytpzCXiTYGH6mXnqDVwOyt8o+wyGpQvua YJqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:references:in-reply-to:subject:cc:to:from :message-id:date:x-gm-message-state:from:to:cc:subject:date; bh=/jQCqUeS5XEw7qdNXerD/ZSIFEZn6UhAFoTg6Wy/tIQ=; b=e14Pz3+FKgvZaRGHj/AbZq/3VVfdAyHoevdUW2T2UHod9ICgCUdKrNd5I9qassy1FN RmQ5XO5DIR1ClTzVNFqo0Mxjwn5svFV+BTIlhtDknNlBdZjVqZB1QuCeocSWJ08LGWh9 d5OQ/EmkoTw+isFhmSzUavyLVy3p3zlOKxtIMUaN4YaHU0jansiyE6vt2E5+o0+HTeTE 63Bku68a62qgcv4DFYcgNE+HOU7DpkyZ9idXKr2qt+obZlDmjoMMQUf8kQnB+NhSnbZj 0Aqiub1AchfopViv3zkDirxZk7YAZ0sA7TEZNtTN29AQQ/NK1k90+Cad3bf+bCjWl+XC BEsw== X-Gm-Message-State: ACrzQf00DTfuc7ZD54oVOcJ19ucIAqhN7KwrJhvzAoEHZey+F+cW+v4n HKubdlX/cJ47vI7d5RdmUkc= X-Google-Smtp-Source: AMsMyM6EvowrKtCjhjNqRiH4VCHYiYAwQwyoFfQeAKk0A2KA/fYSBui+iP96+uhSOjoJmZjXL9rmqA== X-Received: by 2002:a17:902:e850:b0:178:64f:a57d with SMTP id t16-20020a170902e85000b00178064fa57dmr16255771plg.110.1664072822632; Sat, 24 Sep 2022 19:27:02 -0700 (PDT) Original-Received: from localhost (58x12x133x161.ap58.ftth.ucom.ne.jp. [58.12.133.161]) by smtp.gmail.com with ESMTPSA id t4-20020a1709027fc400b00176dd41320dsm8345354plb.119.2022.09.24.19.26.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 19:27:01 -0700 (PDT) In-Reply-To: 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" Xref: news.gmane.io gmane.emacs.bugs:243563 Archived-At: Stefan Monnier wrote: > I pushed to `master` a patch which makes `event-end` return a position > that's always at `point` for keyboard events, even if `point` is hidden. > That should bring back the previous behavior (it's not safe enough for > the `emacs-28` branch, sadly). > > But I think your patch is still an improvement since it makes > `hs-toggle-hiding` work even when point is right after the hidden block. > I also like the additional tests you provide. > So I adjusted it to the new code and pushed it to `master`. I confirmed that everything works as expected. Thank you for fixing the issue and improving my patch. Regards,