From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eH6AM2F712VmcQAA62LTzQ:P1 (envelope-from ) for ; Thu, 22 Feb 2024 17:50:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eH6AM2F712VmcQAA62LTzQ (envelope-from ) for ; Thu, 22 Feb 2024 17:50:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=icGKy2b3; 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=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708620641; 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=CRDyf2U9GSm/ctwzI/uNaAwflHaHalSLOGJboepsoCo=; b=dAFQ9cbO6Vf2XjHScYMuQDWGnCaGoJCJNei3vhwqn/otgmLGf3EwlTFNa+tnIHrvHPzIma VLJrypWDIjL1HxErfeQ0ufY9IPrw/sHEdSx7WxcLec8BdcQIGYV2itzLYx+pOIbUXFig2P AHD2Iq7XGPAIln/Xuzn6r3PYqr3XKU7xZ70/PgxoQ/WVSeD1ff8YeZNJwpHOcuaA1PopvH 0Pzrw/VC3OMTvLleteUglkuEvNapUa9EXzyjB8yW2bTLxI+NW2EFeFt+0t4CNr3l2pnsOG O4T0TZTBK6egrCozR9Z6ZPzyzgmK5gOKzlChKHRGJLOV0+XEIr5K+Ey4AzL6lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=icGKy2b3; 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=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708620641; a=rsa-sha256; cv=none; b=QqxpygFIMPlRVQxiQaG0VkyGcRF/QzguyDGWg3RHKzkgS38CA4Bzlva9+h86PnjQUFOURS 1aepvRXpoI/H/w6olJNg+uqZ0mygNmzlO1HxzCB4kBaos46a7E+hWydYH8qziPyhDvdn4A o87ai3w2KPGBDVPC/BIS6jUoDuAt9iPgNUaeiEFIicKPpbN0KH4V9EOzsLDm1+0rH5UxyN 2tBbtYerYZIXJvapxkI+hHduxpcp5PP8WIofjj9byebpImnrWUlfW7jsay5wpj/o/yc97k YRsD6NnMyKIA3X/jSHpljxvkHJUzpIWnK/1jo6UPTvHQbkUeYhnbUQB1xOv5Og== 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 A6ECA6880E for ; Thu, 22 Feb 2024 17:50:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdCGZ-0007Iz-Vu; Thu, 22 Feb 2024 11:49:48 -0500 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 1rdCGX-0007Dt-DU for emacs-orgmode@gnu.org; Thu, 22 Feb 2024 11:49:45 -0500 Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdCGV-0003Y9-Jq for emacs-orgmode@gnu.org; Thu, 22 Feb 2024 11:49:44 -0500 Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-dc23bf7e5aaso7974609276.0 for ; Thu, 22 Feb 2024 08:49:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708620582; x=1709225382; darn=gnu.org; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=CRDyf2U9GSm/ctwzI/uNaAwflHaHalSLOGJboepsoCo=; b=icGKy2b3KA6EpAvRvfNQUhuGaDaE8ZdmEdtXihzqjNSd7p2Zdks3EDcXwYv3pWS1m4 xwmhV67lzUvtGdZLFs/uc2t8NAbHAs0Q4Gmtp26xCbVLOa6yUpSKHP6pwlZBsV+Q0Vck d978iq/IL9Bz1pOTCKcL7xOjyCVCOycDk4CNTiFtvDtWSaS9EPNCX00B5SfT0ORa86bZ Xp2VrIvm6ZnxmecK6K1nEn8x+ocXqYBKh7B1UB0gMfTqn5OqOv2f6MLfzDI50AITedCg uBMLeCQyXJWfPLRxn9+FdP4sY7VybrUw0qlMZ815A76t8SuMXzpj04A7kC3B31L6e1H8 Kbtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708620582; x=1709225382; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CRDyf2U9GSm/ctwzI/uNaAwflHaHalSLOGJboepsoCo=; b=j+fqZTXqWuPPFlG/PjjR8iQNbdJGkQLvH1l+NR6cDRfrfGd0eQBbfvhy13M5bnEOcT dDqBYSdIpPGG41uXr9J7AY3N2iOsK3ba7RD4ePExgbc4fpQWIvWakEqRaEoe1gp1C8E7 R7wKW/WT88diFQs1uTyz7BuvTiYw2DV975WYhfRLua+Ay45SuMlyGSKZ5y5mBSlgIfdd CUDYVe6b0Jg7VzP7yRXnjhPL1o1j1tZ86dH/8yq5xUKpT3id3CErgP8CmAKcGEq9q+tC uv51uj0ek1bmY7ZhV+uzjCbVP92lFoo9KmvmSsbUz0svy5eB13S1kMC6N04mIl03Q2NH bKtA== X-Gm-Message-State: AOJu0YxbiNx3VxJxyQWH04Y5lnulX7HfawxVjJ1Qsl3ixCtvqfjqmoKS xh7N0AVY4/wfWVNw0pJk1hnKMStaGYdYhuAJcmHwrbyG1p3LyByHdPOW5sPs X-Google-Smtp-Source: AGHT+IGYM1jCmt1MddJoL11cOHMRDVVeXEvc23s2de3i0cznjDcmdz9kOTnOTnP6zfAM+cgVX99FVA== X-Received: by 2002:a25:8c8a:0:b0:dcd:4d:d342 with SMTP id m10-20020a258c8a000000b00dcd004dd342mr2955651ybl.50.1708620581551; Thu, 22 Feb 2024 08:49:41 -0800 (PST) Received: from smtpclient.apple (pool-108-50-194-31.nwrknj.fios.verizon.net. [108.50.194.31]) by smtp.gmail.com with ESMTPSA id x14-20020ae9e90e000000b00787218d6a97sm1647630qkf.60.2024.02.22.08.49.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2024 08:49:41 -0800 (PST) From: Ruiyang Wu Content-Type: multipart/alternative; boundary="Apple-Mail=_FFE1CD9D-109A-43EF-B6B5-F0315A59FFFD" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: User set org-hide-block-startup value overwritten by defvaralias Message-Id: Date: Thu, 22 Feb 2024 11:49:30 -0500 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3774.400.31) Received-SPF: pass client-ip=2607:f8b0:4864:20::b2b; envelope-from=ywwry66@gmail.com; helo=mail-yb1-xb2b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.56 X-Spam-Score: -6.56 X-Migadu-Queue-Id: A6ECA6880E X-Migadu-Scanner: mx11.migadu.com X-TUID: oFO5GpRciOlg --Apple-Mail=_FFE1CD9D-109A-43EF-B6B5-F0315A59FFFD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi there, Thanks for maintaining this great piece of software. I recently started to get the following warning from emacs when loading = org mode: Warning (defvaralias): Overwriting value of =E2=80=98org-hide-block-startu= p=E2=80=99 by aliasing to =E2=80=98org-cycle-hide-block-startup=E2=80=99 I have this in my init file: (setq org-hide-block-startup t) I believe the value t is not preserved because in org.el, it first loads = org-cycle.el which assigns nil to org-cycle-hide-block-startup, and then = executes (defvaralias 'org-hide-block-startup = 'org-cycle-hide-block-startup) so the value of org-hide-block-startup is = overwritten to nil. Some quick search on the internet seems to suggest that defvaralias = should be called first before giving org-cycle-hide-block-startup its = default value. (Cf. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5950) Thanks in advance for the help. Best, Ruiyang --Apple-Mail=_FFE1CD9D-109A-43EF-B6B5-F0315A59FFFD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hi = there,

Thanks for maintaining this great piece = of software.

I recently started to get the = following warning from emacs when loading org mode:
Warning = (defvaralias): Overwriting value of =E2=80=98org-hide-block-startup=E2=80=99= by aliasing to = =E2=80=98org-cycle-hide-block-startup=E2=80=99

I = have this in my init file:
(setq org-hide-block-startup = t)

I believe the value t is not preserved = because in org.el, it first loads org-cycle.el which assigns nil = to org-cycle-hide-block-startup, and then executes (defvaralias 'org-hide-block-startup 'org-cycle-hide-block-startup) = so the value of org-hide-block-startup is overwritten to = nil.

Some quick search on the internet seems to = suggest that defvaralias should be called first before = giving org-cycle-hide-block-startup its default value. = (Cf. https://debb= ugs.gnu.org/cgi/bugreport.cgi?bug=3D5950)

Tha= nks in advance for the help.


Best,
Ruiyang

= --Apple-Mail=_FFE1CD9D-109A-43EF-B6B5-F0315A59FFFD--