Commit graph

7283 commits

Author SHA1 Message Date
Glenn Morris
9f688acf32 (Fx_font_family_list): Replace lisp/term/pc-win.el redefinition with
ifdef.  (Bug#1383)
2008-11-26 03:00:53 +00:00
Chong Yidong
e7d5ecb378 * minibuf.c (Fcompleting_read, Vminibuffer_completion_confirm):
Document confirm-after-completion value for
minibuffer-completion-confirm.
2008-11-24 19:12:36 +00:00
Jason Rumney
c285743c06 (check_face_name): Use xstrcasecmp. Avoid compiler warning. 2008-11-24 13:15:48 +00:00
Jason Rumney
b0857706e4 (check_face_name): New function.
(add_font_entity_to_list): Use it to filter out common substituted fonts.
2008-11-23 15:08:52 +00:00
Martin Rudalics
ee50ff07eb (Fswitch_to_buffer): Reword and mention new option
confirm-nonexistent-file-or-buffer in doc-string.
2008-11-22 11:35:45 +00:00
Stefan Monnier
b8ff72fad8 (Fbuffer_swap_text): Remove redundant marker manipulation.
Fix copy/paste typo.  Add checks.
2008-11-21 05:33:29 +00:00
Kenichi Handa
cee53ed4b8 (detect_coding_iso_2022): Reject invalid composition
sequence.
(DECODE_COMPOSITION_START): If the current source is the last
block, and the current composition doesn't end, regard this
sequence as invalid.
(decode_coding_iso_2022): Handle invalid composition sequence.
2008-11-21 02:24:40 +00:00
Martin Rudalics
f6ef1e6545 (coordinates_in_window): Don't return
ON_VERTICAL_BORDER for the rightmost position of a mode/header
line when the window is not the rightmost one.  (Bug#1372)
2008-11-20 10:13:40 +00:00
Martin Rudalics
e08b170568 (syms_of_buffer): Fix doc-string of cursor-type. 2008-11-16 18:54:50 +00:00
Eli Zaretskii
ad98e89f4f (run_msdos_command): Don't call dos_ttcooked, dos_ttraw, and bright_bg
if noninteractive is non-zero.
2008-11-15 16:20:09 +00:00
Chong Yidong
fb098a4b61 * xterm.c (x_draw_glyph_string): For stretch glyphs, don't call
x_draw_glyph_string_background.

* w32term.c (x_draw_glyph_string): Likewise.
2008-11-15 05:32:55 +00:00
Chong Yidong
ce952b6ebb * xterm.c (x_draw_glyph_string): Stop drawing the background of
the next glyph string once past the overhang width.

* nsterm.m (ns_draw_glyph_string): Likewise.

* w32term.c (x_draw_glyph_string): Likewise.
2008-11-15 05:20:12 +00:00
Chong Yidong
26ea70797a * fileio.c (Finsert_file_contents): Decrement specpdl_ptr to avoid
double file close.
2008-11-14 21:10:43 +00:00
Martin Rudalics
1c33c906e0 (window_loop): In DELETE_BUFFER_WINDOWS case, reset
dedicated status of window before attempting to display another
buffer in it.
2008-11-14 13:53:21 +00:00
Juanma Barranquero
8fc29035f3 * w32-fns.el (w32-shell-dos-semantics):
* calendar/diary-lib.el (diary-face-attrs):
* international/mule-cmds.el (set-default-coding-systems)
  (prefer-coding-system):
* net/tramp.el (tramp-set-completion-function):
* progmodes/vhdl-mode.el (vhdl-file-header):
* term/pc-win.el (msdos-show-help): Fix typos in docstrings.

* emacs-lisp/authors.el (authors-fixed-entries): Fix typo in value.

* files.el (enable-local-eval, not-modified, kill-buffer-ask)
  (kill-matching-buffers, save-buffers-kill-emacs)
  (save-buffers-kill-terminal): Fix typos in docstrings.
  (switch-to-buffer-other-window): Reflow docstring.
  (revert-buffer): Doc fix.
  (define-project-bindings): Rename arg LIST to SETTINGS.
  (project-find-settings-file): Use `let', not `let*'.  Use `when'.
2008-11-14 13:05:18 +00:00
Eli Zaretskii
55fb428628 (OBJ1, WIN32OBJ): Fix whitespace. 2008-11-14 12:17:38 +00:00
Katsumi Yamaoka
3fda03158c (BASE_PURESIZE): Increase to 1260000. 2008-11-14 00:17:11 +00:00
Chong Yidong
7e849c1743 * frame.c (x_set_alpha): Set alpha to -1 if nil given.
* frame.h: Negative alpha means "don't touch".

* w32term.c (x_set_frame_alpha): Do nothing if alpha is negative.

* xterm.c (x_set_frame_alpha): Do nothing if alpha is negative.
2008-11-12 15:49:45 +00:00
Dan Nicolaescu
b9fd67bd5c * hftctl.c:
* chpdef.h:
* acldef.h: Remove files used only for systems no longer supported.

* Makefile.in: Fix .o alphabetical ordering.
(hftctl.o): Remove dependency, file removed.
(keymap.o, print.o): Depend on charset.h.
2008-11-12 07:17:21 +00:00
Juanma Barranquero
60612c8fd3 Fix typos. 2008-11-11 08:41:18 +00:00
Kenichi Handa
d5998e0317 (Fget_byte): Fix and make it faster for unibyte target. 2008-11-10 00:47:08 +00:00
Chong Yidong
be70e18348 * dired.c (file_name_completion): If completion_ignore_case is
enabled, ignore case when checking completion-regexp-list.
2008-11-08 16:55:09 +00:00
Eli Zaretskii
7cf94eac0d (get_lim_data): Fix last change. 2008-11-08 14:19:03 +00:00
Kenichi Handa
ee107a899d (Fget_byte): New function.
(syms_of_character): Defsubr Fget_byte.
2008-11-08 13:02:38 +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
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
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
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
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
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
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
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
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
6daadc95f9 Revert last change. 2008-10-27 05:32:41 +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
Juanma Barranquero
f9bd0df9c8 Fix typos. 2008-10-27 00:20:04 +00:00