]> code.delx.au - gnu-emacs/log
gnu-emacs
13 years agoUse const char* instead of char*.
Dan Nicolaescu [Sun, 8 Aug 2010 21:03:45 +0000 (14:03 -0700)]
Use const char* instead of char*.
* src/xterm.c (x_create_toolkit_scroll_bar):
* src/xfont.c (xfont_list_pattern):
* src/xfns.c (x_default_scroll_bar_color_parameter)
(xic_create_fontsetname, x_default_font_parameter)
(x_screen_planes):
* src/xdisp.c (c_string_pos, number_of_chars, reseat_to_string)
(store_mode_line_string, decode_mode_spec, display_string):
* src/menu.c (digest_single_submenu):
* src/keymap.h (initial_define_key, initial_define_lispy_key):
* src/keymap.c (initial_define_key, initial_define_lispy_key):
* src/image.c (image_error, image_keyword):
* src/gtkutil.h (xg_create_widget, xg_create_scroll_bar):
* src/gtkutil.c (xg_create_widget, xg_create_scroll_bar):
* src/ftfont.c (struct fc_charset_table, ftfont_spec_pattern)
(ftfont_list, ftfont_match):
* src/frame.c (frame_parm_table):
* src/font.h (font_intern_prop, font_parse_xlfd, font_parse_fcname)
(font_unparse_fcname, font_unparse_fcname, font_open_by_name)
(font_add_log, font_deferred_log):
* src/font.c (font_intern_prop, font_parse_xlfd, font_parse_fcname)
(font_unparse_fcname, font_unparse_fcname, font_open_by_name)
(font_add_log, font_deferred_log):
* src/emacs.c (argmatch):
* src/dispextern.h (struct it):
* src/coding.c (ENCODE_DESIGNATION):
* src/charset.c (define_charset_internal): Use const.

13 years ago* src/s/freebsd.h (DECLARE_GETPWUID_WITH_UID_T): Remove, unused.
Dan Nicolaescu [Sun, 8 Aug 2010 20:26:12 +0000 (13:26 -0700)]
* src/s/freebsd.h (DECLARE_GETPWUID_WITH_UID_T): Remove, unused.

13 years agoCleanup xrdb.c.
Dan Nicolaescu [Sun, 8 Aug 2010 20:16:48 +0000 (13:16 -0700)]
Cleanup xrdb.c.
* src/xrdb.c: Remove include guard.  Remove
DECLARE_GETPWUID_WITH_UID_T conditional it had no effect.
Remove #if 0 code.  Replace malloc->xmalloc, free->xfree,
realloc->xrealloc instead of using #defines.

13 years agoFixed bug#6766 (icalendar.el)
Ulf Jasper [Sun, 8 Aug 2010 17:42:47 +0000 (19:42 +0200)]
Fixed bug#6766 (icalendar.el)

lisp/ChangeLog:

