From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 25 09:21:52 2010 Received: (at submit) by debbugs.gnu.org; 25 Sep 2010 13:21:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzUhM-0008So-Ey for submit@debbugs.gnu.org; Sat, 25 Sep 2010 09:21:52 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzUhK-0008Sc-BA for submit@debbugs.gnu.org; Sat, 25 Sep 2010 09:21:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzUjw-0004gd-4U for submit@debbugs.gnu.org; Sat, 25 Sep 2010 09:24:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:35402) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzUjw-0004gX-1j for submit@debbugs.gnu.org; Sat, 25 Sep 2010 09:24:32 -0400 Received: from [140.186.70.92] (port=60656 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzUjr-0004X8-0I for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 09:24:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzUjl-0004ey-8y for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 09:24:26 -0400 Received: from mail-qy0-f176.google.com ([209.85.216.176]:55473) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzUjl-0004em-6u for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 09:24:21 -0400 Received: by qyk8 with SMTP id 8so4092472qyk.0 for ; Sat, 25 Sep 2010 06:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=t77Rw419W/kjxFKBRcjciUxq1bqCxZ50oUZrsfUXLe4=; b=UwM88XtCuorUzryJTVPgm92earIQJ0EYaaR5xuZIqBL8JvxFdAyCgEnPIG2usIt7xP cq9GV4NtV1QJdzgLqSmnwvQfEbsHypJRQ/60sd4Id7RK/7nyRPUKgh8rr87fEA6TaF02 VhBupjNKwB1mGKbdOO/BnYEZ+oE57a8K0FTe8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=ODIbxi04MPlrjxvNLNVQuKSPAtURYG1PtBM2pkChEYamIWzV2aLzh418Oy5tAyvg12 OdnLaEJzpI6cRvfe3q+l474hk2xPxlNdIlzJ7Nkkm+0KC670nQGpGPuEtRTu6OQVaXoh ITNIBwsRK1a7OYRpxnscr+H4L9mX7XNOcfqrI= Received: by 10.229.220.137 with SMTP id hy9mr3526947qcb.136.1285421059236; Sat, 25 Sep 2010 06:24:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.105.68 with HTTP; Sat, 25 Sep 2010 06:23:58 -0700 (PDT) From: Lennart Borgman Date: Sat, 25 Sep 2010 15:23:58 +0200 Message-ID: Subject: Please reveal-mode, don't hide my overlays! To: Emacs Bugs Content-Type: multipart/mixed; boundary=0016361e7f2c9f678504911569b7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) --0016361e7f2c9f678504911569b7 Content-Type: text/plain; charset=UTF-8 Am I the only one that gets crazy when reveal hides the overlays again? At least I mostly find it very frustrating when moving around in a buffer that uses org-mode. I can see it is useful sometimes though I do not know how to best separate those times when it is useful and when it is not. So I will not try that. Instead in the attached patch I made the automatic hiding optional and add a new command for hiding --0016361e7f2c9f678504911569b7 Content-Type: application/octet-stream; name="reveal-dont-hide.diff" Content-Disposition: attachment; filename="reveal-dont-hide.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_geiigzcd0 PT09IG1vZGlmaWVkIGZpbGUgJ2xpc3AvcmV2ZWFsLmVsJw0KLS0tIHRydW5rL2xpc3AvcmV2ZWFs LmVsCTIwMTAtMDMtMTIgMTc6NDc6MjIgKzAwMDANCisrKyBwYXRjaGVkL2xpc3AvcmV2ZWFsLmVs CTIwMTAtMDktMjUgMTM6MjI6MTkgKzAwMDANCkBAIC01Niw2ICs1NiwxMSBAQA0KICAgOnR5cGUg J2Jvb2xlYW4NCiAgIDpncm91cCAncmV2ZWFsKQ0KIA0KKyhkZWZjdXN0b20gcmV2ZWFsLWF1dG8t Y2xvc2UgbmlsDQorICAiQ2xvc2UgcmV2ZWFsZWQgb3ZlcmxheXMgd2hlbiBsZWF2aW5nIHRoZW0u Ig0KKyAgOnR5cGUgJ2Jvb2xlYW4NCisgIDpncm91cCAncmV2ZWFsKQ0KKw0KIChkZWZ2YXIgcmV2 ZWFsLW9wZW4tc3BvdHMgbmlsDQogICAiTGlzdCBvZiBzcG90cyBpbiB0aGUgYnVmZmVyIHdoaWNo IGFyZSBvcGVuLg0KIEVhY2ggZWxlbWVudCBoYXMgdGhlIGZvcm0gKFdJTkRPVyAuIE9WRVJMQVkp LiIpDQpAQCAtOTIsNyArOTcsOCBAQA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgKGNkciB4 KSkpKQ0KICAgICAgICAgICAgICAgICAgICAgICByZXZlYWwtb3Blbi1zcG90cykpKSkNCiAgICAg ICAgICAgKHNldHEgb2xkLW9scyAocmV2ZWFsLW9wZW4tbmV3LW92ZXJsYXlzIG9sZC1vbHMpKQ0K LSAgICAgICAgICAocmV2ZWFsLWNsb3NlLW9sZC1vdmVybGF5cyBvbGQtb2xzKSkNCisgICAgICAg ICAgKHdoZW4gcmV2ZWFsLWF1dG8tY2xvc2UNCisgICAgICAgICAgICAocmV2ZWFsLWNsb3NlLW9s ZC1vdmVybGF5cyBvbGQtb2xzKSkpDQogICAgICAgKGVycm9yIChtZXNzYWdlICJSZXZlYWw6ICVz IiBlcnIpKSkpKQ0KIA0KIChkZWZ1biByZXZlYWwtb3Blbi1uZXctb3ZlcmxheXMgKG9sZC1vbHMp DQpAQCAtMTgwLDYgKzE4NiwxNCBAQA0KICAgICAgICAgICAgICAgICAoZGVscSAocmFzc29jIG9s IHJldmVhbC1vcGVuLXNwb3RzKQ0KICAgICAgICAgICAgICAgICAgICAgICByZXZlYWwtb3Blbi1z cG90cykpKSkpKSkNCiANCisoZGVmdW4gcmV2ZWFsLWNsb3NlLXJldmVhbGVkICgpDQorICAiQ2xv c2UgcmV2ZWFsZWQgb3ZlcmxheXMuDQorVGhpcyBkb2VzIG5vdCBjbG9zZSB0aGUgb3ZlcmxheSB3 aGVyZSBwb2ludCBpcyBpbiB0aGUgc2VsZWN0ZWQNCit3aW5kb3cuIg0KKyAgKGludGVyYWN0aXZl KQ0KKyAgKGxldCAoKHJldmVhbC1hdXRvLWNsb3NlIHQpKQ0KKyAgICAocmV2ZWFsLXBvc3QtY29t bWFuZCkpKQ0KKw0KIChkZWZ2YXIgcmV2ZWFsLW1vZGUtbWFwDQogICAobGV0ICgobWFwIChtYWtl LXNwYXJzZS1rZXltYXApKSkNCiAgICAgOzsgT3ZlcnJpZGUgdGhlIGRlZmF1bHQgbW92ZS1iZWdp bm5pbmctb2YtbGluZSBhbmQgbW92ZS1lbmQtb2YtbGluZQ0KDQo= --0016361e7f2c9f678504911569b7-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 25 16:55:07 2010 Received: (at 7101) by debbugs.gnu.org; 25 Sep 2010 20:55:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozbly-0003mA-QH for submit@debbugs.gnu.org; Sat, 25 Sep 2010 16:55:07 -0400 Received: from mail-qy0-f172.google.com ([209.85.216.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozblw-0003lo-GI for 7101@debbugs.gnu.org; Sat, 25 Sep 2010 16:55:04 -0400 Received: by qyk1 with SMTP id 1so2833088qyk.3 for <7101@debbugs.gnu.org>; Sat, 25 Sep 2010 13:57:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=ydL9N0ZfYHwg4vVtpYM/HlS5Kj/pTnmqSGf6S2l50t0=; b=vYCuthE1xFtdc/isHe0EskA2Az0d0NR84n/nCQbXfWa2A5VfH9YEioaWgWEOhiOV8e G++0Pmk1M88hzQwpgDlujx/8ZiTp48vShaVLJmCgxzgeXyv1EM09w8sXsc8Re1/IoqAO sx8MnKxKbpQXLMEIGsn0/jxbtzeqkSZdkFSVY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=f4ZRTS0MudLFK+w+48xHkikpbTM/Q9d4QGR4DYwY7BBReiAd4EKNTaKMkgDAEML7Vq JdMHuoBpHjinfme8CVgEE2ZGs5zdLn4e7e5Iwu6v92ozVynj0dtYfkEeZUa6uHZeo0B6 W0CddRRVx0pzFOl0s4CpEMI/fm1K/38MFvWJk= Received: by 10.224.96.144 with SMTP id h16mr3658806qan.372.1285448267837; Sat, 25 Sep 2010 13:57:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.105.68 with HTTP; Sat, 25 Sep 2010 13:57:27 -0700 (PDT) In-Reply-To: References: From: Lennart Borgman Date: Sat, 25 Sep 2010 22:57:27 +0200 Message-ID: Subject: Re: bug#7101: Please reveal-mode, don't hide my overlays! To: 7101@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 7101 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) > Instead in the attached patch I made the automatic hiding optional and > add a new command for hiding If this is accepted then please also change the default of reveal-at-mark to nil since that seems to be a more useful default then. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 07 06:19:57 2010 Received: (at 7101) by debbugs.gnu.org; 7 Oct 2010 10:19:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3nZt-0005kF-Jy for submit@debbugs.gnu.org; Thu, 07 Oct 2010 06:19:57 -0400 Received: from smtp2a.orange.fr ([80.12.242.139]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3nZr-0005k7-DH for 7101@debbugs.gnu.org; Thu, 07 Oct 2010 06:19:56 -0400 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2a14.orange.fr (SMTP Server) with ESMTP id 4203180001A5; Thu, 7 Oct 2010 12:23:08 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2a14.orange.fr (SMTP Server) with ESMTP id 34C9780004A9; Thu, 7 Oct 2010 12:23:08 +0200 (CEST) Received: from fmsmemgm.homelinux.net (AMontsouris-552-1-107-212.w92-140.abo.wanadoo.fr [92.140.114.212]) by mwinf2a14.orange.fr (SMTP Server) with ESMTP id 111D280001A5; Thu, 7 Oct 2010 12:23:08 +0200 (CEST) X-ME-UUID: 20101007102308701.111D280001A5@mwinf2a14.orange.fr Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 9AB4DAE517; Thu, 7 Oct 2010 12:23:07 +0200 (CEST) From: Stefan Monnier To: Lennart Borgman Subject: Re: bug#7101: Please reveal-mode, don't hide my overlays! Message-ID: References: Date: Thu, 07 Oct 2010 12:23:07 +0200 In-Reply-To: (Lennart Borgman's message of "Sat, 25 Sep 2010 15:23:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 7101 Cc: 7101@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Am I the only one that gets crazy when reveal hides the overlays > again? At least I mostly find it very frustrating when moving around > in a buffer that uses org-mode. I love this feature, since it lets me open&close things without ever having to remember a keybinding: I hide everything in the major mode hook and then use reveal-mode to hide&show. > I can see it is useful sometimes though I do not know how to best > separate those times when it is useful and when it is not. So I will > not try that. > Instead in the attached patch I made the automatic hiding optional and > add a new command for hiding Maybe I could live with that, and I think it's going in the right direction (e.g. the reveal-close-revealed functionality sounds good), but I don't think having it as a defcustom is right: it's something you'll likely want to change dynamically at run time. One thing I've considered is to add a "keep-pos/region-shown" command that would mark the current buffer position (or region) as something that should stay revealed, so it won't be auto-closed when you move elsewhere. Of course, it would want to come with something like reveal-close-revealed to later re-hide them. Another thing I'd be interested to see is a hook that major/minor modes can use to have some control over showing/hiding. The main such use for me would be to let smerge-mode teach reveal-mode that if one conflict marker is revealed, all the corresponding markers should also be revealed (or maybe just: if part of a conflict is revealed, always reveal the whole conflict). Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 07 06:30:38 2010 Received: (at 7101) by debbugs.gnu.org; 7 Oct 2010 10:30:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3njz-0005rJ-RY for submit@debbugs.gnu.org; Thu, 07 Oct 2010 06:30:38 -0400 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3njw-0005rB-Ps for 7101@debbugs.gnu.org; Thu, 07 Oct 2010 06:30:21 -0400 Received: by qwc9 with SMTP id 9so246522qwc.3 for <7101@debbugs.gnu.org>; Thu, 07 Oct 2010 03:33:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=A4+hJ9865gQ0Z2AoPMHrnRxU8DtT4jkFZgIfs5kPJQU=; b=KewM6FKz2XljEkVGxksDH6tsc18JFBThR6SaiCoA8FxnwnzcPougKaYhKKXgOHoV+c 2H+5y1mFclE41NJyhuqCnPkQHlEm0TwiMl8FSDoYvAvLGyR0l4jJD/lg7FsKcsmG1464 vhg9VFXiktEYNBISjI83n34g505kEaOVki5Io= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=PLp2OOrAr3GuFBa4392gd2omHmJiT9ypAOOrHw7T8u1CH/GaAIxXE6v+ndDt/EQw/K 4bbmD/bzX7VUzPyJhivXid5cw9hhUMp18g++blDrGabVZPB1s9tqMf7/PYfZNE0nER77 QYtcoxIBkCCcv6lenk6Y8XWPlQ92veynnYWJE= Received: by 10.229.95.66 with SMTP id c2mr589976qcn.85.1286447614100; Thu, 07 Oct 2010 03:33:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.220.195 with HTTP; Thu, 7 Oct 2010 03:33:13 -0700 (PDT) In-Reply-To: References: From: Lennart Borgman Date: Thu, 7 Oct 2010 12:33:13 +0200 Message-ID: Subject: Re: bug#7101: Please reveal-mode, don't hide my overlays! To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 7101 Cc: 7101@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On Thu, Oct 7, 2010 at 12:23 PM, Stefan Monnier wrote: >> Am I the only one that gets crazy when reveal hides the overlays >> again? At least I mostly find it very frustrating when moving around >> in a buffer that uses org-mode. > > I love this feature, since it lets me open&close things without ever > having to remember a keybinding: I hide everything in the major mode > hook and then use reveal-mode to hide&show. > >> I can see it is useful sometimes though I do not know how to best >> separate those times when it is useful and when it is not. So I will >> not try that. > >> Instead in the attached patch I made the automatic hiding optional and >> add a new command for hiding > > Maybe I could live with that, and I think it's going in the right > direction (e.g. the reveal-close-revealed functionality sounds good), > but I don't think having it as a defcustom is right: it's something > you'll likely want to change dynamically at run time. Maybe it should be buffer local most of the time and take default value from a defcustom? I wonder whether searching should be made a special case here? I prefer to see my hits when searching (at least around point), but if it is the wrong place then I might want to close the revealed overlay immediately. How about something like that? > One thing I've considered is to add a "keep-pos/region-shown" command tha= t > would mark the current buffer position (or region) as something that > should stay revealed, so it won't be auto-closed when you move elsewhere. > Of course, it would want to come with something like > reveal-close-revealed to later re-hide them. It is similar to my idea above. I think my idea above could be implemented with something like that. > Another thing I'd be interested to see is a hook that major/minor modes > can use to have some control over showing/hiding. =C2=A0The main such use= for > me would be to let smerge-mode teach reveal-mode that if one conflict > marker is revealed, all the corresponding markers should also be > revealed (or maybe just: if part of a conflict is revealed, always > reveal the whole conflict). Could also be implemented with the above ideas. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 11:46:21 2020 Received: (at 7101) by debbugs.gnu.org; 19 Sep 2020 15:46:21 +0000 Received: from localhost ([127.0.0.1]:47844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJf48-0003KV-Ts for submit@debbugs.gnu.org; Sat, 19 Sep 2020 11:46:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJf47-0003K3-Mp for 7101@debbugs.gnu.org; Sat, 19 Sep 2020 11:46:20 -0400 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=Tyua1Eu6UHdTihU5t549Ux/CL0bU9Ubqwdp1VYKExdU=; b=G80XjzbsKe7QM/1eHOkLZD4HN8 +YXL7JNI6pA0S3n6qDe3tHvrMBYO3WsR2ey46lhyXyzmO2N3FuCkT7DrEjfQf1Oqtq3GXsb7KeMOj n4voCzkgNFRgKzFRTF4klJRbd9/iNhdR0RZgi75uM0AIe5wSJx9ArEZPJIZaptlyiPUM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJf3x-0007O6-Rp; Sat, 19 Sep 2020 17:46:12 +0200 From: Lars Ingebrigtsen To: Lennart Borgman Subject: Re: bug#7101: Please reveal-mode, don't hide my overlays! References: X-Now-Playing: Propaganda's _Wishful Thinking_: "Loving" Date: Sat, 19 Sep 2020 17:46:08 +0200 In-Reply-To: (Lennart Borgman's message of "Sat, 25 Sep 2010 15:23:58 +0200") Message-ID: <87y2l5ojlr.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lennart Borgman writes: > Am I the only one that gets crazy when reveal hides the overlays > again? At least I mostly find it very frustrating when moving around > in a buffer that uses org-mode. > > I can see it is useful s [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 7101 Cc: 7101@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lennart Borgman writes: > Am I the only one that gets crazy when reveal hides the overlays > again? At least I mostly find it very frustrating when moving around > in a buffer that uses org-mode. > > I can see it is useful sometimes though I do not know how to best > separate those times when it is useful and when it is not. So I will > not try that. > > Instead in the attached patch I made the automatic hiding optional and > add a new command for hiding I've reworked your patch a bit (avoiding terms like "close" and "overlay") and applied it to Emacs 28. Stefan was concerned that having just a defcustom wouldn't be enough here -- that auto-reveal should/could be done via a command. That's a good point, but I think it's quite likely that people that prefer to have this off will set the variable from a mode hook or something, so I think the variable itself is useful. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 11:46:26 2020 Received: (at control) by debbugs.gnu.org; 19 Sep 2020 15:46:26 +0000 Received: from localhost ([127.0.0.1]:47847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJf4E-0003Km-61 for submit@debbugs.gnu.org; Sat, 19 Sep 2020 11:46:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJf4C-0003KN-Sg for control@debbugs.gnu.org; Sat, 19 Sep 2020 11:46:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Zv+leEyJ++1gAp9zWbxzhEh01lnXaI3aEA39Pcuqbug=; b=mvUChWvUYIBPPWnucnXiGZRmkO 3e0YMnqGPHKWcQIV6tVC675InNeE9Adhf1ouudmY4f21X0+da5WTLpKffKKSqvxOLdH1aujQ4j2FG +t2fH4JlMflERyZZROMiz4Gin5nL7fI/m7H9Cah9ZDK4OshI3sragaQ8gCqKk/CORJTA=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJf45-0007OQ-4H for control@debbugs.gnu.org; Sat, 19 Sep 2020 17:46:19 +0200 Date: Sat, 19 Sep 2020 17:46:16 +0200 Message-Id: <87wo0pojlj.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #7101 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 7101 fixed close 7101 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 7101 fixed close 7101 28.1 quit From unknown Wed Jun 18 23:18:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 18 Oct 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator