1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

45 Commits

Author SHA1 Message Date
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Glenn Morris
59f3a54345 (locate-in-alternate-database): Doc fix mistakenly left out of
previous change ("command" -> "program").
2007-04-28 19:44:06 +00:00
Glenn Morris
8baa97f9c5 Luc Teirlinck <teirllm at dms.auburn.edu>:
(locate-in-alternate-database): Doc fix.
2007-04-26 03:43:10 +00:00
Chong Yidong
20bf672efe Add comment. 2007-04-23 22:12:05 +00:00
Chong Yidong
7861843e91 (locate-local-prompt): New var.
(locate-prompt-for-search-string): New function.
(locate): Make locate-local-prompt buffer-local.  Use
locate-prompt-for-search-string.
(locate-with-filter): New optional arg.  Use
locate-prompt-for-search-string.
(locate-update): Bind locate-prompt-for-command.
2007-04-23 14:54:04 +00:00
Chong Yidong
1f8330fb64 Revert 2006-09-09 and 2007-04-20 changes.
(locate-local-filter, locate-local-search): New vars.
(locate): Make variables local.
(locate-update): Bind locate-buffer-name.  Call locate using
locate-local-filter and locate-local-search.
2007-04-21 03:28:56 +00:00
Chong Yidong
c8785218b0 (locate): Output from shell-command should go in the current buffer
rather than *Shell Command Output*.
2007-04-20 13:58:01 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Juanma Barranquero
a861d465fd (locate-main-listing-line-p, locate-mode, locate-do-setup): "?\ " -> "?\s". 2006-11-27 13:54:56 +00:00
Eli Zaretskii
7b26001712 (locate-current-search): New variable.
(locate): Set buffer local value.  Use current buffer if it is in Locate mode.
(locate-mode): Disable undo here.
(locate-do-setup): Use locate-current-filter from buffer to be killed.
(locate-update): Use locate-current-search and locate-current-filter.
2006-09-09 10:34:23 +00:00
Luc Teirlinck
e8fc997ccb (locate-update-when-revert): New option.
(locate-update-path): New option (suggested by Michael Albinus).
(locate-prompt-for-command): Whitespace change.
(locate-update): No longer offer to update the locate database by
default.  Implement the two new options.
2006-07-04 00:03:53 +00:00
Luc Teirlinck
18886d549f (locate-command, locate-make-command-line)
(locate-fcodes-file, locate-update-command)
(locate-prompt-for-command, locate, locate-with-filter)
(locate-get-file-positions): Doc fixes.
(locate-buffer-name, locate-header-face): Remove leading `*' in defcustom.
(locate-filter-output): Use `keep-lines' instead of its alias
`delete-non-matching-lines'.
(locate-get-filename, locate-get-dirname): Add introductory comment.
(locate-find-directory-other-window): Give appropriate error
message if used outside main listing.
2006-03-16 01:43:59 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Juri Linkov
e0063bf6eb * locate.el (locate-fcodes-file, locate-header-face):
Add tag "None" to const nil.
2005-12-30 05:55:43 +00:00
Richard M. Stallman
0e10acf613 (locate-header-face): Allow nil in type. 2005-12-25 19:00:33 +00:00
Juri Linkov
e242b6c447 (locate): Disable undo in *Locate* buffer. 2005-12-09 09:56:39 +00:00
Michael Albinus
9bc260cfb7 * files.el (directory-listing-before-filename-regexp): New
defvar.  Replaces `dired-move-to-filename-regexp' from dired.el.

* dired.el (dired-move-to-filename-regexp): Removed.  All
occurences replaced by `directory-listing-before-filename-regexp'.

* dired-x.el, locate.el, vc.el: Replace
`dired-move-to-filename-regexp' by
`directory-listing-before-filename-regexp'.  In vc.el it is
overwritten locally; maybe this can be handled in files.el too.

* net/ange-ftp.el (ange-ftp-date-regexp): Removed.  All occurences
replaced by `directory-listing-before-filename-regexp'.

