1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-02 08:22:16 +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.
Go to file
Bastien Guerry 84a358e381 org.el: Fix bug about (auto-)filling and indenting lines with orgstruct++-mode.
* org.el (org-auto-fill-fallback-function)
(org-indent-line-fallback-function)
(org-fill-paragraph-fallback-function): New variables to store
some fall-back functions when turning `orgstruct++-mode' on.
(orgstruct++-mode): Set the new variables.
(org-indent-line-function, org-fill-paragraph)
(org-auto-fill-function): Use them.

Thanks to Christopher Schmidt for reporting this and to Eric
S Fraga for insisting on it.

This commit creates these fall-back buffer-local variables:

(defvar org-auto-fill-fallback-function nil)
(defvar org-fill-paragraph-fallback-function nil)
(defvar org-indent-line-fallback-function nil)

When `org-auto-fill-function' cannot do anything useful in the
current mode and `org-auto-fill-fallback-function' is set (for
example to `message-do-auto-fill), use the fall-back function
before `do-auto-file'.

When `org-fill-paragraph-function' cannot do anything useful in the
current mode and `org-fill-paragraph-fallback-function' is set (for
example to `message-fill-paragraph'), use the fall-back function
before `fill-paragraph'.

When `org-indent-line-fallback-function' is set, always run it
instead of `org-indent-line-function'.
2012-04-26 12:40:41 +02:00
contrib org-e-odt.el: Adjust search paths for schema and styles files 2012-04-22 23:49:18 +05:30
doc Small grammar tweaks in export sections of org.texi 2012-04-24 23:27:59 +02:00
etc Add etc/ORG-NEWS 2012-04-21 16:26:28 +02:00
lisp org.el: Fix bug about (auto-)filling and indenting lines with orgstruct++-mode. 2012-04-26 12:40:41 +02:00
testing org-export: Define tools for tables, table rows and table cells 2012-04-22 19:41:45 +05:30
UTILITIES keep Emacs' Changelog clean 2012-04-20 21:04:08 +02:00
.dir-locals.el Make .dir-locals.el a true copy of .dir-settings.el 2011-01-15 12:44:34 +01:00
.dir-settings.el Add .dir-settings.el file to unify coding styles. 2008-11-20 15:45:22 +01:00
.gitignore doc/Makefile: rename/add auto-generated files to be compatible with Emacs 2012-04-20 21:04:14 +02:00
.gitmodules Changes to suit latest ert structure. ERT is now a part of EMACS and the source of the ERT git submodule is deprecated, as are some files within. Changes testing/README and .gitmodules to suit. 2011-03-01 09:59:01 -07:00
default.mk Introduce compatibility and convenience targets, local.mk template, add "helpall" 2012-04-23 21:42:08 +02:00
Makefile Improve compatibility with old Makefile 2012-04-26 08:55:32 +02:00
README README: remove the description of ORGWEBPAGES/ 2011-01-09 15:08:11 +01:00
README_DIST Bump to version 7.8.09. 2012-04-11 12:30:40 +02:00
README_GIT Update README_GIT 2011-07-08 15:22:21 +00:00
README_maintainer README_maintainer: update the link to "Git from bottom up". 2011-07-28 16:15:28 +02:00
request-assign-future.txt Release 5.13e 2008-01-31 11:37:24 +01:00
targets.mk Improve compatibility with old Makefile 2012-04-26 08:55:32 +02:00

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.

contrib/
    A directory with third-party additions for Org.  Some really cool
    stuff is in there.

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.