1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 05:52:32 -08:00
Commit graph

92403 commits

Author SHA1 Message Date
Glenn Morris
1dee7c238b (pcomplete-erc-all-nicks): Autoload it, to silence compiler. 2009-10-24 03:54:58 +00:00
Glenn Morris
595521d74c (pcomplete-erc-all-nicks): Autoload it, to silence compiler.
(pcomplete/erc-mode/DCC): Replace cl-function remove-duplicates with
erc-delete-dups.
2009-10-24 03:54:50 +00:00
Glenn Morris
ae73233745 (file-cache-completions-keymap): Bind mouse-2 to
file-cache-choose-completion.
(file-cache-choose-completion): Handle an optional event argument.
(file-cache-mouse-choose-completion): Make it an obsolete alias.
2009-10-24 03:51:51 +00:00
Glenn Morris
6c74d52320 (comint-dynamic-list-completions): Use choose-completion rather than
obsolete alias mouse-choose-completion.
2009-10-24 03:50:20 +00:00
Glenn Morris
656fc5f537 (term-dynamic-list-completions): Use choose-completion rather than
obsolete alias mouse-choose-completion.
2009-10-24 03:49:44 +00:00
Glenn Morris
ae4808385b (octave-complete-symbol): Use choose-completion if
mouse-choose-completion is ever removed.
2009-10-24 03:48:37 +00:00
Glenn Morris
9847dc91f3 (sgml-looking-back-at): Move definition before use. 2009-10-24 03:45:50 +00:00
Glenn Morris
e8f2a5d597 (generate-autoload-cookie): Define for compiler. 2009-10-24 03:44:42 +00:00
Glenn Morris
d270305a65 Convert comment about autoload into autoload comment.
(vc-responsible-backend): Fix declaration.
2009-10-24 03:43:47 +00:00
Glenn Morris
12ea3d6524 (help-xref-stack-item): Define for compiler. 2009-10-24 03:42:18 +00:00
Stefan Monnier
c6432f1e13 (completion--embedded-envvar-table): Fix last change.
Ignore `pred' now that we receive one.  Handle test-completion specially.
2009-10-24 00:46:17 +00:00
Andreas Schwab
7b792fc98d (FIXNUM_OVERFLOW_P): Remove cast to avoid overflow. 2009-10-23 20:56:30 +00:00
Chong Yidong
6798b799df Fix typo. 2009-10-23 18:39:48 +00:00
Dan Nicolaescu
6ab196f942 (vc-responsible-backend): Throw an error if not backend is
found.  Remove the REGISTER argument. Move the code dealing with
REGISTER ...
(vc-get-backend-for-registration): ... here.  New function.
(vc-deduce-fileset): Call vc-get-backend-for-registration instead
of vc-responsible-backend, pass the file name instead of the
directory name.
2009-10-23 18:07:38 +00:00
Andreas Schwab
a599b3e810 (PURESIZE_RATIO): Decrease to 11/7. 2009-10-23 17:56:06 +00:00
Chong Yidong
b35ac83e46 * window.c (Fwindow_edges, Fwindow_pixel_edges)
(Fwindow_inside_edges, Fwindow_inside_pixel_edges): Doc fix
(Bug#4775).
2009-10-23 17:52:56 +00:00
Stefan Monnier
48feed599b (pcomplete-common-suffix, pcomplete-table-subvert): New funs.
(pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
(pcomplete-comint-setup): Don't modify a global var via
accidental side-effects.
(pcomplete-shell-setup): Adjust call accordingly.
(pcomplete-parse-comint-arguments): Use push.
2009-10-23 17:37:09 +00:00
Stefan Monnier
e8903e00e3 * fileio.c (syms_of_fileio): Initialize Vdirectory_sep_char.
(init_fileio_once):
* lisp.h (init_fileio_once): Remove.
* emacs.c (main): Don't call init_fileio_once.
2009-10-23 17:33:52 +00:00
Chong Yidong
36bfa3af07 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
Allow uncapitalized info node names (Bug#3921).
2009-10-23 17:26:06 +00:00
Chong Yidong
912314214b * configure.in: Invoke $CPP with -P when creating Makefile and
src/Makefile.  Without this, gcc 4.4.2 converts each
backslash-newline pair in the input to a bare newline, yielding
invalid Makefiles.

* configure: Regenerate.
2009-10-23 16:19:37 +00:00
Chong Yidong
0000606683 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
to the DEBUG file (Bug#3781).
2009-10-23 16:17:17 +00:00
Chong Yidong
aa311d6e2f * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
dictionary entry (Bug#4579).
2009-10-23 16:01:19 +00:00
Michael Albinus
637f4f0f75 * tramp.texi (External methods): Temporary files are kept for
`rsync' and `rsyncc' methods.
2009-10-23 15:10:31 +00:00
Michael Albinus
b88f2d0aa0 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
from `rfn-eshadow-update-overlay-hook' when unloading.
(tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
"rsyncc".  Adjust doc string.
(tramp-temp-buffer-file-name) New buffer-local defvar.
(tramp-handle-insert-file-contents, tramp-handle-write-region):
Keep temporary file when indicated by method ("rsync" and
"rsyncc").
(tramp-handle-write-region): Handle APPEND.
(tramp-delete-temp-file-function): New defun.  Added to
`kill-buffer-hook'.
2009-10-23 15:04:27 +00:00
Juanma Barranquero
1becddbbb2 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler. 2009-10-23 08:20:11 +00:00
Dan Nicolaescu
e0fcce78c0 * bindings.el (propertized-buffer-identification): Undo previous change. 2009-10-23 07:29:21 +00:00
Dan Nicolaescu
8f43cbf352 * puresize.h (BASE_PURESIZE): Increase to 1430000.
* term/tty-colors.el (msdos-color-values): Remove declaration, unused.
(color-name-rgb-alist, tty-standard-colors)
(tty-color-mode-alist): Change to defconst.