* faq.texi (Bugs and problems): Replace
`dired-move-to-filename-regexp' by
`directory-listing-before-filename-regexp'.
2005-10-23 12:17:28 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Lute Kamstra
9b5e13c4f8 (locate-mode): Use run-mode-hooks. 2005-05-26 13:04:16 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Luc Teirlinck
34bb9b0ac2 (locate-ls-subdir-switches): Minor doc change (filling). 2004-06-06 17:01:43 +00:00
Luc Teirlinck
2f9a6938e2 (locate-ls-subdir-switches): Doc fix. 2004-06-06 03:45:59 +00:00
Luc Teirlinck
271a87e8cf Merge the two `Commentary' sections.
(locate-ls-subdir-switches): New user option.
(locate): Update for other changes.
(locate-mode-map): Restore Dired binding for mouse-2.
Bind `locate-mouse-view-file' to M-mouse-2.
Bind `l' to `locate-do-redisplay'.
(locate-main-listing-line-p, locate-do-redisplay): New functions.
(locate-mouse-view-file, locate-tags, locate-find-directory):
Print message if used outside main listing.
(locate-mode): Update docstring.  Make `*Locate*' buffer read-only.
Various changes to support inserted subdirectories.
(locate-insert-header): Change header of *Locate* buffer.
2004-06-06 02:29:18 +00:00
Luc Teirlinck
442c815028 (locate-prompt-for-command): Shorten first line of docstring.
(locate-mode): Expand docstring and include keymap summary.
2004-05-21 03:12:10 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Pavel Janík
c19813f3f5 (locate): Remove dot at the end of error argument. 2001-12-25 11:07:45 +00:00
Richard M. Stallman
bca3a805d5 (locate): Put point at first matching file rather than top of buffer. 2001-11-28 13:08:40 +00:00
Richard M. Stallman
fe8c721271 (locate): Show default locate pattern within the
prompt, but don't insert it into the minibuffer contents.  Catch
the case when pattern is the empty string.
2001-11-17 15:42:19 +00:00
Gerd Moellmann
5421b8996b (locate-insert-header): Remove unnecessary
whitespaces.
2001-09-07 13:33:09 +00:00
Peter Breton
8348e1f959 (locate) Cleaned up locate command's interactive prompting
Thanks to Fran�s_Pinard <pinard@iro.umontreal.ca> for suggestions
2000-08-28 20:35:45 +00:00
Dave Love
f947a7faf0 Add finder keywords. 2000-05-24 15:24:37 +00:00
Peter Breton
96c1776c80 Add locate-word-at-point function
In locate function, default to using locate-word-at-point as input
Run dired-mode-hook in locate function
2000-03-30 09:33:17 +00:00
Gerd Moellmann
9be8f65795 (locate-with-filter): Doc fix. 1999-11-24 16:21:12 +00:00
Peter Breton
83346ee87b (locate-in-alternate-database): Added this function
(locate): Added locate-post-command-hook.
(locate-prompt-for-command): Added this variable.
(locate): If locate-prompt-for-command is set, prompt for a command
  to run to populate the locate buffer as the default behavior.
(locate-update): Add prefix arg to locate call.
(locate-with-filter): Add prefix arg to locate call.
(locate): Add prefix arg. If set, the function prompts the user
(locate-mouse-face): No longer needed.
(locate-mode): Setup `dired-subdir-alist' cleanly using `dired-alist-add-1'.
(locate-set-properties): Set properties cleanly using
`dired-insert-set-properties', giving dired like output.
  for a command to run instead of the default one.
(locate-grep-history-list): Added this variable.
(locate-with-filter): Use locate-grep-history-list instead of grep-history.
(locate-filter-output): filter is not regexp-quoted.
(locate-mode-map): Added keybinding for locate-find-directory.
  Changed keybinding for "U" from dired-unmark-all-files-no-query
  to dired-unmark-all-files.
(locate-find-directory): Added this function.
(locate-find-directory-other-window): Added this function.
(locate-get-dirname): Added this function.
(locate-mouse-view-file): Renamed mouse-locate-view-file to this name.
1999-10-16 03:47:06 +00:00
Dan Nicolaescu
1d96c2ff76 *** empty log message *** 1998-06-03 16:40:32 +00:00
Richard M. Stallman
4721cccfb6 (locate): Doc fix. 1998-04-16 18:49:41 +00:00
Richard M. Stallman
dc268724ec (locate-current-line-number): No longer interactive. 1998-03-14 21:45:49 +00:00
Richard M. Stallman
be8bf2d0b0 (locate-update): New function.
(locate-current-line-number): Renamed from `current-line'.
(locate-default-make-command-line): Use list, not cons.
(locate): Added a `save-window-excursion' form.
(locate): Used an `apply' form for the start-process call.
(locate-mode): Now has a `revert-buffer-function'
(locate-do-setup): Now longer deletes window.
(locate-header-face): Use underline, not region.
(locate-update-command): New option.
(locate-command): Changed from defvar to defcustom.
(locate-make-command-line): Changed from defvar to defcustom.
(locate-fcodes-file): Changed from defvar to defcustom.
(locate-mouse-face): Changed from defvar to defcustom.
1998-03-03 18:17:02 +00:00
Stephen Eglen
d979dc2b3d Customized. 1998-02-04 19:24:34 +00:00
Richard M. Stallman
092af6d867 Comment change. 1997-04-20 07:33:52 +00:00
Richard M. Stallman
5c6a8dfe15 (locate-mode): Locally set dired-move-to-filename-regexp,
dired-permission-flags-regexp, and dired-actual-switches.
(locate-set-indentation): Function deleted.
(locate-insert-header): Don't indent the header line.
(locate-indentation-string): Variable deleted.
(locate-do-setup): Rewrite the loop that adds indentation.
1996-12-31 18:31:13 +00:00
Richard M. Stallman
6aea3b07e8 Initial revision 1996-12-30 04:22:22 +00:00