From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#51809: 29.0.50; [PATCH] Support for outline default state in Diff buffers Date: Sat, 05 Feb 2022 23:00:05 +0100 Message-ID: <875yptas9m.fsf@gnus.org> References: <87lf1sw6ji.fsf@gmail.com> <86h7cgdk4v.fsf@mail.linkov.net> <87ee7kvshn.fsf@gmail.com> <87a6i7x5iq.fsf@gmail.com> <86k0hbam7r.fsf@mail.linkov.net> <878rxrmy7q.fsf@gmail.com> <86y256uc0v.fsf@mail.linkov.net> <87r1ajknsr.fsf@gmail.com> <86ilvu6w6k.fsf@mail.linkov.net> <871r2hc51a.fsf@gmail.com> <87r19zs662.fsf@gmail.com> <871r1zm7ji.fsf@gmail.com> <87wnjrkrwd.fsf@gmail.com> <86ilv8pnf3.fsf@mail.linkov.net> <87k0fouzxs.fsf@gmail.com> <86sftumahu.fsf@mail.linkov.net> <87pmouw9qr.fsf@gmail.com> <87a6fuvzj9.fsf@gmail.com> <86bkzli245.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40256"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Matthias Meulien , 51809@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 05 23:01:29 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 1nGT7Y-000AJI-7F for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Feb 2022 23:01:28 +0100 Original-Received: from localhost ([::1]:60608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGT7W-00014T-Q3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Feb 2022 17:01:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGT7D-00014L-PS for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 17:01:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGT77-0007iG-MN for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 17:01:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGT77-0001gn-MB for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 17:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Feb 2022 22:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51809 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch Original-Received: via spool by 51809-submit@debbugs.gnu.org id=B51809.16440984203550 (code B ref 51809); Sat, 05 Feb 2022 22:01:01 +0000 Original-Received: (at 51809) by debbugs.gnu.org; 5 Feb 2022 22:00:20 +0000 Original-Received: from localhost ([127.0.0.1]:35771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGT6S-0000up-44 for submit@debbugs.gnu.org; Sat, 05 Feb 2022 17:00:20 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:49558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGT6Q-0000ml-Bi for 51809@debbugs.gnu.org; Sat, 05 Feb 2022 17:00:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=m8Gz4pmOCGifFMWAjQP0wj4FgkMmvCJCcaB6JdkbrRA=; b=JkCRPzII1J91sDnLkLCPm2uska kZSB3GmrXfBXv9dDprUTOf9/051SyRo4w8KgQRf3tRMuSaZ+nxTLtnFDvxvj/98APFMC6nc3cprsK 8O2rW1W98HOlrg42MinxdN6VfkoRLY8LeJHdNNEtl8iFQHdo3yu891IuLde89wIzKhH8=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGT6G-0004Dn-Hz; Sat, 05 Feb 2022 23:00:12 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUKBAYvHCFdOT68 i4T////X5tW9AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YCBRUbDYy9J9EAAAGNSURBVDjLjZMBkuQg CEXFuYDoBSJcYAL3v9uAojHTu1VjVaoTn3zwQ6f0lwXX517FklKTzioHReyIhZrO9Q7JF7PyAKfg nbKJiAUD631kvRM3ojLTqTw6d9VGPb6alhVApsx5a+8QENunts6lFqIO+len8e5bX0s0a0/cZaoa ybKB6eJIAeynFaYW2AfHKztneq7Cs6Y8fttxR40U+hvw8K7aLQlKkxMUDyB7sDT9BSwASS6sYQoM YKVhNwu1VwqAA9wegURClaInE0gB9BxV6GyWA+8FmaEbwAI42i5VX1JaoI6eC27go2MfMIehG4hy TauyXnmOT4fV/mnrbY/YBElPpQZwN8owz7IYSPCA2WzxsgzkyPGMC89JjInJTyYfJDzBzAZWj0ld qa6b20Yf/roDNsN1eTWvrEK+b13eE0f6Wsv2FF4c63tN3P+BMBF/AECW1/7uoJXrrQtkZzYoYFKY kKIjj+2JerEwHAUeg+j/V9cjHHctb4KIM9c7xJmROsq70sfCgljpHyDWD2kXUIuxbhsYAAAAJXRF WHRkYXRlOmNyZWF0ZQAyMDIyLTAyLTA1VDIxOjI3OjEzKzAwOjAwVyvRBgAAACV0RVh0ZGF0ZTpt b2RpZnkAMjAyMi0wMi0wNVQyMToyNzoxMyswMDowMCZ2aboAAAAASUVORK5CYII= X-Now-Playing: David Bowie's _Young Americans_: "Can You Hear Me" In-Reply-To: <86bkzli245.fsf@mail.linkov.net> (Juri Linkov's message of "Sat, 05 Feb 2022 20:45:30 +0200") 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:226098 Archived-At: Juri Linkov writes: >> I see one problem: Once one has some default state configured for Diff >> mode, it applies to patch embedded in Gnus Article buffers, but there >> the outline-minor-mode keymap isn't active and there's no way to toggle >> headings visibility... No idea how to improve this situation... > > Oh, I see now it's a real problem. Some patches are not displayed > because their hunks are hidden. Fro example, a patch from bug#53770 > attached below, becomes hidden with these settings: > > (add-hook 'diff-mode-hook > (lambda () > (setq-local outline-default-state 2) > (outline-minor-mode 1))) Hm, that's not good... Perhaps we could just disable outline on the Gnus level when displaying parts? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no