Bug fixes after reports on the 5.20 release.

This commit is contained in:
Carsten Dominik 2008-02-07 10:28:38 +01:00
parent e88e88b2fa
commit 1baeff6216
3 changed files with 44 additions and 26 deletions

View File

@ -1,3 +1,15 @@
2008-02-07 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-version): With refix argument, insert `org-version'
at point.
(org-agenda-goto): Recenter the window after finding the target
location, to make sure the correct position will be displayed.
2008-02-06 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-agenda-get-deadlines): Allow
`org-deadline-warning-days' to be 0.
2008-02-05 Carsten Dominik <dominik@science.uva.nl>
* org-publish.el (org-publish-timestamp-filename): Protect ":" in
@ -5,7 +17,7 @@
* org.el (org-update-checkbox-count): Revamped to deal with
hierarchical beckboxes. This was a patch from Miguel
A. Figueroa-Villanueva.
A. Figueroa-Villanueva.
2008-02-04 Carsten Dominik <dominik@science.uva.nl>

View File

@ -3,7 +3,7 @@
This is the GIT repository for the development of Org-mode, an
Emacs mode for organizing your life.
This file explains the rules for participating in Org-mode
The text below explains the rules for participating in Org-mode
development.
@ -16,24 +16,24 @@ development.
git clone git://repo.or.cz/org-mode.git
Having a clone is sufficient to start hacking and to produce
patches that can be easily and consistently be applied to the
patches that can easily and consistently be applied to the
main repository.
2. People who are interested to participate in the Org-mode
development can do so by sending patches to
emacs-orgmode@gnu.org.
3. Any interested developer can request push access to the
repository by sending their repo.or.cz user information to the
maintainer of Org-mode. By requesting push access, you
3. An interested developer can also request push access to the
central repository by sending his/her user-info at repo.or.cz
the maintainer of Org-mode. By requesting push access, you
acknowledge that you have read and agreed with the following
rules:
- Org-mode is part of Emacs. Therefore we need to be very
conscious that any changes moving into the Org-mode core are
done only by people who have signed the appropriate papers
with the free software foundation. The files to which this
applies are:
conscious about changes moving into the Org-mode core.
These can originate only from people who have signed the
appropriate papers with the free software foundation. The
files to which this applies are:
- all *.el files in the root directory of the repository
- org.texi, orgcard.tex, and ChangeLog.
@ -41,18 +41,15 @@ development.
- Before making any significant changes, please explain and
discuss them on the mailing list emacs-orgmode@gnu.org.
This does obviously not apply to people like Bastien Guerry,
David O'Toole, Piotr Zielinski, or anyone else who has
contributed and still maintains a file that is part of
Org-mode. Please, just use the new mechanism to make sure
all changes end in the right place.
This does obviously not apply to people who are maintaining
their own contributions to Org-mode. Please, just use the
new mechanism to make sure all changes end up in the right
place.
- Making and pushing a change to the Org-mode core requires
- Creating and pushing a change to the Org-mode core requires
you also to provide ChangeLog entries. Just press `C-x 4 a'
in each function or variable you have modified and describe
the change you made in the ChangeLog buffer/file. This is
important, because these entries will be required when
uploading any new version into the Emacs CVS tree.
the change you made in the ChangeLog buffer/file.
- Among other things, Org-mode is widely appreciated because
if its simplicity, cleanness and consistency. We should try

23
org.el
View File

@ -5,7 +5,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org
;; Version: 5.20
;; Version: 5.20a
;;
;; This file is part of GNU Emacs.
;;
@ -84,11 +84,17 @@
;;; Version
(defconst org-version "5.20"
(defconst org-version "5.20a"
"The version number of the file org.el.")
(defun org-version ()
(interactive)
(message "Org-mode version %s" org-version))
(defun org-version (&optional here)
"Show the org-mode version in the echo area.
With prefix arg HERE, insert it at point."
(interactive "P")
(let ((version (format "Org-mode version %s" org-version)))
(message version)
(if here
(insert version))))
;;; Compatibility constants
(defconst org-xemacs-p (featurep 'xemacs)) ; not used by org.el itself
@ -6997,6 +7003,7 @@ This will find all statistic cookies like [57%] and [6/12] and update them
with the current numbers. With optional prefix argument ALL, do this for
the whole buffer."
(interactive "P")
(debug)
(save-excursion
(let* ((buffer-invisibility-spec (org-inhibit-invisibility)) ; Emacs 21
(beg (condition-case nil
@ -7050,6 +7057,7 @@ the whole buffer."
(org-end-of-item)
(setq next-ind (org-get-indentation))
)))
(goto-char continue-from)
;; update cookie
(when end-cookie
(delete-region beg-cookie end-cookie)
@ -14016,7 +14024,7 @@ At the target location, the entry is filed as a subitem of the target heading.
Depending on `org-reverse-note-order', the new subitem will either be the
first of the last subitem.
With prefix are GOTO, the command will only visit the target location,
With prefix arg GOTO, the command will only visit the target location,
not actually move anything.
With a double prefix `C-c C-c', go to the location where the last refiling
operation has put the subtree.
@ -21407,7 +21415,7 @@ the documentation of `org-diary'."
d2 (org-time-string-to-absolute (match-string 1) d1 'past)
diff (- d2 d1)
wdays (org-get-wdays s)
dfrac (/ (* 1.0 (- wdays diff)) wdays)
dfrac (/ (* 1.0 (- wdays diff)) (max wdays 1))
upcomingp (and todayp (> diff 0)))
;; When to show a deadline in the calendar:
;; If the expiration is within wdays warning time.
@ -22352,6 +22360,7 @@ and by additional input from the age of a schedules or deadline entry."
(save-excursion
(and (outline-next-heading)
(org-flag-heading nil)))) ; show the next heading
(recenter (/ (window-height) 2))
(run-hooks 'org-agenda-after-show-hook)
(and highlight (org-highlight (point-at-bol) (point-at-eol)))))