Dan Nicolaescu [Sun, 21 Sep 2008 23:31:40 +0000 (23:31 +0000)]
* emacs.c (standard_args): Add --daemon.
(main): Disconnect from the terminal when --daemon is passed.
(is_daemon): New variable.
(Fdaemonp): New function.
(syms_of_emacs): Defsubr it.
* startup.el (command-line): Start the server when in daemon mode.
Remove leading `*' from defcustom docs.
(fortune-program-options): Doc fix. Allow to be a string again. Add :version.
(fortune-in-buffer): Handle fortune-program-options as a string.
Eli Zaretskii [Sat, 20 Sep 2008 13:06:43 +0000 (13:06 +0000)]
(Fset_quit_char, Fset_input_meta_mode, Fset_output_flow_control)
(Fcurrent_input_mode): Support MSDOS frames as well as termcap frames.
(handle_interrupt): Remove "#ifndef MSDOS" around the call to get_named_tty.
Dan Nicolaescu [Fri, 19 Sep 2008 03:35:56 +0000 (03:35 +0000)]
(struct it): Move line_wrap away from the middle of
bitfields. Move voffset in struct iterator_stack_entry after the
bitfields. Move tab_width near after another short.
* xterm.h (x_display_info): Remove `height' and `width' members.
* nsterm.h (ns_display_info): Remove `height' and `width' members.
* w32term.h (w32_display_info): Remove `height', `width',
`height_in', and `width_in' members.
* xterm.c (x_display_pixel_height, x_display_pixel_width): New
functions.
(x_calc_absolute_position): Use them.
(x_term_init): Omit removed `height' and `width' members.
* w32term.c (x_display_pixel_height, x_display_pixel_width): New
functions.
(w32_read_socket, x_calc_absolute_position): Use them.
(w32_initialize_display_info, w32_term_init): Omit removed members
of w32_display_info.
* nsterm.m (x_display_pixel_height, x_display_pixel_width): New
functions.
(ns_initialize_display_info): Omit removed members of
ns_display_info.
* xterm.c (x_display_pixel_height, x_display_pixel_width): New
functions.
(x_calc_absolute_position): Use them.
(x_term_init): Omit removed `height' and `width' members.
* xfns.c (Fx_display_pixel_width, Fx_display_pixel_height)
(compute_tip_xy): Use x_display_pixel_height and
x_display_pixel_width.
* frame.c (x_fullscreen_adjust): Use x_display_pixel_height and
x_display_pixel_width.
* xmenu.c (menu_position_func): Use x_display_pixel_height and
x_display_pixel_width.
(x_display_pixel_height, x_display_pixel_width): New functions.
(w32_read_socket, x_calc_absolute_position): Use them.
(w32_initialize_display_info, w32_term_init): Omit removed members
of w32_display_info.
(x_display_pixel_height, x_display_pixel_width): New functions.
(x_calc_absolute_position): Use them.
(x_term_init): Omit removed `height' and `width' members.
(fill_gstring_header): Don't check FROM and TO here.
(composition_compute_stop_pos): Fix handling of static composition.
(Fcomposition_get_gstring): Check FROM and TO at first.
Martin Rudalics [Tue, 16 Sep 2008 08:20:21 +0000 (08:20 +0000)]
(select-frame-set-input-focus): With non-nil
mouse-autoselect-window always move mouse cursor to frame's
selected window. Otherwise restore pre 2008-09-13 behavior.
(select-frame-by-name): Use select-frame-set-input-focus.
Paul Reilly [Mon, 15 Sep 2008 20:56:53 +0000 (20:56 +0000)]
The Rmail/mbox merge has been abandoned in favor of a restart using
the current rmail.el file. A comprehensive list of changes will be
supplied when pmail.el is morphed back into rmail.el
The current status is that pmail.el supports basic Rmail navigation
(no summary support) and shows the current message in a special
buffer using buffer-swap-text. No decoding is done yet. That is the
next step.
Stefan Monnier [Sun, 14 Sep 2008 21:16:30 +0000 (21:16 +0000)]
(diff-find-file-name): Rename `batch' to `noprompt' and
be more honest when we don't know.
(diff-tell-file-name): Don't prompt before the actual prompt.
(diff-mode): Don't prompt in add-log-buffer-file-name-function.
(diff-find-source-location): Add `noprompt' argument.
(diff-current-defun): Don't prompt.
Roland Winkler [Sun, 14 Sep 2008 16:44:44 +0000 (16:44 +0000)]
(proced-mark-face, proced-marked-face)
(proced-sort-header-face): Removed.
(proced-font-lock-keywords): Simplified.
(proced-format): Use face proced-sort-header.
(proced-format-interactive, proced-sort-interactive)
(proced-filter-interactive): Only call proced-update if the scheme
has changed.
(proced-sort-header): Use posn-actual-col-row.
Martin Rudalics [Sun, 14 Sep 2008 11:28:27 +0000 (11:28 +0000)]
(change-log-find-window): New variable.
(change-log-goto-source-1, change-log-goto-source): Set
change-log-find-window to window displaying source.
(change-log-next-error): Select window specified by
change-log-find-window.
Roland Winkler [Fri, 12 Sep 2008 16:59:57 +0000 (16:59 +0000)]
(proced-sort-header): New face.
(proced-sort-header-face): New variable.
(proced-format): Allow format value nil. Use
proced-sort-header-face for header of sort column.
(proced-format-args): New function.
(proced-grammar-alist, proced-timer-flag, proced-process-alist)
(proced-header-help-echo, proced-field-help-echo, proced-timer)
(proced-toggle-timer-flag, proced, proced-mode): Doc fix.
(proced-refine): Renamed from proced-filter-attribute. Doc fix.
(proced-sort-header): Bind also to mouse-1.
(proced-move-to-goal-column): Return position of point.
(proced-filter-interactive): Always revert listing.
(proced-format-ttname): Simplify.
(proced-update): Do not keep undo information. Put point at
beginning of buffer if we generate the first listing.
(composition_reseat_it): If the current buffer is
not associated with a window, ignore the automatic composition.
(find_automatic_composition): Likewise.