Katsumi Yamaoka [Mon, 15 Dec 2008 04:15:35 +0000 (04:15 +0000)]
(mm-charset-eval-alist): Define it before mm-charset-to-coding-system.
(mm-charset-to-coding-system): Add optional argument `silent';
define it before mm-charset-override-alist.
(mm-charset-override-alist): Add `(gb2312 . gbk)' to the default value if it
can be used in Emacs currently running; silence mm-charset-to-coding-system.
Roland Winkler [Sun, 14 Dec 2008 17:41:29 +0000 (17:41 +0000)]
(proced-grammar-alist): Allow refiner elements that
are cons pairs (function . help-echo) or nil.
(proced-refine): Use them.
(proced-format-alist): Allow alternatives.
(proced-descend): New variable.
(proced-sort): New arg descend.
(proced-sort-interactive): Repeated calls toggle sort order.
(proced-format): Accomodate changes of proced-format-alist.
Undefined attributes are displayed as "?".
(proced-process-attributes): New optional arg pid-list.
Ignore processes with empty attribute list.
Roland Winkler [Sun, 14 Dec 2008 17:31:34 +0000 (17:31 +0000)]
(proced-auto-update-interval): Renamed from proced-timer-interval.
(proced-auto-update-flag): Renamed from proced-timer-flag.
(proced-auto-update-timer): Renamed from proced-timer.
(proced-toggle-auto-update): Renamed from proced-toggle-timer-flag.
(proced-available): Initialize appropriately.
Jason Rumney [Sat, 13 Dec 2008 17:56:27 +0000 (17:56 +0000)]
* w32font.c (intern_font_name): New function.
(add_font_name_to_list, w32_enumfont_pattern_entity): Use it.
(w32font_open_internal, Fx_select_font): Decode font name.
(fill_in_logfont, list_all_matching_fonts): Encode font name.
* w32font.h (intern_font_name): Declare new function.
* w32uniscribe.c (add_opentype_font_name_to_list):
Use intern_font_name.
Chong Yidong [Sat, 13 Dec 2008 14:19:56 +0000 (14:19 +0000)]
(pmail-output-to-babyl-file): Rewrite, assuming mbox
internal format.
(pmail-convert-to-babyl-format, pmail-nuke-pinhead-header): New
functions, moved from pmail.el.
Chong Yidong [Sat, 13 Dec 2008 14:19:24 +0000 (14:19 +0000)]
* pmailout.el (pmail-output-to-babyl-file): Rewrite, assuming mbox
internal format.
(pmail-convert-to-babyl-format, pmail-nuke-pinhead-header): New
functions, moved from pmail.el.
Chong Yidong [Sat, 13 Dec 2008 05:44:38 +0000 (05:44 +0000)]
(struct xim_inst_t): Definition moved to xterm.h.
(xim_initialize): Save pointer to callback function data.
(xim_close_dpy): Free callback function data. Call XCloseIM,
reverting 2008-11-04 change by David Smith.
(x_term_init): Don't initialize the image cache here; it will be
done in init_frame_faces. Remove ancient "null_pixel" cruft.
(x_delete_display): Free x_dnd_atoms member.
Chong Yidong [Sat, 13 Dec 2008 05:39:41 +0000 (05:39 +0000)]
* w32term.c (w32_term_init): Don't initialize the image cache
here; it will be done in init_frame_faces.
* xterm.h (struct xim_inst_t): Definition moved from xterm.c.
(struct x_display_info): Remove unused member null_pixel. New
member xim_callback_data.
* xterm.c (struct xim_inst_t): Definition moved to xterm.h.
(xim_initialize): Save pointer to callback function data.
(xim_close_dpy): Free callback function data. Call XCloseIM,
reverting 2008-11-04 change by David Smith.
(x_term_init): Don't initialize the image cache here; it will be
done in init_frame_faces. Remove ancient "null_pixel" cruft.
(x_delete_display): Free x_dnd_atoms member.
Kenichi Handa [Sat, 13 Dec 2008 03:29:47 +0000 (03:29 +0000)]
(font_rescale_ratio): Moved from xfaces.c. Argument
type changed. Handle a font-spec too.
(font_score): Check Vface_font_rescale_alist.
(font_open_entity): Likewise.
* server.el (server-sentinel): Uncomment code to delete connection file.
(server-start): Save the connection file in the server property list.
Delete it only when we are reasonably convinced that it is not owned by
a running server.
(server-force-delete): New command to force-delete the connection file,
and stop the server if it is running.
(server-running-p): Return t also for local TCP servers when we find a
process with a matching PID, and :other for undecided cases.
Martin Rudalics [Thu, 11 Dec 2008 17:17:44 +0000 (17:17 +0000)]
(fit-window-to-buffer): Use with-selected-window and
condition-case. Do not delete more windows than necessary in
the shrinking (delta < 0) case. Do not raise an error when the
containing frame is too small to show all of buffer. (Bug#1488)
* process.c (Fsystem_process_attributes, syms_of_process):
Fix typo in name of Ssystem_process_attributes.
Reported by Ulrich Mueller <ulm@kph.uni-mainz.de>.
Chong Yidong [Wed, 10 Dec 2008 21:50:23 +0000 (21:50 +0000)]
(pmail-perm-variables): Don't call pmail-parse-file-inboxes.
(pmail-parse-file-inboxes): Function deleted.
(pmail-get-new-mail-1): Function merged into pmail-get-new-mail.
(pmail-get-new-mail-2): Renamed to pmail-get-new-mail-1.
(pmail-get-new-mail-filter-spam): Call rmail-spam-filter, not
pmail-spam-filter.
(pmail-convert-to-babyl-format): Function deleted.
(pmail-nuke-pinhead-header): Function deleted.
(pmail-reply): Parsing headers in mbox format. Call
rmail-dont-reply-to instead of pmail-dont-reply-to.
Chong Yidong [Wed, 10 Dec 2008 21:48:55 +0000 (21:48 +0000)]
* pmail.el (pmail-perm-variables): Don't call pmail-parse-file-inboxes.
(pmail-parse-file-inboxes): Function deleted.
(pmail-get-new-mail-1): Function merged into pmail-get-new-mail.
(pmail-get-new-mail-2): Renamed to pmail-get-new-mail-1.
(pmail-get-new-mail-filter-spam): Call rmail-spam-filter, not
pmail-spam-filter.
(pmail-convert-to-babyl-format): Function deleted.
(pmail-nuke-pinhead-header): Function deleted.
(pmail-reply): Parsing headers in mbox format. Call
rmail-dont-reply-to instead of pmail-dont-reply-to.