1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

17046 Commits

Author SHA1 Message Date
Stefan Monnier
d5e637154f Replace completion-base-size by completion-base-position to fix bugs
such as (bug#4699).
* simple.el (completion-base-position): New var.
(completion-base-size): Mark as obsolete.
(choose-completion): Make it work for mouse events as well.
Pass the new base-position to choose-completion-string.
(choose-completion-guess-base-position): New function, extracted from
choose-completion-delete-max-match.
(choose-completion-delete-max-match): Use it.  Make obsolete.
(choose-completion-string): Use the new base-position info.
(completion-root-regexp): Delete.
(completion-setup-function): Preserve completion-base-position.
Eliminate obsolete base-size manipulation.
* minibuffer.el (display-completion-list): Don't mess with base-size.
(minibuffer-completion-help): Set completion-base-position instead.
* mouse.el (mouse-choose-completion): Redefine as a mere alias to
choose-completion.
* textmodes/bibtex.el (bibtex-complete):
* emacs-lisp/crm.el (crm--choose-completion-string):
Adjust to new calling convention.
* complete.el (partial-completion-mode): Use minibufferp to avoid
bumping into incompatible change to choose-completion-string-functions.
* ido.el (ido-choose-completion-string): Make its calling convention
more permissive.
* comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
base-size manipulation.
(comint-dynamic-list-input-ring): Use dotimes and push.
* iswitchb.el (iswitchb-completion-help): Remove dead-code call to
fundamental-mode.  Use `or'.
2009-10-15 01:50:17 +00:00
Juri Linkov
92f8bfc77b (multi-isearch-next-buffer-from-list)
(multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
2009-10-14 21:51:42 +00:00
Stefan Monnier
384ca163b3 (compile-onefile): Load bytecomp' rather than bytecomp.el'. 2009-10-14 15:13:44 +00:00
Stefan Monnier
681e0e7c02 (completion-pcm--merge-completions): Make sure the
string we return is all made up of text from the completions rather
than part from the completions and part from the input (bug#4219).
2009-10-14 15:10:09 +00:00
Stefan Monnier
e78e280d7d (ido-everywhere): Use define-minor-mode. 2009-10-14 14:53:36 +00:00
Dan Nicolaescu
52964e5474 (vc-git-dir-extra-headers): Set the branch name
correctly in the detached head case.
(vc-git-print-log): Remove unused binding.
2009-10-14 06:28:00 +00:00
Dan Nicolaescu
b4e813cad1 (vc-responsible-backend): When a directory is passed for
for registration create a VC repository if no backend is
responsible for the directory argument.
(vc-deduce-fileset): Tell vc-responsible-backend to register.
2009-10-14 06:08:47 +00:00
Dan Nicolaescu
1043ce19c8 * vc.el: Move comments about RCS and SCCS ...
* vc-rcs.el:
* vc-sccs.el: ... here, respectively.
2009-10-14 06:00:51 +00:00
Stefan Monnier
40ba988259 (completion--file-name-table): Return nil if there's
no file completion, even if substitute-in-file-name changed
the string (bug#4708).
2009-10-14 03:05:06 +00:00
Juri Linkov
04e0f59b54 (read-file-local-variable-value): Don't filter out
minor modes from mode name completion (bug#4664).
2009-10-13 22:35:44 +00:00
Juanma Barranquero
314c8e2575 * international/mule-cmds.el (ucs-names): Remove exclusion of
"Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
2009-10-13 07:45:18 +00:00
Kenichi Handa
5c9b7d3697 Regenerated. 2009-10-13 05:03:59 +00:00
Juanma Barranquero
1e7a80f247 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
should be automatically buffer-local, but isn't.)
2009-10-13 01:13:08 +00:00
Sam Steingold
0cd16af432 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
non-anchored patterns, like the perl one (bug#3928).
2009-10-12 21:04:15 +00:00
Sam Steingold
cd29f88b1d (compilation-next-error-function): Fix the
timestamps if the buffer has been visited before
2009-10-12 20:42:45 +00:00
Glenn Morris
37493a9884 (tramp-smb-do-file-attributes-with-stat): Let-bind `size'. 2009-10-12 07:02:59 +00:00
Juanma Barranquero
7422a4bb97 * proced.el (proced-unload-function): New function. 2009-10-12 04:59:04 +00:00
Juanma Barranquero
fa72d07524 * bs.el (bs-mode): Set revert-buffer-function' to bs-refresh'.
(bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.  Doc fix.
2009-10-12 04:57:46 +00:00
Juanma Barranquero
3b56b1e695 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item. 2009-10-12 00:52:23 +00:00
Juri Linkov
4d9b432332 (read-file-local-variable-value):
Provide default value only for bound variables.
2009-10-11 23:53:22 +00:00
Michael Albinus
2992485f6b *** empty log message *** 2009-10-11 15:00:46 +00:00
Michael Albinus
f6f7e059f7 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
(tramp-smb-file-name-handler-alist): Add handlers for
`add-name-to-file', `make-symbolic-link'.
(tramp-smb-handle-add-name-to-file)
(tramp-do-file-attributes-with-stat)
(tramp-smb-handle-make-symbolic-link)
(tramp-smb-get-cifs-capabilities): New defuns.
(tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
(tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
(tramp-smb-handle-file-local-copy)
(tramp-smb-handle-make-directory-internal)
(tramp-smb-handle-rename-file, tramp-smb-handle-write-region): The
file name syntax depends on cifs capabilities.
(tramp-smb-handle-file-attributes); Call
`tramp-do-file-attributes-with-stat' if possible.
(tramp-smb-handle-insert-directory): Use posix attributes if
possible.
(tramp-smb-handle-set-file-modes): It is applicable for posix
only.
2009-10-11 14:02:23 +00:00
Chong Yidong
67868d2626 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
(eieio-defclass): Apply deftype handler and setf-method properties
directly.
(eieio-add-new-slot): Avoid union function from cl library.
(eieio--typep): New function.
(eieio-perform-slot-validation): Use it.
2009-10-11 02:19:27 +00:00
Glenn Morris
4619ff5e68 (frame-height): Doc fix. 2009-10-10 23:50:10 +00:00
Karl Fogel
6d6a5b7e51 * bookmark.el
(bookmark-yank-word, bookmark-insert-current-bookmark): Update
  documentation to refer to variables documented in r1.135.
2009-10-10 21:54:13 +00:00
Karl Fogel
67b70de989 * bookmark.el
(Info-suffix-list): Remove this completely unused variable.
  (bookmark-current-point): Remove this obsolete variable.
  (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
  Adjust for removal of bookmark-current-point.

  (bookmarks-already-loaded, bookmark-current-buffer, bookmark-yank-point):
  Document.  (Bug#4188)
2009-10-10 21:48:22 +00:00
Glenn Morris
58ae51ae02 (calendar-split-width-threshold): New option.
(calendar-basic-setup): Use calendar-split-width-threshold.
2009-10-10 20:50:39 +00:00
Chong Yidong
d751f122b6 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name): Use .la
for Automake.
2009-10-10 19:15:50 +00:00
Chong Yidong
fa63f49c89 * cedet/ede/pconf.el (ede-proj-configure-synchronize): Use
"autoreconf -i".  Suggested by Andreas Schwab.
2009-10-09 20:32:02 +00:00
Juanma Barranquero
d364386c8e * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
Ideographic Supplement" range (U+1F200..U+1F2FF).
2009-10-09 13:03:17 +00:00
Karl Fogel
02d0f051aa * lisp/bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
since the list will have been rebuilt anyway.  (Bug#4349)
2009-10-09 06:50:14 +00:00
Karl Fogel
33e97a284f * lisp/bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
(bookmark-bmenu-execute-deletions): Don't save here, as bookmark-delete
  will now do so if necessary.

Suggested by: Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>
(Bug#4348)
2009-10-09 06:44:40 +00:00
Glenn Morris
9656d87b30 (report-emacs-bug): Also print `features'. 2009-10-09 06:29:56 +00:00
Karl Fogel
e6227f0652 * lisp/bookmark.el (bookmark-jump): Add new `display-func' parameter.
(bookmark-jump-other-window): Just invoke bookmark-jump with new
  argument now, so the two function's behaviors will match.  (Bug#3645)
2009-10-09 05:54:57 +00:00
Chong Yidong
4f54db4b41 * cedet/ede/proj.el (project-compile-project): Fix filename test. 2009-10-08 22:13:42 +00:00
Chong Yidong
35c7e413c5 * cedet/ede/proj.el (project-make-dist): Fix filename test.
(ede-proj-dist-makefile): Use expand-file-name instead of concat
to expand file names.
2009-10-08 22:08:49 +00:00
Michael Albinus
288f783b7a * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
case both directories are remote.
(tramp-smb-handle-expand-file-name): Implement "~" expansion.
(tramp-smb-maybe-open-connection): Flush the cache only if
necessary.
2009-10-08 15:21:31 +00:00
Chong Yidong
a6b98754c9 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
(ede-proj-target-makefile-objectcode): Use it.
2009-10-08 14:09:09 +00:00
Chong Yidong
c2a81032c8 * cedet/ede/source.el (ede-want-any-source-files-p)
(ede-want-any-auxiliary-files-p, ede-want-any-files-p): Return
search result.  This error was introduced while merging.
2009-10-08 01:49:05 +00:00
Juanma Barranquero
872a1ea427 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change. 2009-10-07 17:10:19 +00:00
Glenn Morris
ab2baced6e (batch-update-autoloads): Remove useless use of concat. 2009-10-07 16:10:31 +00:00
Stefan Monnier
5c4634c1d1 (read-file-local-variable): Include some
non-user-variables in the completion table (bug#4664).
2009-10-07 14:33:31 +00:00
Michael Albinus
c2dc9732f7 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
(tramp-smb-file-name-handler-alist): Add handler for
`copy-directory', `expand-file-name', `set-file-modes'.
(tramp-smb-handle-copy-directory)
(tramp-smb-handle-expand-file-name)
(tramp-smb-handle-set-file-modes): New defuns.
(tramp-smb-handle-copy-file): Handle KEPP-DATE.
(tramp-smb-handle-file-attributes): Simplify check for retrieving
entry.
(tramp-smb-handle-insert-directory): Don't flush the cache.
(tramp-smb-maybe-open-connection): Check for samba client and
server versions.
2009-10-07 11:31:21 +00:00
Eli Zaretskii
11be40a6f4 (batch-update-autoloads): Fix last change to not error out of search
for "^lisp=" fails.
2009-10-07 09:58:54 +00:00
Juanma Barranquero
8c4afe20df * makefile.w32-in (WINS_UPDATES): New macro.
(custom-deps, finder-data, autoloads): Use it.
2009-10-07 09:31:32 +00:00
Glenn Morris
ee2e93e2c2 (autoloads): Revert previous change. 2009-10-07 07:19:07 +00:00
Glenn Morris
429a150633 (calendar-basic-setup): In the wide frame case, show the original
buffer rather than a random one.
2009-10-07 02:57:46 +00:00
Glenn Morris
e7e2b26cc6 Markus Rost <rost at math.uni-bielefeld.de>
(describe-no-warranty): Place point in a slightly better position in
the GPLv3 text.
2009-10-07 02:52:37 +00:00
Sam Steingold
f58f7520cd (tramp-compat-process-running-p): Check that
the comm attribute is present before calling regexp-quote.
2009-10-06 19:52:15 +00:00
Juanma Barranquero
bde79dc058 * play/animate.el (animate-string): For good effect, make sure
`indent-tabs-mode' and `show-trailing-whitespace' are nil.

* play/animate.el (animate-sequence, animate-birthday-present):
* misc.el (butterfly): Don't set `indent-tabs-mode'.
2009-10-06 11:15:01 +00:00