diff options
| author | Kenichi Handa | 2010-05-25 10:03:44 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-05-25 10:03:44 +0900 |
| commit | cdf522217cd425ca6dabb1fc6c0fb7fb9c95883b (patch) | |
| tree | 993ab2a02b7737549c408adb148aed12c86bafd2 | |
| parent | 8a2b8c4f7c2a18254fc0b34f236d7487fc7917d4 (diff) | |
| parent | 171eda5358a6c63b4854688a300b0fe22d3fcb38 (diff) | |
| download | emacs-cdf522217cd425ca6dabb1fc6c0fb7fb9c95883b.tar.gz emacs-cdf522217cd425ca6dabb1fc6c0fb7fb9c95883b.zip | |
merge trunk
| -rw-r--r-- | etc/ChangeLog | 7 | ||||
| -rw-r--r-- | etc/NEWS.23 | 27 | ||||
| -rw-r--r-- | lisp/ChangeLog | 19 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/fill.el | 2 | ||||
| -rw-r--r-- | lisp/url/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/url/url-util.el | 4 | ||||
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/cmds.c | 4 | ||||
| -rw-r--r-- | src/editfns.c | 11 |
10 files changed, 73 insertions, 14 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 4f83227c8dc..10199922b34 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-05-24 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * NEWS: Add sections for Emacs-23.3. | ||
| 4 | |||
| 1 | 2010-05-08 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-05-08 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * PROBLEMS: Document gcc-4.5 bug (Bug#6031). | 7 | * PROBLEMS: Document gcc-4.5 bug (Bug#6031). |
| @@ -43,8 +47,7 @@ | |||
| 43 | 47 | ||
| 44 | 2010-03-24 Francesc Rocher <rocher@member.fsf.org> | 48 | 2010-03-24 Francesc Rocher <rocher@member.fsf.org> |
| 45 | 49 | ||
| 46 | * MORE.STUFF: Remove CEDET entry, now distributed as part of | 50 | * MORE.STUFF: Remove CEDET entry, now distributed as part of Emacs. |
| 47 | Emacs. | ||
| 48 | 51 | ||
| 49 | 2010-03-22 Teodor Zlatanov <tzz@lifelogs.com> | 52 | 2010-03-22 Teodor Zlatanov <tzz@lifelogs.com> |
| 50 | 53 | ||
diff --git a/etc/NEWS.23 b/etc/NEWS.23 index b52b1f79f41..9124fe1c069 100644 --- a/etc/NEWS.23 +++ b/etc/NEWS.23 | |||
| @@ -15,6 +15,33 @@ You can narrow news to a specific version by calling `view-emacs-news' | |||
| 15 | with a prefix argument or by typing C-u C-h C-n. | 15 | with a prefix argument or by typing C-u C-h C-n. |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | * Installation Changes in Emacs 23.3 | ||
| 19 | |||
| 20 | * Startup Changes in Emacs 23.3 | ||
| 21 | |||
| 22 | * Changes in Emacs 23.3 | ||
| 23 | |||
| 24 | |||
| 25 | * Editing Changes in Emacs 23.3 | ||
| 26 | |||
| 27 | |||
| 28 | * Changes in Specialized Modes and Packages in Emacs 23.3 | ||
| 29 | |||
| 30 | |||
| 31 | * New Modes and Packages in Emacs 23.3 | ||
| 32 | |||
| 33 | |||
| 34 | * Incompatible Lisp Changes in Emacs 23.3 | ||
| 35 | |||
| 36 | |||
| 37 | * Lisp changes in Emacs 23.3 | ||
| 38 | |||
| 39 | ** New function byte-to-string, like char-to-string but for bytes. | ||
| 40 | |||
| 41 | |||
| 42 | * Changes in Emacs 23.3 on non-free operating systems | ||
| 43 | |||
| 44 | |||
| 18 | * Installation Changes in Emacs 23.2 | 45 | * Installation Changes in Emacs 23.2 |
| 19 | 46 | ||
| 20 | ** New configure options for Emacs developers. | 47 | ** New configure options for Emacs developers. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 72f00e60edf..061db502dc5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change) | ||
| 2 | |||
| 3 | * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201). | ||
| 4 | |||
| 5 | 2010-05-24 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 6 | |||
| 7 | * subr.el (read-quoted-char): Resolve modifiers after key | ||
| 8 | remapping (bug#6212). | ||
| 9 | |||
| 1 | 2010-05-22 Chong Yidong <cyd@stupidchicken.com> | 10 | 2010-05-22 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 11 | ||
| 3 | * image.el (image-refresh): Define as an alias for image-flush. | 12 | * image.el (image-refresh): Define as an alias for image-flush. |
| @@ -13,9 +22,9 @@ | |||
| 13 | 22 | ||
| 14 | 2010-05-21 Alan Mackenzie <acm@muc.de> | 23 | 2010-05-21 Alan Mackenzie <acm@muc.de> |
| 15 | 24 | ||
| 16 | * progmodes/cc-engine.el (c-parse-state-get-strategy): Replace | 25 | * progmodes/cc-engine.el (c-parse-state-get-strategy): |
| 17 | parameter `here' with `here-' and `here-plus', which sandwich any | 26 | Replace parameter `here' with `here-' and `here-plus', which sandwich |
| 18 | pertinent CPP construct. | 27 | any pertinent CPP construct. |
| 19 | (c-remove-stale-state-cache-backwards): Fix a bug which happens | 28 | (c-remove-stale-state-cache-backwards): Fix a bug which happens |
| 20 | when doing (c-parse-state) in a CPP construct: Exclude any "new" | 29 | when doing (c-parse-state) in a CPP construct: Exclude any "new" |
| 21 | CPP construct from taking part in the scanning. | 30 | CPP construct from taking part in the scanning. |
| @@ -23,8 +32,8 @@ | |||
| 23 | 2010-05-21 Michael Albinus <michael.albinus@gmx.de> | 32 | 2010-05-21 Michael Albinus <michael.albinus@gmx.de> |
| 24 | 33 | ||
| 25 | * net/tramp.el (tramp-do-copy-or-rename-file) | 34 | * net/tramp.el (tramp-do-copy-or-rename-file) |
| 26 | (tramp-handle-file-local-copy, tramp-maybe-open-connection): Tune | 35 | (tramp-handle-file-local-copy, tramp-maybe-open-connection): |
| 27 | `with-progress-reporter' messages. | 36 | Tune `with-progress-reporter' messages. |
| 28 | (tramp-handle-vc-registered): | 37 | (tramp-handle-vc-registered): |
| 29 | * net/tramp-fish.el (tramp-fish-handle-file-local-copy) | 38 | * net/tramp-fish.el (tramp-fish-handle-file-local-copy) |
| 30 | (tramp-fish-handle-insert-file-contents) | 39 | (tramp-fish-handle-insert-file-contents) |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 0c3a7b69798..217afea9f8a 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -353,7 +353,7 @@ else the global value will be modified." | |||
| 353 | (defvar byte-compile-interactive-only-functions | 353 | (defvar byte-compile-interactive-only-functions |
| 354 | '(beginning-of-buffer end-of-buffer replace-string replace-regexp | 354 | '(beginning-of-buffer end-of-buffer replace-string replace-regexp |
| 355 | insert-file insert-buffer insert-file-literally previous-line next-line | 355 | insert-file insert-buffer insert-file-literally previous-line next-line |
| 356 | goto-line comint-run) | 356 | goto-line comint-run delete-backward-char) |
| 357 | "List of commands that are not meant to be called from Lisp.") | 357 | "List of commands that are not meant to be called from Lisp.") |
| 358 | 358 | ||
| 359 | (defvar byte-compile-not-obsolete-vars nil | 359 | (defvar byte-compile-not-obsolete-vars nil |
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 1b3cc8dc4d8..da6e02bfa2f 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -1036,7 +1036,7 @@ space does not end a sentence, so don't break a line there." | |||
| 1036 | (fill-forward-paragraph -1)) | 1036 | (fill-forward-paragraph -1)) |
| 1037 | (if (< (point) beg) | 1037 | (if (< (point) beg) |
| 1038 | (goto-char beg)) | 1038 | (goto-char beg)) |
| 1039 | (if (>= (point) initial) | 1039 | (if (and (>= (point) initial) (< (point) end)) |
| 1040 | (setq fill-pfx | 1040 | (setq fill-pfx |
| 1041 | (fill-region-as-paragraph (point) end justify nosqueeze)) | 1041 | (fill-region-as-paragraph (point) end justify nosqueeze)) |
| 1042 | (goto-char end)))) | 1042 | (goto-char end)))) |
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 552f0703940..f61c8d2566d 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * url-util.el (url-unhex-string): Don't accidentally decode as latin-1. | ||
| 4 | |||
| 1 | 2010-05-07 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-05-07 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * Version 23.2 released. | 7 | * Version 23.2 released. |
diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index c0b2595a6e0..e92ccc76285 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el | |||
| @@ -322,10 +322,10 @@ forbidden in URL encoding." | |||
| 322 | tmp (substring str 0 start) | 322 | tmp (substring str 0 start) |
| 323 | (cond | 323 | (cond |
| 324 | (allow-newlines | 324 | (allow-newlines |
| 325 | (char-to-string code)) | 325 | (byte-to-string code)) |
| 326 | ((or (= code ?\n) (= code ?\r)) | 326 | ((or (= code ?\n) (= code ?\r)) |
| 327 | " ") | 327 | " ") |
| 328 | (t (char-to-string code)))) | 328 | (t (byte-to-string code)))) |
| 329 | str (substring str (match-end 0))))) | 329 | str (substring str (match-end 0))))) |
| 330 | (setq tmp (concat tmp str)) | 330 | (setq tmp (concat tmp str)) |
| 331 | tmp)) | 331 | tmp)) |
diff --git a/src/ChangeLog b/src/ChangeLog index 67911d5def3..959c3fbcb54 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -23,13 +23,16 @@ | |||
| 23 | 23 | ||
| 24 | 2010-05-24 Stefan Monnier <monnier@iro.umontreal.ca> | 24 | 2010-05-24 Stefan Monnier <monnier@iro.umontreal.ca> |
| 25 | 25 | ||
| 26 | * editfns.c (Fbyte_to_string): New function. | ||
| 27 | |||
| 28 | 2010-05-24 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 29 | |||
| 26 | * process.c (Fmake_network_process): Set :host to nil if it's not used. | 30 | * process.c (Fmake_network_process): Set :host to nil if it's not used. |
| 27 | Suggested by Masatake YAMATO <yamato@redhat.com>. | 31 | Suggested by Masatake YAMATO <yamato@redhat.com>. |
| 28 | 32 | ||
| 29 | 2010-05-23 Eli Zaretskii <eliz@gnu.org> | 33 | 2010-05-23 Eli Zaretskii <eliz@gnu.org> |
| 30 | 34 | ||
| 31 | * dispextern.h (init_iterator): Sync prototype with changed | 35 | * dispextern.h (init_iterator): Sync prototype with changed definition. |
| 32 | definition. | ||
| 33 | 36 | ||
| 34 | 2010-05-19 Eli Zaretskii <eliz@gnu.org> | 37 | 2010-05-19 Eli Zaretskii <eliz@gnu.org> |
| 35 | 38 | ||
diff --git a/src/cmds.c b/src/cmds.c index b8a65324e9f..1fdd3729d68 100644 --- a/src/cmds.c +++ b/src/cmds.c | |||
| @@ -278,7 +278,9 @@ DEFUN ("delete-backward-char", Fdelete_backward_char, Sdelete_backward_char, | |||
| 278 | doc: /* Delete the previous N characters (following if N is negative). | 278 | doc: /* Delete the previous N characters (following if N is negative). |
| 279 | Optional second arg KILLFLAG non-nil means kill instead (save in kill ring). | 279 | Optional second arg KILLFLAG non-nil means kill instead (save in kill ring). |
| 280 | Interactively, N is the prefix arg, and KILLFLAG is set if | 280 | Interactively, N is the prefix arg, and KILLFLAG is set if |
| 281 | N was explicitly specified. */) | 281 | N was explicitly specified. |
| 282 | This is meant for interactive use only; from Lisp, better use `delete-char' | ||
| 283 | with a negated argument. */) | ||
| 282 | (n, killflag) | 284 | (n, killflag) |
| 283 | Lisp_Object n, killflag; | 285 | Lisp_Object n, killflag; |
| 284 | { | 286 | { |
diff --git a/src/editfns.c b/src/editfns.c index 9f30ea06411..caac2c5c199 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -220,6 +220,16 @@ usage: (char-to-string CHAR) */) | |||
| 220 | return make_string_from_bytes (str, 1, len); | 220 | return make_string_from_bytes (str, 1, len); |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | DEFUN ("byte-to-string", Fbyte_to_string, Sbyte_to_string, 1, 1, 0, | ||
| 224 | doc: /* Convert arg BYTE to a string containing that byte. */) | ||
| 225 | (byte) | ||
| 226 | Lisp_Object byte; | ||
| 227 | { | ||
| 228 | CHECK_NUMBER (byte); | ||
| 229 | unsigned char b = XINT (byte); | ||
| 230 | return make_string_from_bytes (&b, 1, 1); | ||
| 231 | } | ||
| 232 | |||
| 223 | DEFUN ("string-to-char", Fstring_to_char, Sstring_to_char, 1, 1, 0, | 233 | DEFUN ("string-to-char", Fstring_to_char, Sstring_to_char, 1, 1, 0, |
| 224 | doc: /* Convert arg STRING to a character, the first character of that string. | 234 | doc: /* Convert arg STRING to a character, the first character of that string. |
| 225 | A multibyte character is handled correctly. */) | 235 | A multibyte character is handled correctly. */) |
| @@ -4686,6 +4696,7 @@ functions if all the text being accessed has this property. */); | |||
| 4686 | defsubr (&Sgoto_char); | 4696 | defsubr (&Sgoto_char); |
| 4687 | defsubr (&Sstring_to_char); | 4697 | defsubr (&Sstring_to_char); |
| 4688 | defsubr (&Schar_to_string); | 4698 | defsubr (&Schar_to_string); |
| 4699 | defsubr (&Sbyte_to_string); | ||
| 4689 | defsubr (&Sbuffer_substring); | 4700 | defsubr (&Sbuffer_substring); |
| 4690 | defsubr (&Sbuffer_substring_no_properties); | 4701 | defsubr (&Sbuffer_substring_no_properties); |
| 4691 | defsubr (&Sbuffer_string); | 4702 | defsubr (&Sbuffer_string); |