diff options
| author | Kenichi Handa | 2010-02-17 15:51:01 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-02-17 15:51:01 +0900 |
| commit | 7fb371fec340f903da655d243c02f204a5b60ce4 (patch) | |
| tree | 45e31c0b62518cb0d55dae4d9fd43d80ec299842 | |
| parent | d0396581d5db3d6fd0b27db3511a281cf50b6bd2 (diff) | |
| parent | aac0b0f2be0f68669368b6050e4d0df26a9a8d9c (diff) | |
| download | emacs-7fb371fec340f903da655d243c02f204a5b60ce4.tar.gz emacs-7fb371fec340f903da655d243c02f204a5b60ce4.zip | |
from trunk
| -rw-r--r-- | etc/ChangeLog | 7 | ||||
| -rw-r--r-- | etc/images/custom/down-pushed.xpm | 8 | ||||
| -rw-r--r-- | etc/images/custom/down.xpm | 8 | ||||
| -rw-r--r-- | etc/images/custom/right-pushed.xpm | 8 | ||||
| -rw-r--r-- | etc/images/custom/right.xpm | 8 | ||||
| -rw-r--r-- | lisp/ChangeLog | 35 | ||||
| -rw-r--r-- | lisp/cedet/data-debug.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/ede.el | 5 | ||||
| -rw-r--r-- | lisp/cedet/semantic.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/srecode.el | 1 | ||||
| -rw-r--r-- | lisp/cus-edit.el | 2 | ||||
| -rw-r--r-- | lisp/delim-col.el | 2 | ||||
| -rw-r--r-- | lisp/doc-view.el | 1 | ||||
| -rw-r--r-- | lisp/man.el | 2 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 44 | ||||
| -rw-r--r-- | lisp/nxml/nxml-mode.el | 3 | ||||
| -rw-r--r-- | lisp/org/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/org/org-freemind.el | 14 | ||||
| -rw-r--r-- | lisp/simple.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 9 |
20 files changed, 131 insertions, 39 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index a5ab8ee4452..b67b69a361b 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-02-14 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * etc/images/custom/down-pushed.xpm, etc/images/custom/down.xpm: | ||
| 4 | * etc/images/custom/right-pushed.xpm: | ||
| 5 | * etc/images/custom/right-pushed.xpm: Increase height by four | ||
| 6 | pixels, to improve text alignment. | ||
| 7 | |||
| 1 | 2010-01-16 Mario Lang <mlang@delysid.org> | 8 | 2010-01-16 Mario Lang <mlang@delysid.org> |
| 2 | 9 | ||
| 3 | * srecode/doc-cpp.srt, srecode/doc-default.srt: | 10 | * srecode/doc-cpp.srt, srecode/doc-default.srt: |
diff --git a/etc/images/custom/down-pushed.xpm b/etc/images/custom/down-pushed.xpm index a3b8fc909b9..7342336956b 100644 --- a/etc/images/custom/down-pushed.xpm +++ b/etc/images/custom/down-pushed.xpm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* XPM */ | 1 | /* XPM */ |
| 2 | static char * down_pushed_xpm[] = { | 2 | static char * down_pushed_xpm[] = { |
| 3 | "8 8 4 1", | 3 | "8 12 4 1", |
| 4 | " c none", | 4 | " c none", |
| 5 | ". c gray45", | 5 | ". c gray45", |
| 6 | "X c gray90", | 6 | "X c gray90", |
| @@ -12,4 +12,8 @@ static char * down_pushed_xpm[] = { | |||
| 12 | " .OOX ", | 12 | " .OOX ", |
| 13 | " .OOX ", | 13 | " .OOX ", |
| 14 | " OX ", | 14 | " OX ", |
| 15 | " OX "}; | 15 | " OX ", |
| 16 | " ", | ||
| 17 | " ", | ||
| 18 | " ", | ||
| 19 | " "}; | ||
diff --git a/etc/images/custom/down.xpm b/etc/images/custom/down.xpm index 4205c6130f8..4ddb255bc44 100644 --- a/etc/images/custom/down.xpm +++ b/etc/images/custom/down.xpm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* XPM */ | 1 | /* XPM */ |
| 2 | static char * down_xpm[] = { | 2 | static char * down_xpm[] = { |
| 3 | "8 8 4 1", | 3 | "8 12 4 1", |
| 4 | " c none", | 4 | " c none", |
| 5 | ". c gray90", | 5 | ". c gray90", |
| 6 | "X c gray45", | 6 | "X c gray45", |
| @@ -12,4 +12,8 @@ static char * down_xpm[] = { | |||
| 12 | " .OOX ", | 12 | " .OOX ", |
| 13 | " .OOX ", | 13 | " .OOX ", |
| 14 | " OX ", | 14 | " OX ", |
| 15 | " OX "}; | 15 | " OX ", |
| 16 | " ", | ||
| 17 | " ", | ||
| 18 | " ", | ||
| 19 | " "}; | ||
diff --git a/etc/images/custom/right-pushed.xpm b/etc/images/custom/right-pushed.xpm index ca17b3a4825..1b8aeaf7776 100644 --- a/etc/images/custom/right-pushed.xpm +++ b/etc/images/custom/right-pushed.xpm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* XPM */ | 1 | /* XPM */ |
| 2 | static char * right_pushed_xpm[] = { | 2 | static char * right_pushed_xpm[] = { |
| 3 | "8 8 4 1", | 3 | "8 12 4 1", |
| 4 | " c none", | 4 | " c none", |
| 5 | ". c gray45", | 5 | ". c gray45", |
| 6 | "X c gray90", | 6 | "X c gray90", |
| @@ -12,4 +12,8 @@ static char * right_pushed_xpm[] = { | |||
| 12 | "..OOOOXX", | 12 | "..OOOOXX", |
| 13 | "..OOXX ", | 13 | "..OOXX ", |
| 14 | "..XX ", | 14 | "..XX ", |
| 15 | "OO "}; | 15 | "OO ", |
| 16 | " ", | ||
| 17 | " ", | ||
| 18 | " ", | ||
| 19 | " "}; | ||
diff --git a/etc/images/custom/right.xpm b/etc/images/custom/right.xpm index 726830bab4a..c75f7e74058 100644 --- a/etc/images/custom/right.xpm +++ b/etc/images/custom/right.xpm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* XPM */ | 1 | /* XPM */ |
| 2 | static char * right_xpm[] = { | 2 | static char * right_xpm[] = { |
| 3 | "8 8 4 1", | 3 | "8 12 4 1", |
| 4 | " c none", | 4 | " c none", |
| 5 | ". c gray90", | 5 | ". c gray90", |
| 6 | "X c gray45", | 6 | "X c gray45", |
| @@ -12,4 +12,8 @@ static char * right_xpm[] = { | |||
| 12 | "..OOOOXX", | 12 | "..OOOOXX", |
| 13 | "..OOXX ", | 13 | "..OOXX ", |
| 14 | "..XX ", | 14 | "..XX ", |
| 15 | "OO "}; | 15 | "OO ", |
| 16 | " ", | ||
| 17 | " ", | ||
| 18 | " ", | ||
| 19 | " " }; | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0dbc97c0df8..17655fe4f6b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,38 @@ | |||
| 1 | 2010-02-16 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix | ||
| 4 | errors in copying directories. | ||
| 5 | (tramp-handle-add-name-to-file, tramp-handle-copy-directory) | ||
| 6 | (tramp-do-copy-or-rename-file, tramp-handle-delete-directory) | ||
| 7 | (tramp-handle-delete-file) | ||
| 8 | (tramp-handle-dired-recursive-delete-directory) | ||
| 9 | (tramp-handle-write-region): Flush also the cache for the upper | ||
| 10 | directory. | ||
| 11 | |||
| 12 | 2010-02-16 Chong Yidong <cyd@stupidchicken.com> | ||
| 13 | |||
| 14 | * simple.el (save-interprogram-paste-before-kill): Doc fix. | ||
| 15 | |||
| 16 | * cus-edit.el (hardware): Doc fix. | ||
| 17 | |||
| 18 | * man.el (man): Add to external custom group. | ||
| 19 | |||
| 20 | * delim-col.el (columns): Move to wp custom group. | ||
| 21 | |||
| 22 | * doc-view.el (doc-view): Add to data custom group. | ||
| 23 | |||
| 24 | * cedet/data-debug.el (data-debug): Move to extensions group. | ||
| 25 | |||
| 26 | * cedet/ede.el (ede): | ||
| 27 | * cedet/srecode.el (srecode): | ||
| 28 | * cedet/semantic.el (semantic): Put in tools and extensions group. | ||
| 29 | |||
| 30 | * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces | ||
| 31 | group. | ||
| 32 | |||
| 33 | * textmodes/flyspell.el (flyspell-word): Obey the offset specified | ||
| 34 | by ispell-parse-output (Bug#5575). | ||
| 35 | |||
| 1 | 2010-02-16 Kenichi Handa <handa@m17n.org> | 36 | 2010-02-16 Kenichi Handa <handa@m17n.org> |
| 2 | 37 | ||
| 3 | * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it. | 38 | * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it. |
diff --git a/lisp/cedet/data-debug.el b/lisp/cedet/data-debug.el index 5fa32ecca3e..ed8441d2df0 100644 --- a/lisp/cedet/data-debug.el +++ b/lisp/cedet/data-debug.el | |||
| @@ -842,7 +842,7 @@ If PARENT is non-nil, it is somehow related as a parent to thing." | |||
| 842 | ;; | 842 | ;; |
| 843 | (defgroup data-debug nil | 843 | (defgroup data-debug nil |
| 844 | "data-debug group." | 844 | "data-debug group." |
| 845 | :group 'languages) | 845 | :group 'extensions) |
| 846 | 846 | ||
| 847 | (defvar data-debug-mode-syntax-table | 847 | (defvar data-debug-mode-syntax-table |
| 848 | (let ((table (make-syntax-table (standard-syntax-table)))) | 848 | (let ((table (make-syntax-table (standard-syntax-table)))) |
diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el index 096ed04ea80..46fcdb000f8 100644 --- a/lisp/cedet/ede.el +++ b/lisp/cedet/ede.el | |||
| @@ -69,10 +69,9 @@ | |||
| 69 | (interactive) (message "EDE %s" ede-version)) | 69 | (interactive) (message "EDE %s" ede-version)) |
| 70 | 70 | ||
| 71 | (defgroup ede nil | 71 | (defgroup ede nil |
| 72 | "Emacs Development Environment gloss." | 72 | "Emacs Development Environment." |
| 73 | :group 'tools | 73 | :group 'tools |
| 74 | :group 'convenience | 74 | :group 'extensions) |
| 75 | ) | ||
| 76 | 75 | ||
| 77 | (defcustom ede-auto-add-method 'ask | 76 | (defcustom ede-auto-add-method 'ask |
| 78 | "Whether a new source file should be automatically added to a target. | 77 | "Whether a new source file should be automatically added to a target. |
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el index b7d5f700d78..14b196bbe22 100644 --- a/lisp/cedet/semantic.el +++ b/lisp/cedet/semantic.el | |||
| @@ -63,7 +63,7 @@ introduced." | |||
| 63 | 63 | ||
| 64 | (defgroup semantic nil | 64 | (defgroup semantic nil |
| 65 | "Parser Generator and parser framework." | 65 | "Parser Generator and parser framework." |
| 66 | :group 'lisp) | 66 | :group 'tools) |
| 67 | 67 | ||
| 68 | (defgroup semantic-faces nil | 68 | (defgroup semantic-faces nil |
| 69 | "Faces used for Semantic enabled tools." | 69 | "Faces used for Semantic enabled tools." |
diff --git a/lisp/cedet/srecode.el b/lisp/cedet/srecode.el index 5f19327f59e..a903ffd0af1 100644 --- a/lisp/cedet/srecode.el +++ b/lisp/cedet/srecode.el | |||
| @@ -46,6 +46,7 @@ | |||
| 46 | ;;; Code: | 46 | ;;; Code: |
| 47 | (defgroup srecode nil | 47 | (defgroup srecode nil |
| 48 | "Semantic Recoder." | 48 | "Semantic Recoder." |
| 49 | :group 'extensions | ||
| 49 | :group 'tools) | 50 | :group 'tools) |
| 50 | 51 | ||
| 51 | (provide 'srecode) | 52 | (provide 'srecode) |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 6353894d6e8..b815e31f31c 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -281,7 +281,7 @@ | |||
| 281 | :group 'environment) | 281 | :group 'environment) |
| 282 | 282 | ||
| 283 | (defgroup hardware nil | 283 | (defgroup hardware nil |
| 284 | "Support for interfacing with exotic hardware." | 284 | "Support for interfacing with miscellaneous hardware." |
| 285 | :group 'environment) | 285 | :group 'environment) |
| 286 | 286 | ||
| 287 | (defgroup terminals nil | 287 | (defgroup terminals nil |
diff --git a/lisp/delim-col.el b/lisp/delim-col.el index 945231246c3..d0c1223c558 100644 --- a/lisp/delim-col.el +++ b/lisp/delim-col.el | |||
| @@ -126,7 +126,7 @@ | |||
| 126 | "Prettify columns." | 126 | "Prettify columns." |
| 127 | :link '(emacs-library-link :tag "Source Lisp File" "delim-col.el") | 127 | :link '(emacs-library-link :tag "Source Lisp File" "delim-col.el") |
| 128 | :prefix "delimit-columns-" | 128 | :prefix "delimit-columns-" |
| 129 | :group 'internal) | 129 | :group 'wp) |
| 130 | 130 | ||
| 131 | (defcustom delimit-columns-str-before "" | 131 | (defcustom delimit-columns-str-before "" |
| 132 | "Specify a string to be inserted before all columns." | 132 | "Specify a string to be inserted before all columns." |
diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 77a075b716f..528d5979ce1 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el | |||
| @@ -144,6 +144,7 @@ | |||
| 144 | :link '(function-link doc-view) | 144 | :link '(function-link doc-view) |
| 145 | :version "22.2" | 145 | :version "22.2" |
| 146 | :group 'applications | 146 | :group 'applications |
| 147 | :group 'data | ||
| 147 | :group 'multimedia | 148 | :group 'multimedia |
| 148 | :prefix "doc-view-") | 149 | :prefix "doc-view-") |
| 149 | 150 | ||
diff --git a/lisp/man.el b/lisp/man.el index a92caf49ec1..d64846a2d4d 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -98,9 +98,9 @@ | |||
| 98 | (defgroup man nil | 98 | (defgroup man nil |
| 99 | "Browse UNIX manual pages." | 99 | "Browse UNIX manual pages." |
| 100 | :prefix "Man-" | 100 | :prefix "Man-" |
| 101 | :group 'external | ||
| 101 | :group 'help) | 102 | :group 'help) |
| 102 | 103 | ||
| 103 | |||
| 104 | (defvar Man-notify) | 104 | (defvar Man-notify) |
| 105 | (defcustom Man-filter-list nil | 105 | (defcustom Man-filter-list nil |
| 106 | "Manpage cleaning filter command phrases. | 106 | "Manpage cleaning filter command phrases. |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index e59383e31e7..77a3875eeb4 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -3420,6 +3420,7 @@ tramp-handle-file-name-all-completions: internal error accessing `%s': `%s'" | |||
| 3420 | (tramp-error | 3420 | (tramp-error |
| 3421 | v2 'file-error | 3421 | v2 'file-error |
| 3422 | "add-name-to-file: file %s already exists" newname)) | 3422 | "add-name-to-file: file %s already exists" newname)) |
| 3423 | (tramp-flush-file-property v2 (file-name-directory v2-localname)) | ||
| 3423 | (tramp-flush-file-property v2 v2-localname) | 3424 | (tramp-flush-file-property v2 v2-localname) |
| 3424 | (tramp-barf-unless-okay | 3425 | (tramp-barf-unless-okay |
| 3425 | v1 | 3426 | v1 |
| @@ -3478,7 +3479,13 @@ tramp-handle-file-name-all-completions: internal error accessing `%s': `%s'" | |||
| 3478 | 'copy dirname newname keep-date)) | 3479 | 'copy dirname newname keep-date)) |
| 3479 | ;; We must do it file-wise. | 3480 | ;; We must do it file-wise. |
| 3480 | (tramp-run-real-handler | 3481 | (tramp-run-real-handler |
| 3481 | 'copy-directory (list dirname newname keep-date parents)))))) | 3482 | 'copy-directory (list dirname newname keep-date parents))) |
| 3483 | |||
| 3484 | ;; When newname did exist, we have wrong cached values. | ||
| 3485 | (when t2 | ||
| 3486 | (with-parsed-tramp-file-name newname nil | ||
| 3487 | (tramp-flush-file-property v (file-name-directory localname)) | ||
| 3488 | (tramp-flush-file-property v localname)))))) | ||
| 3482 | 3489 | ||
| 3483 | (defun tramp-handle-rename-file | 3490 | (defun tramp-handle-rename-file |
| 3484 | (filename newname &optional ok-if-already-exists) | 3491 | (filename newname &optional ok-if-already-exists) |
| @@ -3583,11 +3590,13 @@ and `rename'. FILENAME and NEWNAME must be absolute file names." | |||
| 3583 | ;; In case of `rename', we must flush the cache of the source file. | 3590 | ;; In case of `rename', we must flush the cache of the source file. |
| 3584 | (when (and t1 (eq op 'rename)) | 3591 | (when (and t1 (eq op 'rename)) |
| 3585 | (with-parsed-tramp-file-name filename nil | 3592 | (with-parsed-tramp-file-name filename nil |
| 3593 | (tramp-flush-file-property v (file-name-directory localname)) | ||
| 3586 | (tramp-flush-file-property v localname))) | 3594 | (tramp-flush-file-property v localname))) |
| 3587 | 3595 | ||
| 3588 | ;; When newname did exist, we have wrong cached values. | 3596 | ;; When newname did exist, we have wrong cached values. |
| 3589 | (when t2 | 3597 | (when t2 |
| 3590 | (with-parsed-tramp-file-name newname nil | 3598 | (with-parsed-tramp-file-name newname nil |
| 3599 | (tramp-flush-file-property v (file-name-directory localname)) | ||
| 3591 | (tramp-flush-file-property v localname))) | 3600 | (tramp-flush-file-property v localname))) |
| 3592 | 3601 | ||
| 3593 | (with-parsed-tramp-file-name (if t1 filename newname) nil | 3602 | (with-parsed-tramp-file-name (if t1 filename newname) nil |
| @@ -3789,7 +3798,13 @@ The method used must be an out-of-band method." | |||
| 3789 | 3798 | ||
| 3790 | ;; Both are Tramp files. We shall optimize it, when the | 3799 | ;; Both are Tramp files. We shall optimize it, when the |
| 3791 | ;; methods for filename and newname are the same. | 3800 | ;; methods for filename and newname are the same. |
| 3792 | (let ((tmpfile (tramp-compat-make-temp-file localname))) | 3801 | (let ((tmpfile |
| 3802 | (if (file-regular-p filename) | ||
| 3803 | (tramp-compat-make-temp-file localname) | ||
| 3804 | (make-temp-name | ||
| 3805 | (expand-file-name | ||
| 3806 | tramp-temp-name-prefix | ||
| 3807 | (tramp-compat-temporary-file-directory)))))) | ||
| 3793 | (unwind-protect | 3808 | (unwind-protect |
| 3794 | (progn | 3809 | (progn |
| 3795 | (tramp-do-copy-or-rename-file-out-of-band | 3810 | (tramp-do-copy-or-rename-file-out-of-band |
| @@ -3798,7 +3813,9 @@ The method used must be an out-of-band method." | |||
| 3798 | 'rename tmpfile newname keep-date)) | 3813 | 'rename tmpfile newname keep-date)) |
| 3799 | ;; Save exit. | 3814 | ;; Save exit. |
| 3800 | (condition-case nil | 3815 | (condition-case nil |
| 3801 | (delete-file tmpfile) | 3816 | (if (file-regular-p tmpfile) |
| 3817 | (delete-file tmpfile) | ||
| 3818 | (delete-directory tmpfile 'recursive)) | ||
| 3802 | (error)))) | 3819 | (error)))) |
| 3803 | 3820 | ||
| 3804 | ;; Expand hops. Might be necessary for gateway methods. | 3821 | ;; Expand hops. Might be necessary for gateway methods. |
| @@ -3913,7 +3930,9 @@ The method used must be an out-of-band method." | |||
| 3913 | 3930 | ||
| 3914 | ;; If the operation was `rename', delete the original file. | 3931 | ;; If the operation was `rename', delete the original file. |
| 3915 | (unless (eq op 'copy) | 3932 | (unless (eq op 'copy) |
| 3916 | (delete-file filename))))) | 3933 | (if (file-regular-p filename) |
| 3934 | (delete-file filename) | ||
| 3935 | (delete-directory filename 'recursive)))))) | ||
| 3917 | 3936 | ||
| 3918 | (defun tramp-handle-make-directory (dir &optional parents) | 3937 | (defun tramp-handle-make-directory (dir &optional parents) |
| 3919 | "Like `make-directory' for Tramp files." | 3938 | "Like `make-directory' for Tramp files." |
| @@ -3932,6 +3951,7 @@ The method used must be an out-of-band method." | |||
| 3932 | "Like `delete-directory' for Tramp files." | 3951 | "Like `delete-directory' for Tramp files." |
| 3933 | (setq directory (expand-file-name directory)) | 3952 | (setq directory (expand-file-name directory)) |
| 3934 | (with-parsed-tramp-file-name directory nil | 3953 | (with-parsed-tramp-file-name directory nil |
| 3954 | (tramp-flush-file-property v (file-name-directory localname)) | ||
| 3935 | (tramp-flush-directory-property v localname) | 3955 | (tramp-flush-directory-property v localname) |
| 3936 | (unless (zerop (tramp-send-command-and-check | 3956 | (unless (zerop (tramp-send-command-and-check |
| 3937 | v | 3957 | v |
| @@ -3945,6 +3965,7 @@ The method used must be an out-of-band method." | |||
| 3945 | "Like `delete-file' for Tramp files." | 3965 | "Like `delete-file' for Tramp files." |
| 3946 | (setq filename (expand-file-name filename)) | 3966 | (setq filename (expand-file-name filename)) |
| 3947 | (with-parsed-tramp-file-name filename nil | 3967 | (with-parsed-tramp-file-name filename nil |
| 3968 | (tramp-flush-file-property v (file-name-directory localname)) | ||
| 3948 | (tramp-flush-file-property v localname) | 3969 | (tramp-flush-file-property v localname) |
| 3949 | (unless (zerop (tramp-send-command-and-check | 3970 | (unless (zerop (tramp-send-command-and-check |
| 3950 | v | 3971 | v |
| @@ -3974,6 +3995,7 @@ This is like `dired-recursive-delete-directory' for Tramp files." | |||
| 3974 | ;; This might take a while, allow it plenty of time. | 3995 | ;; This might take a while, allow it plenty of time. |
| 3975 | (tramp-wait-for-output (tramp-get-connection-process v) 120) | 3996 | (tramp-wait-for-output (tramp-get-connection-process v) 120) |
| 3976 | ;; Make sure that it worked... | 3997 | ;; Make sure that it worked... |
| 3998 | (tramp-flush-file-property v (file-name-directory localname)) | ||
| 3977 | (tramp-flush-directory-property v localname) | 3999 | (tramp-flush-directory-property v localname) |
| 3978 | (and (file-exists-p filename) | 4000 | (and (file-exists-p filename) |
| 3979 | (tramp-error | 4001 | (tramp-error |
| @@ -4953,11 +4975,9 @@ Returns a file name in `tramp-auto-save-directory' for autosaving this file." | |||
| 4953 | (or (file-directory-p localname) | 4975 | (or (file-directory-p localname) |
| 4954 | (file-writable-p localname))))) | 4976 | (file-writable-p localname))))) |
| 4955 | ;; Short track: if we are on the local host, we can run directly. | 4977 | ;; Short track: if we are on the local host, we can run directly. |
| 4956 | (progn | 4978 | (tramp-run-real-handler |
| 4957 | (tramp-run-real-handler | 4979 | 'write-region |
| 4958 | 'write-region | 4980 | (list start end localname append 'no-message lockname confirm)) |
| 4959 | (list start end localname append 'no-message lockname confirm)) | ||
| 4960 | (tramp-flush-file-property v localname)) | ||
| 4961 | 4981 | ||
| 4962 | (let ((rem-dec (tramp-get-remote-coding v "remote-decoding")) | 4982 | (let ((rem-dec (tramp-get-remote-coding v "remote-decoding")) |
| 4963 | (loc-enc (tramp-get-local-coding v "local-encoding")) | 4983 | (loc-enc (tramp-get-local-coding v "local-encoding")) |
| @@ -5121,8 +5141,7 @@ Returns a file name in `tramp-auto-save-directory' for autosaving this file." | |||
| 5121 | " decode using `%s' failed") | 5141 | " decode using `%s' failed") |
| 5122 | filename rem-dec))) | 5142 | filename rem-dec))) |
| 5123 | (tramp-message | 5143 | (tramp-message |
| 5124 | v 5 "Decoding region into remote file %s...done" filename) | 5144 | v 5 "Decoding region into remote file %s...done" filename)) |
| 5125 | (tramp-flush-file-property v localname)) | ||
| 5126 | 5145 | ||
| 5127 | ;; Save exit. | 5146 | ;; Save exit. |
| 5128 | (delete-file tmpfile))) | 5147 | (delete-file tmpfile))) |
| @@ -5139,6 +5158,9 @@ Returns a file name in `tramp-auto-save-directory' for autosaving this file." | |||
| 5139 | (when coding-system-used | 5158 | (when coding-system-used |
| 5140 | (set 'last-coding-system-used coding-system-used)))) | 5159 | (set 'last-coding-system-used coding-system-used)))) |
| 5141 | 5160 | ||
| 5161 | (tramp-flush-file-property v (file-name-directory localname)) | ||
| 5162 | (tramp-flush-file-property v localname) | ||
| 5163 | |||
| 5142 | ;; We must protect `last-coding-system-used', now we have set it | 5164 | ;; We must protect `last-coding-system-used', now we have set it |
| 5143 | ;; to its correct value. | 5165 | ;; to its correct value. |
| 5144 | (let (last-coding-system-used (need-chown t)) | 5166 | (let (last-coding-system-used (need-chown t)) |
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index 8bcde7a3a22..8919d920c9d 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el | |||
| @@ -50,8 +50,7 @@ | |||
| 50 | 50 | ||
| 51 | (defgroup nxml-faces nil | 51 | (defgroup nxml-faces nil |
| 52 | "Faces for XML syntax highlighting." | 52 | "Faces for XML syntax highlighting." |
| 53 | :group 'nxml | 53 | :group 'nxml) |
| 54 | :group 'font-lock-faces) | ||
| 55 | 54 | ||
| 56 | (defcustom nxml-char-ref-display-glyph-flag t | 55 | (defcustom nxml-char-ref-display-glyph-flag t |
| 57 | "*Non-nil means display glyph following character reference. | 56 | "*Non-nil means display glyph following character reference. |
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index 88e56354e25..7ce303b5add 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-02-15 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * org-freemind.el (org-freemind-from-org-mode-node) | ||
| 4 | (org-freemind-from-org-mode, ) | ||
| 5 | (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode): | ||
| 6 | Pass arg to called-interactively-p. | ||
| 7 | |||
| 1 | 2010-01-14 Juanma Barranquero <lekktu@gmail.com> | 8 | 2010-01-14 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 9 | ||
| 3 | * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten): | 10 | * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten): |
diff --git a/lisp/org/org-freemind.el b/lisp/org/org-freemind.el index 5e0480fe224..ce923502ae9 100644 --- a/lisp/org/org-freemind.el +++ b/lisp/org/org-freemind.el | |||
| @@ -825,13 +825,13 @@ Otherwise give an error say the file exists." | |||
| 825 | ".mm")) | 825 | ".mm")) |
| 826 | (mm-file (read-file-name "Output FreeMind file: " nil nil nil default-mm-file))) | 826 | (mm-file (read-file-name "Output FreeMind file: " nil nil nil default-mm-file))) |
| 827 | (list line mm-file)))) | 827 | (list line mm-file)))) |
| 828 | (when (org-freemind-check-overwrite mm-file (called-interactively-p)) | 828 | (when (org-freemind-check-overwrite mm-file (called-interactively-p 'any)) |
| 829 | (let ((org-buffer (current-buffer)) | 829 | (let ((org-buffer (current-buffer)) |
| 830 | (mm-buffer (find-file-noselect mm-file))) | 830 | (mm-buffer (find-file-noselect mm-file))) |
| 831 | (org-freemind-write-mm-buffer org-buffer mm-buffer node-line) | 831 | (org-freemind-write-mm-buffer org-buffer mm-buffer node-line) |
| 832 | (with-current-buffer mm-buffer | 832 | (with-current-buffer mm-buffer |
| 833 | (basic-save-buffer) | 833 | (basic-save-buffer) |
| 834 | (when (called-interactively-p) | 834 | (when (called-interactively-p 'any) |
| 835 | (switch-to-buffer-other-window mm-buffer) | 835 | (switch-to-buffer-other-window mm-buffer) |
| 836 | (when (y-or-n-p "Show in FreeMind? ") | 836 | (when (y-or-n-p "Show in FreeMind? ") |
| 837 | (org-freemind-show buffer-file-name))))))) | 837 | (org-freemind-show buffer-file-name))))))) |
| @@ -849,13 +849,13 @@ Otherwise give an error say the file exists." | |||
| 849 | ".mm")) | 849 | ".mm")) |
| 850 | (mm-file (read-file-name "Output FreeMind file: " nil nil nil default-mm-file))) | 850 | (mm-file (read-file-name "Output FreeMind file: " nil nil nil default-mm-file))) |
| 851 | (list org-file mm-file))) | 851 | (list org-file mm-file))) |
| 852 | (when (org-freemind-check-overwrite mm-file (called-interactively-p)) | 852 | (when (org-freemind-check-overwrite mm-file (called-interactively-p 'any)) |
| 853 | (let ((org-buffer (if org-file (find-file-noselect org-file) (current-buffer))) | 853 | (let ((org-buffer (if org-file (find-file-noselect org-file) (current-buffer))) |
| 854 | (mm-buffer (find-file-noselect mm-file))) | 854 | (mm-buffer (find-file-noselect mm-file))) |
| 855 | (org-freemind-write-mm-buffer org-buffer mm-buffer nil) | 855 | (org-freemind-write-mm-buffer org-buffer mm-buffer nil) |
| 856 | (with-current-buffer mm-buffer | 856 | (with-current-buffer mm-buffer |
| 857 | (basic-save-buffer) | 857 | (basic-save-buffer) |
| 858 | (when (called-interactively-p) | 858 | (when (called-interactively-p 'any) |
| 859 | (switch-to-buffer-other-window mm-buffer) | 859 | (switch-to-buffer-other-window mm-buffer) |
| 860 | (when (y-or-n-p "Show in FreeMind? ") | 860 | (when (y-or-n-p "Show in FreeMind? ") |
| 861 | (org-freemind-show buffer-file-name))))))) | 861 | (org-freemind-show buffer-file-name))))))) |
| @@ -872,7 +872,7 @@ Otherwise give an error say the file exists." | |||
| 872 | "-sparse.mm")) | 872 | "-sparse.mm")) |
| 873 | (mm-file (read-file-name "Output FreeMind file: " nil nil nil default-mm-file))) | 873 | (mm-file (read-file-name "Output FreeMind file: " nil nil nil default-mm-file))) |
| 874 | (list (current-buffer) mm-file))) | 874 | (list (current-buffer) mm-file))) |
| 875 | (when (org-freemind-check-overwrite mm-file (called-interactively-p)) | 875 | (when (org-freemind-check-overwrite mm-file (called-interactively-p 'any)) |
| 876 | (let (org-buffer | 876 | (let (org-buffer |
| 877 | (mm-buffer (find-file-noselect mm-file))) | 877 | (mm-buffer (find-file-noselect mm-file))) |
| 878 | (save-window-excursion | 878 | (save-window-excursion |
| @@ -881,7 +881,7 @@ Otherwise give an error say the file exists." | |||
| 881 | (org-freemind-write-mm-buffer org-buffer mm-buffer nil) | 881 | (org-freemind-write-mm-buffer org-buffer mm-buffer nil) |
| 882 | (with-current-buffer mm-buffer | 882 | (with-current-buffer mm-buffer |
| 883 | (basic-save-buffer) | 883 | (basic-save-buffer) |
| 884 | (when (called-interactively-p) | 884 | (when (called-interactively-p 'any) |
| 885 | (switch-to-buffer-other-window mm-buffer) | 885 | (switch-to-buffer-other-window mm-buffer) |
| 886 | (when (y-or-n-p "Show in FreeMind? ") | 886 | (when (y-or-n-p "Show in FreeMind? ") |
| 887 | (org-freemind-show buffer-file-name))))))) | 887 | (org-freemind-show buffer-file-name))))))) |
| @@ -1108,7 +1108,7 @@ PATH should be a list of steps, where each step has the form | |||
| 1108 | (default-org-file (concat (file-name-nondirectory mm-file) ".org")) | 1108 | (default-org-file (concat (file-name-nondirectory mm-file) ".org")) |
| 1109 | (org-file (read-file-name "Output org-mode file: " nil nil nil default-org-file))) | 1109 | (org-file (read-file-name "Output org-mode file: " nil nil nil default-org-file))) |
| 1110 | (list mm-file org-file)))) | 1110 | (list mm-file org-file)))) |
| 1111 | (when (org-freemind-check-overwrite org-file (called-interactively-p)) | 1111 | (when (org-freemind-check-overwrite org-file (called-interactively-p 'any)) |
| 1112 | (let ((mm-buffer (find-file-noselect mm-file)) | 1112 | (let ((mm-buffer (find-file-noselect mm-file)) |
| 1113 | (org-buffer (find-file-noselect org-file))) | 1113 | (org-buffer (find-file-noselect org-file))) |
| 1114 | (with-current-buffer mm-buffer | 1114 | (with-current-buffer mm-buffer |
diff --git a/lisp/simple.el b/lisp/simple.el index 4e9ffdc9740..30498ea2704 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -2806,7 +2806,7 @@ ring directly.") | |||
| 2806 | "The tail of the kill ring whose car is the last thing yanked.") | 2806 | "The tail of the kill ring whose car is the last thing yanked.") |
| 2807 | 2807 | ||
| 2808 | (defcustom save-interprogram-paste-before-kill nil | 2808 | (defcustom save-interprogram-paste-before-kill nil |
| 2809 | "Save the paste strings into `kill-ring' before replacing it with emacs strings. | 2809 | "Save clipboard strings into kill ring before replacing them. |
| 2810 | When one selects something in another program to paste it into Emacs, | 2810 | When one selects something in another program to paste it into Emacs, |
| 2811 | but kills something in Emacs before actually pasting it, | 2811 | but kills something in Emacs before actually pasting it, |
| 2812 | this selection is gone unless this variable is non-nil, | 2812 | this selection is gone unless this variable is non-nil, |
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 612f83123ba..ee7a52a1093 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -1155,10 +1155,15 @@ than preceding) word when the cursor is not over a word." | |||
| 1155 | nil) | 1155 | nil) |
| 1156 | (t | 1156 | (t |
| 1157 | (setq flyspell-word-cache-result nil) | 1157 | (setq flyspell-word-cache-result nil) |
| 1158 | ;; incorrect highlight the location | 1158 | ;; Highlight the location as incorrect, |
| 1159 | ;; including offset specified in POSS. | ||
| 1159 | (if flyspell-highlight-flag | 1160 | (if flyspell-highlight-flag |
| 1160 | (flyspell-highlight-incorrect-region | 1161 | (flyspell-highlight-incorrect-region |
| 1161 | start end poss) | 1162 | (if (and (consp poss) |
| 1163 | (integerp (nth 1 poss))) | ||
| 1164 | (+ start (nth 1 poss) -1) | ||
| 1165 | start) | ||
| 1166 | end poss) | ||
| 1162 | (flyspell-notify-misspell word poss)) | 1167 | (flyspell-notify-misspell word poss)) |
| 1163 | nil)))) | 1168 | nil)))) |
| 1164 | ;; return to original location | 1169 | ;; return to original location |