(adjust_window_trailing_edge): New function.
(Fadjust_window_trailing_edge): New function.
(syms_of_window): defsubr it.
(window_deletion_count): New variable.
(delete_window): Update window_deletion_count.
Nick Roberts [Sun, 27 Nov 2005 01:17:47 +0000 (01:17 +0000)]
(gdb-goto-breakpoint, gdb-frames-select, gdb-threads-select):
Use `posn-set-point' instead of `mouse-set-point' because the
latter is not fbound when configured without X.
Kim F. Storm [Sat, 26 Nov 2005 19:25:36 +0000 (19:25 +0000)]
(ido-mode-map): Doc fix.
(ido-mode-common-map, ido-mode-file-map)
(ido-mode-file-dir-map, ido-mode-buffer-map): New keymaps.
(ido-define-mode-map): Rewrite. Select one of the new maps as
parent for ido-mode-map instead of building from scratch.
(ido-init-mode-maps): New defun to initialize new maps.
(ido-mode): Call it.
(ido-switch-buffer): Doc fix -- use \<ido-mode-buffer-map>.
(ido-find-file): Doc fix -- use \<ido-mode-file-map>.
Nick Roberts [Fri, 25 Nov 2005 21:34:03 +0000 (21:34 +0000)]
(gdb-info-breakpoints-custom)
(gdb-mouse-toggle-breakpoint-margin)
(gdb-mouse-toggle-breakpoint-fringe, gdb-threads-select):
Add gdb-server-prefix to keep out of command history.
(gdb-edit-register-value): New function.
(gdb-registers-mode-map): Bind mouse-2 and RET to it.
(gdb-info-registers-custom): Use above map.
Chong Yidong [Fri, 25 Nov 2005 16:35:34 +0000 (16:35 +0000)]
* info.el (Info-on-current-buffer): Record actual filename in
Info-current-file, instead of t, or a fake filename if a non-file
buffer. Make autoload.
(Info-find-node, Info-revert-find-node): No need to check for
Info-current-file nil.
(Info-set-mode-line, Info-up, Info-copy-current-node-name):
Info-current-file is now never `t'.
(Info-fontify-node): Many simplifications due to Info-current-file
always being valid. Use Info-find-file to find node filename.
David Ponce [Fri, 25 Nov 2005 07:57:21 +0000 (07:57 +0000)]
(recentf-arrange-by-rule): Handle a special `auto-mode-alist'-like
"strip suffix" rule.
(recentf-build-mode-rules): Handle second level auto-mode entries.
Chong Yidong [Fri, 25 Nov 2005 05:32:56 +0000 (05:32 +0000)]
* hi-lock.el (hi-lock-buffer-mode): Turn on font-lock.
(hi-lock-unface-buffer, hi-lock-set-file-patterns): Call
font-lock-fontify-buffer.
(hi-lock-refontify): Deleted.
(hi-lock-font-lock-hook): Turn off hi-lock when font lock is
turned off.
Chong Yidong [Thu, 24 Nov 2005 20:52:16 +0000 (20:52 +0000)]
* hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'.
Use define-minor-mode, and make it a local mode.
(hi-lock-mode): New global minor mode.
(turn-on-hi-lock-if-enabled): New function.
(hi-lock-line-face-buffer, hi-lock-face-buffer)
(hi-lock-set-pattern): Changed arguments to regexp and face
instead of a font-lock pattern. Directly set face property,
instead of refontifying.
(hi-lock-font-lock-hook): Check if font-lock is being turned on.
(hi-lock-find-patterns): Use line-number-at-pos.
(hi-lock-face-phrase-buffer): Call hi-lock-buffer-mode. Use new
arguments for hi-lock-set-pattern.
(hi-lock-find-file-hook, hi-lock-current-line)
(hi-lock-set-patterns): Deleted unused functions.
* progmodes/compile.el (compilation-setup): Don't fiddle with
font-lock-defaults.
Carsten Dominik [Thu, 24 Nov 2005 14:45:21 +0000 (14:45 +0000)]
(org-export-plain-list-max-depth): Renamed from
`org-export-local-list-max-depth'. Default values changed to 3.
(org-auto-renumber-ordered-lists,
org-plain-list-ordered-item-terminator): New options.
(org-at-item-p, org-beginning-of-item, org-end-of-item,
org-get-indentation, org-get-string-indentation,
org-maybe-renumber-ordered-list, org-renumber-ordered-list): New
functions.
(org-move-item-down, org-move-item-up): New commands.
(org-export-as-html): New classes for CSS support. Bug fix in
regular expression detecting fixed-width regions. Respect
`org-local-list-ordered-item-terminator'.
(org-set-autofill-regexps, org-adaptive-fill-function): "1)" is
also a list item.
(org-metaup, org-metadown, org-shiftmetaup, org-shiftmetadown):
New item moving functions added.
(Mac Input): Remove description of mac-command-key-is-meta. Add
descriptions of mac-control-modifier, mac-command-modifier, and
mac-option-modifier.
(Mac International): Fix description of conversion of clipboard data.
(Mac Font Specs): Add example of font customization by face attributes.
Nick Roberts [Thu, 24 Nov 2005 00:36:03 +0000 (00:36 +0000)]
(gud-speedbar-menu-items): Add gdb-speedbar-auto-raise as radio button.
(gud-speedbar-buttons): Raise speedbar if requested.
Don't match on "char **...".
(gud-speedbar-buttons): Add (pointer) value for non-leaves.
Make it editable.
Nick Roberts [Thu, 24 Nov 2005 00:34:59 +0000 (00:34 +0000)]
(gdb-speedbar-auto-raise): New function and variable.
(gdb-var-create-handler, gdb-var-list-children-handler):
Don't match on "char **...".
(gdb-var-update-handler): Find values for all variable objects.
(gdb-info-frames-custom): Identify frames by leading "#".
(DECODE_UTF_8): Remove macro.
[TARGET_API_MAC_CARBON] (cfstring_to_lisp_nodecode): New function
created from cfstring_to_lisp.
[TARGET_API_MAC_CARBON] (cfstring_to_lisp): Use it.
(xrm_get_preference_database) [TARGET_API_MAC_CARBON]: Likewise.
Luc Teirlinck [Tue, 22 Nov 2005 23:28:28 +0000 (23:28 +0000)]
(Custom-reset-standard): Make it handle Custom group
buffers correctly. (It used to throw an error in such buffers.)
Make it ask for confirmation in group buffers and other Custom
buffers containing more than one customization item.
(goto-address-fontify): Put `follow-link' property on mail and url overlays.
(goto-address-at-point): Use `posn-set-point' instead of `mouse-set-point'
because the latter is not fbound when configured without X.
Lars Hansen [Tue, 22 Nov 2005 19:25:50 +0000 (19:25 +0000)]
(ls-lisp-parse-symlink): Delete.
(ls-lisp-classify, ls-lisp-format): Delete call to ls-lisp-parse-symlink.
(ls-lisp-handle-switches): Handle symlinks to directories as directories
when ls-lisp-dirs-first in non-nil.
Nick Roberts [Tue, 22 Nov 2005 03:10:53 +0000 (03:10 +0000)]
(gdb-locals-watch-keymap): New local map.
(gdb-struct-string, gdb-array-string): New constants.
(gdb-info-locals-handler): Use them.
(gdb-reset): Reset gdb-var-list to nil.