diff options
| author | Karoly Lorentey | 2007-04-22 11:42:03 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2007-04-22 11:42:03 +0000 |
| commit | 81088e260b086fe28f36964f32b6338210ec6fd8 (patch) | |
| tree | 53d5af73ca0c971fe6925944d4d059caab5337a2 /src | |
| parent | fa1b1007cac59bafd16df7bd501ef2591dd77d62 (diff) | |
| parent | a6f0e674ebf44b1d37732b64070b804673481d28 (diff) | |
| download | emacs-81088e260b086fe28f36964f32b6338210ec6fd8.tar.gz emacs-81088e260b086fe28f36964f32b6338210ec6fd8.zip | |
Merged from emacs@sv.gnu.org
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-650
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-651
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-652
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-653
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-654
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-655
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-656
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-657
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-658
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-659
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-203
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-204
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-205
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-599
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 24 | ||||
| -rw-r--r-- | src/insdel.c | 11 | ||||
| -rw-r--r-- | src/keymap.c | 4 | ||||
| -rw-r--r-- | src/m/alpha.h | 2 | ||||
| -rw-r--r-- | src/m/macppc.h | 2 | ||||
| -rw-r--r-- | src/m/mips4.h | 2 | ||||
| -rw-r--r-- | src/m/news-risc.h | 2 | ||||
| -rw-r--r-- | src/m/xtensa.h | 15 | ||||
| -rw-r--r-- | src/process.c | 10 |
10 files changed, 66 insertions, 8 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 8d8c163b3b6..d3438a81e6a 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -977,7 +977,7 @@ Print $ as a lisp object of any type. | |||
| 977 | end | 977 | end |
| 978 | 978 | ||
| 979 | define xprintstr | 979 | define xprintstr |
| 980 | set $data = $arg0->data | 980 | set $data = (char *) $arg0->data |
| 981 | output ($arg0->size > 1000) ? 0 : ($data[0])@($arg0->size_byte < 0 ? $arg0->size & ~gdb_array_mark_flag : $arg0->size_byte) | 981 | output ($arg0->size > 1000) ? 0 : ($data[0])@($arg0->size_byte < 0 ? $arg0->size & ~gdb_array_mark_flag : $arg0->size_byte) |
| 982 | end | 982 | end |
| 983 | 983 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index c7f40ce8100..d9633301be2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,27 @@ | |||
| 1 | 2007-03-02 Stuart D. Herring <herring@lanl.gov> | ||
| 2 | |||
| 3 | * keymap.c (Fkey_binding): Don't consider two-element lists as | ||
| 4 | events. | ||
| 5 | |||
| 6 | 2007-03-01 Kenichi Handa <handa@m17n.org> | ||
| 7 | |||
| 8 | * process.c (send_process_object): Check the process status and | ||
| 9 | signal an error if something is wrong. | ||
| 10 | |||
| 11 | 2007-02-28 Chong Yidong <cyd@stupidchicken.com> | ||
| 12 | |||
| 13 | * insdel.c (Fcombine_after_change_execute): Return nil if | ||
| 14 | combine_after_change_buffer has been invalidated. | ||
| 15 | |||
| 16 | 2007-02-25 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 17 | |||
| 18 | * m/xtensa.h: New file. | ||
| 19 | |||
| 20 | 2007-02-24 Nick Roberts <nickrob@snap.net.nz> | ||
| 21 | |||
| 22 | * .gdbinit (xprintstr): Ensure GDB (> 6.6) prints symbol name | ||
| 23 | as strings and not character arrays. | ||
| 24 | |||
| 1 | 2007-02-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 25 | 2007-02-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 26 | ||
| 3 | * macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag) | 27 | * macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag) |
diff --git a/src/insdel.c b/src/insdel.c index 08043147cdf..7f15f7de52d 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -2351,6 +2351,17 @@ DEFUN ("combine-after-change-execute", Fcombine_after_change_execute, | |||
| 2351 | if (NILP (combine_after_change_list)) | 2351 | if (NILP (combine_after_change_list)) |
| 2352 | return Qnil; | 2352 | return Qnil; |
| 2353 | 2353 | ||
| 2354 | /* It is rare for combine_after_change_buffer to be invalid, but | ||
| 2355 | possible. It can happen when combine-after-change-calls is | ||
| 2356 | non-nil, and insertion calls a file handler (e.g. through | ||
| 2357 | lock_file) which scribbles into a temp file -- cyd */ | ||
| 2358 | if (!BUFFERP (combine_after_change_buffer) | ||
| 2359 | || NILP (XBUFFER (combine_after_change_buffer)->name)) | ||
| 2360 | { | ||
| 2361 | combine_after_change_list = Qnil; | ||
| 2362 | return Qnil; | ||
| 2363 | } | ||
| 2364 | |||
| 2354 | record_unwind_protect (Fset_buffer, Fcurrent_buffer ()); | 2365 | record_unwind_protect (Fset_buffer, Fcurrent_buffer ()); |
| 2355 | 2366 | ||
| 2356 | Fset_buffer (combine_after_change_buffer); | 2367 | Fset_buffer (combine_after_change_buffer); |
diff --git a/src/keymap.c b/src/keymap.c index c85c37aae12..0f1e922969c 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1605,10 +1605,10 @@ specified buffer position instead of point are used. | |||
| 1605 | 1605 | ||
| 1606 | /* We are not interested in locations without event data */ | 1606 | /* We are not interested in locations without event data */ |
| 1607 | 1607 | ||
| 1608 | if (EVENT_HAS_PARAMETERS (event)) | 1608 | if (EVENT_HAS_PARAMETERS (event) && CONSP (XCDR (event))) |
| 1609 | { | 1609 | { |
| 1610 | Lisp_Object kind = EVENT_HEAD_KIND (EVENT_HEAD (event)); | 1610 | Lisp_Object kind = EVENT_HEAD_KIND (EVENT_HEAD (event)); |
| 1611 | if (CONSP (XCDR (event)) && EQ (kind, Qmouse_click)) | 1611 | if (EQ (kind, Qmouse_click)) |
| 1612 | position = EVENT_START (event); | 1612 | position = EVENT_START (event); |
| 1613 | } | 1613 | } |
| 1614 | } | 1614 | } |
diff --git a/src/m/alpha.h b/src/m/alpha.h index cf629c20291..6a9f09ed0bd 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -6,7 +6,7 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | 7 | GNU Emacs is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 1, or (at your option) | 9 | the Free Software Foundation; either version 2, or (at your option) |
| 10 | any later version. | 10 | any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
diff --git a/src/m/macppc.h b/src/m/macppc.h index eba0a401a18..117d7a11dc4 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h | |||
| @@ -6,7 +6,7 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | 7 | GNU Emacs is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 1, or (at your option) | 9 | the Free Software Foundation; either version 2, or (at your option) |
| 10 | any later version. | 10 | any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
diff --git a/src/m/mips4.h b/src/m/mips4.h index 06db7d5dff0..f9517d6b560 100644 --- a/src/m/mips4.h +++ b/src/m/mips4.h | |||
| @@ -7,7 +7,7 @@ This file is part of GNU Emacs. | |||
| 7 | 7 | ||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | 8 | GNU Emacs is free software; you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| 10 | the Free Software Foundation; either version 1, or (at your option) | 10 | the Free Software Foundation; either version 2, or (at your option) |
| 11 | any later version. | 11 | any later version. |
| 12 | 12 | ||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | 13 | GNU Emacs is distributed in the hope that it will be useful, |
diff --git a/src/m/news-risc.h b/src/m/news-risc.h index 07e055dac9a..0a2564553f7 100644 --- a/src/m/news-risc.h +++ b/src/m/news-risc.h | |||
| @@ -7,7 +7,7 @@ This file is part of GNU Emacs. | |||
| 7 | 7 | ||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | 8 | GNU Emacs is free software; you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| 10 | the Free Software Foundation; either version 1, or (at your option) | 10 | the Free Software Foundation; either version 2, or (at your option) |
| 11 | any later version. | 11 | any later version. |
| 12 | 12 | ||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | 13 | GNU Emacs is distributed in the hope that it will be useful, |
diff --git a/src/m/xtensa.h b/src/m/xtensa.h new file mode 100644 index 00000000000..049874635d8 --- /dev/null +++ b/src/m/xtensa.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | /* Machine description file for Tensilica Xtensa. | ||
| 2 | |||
| 3 | Add a license notice if this grows to > 10 lines of code. */ | ||
| 4 | |||
| 5 | #define NO_ARG_ARRAY | ||
| 6 | #define NO_UNION_TYPE | ||
| 7 | |||
| 8 | #ifdef __LITTLE_ENDIAN | ||
| 9 | #undef WORDS_BIG_ENDIAN | ||
| 10 | #else | ||
| 11 | #define WORDS_BIG_ENDIAN | ||
| 12 | #endif | ||
| 13 | |||
| 14 | /* arch-tag: fe5872de-d565-4d81-8fe0-ea19865b3e6a | ||
| 15 | (do not change this comment) */ | ||
diff --git a/src/process.c b/src/process.c index d11a300363d..8b1da4ac5cc 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -5699,8 +5699,16 @@ send_process_object (proc, start, end) | |||
| 5699 | : ! NILP (XBUFFER (object)->enable_multibyte_characters)) | 5699 | : ! NILP (XBUFFER (object)->enable_multibyte_characters)) |
| 5700 | { | 5700 | { |
| 5701 | struct Lisp_Process *p = XPROCESS (proc); | 5701 | struct Lisp_Process *p = XPROCESS (proc); |
| 5702 | struct coding_system *coding = proc_encode_coding_system[XINT (p->outfd)]; | 5702 | struct coding_system *coding; |
| 5703 | 5703 | ||
| 5704 | if (p->raw_status_new) | ||
| 5705 | update_status (p); | ||
| 5706 | if (! EQ (p->status, Qrun)) | ||
| 5707 | error ("Process %s not running", SDATA (p->name)); | ||
| 5708 | if (XINT (p->outfd) < 0) | ||
| 5709 | error ("Output file descriptor of %s is closed", SDATA (p->name)); | ||
| 5710 | |||
| 5711 | coding = proc_encode_coding_system[XINT (p->outfd)]; | ||
| 5704 | if (! EQ (coding->symbol, p->encode_coding_system)) | 5712 | if (! EQ (coding->symbol, p->encode_coding_system)) |
| 5705 | /* The coding system for encoding was changed to raw-text | 5713 | /* The coding system for encoding was changed to raw-text |
| 5706 | because we sent a unibyte text previously. Now we are | 5714 | because we sent a unibyte text previously. Now we are |