Stefan Monnier [Wed, 11 Jun 2008 01:47:48 +0000 (01:47 +0000)]
* emacs-lisp/map-ynp.el (map-y-or-n-p): Add support for other-window-scroll.
* files.el (save-some-buffers-action-alist): Only use recursive-edit
if the user enabled recursive-minibuffers.
Stefan Monnier [Tue, 10 Jun 2008 22:01:59 +0000 (22:01 +0000)]
(completion--merge-suffix): New function.
(completion-basic-try-completion): Use it.
(completion-pcm--find-all-completions): Add argument `filter'.
(completion-pcm--filename-try-filter, completion-pcm--merge-try): New funs.
(completion-pcm-try-completion): Use them.
Chong Yidong [Tue, 10 Jun 2008 20:56:15 +0000 (20:56 +0000)]
(xg_dialog_response_cb): Rename from xg_file_response_callback.
(pop_down_dialog): Rename from pop_down_file_dialog.
(xg_get_file_name): Callers changed.
(xg_get_font_name): New function.
Stefan Monnier [Tue, 10 Jun 2008 20:22:10 +0000 (20:22 +0000)]
* xdisp.c (underline_minimum_offset): Rename from xterm.c's
x_underline_minimum_display_offset.
(syms_of_xdisp): Declare it here rather than in xterm.c.
* dispextern.h (underline_minimum_offset): Declare it.
* w32term.c (x_draw_glyph_string): Use it.
* xterm.c (x_underline_minimum_display_offset): Move to xdisp.c.
(syms_of_xterm): Don't declare it any more.
(x_draw_glyph_string): Adjust to the new name.
* cus-start.el (underline-minimum-offset) Rename from
x-underline-minimum-display-offset.
Stefan Monnier [Tue, 10 Jun 2008 20:01:54 +0000 (20:01 +0000)]
* xterm.c (x_underline_minimum_display_offset): New var.
(x_draw_glyph_string): Use it.
(syms_of_xterm): Declare it.
* cus-start.el (x-underline-minimum-display-offset): Give it a type.
Chong Yidong [Tue, 10 Jun 2008 19:55:38 +0000 (19:55 +0000)]
(menu-set-font): New function. Bind "Set Default
Font" menu item to it. Apply selected font to all frames, and
make it savable.
(menu-bar-options-save): Save `default' font if changed.
Chong Yidong [Tue, 10 Jun 2008 19:53:37 +0000 (19:53 +0000)]
* mouse.el (mouse-select-font): New function.
* faces.el (face-spec-recalc): When the face is set using
Customize, avoid recalculating it twice.
* menu-bar.el (menu-set-font): New function. Bind "Set Default
Font" menu item to it. Apply selected font to all frames, and
make it savable.
(menu-bar-options-save): Save `default' font if changed.
Stefan Monnier [Tue, 10 Jun 2008 16:08:48 +0000 (16:08 +0000)]
* window.c (Vwindow_point_insertion_type): New var.
(set_window_buffer): Use it.
(syms_of_window): Init and export it to Lisp.
* progmodes/compile.el (compilation-mode):
Set window-point-insertion-type.
(compilation-filter): Don't use insert-before-markers any more.
* emacs-lisp/trace.el (trace-make-advice):
Set window-point-insertion-type in the trace buffer.
* startup.el (normal-top-level): Set window-point-insertion-type in
*Messages*.
* net/telnet.el (telnet-mode): Set window-point-insertion-type.
(telnet-filter): Don't use insert-before-markers any more.
* comint.el (comint-mode): Set window-point-insertion-type.
(comint-output-filter): Don't use insert-before-markers any more.
* button.el (make-text-button): Allow `start' to be a string.
Glenn Morris [Tue, 10 Jun 2008 03:21:37 +0000 (03:21 +0000)]
Correct copyright years to reflect the original newsticker.el from
which most of this code was extracted, not the year it was moved into
this file.
Header formatting fix.
Glenn Morris [Tue, 10 Jun 2008 03:20:18 +0000 (03:20 +0000)]
Correct copyright years to reflect the original newsticker.el from
which most of this code was extracted, not the year it was moved into
this file.
Header formatting fix.
Glenn Morris [Tue, 10 Jun 2008 03:06:30 +0000 (03:06 +0000)]
(finder-font-lock-keywords): Handle ``quotes''.
(finder-compile-keywords): Move let to where needed.
(finder-mouse-face-on-line): Go back one more line if needed.
(finder-list-matches): Use cadr.
(finder-goto-xref): New function.
(finder-commentary): Add buttons to jump to foo.el libraries.
Stefan Monnier [Tue, 10 Jun 2008 02:44:48 +0000 (02:44 +0000)]
(apropos-function, apropos-macro, apropos-command)
(apropos-variable, apropos-face, apropos-group, apropos-widget)
(apropos-plist): Add apropos-short-label property.
(apropos-multi-type): New variables.
(apropos-command, apropos-value): Set it.
(apropos-compact-layout): New custom.
(apropos-print, apropos-print-doc): Use it.
(apropos-print): Truncate lines.
Kenichi Handa [Tue, 10 Jun 2008 02:09:15 +0000 (02:09 +0000)]
(font_intern_prop): New arg force_symbol.
(font_parse_xlfd): Adjusted for the change of font_intern_prop.
(font_parse_fcname): Likewise.
(font_parse_family_registry): Likewise.
Jason Rumney [Mon, 9 Jun 2008 12:57:42 +0000 (12:57 +0000)]
* menu.c [HAVE_NTGUI]: Include w32term.h, move widget related
defs to w32gui.h.
(single_keymap_panes, push_menu_item, push_menu_pane): Make
globally visible.