Commit graph

35595 commits

Author SHA1 Message Date
Juanma Barranquero
c295fc18e3 Fix typos in Changelogs. 2014-02-13 03:19:48 +01:00
Jan Djärv
a9a61c77b3 * image.c (pbm_load): Set to NO_PIXMAP on error.
Fixes: debbugs:16683
2014-02-12 08:50:24 +01:00
Lars Ingebrigtsen
81bf542040 * buffer.c (syms_of_buffer): Doc clarification.
Fixes: debbugs:9981
2014-02-11 17:07:06 -08:00
Glenn Morris
20c7a2b4e2 Fix typo in previous 2014-02-11 13:05:01 -05:00
Glenn Morris
9a84bfd681 * src/nsfns.m (ns_display_info_for_name, Fx_open_connection): Doc fixes.
Replace refs to "OpenStep" in messages.
2014-02-11 13:02:19 -05:00
Paul Eggert
e41fe0d346 Avoid "." at end of error diagnostics.
* cmds.c (Fself_insert_command): Reword and avoid "." at end.
* font.c (Ffont_at):
* nsfns.m (ns_display_info_for_name):
* nsselect.m (Fx_own_selection_internal):
* nsterm.m (performDragOperation:):
Remove "." from end of diagnostic.
2014-02-10 14:15:54 -08:00
Dmitry Antipov
575593db50 * eval.c (call_debugger): When exiting the debugger, do not allow
max_specpdl_size less than actual binding depth (Bug#16603).
(syms_of_eval): Adjust docstring.
2014-02-10 13:48:17 +04:00
Lars Ingebrigtsen
8cd86d0434 (Fyes_or_no_p): Doc fix
Fixes: debbugs:15456
2014-02-09 22:04:39 -08:00
Lars Ingebrigtsen
a3a8a7da5b * fns.c (Fmaphash): Say what `maphash' returns, since it may be unintuitive.
Fixes: debbugs:15824
2014-02-09 21:55:53 -08:00
Dmitry Antipov
c67955902e * cmds.c (Fself_insert_command): Respect the width of EMACS_INT
and avoid warning.
2014-02-10 09:41:42 +04:00
Lars Ingebrigtsen
c838bca91d * cmds.c (Fself_insert_command): Output a clearer error message on negative repetitions.
Fixes: debbugs:9476
2014-02-08 22:32:30 -08:00
Lars Ingebrigtsen
fe46122024 * macros.c (Fexecute_kbd_macro): Doc fix. 2014-02-08 17:48:47 -08:00
Lars Ingebrigtsen
8acaaad7bd * syntax.c (Fskip_syntax_backward): Doc clarification.
Fixes: debbugs:15115
2014-02-07 21:12:47 -08:00
Lars Ingebrigtsen
aa60235ad4 * minibuf.c (Fread_string): Doc clarification.
Fixes: debbugs:15422
2014-02-07 20:23:25 -08:00
Lars Ingebrigtsen
af3e68a091 * buffer.c (Fmake_overlay): Doc clarification.
Fixes: debbugs:15489
2014-02-07 20:11:52 -08:00
Juanma Barranquero
85ade7eee6 * src/keyboard.c (Frecursive_edit): Fix typo in docstring. 2014-02-08 05:02:16 +01:00
Lars Ingebrigtsen
fff711eeb1 * doc/lispref/keymaps.texi (Menu Bar): Minor clarification.
* src/xdisp.c (syms_of_xdisp): Doc clarification (bug#15657).
2014-02-07 19:46:53 -08:00
Lars Ingebrigtsen
bb01d7bbc7 * keyboard.c (Frecursive_edit): Say more precicely how throwing `exit' works.
Fixes: debbugs:15865
2014-02-07 19:29:47 -08:00
Martin Rudalics
9be95071f4 In window_resize_apply adjust margin width, if necessary (Bug#16649).
* window.c (window_resize_apply): Adjust margin width, if necessary.
2014-02-07 11:55:28 +01:00
Martin Rudalics
dc0e4c4851 Constrain window body sizes.
* window.c (window_body_height, window_body_width): Don't return
negative value.
2014-02-07 11:03:10 +01:00
Martin Rudalics
99f10a5dae Constrain window box sizes (Bug#16649).
* xdisp.c (window_box_width): Don't return less than zero.
(window_box_left_offset, window_box_right_offset): Don't return
more than the window's pixel width.
2014-02-07 10:32:15 +01:00
Glenn Morris
a0baf35f68 * src/nsterm.m (syms_of_nsterm): Doc fix.
It is not necessary to say "default is..." since there are standard
mechanisms for displaying that information.
2014-02-06 19:25:52 -08:00
Paul Eggert
9d37482ce3 Spelling fix. 2014-02-06 10:29:57 -08:00
Eli Zaretskii
829f4f2256 Another fix for handling of file names on Windows 9X.
src/w32.c (pMultiByteToWideChar, pWideCharToMultiByte): New
 variables: pointers through which to call the respective APIs.
 (filename_to_utf16, filename_from_utf16, filename_to_ansi)
 (filename_from_ansi, sys_link, check_windows_init_file): Call
 MultiByteToWideChar and WideCharToMultiByte through pointers.
 This is required on Windows 9X, where we dynamically load
 UNICOWS.DLL which has their non-stub implementations.
 (maybe_load_unicows_dll): Assign addresses to these 2 function
 pointers after loading UNICOWS.DLL.
 src/w32fns.c (Fx_file_dialog, Fw32_shell_execute) [!CYGWIN]: Call
 MultiByteToWideChar and WideCharToMultiByte through function
 pointers.
 src/w32.h (pMultiByteToWideChar, pWideCharToMultiByte): New
 declarations.
2014-02-06 17:27:46 +02:00
Jan Djärv
029788c7e2 * nsterm.m (toggleFullScreen:): Hide menubar on secondary monitor
for OSX >= 10.9 if separate spaces are used.
(toggleFullScreen:): Use screen of w instead of fw.

Fixes: debbugs:16659
2014-02-06 08:57:53 +01:00
Glenn Morris
314ffdb1d7 Doc changes for cache-long-scans
Ref: http://debbugs.gnu.org/15797#65

* doc/lispref/display.texi (Truncation):
* doc/lispref/positions.texi (Screen Lines): Do not mention cache-long-scans.

* src/buffer.c (cache-long-scans): Doc fix.

* etc/NEWS: Related edit.
2014-02-05 20:27:26 -08:00
Martin Rudalics
81f9a6edde Fix last fix of note_mouse_highlight 2014-02-05 19:37:36 +01:00
Paul Eggert
658272052d Spelling fix. 2014-02-05 10:27:11 -08:00
Eli Zaretskii
a3c3a662ea src/w32.c: Fix typos in commentary. 2014-02-05 19:33:43 +02:00
Eli Zaretskii
6d48053b21 src/w32fns.c (Fw32_shell_execute): Doc fix. 2014-02-05 18:50:53 +02:00
Martin Rudalics
415e381049 In draw_fringe_bitmap_1 don't draw fringe if it's outside the window (Bug#16649).
* fringe.c (draw_fringe_bitmap_1): Don't draw a fringe if it's
outside the window (Bug#16649).
2014-02-05 11:46:44 +01:00
Bastien Guerry
bfdd79d309 Fix bug #16453.
* syntax.c (Fforward_word): Call Fconstrain_to_field with
ESCAPE-FROM-EDGE set to `nil' (Bug#16453).
2014-02-05 11:31:09 +01:00
Martin Rudalics
fa49abf8bf Fix cursor appearance in note_mouse_highlight (Bug#16647).
* xdisp.c (note_mouse_highlight): When entering a margin area show
a non-text cursor (Bug#16647).
2014-02-05 10:24:55 +01:00
Paul Eggert
8e5917ecb3 * menu.c (Fx_popup_dialog): Remove label 'dialog_via_menu'.
It prompted a compile-time diagnostic on GNU/Linux.
Simplify to remove the need for the label.
2014-02-04 11:24:09 -08:00
Eli Zaretskii
8101203ad7 src/w32fns.c (Fw32_shell_execute): Improve commentary. 2014-02-04 18:25:52 +02:00
Eli Zaretskii
e139a33cd9 Fix bug #16636 with simple dialogs on MS-Windows.
src/w32menu.c (w32_popup_dialog): Don't condition the whole function
 on HAVE_DIALOGS.  If the dialog is "simple", pop up a message box
 to show it; otherwise return 'unsupported--w32-dialog' to signal
 to the caller that emulation with menus is necessary.  This
 resurrects code inadvertently deleted by the 2013-10-08 commit.
 (syms_of_w32menu): DEFSYM Qunsupported__w32_dialog.
 src/w32term.h (w32_popup_dialog): Prototype is no longer conditioned
 by HAVE_DIALOGS.
 src/menu.c (Fx_popup_dialog): Don't condition the call to
 w32_popup_dialog on HAVE_DIALOGS.  If w32_popup_dialog returns a
 special symbol 'unsupported--w32-dialog', emulate the dialog with
 a menu by calling x-popup-menu.
 src/menu.h (Qunsupported__w32_dialog): New extern variable.
2014-02-04 18:13:51 +02:00
Michael Albinus
86d2bf4996 * keyboard.c (kbd_buffer_get_event): Read file notification events
also in batch mode.

* xgselect.c (xg_select): Read glib events in any case, even if
there are no file descriptors to watch for.  (Bug#16519)
2014-02-04 12:40:31 +01:00
Martin Rudalics
764ec9e5f0 Improve window dividers code.
* faces.el (window-divider): New default value.  Rewrite
doc-string.
(window-divider-first-pixel, window-divider-last-pixel): New
faces.
* dispextern.h (face_id): Add WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID
and WINDOW_DIVIDER_LAST_PIXEL_FACE_ID.
* w32term.c (w32_draw_window_divider): Handle first and last
pixels specially.
* w32term.h (w32_fill_area_abs): New function.
* xdisp.c (x_draw_right_divider): Don't draw over bottom
divider.
* xfaces.c (realize_basic_faces): Handle new face ids.
* xfns.c (Fx_create_frame): Call x_default_parameter for right
and bottom divider width.
* xterm.c (x_draw_window_divider): Handle first and last pixels
specially.
2014-02-04 08:36:58 +01:00
Dmitry Antipov
9cad4576df * eval.c (call_debugger): Grow specpdl if the debugger was
entered due to specpdl overflow (Bug#16603) and allow more
specpdl space for the debugger itself.
2014-02-03 13:37:43 +04:00
Dmitry Antipov
34baf96c31 * print.c (Fexternal_debugging_output): Add cast to pacify
--enable-gcc-warnings.
2014-02-03 11:05:28 +04:00
Martin Rudalics
b41686493e In Fx_create_frame of w32fns.c process frame alpha earlier. (Bug#16619)
* w32fns.c (Fx_create_frame): Process frame alpha earlier.  (Bug#16619)
2014-02-02 14:00:41 +01:00
Eli Zaretskii
28e6cee817 Attempt to solve bug #16615 by using a more accurate function prototype.
src/w32fns.c (Ffile_system_info): Use WINAPI in the function
 pointers that get the address of GetDiskFreeSpaceEx.
2014-02-01 22:10:37 +02:00
Eli Zaretskii
9ef58a52ac Fix bug #16448 with non-ASCII error messages in batch mode.
src/print.c (Fexternal_debugging_output): If the argument character
 is non-ASCII, encode it with the current locale's encoding before
 writing the result to the terminal.
2014-02-01 13:53:10 +02:00
Eli Zaretskii
cb13e9a842 Fix bug #16558 with w32-shell-execute on remote file names.
src/w32fns.c (Fw32_shell_execute): Don't call file-exists-p for
 DOCUMENT that is a "remote" file name, i.e. a file-handler exists
 for it.
2014-02-01 11:22:51 +02:00
Juri Linkov
bd21bf41c0 Misc small fixes.
* doc/lispref/searching.texi (String Search): Incremental word search fixes.

* lisp/sort.el (delete-duplicate-lines): Remove `:weakness 'key'
from `make-hash-table'.

* lisp/textmodes/ispell.el (ispell-init-process): Change message format
to be consistent with other messages.
2014-01-31 11:41:54 +02:00
Glenn Morris
f2726fa259 ChangeLog fixes 2014-01-30 21:43:03 -05:00
Andreas Schwab
507a173f50 Don't ignore SIGPROF in subprocesses
* process.c (create_process): Reset SIGPROF handler in the child.
* callproc.c (call_process): Likewise.
2014-01-30 18:22:30 +01:00
Paul Eggert
e9abb8a824 * xmenu.c (create_and_show_popup_menu): Port comment to C89. 2014-01-29 10:39:11 -08:00
Eli Zaretskii
824a51e6a5 Fix printing empty Lisp strings.
src/.gdbinit (xprintstr, xprintbytestr): Don't use repetition count
 of zero to print strings, GDB doesn't like it.
2014-01-29 20:17:20 +02:00
Eli Zaretskii
46f4dd40e5 src/indent.c (current_column_1): Correct commentary. 2014-01-29 20:04:11 +02:00