emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Has VISIBILITY property become case-sensitive?
@ 2024-04-04 18:54 Richard Stanton
  2024-04-04 19:34 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stanton @ 2024-04-04 18:54 UTC (permalink / raw)
  To: emacs-orgmode

My org file has the header line 

#+STARTUP: overview

One section contains the properties drawer

:PROPERTIES:
:Visibility: content
:END:

This used to show the contents of that subtree on first loading the file, but it no longer does. Experimentation shows that it works if I change “Visibility” to “VISIBILITY”. Is it a deliberate change to require upper case here? By the way, this is using org version 9.7pre

Best,

Richard Stanton




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

* Re: Has VISIBILITY property become case-sensitive?
  2024-04-04 18:54 Has VISIBILITY property become case-sensitive? Richard Stanton
@ 2024-04-04 19:34 ` Ihor Radchenko
  2024-04-04 19:42   ` Richard Stanton
  0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2024-04-04 19:34 UTC (permalink / raw)
  To: Richard Stanton; +Cc: emacs-orgmode

Richard Stanton <rhstanton@berkeley.edu> writes:

> My org file has the header line 
>
> #+STARTUP: overview
>
> One section contains the properties drawer
>
> :PROPERTIES:
> :Visibility: content
> :END:
>
> This used to show the contents of that subtree on first loading the file, but it no longer does. Experimentation shows that it works if I change “Visibility” to “VISIBILITY”. Is it a deliberate change to require upper case here? By the way, this is using org version 9.7pre

I am unable to reproduce.
Please provide more details, preferably starting from emacs -Q.
See https://orgmode.org/manual/Feedback.html#Feedback

-- 
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] 4+ messages in thread

* Re: Has VISIBILITY property become case-sensitive?
  2024-04-04 19:34 ` Ihor Radchenko
@ 2024-04-04 19:42   ` Richard Stanton
  2024-04-04 20:13     ` Richard Stanton
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stanton @ 2024-04-04 19:42 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

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

Here’ s a very simple org file that exhibits the behavior I describe

-----------------

#+STARTUP: overview

* Hidden
- This should not initially appear
- Nor this

* Visible
:PROPERTIES:
:VISIBILITY: content
:END:
- This should appear
- And this

———————

Change the case of the word “VISIBILILTY” and the file's behavior on first loading changes.

When I load this file using emacs -Q (which loads org 9.6.15), both sections appear folded regardless of the case of “visibility”…! Is there some configuration variable I need to set?





> On Apr 4, 2024, at 12:34 PM, Ihor Radchenko <yantar92@posteo.net> wrote:
> 
> Richard Stanton <rhstanton@berkeley.edu <mailto:rhstanton@berkeley.edu>> writes:
> 
>> My org file has the header line 
>> 
>> #+STARTUP: overview
>> 
>> One section contains the properties drawer
>> 
>> :PROPERTIES:
>> :Visibility: content
>> :END:
>> 
>> This used to show the contents of that subtree on first loading the file, but it no longer does. Experimentation shows that it works if I change “Visibility” to “VISIBILITY”. Is it a deliberate change to require upper case here? By the way, this is using org version 9.7pre
> 
> I am unable to reproduce.
> Please provide more details, preferably starting from emacs -Q.
> See https://orgmode.org/manual/Feedback.html#Feedback <https://orgmode.org/manual/Feedback.html#Feedback>
> 
> -- 
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/ <https://orgmode.org/>>.
> Support Org development at <https://liberapay.com/org-mode <https://liberapay.com/org-mode>>,
> or support my work at <https://liberapay.com/yantar92 <https://liberapay.com/yantar92>>


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

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

* Re: Has VISIBILITY property become case-sensitive?
  2024-04-04 19:42   ` Richard Stanton
@ 2024-04-04 20:13     ` Richard Stanton
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stanton @ 2024-04-04 20:13 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

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

Actually, it didn’t!

But now I’m not seeing the original behavior either, though I haven’t changed anything. Don’t spend any more time on this - I’ll report back if I learn anything else.

Best

Richard




> On Apr 4, 2024, at 12:42 PM, Richard Stanton <rhstanton@berkeley.edu> wrote:
> 
> Here’ s a very simple org file that exhibits the behavior I describe
> 
> -----------------
> 
> #+STARTUP: overview
> 
> * Hidden
> - This should not initially appear
> - Nor this
> 
> * Visible
> :PROPERTIES:
> :VISIBILITY: content
> :END:
> - This should appear
> - And this
> 
> ———————
> 
> Change the case of the word “VISIBILILTY” and the file's behavior on first loading changes.
> 
> When I load this file using emacs -Q (which loads org 9.6.15), both sections appear folded regardless of the case of “visibility”…! Is there some configuration variable I need to set?
> 
> 
> 
> 
> 
>> On Apr 4, 2024, at 12:34 PM, Ihor Radchenko <yantar92@posteo.net <mailto:yantar92@posteo.net>> wrote:
>> 
>> Richard Stanton <rhstanton@berkeley.edu <mailto:rhstanton@berkeley.edu>> writes:
>> 
>>> My org file has the header line 
>>> 
>>> #+STARTUP: overview
>>> 
>>> One section contains the properties drawer
>>> 
>>> :PROPERTIES:
>>> :Visibility: content
>>> :END:
>>> 
>>> This used to show the contents of that subtree on first loading the file, but it no longer does. Experimentation shows that it works if I change “Visibility” to “VISIBILITY”. Is it a deliberate change to require upper case here? By the way, this is using org version 9.7pre
>> 
>> I am unable to reproduce.
>> Please provide more details, preferably starting from emacs -Q.
>> See https://orgmode.org/manual/Feedback.html#Feedback <https://orgmode.org/manual/Feedback.html#Feedback>
>> 
>> -- 
>> Ihor Radchenko // yantar92,
>> Org mode contributor,
>> Learn more about Org mode at <https://orgmode.org/ <https://orgmode.org/>>.
>> Support Org development at <https://liberapay.com/org-mode <https://liberapay.com/org-mode>>,
>> or support my work at <https://liberapay.com/yantar92 <https://liberapay.com/yantar92>>
> 


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

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

end of thread, other threads:[~2024-04-04 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-04 18:54 Has VISIBILITY property become case-sensitive? Richard Stanton
2024-04-04 19:34 ` Ihor Radchenko
2024-04-04 19:42   ` Richard Stanton
2024-04-04 20:13     ` Richard Stanton

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).