1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-01 13:21:11 -08:00
Commit graph

7883 commits

Author SHA1 Message Date
Stefan Monnier
f9b7b5acb5 (where_is_internal): Filter out shadowed remappings.
Assume that where_is_internal returns unshadowed bindings to simplify
the code and get rid of the gotos.  Use ASIZE.
2009-09-09 02:38:50 +00:00
Jan Djärv
4da146f2c2 (x_focus_changed): If we get a focusout and pointer
is invisible, make it visible.
2009-09-04 05:33:49 +00:00
Jan Djärv
04f4b72d09 * xterm.h: Remove condition for declaration of
x_*_window_to_frame.
2009-09-04 04:40:17 +00:00
Stefan Monnier
7cef7ce343 (Fsend_string_to_terminal): Make it work again on the initial terminal as well. 2009-09-03 00:36:11 +00:00
Jan Djärv
a54fa5b720 * xterm.h: Rename x_non_menubar_window_to_frame to
x_menubar_window_to_frame

* xterm.c: Remove declarations also in xterm.h
(XTmouse_position): Do not return valid positions
for clicks in the menubar and the toolbar for Gtk+.

* xfns.c (x_any_window_to_frame): Assume less about Gtk+ internals,
if the widget for the event has the same top level as a frame,
return the frame.
(x_menubar_window_to_frame): Detect menu bar even with Gtk+
internal windows, bug #4122.
(x_non_menubar_window_to_frame): Remove.
2009-09-02 17:03:20 +00:00
Glenn Morris
5a021dd062 (default-major-mode): Move most of the doc from here...
(major-mode): ... to here.
2009-09-02 03:11:15 +00:00
Nick Roberts
548fe2f3ed *** empty log message *** 2009-08-30 04:50:49 +00:00
Eli Zaretskii
e0840eefe1 (redisplay_internal): Remove redundant test and collapse both branches
into one.
2009-08-29 17:36:30 +00:00
Stefan Monnier
82e98df4df * NEWS: Declare unibyte sessions obsolete.
* emacs.c (USAGE1): Remove --(no-)multibyte, --(no-)unibyte.
(main): Use enable-multibyte-characters rather than
default-enable-multibyte-characters.  Output a warning message when
running a unibyte session.
* mule.texi (Enabling Multibyte):
* cmdargs.texi (General Variables): Remove EMACS_UNIBYTE.
(Initial Options): Remove --(no-)multibyte, --(no-)unibyte.
2009-08-29 02:25:29 +00:00
YAMAMOTO Mitsuharu
890617cbfd [temacs] Undef HAVE_POSIX_MEMALIGN. 2009-08-28 22:50:11 +00:00
Eli Zaretskii
e7adeadcd3 (clean): Add buildobj.h. 2009-08-28 14:01:04 +00:00
Teodor Zlatanov
3ed8bbdc5f (print_object): Set escapeflag to 1 when printing
hashtable keys and values.
2009-08-28 10:16:03 +00:00
Eli Zaretskii
8a0b709a07 Mention bug numbers in last cmds.c log entry. 2009-08-28 08:55:23 +00:00
Stefan Monnier
155a6764a3 (read_integer): Use doubles (and potentially return a float
number) as we do in string-to-number.
(read1): Use strtol to read integers, signal errors on strtol's
overflow and use floats if strtol's output is too large for
Elisp integers.
2009-08-27 21:10:17 +00:00
Juanma Barranquero
31fd7c5c44 Fix typos. 2009-08-27 20:04:25 +00:00
Eli Zaretskii
877610de12 (SRC): Move to before where it's first used.
($(SRC)/buildobj.h, make-buildobj-CMD, make-buildobj-SH): Fix last change.
2009-08-27 18:33:44 +00:00
Kenichi Handa
550c8289fd (send_process): Use encode_coding_object instead of
encode_coding_string to perform eol-conversion even if the string
is unibyte.
2009-08-27 11:13:33 +00:00
Kenichi Handa
60afa08d41 (encode_coding_utf_16): Fix checking of an Unicode character. 2009-08-27 07:30:51 +00:00
Kenichi Handa
ef73e7be7b (Fself_insert_command): Avoid unnecessay unibyte->multibyte
conversion.
2009-08-27 06:02:17 +00:00
Dan Nicolaescu
5654bf6320 (Fcall_process): Remove always true #if. 2009-08-26 20:22:17 +00:00
Dan Nicolaescu
7b3a82d7e3 * lisp.h: Replace #if 0 code for checking with text pointing to
the --enable-checking configure flag.

