1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 17:30:54 -08:00
Commit graph

27292 commits

Author SHA1 Message Date
Chong Yidong
4a240b947e (try_window_reusing_current_matrix): Ensure that window cursor
position is valid after scrolling.
2008-11-07 00:29:07 +00:00
Chong Yidong
5fd1562210 * xdisp.c (try_window_reusing_current_matrix): Ensure that window
cursor position is valid after scrolling.
2008-11-07 00:28:31 +00:00
Juanma Barranquero
13d62fadec * fns.c (Frandom): Rename arg N to LIMIT to match the docs; doc fix. 2008-11-06 11:20:05 +00:00
Glenn Morris
a1dd29361a (handle_one_xevent): Don't let popup menus cause
mouse-autoselect-window related window switching.  (Bug#1261)
2008-11-06 03:49:28 +00:00
Glenn Morris
723f3a23f5 Fix comment typo. 2008-11-06 03:47:50 +00:00
Chong Yidong
15773d23ec (xim_close_dpy): Avoid double-free on X11R6 XIM. 2008-11-04 16:47:34 +00:00
Chong Yidong
860cd236ce * xterm.c (xim_close_dpy): Avoid double-free on X11R6 XIM. 2008-11-04 16:46:54 +00:00
Andreas Schwab
653a3150f7 (Fx_wm_set_size_hint): Add missing return value. 2008-11-04 12:30:42 +00:00
Chong Yidong
1c44e12438 (Fx_wm_set_size_hint): New function. 2008-11-03 17:56:55 +00:00
Chong Yidong
870f5cac95 * xfns.c (Fx_wm_set_size_hint): New function. 2008-11-03 17:56:46 +00:00
Martin Rudalics
1e02f3cb58 (Fprevious_single_char_property_change): Return 0
when there's no change in a string.  (Bug#1301)
2008-11-03 17:31:56 +00:00
Martin Rudalics
e630dfc6a8 (command_loop_1): Handle NORECORD in call of
Fselect_frame (currently ifdefd).
2008-11-02 10:47:42 +00:00
Martin Rudalics
c8938ab6d1 (choose_minibuf_frame): Handle NORECORD in call of
Fset_frame_selected_window.
2008-11-02 10:41:28 +00:00
Martin Rudalics
c6932ecd58 (select_frame_norecord): New function.
(run_window_configuration_change_hook): Use it and call
Fselect_frame with NORECORD set.
(Fselect_window): Pass NORECORD to Fselect_frame.
(Fset_window_configuration): Handle NORECORD argument in call of
do_switch_frame.
2008-11-02 10:40:51 +00:00
Martin Rudalics
9e61f0d769 (do_switch_frame, Fselect_frame)
(Fset_frame_selected_window): Adjust declarations.
2008-11-02 10:39:39 +00:00
Martin Rudalics
216e6a1497 (do_switch_frame): New argument NORECORD passed to Fselect_window.
(Fselect_frame): New argument NORECORD passed to do_switch_frame.
(Fset_frame_selected_window): New argument NORECORD passed to
Fselect_frame.
(Fhandle_switch_frame, Fdelete_frame): Handle NORECORD argument
in call of do_switch_frame.
(Fset_mouse_position, Fset_mouse_pixel_position, Fraise_frame):
Handle NORECORD argument in call of Fselect_frame.
2008-11-02 10:38:42 +00:00
Glenn Morris
9020b22311 Ulrich Mueller <ulm at kph.uni-mainz.de>
(USAGE2): Untabify.
2008-11-02 02:08:12 +00:00
Stefan Monnier
793ffee82e (fill_gstring_header): Fix copy/paste typo. 2008-11-01 02:21:24 +00:00
Martin Rudalics
ab6d1131b4 (Fnext_window, Fprevious_window): Rewrite doc-string.
(Fother_window): Rename argument and rewrite doc-string.
(select_window_norecord): Fix return value.  (Bug#1276)
2008-10-31 14:06:33 +00:00
Juanma Barranquero
601a9cf1e3 * w32fns.c (x_create_tip_frame): Prevent default foreground color for
new frames overriding foreground for tooltips.  Based on similar patch
  from Martin Rudalics <rudalics@gmx.at>.  (Bug#1032)
2008-10-30 01:27:06 +00:00
Chong Yidong
29dadb541c (Fdaemon_initialized): Initialize nfd. 2008-10-29 18:03:03 +00:00
Chong Yidong
813b0652d6 * emacs.c (Fdaemon_initialized): Initialize nfd. 2008-10-29 18:02:53 +00:00
Martin Rudalics
4414f58f67 (syms_of_xdisp): Mention set-window-buffer in
doc-string of window-scroll-functions.
2008-10-29 11:00:51 +00:00
Martin Rudalics
8fef9de15d (Fwindow_height, Fdelete_window, set_window_buffer)
(Fwindow_text_height): Clarify doc-strings.
2008-10-29 10:56:28 +00:00
Reiner Steib
ecdcaa09af (syms_of_category): Fix typo in docstring. 2008-10-28 22:12:32 +00:00
Juanma Barranquero
23fe745a73 * window.c (Fwindowp, Fwindow_live_p, Fwindow_minibuffer_p)
(Fcoordinates_in_window_p, Fscroll_left, Fscroll_right):
  Fix typos in docstrings.
2008-10-28 17:45:00 +00:00
Dan Nicolaescu
ff808935f5 * emacs.c (daemon_pipe): Make non-static.
(IS_DAEMON): Move definition ...
* lisp.h (IS_DAEMON): ... here.
(daemon_pipe): Declare.
(is_daemon): Remove.
* dispnew.c (init_display): Use IS_DAEMON.
2008-10-28 04:25:11 +00:00
Stefan Monnier
fc0127715c * xdisp.c (pos_visible_p, redisplay_internal, message3_nolog)
(message2_nolog): Check FRAME_INITIAL_P instead of noninteractively.

* emacs.c (is_daemon): Remove.
(main): Don't set is_daemon.
(IS_DAEMON): New macro.
(Fdaemonp, Fdaemon_initialized): Use it.
(Fdaemon_initialized): Wrtie a char into the pipe to make sure the
parent exits.
(syms_of_emacs): Explicitly initialize daemon_pipe[1].
2008-10-28 01:02:44 +00:00
Chong Yidong
a58c682691 (ns_draw_window_cursor): When hbar cursor is on over-sized glyph, draw
it with the default glyph width.
2008-10-27 22:30:38 +00:00
Chong Yidong
d1a072bf85 * nsterm.m (ns_draw_window_cursor): When hbar cursor is on over-sized
glyph, draw it with the default glyph width.
2008-10-27 22:29:22 +00:00
Chong Yidong
d3424e67eb (x_draw_bar_cursor): When hbar cursor is on over-sized glyph, draw it
with the default glyph width.
2008-10-27 22:20:46 +00:00
Chong Yidong
e2e325aaaf * w32term.c (x_draw_bar_cursor): When hbar cursor is on over-sized
glyph, draw it with the default glyph width.

* xterm.c (x_draw_bar_cursor): When hbar cursor is on over-sized
glyph, draw it with the default glyph width.
2008-10-27 22:20:05 +00:00
Chong Yidong
3d7185083b (try_scrolling): When computing the distance from the scroll margin to
PT, try moving some distance past the window bottom before giving up.
2008-10-27 18:33:06 +00:00
Chong Yidong
d8bdbe6fb3 * xdisp.c (try_scrolling): When computing the distance from the scroll
margin to PT, try moving some distance past the window bottom before
giving up.
2008-10-27 18:32:39 +00:00
Martin Rudalics
7bfac54794 (Fwindow_dedicated_p, Fset_window_dedicated_p)
(Fset_window_buffer): Explain in doc-string that a window can be
"strongly" dedicated to its buffer.
2008-10-27 10:13:49 +00:00
Dan Nicolaescu
4ff029f613 * emacs.c (daemon_name): New variable.
(main): Deal with --daemon=SERVER_NAME.
(Fdaemonp): Return a name if one was passed to --daemon.

* startup.el (server-name): Pacify byte compiler.
(command-line): If --daemon=SERVER_NAME was used, set server-name
before calling server-start.

* cmdargs.texi (Initial Options): Document -daemon=SERVER_NAME.
2008-10-27 07:02:30 +00:00
Chong Yidong
b918aa6b5d Perform last revert properly. :-( 2008-10-27 05:43:17 +00:00
Chong Yidong
9f33212acf Perform last revert properly. 2008-10-27 05:40:18 +00:00
Chong Yidong
6daadc95f9 Revert last change. 2008-10-27 05:32:41 +00:00
Chong Yidong
891f9832f3 Reverse last change. 2008-10-27 05:32:22 +00:00
Chong Yidong
95c97c11e0 (try_scrolling): When computing distance from the scroll margin, don't
use MOVE_TO_Y.
2008-10-27 05:15:37 +00:00
Chong Yidong
6584f2854b * xdisp.c (try_scrolling): When computing distance from the scroll
margin, don't use MOVE_TO_Y.
2008-10-27 05:15:17 +00:00
Miles Bader
24eccbe29a Add arch tagline 2008-10-27 02:05:42 +00:00
Juanma Barranquero
f9bd0df9c8 Fix typos. 2008-10-27 00:20:04 +00:00
Dan Nicolaescu
5790ef40ba * startup.el (command-line): Call daemon-initialized after
starting the server.
* emacs.c (daemon_pipe): New variable
(main): Create a pipe before forking, make the parent exit only after
the child has closed its end of the pipe.  Move closing the
descriptors ...
(Fdaemon_initialized): ... here.  New function.
2008-10-26 19:05:47 +00:00
Stefan Monnier
4d632321c1 (Foptimize_char_table): Make sure `ascii' doesn't point to
the previous unoptimized table.
2008-10-26 04:23:08 +00:00
Stefan Monnier
f5385255de (Fset_window_buffer): Undo 2008-10-18 change to re-instate
the distinction between non-nil and non-t value of `dedicated'.
2008-10-26 04:13:46 +00:00
Chong Yidong
f6bb488306 (read_char_minibuf_menu_prompt): Ensure that
read_char_minibuf_menu_text is large enough to hold the menu string.
2008-10-25 20:23:31 +00:00
Chong Yidong
6c56a0f32e * keyboard.c (read_char_minibuf_menu_prompt): Ensure that
read_char_minibuf_menu_text is large enough to hold the menu string.
2008-10-25 20:21:19 +00:00
Martin Rudalics
fec8926115 (Fget_buffer_window, Fdelete_windows_on, Freplace_buffer_in_windows):
Make buffer argument optional and rename to buffer_or_name.
2008-10-25 07:57:37 +00:00