1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
Commit graph

21100 commits

Author SHA1 Message Date
Dan Nicolaescu
01d0930532 * search.c (matcher_overflow): Mark as NO_RETURN.
* xterm.c (x_connection_closed): Likewise.

* sysdep.c (croak): Likewise.

* sound.c (sound_perror, alsa_sound_perror): Likewise.

* lisp.h (die, nsberror): Likewise.
2006-05-29 08:06:15 +00:00
Jan Djärv
3fc7a865c4 * sound.c (alsa_open, alsa_configure, alsa_write): Move
assignment to err out of if-statement.
2006-05-29 07:25:01 +00:00
Jan Djärv
c1c032a39c * gtkutil.c (menu_nav_ended): New function.
(create_menus): Connect menu_nav_ended to "selection-done" to fix
 grabs.

 * xmenu.c (Fmenu_bar_start): New function for USE_GTK and USE_X_TOOLKIT.
2006-05-29 07:12:54 +00:00
Jan Djärv
22badffeec (Fmenu_bar_start): New function for USE_GTK and USE_X_TOOLKIT. 2006-05-29 07:11:35 +00:00
Jan Djärv
31c5f81f89 Connect menu_nav_ended to "selection-done" to fix grabs 2006-05-29 07:11:05 +00:00
Dan Nicolaescu
345b348378 (invalid_character): Mark as NO_RETURN. 2006-05-29 06:19:09 +00:00
Stefan Monnier
6ad0381ce1 (struct saved_window): Add `dedicated'.
(Fset_window_configuration, save_window_save): Save/restore the
`dedicated' flag.
2006-05-29 01:05:24 +00:00
Kenichi Handa
7311509ee6 (Ffind_operation_coding_system): Call a function by
safe_call1 instead of call1.
2006-05-29 00:57:27 +00:00
Kim F. Storm
c558b5be6c (set_cursor_from_row): Update prototype. 2006-05-28 20:19:17 +00:00
Kim F. Storm
a4f3f618eb (set_cursor_from_row): If cursor cannot be set in row,
don't update w->cursor and return 0.  Return 1 on success.
(try_cursor_movement): Repeat set_cursor_from_row on successive rows
until it succeeds.
2006-05-28 20:19:07 +00:00
Kim F. Storm
794033ae3c *** empty log message *** 2006-05-28 20:18:34 +00:00
Kim F. Storm
e8f6b0db19 (x_draw_stretch_glyph_string): Fix problems with invisible
cursor and erasing cursor on partially visible stretch glyph on left.
(x_draw_hollow_cursor): Compute x via get_phys_cursor_geometry.
2006-05-27 22:37:39 +00:00
Kim F. Storm
11d2f3e76d (get_phys_cursor_geometry): Update prototype. 2006-05-27 22:37:05 +00:00
Kim F. Storm
f5080b2277 (get_phys_cursor_geometry): Return computed x and y through
parameters.  Adjust x and width in case cursor in on a partially
visible stretch glyph on the left edge.
(erase_phys_cursor): Don't erase into left fringe/margin in case
previous cursor glyph is a partially visible stretch glyph on left.
2006-05-27 22:36:58 +00:00
Kim F. Storm
26837cd3ea *** empty log message *** 2006-05-27 22:36:40 +00:00
YAMAMOTO Mitsuharu
412f3f1859 (mac_handle_apple_event): Return
errAEEventNotHandled if key binding is not found.
2006-05-27 08:46:03 +00:00
YAMAMOTO Mitsuharu
2a7ee2b349 Tiny layout change. 2006-05-27 08:45:14 +00:00
Eli Zaretskii
28b257dc4c Remove 'tiny change' labels from Michael Cadilhac's changes. 2006-05-26 19:41:22 +00:00
Eli Zaretskii
0f7078f033 *** empty log message *** 2006-05-26 19:12:23 +00:00
Eli Zaretskii
3851cada29 (etext, edata): Remove unused definitions. 2006-05-26 18:45:35 +00:00
Eli Zaretskii
ecf783fada (main) [PROFILING]: Enable also for __MINGW32__.
[__MINGW32__]: MinGW-specific declaration of `etext'.
2006-05-26 18:45:09 +00:00
Chong Yidong
795c20df7a * fileio.c (Fcopy_file): Delete argument MUSTBENEW. Incorporate
the exclusive file-opening functionality into the behavior when
	OK-IF-ALREADY-EXISTS is nil.
	(Frename_file): Call Fcopy_file without MUSTBENEW argument.
2006-05-26 15:18:28 +00:00
Jan Djärv
07a7837c9f * sound.c (alsa_configure): Move get period/buffer_size after
setting hwparams.
2006-05-26 06:29:32 +00:00
Kenichi Handa
f1c582b4f3 *** empty log message *** 2006-05-26 04:57:35 +00:00
Kenichi Handa
a9e2078b71 (Ffind_operation_coding_system): Allow (FILENAME . BUFFER) in TARGET. 2006-05-26 04:48:21 +00:00
Chong Yidong
3165e4509a * image.c (png_load): Don't call fclose on NULL. 2006-05-26 03:33:32 +00:00
Luc Teirlinck
d579f53bdd *** empty log message *** 2006-05-25 23:22:25 +00:00
Luc Teirlinck
ae4c2a3be0 (Fcall_interactively): Fread_from_minibuffer now takes only seven args. 2006-05-25 23:17:17 +00:00
Luc Teirlinck
ba13929931 (Fyes_or_no_p): Fread_from_minibuffer now takes only seven args. 2006-05-25 23:15:57 +00:00
Juri Linkov
abeb5483f0 *** empty log message *** 2006-05-25 21:34:01 +00:00
Juri Linkov
dafbe726b8 (mode-line-format): Fix docstring. 2006-05-25 21:20:19 +00:00
Juri Linkov
b35cd21514 (read_minibuf): Remove arg KEEP_ALL. Callers changed.
(Fread_from_minibuffer): Remove arg KEEP_ALL.  Callers changed.
2006-05-25 21:16:22 +00:00
Juri Linkov
2c9606674d (Fread_from_minibuffer): Decrement number of args. 2006-05-25 21:12:52 +00:00
Richard M. Stallman
403a7bca0a *** empty log message *** 2006-05-25 17:03:52 +00:00
Richard M. Stallman
848a925ea6 (main, Fdump_emacs): Don't test __linux or __linux__. 2006-05-25 16:27:30 +00:00
Luc Teirlinck
24b0232fdd *** empty log message *** 2006-05-24 17:04:49 +00:00
Luc Teirlinck
944f2d7f33 (BASE_PURESIZE): Increase to 1210000. 2006-05-24 16:53:18 +00:00
Alan Mackenzie
ac9f37df56 *** empty log message *** 2006-05-24 13:51:11 +00:00
Alan Mackenzie
6bb6da3ec1 lread.c (Vload_history): Enhance doc-string to say that the file is the
absolute truename of the loaded file.

lread.c (Vafter_load_alist): doc-string: state that an element now has a
regexp to match file names, not a file name as such.

lread.c (readevalloop): Call file-truename on the name for load-history,
except at preloading time.

lread.c (Fload): At preloading time, preserve the extension of the
filename which goes into load-history.  New variable hist_file_name.

lread.c (Fload): Do eval-after-load stuff by calling the lisp function
do-after-load-evaluation.
2006-05-24 13:24:21 +00:00
YAMAMOTO Mitsuharu
e4dff88deb *** empty log message *** 2006-05-24 08:09:31 +00:00
YAMAMOTO Mitsuharu
fed1453ae1 (TYPE_FILE_NAME): Change from macro to enumerator.
(KEY_EMACS_SUSPENSION_ID_ATTR): New enumerator.
(keyReplyRequestedAttr) [MAC_OS_X_VERSION_MAX_ALLOWED < 1030]: Likewise.
(gestaltSystemVersionMajor, gestaltSystemVersionMinor)
(gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]:
Likewise.
(typeUTF8Text, kEventParamWindowMouseLocation)
[MAC_OSX && MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Likewise.
(x_get_focus_frame, mac_ae_put_lisp): Add externs.
2006-05-24 08:09:11 +00:00
YAMAMOTO Mitsuharu
a16ac62430 (fn_keycode_to_keycode_table, XTread_socket) [MAC_OSX]:
Fix last change.  Don't map `fn' modifier if pressed with F1 ... F12.
2006-05-24 08:08:43 +00:00
YAMAMOTO Mitsuharu
0ffd2c761b (Qemacs_suspension_id): New variable.
(syms_of_macselect): Intern and staticpro it.
(struct suspended_ae_info): New struct.
(deferred_apple_events, defer_apple_events)
(Fmac_process_deferred_apple_events): Use it.
(suspended_apple_events): New variable.
(mac_handle_apple_event_1): New function.
(mac_handle_apple_event): Use it.  Don't process previously
suspended events.
(cleanup_suspended_apple_events, get_suspension_id)n
(cleanup_all_suspended_apple_events): New functions.
(init_apple_event_handler): Call cleanup_all_suspended_apple_events
at exit.
(Fmac_cleanup_expired_apple_events, Fmac_ae_set_reply_parameter)
(Fmac_resume_apple_event): New defuns.
(syms_of_macselect): Defsubr them.
2006-05-24 08:08:11 +00:00
YAMAMOTO Mitsuharu
a0293ec7a8 (Fx_server_version): Use gestaltSystemVersionMajor etc. 2006-05-24 08:07:37 +00:00
YAMAMOTO Mitsuharu
2015c1f03f (ae_attr_table): New variable.
(syms_of_mac): Intern and staticpro its elements.
(mac_aelist_to_lisp): Also convert Apple event attributes.
(mac_ae_put_lisp): New function.
(create_apple_event_from_event_ref) [MAC_OSX]: Use typeUTF8Text.
2006-05-24 08:07:19 +00:00
Richard M. Stallman
55815819d9 *** empty log message *** 2006-05-24 02:16:08 +00:00
YAMAMOTO Mitsuharu
b8c6940eaf (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove.
(fn_keycode_to_keycode_table) [MAC_OSX]: New variable.
(mac_set_unicode_keystroke_event) [TARGET_API_MAC_CARBON]: New function.
(XTread_socket) [TARGET_API_MAC_CARBON]: Use it.
(XTread_socket) [MAC_OSX]: Try 'uchr' Unicode keyboard-layout
resource to backtranslate key with modifiers.
(XTread_socket): Don't set read_socket_inev around AEProcessAppleEvent.
2006-05-23 08:12:13 +00:00
Jan Djärv
0277e36c14 * xterm.c: Remove declarations already in xterm.h
* xterm.h: Add extern declarations for x_clear_errors,
x_fully_uncatch_errors, x_catching_errors and
x_alloc_lighter_color_for_widget.  Remove duplicated declarations.
2006-05-23 07:13:28 +00:00
Jan Djärv
32c1210748 * xterm.c: Remove declarations already in xterm.h 2006-05-23 07:13:05 +00:00
Jan Djärv
bdf1cc7382 * xterm.h: Add extern declarations for x_clear_errors,
x_fully_uncatch_errors, x_catching_errors and
 x_alloc_lighter_color_for_widget.  Remove duplicated declarations.
2006-05-23 07:12:49 +00:00