mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-18 10:17:03 +00:00
This is a mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git for CI/development purposes because the upstream savannah git repo is flakey.
383802d063
On Fri, Jul 30, 2010 at 4:38 PM, Rainer Stengele <rainer.stengele@online.de>wrote: > Having > > * headline 1 > :PROPERTIES: > :VISIBILITY: folded > :END: > ** headline 2.1 > - stuff > ** headline 2.1 > :PROPERTIES: > :VISIBILITY: folded > :END: > - stuff > > C-u C-u <TAB> > Switch back to the startup visibility of the buffer, i.e. whatever is > requested by startup options and VISIBILITY properties in individual > entries. > > > does not result in > > > * headline 1...> > > > as expected. Instead I get: > > > * headline 1...> > ** headline 2.1...> > ** headline 2.1...> > > > removing the second folded propertiy results correctly in: > > * headline 1...> > > > This looks like a bug in the :VISIBILITY: handling!? > > > I am not sure whether this is a bug. But it looks like the above scenario was not considered initially. I might be wrong. The attached patch seems to solve this problem. * lisp/org.el: org-set-visibility-according-to-property () Use backward search instead of forward, so that top hierarchy gets priority. Thanks and Regards Noorul |
||
---|---|---|
BUGFIXING | ||
contrib | ||
doc | ||
EXPERIMENTAL | ||
lisp | ||
ORGWEBPAGE | ||
testing/org-html | ||
UTILITIES | ||
xemacs | ||
.dir-locals.el | ||
.dir-settings.el | ||
.gitignore | ||
Makefile | ||
README | ||
README_DIST | ||
README_GIT | ||
request-assign-future.txt |
This is the Emacs Org project, an emacs subsystem for organizing your life The homepage of Org is at http://orgmode.org This distribution contains: README This file. README_DIST The README file for the distribution (zip and tar files) README_GIT Information about the git repository and how to contribute to Org-mode development. lisp/ Directory with all the Emacs Lisp files that make up Org. doc/ The documentation files. org.texi is the source of the documentation, org.html and org.pdf are formatted versions of it. xemacs/ The xemacs directory contains special code for XEmacs users, in particular a port of the GNU Emacs outline.el to XEmacs. Org-mode does not work under XEmacs without this file installed. It did until version 4.37, but no longer. contrib/ A directory with third-party additions for Org. Some really cool stuff is in there. ORGWEBPAGE/ Directory with the source files for the orgmode.org web page. ChangeLog The standard ChangeLog file. Makefile The makefile to compile and install Org, and also for maintenance tasks. request-assign-future.txt The form that contributors have to sign and get processed with the FSF before contributed changes can be integrated into the Org core. All files in this distribution except the CONTRIB directory have copyright assigned to the FSF. EXPERIMENTAL Experimental code, not necessarily FSF copyright.