# HG changeset patch # User Carsten Dominik # Date 1172657055 0 # Node ID 4ebdd2b6e9ddb4a748b991d59f6830bf0834712c # Parent ded4eb03cb99f5c69ab9be5be530b3802577a752 (org-set-tags, org-table-get-field): Avoid case changes during replacement. (org-agenda-mode-map): Add default binding for `org-agenda-archive'. diff -r ded4eb03cb99 -r 4ebdd2b6e9dd lisp/textmodes/org.el --- a/lisp/textmodes/org.el Wed Feb 28 10:03:54 2007 +0000 +++ b/lisp/textmodes/org.el Wed Feb 28 10:04:15 2007 +0000 @@ -5,7 +5,7 @@ ;; Author: Carsten Dominik ;; Keywords: outlines, hypermedia, calendar, wp ;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/ -;; Version: 4.67a +;; Version: 4.67b ;; ;; This file is part of GNU Emacs. ;; @@ -83,7 +83,7 @@ ;;; Version -(defvar org-version "4.67" +(defvar org-version "4.67b" "The version number of the file org.el.") (defun org-version () (interactive) @@ -6324,7 +6324,7 @@ (let* ((pos (match-beginning 0)) (val (buffer-substring (1+ pos) (match-end 0)))) (if replace - (replace-match (concat "|" replace))) + (replace-match (concat "|" replace) t t)) (goto-char (min (point-at-eol) (+ 2 pos))) val) (forward-char 1) "")) @@ -11651,7 +11651,7 @@ org-tags-column (- (- org-tags-column) (length tags)))) rpl (concat (make-string (max 0 (- c1 c0)) ?\ ) tags))) - (replace-match rpl) + (replace-match rpl t t) (and (not (featurep 'xemacs)) c0 (tabify p0 (point))) tags) (error "Tags alignment failed"))))) @@ -12982,6 +12982,7 @@ (define-key org-agenda-mode-map "\C-m" 'org-agenda-switch-to) (define-key org-agenda-mode-map "\C-k" 'org-agenda-kill) (define-key org-agenda-mode-map "\C-c$" 'org-agenda-archive) +(define-key org-agenda-mode-map "\C-c\C-x\C-s" 'org-agenda-archive) (define-key org-agenda-mode-map "$" 'org-agenda-archive) (define-key org-agenda-mode-map "\C-c\C-o" 'org-agenda-open-link) (define-key org-agenda-mode-map " " 'org-agenda-show)