From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yECqBiLvL2WLbQEAauVa8A:P1 (envelope-from ) for ; Wed, 18 Oct 2023 16:43:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yECqBiLvL2WLbQEAauVa8A (envelope-from ) for ; Wed, 18 Oct 2023 16:43:46 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D17B641852 for ; Wed, 18 Oct 2023 16:43:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=krtZWmi0; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697640226; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4T4fs60Edppb8T0IzWy1YAo1DN57+/bulsm84UFtTMg=; b=W+p9mSOKZbWFkwRw4rNFIbhWYJ+UFdceniZlOuOAqpBNtOSEYojXgxs748MHE+cw6cqzkD w/Iul6FQGDEQDHUof9nwJ4TBlHrcqo/HplCpqAAMsWQR/9pRgj9S3Vc5K/XcjvmpGzCOES KX376qqCNGJ8qfw2M1cwlgYdrXQsTGATwzPQCQ7n0pdJ1EUD0yoKU5CVTnc/GYOFzaA/Hv /LHDJ3ikiQEuciBGOqXNqh7N4g7HUBHFfi5akz/twCcUTqVjHLTLWNmgKru51eaqfb8oNG 5RgdiT8pPOy6m8r5BAsM7Ra9T32v1Cnrj7vTajFysdNxyiDMlsDJa4GjS9feYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697640226; a=rsa-sha256; cv=none; b=VAQJYLJeOp8FJMPtri87EobqJ7HMCy2H6D2CDpbukPY78S1qk7UVVYdNYRJflJeSzkZJl6 zQV9ekRAb4Rx0Kw1dmMwGGvoQ8acqBdFtO9rIehRKxiuzhZ45zS6g7w1540it+Qrq7MOoB ZpCDPsafO4lt7EEkk+yTiD99tnJhOAbq1pIMkDZrSH1h0LYqg2OO2YXh8A2W3MmdThWftm 30cOljzuTc9fSH8Vfqq6f+oyo+9yHW40zfS+nQIpcCvKKGwbNolnFcP8NIGM0amYADY/OQ ZCeZO3MDXx4qvAomDbCoWtblxdtdGfkxHgXLeODxWzw0LKUVzIC/oV7jAW0AeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=krtZWmi0; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qt7l9-0004Vu-Aw; Wed, 18 Oct 2023 10:42:55 -0400 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 1qt7l7-0004VG-Lq for emacs-orgmode@gnu.org; Wed, 18 Oct 2023 10:42:53 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qt7l6-0001k8-4w for emacs-orgmode@gnu.org; Wed, 18 Oct 2023 10:42:53 -0400 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-53b32dca0bfso14484431a12.0 for ; Wed, 18 Oct 2023 07:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697640169; x=1698244969; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=KgB8jXLa/ELAkSkTYo25FWvBVMG9UJdCPod/SwsKGok=; b=krtZWmi0c01TwnYbSyB+QQFe8Imu6Wj+c23VOQ65KXOemIHLVv9vkmQrtlDO2zf1bs sS97aP06e50ro1054PueCxQMTIdGYYSbss4zAMjMWNuWtAFfHMYMhab39A/SeX7H2iYG SrSTkesWLCqW3wvc02JhJjSi6O9/ih250CCJzpYysTU7OPMQ/Z5q5oNhVr4zpcCdBXzx DgJzdeMlavOKDqcVKdAGy16ESNd+HZGwbS8fckzGmPf96r9oLGVV2ES2rWl/IkgFMwWM duy5BeOH2DWj/22p56hlsiksfxBkQwfeO4otsrsxZoR+l23Z47WnaliBWFuM6GC856vV 2oXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697640169; x=1698244969; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KgB8jXLa/ELAkSkTYo25FWvBVMG9UJdCPod/SwsKGok=; b=Siqx7UuBm40HJQ6i6KYSRPUf2fiVZfFuQo+YpUZbbJelk25PAElsKBxD79N/5isJDd +7GolSZAu/YVy7W8rd5fUy+jgwHezs0rB/cyXUWFkCQhbniRg/Pma6Xf+k5d+WRIrxMv pNh9E9NqIbOltYVb1cbFWzF1kHlKe9WVmh7FctIauZNRQNPd/KsoxNsz2/FnnJ1NjxKB kFXtrLdCR6XNuCNlI5+uazokG9rfQItDLxZSLnvLTp/WjRKGij3j5jSePJK5YXuDXL+v I+pyVYYBXCqyd/tLdD3m6EEC/Ow1YtuxPYXvUotU+k66Vh9Mm2oE1Shs7G2TBzQchqHz SyTQ== X-Gm-Message-State: AOJu0YyL39ZCwRwx9B5KbMwkx4ifIKhAdxgfqjFtuTNmX3+BFg2UUj4A w0ofRceI8n0xGeTzAxUq9rQ/SGSYc591Q+ReYaG89J0Ty8c= X-Google-Smtp-Source: AGHT+IEE4dHK40wydlMnY2YsqMKM0NkXCIGQ4R5Qb6Xc7QXBY250Btap4mEZVe/0PvMtPNG/3/Sg/pQLoyNpFGvHIms= X-Received: by 2002:a05:6402:34c3:b0:53d:a18d:73b4 with SMTP id w3-20020a05640234c300b0053da18d73b4mr5809193edc.12.1697640169187; Wed, 18 Oct 2023 07:42:49 -0700 (PDT) MIME-Version: 1.0 From: Ivan Necas Date: Wed, 18 Oct 2023 16:42:37 +0200 Message-ID: Subject: [PATCH] org-fold: (org-fold-hide-drawer-all): Make interactive To: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="0000000000003dd00b0607fea722" Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=necasik@gmail.com; helo=mail-ed1-x529.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 3.94 X-Migadu-Queue-Id: D17B641852 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 3.94 X-TUID: EnixVi7US4Az --0000000000003dd00b0607fea722 Content-Type: multipart/alternative; boundary="0000000000003dd00a0607fea720" --0000000000003dd00a0607fea720 Content-Type: text/plain; charset="UTF-8" Hi, Sometimes, I want to unfold all the drawers using `org-fold-show-all', and then I want to hide them all back. I've noticed, there is a function `org-fold-hide-drawer-all' does just that, but it's not marked as a command, so the patch is as simple as adding `(interactive)` there, as I don't see a reason it shouldn't be one. -- Ivan --0000000000003dd00a0607fea720 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Sometimes, I want to unfold all the= drawers using `org-fold-show-all',
and then I want to hide t= hem all back. I've noticed, there is a function
`org-fold-hid= e-drawer-all' does just that, but it's not marked
as a co= mmand, so the patch is as simple as adding `(interactive)` there,
as I don't see a reason it shouldn't be one.