* simple.el (mark-inactive): Purecopy message.

* menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
(global-map, yank-menu):
* textmodes/ispell.el (ispell-menu-map):
* net/eudc.el (eudc-tools-menu):
* international/mule-cmds.el (describe-language-environment-map)
(setup-language-environment-map, set-coding-system-map)
(mule-menu-keymap):
* vc-hooks.el (vc-menu-entry, vc-menu-map):
* replace.el (occur-mode-map):
* pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.

* bindings.el (propertized-buffer-identification): Purecopy
tooltip text.
2009-10-23 05:15:26 +00:00
Jay Belanger
1d228a31c3 (math-read-number, math-read-number-simple): Use `save-match-data'. 2009-10-23 01:40:13 +00:00
Stefan Monnier
28a90c44b4 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
rather than fiddling with global-map bindings, since it should only
affect per-terminal settings.
See http://bugs.gentoo.org/show_bug.cgi?id=289709.
2009-10-22 19:31:43 +00:00
Stefan Monnier
a452eee82d (completion-table-with-terminator): Allow to specify the terminator-regexp. 2009-10-22 16:14:49 +00:00
Stefan Monnier
ab14d7d521 (switch-to-completions): Look for *Completions* in other frames as well. 2009-10-22 15:27:17 +00:00
Stefan Monnier
3b067af114 Allow the use of completion-tables.
(pcomplete-std-complete): New command.
(pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
(pcomplete--here): Use a function for `form' rather than an expression,
so it can be byte-compiled.
(pcomplete-here, pcomplete-here*): Adjust accordingly.
Add edebug declaration.
(pcomplete-show-completions): Remove unused var `curbuf'.
(pcomplete-do-complete, pcomplete-stub):
Don't assume `completions' is a list of	strings any more.
2009-10-22 15:17:48 +00:00
Juanma Barranquero
550d95a079 Add missing bug references. 2009-10-22 09:42:22 +00:00
Juanma Barranquero
a53af587e4 Add missing entry. 2009-10-22 09:40:54 +00:00
Juanma Barranquero
5480359e9f * find-dired.el (find-name-arg): Fix typo in docstring. 2009-10-22 07:43:19 +00:00
Stefan Monnier
48c23a2522 (pcomplete/kill): Don't abuse pcomplete-entries.
(pcmpl-linux-fs-types): Same, and update to new modules layout.
2009-10-22 03:35:11 +00:00
Stefan Monnier
56b14058a4 (pcmpl-gnu-makefile-names): Use a single call to pcomplete-entries. 2009-10-22 03:25:54 +00:00
Stefan Monnier
3170b79459 (comint-read-input-ring, comint-write-input-ring)
(comint-substitute-in-file-name)
(comint-dynamic-complete-as-filename)
(comint-dynamic-simple-complete)
(comint-dynamic-list-filename-completions)
(comint-dynamic-list-completions)
(comint-redirect-results-list-from-process): Minor simplifications.
2009-10-22 03:24:31 +00:00
Kevin Ryde
e7b94bbb53 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el. 2009-10-21 22:58:58 +00:00
Kevin Ryde
2affef3475 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): When
inserting ";;; Code" put it before any ";;;###autoload" cookie on
the first form.  And insert a blank line after ";;; Code" since
that's usual style.  (My Bug#4612.)
2009-10-21 22:06:40 +00:00
Kevin Ryde
686343747f (checkdoc-file-comments-engine): When
inserting ";;; Code" put it before any ";;;###autoload" cookie on
the first form.  And insert a blank line after ";;; Code" since
that's usual style.  (My Bug#4612.)
2009-10-21 22:05:34 +00:00
Andreas Schwab
268989432a (doprnt): Fix overflow check. 2009-10-21 21:28:59 +00:00
Stefan Monnier
528c56e2d1 * minibuffer.el (completion-table-with-terminator): Properly implement
boundaries, in case `terminator' appears in the suffix.
(completion--embedded-envvar-table): Don't return boundaries if
there's no valid completion.  Simplify.
(completion-file-name-table): New completion table extracted from
completion--file-name-table.
(completion--file-name-table): Use it.
(read-file-name-predicate): Declare obsolete.
(read-file-name): Use the pred arg i.s.o read-file-name-predicate.
* vc-bzr.el (vc-bzr-revision-completion-table): Use the new
completion-file-name-table, and use the `pred' argument.
* files.el (locate-file-completion-table): Use the `pred' arg rather
than read-file-name-predicate.
(abbreviate-file-name): Use \` rather than ^ for BOS.
2009-10-21 20:03:57 +00:00
Jan Djärv
3132a7ea15 * xterm.c (x_term_init): Remove XSynchronize call done for debugging. 2009-10-21 19:15:57 +00:00
Dan Nicolaescu
f9ed9b4f89 (vc-deduce-fileset): Undo previous change, do not tell
vc-responsible-backend to register, it causes problems.
2009-10-21 19:03:32 +00:00
Stefan Monnier
5f2022a3f4 Don't require help-mode (to avoid bootstrap issues). 2009-10-21 18:54:55 +00:00
Jan Djärv
5c646d5a31 Fix resize due to font change on a maximized/xmonad-controlled frame.
* xterm.h (x_wait_for_event): Declare it.

* xterm.c (pending_event_wait): New variable.
(handle_one_xevent): Set pending_event_wait.eventtype to 0 if we
see pending_event_wait.eventtype.
(handle_one_xevent): Don't change gravity when parent changes.
(x_new_font): Call change_frame_size with new rows/columns before we try
to resize the frame.
(x_wait_for_event): New function.
(x_set_window_size_1): Don't change gravity unless change_gravity is set.
Call XResizeWindow with FRAME_OUTER_WINDOW.  If we are visible,
don't change frame size, instead wait for the ConfigureNotify.
(x_set_window_size): Call x_set_window_size_1 for USE_X_TOOLKIT also.
(x_wm_set_size_hint): Remove ifdefs for USE_X_TOOLKIT.
(x_initialize): Initialize pending_event_wait.

* xmenu.c (set_frame_menubar): Add internal border width to menu bar
size.

* widget.c (EmacsFrameSetValues): Add comment.
(EmacsFrameSetCharSize): Just call x_set_window_size.

* gtkutil.c (xg_frame_set_char_size): Flush events and call
x_wait_for_event.
(flush_and_sync): Removed again.
(xg_get_font_name): Suggest monospace if no previous font is known.
2009-10-21 18:29:46 +00:00
Chong Yidong
8d106ea001 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
(semantic-c-debug-mode-init-pch): New functions.
(semantic-c-debug-mode-init-last-mode): New var.
(semantic-c-parse-lexical-token): Use them.

* cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
When extracting the argument list, limit only by point-max.
2009-10-21 14:04:00 +00:00
Michael Albinus
fc754ea1a4 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
(tramp-smb-handle-file-attributes): Use it.
(tramp-smb-do-file-attributes-with-stat): Don't raise an error.
(tramp-smb-handle-insert-directory): Use `mapc' rather than
`mapcar'.  Use `tramp-smb-get-stat-capability'.  Add
`dired-filename' text properties.
(tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
(tramp-smb-maybe-open-connection): Simplify check for smbclient
version.
2009-10-21 11:27:59 +00:00
Juanma Barranquero
46be764ea2 Fix typo. 2009-10-20 14:03:48 +00:00