diff options
| author | Juanma Barranquero | 2010-07-27 04:10:05 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-07-27 04:10:05 +0200 |
| commit | 0ed082fedf31241b54ef2294c29c4880a7472e0e (patch) | |
| tree | 096e3bcc109e439b48fb299bae744d58f3d09377 | |
| parent | aa2d4bd3438df0855c168c960e03d1f8ea25ae71 (diff) | |
| parent | 4ce5a4ccd4cca6dcdc6d8bafa8cfaea1986e7e6e (diff) | |
| download | emacs-0ed082fedf31241b54ef2294c29c4880a7472e0e.tar.gz emacs-0ed082fedf31241b54ef2294c29c4880a7472e0e.zip | |
Merge from emacs-23
| -rw-r--r-- | doc/lispref/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 2 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/nxml-mode.texi | 5 | ||||
| -rw-r--r-- | lisp/ChangeLog | 21 | ||||
| -rw-r--r-- | lisp/cedet/semantic/db-file.el | 2 | ||||
| -rw-r--r-- | lisp/dired.el | 38 | ||||
| -rw-r--r-- | lisp/help-fns.el | 4 | ||||
| -rw-r--r-- | lisp/image-mode.el | 34 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 2 | ||||
| -rw-r--r-- | lisp/time.el | 6 | ||||
| -rw-r--r-- | lisp/url/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/url/url-http.el | 6 | ||||
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/buffer.c | 8 | ||||
| -rw-r--r-- | src/minibuf.c | 2 | ||||
| -rw-r--r-- | src/window.c | 5 |
18 files changed, 124 insertions, 47 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index cb275335ad7..f192d7fbc2d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-07-27 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * modes.texi (Defining Minor Modes): Use C-delete in examples, | ||
| 4 | instead of "\C-\^?" (bug#6334). | ||
| 5 | |||
| 6 | * text.texi (Special Properties): Fix typo. | ||
| 7 | |||
| 1 | 2010-07-09 Eli Zaretskii <eliz@gnu.org> | 8 | 2010-07-09 Eli Zaretskii <eliz@gnu.org> |
| 2 | 9 | ||
| 3 | * internals.texi (Writing Emacs Primitives): Adapt to ANSI C | 10 | * internals.texi (Writing Emacs Primitives): Adapt to ANSI C |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 858226ecdfc..c095a9e195d 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -1494,7 +1494,7 @@ See the command \\[hungry-electric-delete]." | |||
| 1494 | ;; The indicator for the mode line. | 1494 | ;; The indicator for the mode line. |
| 1495 | " Hungry" | 1495 | " Hungry" |
| 1496 | ;; The minor mode bindings. | 1496 | ;; The minor mode bindings. |
| 1497 | '(("\C-\^?" . hungry-electric-delete)) | 1497 | '(([C-delete] . hungry-electric-delete)) |
| 1498 | :group 'hunger) | 1498 | :group 'hunger) |
| 1499 | @end smallexample | 1499 | @end smallexample |
| 1500 | 1500 | ||
| @@ -1526,8 +1526,8 @@ See the command \\[hungry-electric-delete]." | |||
| 1526 | :lighter " Hungry" | 1526 | :lighter " Hungry" |
| 1527 | ;; The minor mode bindings. | 1527 | ;; The minor mode bindings. |
| 1528 | :keymap | 1528 | :keymap |
| 1529 | '(("\C-\^?" . hungry-electric-delete) | 1529 | '(([C-delete] . hungry-electric-delete) |
| 1530 | ("\C-\M-\^?" | 1530 | ([C-M-delete] |
| 1531 | . (lambda () | 1531 | . (lambda () |
| 1532 | (interactive) | 1532 | (interactive) |
| 1533 | (hungry-electric-delete t)))) | 1533 | (hungry-electric-delete t)))) |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index f52d1db5c9c..a7c4a3e62f4 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -3035,7 +3035,7 @@ The @code{font-lock-face} property is equivalent to the @code{face} | |||
| 3035 | property when Font Lock mode is enabled. When Font Lock mode is disabled, | 3035 | property when Font Lock mode is enabled. When Font Lock mode is disabled, |
| 3036 | @code{font-lock-face} has no effect. | 3036 | @code{font-lock-face} has no effect. |
| 3037 | 3037 | ||
| 3038 | The @code{font-lock-mode} property is useful for special modes that | 3038 | The @code{font-lock-face} property is useful for special modes that |
| 3039 | implement their own highlighting. @xref{Precalculated Fontification}. | 3039 | implement their own highlighting. @xref{Precalculated Fontification}. |
| 3040 | 3040 | ||
| 3041 | @item mouse-face | 3041 | @item mouse-face |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 29767dfa2a7..d684bc91bb0 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-07-27 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * nxml-mode.texi (Limitations): Remove obsolete discussion (Bug#6708). | ||
| 4 | |||
| 1 | 2010-07-19 Juanma Barranquero <lekktu@gmail.com> | 5 | 2010-07-19 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * org.texi: Fix typo in previous change (2010-07-19T09:47:27Z!carsten.dominik@gmail.com). | 7 | * org.texi: Fix typo in previous change (2010-07-19T09:47:27Z!carsten.dominik@gmail.com). |
diff --git a/doc/misc/nxml-mode.texi b/doc/misc/nxml-mode.texi index 593bf92d00a..423bdc85a24 100644 --- a/doc/misc/nxml-mode.texi +++ b/doc/misc/nxml-mode.texi | |||
| @@ -851,11 +851,6 @@ elements. Other usage of DTDs is ignored. | |||
| 851 | @item | 851 | @item |
| 852 | The restrictions on RELAX NG schemas in section 7 of the RELAX NG | 852 | The restrictions on RELAX NG schemas in section 7 of the RELAX NG |
| 853 | specification are not enforced. | 853 | specification are not enforced. |
| 854 | @item | ||
| 855 | Unicode support has problems. This stems mostly from the fact that | ||
| 856 | the XML (and RELAX NG) character model is based squarely on Unicode, | ||
| 857 | whereas the Emacs character model is not. Emacs 22 is slated to have | ||
| 858 | full Unicode support, which should improve the situation here. | ||
| 859 | @end itemize | 854 | @end itemize |
| 860 | 855 | ||
| 861 | @bye | 856 | @bye |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ff65a6398a8..aa4a479e1e2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | 2010-07-27 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494). | ||
| 4 | |||
| 5 | * cedet/semantic/db-file.el (object-write): Fix typo in docstring. | ||
| 6 | |||
| 7 | * time.el (display-time-day-and-date): Remove spurious * in docstring. | ||
| 8 | (display-time-world-buffer-name, display-time-world-mode-map): | ||
| 9 | Fix typos in docstrings. | ||
| 10 | |||
| 11 | 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change) | ||
| 12 | |||
| 13 | * image-mode.el (image-display-size): New function. | ||
| 14 | (image-forward-hscroll, image-next-line, image-eol, image-eob) | ||
| 15 | (image-mode-fit-frame): Use it (Bug#6639). | ||
| 16 | |||
| 17 | 2010-07-27 Chong Yidong <cyd@stupidchicken.com> | ||
| 18 | |||
| 19 | * dired.el (dired-buffers-for-dir): Handle list values of | ||
| 20 | dired-directory (Bug#6636). | ||
| 21 | |||
| 1 | 2010-07-26 Sam Steingold <sds@gnu.org> | 22 | 2010-07-26 Sam Steingold <sds@gnu.org> |
| 2 | 23 | ||
| 3 | * mouse.el (mouse-yank-primary, mouse-yank-secondary): | 24 | * mouse.el (mouse-yank-primary, mouse-yank-secondary): |
diff --git a/lisp/cedet/semantic/db-file.el b/lisp/cedet/semantic/db-file.el index 85b0d75338d..95d634920b5 100644 --- a/lisp/cedet/semantic/db-file.el +++ b/lisp/cedet/semantic/db-file.el | |||
| @@ -277,7 +277,7 @@ to prevent overload.") | |||
| 277 | 277 | ||
| 278 | (defmethod object-write ((obj semanticdb-table)) | 278 | (defmethod object-write ((obj semanticdb-table)) |
| 279 | "When writing a table, we have to make sure we deoverlay it first. | 279 | "When writing a table, we have to make sure we deoverlay it first. |
| 280 | Restore the overlays after writting. | 280 | Restore the overlays after writing. |
| 281 | Argument OBJ is the object to write." | 281 | Argument OBJ is the object to write." |
| 282 | (when (semanticdb-live-p obj) | 282 | (when (semanticdb-live-p obj) |
| 283 | (when (semanticdb-in-buffer-p obj) | 283 | (when (semanticdb-in-buffer-p obj) |
diff --git a/lisp/dired.el b/lisp/dired.el index 8184587b01b..fa3a15b97be 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -2225,31 +2225,33 @@ You can then feed the file name(s) to other commands with \\[yank]." | |||
| 2225 | ;; Keeping Dired buffers in sync with the filesystem and with each other | 2225 | ;; Keeping Dired buffers in sync with the filesystem and with each other |
| 2226 | 2226 | ||
| 2227 | (defun dired-buffers-for-dir (dir &optional file) | 2227 | (defun dired-buffers-for-dir (dir &optional file) |
| 2228 | ;; Return a list of buffers that dired DIR (top level or in-situ subdir). | 2228 | ;; Return a list of buffers for DIR (top level or in-situ subdir). |
| 2229 | ;; If FILE is non-nil, include only those whose wildcard pattern (if any) | 2229 | ;; If FILE is non-nil, include only those whose wildcard pattern (if any) |
| 2230 | ;; matches FILE. | 2230 | ;; matches FILE. |
| 2231 | ;; The list is in reverse order of buffer creation, most recent last. | 2231 | ;; The list is in reverse order of buffer creation, most recent last. |
| 2232 | ;; As a side effect, killed dired buffers for DIR are removed from | 2232 | ;; As a side effect, killed dired buffers for DIR are removed from |
| 2233 | ;; dired-buffers. | 2233 | ;; dired-buffers. |
| 2234 | (setq dir (file-name-as-directory dir)) | 2234 | (setq dir (file-name-as-directory dir)) |
| 2235 | (let ((alist dired-buffers) result elt buf) | 2235 | (let (result buf) |
| 2236 | (while alist | 2236 | (dolist (elt dired-buffers) |
| 2237 | (setq elt (car alist) | 2237 | (setq buf (cdr elt)) |
| 2238 | buf (cdr elt)) | 2238 | (cond |
| 2239 | (if (buffer-name buf) | 2239 | ((null (buffer-name buf)) |
| 2240 | (if (dired-in-this-tree dir (car elt)) | 2240 | ;; Buffer is killed - clean up: |
| 2241 | (with-current-buffer buf | ||
| 2242 | (and (assoc dir dired-subdir-alist) | ||
| 2243 | (or (null file) | ||
| 2244 | (let ((wildcards | ||
| 2245 | (file-name-nondirectory dired-directory))) | ||
| 2246 | (or (= 0 (length wildcards)) | ||
| 2247 | (string-match (dired-glob-regexp wildcards) | ||
| 2248 | file)))) | ||
| 2249 | (setq result (cons buf result))))) | ||
| 2250 | ;; else buffer is killed - clean up: | ||
| 2251 | (setq dired-buffers (delq elt dired-buffers))) | 2241 | (setq dired-buffers (delq elt dired-buffers))) |
| 2252 | (setq alist (cdr alist))) | 2242 | ((dired-in-this-tree dir (car elt)) |
| 2243 | (with-current-buffer buf | ||
| 2244 | (and (assoc dir dired-subdir-alist) | ||
| 2245 | (or (null file) | ||
| 2246 | (if (stringp dired-directory) | ||
| 2247 | (let ((wildcards (file-name-nondirectory | ||
| 2248 | dired-directory))) | ||
| 2249 | (or (= 0 (length wildcards)) | ||
| 2250 | (string-match (dired-glob-regexp wildcards) | ||
| 2251 | file))) | ||
| 2252 | (member (expand-file-name file dir) | ||
| 2253 | (cdr dired-directory)))) | ||
| 2254 | (setq result (cons buf result))))))) | ||
| 2253 | result)) | 2255 | result)) |
| 2254 | 2256 | ||
| 2255 | (defun dired-glob-regexp (pattern) | 2257 | (defun dired-glob-regexp (pattern) |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 86e9411b140..18db4f443f6 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -231,8 +231,8 @@ if the variable `help-downcase-arguments' is non-nil." | |||
| 231 | "Guess the file that defined the Lisp object OBJECT, of type TYPE. | 231 | "Guess the file that defined the Lisp object OBJECT, of type TYPE. |
| 232 | OBJECT should be a symbol associated with a function, variable, or face; | 232 | OBJECT should be a symbol associated with a function, variable, or face; |
| 233 | alternatively, it can be a function definition. | 233 | alternatively, it can be a function definition. |
| 234 | If TYPE is `variable', search for a variable definition. | 234 | If TYPE is `defvar', search for a variable definition. |
| 235 | If TYPE is `face', search for a face definition. | 235 | If TYPE is `defface', search for a face definition. |
| 236 | If TYPE is the value returned by `symbol-function' for a function symbol, | 236 | If TYPE is the value returned by `symbol-function' for a function symbol, |
| 237 | search for a function definition. | 237 | search for a function definition. |
| 238 | 238 | ||
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index e202aca63b0..a34989171bb 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -128,6 +128,28 @@ A winprops object has the shape (WINDOW . ALIST)." | |||
| 128 | 128 | ||
| 129 | (declare-function image-size "image.c" (spec &optional pixels frame)) | 129 | (declare-function image-size "image.c" (spec &optional pixels frame)) |
| 130 | 130 | ||
| 131 | (defun image-display-size (spec &optional pixels frame) | ||
| 132 | "Wrapper around `image-size', to handle slice display properties. | ||
| 133 | If SPEC is an image display property, call `image-size' with the | ||
| 134 | given arguments. | ||
| 135 | If SPEC is a list of properties containing `image' and `slice' | ||
| 136 | properties, calculate the display size from the slice property. | ||
| 137 | If SPEC contains `image' but not `slice', call `image-size' with | ||
| 138 | the specified image." | ||
| 139 | (if (eq (car spec) 'image) | ||
| 140 | (image-size spec pixels frame) | ||
| 141 | (let ((image (assoc 'image spec)) | ||
| 142 | (slice (assoc 'slice spec))) | ||
| 143 | (cond ((and image slice) | ||
| 144 | (if pixels | ||
| 145 | (cons (nth 3 slice) (nth 4 slice)) | ||
| 146 | (cons (/ (float (nth 3 slice)) (frame-char-width frame)) | ||
| 147 | (/ (float (nth 4 slice)) (frame-char-height frame))))) | ||
| 148 | (image | ||
| 149 | (image-size image pixels frame)) | ||
| 150 | (t | ||
| 151 | (error "Invalid image specification: %s" spec)))))) | ||
| 152 | |||
| 131 | (defun image-forward-hscroll (&optional n) | 153 | (defun image-forward-hscroll (&optional n) |
| 132 | "Scroll image in current window to the left by N character widths. | 154 | "Scroll image in current window to the left by N character widths. |
| 133 | Stop if the right edge of the image is reached." | 155 | Stop if the right edge of the image is reached." |
| @@ -139,7 +161,7 @@ Stop if the right edge of the image is reached." | |||
| 139 | (let* ((image (image-get-display-property)) | 161 | (let* ((image (image-get-display-property)) |
| 140 | (edges (window-inside-edges)) | 162 | (edges (window-inside-edges)) |
| 141 | (win-width (- (nth 2 edges) (nth 0 edges))) | 163 | (win-width (- (nth 2 edges) (nth 0 edges))) |
| 142 | (img-width (ceiling (car (image-size image))))) | 164 | (img-width (ceiling (car (image-display-size image))))) |
| 143 | (image-set-window-hscroll (min (max 0 (- img-width win-width)) | 165 | (image-set-window-hscroll (min (max 0 (- img-width win-width)) |
| 144 | (+ n (window-hscroll)))))))) | 166 | (+ n (window-hscroll)))))))) |
| 145 | 167 | ||
| @@ -160,7 +182,7 @@ Stop if the bottom edge of the image is reached." | |||
| 160 | (let* ((image (image-get-display-property)) | 182 | (let* ((image (image-get-display-property)) |
| 161 | (edges (window-inside-edges)) | 183 | (edges (window-inside-edges)) |
| 162 | (win-height (- (nth 3 edges) (nth 1 edges))) | 184 | (win-height (- (nth 3 edges) (nth 1 edges))) |
| 163 | (img-height (ceiling (cdr (image-size image))))) | 185 | (img-height (ceiling (cdr (image-display-size image))))) |
| 164 | (image-set-window-vscroll (min (max 0 (- img-height win-height)) | 186 | (image-set-window-vscroll (min (max 0 (- img-height win-height)) |
| 165 | (+ n (window-vscroll)))))))) | 187 | (+ n (window-vscroll)))))))) |
| 166 | 188 | ||
| @@ -233,7 +255,7 @@ stopping if the top or bottom edge of the image is reached." | |||
| 233 | (let* ((image (image-get-display-property)) | 255 | (let* ((image (image-get-display-property)) |
| 234 | (edges (window-inside-edges)) | 256 | (edges (window-inside-edges)) |
| 235 | (win-width (- (nth 2 edges) (nth 0 edges))) | 257 | (win-width (- (nth 2 edges) (nth 0 edges))) |
| 236 | (img-width (ceiling (car (image-size image))))) | 258 | (img-width (ceiling (car (image-display-size image))))) |
| 237 | (image-set-window-hscroll (max 0 (- img-width win-width))))) | 259 | (image-set-window-hscroll (max 0 (- img-width win-width))))) |
| 238 | 260 | ||
| 239 | (defun image-bob () | 261 | (defun image-bob () |
| @@ -248,9 +270,9 @@ stopping if the top or bottom edge of the image is reached." | |||
| 248 | (let* ((image (image-get-display-property)) | 270 | (let* ((image (image-get-display-property)) |
| 249 | (edges (window-inside-edges)) | 271 | (edges (window-inside-edges)) |
| 250 | (win-width (- (nth 2 edges) (nth 0 edges))) | 272 | (win-width (- (nth 2 edges) (nth 0 edges))) |
| 251 | (img-width (ceiling (car (image-size image)))) | 273 | (img-width (ceiling (car (image-display-size image)))) |
| 252 | (win-height (- (nth 3 edges) (nth 1 edges))) | 274 | (win-height (- (nth 3 edges) (nth 1 edges))) |
| 253 | (img-height (ceiling (cdr (image-size image))))) | 275 | (img-height (ceiling (cdr (image-display-size image))))) |
| 254 | (image-set-window-hscroll (max 0 (- img-width win-width))) | 276 | (image-set-window-hscroll (max 0 (- img-width win-width))) |
| 255 | (image-set-window-vscroll (max 0 (- img-height win-height))))) | 277 | (image-set-window-vscroll (max 0 (- img-height win-height))))) |
| 256 | 278 | ||
| @@ -264,7 +286,7 @@ This function assumes the current frame has only one window." | |||
| 264 | (interactive) | 286 | (interactive) |
| 265 | (let* ((saved (frame-parameter nil 'image-mode-saved-size)) | 287 | (let* ((saved (frame-parameter nil 'image-mode-saved-size)) |
| 266 | (display (image-get-display-property)) | 288 | (display (image-get-display-property)) |
| 267 | (size (image-size display))) | 289 | (size (image-display-size display))) |
| 268 | (if (and saved | 290 | (if (and saved |
| 269 | (eq (caar saved) (frame-width)) | 291 | (eq (caar saved) (frame-width)) |
| 270 | (eq (cdar saved) (frame-height))) | 292 | (eq (cdar saved) (frame-height))) |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 76bd02615e3..c92d6a9f052 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -47,7 +47,7 @@ | |||
| 47 | ;; using the same *compilation* buffer. this necessitates re-parsing markers. | 47 | ;; using the same *compilation* buffer. this necessitates re-parsing markers. |
| 48 | 48 | ||
| 49 | ;; FILE-STRUCTURE is a list of | 49 | ;; FILE-STRUCTURE is a list of |
| 50 | ;; ((FILENAME . DIRECTORY) FORMATS (LINE LOC ...) ...) | 50 | ;; ((FILENAME DIRECTORY) FORMATS (LINE LOC ...) ...) |
| 51 | 51 | ||
| 52 | ;; FILENAME is a string parsed from an error message. DIRECTORY is a string | 52 | ;; FILENAME is a string parsed from an error message. DIRECTORY is a string |
| 53 | ;; obtained by following directory change messages. DIRECTORY will be nil for | 53 | ;; obtained by following directory change messages. DIRECTORY will be nil for |
diff --git a/lisp/time.el b/lisp/time.el index e09ceaec18a..d512faefee0 100644 --- a/lisp/time.el +++ b/lisp/time.el | |||
| @@ -87,7 +87,7 @@ The value can be one of: | |||
| 87 | 87 | ||
| 88 | ;;;###autoload | 88 | ;;;###autoload |
| 89 | (defcustom display-time-day-and-date nil "\ | 89 | (defcustom display-time-day-and-date nil "\ |
| 90 | *Non-nil means \\[display-time] should display day and date as well as time." | 90 | Non-nil means \\[display-time] should display day and date as well as time." |
| 91 | :type 'boolean | 91 | :type 'boolean |
| 92 | :group 'display-time) | 92 | :group 'display-time) |
| 93 | 93 | ||
| @@ -182,7 +182,7 @@ LABEL is a string to display as the label of that TIMEZONE's time." | |||
| 182 | :version "23.1") | 182 | :version "23.1") |
| 183 | 183 | ||
| 184 | (defcustom display-time-world-buffer-name "*wclock*" | 184 | (defcustom display-time-world-buffer-name "*wclock*" |
| 185 | "Name of the wclock buffer." | 185 | "Name of the world clock buffer." |
| 186 | :group 'display-time | 186 | :group 'display-time |
| 187 | :type 'string | 187 | :type 'string |
| 188 | :version "23.1") | 188 | :version "23.1") |
| @@ -203,7 +203,7 @@ LABEL is a string to display as the label of that TIMEZONE's time." | |||
| 203 | (let ((map (make-sparse-keymap))) | 203 | (let ((map (make-sparse-keymap))) |
| 204 | (define-key map "q" 'kill-this-buffer) | 204 | (define-key map "q" 'kill-this-buffer) |
| 205 | map) | 205 | map) |
| 206 | "Keymap of Display Time World mode") | 206 | "Keymap of Display Time World mode.") |
| 207 | 207 | ||
| 208 | ;;;###autoload | 208 | ;;;###autoload |
| 209 | (defun display-time () | 209 | (defun display-time () |
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index b377f631704..e3f76e72e37 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2010-07-27 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * url-http (url-http-parse-headers): Disable file name handlers at | ||
| 4 | all (not only Tramp). (Bug#6717) | ||
| 5 | |||
| 6 | 2010-07-27 Michael Albinus <michael.albinus@gmx.de> | ||
| 7 | |||
| 8 | * url-http (url-http-parse-headers): Disable Tramp. (Bug#6717) | ||
| 9 | |||
| 1 | 2010-07-01 Mark A. Hershberger <mah@everybody.org> | 10 | 2010-07-01 Mark A. Hershberger <mah@everybody.org> |
| 2 | 11 | ||
| 3 | * url-http.el (url-http-create-request): Add a CRLF on the end so | 12 | * url-http.el (url-http-create-request): Add a CRLF on the end so |
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 24daba4f779..bd0a3de98a5 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -486,7 +486,11 @@ should be shown to the user." | |||
| 486 | (class nil) | 486 | (class nil) |
| 487 | (success nil) | 487 | (success nil) |
| 488 | ;; other status symbols: jewelry and luxury cars | 488 | ;; other status symbols: jewelry and luxury cars |
| 489 | (status-symbol (cadr (assq url-http-response-status url-http-codes)))) | 489 | (status-symbol (cadr (assq url-http-response-status url-http-codes))) |
| 490 | ;; The filename part of a URL could be in remote file syntax, | ||
| 491 | ;; see Bug#6717 for an example. We disable file name | ||
| 492 | ;; handlers, therefore. | ||
| 493 | (file-name-handler-alist nil)) | ||
| 490 | (setq class (/ url-http-response-status 100)) | 494 | (setq class (/ url-http-response-status 100)) |
| 491 | (url-http-debug "Parsed HTTP headers: class=%d status=%d" class url-http-response-status) | 495 | (url-http-debug "Parsed HTTP headers: class=%d status=%d" class url-http-response-status) |
| 492 | (url-http-handle-cookies) | 496 | (url-http-handle-cookies) |
diff --git a/src/ChangeLog b/src/ChangeLog index 9428bd4c0bc..706a6ae3aeb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2010-07-27 Christoph Scholtes <cschol2112@gmail.com> | ||
| 2 | |||
| 3 | * minibuf.c (Fread_buffer): Doc fix (bug#6528). | ||
| 4 | |||
| 5 | * window.c (Fwindow_height): Doc fix (bug#6518). | ||
| 6 | |||
| 7 | 2010-07-27 Juanma Barranquero <lekktu@gmail.com> | ||
| 8 | |||
| 9 | * buffer.c (syms_of_buffer) <fringe-indicator-alist>: Doc fix. | ||
| 10 | |||
| 1 | 2010-07-26 Dan Nicolaescu <dann@ics.uci.edu> | 11 | 2010-07-26 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 12 | ||
| 3 | * keyboard.c (Ftop_level, Fexit_recursive_edit) | 13 | * keyboard.c (Ftop_level, Fexit_recursive_edit) |
diff --git a/src/buffer.c b/src/buffer.c index ac39219e61e..a90262fc557 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5899,14 +5899,14 @@ fringe indicator. | |||
| 5899 | 5899 | ||
| 5900 | INDICATOR specifies the logical indicator type which is one of the | 5900 | INDICATOR specifies the logical indicator type which is one of the |
| 5901 | following symbols: `truncation' , `continuation', `overlay-arrow', | 5901 | following symbols: `truncation' , `continuation', `overlay-arrow', |
| 5902 | `top', `bottom', `up', `down', `one-line', `empty-line', or `unknown'. | 5902 | `top', `bottom', `top-bottom', `up', `down', empty-line', or `unknown'. |
| 5903 | 5903 | ||
| 5904 | BITMAPS is list of symbols (LEFT RIGHT [LEFT1 RIGHT1]) which specifies | 5904 | BITMAPS is a list of symbols (LEFT RIGHT [LEFT1 RIGHT1]) which specifies |
| 5905 | the actual bitmap shown in the left or right fringe for the logical | 5905 | the actual bitmap shown in the left or right fringe for the logical |
| 5906 | indicator. LEFT and RIGHT are the bitmaps shown in the left and/or | 5906 | indicator. LEFT and RIGHT are the bitmaps shown in the left and/or |
| 5907 | right fringe for the specific indicator. The LEFT1 or RIGHT1 bitmaps | 5907 | right fringe for the specific indicator. The LEFT1 or RIGHT1 bitmaps |
| 5908 | are used only for the `bottom' and `one-line' indicators when the last | 5908 | are used only for the `bottom' and `top-bottom' indicators when the |
| 5909 | \(only) line in has no final newline. BITMAPS may also be a single | 5909 | last (only) line has no final newline. BITMAPS may also be a single |
| 5910 | symbol which is used in both left and right fringes. */); | 5910 | symbol which is used in both left and right fringes. */); |
| 5911 | 5911 | ||
| 5912 | DEFVAR_PER_BUFFER ("fringe-cursor-alist", | 5912 | DEFVAR_PER_BUFFER ("fringe-cursor-alist", |
diff --git a/src/minibuf.c b/src/minibuf.c index 5dc7b0b1f06..01478c2d5bd 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -1152,7 +1152,7 @@ Optional second arg DEF is value to return if user enters an empty line. | |||
| 1152 | If DEF is a list of default values, return its first element. | 1152 | If DEF is a list of default values, return its first element. |
| 1153 | Optional third arg REQUIRE-MATCH determines whether non-existing | 1153 | Optional third arg REQUIRE-MATCH determines whether non-existing |
| 1154 | buffer names are allowed. It has the same meaning as the | 1154 | buffer names are allowed. It has the same meaning as the |
| 1155 | REQUIRE-MATCH argument of `confirm-after-completion'. | 1155 | REQUIRE-MATCH argument of `completing-read'. |
| 1156 | The argument PROMPT should be a string ending with a colon and a space. | 1156 | The argument PROMPT should be a string ending with a colon and a space. |
| 1157 | If `read-buffer-completion-ignore-case' is non-nil, completion ignores | 1157 | If `read-buffer-completion-ignore-case' is non-nil, completion ignores |
| 1158 | case while reading the buffer name. | 1158 | case while reading the buffer name. |
diff --git a/src/window.c b/src/window.c index 89563112628..662b587150d 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -508,7 +508,10 @@ DEFUN ("window-height", Fwindow_height, Swindow_height, 0, 1, 0, | |||
| 508 | doc: /* Return the number of lines in WINDOW. | 508 | doc: /* Return the number of lines in WINDOW. |
| 509 | WINDOW defaults to the selected window. | 509 | WINDOW defaults to the selected window. |
| 510 | 510 | ||
| 511 | The return value includes WINDOW's mode line and header line, if any. */) | 511 | The return value includes WINDOW's mode line and header line, if any. |
| 512 | |||
| 513 | Note: The function does not take into account the value of `line-spacing' | ||
| 514 | when calculating the number of lines in WINDOW. */) | ||
| 512 | (Lisp_Object window) | 515 | (Lisp_Object window) |
| 513 | { | 516 | { |
| 514 | return decode_any_window (window)->total_lines; | 517 | return decode_any_window (window)->total_lines; |