<= div>-- Ivan --0000000000003dd00a0607fea720-- --0000000000003dd00b0607fea722 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-lisp-org-fold.el-org-fold-hide-drawer-all-Make-inter.patch" Content-Disposition: attachment; filename="0001-lisp-org-fold.el-org-fold-hide-drawer-all-Make-inter.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lnvuzepm0 RnJvbSBiMDU5YzFkZWYxZGY1NzkyMWIwOGI1YTM1MGY4YjY3MTQ4ZGZiYzY3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBJdmFuIE5lY2FzIDxuZWNhc2lrQGdtYWlsLmNvbT4KRGF0ZTog V2VkLCAxOCBPY3QgMjAyMyAxNDo1MTozMyArMDIwMApTdWJqZWN0OiBbUEFUQ0hdICogbGlzcC9v cmctZm9sZC5lbCAob3JnLWZvbGQtaGlkZS1kcmF3ZXItYWxsKTogTWFrZQogaW50ZXJhY3RpdmUK ClRJTllDSEFOR0UKLS0tCiBsaXNwL29yZy1mb2xkLmVsIHwgMSArCiAxIGZpbGUgY2hhbmdlZCwg MSBpbnNlcnRpb24oKykKCmRpZmYgLS1naXQgYS9saXNwL29yZy1mb2xkLmVsIGIvbGlzcC9vcmct Zm9sZC5lbAppbmRleCAxOGNjYmYwYmIuLjY3YTJhMjVhNiAxMDA2NDQKLS0tIGEvbGlzcC9vcmct Zm9sZC5lbAorKysgYi9saXNwL29yZy1mb2xkLmVsCkBAIC01OTQsNiArNTk0LDcgQEAgKGRlZnVu IG9yZy1mb2xkLWhpZGUtYmxvY2stYWxsICgpCiAgIChvcmctYmxvY2stbWFwIChhcHBseS1wYXJ0 aWFsbHkgIydvcmctZm9sZC1oaWRlLWJsb2NrLXRvZ2dsZSAnaGlkZSkpKQogCiAoZGVmdW4gb3Jn LWZvbGQtaGlkZS1kcmF3ZXItYWxsICgpCisgIChpbnRlcmFjdGl2ZSkKICAgIkZvbGQgYWxsIGRy YXdlcnMgaW4gdGhlIGN1cnJlbnQgYnVmZmVyLiIKICAgKGxldCAoKGJlZ2luIChwb2ludC1taW4p KQogICAgICAgICAoZW5kIChwb2ludC1tYXgpKSkKLS0gCjIuNDEuMAoK --0000000000003dd00b0607fea722--