aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Dominik2007-02-28 10:04:15 +0000
committerCarsten Dominik2007-02-28 10:04:15 +0000
commit204dc8c5388c7d8e57baaa6ca88f6023cb960a4d (patch)
treef3645ebaab0540d57bf986dd8a693a2113109714
parentddd41145e5387af045cdd7e3272c03b0aadda874 (diff)
downloademacs-204dc8c5388c7d8e57baaa6ca88f6023cb960a4d.tar.gz
emacs-204dc8c5388c7d8e57baaa6ca88f6023cb960a4d.zip
(org-set-tags, org-table-get-field): Avoid case
changes during replacement. (org-agenda-mode-map): Add default binding for `org-agenda-archive'.
-rw-r--r--lisp/textmodes/org.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el
index 58d1c9703b8..7772f7cb966 100644
--- a/lisp/textmodes/org.el
+++ b/lisp/textmodes/org.el
@@ -5,7 +5,7 @@
5;; Author: Carsten Dominik <dominik at science dot uva dot nl> 5;; Author: Carsten Dominik <dominik at science dot uva dot nl>
6;; Keywords: outlines, hypermedia, calendar, wp 6;; Keywords: outlines, hypermedia, calendar, wp
7;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/ 7;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/
8;; Version: 4.67a 8;; Version: 4.67b
9;; 9;;
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11;; 11;;
@@ -83,7 +83,7 @@
83 83
84;;; Version 84;;; Version
85 85
86(defvar org-version "4.67" 86(defvar org-version "4.67b"
87 "The version number of the file org.el.") 87 "The version number of the file org.el.")
88(defun org-version () 88(defun org-version ()
89 (interactive) 89 (interactive)
@@ -6324,7 +6324,7 @@ is always the old value."
6324 (let* ((pos (match-beginning 0)) 6324 (let* ((pos (match-beginning 0))
6325 (val (buffer-substring (1+ pos) (match-end 0)))) 6325 (val (buffer-substring (1+ pos) (match-end 0))))
6326 (if replace 6326 (if replace
6327 (replace-match (concat "|" replace))) 6327 (replace-match (concat "|" replace) t t))
6328 (goto-char (min (point-at-eol) (+ 2 pos))) 6328 (goto-char (min (point-at-eol) (+ 2 pos)))
6329 val) 6329 val)
6330 (forward-char 1) "")) 6330 (forward-char 1) ""))
@@ -11651,7 +11651,7 @@ With prefix ARG, realign all tags in headings in the current buffer."
11651 org-tags-column 11651 org-tags-column
11652 (- (- org-tags-column) (length tags)))) 11652 (- (- org-tags-column) (length tags))))
11653 rpl (concat (make-string (max 0 (- c1 c0)) ?\ ) tags))) 11653 rpl (concat (make-string (max 0 (- c1 c0)) ?\ ) tags)))
11654 (replace-match rpl) 11654 (replace-match rpl t t)
11655 (and (not (featurep 'xemacs)) c0 (tabify p0 (point))) 11655 (and (not (featurep 'xemacs)) c0 (tabify p0 (point)))
11656 tags) 11656 tags)
11657 (error "Tags alignment failed"))))) 11657 (error "Tags alignment failed")))))
@@ -12982,6 +12982,7 @@ The following commands are available:
12982(define-key org-agenda-mode-map "\C-m" 'org-agenda-switch-to) 12982(define-key org-agenda-mode-map "\C-m" 'org-agenda-switch-to)
12983(define-key org-agenda-mode-map "\C-k" 'org-agenda-kill) 12983(define-key org-agenda-mode-map "\C-k" 'org-agenda-kill)
12984(define-key org-agenda-mode-map "\C-c$" 'org-agenda-archive) 12984(define-key org-agenda-mode-map "\C-c$" 'org-agenda-archive)
12985(define-key org-agenda-mode-map "\C-c\C-x\C-s" 'org-agenda-archive)
12985(define-key org-agenda-mode-map "$" 'org-agenda-archive) 12986(define-key org-agenda-mode-map "$" 'org-agenda-archive)
12986(define-key org-agenda-mode-map "\C-c\C-o" 'org-agenda-open-link) 12987(define-key org-agenda-mode-map "\C-c\C-o" 'org-agenda-open-link)
12987(define-key org-agenda-mode-map " " 'org-agenda-show) 12988(define-key org-agenda-mode-map " " 'org-agenda-show)