1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 20:30:32 -08:00
Commit graph

92839 commits

Author SHA1 Message Date
Stefan Monnier
5f24557b12 (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
(dabbrev-completion): Use completion-in-region.
(dabbrev--abbrev-at-point): Simplify regexp.
2009-11-25 05:31:05 +00:00
Stefan Monnier
fe4346f0da (abbrev--before-point): Use word-motion functions
if :regexp is not specified (bug#5031).
2009-11-25 04:59:02 +00:00
Stefan Monnier
cb190d7d5f (string-prefix-p): New function. 2009-11-25 03:59:19 +00:00
Stefan Monnier
e2ec6dd513 (Man-completion-cache): New var.
(Man-completion-table): Use it.
2009-11-25 03:51:00 +00:00
Stefan Monnier
eb708e6624 (vc-print-log-internal): Make `limit' optional for better
compatibility (e.g. with vc-annotate.el).
2009-11-25 03:28:24 +00:00
Kevin Ryde
f69c67b6f7 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Build
value with regexp-opt instead of explicit joining loop.  (My
Bug#4927.)
2009-11-24 23:13:55 +00:00
Kevin Ryde
4cf8971b40 * emacs-lisp/elint.el (elint-add-required-env): Better error message
when .el source file not found or other error.
2009-11-24 23:08:15 +00:00
Stefan Monnier
d204c46c61 (linum-update-window): Ignore intangible (bug#4996). 2009-11-24 22:28:01 +00:00
Stefan Monnier
449c27f045 Handle the [back] button properly (bug#4979).
* descr-text.el (describe-text-properties): Add a `buffer' argument.
Use help-setup-xref, help-buffer, and with-help-window.
(describe-char): Add `buffer' argument.
Pass proper command to help-setup-xref.  Don't meddle with
help-xref-stack-item directly.
(describe-text-category): Use with-help-window and help-buffer.
2009-11-24 22:23:49 +00:00
Stefan Monnier
32fe5377a3 (list-load-path-shadows): Setup a major mode
for the displayed buffer (bug#4887).
2009-11-24 21:36:10 +00:00
Stefan Monnier
28259cac70 (adjust_markers_for_delete): Move it in the right direction! (bug#4803) 2009-11-24 21:33:23 +00:00
Stefan Monnier
bb301b9aff (Man-completion-table): New function.
(man): Use it.
2009-11-24 20:00:41 +00:00
David Reitter
35179414e4 vc-git-registered: use checkout directory (where .git is)
rather than the file's directory and a relative path spec to work around a bug in git.
2009-11-24 15:31:01 +00:00
Michael Albinus
605a20a988 Improve handling of processes on remote hosts.
* eshell/esh-util.el (eshell-path-env): New defvar.
(eshell-parse-colon-path): New defun.
(eshell-file-attributes): Use `eshell-parse-colon-path'.

* eshell/esh-ext.el (eshell-search-path): Use
`eshell-parse-colon-path'.
(eshell-remote-command): Remove argument HANDLER.
(eshell-external-command): Check for FTP remote connection.

* eshell/esh-proc.el (eshell-gather-process-output): Use
`file-truename', in order to start also symlinked files. Apply
`start-file-process' instead of `start-process'. Shorten `command'
to the local file name part.

* eshell/em-cmpl.el (eshell-complete-commands-list): Use
`eshell-parse-colon-path'.

* eshell/em-unix.el (eshell/du): Check for FTP remote connection.

* net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
to `eshell-directory-change-hook'.
2009-11-24 10:25:54 +00:00
Katsumi Yamaoka
937e60c88b (message-from-style, message-interactive, message-signature): Always set
default values from the corresponding mail-* variables.
(message-cite-prefix-regexp, message-sendmail-envelope-from)
(message-yank-prefix, message-indentation-spaces, message-signature-file)
(message-default-headers): Use boundp rather than (featurep 'xemacs) to check
 if the corresponding mail-* variables exist.
2009-11-24 09:19:09 +00:00
YAMAMOTO Mitsuharu
e8e1416698 (x_new_font): Update f->scroll_bar_actual_width. 2009-11-24 08:37:56 +00:00
YAMAMOTO Mitsuharu
66f5ced096 (font_open_entity): Don't use ASET if font_object is Qnil. 2009-11-24 08:37:32 +00:00
Tassilo Horn
d1d33062d3 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
because it could be enabled automatically if view-read-only is
	non-nil.
2009-11-24 07:47:45 +00:00
Michael Kifer
a34d856516 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
	made on 2009-11-22.
2009-11-24 03:16:38 +00:00
Glenn Morris
86677b58d0 (focus-follows-mouse): Mention mouse-autoselect-window. 2009-11-24 02:40:03 +00:00
Glenn Morris
65235b0a38 (global-semantic-idle-scheduler-mode): Move after definition of
global-semantic-idle-tag-highlight-mode.
2009-11-24 02:38:08 +00:00
Glenn Morris
c83b8d1bc7 (bookmark-bmenu-hide-filenames): Remove assignment to deleted variable
bookmark-bmenu-bookmark-column.
2009-11-24 02:37:05 +00:00
Stefan Monnier
83505cfea1 (bookmark-bmenu-search): Clear echo area when exiting. 2009-11-24 02:21:32 +00:00
Chong Yidong
5241b291dd * net/browse-url.el (browse-url-filename-alist): On Windows, add
two slashes to the "file:" prefix.
(browse-url-file-url): De-munge Cygwin filenames before passing
them to Windows browser.
(browse-url-default-windows-browser): Use call-process.
2009-11-23 20:58:55 +00:00
Juri Linkov
aefcadb650 Implement DocView Continuous mode. (Bug#4896)
* doc-view.el (doc-view-continuous-mode): New defcustom.
(doc-view-mode-map): Bind C-n/<down> to `doc-view-next-line-or-next-page',
C-p/<up> to `doc-view-previous-line-or-previous-page'.
(doc-view-next-line-or-next-page)
(doc-view-previous-line-or-previous-page): New commands.
2009-11-23 20:34:53 +00:00
Juri Linkov
0d62bcea27 Implement Isearch in comint input history. (Bug#3746)
* comint.el (comint-mode): Add `comint-history-isearch-setup' to
`isearch-mode-hook'.
(comint-history-isearch): New defcustom.
(comint-history-isearch-backward)
(comint-history-isearch-backward-regexp): New commands.
(comint-history-isearch-message-overlay): New buffer-local variable.
(comint-history-isearch-setup, comint-history-isearch-end)
(comint-goto-input, comint-history-isearch-search)
(comint-history-isearch-message, comint-history-isearch-wrap)
(comint-history-isearch-push-state)
(comint-history-isearch-pop-state): New functions.
2009-11-23 20:30:33 +00:00
Michael Albinus
b593f1055a * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
return.
(tramp-handle-make-symbolic-link)
(tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
Quote file names.
(tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
(tramp-handle-process-file): Use it.
2009-11-23 15:59:07 +00:00
Jan Djärv
cfc86c7a86 Must create deps for ecrt0.o in its rule. 2009-11-23 14:48:59 +00:00
Jan Djärv
46f3381ade * etags.c (absolute_filename): Use memove if we have it for overlapping copy. 2009-11-23 09:51:06 +00:00
Jan Djärv
581e51e891 Set Xft defaults if no XSETTING is found, better default for Gtk+ font dialog.
* xfns.c (Fx_select_font): Try to convert Fontconfig name to Gtk name
because that is what Gtk+ font dialog understands.

* font.c (font_make_object, Fcopy_font_spec): Use Fcopy_alist instead
of Fcopy_sequence.
(font_open_by_name): Put name given into QCname for font-object returned.

* frame.c (x_set_font): Save original font name as frame parameter
font-parameter.

* xsettings.c (set_default_xft_settings): New function.
(init_xfd_settings): Call set_default_xft_settings if no XSETTINGS window
is found.
2009-11-23 08:55:08 +00:00
Stefan Monnier
0f202d5d8f (move-to-window-line-last-op): Remove.
(move-to-window-line-top-bottom): Reuse recenter-last-op instead.
2009-11-23 05:37:34 +00:00
Stefan Monnier
216349f89e (move-to-window-line-last-op): New var.
(move-to-window-line-top-bottom): New command.
(global-map): Bind M-r move-to-window-line-top-bottom.
2009-11-23 05:32:25 +00:00
Glenn Morris
c10e06335e Sven Joachim <svenjoac at gmx.de>
(dired-guess-shell-alist-default): Support xz format.  (Bug#4953)
2009-11-23 00:32:37 +00:00
Chong Yidong
2054a44ca6 * cedet/srecode/map.el (srecode-get-maps):
* cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
* cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
* cedet/semantic/decorate/mode.el (semantic-decoration-mode)
(semantic-toggle-decoration-style):
* cedet/semantic/decorate/include.el
(semantic-decoration-include-describe)
(semantic-decoration-unknown-include-describe)
(semantic-decoration-unparsed-include-describe)
(semantic-decoration-all-include-summary):
* cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
* cedet/semantic/analyze/complete.el
(semantic-analyze-possible-completions):
* cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
(semantic-show-unmatched-syntax-mode)
(semantic-show-parser-state-mode, semantic-stickyfunc-mode)
(semantic-highlight-func-mode):
* cedet/semantic/util.el (semantic-describe-buffer):
* cedet/semantic/symref.el (semantic-symref-find-references-by-name)
(semantic-symref-find-tags-by-name)
(semantic-symref-find-tags-by-regexp)
(semantic-symref-find-tags-by-completion)
(semantic-symref-find-file-references-by-name)
(semantic-symref-find-text):
* cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
(senator-yank-tag):
* cedet/semantic/scope.el (semantic-calculate-scope):
* cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
* cedet/semantic/idle.el (semantic-idle-scheduler-mode)
(define-semantic-idle-service):
* cedet/semantic/complete.el (semantic-complete-analyze-inline)
(semantic-complete-analyze-inline-idle):
* cedet/semantic/analyze.el (semantic-analyze-current-context):
* cedet/mode-local.el (describe-mode-local-bindings)
(describe-mode-local-bindings-in-mode):
* cedet/ede/make.el (ede-make-check-version):
* cedet/ede/locate.el (ede-enable-locate-on-project):
* cedet/cedet-idutils.el (cedet-idutils-expand-filename)
(cedet-idutils-version-check):
* cedet/cedet-global.el (cedet-gnu-global-expand-filename)
(cedet-gnu-global-version-check):
* cedet/cedet-cscope.el (cedet-cscope-expand-filename)
(cedet-cscope-version-check): Use called-interactively-p instead
of interactive-p.
2009-11-22 23:49:13 +00:00
Chong Yidong
e96ec425b5 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
Use semantic-format-tag-prototype.
2009-11-22 23:09:17 +00:00
Glenn Morris
953e0c1a83 Move entries to the correct file and fix format. 2009-11-22 19:53:21 +00:00
Tassilo Horn
9ee12eeee6 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
generation from word-movement command names.
2009-11-22 18:24:29 +00:00
Andreas Schwab
8b264ecb46 (simple_search): Avoid CHAR_TO_BYTE in inner loop when
searching backwards through multibyte buffer.
2009-11-22 12:11:00 +00:00
Michael Kifer
433d9ace74 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-cmd.el: use viper-last-command-char instead of
	last-command-char/last-command-event.
	(viper-prefix-arg-value): do correct conversion of event-char for
	XEmacs.

	* viper-util.el, viper.el: use viper-last-command-char instead of
	last-command-char/last-command-event.

	* ediff-init.el, ediff-mult.el, ediff-util.el: relpace
	last-command-char and last-command-event with (ediff-last-command-char) everywhere.

	* ediff-vers.el (ediff-rcs-get-output-buffer): make sure the buffer is
	created in fundamental mode.

	* ediff.el (ediff-version): revert the change of interactive-p to
	called-interactively-p.
2009-11-22 03:14:14 +00:00
Jay Belanger
5ea5dbc925 (Radix modes): Discuss alternate bases for two's complement notations. 2009-11-22 02:19:23 +00:00
Chong Yidong
9d5005602d Update md5sum. 2009-11-21 20:19:15 +00:00
Chong Yidong
ab2c15d4e2 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
(semantic-complete-jump-local, semantic-complete-jump): Improve
prompt string.
2009-11-21 20:18:37 +00:00
Jan Djärv
8b571bf308 * cus-start.el (all): Add native condition for font-use-system-font.
* configure.in: Don't check for GConf unless X is used.
2009-11-21 15:40:24 +00:00
Jan Djärv
872870b29a Use a select wrapper around the GLib event loop, thus taking into account GLib
timeouts and event sources.  This simplifies Gtk+-code a lot, and is needed
for handling GConf death/restart.

* xterm.c: #include xgselect.h.
(x_initialize): Call xgselect_initialize.

* xsettings.c (something_changedCB): C++ comments => C comments.
(init_gconf): Do not deal with any GLib file descriptors, xg_select
does that now.

* gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer)
(xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback)
(scroll_bar_button_cb): Remove.
(create_menus): C++ comments => C comments. Don't bind grab-notify
event.
(xg_create_scroll_bar): Don't bind button-press-event and
button-release-event.

* process.c: Include xgselect.h if defined (USE_GTK) ||
defined (HAVE_GCONF).
(wait_reading_process_output): Call xg_select for the same condition.

* xgselect.c (xg_select): New function to better integrate with
GLib/Gtk event handling.  Needed if GConf daemon dies/restarts.

* xgselect.h: New file, declare xg_select, xgselect_initialize.

* Makefile.in (XOBJ): Add xgselect.o.
2009-11-21 15:28:59 +00:00
Andreas Schwab
62a6e103dd * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove
ignored second argument.  All callers changed.
* regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR)
(RE_STRING_CHAR_AND_LENGTH): Likewise.
* xdisp.c (string_char_and_length): Likewise.
2009-11-21 11:52:23 +00:00
Alan Mackenzie
c3b616a940 (cc-imenu-java-generic-expression): A corrected version of the patch from
2009-11-18.
2009-11-21 10:32:20 +00:00
Alan Mackenzie
4121db479a *** empty log message *** 2009-11-21 10:31:01 +00:00
Tassilo Horn
d71f5e0cb8 * progmodes/subword.el: Rename from lisp/subword.el.
* subword.el: Rename to progmodes/subword.el.

	* Makefile.in (ELCFILES): Adapt to subword.el move.
2009-11-21 07:50:48 +00:00
Stefan Monnier
fc9d6ad645 (bookmark-bmenu-bookmark-column): Remove var.
(bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
(bookmark-bmenu-show-filenames): Use push.
(bookmark-bmenu-hide-filenames): Use local var instead of
bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
(bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
(bookmark-bmenu-execute-deletions): Don't bother adding/removing the
filenames now that the bookmark names are always available.
2009-11-21 06:43:45 +00:00
Chong Yidong
eb7fdcd950 Fix last change. 2009-11-21 04:50:36 +00:00