1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

82788 commits

Author SHA1 Message Date
Stefan Monnier
2f65ac9e19 (PC-do-completion): Be more robust in the presence of
unexpected values in minibuffer-completion-predicate.
2008-04-23 18:39:22 +00:00
Stefan Monnier
e8a5fe3ed8 (read-file-name): Don't let-bind default-directory.
Only abbreviate default-filename if it's a file.
2008-04-23 18:37:50 +00:00
Stefan Monnier
dbd50d4b77 * lisp/minibuffer.el (read-file-name-function, read-file-name-predicate)
(read-file-name-completion-ignore-case, insert-default-directory):
New vars, moved from fileio.c.
(read-file-name): New fun, moved from fileio.c.
* lisp/cus-start.el: Remove insert-default-directory and
read-file-name-completion-ignore-case.
* src/fileio.c (Vread_file_name_function, Vread_file_name_predicate)
(read_file_name_completion_ignore_case, insert_default_directory)
(Qdefault_directory): Move to minibuffer.el.
(Fread_file_name): Call the new `read-file-name' instead.
2008-04-23 18:19:57 +00:00
Stefan Monnier
1160644b5d (emacs-deps): Leave it empty. 2008-04-23 18:01:46 +00:00
Stefan Monnier
1b2679cf65 Replace table-cell-horizontal-char -> table-cell-horizontal-chars. 2008-04-23 16:47:45 +00:00
Magnus Henoch
419625f7f6 (tar-untar-buffer): If the entry has directory link type, extract it
as a directory even if its file name doesn't end with a slash.  Fixes
extraction of NetBSD tar archives.
2008-04-23 16:46:57 +00:00
Stefan Monnier
1b0a6c68e6 (server-start): Also don't get confused by CRs since we
don't quote them.
2008-04-23 15:37:07 +00:00
YAMAMOTO Mitsuharu
9f0d1d6f74 (mac-ts-active-input-buf): Move defvar to macterm.c. 2008-04-23 08:57:18 +00:00
YAMAMOTO Mitsuharu
1289aeb85c (x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]:
Make functions non-static.
2008-04-23 08:56:42 +00:00
YAMAMOTO Mitsuharu
415cf4bcd1 (Vmac_ts_active_input_buf) [USE_MAC_TSM]: Add extern.
(fast_find_position, x_y_to_hpos_vpos, mac_ax_selected_text_range):
(mac_ax_number_of_characters): Add externs.
(mac_get_selected_range, mac_store_buffer_text_to_unicode_chars)
[USE_MAC_TSM]: Likewise.
(mac_handle_text_input_event) [MAC_OSX]:
Handle kEventTextInputOffsetToPos for no active input area case.
Handle kEventTextInputPosToOffset and kEventTextInputGetSelectedText.
(mac_handle_document_access_event)
[MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New function.
(install_application_handler) [MAC_OSX]: Register handlers for
kEventTextInputPosToOffset and kEventTextInputGetSelectedText.
(install_application_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
Register mac_handle_document_access_event.
2008-04-23 08:56:20 +00:00
YAMAMOTO Mitsuharu
e1adb1392e (Vmac_ts_active_input_buf) [USE_MAC_TSM]: New variable.
(syms_of_macterm) [USE_MAC_TSM]: Defvar it.
(Qmouse_drag_overlay) [MAC_OSX]: New variable.
(syms_of_macterm) [MAC_OSX]: Intern and staticpro it.
(mac_get_selected_range, mac_store_buffer_text_to_unicode_chars)
(mac_ax_selected_text_range) [MAC_OSX]: New functions.
(mac_ax_number_of_characters) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
Likewise.
2008-04-23 08:56:12 +00:00
Miles Bader
9268294b0f Add .arch-inventory files in lisp/calc and lisp/calendar
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1123
2008-04-23 08:54:31 +00:00
Miles Bader
a113b3ca32 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
2008-04-23 05:55:42 +00:00
Juanma Barranquero
e96a8d6dc0 *** empty log message *** 2008-04-23 05:15:42 +00:00
Juanma Barranquero
c5d69a9713 (speedbar-use-tool-tips-flag, speedbar-ignored-directory-regexp,
speedbar-file-unshown-regexp, speedbar-file-regexp, speedbar-message,
speedbar-item-info, speedbar-files-item-info,
speedbar-maybe-add-localized-support, speedbar-insert-files-at-point,
speedbar-dynamic-tags-function-list, speedbar-generic-list-positioned-group-p,
speedbar-insert-generic-list, speedbar-fetch-replacement-function,
speedbar-extract-one-symbol, speedbar-separator-face): Fix typos in docstrings.
(speedbar-stealthy-function-list, speedbar-verbosity-level)
(speedbar-supported-extension-expressions, speedbar-update-current-file)
(speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
(speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
(speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
(speedbar-show-info-under-mouse, speedbar-directory-buttons)
(speedbar-check-vc-this-line, speedbar-files-line-directory)
(speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
(speedbar-buffers-line-directory, speedbar-recenter-to-top)
(speedbar-recenter): Doc fixes.
(speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
declaration and remove redundant info in docstring.
2008-04-23 04:46:10 +00:00
Dan Nicolaescu
c8149699a2 (vc-git-status-printer): Deal with directories. 2008-04-23 04:07:11 +00:00
Dan Nicolaescu
adc3afb0a7 (vc-next-action): Look at more than the first file to
determine the state.
2008-04-23 04:05:26 +00:00
Glenn Morris
32b3f9e3b8 (calendar-other-dates): Revert previous change; absolute-date was
already there (as "RD" date).
2008-04-23 03:27:13 +00:00
Glenn Morris
83d67b5692 Fix comment typo. 2008-04-23 03:07:56 +00:00
Glenn Morris
95d8772fc5 Add holiday-chinese, diary-remind. 2008-04-23 03:06:37 +00:00
Glenn Morris
968560df8d (diary-list-sexp-entries): Doc fix.
(diary-remind): Allow negative DAYS to represent a range 1:DAYS.
Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2008-04-23 03:06:11 +00:00
Glenn Morris
418c2f01e1 (holiday-chinese-qingming, holiday-chinese-winter-solstice)
(holiday-chinese): New functions.
2008-04-23 03:03:43 +00:00
Glenn Morris
43c783b89a (holiday-oriental-holidays): Add more holidays. 2008-04-23 03:00:29 +00:00
Glenn Morris
7717093cb5 (calendar-chinese-all-holidays-flag): New.
(calendar-other-dates): Add absolute date.
2008-04-23 02:59:47 +00:00
Glenn Morris
b36917033f (holiday-islamic): Doc fix. 2008-04-23 02:59:15 +00:00
Glenn Morris
d811a2c435 (tree-widget-image-enable): Use display-images-p rather than an Emacs
version test.
2008-04-23 02:58:55 +00:00
Glenn Morris
e234202b48 (speedbar-use-tool-tips-flag): Check for tooltip-mode, rather than
using an Emacs version test.
2008-04-23 02:58:26 +00:00
Glenn Morris
037f214b3a (ps-color-device): Drop support for XEmacs < 19.12. 2008-04-23 02:57:57 +00:00
Glenn Morris
e28acf63e2 (ediff-check-version): Drop support for very old Emacs versions. Add
doc-string.  Mark as obsolete.
2008-04-23 02:57:36 +00:00
Glenn Morris
5b86d3e4b1 (dframe-have-timer-flag): Drop support for Emacs without timers. Doc fix.
(dframe-update-speed): Drop support for XEmacs < 20.
(dframe-frame-mode): Drop support for Emacs < 20.
(dframe-set-timer-internal): Drop support for Emacs without timers.
(dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
2008-04-23 02:57:11 +00:00
Nick Roberts
7446b6573e (gdb-previous-frame-address): Rename...
(gdb-previous-frame-pc-address): ...to this.
(gdb-get-selected-frame): Use MI command -stack-info-frame instead
of "info frame" with Gdb 6.4+.
(gdb-stack-list-frames-regexp): New regexp.
(gdb-frame-handler-1): Parse output of -stack-info-frame
2008-04-23 02:50:24 +00:00
Nick Roberts
91bd4e50ab *** empty log message *** 2008-04-23 02:48:40 +00:00
Juri Linkov
034e32b05a (tar-prefix-offset): New constant.
(tar-header-block-tokenize): Support paths with long names
which use the "ustar" standard.
2008-04-22 22:51:00 +00:00
Juri Linkov
ebdb6f22b1 (image-dired-track-original-file)
(image-dired-modify-mark-on-thumb-original-file):
Use `dired-goto-file' instead of `search-forward'.  This solves
a bug with finding files where the file name is a subset of other
file names.  Doc fix.
2008-04-22 22:49:02 +00:00
Juri Linkov
367c9b7c85 (Subdirectories in Dired): Describe using @samp{^}
to return to the parent directory.
2008-04-22 20:39:20 +00:00
Juri Linkov
d3434a5b8a (buffers-menu-max-size): Move its definition down to
the "Buffers Menu" section.  Change group name `mouse' to `menu'.
(yank-menu-length): Change group name `mouse' to `menu'.
(buffers-menu-buffer-name-length): New user option.
(menu-bar-update-buffers): Use buffers-menu-buffer-name-length
instead of the hard-coded number 27.
2008-04-22 20:36:08 +00:00
Juri Linkov
320bc739d3 Isearch help map. 2008-04-22 20:32:56 +00:00
Juri Linkov
b92368b471 (eval-when-compile): Require `help-macro'.
(isearch-help-for-help-internal): Isearch specific Help screen
created by `make-help-screen'.
(isearch-help-map): New variable that binds "b", "k", "m" to
isearch-specific commands, and binds other keys to
isearch-other-control-char, thus allowing other Help keys to
exit isearch mode and execute their global definitions.
(isearch-help-for-help, isearch-describe-bindings)
(isearch-describe-key, isearch-describe-mode): New commands.
(isearch-mode-help): Define alias to isearch-describe-mode
and remove its old function definition.
(isearch-mode-map): Bind "\C-h" to isearch-help-map.
Remove old comments because this issue is settled now.
(isearch-forward): Describe three new Help commands in the docstring.
(isearch-mode): Remove \\{isearch-mode-map} from the docstring,
leave the single sentence at the first line of the docstring,
and prepend the word "function" before `isearch-forward'
to make the Help link to the function instead of variable.
2008-04-22 20:32:23 +00:00
Juri Linkov
0ec3382b01 (Info-search): In two similar places that skip
undesired search matches move code to Info-search-success-function,
and call `isearch-success-function' instead.
(Info-search-success-function): New function copied from code
in Info-search.  Replace isearch-range-invisible with
text-property-not-all that checks for 'invisible and 'display
properties to skip partially invisible matches (whose display
properties were set by Info-fontify-node).
(Info-mode): Set buffer-local isearch-success-function
to Info-search-success-function.
2008-04-22 19:57:58 +00:00
Juri Linkov
5e189f398c (isearch-success-function): New variable with default
to `isearch-success-function-default'.
(isearch-search): Call a function from `isearch-success-function'
instead of calling the hard-coded `isearch-range-invisible'.
(isearch-success-function-default): New function that calls
`isearch-range-invisible' and inverts its return value.
2008-04-22 19:56:17 +00:00
Juri Linkov
a300181f28 Mailcap commands for the default list. 2008-04-22 19:55:21 +00:00
Juri Linkov
d3a89b9eab (dired-smart-shell-command): Sync arguments and
interactive spec with changes in `shell-command'.
Use dired-get-filename to get the dired file name at point
as the default value in dired mode.
2008-04-22 19:54:27 +00:00
Juri Linkov
905eb9ff9e (dired-read-shell-command-default): Move it to
gnus/mailcap.el and change its name to more general name
mailcap-file-default-commands.
(minibuffer-default-add-dired-shell-commands): New function.
Use declare-function for mailcap-file-default-commands from "mailcap".
(dired-read-shell-command): Set local minibuffer-default-add-function
to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
before calling read-shell-command.  Remove dired-read-shell-command-default
from the default value arg because default values are not set in
minibuffer-default-add-dired-shell-commands.  Doc fix.
2008-04-22 19:51:57 +00:00
Juri Linkov
a837fe74bf (mailcap-file-default-commands): New function. 2008-04-22 19:51:27 +00:00
Juri Linkov
a98a2fe87a (minibuffer-default-add-shell-commands): New function.
Use declare-function for mailcap-file-default-commands from "mailcap".
(shell-command): Set local minibuffer-default-add-function to
minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
before calling read-shell-command.  Set 4th arg default-value of
read-shell-command to relative buffer-file-name in file buffers.
2008-04-22 19:50:11 +00:00
Juri Linkov
88970542ac (Fswitch_to_buffer): Change interactive spec to call
read-buffer-to-switch instead of using the letter "B".
2008-04-22 19:49:26 +00:00
Juri Linkov
e4c0cccf13 (read-buffer-to-switch): New function.
(switch-to-buffer-other-window, switch-to-buffer-other-frame):
Change interactive spec to call read-buffer-to-switch instead of
using the letter "B".
2008-04-22 19:48:02 +00:00
Juri Linkov
8b04c0ae76 (internal-complete-buffer-except): New function. 2008-04-22 19:47:13 +00:00
Juanma Barranquero
d585001909 (Info-complete-menu-item): Add missing parenthesis. 2008-04-22 15:49:43 +00:00
Stefan Monnier
494858be8a (Info-complete-menu-item): Save point. 2008-04-22 15:36:53 +00:00