* emacs.c (main): Mention the --enable-profiling configure flag
instead of using CFLAGS.
2009-08-26 19:57:44 +00:00
Ken Raeburn
878bde4927 * Makefile.in (buildobj.h): New target.
(doc.o): Depend on it.
(temacs${EXEEXT}): Don't generate buildobj.lst.
(mostlyclean): Delete buildobj.h, not buildobj.lst.
* makefile.w32-in ($(SRC)/buildobj.h): New target.
($(BLD)/doc.$(O)): Depend on it.
(make-buildobj-CMD, make-buildobj-SH): New targets.  (Syntax help
provided by Eli Zaretskii.)
($(TEMACS)): Don't generate buildobj.lst.
* doc.c: Include buildobj.h.
(buildobj): New static variable.
(Fsnarf_documentation): Use it, instead of opening and reading
buildobj.lst.
2009-08-26 08:28:23 +00:00
Michael Albinus
1574224c89 * dbusbind.c (Fdbus_call_method)
(Fdbus_call_method_asynchronously): Use English numeric format for
timeout values in doc string.
2009-08-25 10:31:38 +00:00
Kenichi Handa
d9da2f452d (CHAR_TABLE_REF_ASCII): New macor.
(CHAR_TABLE_REF): Use it.
2009-08-25 00:48:59 +00:00
Ken Raeburn
c8edcc0113 * Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH
before invoking the newly build emacs to check for load-path
shadowing.
2009-08-23 04:43:12 +00:00
Glenn Morris
7763401bac (bootstrap_exe): New variable.
(.el.elc, ${lispsource}loaddefs.el, bootstrap-emacs${EXEEXT}):
Use ${bootstrap_exe}.
2009-08-22 22:16:58 +00:00
Eli Zaretskii
729eaddaca (encode_coding_string): Don't encode unibyte strings. (Bug#4047) 2009-08-22 10:26:14 +00:00
Michael Albinus
eb4c6ace23 * dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): Remove. It was
intended as hotfix only.
(xd_add_watch, xd_remove_watch): Use HAVE_DBUS_WATCH_GET_UNIX_FD.
2009-08-22 08:57:34 +00:00
Adrian Robert
36e34d1b5d * nsterm.m (ns_get_color): Update documentation properly for last
change, and clean up loose ends in the code left by it.  Fix
	longstanding bug with 16-bit hex parsing, and add support for
	yet another X11 format (rgb:r/g/b) for compatibility.
	* nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of
	timer_check() to avoid crash on Leopard/PPC.  Bug #2154.
2009-08-21 19:33:56 +00:00
Stefan Monnier
f983eb8aaa (init_eval_once): Bump max_lisp_eval_depth to 500 for js.el. 2009-08-21 14:53:02 +00:00
Michael Albinus
3f56d3c665 * dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): New macro.
(xd_add_watch, xd_remove_watch): Use it.  Print debug messages.
(xd_initialize, xd_pending_messages): Check, whether
$DBUS_SESSION_BUS_ADDRESS is set.
2009-08-20 12:54:57 +00:00
YAMAMOTO Mitsuharu
fb641d684f (ns_get_color): Remove incompatible color formats again. 2009-08-20 09:44:25 +00:00
Glenn Morris
cf59a3740d (system-type): Doc fix. 2009-08-20 06:41:43 +00:00
Stefan Monnier
1373f3bebc (syms_of_keyboard): Default to 5 buttons, which should be
enough for the most common situations.  Avoid SET_SYMBOL_VALUE.
2009-08-19 14:39:35 +00:00
Michael Albinus
058ed8610c * dbusbind.c (xd_add_watch, xd_remove_watch, Fdbus_init_bus): New
functions.
(xd_initialize): Revert change from 2009-08-16.
2009-08-18 15:17:02 +00:00
Kenichi Handa
563a866ec7 (Ffontset_font): Fix previous change. 2009-08-18 00:37:11 +00:00
Kenichi Handa
5fc05db07b *** empty log message *** 2009-08-18 00:22:28 +00:00
Chong Yidong
e42bdf0159 * process.c (status_notify): Don't perform redisplay.
(Fdelete_process, list_processes_1, process_send_signal):
Expliticly perform redisplay.
(wait_reading_process_output): Always check process status, but
don't perform redisplay unless DO_DISPLAY is non-zero (Bug#2930).
2009-08-17 21:04:05 +00:00
Ken Raeburn
f601cdf35d * lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the value.
(XFLOAT_INIT): New macro for storing a float value.
* alloc.c (make_float, make_pure_float): Use XFLOAT_INIT.
* fns.c (sxhash): Copy out the value of a float in order to examine its bytes.
* dbusbind.c (xd_append_arg): Likewise.
2009-08-17 01:25:54 +00:00
Ken Raeburn
4230ab74b7 (main): Don't call syms_of_data twice. 2009-08-17 00:48:14 +00:00
Michael Albinus
ca4f31ea15 * dbusbind.c (Fdbus_call_method_asynchronously): Allow nil HANDLER. 2009-08-16 17:35:44 +00:00
Michael Albinus
a0645cddf0 * dbusbind.c (xd_initialize): Add connection file descriptor to
input_wait_mask, in order to let select() detect, whether a new
message has been arrived.
2009-08-16 12:23:23 +00:00
Chong Yidong
84b17ab096 * eval.c (Fcalled_interactively_p, Finteractive_p): Doc
fix (Bug#3936).
2009-08-15 21:51:33 +00:00
Michael Albinus
485db0ba86 * keyboard.c (readable_events): Call xd_pending_messages. 2009-08-15 18:31:49 +00:00
Chong Yidong
f8354c6e36 * xdisp.c (pop_it): Don't pop into a display vector (Bug#4131). 2009-08-15 17:30:18 +00:00
Chong Yidong
b5b98ff494 * buffer.c (set_buffer_internal_1)
(swap_out_buffer_local_variables): Check for unbound local
variables (Bug#4138).
2009-08-15 14:06:02 +00:00
Eli Zaretskii
8b9fc63661 (create_pty): Fix last change. 2009-08-14 09:17:11 +00:00
Chong Yidong
64b807c924 Note bug number in last change. 2009-08-13 17:02:46 +00:00
Chong Yidong
ce95936095 * image.c (xbm_read_bitmap_data): New arg inhibit_image_error.
(xbm_load_image): Caller changed.
(xbm_file_p): Avoid signalling an image_error.
2009-08-13 17:01:21 +00:00
Nick Roberts
c7baf7e99f *** empty log message *** 2009-08-13 13:21:46 +00:00