emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Error message after upgrading to devel version: const:tag
       [not found] <GV2PR10MB66479CEB3364C1D1DD90F246C3F62@GV2PR10MB6647.EURPRD10.PROD.OUTLOOK.COM>
@ 2024-05-25 15:38 ` Kepa
  2024-05-25 15:47   ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Kepa @ 2024-05-25 15:38 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

Hi

After updating org-mode to org-9.7pre0.20240524.175607

I get this warning message:
■  Warning (emacs): Value 't' does not match type (choice (const :tag nofold: show all nofold) (const :tag fold: overview fold) (const :tag fold: show two levels show2levels) (const :tag fold: show three levels show3levels) (const :tag fold: show four levels show4evels) (const :tag fold: show five levels show5levels) (const :tag content: all headlines content) (const :tag show everything, even drawers showeverything))

Best regards


[-- Attachment #2: Type: text/html, Size: 2045 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error message after upgrading to devel version: const:tag
  2024-05-25 15:38 ` Error message after upgrading to devel version: const:tag Kepa
@ 2024-05-25 15:47   ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-05-25 15:47 UTC (permalink / raw)
  To: Kepa; +Cc: emacs-orgmode

Kepa <gnu.cognition199@slmails.com> writes:

> After updating org-mode to org-9.7pre0.20240524.175607
>
> I get this warning message:
> ■  Warning (emacs): Value 't' does not match type (choice (const :tag nofold: show all nofold) (const :tag fold: overview fold) (const :tag fold: show two levels show2levels) (const :tag fold: show three levels show3levels) (const :tag fold: show four levels show4evels) (const :tag fold: show five levels show5levels) (const :tag content: all headlines content) (const :tag show everything, even drawers showeverything))

This warning is hinting you that (setopt org-startup-folded t) is not the
right thing to do. It will still work though.

Now, it is better to use (setopt org-startup-folded 'fold)

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-25 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <GV2PR10MB66479CEB3364C1D1DD90F246C3F62@GV2PR10MB6647.EURPRD10.PROD.OUTLOOK.COM>
2024-05-25 15:38 ` Error message after upgrading to devel version: const:tag Kepa
2024-05-25 15:47   ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).