1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-04 20:27:45 +00:00

87333 Commits

Author SHA1 Message Date
Juri Linkov
2cb5f8ed9d Add dired-isearch-filenames' is dwim'. 2008-11-22 20:41:10 +00:00
Juri Linkov
5ce25ae777 (isearch-mode): Change the order of calling
`isearch-update' and running the `isearch-mode-hook' to call
`isearch-update' with Isearch parameters set in this hook.
2008-11-22 20:40:44 +00:00
Juri Linkov
b9d9c1596e (dired-isearch-filenames): Add new context-dependent
option `dwim'.  Change non-dwim option from `dired-filename' to `t'.
Doc fix.
(dired-isearch-filenames-setup): Run filename Isearch only when
dired-isearch-filenames is t or dired-isearch-filenames is `dwim'
and the text property `dired-filename' at point is non-nil.
In this case also set isearch-message-prefix-add to "filename ".
(dired-isearch-filenames-end): Set isearch-message-prefix-add to nil.
(dired-isearch-filenames, dired-isearch-filenames-regexp):
Don't let-bind isearch-message-prefix-add since this is done now
in dired-isearch-filenames-setup.
2008-11-22 20:40:28 +00:00
Juri Linkov
e1b867a0bc (Directory Variables): Rename ".dir-settings.el" to
".dir-locals.el".  Rename `define-project-bindings' to
`dir-locals-set-class-variables'.  Rename `set-directory-project' to
`dir-locals-set-directory-class'.
2008-11-22 19:08:03 +00:00
Juri Linkov
fc0318c6d5 Rename .dir-settings.el to .dir-locals.
Rename set-directory-project to dir-locals-set-directory-class.
Rename define-project-bindings to dir-locals-set-class-variables.
2008-11-22 19:06:02 +00:00
Juri Linkov
75fd7f12d5 (hack-local-variables-confirm): Rename arg `project' to
`dir-name'.  Move `(or dir-name name)' to let-binding of `name'.
(hack-local-variables-filter): Rename arg `project' to `dir-name'.
(hack-local-variables): Rename call of `hack-project-variables' to
`hack-dir-local-variables'.  Change error text to "Directory-local
variables error".
(dir-locals-class-alist): Rename from `project-class-alist'.
(dir-locals-directory-alist): Rename from `project-directory-alist'.
(dir-locals-get-class-variables): Rename from `project-get-alist'.
(dir-locals-collect-mode-variables): Rename from
`project-collect-bindings-from-alist'.  Rename arg `mode-alist' to
`mode-variables', and arg `settings' to `variables'.
(dir-locals-collect-variables): Rename from
`project-collect-binding-list'.  Rename arg `binding-list' to
`class-variables', and arg `settings' to `variables'.
(dir-locals-set-directory-class): Rename from `set-directory-project'.
(dir-locals-set-class-variables): Rename from `define-project-bindings'.
Rename arg `settings' to `variables'.
(dir-locals-file): New defconst.
(dir-locals-find-file): Rename from `project-find-settings-file'.
Use `dir-locals-file'.  Rename let-bound `settings' to `locals-file',
and `pda' to `dir-elt'.
(dir-locals-read-from-file): Rename from
`project-define-from-project-file'.  Rename arg `settings-file'
to `file'.  Rename let-bound `list' to `variables'.
(hack-dir-local-variables): Rename from `hack-project-variables'.
Rename let-bound `settings' to `variables-file', `root-dir'
to `dir-name', and `bindings' to `variables'.
2008-11-22 19:02:47 +00:00
Eli Zaretskii
a208633805 *** empty log message *** 2008-11-22 18:31:15 +00:00
Eli Zaretskii
2a79b24203 (Top): Remove "Chars and Bytes" and "Splitting Characters" from @detailmenu. 2008-11-22 18:25:05 +00:00
Eli Zaretskii
031c41dedd (Character Codes, Character Sets)
(Scanning Charsets, Translation of Characters): Update for Emacs 23.
(Chars and Bytes, Splitting Characters): Sections removed.
2008-11-22 18:22:36 +00:00
Lute Kamstra
392f0d2631 (Text Lines): Update goto-line documentation. 2008-11-22 17:37:38 +00:00
Lute Kamstra
dd18693600 * buffers.texi (Select Buffer): Index goto-line.
* basic.texi (Moving Point): Mention the use of a numeric prefix
argument with goto-line and refer to Select Buffer for the use of a
plain prefix argument.
2008-11-22 17:35:55 +00:00
Lute Kamstra
9af967bd65 (goto-line): Rename argument. 2008-11-22 17:33:06 +00:00
Eli Zaretskii
0b8e2d21df (compile-first): New target.
(recompile): Depend on compile-first.
2008-11-22 12:46:03 +00:00
Eli Zaretskii
f7a043c3c7 (recompile): Depend on compile-first. 2008-11-22 12:23:13 +00:00
Martin Rudalics
3ad96b4d0a (switch-to-buffer-other-window, switch-to-buffer-other-frame):
Rename buffer argument to buffer-or-name.  Reword and mention new
option confirm-nonexistent-file-or-buffer in doc-string.
2008-11-22 11:42:00 +00:00
Martin Rudalics
ee50ff07eb (Fswitch_to_buffer): Reword and mention new option
confirm-nonexistent-file-or-buffer in doc-string.
2008-11-22 11:35:45 +00:00
Michael Kifer
c8548a0015 2008-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
* viper.texi (viper-translate-all-ESC-keysequences): description removed.
2008-11-22 06:32:10 +00:00
Michael Kifer
8c3ad6c483 2008-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
* viper.el: date change.

	* viper-cmd.el (viper-envelop-ESC-key):
	viper-translate-all-ESC-keysequences is now a function.

	* viper-init (viper-translate-all-ESC-keysequences): make this variable
2008-11-22 06:29:09 +00:00
Stefan Monnier
33f95a82e9 (vc-follow-link, vc-find-file-hook):
Use buffer-file-truename to handle symlinks in any part of the filename.
2008-11-22 05:23:42 +00:00
Glenn Morris
8a0b63f7f4 Tweak previous change. 2008-11-22 03:39:53 +00:00
Glenn Morris
a857238c11 (vc-mtn-diff-switches): New option.
(vc-mtn-program): Rename from vc-mtn-command, for
consistency with other backends.  Keep old name as alias.
Update callers.  Make it a defcustom.
(vc-mtn-diff): Give it a doc string.  Apply diff switches.
2008-11-22 03:34:55 +00:00
Glenn Morris
e94851d3ca (vc-arch-program): Rename from vc-arch-command, for
consistency with other backends.  Make it a defcustom.
(vc-arch-command, vc-arch-trim-revlib): Adapt for above change.
2008-11-22 03:30:22 +00:00
Glenn Morris
0717d483b6 (vc-hg-program): New option.
(vc-hg-state, vc-hg-working-revision, vc-hg-command):
Use vc-hg-program rather than hard-coded "hg".
2008-11-22 03:29:03 +00:00
Glenn Morris
f9d5dc4824 Remove leading `*' from defcustom doc-strings.
(vc-svn-program): Move defcustom to start.
(vc-svn-create-repo, vc-svn-modify-change-comment):
Use vc-svn-program rather than hard-coded "svn".
2008-11-22 03:27:18 +00:00
Glenn Morris
2a5b0cd2ee Stylistic consistency fixes for various menu and help texts. 2008-11-22 03:24:10 +00:00
Glenn Morris
57a1cd7bca (kmacro-insert-counter): Doc fix. 2008-11-22 03:19:06 +00:00
Glenn Morris
3d86432513 Derek Peschel <dpeschel at eskimo.com> (tiny change)
(add_regex): Pass correct length to re_compile_pattern.
2008-11-22 03:18:03 +00:00
Stefan Monnier
8a98686533 (message-send-mail): Just set the buffer to unibyte
rather than use mm-with-unibyte-current-buffer which does a lot more.
(message-send-mail-partially): Don't bother with
mm-with-unibyte-current-buffer since it's already been made unibyte by
message-send-mail.
2008-11-21 22:26:54 +00:00
Stefan Monnier
723d286fb8 (tcl-filter): Don't forcibly move point. 2008-11-21 22:17:42 +00:00
Stefan Monnier
94579c02be (quail-indent-to): New function.
(quail-completion-1, quail-completion-list-translations)
(quail-insert-decode-map): Use it to improve alignment.
(quail-build-decode-map): Don't ignore latin-1 chars.
(quail-help): Increase the max decode-map size so that even the TeX map
gets printed.
2008-11-21 20:40:08 +00:00
Stefan Monnier
2ef435bf70 (bookmark-get-bookmark): Add `noerror' arg.
Signal error for invalid bookmark.
(bookmark-get-bookmark-record): Undo last change.
(bookmark-store, bookmark-delete): Use new arg `noerror'.
2008-11-21 19:29:16 +00:00
Stefan Monnier
3889f0fa5f (bookmark-buffer-file-name): Also abbreviate dired-dir.
Suggested by Toru TSUNEYOSHI.
2008-11-21 19:07:21 +00:00
Chong Yidong
cbe5b0eb18 (byte-compile-butlast): Move up in file.
(byte-optimize-plus): Don't call
byte-optimize-delay-constants-math (bug#1334).  Use
byte-optimize-predicate to optimize constants.
(byte-optimize-minus): Don't call
byte-optimize-delay-constants-math.  Remove zero arguments first
if possible.  Call byte-optimize-predicate to optimize constants.
(byte-optimize-multiply): Remove optimizations for arguments of 0
and 2, which may be inaccurate.  Optimize (* x -1) to (- x).  Call
byte-optimize-predicate.
(byte-optimize-divide): Leave runtime errors unchanged.
Optimize (/ x 1) to (+ x 0). Remove optimizations for arguments of
0 and 2.0, which may be inaccurate.  Call byte-optimize-predicate.
2008-11-21 18:51:48 +00:00
Chong Yidong
86edb1119d * byte-opt.el (byte-compile-butlast): Move up in file.
(byte-optimize-plus): Don't call
byte-optimize-delay-constants-math (bug#1334).  Use
byte-optimize-predicate to optimize constants.
(byte-optimize-minus): Don't call
byte-optimize-delay-constants-math.  Remove zero arguments first
if possible.  Call byte-optimize-predicate to optimize constants.
(byte-optimize-multiply): Remove optimizations for arguments of 0
and 2, which may be inaccurate.  Optimize (* x -1) to (- x).  Call
byte-optimize-predicate.
(byte-optimize-divide): Leave runtime errors unchanged.
Optimize (/ x 1) to (+ x 0). Remove optimizations for arguments of
0 and 2.0, which may be inaccurate.  Call byte-optimize-predicate.
2008-11-21 18:51:19 +00:00
Eli Zaretskii
0c123bd12e (misc): New target.
(all, info): Depend on `misc'.
2008-11-21 15:55:58 +00:00
Andreas Schwab
22a7462d96 Update. 2008-11-21 14:33:31 +00:00
Juanma Barranquero
f96f2c5bbf Fix typos in comments. 2008-11-21 12:14:07 +00:00
Juanma Barranquero
0f219a97ca * bookmark.el (bookmark-jump-noselect): Add obsolescence declaration
and remove redundant info from docstring.
2008-11-21 10:32:39 +00:00
Martin Rudalics
6a4cfb0c8f (Frames): Fix typo, add cross references, reword.
(Initial Parameters): Reword special-display-frame-alist text.
(Frames and Windows): Reword.  Describe argument norecord for
set-frame-selected-window.
(Input Focus): Describe argument norecord for select-frame.
Remove comment on MS-Windows behavior for focus-follows-mouse.
(Raising and Lowering): Mention windows-frames dichotomy in
metaphor.
2008-11-21 10:20:14 +00:00
Juanma Barranquero
4b65254d80 * isearch.el (isearch-search-string): Doc fix.
(search-exit-option, search-slow-window-lines, search-slow-speed)
  (search-upper-case, search-nonincremental-instead)
  (search-whitespace-regexp, search-ring-max, regexp-search-ring-max)
  (search-ring-update, search-highlight, isearch-lazy-highlight)
  (lazy-highlight-cleanup, lazy-highlight-initial-delay)
  (lazy-highlight-interval): Remove * from defcustom docstrings.
  (isearch-resume-in-command-history, lazy-highlight-max-at-a-time):
  Remove * from defcustom docstrings; fix typos.
  (isearch-push-state-function, isearch-help-for-help-internal)
  (isearch-help-for-help, isearch-describe-bindings)
  (isearch-describe-mode, minibuffer-local-isearch-map, isearch-mode)
  (isearch-pop-fun-state, isearch-search-fun-function)
  (isearch-lazy-highlight-search): Fix typos in docstrings.
  (isearch-yank-internal, isearch-fallback): Reflow docstrings.
  (isearch-forward): Fix typo and reflow docstring.
  (isearch-help-map): Remove unused `i' binding.  Fix typos in docstring.
  (isearch-mode-map): Don't use `let*'.
2008-11-21 10:12:57 +00:00
Martin Rudalics
af1a5cd5ae (Displaying Buffers, Vertical Scrolling)
(Horizontal Scrolling): Fix indenting and rewording issues
introduced with 2008-11-07 change.
2008-11-21 07:40:09 +00:00
Chong Yidong
08bb989956 (confirm-nonexistent-file-or-buffer): Change default to nil. 2008-11-21 06:46:18 +00:00
Chong Yidong
af690100fb * files.el (confirm-nonexistent-file-or-buffer): Change default to nil. 2008-11-21 06:46:01 +00:00
Stefan Monnier
b8ff72fad8 (Fbuffer_swap_text): Remove redundant marker manipulation.
Fix copy/paste typo.  Add checks.
2008-11-21 05:33:29 +00:00
Stefan Monnier
3be5da9e6f (isearch-search-string): Simplify and convert docstring. 2008-11-21 05:32:07 +00:00
Stefan Monnier
e1ff8dd08b (Buffer-menu-short-ellipsis): Partly undo last change. 2008-11-21 05:19:40 +00:00
Kenichi Handa
cee53ed4b8 (detect_coding_iso_2022): Reject invalid composition
sequence.
(DECODE_COMPOSITION_START): If the current source is the last
block, and the current composition doesn't end, regard this
sequence as invalid.
(decode_coding_iso_2022): Handle invalid composition sequence.
2008-11-21 02:24:40 +00:00
Juanma Barranquero
11eac3eaed * international/mule-util.el (set-nested-alist): Doc fix. Use `when'.
(lookup-nested-alist): Doc fix.
  (with-coding-priority): Reflow docstring.
  (detect-coding-with-priority): Fix typos in obsolescence declaration.
  (char-displayable-p): Reflow docstring.  Use `when'.
2008-11-20 23:07:44 +00:00
Dan Nicolaescu
d46b521475 (cal-menu-scroll-menu): Add bindings for
week forward/backward.
2008-11-20 18:14:10 +00:00
Juanma Barranquero
3fd29551d0 * ehelp.el (electric-help-map, ehelp-map): Define within defvar.
(with-electric-help): Fix typo and reflow docstring.
2008-11-20 16:57:30 +00:00