aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * src/eval.c (init_eval_once): Set max_lisp_eval_depth to 600.Juanma Barranquero2010-10-272-1/+6
| | | | Otherwise, bootstrapping on Windows fails to compile macroexp.el.
* cmds.c: (internal_self_insert): Don't insert for negative arguments.Eli Zaretskii2010-10-262-2/+2
|
* Fix bug #7281.Eli Zaretskii2010-10-262-2/+7
| | | | cmds.c (internal_self_insert): Don't insert if argument N is zero.
* * gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278).Jan D2010-10-262-0/+6
|
* Document GTK Emacs kill on display close in PROBLEMS.Chong Yidong2010-10-251-1/+7
| | | | * src/xterm.c (x_connection_closed): Update comment.
* Move ns-win.el's rather wacky menu adjustments to menu-bar.el.Glenn Morris2010-10-242-2/+5
| | | | | | | | | | | | * lisp/term/ns-win.el: Do not require easymenu. (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>: <spell>: Move adjustments to menu-bar.el. * lisp/menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>: <separator-undo, spell>: Move ns-win's adjustments here. * lisp/loadup.el [ns]: Do not load easymenu. * src/Makefile.in (SOME_MACHINE_LISP): Remove easymenu.elc. * lib-src/makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
* Sync docs of some W32 and X C functions.Glenn Morris2010-10-243-39/+81
| | | | | | | * src/w32fns.c (Fx_synchronize, Fx_change_window_property) (Fx_window_property, Fx_file_dialog): * src/xfns.c (Fx_synchronize, Fx_change_window_property) (Fx_window_property, Fx_file_dialog): Sync docs between w32 and X.
* Merge changes from emacs-23 branch.Chong Yidong2010-10-245-25/+58
|\
| * Merge changes from emacs-23Chong Yidong2010-10-245-25/+58
| |\ |/ /
| * * xterm.c (x_connection_closed): Kill Emacs unconditionally.Chong Yidong2010-10-242-9/+10
| |
| * Fix typos.Juanma Barranquero2010-10-231-3/+3
| | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Group Parameters, Buttons): Fix typos. * lisp/org/org-exp.el (org-export-visible): * lisp/progmodes/dcl-mode.el (dcl-electric-reindent-regexps): Fix typos in docstrings.
| * src/frame.c: Fix previous change.Juanma Barranquero2010-10-221-2/+0
| |
| * Document values of window-system and deprecate its use as predicate.Eli Zaretskii2010-10-223-11/+45
| | | | | | | | | | | | | | | | | | src/frame.c (Fframep, Fwindow_system): Deprecate use as a predicate. Document all values. src/dispnew.c (syms_of_display) <initial-window-system, window-system>: Deprecate use as a boolean flag. Document all values. src/display.texi (Window Systems): Deprecate use of window-system as a predicate.
* | * emacs.c (argmatch): Don't treat "--" as "--chdir".Jim Meyering2010-10-242-7/+12
| |
* | Sync docs of selection-coding-system between C and Lisp.Glenn Morris2010-10-233-10/+61
| | | | | | | | | | | | | | * src/w16select.c (syms_of_win16select) <selection-coding-system>: * src/w32select.c (syms_of_w32select) <selection-coding-system>: Sync docs with select.el. * lisp/select.el (selection-coding-system): Sync doc with C versions.
* | Sync Lisp and C docs of next-selection-coding-system.Glenn Morris2010-10-233-15/+17
| | | | | | | | | | | | | | * src/w16select.c (syms_of_win16select) <next-selection-coding-system>: * src/w32select.c (syms_of_w32select) <next-selection-coding-system>: Sync docs with select.el. * lisp/select.el (next-selection-coding-system): Sync doc with C versions.
* | Remove duplicate definition of tty-defined-color-alist.Glenn Morris2010-10-232-5/+9
| | | | | | | | | | | | | | * src/xfaces.c (syms_of_xfaces) <tty-defined-color-alist>: Sync doc with Lisp version. * lisp/term/tty-colors.el (tty-defined-color-alist): Remove duplicate definition of C variable.
* | Sync X and MS-Windows docs for x-use-underline-position-properties.Glenn Morris2010-10-232-1/+6
| | | | | | | | | | * src/w32term.c (syms_of_w32term) <x-use-underline-position-properties>: Sync doc with the xterm.c version.
* | Sync X and MS-Windows docs of x-toolkit-scroll-bars.Glenn Morris2010-10-233-14/+23
| | | | | | | | | | * src/w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>: * src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Sync docs.
* | * src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.Glenn Morris2010-10-232-5/+10
| |
* | * src/xdisp.c (syms_of_xdisp) <hourglass-delay>: Sync doc with Lisp.Glenn Morris2010-10-232-3/+2
| |
* | * src/xdisp.c (syms_of_xdisp) <display-hourglass>: Sync doc with Lisp.Glenn Morris2010-10-232-2/+5
| |
* | Sync docs of cursor-in-non-selected-windows between Lisp and C.Glenn Morris2010-10-232-9/+12
| | | | | | | | | | | | * lisp/frame.el (cursor-in-non-selected-windows): Sync doc with C version. * src/buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>: Sync doc with Lisp version.
* | Sync docs of C and Lisp version of auto-hscroll-mode.Glenn Morris2010-10-232-10/+13
| | | | | | | | | | * lisp/frame.el (auto-hscroll-mode): Sync doc with C version. * src/xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Sync doc with Lisp.
* | src/ChangeLog: Revert inadvertent change of entry date.Eli Zaretskii2010-10-231-1/+1
| |
* | Implement mouse highlight for bidi-reordered lines.Eli Zaretskii2010-10-232-231/+754
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xdisp.c (fast_find_string_pos): #ifdef away, not used anymore. (mouse_face_from_string_pos): New function, replaces fast_find_string_pos. (note_mouse_highlight): Call it instead of fast_find_string_pos. (note_mode_line_or_margin_highlight): Support bidi-reordered strings and R2L glyph rows. Fix comments. (note_mouse_highlight): When bidi reordering is turned on in a buffer, call next-single-property-change and previous-single-property-change with last argument nil. Clear mouse highlight when mouse pointer is in a R2L row on the stretch glyph that stands for no text beyond the line end. (row_containing_pos): Don't return too early when CHARPOS is in a bidi-reordered continued line. Return immediately when the first hit is found in a line that is not continued, or when an exact match for CHARPOS is found. (rows_from_pos_range): New function. (mouse_face_from_buffer_pos): Use it instead of calling row_containing_pos for START_CHARPOS and END_CHARPOS. Rewrite the function to support mouse highlight in bidi-reordered lines and not to assume that START_CHARPOS is always in mouse_face_beg_row. If necessary, swap mouse_face_beg_row and mouse_face_end_row so that the former is always above the latter or identical to it. (show_mouse_face): Support drawing highlighted R2L lines. (coords_in_mouse_face_p): New function, bidi-aware. (cursor_in_mouse_face_p, note_mouse_highlight, erase_phys_cursor): Call it instead of comparing with mouse-face members of dpyinfo. (note_mode_line_or_margin_highlight): Fix confusingly swapped usage of hpos and vpos.
| * | Fix support for R2L lines. Tested with reordered text.Eli Zaretskii2010-10-232-34/+59
| | | | | | | | | | | | xdisp.c (mouse_face_from_string_pos): Fix support for R2L lines.
| * | The range [STARTPOS..ENDPOS] is inclusive in strings.Eli Zaretskii2010-10-232-5/+11
| | | | | | | | | | | | | | | | | | | | | Tested with multiline display strings. xdisp.c (mouse_face_from_string_pos): Fix off-by-one error when testing against ENDPOS.
| * | Tested with L2R rows and mouse highlight on a single line.Eli Zaretskii2010-10-232-3/+15
| | | | | | | | | | | | | | | | | | | | | xdisp.c (mouse_face_from_string_pos): Initialize the `found' flag to zero, and exit the outer loop when it's non-zero. Bail our early if no row in the window belongs to the highlighted string. Always back up after exiting the second loop.
| * | Finished work on mouse highlight that comes from display strings.Eli Zaretskii2010-10-162-11/+103
| | | | | | | | | | | | | | | | | | | | | | | | Not tested yet. xdisp.c (fast_find_string_pos): #ifdef away, not used anymore. (mouse_face_from_string_pos): New function, replaces fast_find_string_pos. (note_mouse_highlight): Call it instead of fast_find_string_pos.
| * | Support bidi-reordered text in mouse-highlighted mode- and header-lines.Eli Zaretskii2010-10-162-47/+79
| | | | | | | | | | | | | | | | | | | | | Note: Not tested with actually bidi-reordered strings. xdisp.c (note_mode_line_or_margin_highlight): Support bidi-reordered strings and R2L glyph rows. Fix more comments.
| * | Start working on mouse highlight of mode- and header-lines.Eli Zaretskii2010-10-162-24/+27
| | | | | | | | | | | | | | | xdisp.c (rows_from_pos_range, mouse_face_from_buffer_pos) (note_mode_line_or_margin_highlight): Fix comments.
| * | Finished work on mouse_face_from_buffer_pos for bidi-reordered rows.Eli Zaretskii2010-10-092-47/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Need lots of testing, including bug#1220. Next task: get rid of fast_find_position, call mouse_face_from_buffer_pos instead. xdisp.c (rows_from_pos_range): New function. (mouse_face_from_buffer_pos): Use it instead of calling row_containing_pos for START_CHARPOS and END_CHARPOS. (note_mouse_highlight): When bidi reordering is turned on in a buffer, call next-single-property-change and previous-single-property-change with last argument nil.
| * | Fix beg_col calculation when painting from window start.Eli Zaretskii2010-10-022-2/+11
| | | | | | | | | | | | | | | xdisp.c (mouse_face_from_buffer_pos): Don't compute beg_col if already decided to paint from beginning of window.
| * | Fix mouse highlight in bidi-reordered continued lines.Eli Zaretskii2010-10-022-161/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xdisp.c (row_containing_pos): Don't return too early when CHARPOS is in a bidi-reordered continued line. Return immediately when the first hit is found in a line that is not continued, or when an exact match for CHARPOS is found. (mouse_face_from_buffer_pos): Rewrite to not assume that START_CHARPOS is always in mouse_face_beg_row. If necessary, swap mouse_face_beg_row and mouse_face_end_row so that the former is always above the latter or identical to it. Continued lines that begin or end outside of the visible region still don't work.
| * | Fix minor bugs in mouse highlight.Eli Zaretskii2010-10-022-10/+36
| | | | | | | | | | | | | | | | | | | | | | | | xdisp.c (coords_in_mouse_face_p): Fix the conditions for when mouse_face_beg_row and mouse_face_end_row are equal. (note_mouse_highlight): Clear mouse highlight when mouse pointer is in a R2L row on the stretch glyph that stands for no text beyond the line end.
| * | Clean up mouse highlight in R2L lines.Eli Zaretskii2010-08-282-44/+54
| | | | | | | | | | | | | | | | | | | | | | | | xdisp.c (coords_in_mouse_face_p): New function, bidi-aware. (cursor_in_mouse_face_p, note_mouse_highlight, erase_phys_cursor): Call it instead of comparing with mouse-face members of dpyinfo. (note_mode_line_or_margin_highlight): Fix confusingly swapped usage of hpos and vpos.
| * | Fix mouse highlight in continued R2L lines.Eli Zaretskii2010-08-282-31/+44
| | | | | | | | | | | | xdisp.c (show_mouse_face): Support drawing highlighted R2L lines.
| * | Support L2R continued lines.Eli Zaretskii2010-08-282-10/+45
| | | | | | | | | | | | xdisp.c (mouse_face_from_buffer_pos): Fix the case of continued L2R lines.
| * | Support R2L rows. Continued lines still don't work correctly.Eli Zaretskii2010-08-282-8/+112
| | | | | | | | | | | | | | | xdisp.c (mouse_face_from_buffer_pos): Fix code using bug#1220 as test case. Implement highlight for R2L rows.
| * | Fix L2R code using bug #1220 as a test case.Eli Zaretskii2010-08-282-9/+17
| | | | | | | | | | | | | | | xdisp.c (mouse_face_from_buffer_pos): before_string and after_string are also relevant when they come from an overlay.
| * | Initial partial support for mouse highlight in bidi-reordered text.Eli Zaretskii2010-08-212-71/+113
| | | | | | | | | | | | | | | xdisp.c (mouse_face_from_buffer_pos): Support mouse highlight in bidi-reordered L2R lines. Continued lines are not yet supported.
* | | Obscure an example DEFVAR_INT comment so as to evade make-docfile.Glenn Morris2010-10-221-8/+7
| | |
* | | Fix compilation with Motif (Bug#7263).Jan D2010-10-224-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xfns.c: Include Xm/TextF and Xm/List. (file_dialog_cb, file_dialog_unmap_cb, clean_up_file_dialog): Make ANSI prototypes. * src/xmenu.c: Revert 2010-07-27 change: lwlib.h is needed for MOTIF (Bug#7263). * src/xrdb.c: Include keyboard.h for MOTIF.
* | | Fix format of old ChangeLog entry.Glenn Morris2010-10-211-4/+3
| | |
* | | * src/Makefile.in (SOME_MACHINE_LISP): Add w32-vars.Glenn Morris2010-10-212-4/+9
| | | | | | | | | | | | Remove ccl and duplicate mouse.
* | | * insdel.c (prepare_to_modify_buffer): Don't setChong Yidong2010-10-212-0/+6
| | | | | | | | | | | | saved-region-selection if modification hooks are disabled.
* | | Fix src/Makefile.in comment typo from 2010-10-10T14:43:05Z!dann@ics.uci.edu.Glenn Morris2010-10-191-1/+1
| | |
* | | Decouple C-d and delete, so that the former does not delete the region.Chong Yidong2010-10-192-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/bindings.el (global-map): Bind C-d to delete-char and deletechar to delete-forward-char. * lisp/simple.el (normal-erase-is-backspace-mode): Remap delete to deletechar, and hence delete-forward-char. * src/cmds.c (Fdelete_char): Doc fix.
* | | Merge changes from emacs-23 branch.Juanma Barranquero2010-10-193-0/+37
|\ \ \ | | |/ | |/|