* calendar/icalendar.el (icalendar-uid-format): Doc fix.
(icalendar--split-value): Fixed splitting regexp. (Bug#6766)
(icalendar--get-weekday-numbers): New
(icalendar--create-uid, icalendar-export-region)
(icalendar--parse-summary-and-rest): Code formatting.
(icalendar--convert-recurring-to-diary): Handle multiple byday
values in weekly rules. (Bug#6766)

test/ChangeLog:

* icalendar-testsuite.el (icalendar-testsuite-run): Added internal tests.
(icalendar-testsuite--trim, icalendar-testsuite--compare-strings)
(icalendar-testsuite--run-internal-tests): New.
(icalendar-testsuite--test-convert-ordinary-to-ical)
(icalendar-testsuite--test-convert-block-to-ical)
(icalendar-testsuite--test-convert-anniversary-to-ical)
(icalendar-testsuite--test-parse-vtimezone)
(icalendar-testsuite--do-test-export): Code formatting.
(icalendar-testsuite--test-parse-vtimezone): Doc fix.
(icalendar-testsuite--do-test-import)
(icalendar-testsuite--do-test-cycle): Use icalendar-testsuite--compare-strings
(icalendar-testsuite--run-import-tests): Comment added.
(icalendar-testsuite--run-import-tests)
(icalendar-testsuite--run-real-world-tests): Fixed expected results.

13 years agoMake some doc strings bidi-friendly.
Eli Zaretskii [Sun, 8 Aug 2010 16:43:26 +0000 (19:43 +0300)]
Make some doc strings bidi-friendly.

 cmds.c (Fforward_line, Fbeginning_of_line, Fend_of_line):
 editfns.c (Fline_beginning_position, Fline_end_position): State
 in the doc strings that start and end of line are in the logical order.

13 years agoFix overlay arrow display (bug #6699).
Eli Zaretskii [Sun, 8 Aug 2010 16:23:11 +0000 (19:23 +0300)]
Fix overlay arrow display (bug #6699).

 xdisp.c (display_line): Move the handling of overlay arrow after
 the call to find_row_edges.

13 years agocalc.el (calc-trail-mode,calc-refresh): Use `face' property to italicize headers.
Jay Belanger [Sun, 8 Aug 2010 03:04:57 +0000 (22:04 -0500)]
calc.el (calc-trail-mode,calc-refresh): Use `face' property to italicize headers.
(calc-highlight-selections-with-faces): New variable.
(calc-selected-face, calc-nonselected-face): New faces.

calccomp.el (math-comp-highlight-string): Use
`calc-highlight-selections-with-faces' to determine how to highlight
subformulas.

calc-sel.el (calc-show-selections): Change message to something
appropriate.

calc.texi (Making Selections, Selecting Subformulas)
(Customizing Calc): Mention how to use faces to emphasize selected
subformulas.

13 years ago* progmodes/sql.el (sql-mode-sqlite-font-lock-keywords): Added
Michael Mauger [Sat, 7 Aug 2010 23:57:07 +0000 (19:57 -0400)]
* progmodes/sql.el (sql-mode-sqlite-font-lock-keywords): Added
        SQLite 3 keywords, functions and datatypes.
        (sql-interactive-mode): Removed `comint-process-echoes' set to t
        (Bug#6686).

13 years agoAvoid restrictions when copying window selection.
Chong Yidong [Sat, 7 Aug 2010 20:26:55 +0000 (16:26 -0400)]
Avoid restrictions when copying window selection.
* src/keyboard.c (command_loop_1):
* src/insdel.c (prepare_to_modify_buffer): Don't call validate_region.

13 years agoFix last change.
Chong Yidong [Sat, 7 Aug 2010 20:10:30 +0000 (16:10 -0400)]
Fix last change.

13 years agoChange `select-active-region' mechanics.
Chong Yidong [Sat, 7 Aug 2010 19:39:04 +0000 (15:39 -0400)]
Change `select-active-region' mechanics.
Save region text prior to buffer modification.
Set window selection lazily, during `deactivate-mark' or after each
command when the region is temporarily active.

* lisp/cus-start.el: Add custom declaration for select-active-regions.

* lisp/mouse.el (mouse-drag-track): Remove hacks to deal with old
select-active-regions implementation.
(mouse-yank-at-click): Doc fix.

* lisp/simple.el (select-active-regions): Move to keyboard.c.
(deactivate-mark): Used saved-region-selection.
(select-active-region): Function removed.
(activate-mark, set-mark, push-mark-command)
(handle-shift-selection): Don't call it.
(keyboard-quit): Avoid adding the region to the window selection.

* src/insdel.c (prepare_to_modify_buffer): Save active region text to
Vsaved_region_selection.

* src/keyboard.c (Vselect_active_regions): Move from simple.el.
(Vsaved_region_selection, Qx_set_selection, QPRIMARY, Qlazy): New
vars.
(command_loop_1): Set window selection prior to deactivating the
mark.

* src/xselect.c (QPRIMARY): Move to keyboard.c.

13 years agoNEWS: Mention the Hebrew translation of the tutorial.
Eli Zaretskii [Sat, 7 Aug 2010 10:26:42 +0000 (13:26 +0300)]
NEWS: Mention the Hebrew translation of the tutorial.

13 years agosimple.el (delete-forward-char): Doc fix.
Eli Zaretskii [Sat, 7 Aug 2010 10:11:07 +0000 (13:11 +0300)]
simple.el (delete-forward-char): Doc fix.

13 years agoClean up TUTORIAL.he.
Eli Zaretskii [Sat, 7 Aug 2010 09:50:08 +0000 (12:50 +0300)]
Clean up TUTORIAL.he.

 tutorials/TUTORIAL.he: Don't use acronyms.

13 years agoEvaluate file-local variables in tutorials.
Eli Zaretskii [Sat, 7 Aug 2010 09:31:03 +0000 (12:31 +0300)]
Evaluate file-local variables in tutorials.

 tutorial.el (help-with-tutorial): Hack safe file-local variables
 after reading the tutorial.

13 years agoRemove duplicate declarations.
Juanma Barranquero [Sat, 7 Aug 2010 01:10:12 +0000 (03:10 +0200)]
Remove duplicate declarations.

* lib-src/ebrowse.c (usage, version, mark_virtual)
* src/alloc.c (lisp_malloc)
* src/buffer.c (set_buffer_internal, set_buffer_internal_1)
* src/charset.h (emacs_mule_charset)
* src/dispextern.h (inhibit_free_realized_faces, redraw_frame)
  (redraw_garbaged_frames, scroll_cost, update_frame, scrolling)
  (bitch_at_user)
* src/lisp.h (Fcheck_coding_system, Fget_text_property)
  (Qfunction, Qcompletion_ignore_case, QCwidth, QCsize)

13 years ago* src/process.c: Simplify include logic.
Dan Nicolaescu [Fri, 6 Aug 2010 20:08:26 +0000 (13:08 -0700)]
* src/process.c: Simplify include logic.

13 years ago* sysdep.c: Remove declarations.
Dan Nicolaescu [Fri, 6 Aug 2010 20:05:40 +0000 (13:05 -0700)]
* sysdep.c: Remove declarations.

13 years agoMove declarations to header files.
Dan Nicolaescu [Fri, 6 Aug 2010 19:52:47 +0000 (12:52 -0700)]
Move declarations to header files.
* src/keyboard.h (quit_char): Add declaration.
* src/process.h (QCport, QCspeed, QCprocess, QCbytesize, QCstopbits)
(QCparity, Qodd, Qeven, QCflowcontrol, Qhw, Qsw, QCsummary): Add
declarations.
* sysdep.c:
* src/w32.c: Remove the above declarations.

13 years agocc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix for the case that a
Alan Mackenzie [Fri, 6 Aug 2010 19:48:59 +0000 (19:48 +0000)]
cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix for the case that a
C style comment has its delimiters alone on their respective lines.

13 years agoRemove extern declarations in .c files, .h files have them.
Dan Nicolaescu [Fri, 6 Aug 2010 19:07:16 +0000 (12:07 -0700)]
Remove extern declarations in .c files, .h files have them.
* src/xterm.c:
* src/xdisp.c:
* src/process.c:
* src/msdos.c:
* src/image.c:
* src/gtkutil.c:
* src/fileio.c:
* src/eval.c: Remove declarations.

13 years ago* src/frame.c (frame_params): Make const.
Dan Nicolaescu [Fri, 6 Aug 2010 19:01:35 +0000 (12:01 -0700)]
* src/frame.c (frame_params): Make const.

13 years ago* src/lisp.h (fatal_error_signal, emacs_root_dir): Add declaration.
Dan Nicolaescu [Fri, 6 Aug 2010 18:56:41 +0000 (11:56 -0700)]
* src/lisp.h (fatal_error_signal, emacs_root_dir): Add declaration.

13 years agoemacs.c cleanups.
Dan Nicolaescu [Fri, 6 Aug 2010 18:48:24 +0000 (11:48 -0700)]
emacs.c cleanups.
* src/emacs.c (emacs_copyright, emacs_version): Make static.
(Vinitial_window_system, Vauto_save_list_file_name)
(Vinhibit_redisplay): Remove declarations.
(main): Remove HAVE_SHM code, unused.  Remove _I386 conditional
for AIX.

13 years agoUse const for some arrays and functions.
Dan Nicolaescu [Fri, 6 Aug 2010 18:41:15 +0000 (11:41 -0700)]
Use const for some arrays and functions.
* src/xterm.h (xg_set_icon_from_xpm_data):
* src/xfns.c (xg_set_icon_from_xpm_data):
* src/term.c (fkeys):
* src/keyboard.c (lispy_accent_keys, lispy_function_keys)
(lispy_multimedia_keys, lispy_kana_keys, iso_lispy_function_keys)
(lispy_drag_n_drop_names, scroll_bar_parts, modify_event_symbol)
(frame.c frame_parms):
* src/emacs-icon.h (gnu_xpm_bits):
* src/callint.c (callint_argfuns): Use const.

13 years ago* src/sysdep.c: Move include term.h last of includes (Bug#6812).
Jan D [Fri, 6 Aug 2010 17:38:01 +0000 (19:38 +0200)]
* src/sysdep.c: Move include term.h last of includes (Bug#6812).

13 years agoxdisp.c (display_line): Fix a typo in a comment.
Eli Zaretskii [Fri, 6 Aug 2010 15:53:11 +0000 (18:53 +0300)]
xdisp.c (display_line): Fix a typo in a comment.

13 years agoFix redisplay bugs due to uninitialized glyphs.
Eli Zaretskii [Fri, 6 Aug 2010 15:05:21 +0000 (18:05 +0300)]
Fix redisplay bugs due to uninitialized glyphs.
Add diagnostics tools.

 dispnew.c (realloc_glyph_pool): Zero out newly allocated glyphs.
 msdos.c (IT_display_cursor): Log cursor position on termscript.
 .gdbinit (pgx): Display the avoid_cursor_p flag.

13 years agoFix redisplay bugs due to uninitialized glyphs in frame glyph pool.
Eli Zaretskii [Fri, 6 Aug 2010 14:54:06 +0000 (17:54 +0300)]
Fix redisplay bugs due to uninitialized glyphs in frame glyph pool.

 dispnew.c (realloc_glyph_pool): Zero out newly allocated glyphs.
 msdos.c (IT_display_cursor): Log cursor position on termscript.
 .gdbinit (pgx): Display the avoid_cursor_p flag.

13 years ago* net/tramp.el (tramp-handle-start-file-process ): Set connection
Michael Albinus [Fri, 6 Aug 2010 14:34:23 +0000 (16:34 +0200)]
* net/tramp.el (tramp-handle-start-file-process ): Set connection
property "vec".
(tramp-process-sentinel): Use it for flushing the cache.  We
cannot do it via the process buffer, the buffer could be deleted
already when running the sentinel.

13 years ago* comint.el (comint-mode): Make directory tracking functions
Michael Albinus [Fri, 6 Aug 2010 13:53:59 +0000 (15:53 +0200)]
* comint.el (comint-mode): Make directory tracking functions
functional on remote files.  (Bug#6764)

13 years agosrc/ChangeLog: Fix typos.
Juanma Barranquero [Fri, 6 Aug 2010 12:35:00 +0000 (14:35 +0200)]
src/ChangeLog: Fix typos.

13 years agosrc/makefile.w32-in ($(BLD)/xdisp.$(O)): Update dependencies.
Juanma Barranquero [Fri, 6 Aug 2010 12:25:10 +0000 (14:25 +0200)]
src/makefile.w32-in ($(BLD)/xdisp.$(O)): Update dependencies.

13 years agoMore undeclared function fixes and add -Wimplicit-function-declaration.
Jan D [Fri, 6 Aug 2010 11:28:59 +0000 (13:28 +0200)]
More undeclared function fixes and add -Wimplicit-function-declaration.

If a function returns Lisp_Object it must be declared, otherwise on a 64-bit
system, it will return just 32 bits (int).

* configure.in: Use -Wimplicit-function-declaration if compiler supports it.

* src/keyboard.h (poll_for_input_1): Unconditionally declare.

* src/xterm.h (x_get_focus_frame): Declare.

13 years agoCan't include menu.h in window.c for X targets.
Jan D [Fri, 6 Aug 2010 11:04:29 +0000 (13:04 +0200)]
Can't include menu.h in window.c for X targets.

* nsterm.h (x_set_menu_bar_lines): Declare.

* window.c: Don't include menu.h, it depends on lots of other .h-files.

13 years agoFix missing prototypes for HAVE_NS (caused crash) and vrious warnings.
Jan D [Fri, 6 Aug 2010 10:12:41 +0000 (12:12 +0200)]
Fix missing prototypes for HAVE_NS (caused crash) and vrious warnings.

* configure.in: Check for util.h.

* src/bidi.c (bidi_dump_cached_states): Fix fprintf warning.

* src/emacs.c: Include src/nsterm.h if HAVE_NS.

* src/image.c (xpm_scan, xpm_make_color_table_v)
(xpm_put_color_table_v, xpm_get_color_table_v)
(xpm_make_color_table_h, xpm_put_color_table_h)
(xpm_get_color_table_h, xpm_str_to_color_key, xpm_load_image)
(xpm_load): Convert to ANSI C prototypes.

* src/lisp.h (fmod_float): Declare.

* src/menu.h (x_set_menu_bar_line): Declare.
(free_menubar_widget_value_tree et.al): Add HAVE_NS for these functions.

* src/window.c: Include menu.h.

* src/nsfns.m (have_menus_p, ns_display_info_for_name)
(x_set_cursor_type, ns_appkit_version_str)
(ns_appkit_version_int, ns_do_applescript)
(x_set_scroll_bar_default_width, x_sync, compute_tip_xy)
(syms_of_nsfns): Convert to ANSI C prototypes.

* src/nsfont.m (ns_fallback_entity, syms_of_nsfont): Convert to ANSI C
prototypes.

* src/nsimage.m (ns_load_image): Move NSTRACE after declarations.

* src/nsmenu.m (popup_activated, name_is_separator)
(syms_of_nsmenu): Convert to ANSI C prototypes.
(runMenuAt): Prototypes and move declarations before code.

* src/nsterm.h : Include sysselect.h.
(x_sync, x_get_focus_frame, x_set_mouse_position)
(x_set_mouse_pixel_position, x_make_frame_visible)
(x_make_frame_invisible, x_iconify_frame, x_char_width, x_char_height)
(x_pixel_width, x_pixel_height, x_set_frame_alpha, x_set_tool_bar_lines)
(x_activate_menubar, free_frame_menubar, ns_init_paths, ns_select)
(syms_of_nsterm, syms_of_nsfns, syms_of_nsmenu, syms_of_nsselect):
Declare

* src/process.c: Check HAVE_UTIL_H. Include src/nsterm.h if HAVE_NS.

* src/nsterm.m (ns_init_paths, ns_alloc_autorelease_pool)
(ns_ring_bell, ns_defined_color, hide_hourglass)
(x_display_pixel_height, x_display_pixel_width, syms_of_nsterm):
Convert to ANSI C prototypes.
(x_set_window_size, ns_draw_fringe_bitmap, judge): Move declarations
before code.

* src/sysdep.c: Check HAVE_TERM_H

* src/term.c: Check HAVE_SYS_IOCTL_H.

* src/unexmacosx.c (print_region_list, print_regions)
(build_region_list, find_emacs_zone_regions)
(unexec_regions_merge, read_load_commands, dump_it)
(unexec_init_emacs_zone): Convert to ANSI C prototypes.

* src/xfaces.c (x_create_gc, x_free_gc): Convert to ANSI C prototypes.

13 years agoemacsclient.c cleanups.
Dan Nicolaescu [Fri, 6 Aug 2010 04:09:54 +0000 (21:09 -0700)]
emacsclient.c cleanups.
* lib-src/emacsclient.c: Move socket related #includes together with the
rest of the #includes.  Move a WINDOWSNT includes closer together.
(HAVE_CONFIG_H): Remove.
(NO_RETURN): Remove, defined in config.h.
(main): Convert definition to standard C.

13 years ago* lisp/vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
Dan Nicolaescu [Fri, 6 Aug 2010 04:01:00 +0000 (21:01 -0700)]
* lisp/vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.

13 years ago(rfc2047-encode): Use utf-8 charset as a last resort.
Katsumi Yamaoka [Fri, 6 Aug 2010 03:43:29 +0000 (03:43 +0000)]
(rfc2047-encode): Use utf-8 charset as a last resort.

13 years agosrc/ChangeLog: Fix entry.
Juanma Barranquero [Fri, 6 Aug 2010 00:44:56 +0000 (02:44 +0200)]
src/ChangeLog: Fix entry.

13 years agoCleanup process.c.
Dan Nicolaescu [Fri, 6 Aug 2010 00:36:12 +0000 (17:36 -0700)]
Cleanup process.c.
* src/process.c: Remove HAVE_SOCKETS #ifdefs inside #ifdef
subprocesses, only MSDOS does not define HAVE_SOCKETS.
(socket_options): Use const char* for name.

13 years agoFix changes in 2010-08-05T23:15:24Z!dann@ics.uci.edu..2010-08-05T23:34:12Z!dann@ics...
Juanma Barranquero [Fri, 6 Aug 2010 00:16:24 +0000 (02:16 +0200)]
Fix changes in 2010-08-05T23:15:24Z!dann@ics.uci.edu..2010-08-05T23:34:12Z!dann@ics.uci.edu for Windows build.

* dired.c (compile_pattern):
* syssignal.h (signal_handler_t): Restore declarations.

* w32font.c (Qlatin): Remove declaration.

* menu.h (xmalloc_widget_value, digest_single_submenu): Declare.
* xmenu.c [USE_X_TOOLKIT || USE_GTK]:
  Don't declare xmalloc_widget_value and digest_single_submenu.

13 years ago* src/syssignal.h (signal_handler_t): Restore accidentally removed definition.
Dan Nicolaescu [Fri, 6 Aug 2010 00:07:36 +0000 (17:07 -0700)]
* src/syssignal.h (signal_handler_t): Restore accidentally removed definition.

13 years agoRemove extern declarations in .c files, .h files have them.
Dan Nicolaescu [Thu, 5 Aug 2010 23:34:12 +0000 (16:34 -0700)]
Remove extern declarations in .c files, .h files have them.
* src/data.c:
* src/dired.c:
* src/editfns.c:
* src/filelock.c:
* src/fns.c:
* src/font.c:
* src/fontset.c:
* src/frame.c:
* src/fringe.c:
* src/ftfont.c:
* src/gtkutil.c:
* src/indent.c:
* src/keyboard.c:
* src/keymap.c:
* src/lread.c:
* src/menu.c:
* src/print.c:
* src/search.c:
* src/sound.c:
* src/window.c:
* src/xdisp.c:
* src/xfaces.c:
* src/xfns.c:
* src/xfont.c:
* src/xftfont.c:
* src/xmenu.c:
* src/xterm.c: Remove declarations.

13 years agoCleanup syssignal.h.
Dan Nicolaescu [Thu, 5 Aug 2010 23:22:18 +0000 (16:22 -0700)]
Cleanup syssignal.h.
* src/syssignal.h (sighold, sigrelse, RETSIGTYPE): Remove, unused.
(main_thread): Move down to remove #ifdef.
(SIGMASKTYPE, SIGEMPTYMASK, SIGFULLMASK, sigmask, sigunblock):
Remove conditional definition following unconditional ones.

13 years agoAdd declarations to header files.
Dan Nicolaescu [Thu, 5 Aug 2010 23:15:24 +0000 (16:15 -0700)]
Add declarations to header files.
* src/keyboard.h (xmalloc_widget_value, digest_single_submenu): Remove
declarations, menu.h has them.
(QCbutton, QCtoggle, QCradio, QClabel, extra_keyboard_modifiers)
(Vinput_method_function, Qinput_method_function)
(Qevent_symbol_element_mask, last_event_timestamp):
* src/dispextern.h (Voverflow_newline_into_fringe):
* src/font.h (QCantialias, Qp, syms_of_ftfont, syms_of_xfns)
(syms_of_ftxfont, syms_of_xftfont, syms_of_bdffont)
(syms_of_w32font, syms_of_nsfont):
* src/fontset.h (find_font_encoding, Qlatin):
* src/frame.h (Qtooltip, Qrun_hook_with_args, Vmenu_bar_mode)
(Vtool_bar_mode, set_frame_menubar):
* src/ftfont.h (ftfont_font_format, ftfont_get_fc_charset):
* src/xterm.h (Qx_gtk_map_stock):
* src/keymap.h (meta_prefix_char): Add declarations.

* src/lisp.h: Remove HAVE_SHM code, unused.
(QCmap, QCrehash_size, QCrehash_threshold, QCsize, QCtest)
(QCweakness, Qabove_handle, Qbackquote, Qbar, Qbelow_handle)
(Qborder, Qbottom, Qbox, Qcircular_list, Qcomma, Qcomma_at)
(Qcomma_dot, Qcursor, Qdefault, Qdown, Qend_scroll, Qeq, Qeql)
(Qequal, Qfile_exists_p, Qfont_param, Qfringe, Qfunction)
(Qfunction_documentation, Qhandle, Qhbar, Qheader_line, Qhollow)
(Qidentity, Qleft_margin, Qmenu, Qmenu_bar_update_hook)
(Qmode_line_inactive, Qmouse, Qoverriding_local_map)
(Qoverriding_terminal_local_map, Qratio, Qregion, Qright_margin)
(Qscroll_bar, Qtool_bar, Qtop, Qup, Qvertical_border, Qwhen)
(Qwindow_scroll_functions, Vafter_load_alist)
(Vauto_save_list_file_name, Vface_alternative_font_family_alist)
(Vface_alternative_font_registry_alist, Vface_font_rescale_alist)
(Vface_ignored_fonts, Vinhibit_redisplay, Vminibuffer_list)
(Vprint_length, Vprint_level, Vscalable_fonts_allowed)
(Vshell_file_name, Vsystem_name, Vwindow_scroll_functions)
(Vwindow_system_version, Vx_no_window_manager, initial_argc)
(initial_argv, last_nonmenu_event, load_in_progress)
(noninteractive_need_newline, scroll_margin): Add declarations.

13 years ago* src/term.c: Remove dead code.
Dan Nicolaescu [Thu, 5 Aug 2010 22:23:53 +0000 (15:23 -0700)]
* src/term.c: Remove dead code.

13 years agoFix emacs -Q -f server-start & emacsclient -t on GNU/Linux.
Dan Nicolaescu [Thu, 5 Aug 2010 22:20:09 +0000 (15:20 -0700)]
Fix emacs -Q -f server-start & emacsclient -t on GNU/Linux.
* src/term.c (dissociate_if_controlling_tty): Use USG5 instead of
USG.  This is equivalent to defined (USG) && !defined (BSD_PGRPS),
which is what was there before BSD_PGRPS was removed.

13 years agoRegenerate configure.
Dan Nicolaescu [Thu, 5 Aug 2010 18:30:35 +0000 (11:30 -0700)]
Regenerate configure.

13 years agoREALLY rename src/unexec.c => src/unexcoff.c.
Eli Zaretskii [Thu, 5 Aug 2010 17:22:34 +0000 (20:22 +0300)]
REALLY rename src/unexec.c => src/unexcoff.c.

 admin/MAINTAINERS: Rename src/unexec.c => src/unexcoff.c.

13 years agoRename src/unexec.c => src/unexcoff.c.
Eli Zaretskii [Thu, 5 Aug 2010 17:11:32 +0000 (20:11 +0300)]
Rename src/unexec.c => src/unexcoff.c.

 src/unexcoff.c: Renamed from unexec.c.
 src/deps.mk (unexcoff.o): Rename unexec.[co] => unexcoff.[co].
 configure.in (UNEXEC_OBJ): Rename unexec.o => unexcoff.o.
 admin/MAINTAINERS: Rename src/unexec.c => src/unexcoff.c.
 etc/AUTHORS: Rename unexec.o => unexcoff.o.
 etc/PROBLEMS: Rename unexec.o => unex*.o.
 lisp/emacs-lisp/find-gc.el (find-gc-source-files): Rename
 unexec.c => unexcoff.c.
 lisp/emacs-lisp/authors.el (authors-fixed-entries): Rename
 unexec.c => unexcoff.c.
 msdos/sed1v2.inp (UNEXEC_OBJ): Edit to unexcoff.o, due to renaming of
 unexec.c => unexcoff.c.

13 years ago* tramp.texi (External packages): File attributes cache flushing
Michael Albinus [Thu, 5 Aug 2010 13:51:21 +0000 (15:51 +0200)]
* tramp.texi (External packages): File attributes cache flushing
for asynchronous processes.

13 years ago* net/tramp.el (tramp-handle-dired-uncache): Flush directory
Michael Albinus [Thu, 5 Aug 2010 08:15:22 +0000 (10:15 +0200)]
* net/tramp.el (tramp-handle-dired-uncache): Flush directory
cache, not only file cache.
(tramp-process-sentinel): New defun.
(tramp-handle-start-file-process): Use it, in order to invalidate
file caches.

13 years agoFix compilation error.
Nick Roberts [Thu, 5 Aug 2010 05:18:55 +0000 (17:18 +1200)]
Fix compilation error.

13 years ago* configure.in: Restore accidentally removed use of
Andreas Schwab [Wed, 4 Aug 2010 21:48:36 +0000 (23:48 +0200)]
* configure.in: Restore accidentally removed use of
GCC_TEST_OPTIONS/NON_GCC_TEST_OPTIONS.

13 years ago* src/sysdep.c (child_setup_tty): Comment-out left-over non-ICANON code.
Stefan Monnier [Wed, 4 Aug 2010 18:10:07 +0000 (20:10 +0200)]
* src/sysdep.c (child_setup_tty): Comment-out left-over non-ICANON code.

13 years agosrc/ChangeLog: Add missing bug reference.
Juanma Barranquero [Tue, 3 Aug 2010 21:54:16 +0000 (23:54 +0200)]
src/ChangeLog: Add missing bug reference.

13 years ago* src/data.c (Flocal_variable_p): Handle variable aliases correctly.
Johan Bockgård [Tue, 3 Aug 2010 16:37:00 +0000 (18:37 +0200)]
* src/data.c (Flocal_variable_p): Handle variable aliases correctly.

13 years ago* server.el (server-start): Simplify loop.
Leo Liu [Tue, 3 Aug 2010 12:22:23 +0000 (14:22 +0200)]
* server.el (server-start): Simplify loop.

13 years agont/config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
Juanma Barranquero [Mon, 2 Aug 2010 23:20:48 +0000 (01:20 +0200)]
nt/config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).

13 years ago* lisp/frame.el (screen-height, screen-width, set-screen-width)
Stefan Monnier [Mon, 2 Aug 2010 22:35:38 +0000 (00:35 +0200)]
* lisp/frame.el (screen-height, screen-width, set-screen-width)
(set-screen-height): Remove ancient compatibility aliases.

13 years ago* xterm.c (x_create_toolkit_scroll_bar): Only set XtNbeNiceToColormap
Jan Djärv [Mon, 2 Aug 2010 14:23:06 +0000 (16:23 +0200)]
* xterm.c (x_create_toolkit_scroll_bar): Only set XtNbeNiceToColormap
to TRUE if depth of screen is < 16.

13 years agoDon't use Gtk+ tooltip unless Gtk+ version => 2.14.
Jan Djärv [Mon, 2 Aug 2010 12:50:03 +0000 (14:50 +0200)]
Don't use Gtk+ tooltip unless Gtk+ version => 2.14.

* gtkutil.c (hierarchy_ch_cb, qttip_cb): Do not define unless
USE_GTK_TOOLTIP.
(xg_prepare_tooltip): Return 0 unless USE_GTK_TOOLTIP
(xg_show_tooltip, xg_hide_tooltip): Do nothing unless
USE_GTK_TOOLTIP.
(xg_create_frame_widgets): Surrond tooltip-related code with ifdef
USE_GTK_TOOLTIP.
(xg_free_frame_widgets): Don't delete ttip_* unless USE_GTK_TOOLTIP.

* xterm.h (USE_GTK_TOOLTIP): New define.
(struct x_output): Put ttip_* inside ifdef USE_GTK_TOOLTIP.

13 years ago* lisp/textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
Stefan Monnier [Mon, 2 Aug 2010 10:25:27 +0000 (12:25 +0200)]
* lisp/textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
when justifying.  It seems useless and harmful for ncols=1.

Fixes: debbugs:6738
13 years ago* lisp/emacs-lisp/timer.el (timer-event-handler): Protect against timers
Stefan Monnier [Mon, 2 Aug 2010 09:00:46 +0000 (11:00 +0200)]
* lisp/emacs-lisp/timer.el (timer-event-handler): Protect against timers
that change current buffer.

13 years agoEnable ICANON (Bug#6771). Any long line problem must be solved differently.
Jan Djärv [Mon, 2 Aug 2010 07:03:12 +0000 (09:03 +0200)]
Enable ICANON (Bug#6771).  Any long line problem must be solved differently.

There is AFAIK no bug report or test case for the long line problem.

* sysdep.c (child_setup_tty): Enable ICANON in lflags and set VEOF
to Control-D (Bug#6771).

13 years ago* editfns.c (Fregion_beginning, Fregion_end): Doc fixes (bug#6493).
Juanma Barranquero [Mon, 2 Aug 2010 06:42:03 +0000 (08:42 +0200)]
* editfns.c (Fregion_beginning, Fregion_end): Doc fixes (bug#6493).

13 years agoFix last nnmail-get-new-mail-1 change that caused double encoding in XEmacs.
Katsumi Yamaoka [Sun, 1 Aug 2010 23:49:32 +0000 (23:49 +0000)]
Fix last nnmail-get-new-mail-1 change that caused double encoding in XEmacs.

2010-08-01  Katsumi Yamaoka  <yamaoka@jpl.org>
 * nnmail.el (nnmail-get-new-mail-1): Revert.
 * nnml.el (nnml-active-number): Make sure names of newly created groups
 in nnml-group-alist are encoded.

13 years agoEnhance CC Mode manual to cover the new Java features.
Alan Mackenzie [Sun, 1 Aug 2010 18:07:10 +0000 (18:07 +0000)]
Enhance CC Mode manual to cover the new Java features.

13 years agomouse.el: Match "mouse-2" at the beginning of the string. (Bug#6765)
YAMAMOTO Mitsuharu [Sun, 1 Aug 2010 16:48:15 +0000 (18:48 +0200)]
mouse.el: Match "mouse-2" at the beginning of the string.  (Bug#6765)

13 years agoUse Gtk+ tooltips by default for Gtk+ Emacs.
Jan D [Sun, 1 Aug 2010 13:57:07 +0000 (15:57 +0200)]
Use Gtk+ tooltips by default for Gtk+ Emacs.

* lisp/cus-start.el (x-gtk-use-system-tooltips): New variable.

* src/gtkutil.c (hierarchy_ch_cb, qttip_cb, xg_prepare_tooltip)
(xg_show_tooltip, xg_hide_tooltip, xg_free_frame_widgets): New
functions.
(xg_create_frame_widgets): Set ttip_* to 0.  Set a dummy tooltip
text so qttip_cb is called.  Connect query-tooltip to qttip_cb.
Remove code that is commented out.

* src/gtkutil.h (xg_free_frame_widgets, xg_prepare_tooltip)
(xg_show_tooltip, xg_hide_tooltip): Declare.

* src/xfns.c (x_gtk_use_system_tooltips): New variable.
(Fx_show_tip): If USE_GTK and x_gtk_use_system_tooltips, call
new gtkutil tooltip functions to show the tooltip.
(Fx_hide_tip): Call xg_hide_tooltip.
(syms_of_xfns): Defvar x-gtk-use-system-tooltips.

* src/xterm.c (x_clear_frame): Check FRAME_GTK_WIDGET (f) before
calling gtk_widget_queue_draw.
(x_free_frame_resources): Call xg_free_frame_widgets.

* src/xterm.h (struct x_output): Add ttip_widget, ttip_window and
ttip_lbl.

13 years agoFix typos in ChangeLogs.
Juanma Barranquero [Sun, 1 Aug 2010 04:37:41 +0000 (06:37 +0200)]
Fix typos in ChangeLogs.

13 years agoPackage listing tweaks.
Chong Yidong [Sun, 1 Aug 2010 00:38:19 +0000 (20:38 -0400)]
Package listing tweaks.

* emacs-lisp/package.el (package--list-packages): Fix column
alignment.
(package--builtins): Tweak descriptions.
(package-print-package): Upcase descriptions if necessary.  Show
all built-in packages in font-lock-builtin-face.
(package-list-packages-internal): Omit "emacs" package.  Show
status of built-in packages as "built-in".

13 years ago* src/keymap.c (Fdefine_key, Flookup_key): Say what event is invalid.
Stefan Monnier [Sun, 1 Aug 2010 00:14:14 +0000 (02:14 +0200)]
* src/keymap.c (Fdefine_key, Flookup_key): Say what event is invalid.

13 years agoAdapt mouse-3 behavior to recent selection changes (Bug#6701).
Chong Yidong [Sat, 31 Jul 2010 21:26:56 +0000 (17:26 -0400)]
Adapt mouse-3 behavior to recent selection changes (Bug#6701).

* lisp/mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
before killing to preserve the primary selection.

* lisp/term/x-win.el (x-select-text): Doc fix.

* src/xselect.c (x_own_selection): Use list4.

13 years agoEnhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
Alan Mackenzie [Sat, 31 Jul 2010 20:01:08 +0000 (20:01 +0000)]
Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
Contributed by Nathaniel Flath.

13 years ago* faces.el (face-all-attributes): Improved documentation (Bug#6767).
Jan D [Sat, 31 Jul 2010 17:21:16 +0000 (19:21 +0200)]
* faces.el (face-all-attributes): Improved documentation (Bug#6767).

13 years agoAdd more index entries for large-file-warning-threshold.
Eli Zaretskii [Sat, 31 Jul 2010 17:13:03 +0000 (20:13 +0300)]
Add more index entries for large-file-warning-threshold.

 files.texi (Visiting): Add more index entries for
 large-file-warning-threshold.

13 years agoAdd a Hebrew translation of the tutorial.
Eli Zaretskii [Sat, 31 Jul 2010 15:46:58 +0000 (18:46 +0300)]
Add a Hebrew translation of the tutorial.

 etc/tutorials/TUTORIAL.he: New file.
 etc/tutorials/TUTORIAL.translators: Add TUTORIAL.he.
 lisp/files.el (bidi-paragraph-direction): Define safe local values.
 lisp/language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
 language-info-alist.  Remove outdated FIXME in a comment.

13 years agocc-cmds.el (c-mask-paragraph): Fix bug #6688, Auto-fill broken in C/C++
Alan Mackenzie [Sat, 31 Jul 2010 09:39:24 +0000 (09:39 +0000)]
cc-cmds.el (c-mask-paragraph): Fix bug #6688, Auto-fill broken in C/C++
modes.

13 years ago* src/buffer.c (Qwindow): Do not define, already defined in data.c.
Dan Nicolaescu [Fri, 30 Jul 2010 04:42:38 +0000 (21:42 -0700)]
* src/buffer.c (Qwindow): Do not define, already defined in data.c.
(syms_of_buffer): Do not intern and staticpro Qwindow.  (Bug#6760)

13 years agoEncode names of nnml groups that nnmail-get-new-mail creates in active file.
Katsumi Yamaoka [Fri, 30 Jul 2010 02:01:04 +0000 (02:01 +0000)]
Encode names of nnml groups that nnmail-get-new-mail creates in active file.

2010-07-30  Katsumi Yamaoka  <yamaoka@jpl.org>
 * nnmail.el (nnmail-get-new-mail-1): Encode group names possibly
 containing non-ASCII characters in active file for nnml back end.

13 years agoFix typos in ChangeLogs.
Juanma Barranquero [Thu, 29 Jul 2010 20:16:18 +0000 (22:16 +0200)]
Fix typos in ChangeLogs.

13 years agoReplace tests for SYSV_SYSTEM_DIR with HAVE_DIRENT_H, set via autoconf
Jan D [Thu, 29 Jul 2010 20:01:08 +0000 (22:01 +0200)]
Replace tests for SYSV_SYSTEM_DIR with HAVE_DIRENT_H, set via autoconf

* configure.in: Check for dirent.h

* dired.c, sysdep.c: test HAVE_DIRENT_H instead of SYSV_SYSTEM_DIR

* s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/gnu-linux.h,
  s/msdos.h, s/usg5-4.h: don't define SYSV_SYSTEM_DIR

* sed2v2.inp (HAVE_DIRENT_H): Edit to 1

13 years agoRename s/usg5-4.h -> s/usg5-4-common.h.
Dan Nicolaescu [Thu, 29 Jul 2010 18:34:39 +0000 (11:34 -0700)]
Rename s/usg5-4.h -> s/usg5-4-common.h.
* s/usg5-4.h: Rename file to ...
* src/s/usg5-4-common.h: ... this for consistency with what we do for BSD.
* src/s/unixware.h:
* src/s/sol2-6.h:
* src/s/irix6-5.h: Update includes accordingly.

13 years ago* xfns.c (x_set_tool_bar_position): Remove debug fprintf.
Jan D [Thu, 29 Jul 2010 18:08:51 +0000 (20:08 +0200)]
* xfns.c (x_set_tool_bar_position): Remove debug fprintf.

13 years agoAdd doc and NEWS for tool-bar-position.
Jan Djärv [Thu, 29 Jul 2010 17:10:41 +0000 (19:10 +0200)]
Add doc and NEWS for tool-bar-position.

* doc/emacs/frames.texi (Tool Bars): Add doc for tool-bar-position.

* doc/lispref/frames.texi (Layout Parameters): Add doc for tool-bar-position.

13 years agoAdd ability to put Gtk+ tool bar on the left/right/bottom or top. Default top.
Jan Djärv [Thu, 29 Jul 2010 16:49:59 +0000 (18:49 +0200)]
Add ability to put Gtk+ tool bar on the left/right/bottom or top.  Default top.

* lisp/menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
(menu-bar-showhide-tool-bar-menu-customize-disable)
(menu-bar-showhide-tool-bar-menu-customize-enable-right)
(menu-bar-showhide-tool-bar-menu-customize-enable-top)
(menu-bar-showhide-tool-bar-menu-customize-enable-bottom): New functions
(menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
make a menu for Options => toolbar that can move it.

* src/frame.c (Qtool_bar_position): New variable.
(make_frame): Set tool_bar_position to Qtop.
(frame_parms): Add tool-bar-position.
(x_report_frame_params): Store tool_bar_position.
(x_set_fringe_width): Reset wm size hint after fringe changes.

* src/frame.h (struct frame): Add tool_bar_position.
(Qbottom): Declare.

* src/gtkutil.c (FRAME_TOTAL_PIXEL_WIDTH): New macro.
(xg_frame_set_char_size): Add FRAME_TOOLBAR_WIDTH to pixelwidth.
(xg_height_or_width_changed): Use FRAME_TOTAL_PIXEL_WIDTH.
(xg_create_frame_widgets): Create a hobox for placing widgets
vertically.  Use gtk_box_pack_start.
(xg_height_or_width_changed): Renamed from xg_height_changed.
(x_wm_set_size_hint): Add FRAME_TOOLBAR_WIDTH to base_width.
(xg_update_frame_menubar, free_frame_menubar): Change to
xg_height_or_width_changed.
(xg_tool_bar_detach_callback): Update left/right/top/bottom tool bar
size correctly.  Remove hardcoded 4, instead use handlebox size -
toolbar size.
(xg_tool_bar_attach_callback): Update left/right/top/bottom tool bar
size correctly.  Use handlebox size + toolbar size as additional
size.
(xg_pack_tool_bar): POS is a new parameter.
Set orientation of tool bar based on pos.
Only make handlebox_widget if NULL.
Check if tool bar goes to vbox or hbox depending on pos.
(xg_update_tool_bar_sizes): New function.
(update_frame_tool_bar): Remove old_req, new_req. Do not get tool bar
height, call xg_update_tool_bar_sizes instead.
(free_frame_tool_bar): Remove from hbox or vbox depending on
toolbar_in_hbox,  Set all FRAME_TOOLBAR_*_(WIDTH|HEIGHT) to zero.
(xg_change_toolbar_position): New function.

* src/gtkutil.h (xg_change_toolbar_position): Declare.

* src/window.c (calc_absolute_offset): Check for FRAME_TOOLBAR_TOP_HEIGHT
and FRAME_TOOLBAR_LEFT_WIDTH.

* src/xfns.c (x_set_tool_bar_position): New function.
(xic_set_statusarea): Use FRAME_TOOLBAR_TOP_HEIGHT.
(x_frame_parm_handlers): Add x_set_tool_bar_position.
(syms_of_xfns): if USE_GTK, provide move-toolbar.

* src/xterm.c (x_set_window_size_1): Add FRAME_TOOLBAR_WIDTH to pixelwidth.

* src/xterm.h (struct x_output): Add toolbar_top_height,
toolbar_bottom_height, toolbar_left_width, toolbar_right_width.  Remove
toolbar_height.
if USE_GTK: Add hbox_widget and toolbar_in_hbox.
(FRAME_TOOLBAR_TOP_HEIGHT, FRAME_TOOLBAR_BOTTOM_HEIGHT)
(FRAME_TOOLBAR_LEFT_WIDTH, FRAME_TOOLBAR_RIGHT_WIDTH): New macros.
(FRAME_TOOLBAR_HEIGHT): Is now TOP_HEIGHT + BOTTOM_HEIGHT.

13 years agoUpdate package-x to latest package.el changes.
Chong Yidong [Thu, 29 Jul 2010 16:01:14 +0000 (12:01 -0400)]
Update package-x to latest package.el changes.

* emacs-lisp/package-x.el (package--make-rss-entry):
(package-maint-add-news-item, package--update-news)
(package-upload-buffer-internal): New arg ARCHIVE-URL.

* emacs-lisp/package.el (package-archive-url): Rename from
package-archive-id.
(package-install): Doc fix.
(package-download-single, package-download-tar, package-install)
(package-menu-view-commentary): Callers changed.

13 years agoMake lisp_time_argument work on all systems.
Dan Nicolaescu [Thu, 29 Jul 2010 15:50:04 +0000 (08:50 -0700)]
Make lisp_time_argument work on all systems.
* src/lisp.h (lisp_time_argument): Move declaration ...
* src/systime.h (lisp_time_argument): ... here
* src/editfns.c (lisp_time_argument): Remove declaration.  (Bug#6751)

13 years ago* processes.texi (Process Information): Explain process property
Michael Albinus [Thu, 29 Jul 2010 13:54:03 +0000 (15:54 +0200)]
* processes.texi (Process Information): Explain process property
`remote-tty'.

13 years ago* net/tramp.el (tramp-handle-start-file-process): Check only for
Michael Albinus [Thu, 29 Jul 2010 13:13:11 +0000 (15:13 +0200)]
* net/tramp.el (tramp-handle-start-file-process): Check only for
`remote-tty' process property.
(tramp-open-shell): Don't check for tty.
(tramp-open-connection-setup-interactive-shell): Set `remote-tty'
process property.

* progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
host.

13 years agoFix some stuff that didn't compile.
Jan Djärv [Thu, 29 Jul 2010 06:59:29 +0000 (08:59 +0200)]
Fix some stuff that didn't compile.

* frame.h (Qtty_color_mode): Move declaration out of HAVE_WINDOW_SYSTEM.

* vm-limit.c (POINTER): Add typedef for it.
(start_of_data): Change return type from POINTER to char *.

13 years ago* src/vm-limit.c: Do not include sys/resource.h, mem-limits.h does it.
Dan Nicolaescu [Thu, 29 Jul 2010 06:12:38 +0000 (23:12 -0700)]
* src/vm-limit.c: Do not include sys/resource.h, mem-limits.h does it.
Remove reference to __osf__, unused.

13 years ago* src/mem-limits.h: Remove duplicated includes.
Dan Nicolaescu [Thu, 29 Jul 2010 05:58:58 +0000 (22:58 -0700)]
* src/mem-limits.h: Remove duplicated includes.
(NULL): Remove definition, unused.
(POINTER): Remove definition.
(start_of_data): Use char* in prototype, as the function
definition does.

13 years agoRemove extern declarations from .c files, and them to .h files.
Dan Nicolaescu [Thu, 29 Jul 2010 05:48:06 +0000 (22:48 -0700)]
Remove extern declarations from .c files, and them to .h files.
* src/xsmfns.c (Vuser_login_name):
* src/xrdb.c (Vdouble_click_time):
* src/xfaces.c (xic_create_fontsetname):
* src/w32select.c (waiting_for_input):
* src/print.c (minibuffer_auto_raise):
* src/msdos.c (Qhelp_echo):
* src/macros.c (real_this_command):
* src/keymap.c (Voverriding_local_map):
* src/xterm.c (poll_for_input_1, gray_bitmap_width)
(gray_bitmap_height, gray_bitmap_bits;
* src/xmenu.c ( Voverriding_local_map)
(Voverriding_local_map_menu_flag; Qmenu_item; use_dialog_box)
(use_file_dialog, Xt_app_con):
* src/xdisp.c (minibuffer_auto_raise, Voverriding_local_map)
(Voverriding_local_map_menu_flag, Qmenu_item, Qface, Qinvisible)
(Qwidth, Qinvisible, Qwindow, Qpriority, Qtool_bar_lines)
(Qtool_bar_lines, ignore_mouse_drag_p):
* src/minibuf.c (Voverriding_local_map, Qfield, Qfront_sticky)
(Qrear_nonsticky, nconc2):
* src/keyboard.c (current_global_map, minibuf_level, Qmenu_item)
(Vhistory_length, Vtranslation_table_for_input, Qcomposition)
(Qdisplay, Qafter_string, Qbefore_string, Qundefined):
* src/fileio.c (use_dialog_box, use_file_dialog, Vuser_login_name)
(minibuf_level, minibuffer_auto_raise, lisp_time_argument):
* src/eval.c (Qinteractive_form, Qrisky_local_variable, Qfunction)
(gc_in_progress):
* src/doc.c (Voverriding_local_map, Qremap):
* src/dired.c (completion_ignore_case, Qcompletion_ignore_case)
(Vcompletion_regexp_list):
* src/coding.c (Qmac, Qinsert_file_contents, Qwrite_region)
(Qcompletion_ignore_case):
* src/callint.c (Qcursor_in_echo_area, Qfile_directory_p, Qonly)
(Vhistory_length, Vthis_original_command, real_this_command)
(Qface, Qminibuffer_prompt, history_delete_duplicates):
* src/image.c (Qrisky_local_variable):
* src/fontset.c (QCname):
* src/fns.c (minibuffer_auto_raise, QCname):
* src/dispnew.c (char_ins_del_cost):
* src/composite.c (font_fill_lglyph_metrics):
* src/cmds.c (Qface, Vtranslation_table_for_input):
* src/charset.c (map_char_table_for_charset, Qfile_name_handler_alist):
* src/ccl.c (charset_unicode):
* src/callproc.c (Vtemporary_file_directory):
* src/buffer.c (emacs_strerror): Remove extern declarations.

Remove extern declarations from .c files, and them to .h files.
* src/keyboard.h (Qhelp_echo, waiting_for_input)
(input_available_clear_time, ignore_mouse_drag_p)
(Vdouble_click_time, real_this_command, Vthis_original_command):
* src/keymap.h (Qremap, Qmenu_item, Voverriding_local_map)
(Voverriding_local_map_menu_flag):
* src/lisp.h (Qinteractive_form, use_file_dialog)
(Qcursor_in_echo_area, QCascent, QCmargin, QCrelief, Qcount)
(Qextension_data, QCconversion, QCcolor_symbols, QCheuristic_mask)
(QCindex, QCmatrix, QCcolor_adjustment, QCmask)
(Qrisky_local_variable, map_char_table_for_charset, Vprint_level)
(Qfunction, debug_on_next_call, Qfield)
(Vinhibit_field_text_motion, Vuser_login_name, lisp_time_argument)
(Qpriority, Qwindow, Qevaporate, Qbefore_string, Qafter_string)
(Qfile_directory_p, Qinsert_file_contents)
(Qcompletion_ignore_case, Qcompletion_ignore_case)
(Vcompletion_regexp_list, Vhistory_length, completion_ignore_case)
(history_delete_duplicates, minibuffer_auto_raise, Qonly)
(Qfile_name_handler_alist, Qfront_sticky, Qrear_nonsticky)
(Qminibuffer_prompt)
(Vtemporary_file_directory,char_ins_del_vector, Qface):
* src/xterm.h (gray_bitmap_width, gray_bitmap_height)
(gray_bitmap_bits, xic_create_fontsetname):
* src/coding.h (Vtranslation_table_for_input): Add extern declarations.

* src/data.c (Qwindow): Make non-static, used from other files too.
* src/frame.c (validate_x_resource_name): Remove shadow definition for i.

13 years ago* lwlib/xlwmenu.c (abort_gracefully): Mark as NO_RETURN.
Dan Nicolaescu [Thu, 29 Jul 2010 04:16:23 +0000 (21:16 -0700)]
* lwlib/xlwmenu.c (abort_gracefully): Mark as NO_RETURN.

13 years ago* configure.in: Remove reference to usg5-4, unused.
Dan Nicolaescu [Thu, 29 Jul 2010 03:41:28 +0000 (20:41 -0700)]
* configure.in: Remove reference to usg5-4, unused.

13 years agoClean up unexec.c, remove references to unused code.
Dan Nicolaescu [Thu, 29 Jul 2010 03:25:08 +0000 (20:25 -0700)]
Clean up unexec.c, remove references to unused code.
* nt/config.nt: Remove code referring to NO_REMAP, unused.

* src/unexec.c (make_hdr): Remove references to NO_REMAP, COFF,
SEGMENT_MASK, SECTION_ALIGNMENT, ADJUST_EXEC_HEADER.
* src/s/usg5-4.h (COFF):
* src/s/template.h:
* src/s/msdos.h (COFF, NO_REMAP):
* src/s/ms-w32.h (NO_REMAP):
* src/s/hpux10-20.h (NO_REMAP):
* src/m/sparc.h (SEGMENT_MASK):
* src/m/m68k.h (NO_REMAP):
* src/m/intel386.h (SEGMENT_MASK):
* src/m/arm.h (NO_REMAP):
* src/m/alpha.h (COFF):
* src/m/template.h: Remove references to unused defines.

13 years agoFix typos in ChangeLogs.
Juanma Barranquero [Thu, 29 Jul 2010 02:42:53 +0000 (04:42 +0200)]
Fix typos in ChangeLogs.