Stefan Monnier [Wed, 26 Mar 2008 03:42:57 +0000 (03:42 +0000)]
(appt-buffer-name): Don't use a leading space for buffers shown to the user.
(appt-disp-window): Disable undo explicitly now that the leading space is gone.
Stefan Monnier [Wed, 26 Mar 2008 03:40:40 +0000 (03:40 +0000)]
(activate-mark): New function.
(set-mark-command): Use it with region-active-p to clean up the code.
(exchange-point-and-mark): Invert the meaning of C-u when
transient-mark-mode is active.
Glenn Morris [Wed, 26 Mar 2008 03:13:55 +0000 (03:13 +0000)]
Provide calendar before requiring cal-menu.
(oriental-holidays, solar-holidays): Assume atan always bound.
(solar-holidays): Simplify holiday-sexp calls.
Glenn Morris [Wed, 26 Mar 2008 03:12:48 +0000 (03:12 +0000)]
(calendar-after-frame-setup-hook): New name for
calendar-after-frame-setup-hooks. Update callers, make old name an
obsolete alias. Doc fix.
(calendar-frame-1): Doc fix.
Glenn Morris [Wed, 26 Mar 2008 03:11:38 +0000 (03:11 +0000)]
Require calendar rather than declaring functions.
(cal-menu-diary-menu): Remove menu headings that cause cal-bahai,
cal-islam, cal-hebrew to be loaded on starting the calendar.
Juri Linkov [Tue, 25 Mar 2008 21:48:28 +0000 (21:48 +0000)]
(minibuffer-local-map): For the command
file-cache-minibuffer-complete replace keymap minibuffer-local-map
with map which is already locally bound to minibuffer-local-map.
Stefan Monnier [Tue, 25 Mar 2008 20:12:54 +0000 (20:12 +0000)]
(map_keymap_internal): New fun.
(map_keymap): Use it.
(Fmap_keymap_internal): New fun.
(Fmap_keymap): Remove left-out test from before make_save_value.
Stefan Monnier [Tue, 25 Mar 2008 17:35:48 +0000 (17:35 +0000)]
* process.h (struct Lisp_Process): Remove filter_multibyte.
* process.c (QCfilter_multibyte): Remove.
(setup_process_coding_systems): Don't use filter_multibyte.
(Fstart_process, Fmake_network_process): Don't set filter_multibyte.
(read_process_output): Don't adjust multibyteness to filter_multibyte.
(Fset_process_filter_multibyte): Change the coding-system to
approximate the previous behavior.
(Fprocess_filter_multibyte_p): Get the multibyteness straight from the
coding-system.
Stefan Monnier [Tue, 25 Mar 2008 17:32:20 +0000 (17:32 +0000)]
(redisplay-end-trigger-functions, window-redisplay-end-trigger)
(set-window-redisplay-end-trigger, process-filter-multibyte-p)
(set-process-filter-multibyte): Mark as obsolete.
(reb-mode-common): Remove reference to bogus variable `reb-kill-buffer';
don't make hooks buffer-local, use the LOCAL arg of `add-hook'.
(reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
Remove spurious * from defcustom docstrings.
(reb-next-match, reb-prev-match, reb-enter-subexp-mode): Fix typos in messages.
(reb-mode-buffer-p): New function.
(re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
(top, reb-show-subexp, reb-auto-update, reb-auto-update, reb-delete-overlays,
reb-cook-regexp, reb-update-regexp, reb-update-overlays): Use `unless', `when'.
(re-builder-unload-function): New function.
Dan Nicolaescu [Tue, 25 Mar 2008 15:45:49 +0000 (15:45 +0000)]
(verilog-auto-output)
(verilog-auto-input, verilog-auto-inout, verilog-auto)
(verilog-delete-auto): Add optional regular expression to
AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
(verilog-signals-matching-regexp): New internal function for
signal matching.
Glenn Morris [Tue, 25 Mar 2008 03:43:46 +0000 (03:43 +0000)]
(diary-frame-parameters, calendar-frame-parameters)
(calendar-and-diary-frame-parameters): Doc fixes.
(make-fancy-diary-buffer): Remove declaration.
(calendar-dedicate-diary): Replace call to deleted function
make-fancy-diary-buffer.
(calendar-frame-setup): New function.
(calendar-one-frame-setup, calendar-only-one-frame-setup)
(calendar-two-frame-setup): Call calendar-frame-setup to do the actual
work, and mark as obsolete.
(special-display-buffer-names): Don't mess with this; it's not our business.
(cal-x-load-hook): Defvar it, and mark as obsolete.
Glenn Morris [Tue, 25 Mar 2008 03:42:01 +0000 (03:42 +0000)]
(calendar-persian-read-date): New name for persian-prompt-for-date.
Update callers, make old name an obsolete alias. Doc fix. Move
definition before use.
Stefan Monnier [Mon, 24 Mar 2008 19:42:12 +0000 (19:42 +0000)]
(casify_object): Avoid pathological N^2 worst case if
every char is changed and has a different byte-length.
(Fupcase_word, Fdowncase_word, Fcapitalize_word, operate_on_word):
Fix int -> EMACS_INT.
Stefan Monnier [Mon, 24 Mar 2008 18:43:04 +0000 (18:43 +0000)]
(finder-mode-syntax-table, finder-font-lock-keywords): New variables.
(finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
(finder-exit): Ignore errors rather than avoiding them.
Kill *Finder-package* buffer also.
Dan Nicolaescu [Mon, 24 Mar 2008 08:35:33 +0000 (08:35 +0000)]
(vc-status-printer): Use a different face for missing files.
(vc-status-hide-up-to-date): Rename from
vc-status-remove-up-to-date. Update all callers.
(vc-status-mode-map): Bind C-m.
Dan Nicolaescu [Sun, 23 Mar 2008 21:05:32 +0000 (21:05 +0000)]
(vc-status-mark-buffer-changed): Add an optional file parameter.
(vc-resynch-buffer): Use it.
(vc-delete-file): Expand the file name before using it. Be
careful to not create a new buffer with the old file contents.
Update the VC state after performing the operation.