Miles Bader
041fa0d4e3
Add arch tagline
2008-06-08 18:09:06 +00:00
Eli Zaretskii
8f440b79a5
Fix last entry for .gdbinit.
2008-06-08 12:41:36 +00:00
Juanma Barranquero
0181bf6619
*** empty log message ***
2008-06-08 12:03:27 +00:00
Kenichi Handa
b2ee479e34
*** empty log message ***
2008-06-08 11:11:18 +00:00
Kenichi Handa
322081f146
*** empty log message ***
2008-06-08 11:01:55 +00:00
Andreas Schwab
a4240420ba
* menu.c [HAVE_X_WINDOWS]: Include "xterm.h".
...
* Makefile.in (menu.o): Update dependencies.
2008-06-08 09:26:02 +00:00
Andreas Schwab
660100f3bc
(Ffontset_info): Fix typo.
2008-06-08 09:01:28 +00:00
Andreas Schwab
01ef9d3692
* Makefile.in (obj): Always add menu.o
...
* emacs.c (main): Always call syms_of_menu.
* keyboard.h: Remove extra #ifdef HAVE_X_WINDOW.
2008-06-08 08:59:47 +00:00
Chong Yidong
904d8c69fa
Add note.
2008-06-08 04:39:45 +00:00
Chong Yidong
c07cbae6bd
* Makefile.in: Compile menu.c.
...
* lisp.h: Declare syms_of_menu.
* emacs.c (main): Call syms_of_menu.
* keyboard.h: Relocate platform-independent menu definitions from
xmenu.c.
* menu.c: New file. Relocate platform-independent menu
definitions from xmenu.c.
* xmenu.c: Remove platform-independent menu definitions.
(menu_items menu_items_inuse, menu_items_allocated)
(menu_items_used, menu_items_n_panes)
(menu_items_submenu_depth): Move to keyboard.h.
(init_menu_items, finish_menu_items, unuse_menu_items)
(discard_menu_items, restore_menu_items, save_menu_items)
(grow_menu_items, push_submenu_start, push_submenu_end)
(push_left_right_boundary, push_menu_pane, push_menu_item)
(keymap_panes, single_keymap_panes, single_menu_item)
(list_of_panes, list_of_items, find_and_call_menu_selection)
(xmalloc_widget_value, free_menubar_widget_value_tree)
(parse_single_submenu, digest_single_submenu)
(update_submenu_strings): Move to menu.c.
2008-06-08 04:38:11 +00:00
Chong Yidong
71015b451a
Compile menu.c.
2008-06-08 04:37:50 +00:00
Chong Yidong
febcacdd37
Declare syms_of_menu.
2008-06-08 04:37:34 +00:00
Chong Yidong
4e77ce6084
(main): Call syms_of_menu.
2008-06-08 04:37:19 +00:00
Chong Yidong
fc0bdb3330
Relocate platform-independent menu definitions from xmenu.c.
2008-06-08 04:37:01 +00:00
Chong Yidong
bf73263819
Remove platform-independent menu definitions.
...
(menu_items menu_items_inuse, menu_items_allocated)
(menu_items_used, menu_items_n_panes)
(menu_items_submenu_depth): Move to keyboard.h.
(init_menu_items, finish_menu_items, unuse_menu_items)
(discard_menu_items, restore_menu_items, save_menu_items)
(grow_menu_items, push_submenu_start, push_submenu_end)
(push_left_right_boundary, push_menu_pane, push_menu_item)
(keymap_panes, single_keymap_panes, single_menu_item)
(list_of_panes, list_of_items, find_and_call_menu_selection)
(xmalloc_widget_value, free_menubar_widget_value_tree)
(parse_single_submenu, digest_single_submenu)
(update_submenu_strings): Move to menu.c.
2008-06-08 04:36:46 +00:00
Chong Yidong
279a1d4b0b
* menu.c: New file. Relocate platform-independent menu definitions
...
from xmenu.c.
2008-06-08 04:36:08 +00:00
Stefan Monnier
4958ed94ef
(Flast_nonminibuf_frame): Handle the NULL case.
2008-06-07 13:52:12 +00:00
Miles Bader
408b8ab461
Calculate tab width based on current face, not global default
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1217
2008-06-06 23:07:50 +00:00
Stefan Monnier
87478b52f9
* window.el (display-buffer-function, special-display-p)
...
(special-display-buffer-names, special-display-regexps)
(special-display-function, same-window-p, same-window-buffer-names)
(same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
(pop-up-frame-function, pop-up-windows)
(split-window-preferred-function, split-height-threshold)
(split-width-threshold, window--splittable-p)
(window--try-to-split-window, window--frame-usable-p)
(even-window-heights, window--even-window-heights)
(window--display-buffer-1, window--display-buffer-2, display-buffer)
(pop-to-buffer): Move from window.c and buffer.c.
(split-window-preferred-horizontally): Remove.
* cus-start.el: Remove corresponding declarations.
* window.c (pop_up_windows, pop_up_frames)
(display_buffer_reuse_frames, Vpop_up_frame_function)
(Vdisplay_buffer_function, Veven_window_heights)
(Vspecial_display_buffer_names, Vspecial_display_regexps)
(Vspecial_display_function, Vsame_window_buffer_names)
(Vsame_window_regexps, split_height_threshold)
(Vsplit_window_preferred_function): Move those vars to window.el.
(display_buffer_1, Fspecial_display_p, Fsame_window_p)
(Fdisplay_buffer): Move those functions to window.el.
(syms_of_window): Remove corresponding declarations.
(display_buffer): New function.
(temp_output_buffer_show, Fother_window_for_scrolling): Use it.
* dispnew.c (Flast_nonminibuf_frame): New function.
* buffer.c (Fpop_to_buffer): Move to window.el.
2008-06-05 18:00:36 +00:00
Stefan Monnier
9e0e0d77da
(set_internal): Fix up call to let_shadows_buffer_binding_p.
2008-06-05 17:31:55 +00:00
Kenichi Handa
c006c0c8cc
(detect_coding): Fix previous change.
...
(detect_coding_system): Likewise.
2008-06-05 11:35:10 +00:00
Kenichi Handa
4a485df8be
*** empty log message ***
2008-06-05 11:34:57 +00:00
Kenichi Handa
e7438ece8c
*** empty log message ***
2008-06-05 05:48:36 +00:00
Stefan Monnier
c0dc8f64a9
(MAKE_CHAR_MULTIBYTE): Check the arg is a (uni)byte.
2008-06-05 05:45:16 +00:00
Stefan Monnier
8ba31f366f
* keymap.c (Vminibuffer_local_filename_must_match_map):
...
Rename from Vminibuffer_local_must_match_filename_map.
(syms_of_keymap):
* minibuf.c (Fcompleting_read): Adjust accordingly.
* commands.h: Rename declaration as well.
* minibuffer.el (minibuffer-local-must-match-filename-map):
Declare obsolete alias for the old name.
2008-06-05 05:44:12 +00:00
Kenichi Handa
6b1f69f1af
(Fx_family_fonts): Use font_parse_family_registry instead of
...
Ffont_put.
2008-06-05 05:40:11 +00:00
Kenichi Handa
69eb9e8b47
(Ffont_put): Don't use font_parse_family_registry for
...
family name.
2008-06-05 05:39:37 +00:00
Kenichi Handa
2ecee2d034
(Ffont_spec): Don't use font_parse_family_registry for
...
family name.
2008-06-05 05:08:57 +00:00
Kenichi Handa
ca2b2cde49
(fontset_find_font): Call font_open_for_lface with the
...
current font-spec.
2008-06-05 04:56:02 +00:00
Kenichi Handa
7740d2c7fa
(xfont_list): Don't set registry to iso8859-1 even if it
...
is unspecified.
2008-06-05 04:18:55 +00:00
Kenichi Handa
76f54ecc91
(realize_x_face): If the font-related face attributes
...
are the same s those of default face, realize a new fontset
from default->fontset.
2008-06-05 04:14:48 +00:00
Stefan Monnier
c876b227d9
* window.c (window_scroll_pixel_based_preserve_x)
...
(window_scroll_preserve_hpos, window_scroll_preserve_vpos): New vars.
(window_scroll_pixel_based, window_scroll_line_based):
Use them to preserve column positions.
(syms_of_window): Initialize them.
* indent.c (Fvertical_motion): Extend first arg to allow passing an
(HPOS . VPOS) pair.
* xdisp.c (move_it_in_display_line_to): Improve the type of its args.
(move_it_in_display_line): New wrapper.
* dispextern.h (move_it_in_display_line): Declare.
2008-06-05 03:57:09 +00:00
Juanma Barranquero
927abf37e2
(Fwindow_parameter): Return VALUE, not (PARAMETER . VALUE).
...
(Fwindow_parameters): Return copy of parameter alist. Doc fix.
(Fset_window_parameter): Return VALUE, not parameter alist. Doc fix.
2008-06-05 03:23:31 +00:00
Juanma Barranquero
9d14503e34
(Fset_window_parameter): Doc fix.
...
(Fwindow_parameters, Fwindow_parameter): Remove redundant check.
2008-06-04 21:24:29 +00:00
Juanma Barranquero
e6841c3bc8
(struct window): Add new member window_parameters.
2008-06-04 20:52:12 +00:00
Juanma Barranquero
cfbb239560
(Fwindow_parameters, Fwindow_parameter, Fset_window_parameter): New defuns.
...
(syms_of_window): Defsubr the new defuns.
(make_window): Initialize window_parameters to nil.
2008-06-04 20:50:27 +00:00
John Paul Wallington
4ba5063490
(Fdefmacro): Doc fix.
2008-06-04 14:07:53 +00:00
Kenichi Handa
c0e16b1436
(detect_coding): Fix handling of coding->head_ascii.
...
Be sure to call setup_coding_system when a proper coding system is
found.
(detect_coding_system): Fix handling of coding->head_ascii.
2008-06-04 07:53:59 +00:00
Andreas Schwab
0615d9037b
(font_prop_validate_spacing): Fix last change.
2008-06-03 20:37:41 +00:00
Kenichi Handa
eea9c5c494
*** empty log message ***
2008-06-03 11:57:01 +00:00
Kenichi Handa
e6cb3cf55f
(font_parse_fcname): Fix handling of unknown key.
2008-06-03 11:50:33 +00:00
Juanma Barranquero
2f593f4c65
Fix typos.
2008-06-03 07:40:29 +00:00
Kenichi Handa
3692570fcd
(font_prop_validate_spacing): Handle uppercase symbols.
2008-06-03 05:57:56 +00:00
Kenichi Handa
37470f4dfe
(xfont_list): Try an alias.
2008-06-03 05:57:28 +00:00
Kenichi Handa
8a1816bb4a
(char_charset): Return NULL if the arg charset_list is
...
specified and C doesn't belong to any of them.
2008-06-03 04:24:04 +00:00
Chong Yidong
17e28f6d73
(font_pixel_size): Don't take cdr of an integer.
2008-06-02 16:40:59 +00:00
Chong Yidong
6c5e8775ac
* font.c (font_pixel_size): Don't take cdr of an integer.
2008-06-02 16:40:39 +00:00
Jim Meyering
70fdbb46cd
Make "xfree (NULL)" a no-op; remove useless if-before-xfree.
...
* src/alloc.c (xfree): Return right away for a NULL arg.
* src/lread.c (nosuffix): Remove now-useless if-before-xfree tests.
* src/gtkutil.c (xg_gtk_scroll_destroy): Likewise.
* src/mac.c (create_apple_event_from_event_ref): Likewise.
(create_apple_event_from_drag_ref, cfstring_create_normalized): Likewise.
* src/doprnt.c (doprnt1): Likewise.
* src/frame.c (frame): Likewise.
* src/keyboard.c (wipe_kboard): Likewise.
* src/macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap):
(init_font_name_table, mac_unload_font, x_delete_display): Likewise.
* src/term.c (tty_default_color_capabilities, maybe_fatal)
(delete_tty): Likewise.
* src/w16select.c (string): Likewise.
* src/w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise.
* src/w32bdf.c (w32_free_bdf_font): Likewise.
* src/w32fns.c (w32_unload_font): Likewise.
* src/w32font.c (w32font_close): Likewise.
* src/window.c (size_window): Likewise.
* src/xselect.c (receive_incremental_selection): Likewise.
* src/xterm.c (x_free_frame_resources, x_delete_display): Likewise.
* src/mactoolbox.c (create_apple_event_from_drag_ref): Likewise.
* src/w32.c (stat): Likewise.
2008-06-02 06:09:17 +00:00
Jim Meyering
c2cd06e61e
remove useless if-before-free tests
...
* lib-src/ebrowse.c (xfree): Likewise.
* lib-src/etags.c (process_file_name, free_tree, free_fdesc): Likewise.
(popclass_above, Prolog_functions, Erlang_functions): Likewise.
* lib-src/pop.c (pop_quit): Likewise.
* lwlib/lwlib-Xm.c (xm_update_one_value): Likewise.
* lwlib/lwlib.c (safe_free_str, free_widget_value_tree): Likewise.
* src/editfns.c (Fset_time_zone_rule): Likewise.
* src/lread.c (nosuffix): Likewise.
* src/ralloc.c (get_bloc): Likewise.
* src/regex.c (reg_free): Likewise.
* src/xftfont.c (xftfont_open, xftfont_close): Likewise.
* src/xrdb.c (get_user_app, get_environ_db, x_load_resources): Likewise.
* src/xsmfns.c (smc_save_yourself_CB): Likewise.
2008-06-02 06:00:54 +00:00
Kenichi Handa
1d1e124535
(font_find_for_lface): Handle float font size.
...
(font_open_for_lface): Likewise.
2008-06-02 04:07:43 +00:00