1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-28 19:42:02 +00:00
Commit Graph

92965 Commits

Author SHA1 Message Date
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
Stefan Monnier
26d9285f32 (bookmark-search-prompt, bookmark-search-timer): Remove.
(bookmark-search-pattern): Move and leave unbound.
(bookmark-bmenu-mode-map): Change binding.
(bookmark-read-search-input): Simplify.
Don't use text-char-description.  Don't error on non-char events.
(bookmark-filtered-alist-by-regexp-only): Remove by folding into the
only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
(bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
Use a local var for the timer.
(bookmark-bmenu-cancel-search): Remove by folding into the only caller
(i.e. bookmark-bmenu-search).
2009-11-21 04:43:10 +00:00
Glenn Morris
d73a0317a0 (rmail-mime): Decode in fundamental-mode. (Bug#4993) 2009-11-21 02:36:54 +00:00
Dan Nicolaescu
b0ca0f33f7 * xterm.c (x_new_font):
* print.c (print_object):
* cmds.c (Fself_insert_command): Move declarations before statements.
2009-11-21 02:33:45 +00:00
Chong Yidong
e572025ff1 * net/browse-url.el (browse-url-default-windows-browser): Use
cygstart for cygwin.
2009-11-20 21:49:46 +00:00
Chong Yidong
5c3ef352f1 * PROBLEMS: Remove fixed rebasing problem. 2009-11-20 21:46:28 +00:00
Chong Yidong
dd5a6279bc * s/cygwin.h: Remove unneeded linker flags. 2009-11-20 21:44:58 +00:00
Chong Yidong
abbdc6a07b * PROBLEMS (http): Add workaround for Cygwin crash. 2009-11-20 21:40:00 +00:00
Karl Fogel
6aeaa3dcde * lisp/bookmark.el: Formatting and doc fixes only:
(bookmark-search-delay): Shorten doc string to fit in 80 columns.
  (bookmark-bmenu-search): Wrap to fit within 80 columns.  Minor
    grammar and punctuation fixes in doc string.
  (bookmark-read-search-input): Adjust to fit within 80 columns.
2009-11-20 21:12:54 +00:00
Carsten Dominik
cc7748fbc7 Change version number to 6.33x 2009-11-20 20:55:31 +00:00
Carsten Dominik
72d803ade7 2009-11-20 Carsten Dominik <dominik@u016822.science.uva.nl>
* org.texi: (Column attributes): Fix documentaion of new operators.
2009-11-20 20:54:22 +00:00
Carsten Dominik
5dec95551d 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
* org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
	agenda after adding new entry.

	* org-datetree.el (org-datetree-find-day-create): Fix regular
	expression.

	* org.el (org-display-outline-path): Use a format specifier for
	message, to avoid problems with heading containing `%'.

	* org-agenda.el (org-agenda-hide-tags-regexp): New option.
	(org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
	(org-agenda-fix-displayed-tags): New function.
	(org-agenda-do-context-action): Just call
	`org-display-outline-path', without piping the result through
	`message'.

	* org-latex.el (org-export-latex-preprocess): Protect secondary
	footnote references.

	* org-indent.el (org-indent-initialize): Avoid empty strings as
	line prefixes.

	* org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
	hat checking for the mark does not throw an error.
	(org-agenda-diary-entry-in-org-file): Catch the case that there is
	not `day' text property in the cursor line.

	* org.el (org-sort-entries-or-items): Make sure that the final
	entry has a newline before doing the sorting.

	* org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
	property at the beginning of the line.

	* org.el (org-make-link-string): Don't allow a description with
	only white space.

	* org-agenda.el (org-agenda-insert-diary-strategy): New variable.
	(org-agenda-insert-diary-as-top-level): New function.
	(org-agenda-add-entry-to-org-agenda-diary-file): Call
	`org-agenda-insert-diary-as-top-level'.

	* org.el (org-occur-in-agenda-files): Make sure none of the
	buffers is narrowed.
	(org-activate-plain-links): Add the face property here.
	(org-set-font-lock-defaults): Do not add the face to plain links,
	the activator function does this.

	* org-habit.el (org-is-habit-p): Add doc string.

	* org-archive.el (org-archive-subtree-default-with-confirmation):
	Autoload.

	* org-latex.el (org-export-latex-fontify): Fix regexp to make char
	after match optional (happens at the end of a line...).

	* org.el (org-fontify-meta-lines-and-blocks): Apply special faces
	for special blocks.

	* org-faces.el (org-copy-face): Set lisp indentation.
	(org-quote, org-verse): New faces.

	* org-agenda.el (org-agenda-remove-date): Remove variable.

	* org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.

	* org-html.el (org-export-as-html): Move the home/up link into
	the content div.

	* org.el (org-export-latex-packages-alist): Option definition
	moved here from org-latex.el.

	* org-html.el (org-export-html-home/up-format): Add an ID to the
	up/home div.

	* org-wl.el (org-wl-store-link): Handle the case that
	`wl-use-petname' is set.

	* org.el (org-set-effort): Improve prompt.
	(org-get-outline-path): Widen to get full path.
	(org-compact-display-after-subtree-move): Function removed.

2009-11-20  Eric Schulte  <schulte.eric@gmail.com>

	* org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
	hash keys to cache and re-use images generated by the
	org-exp-blocks interface to ditaa and dot.

	* org.el (org-format-latex): Latex images are now saved to files
	named by the sha1 hash of the latex source text avoiding
	regeneration of identical images.
2009-11-20 20:54:05 +00:00
Tassilo Horn
a9b76eec39 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
(c-backward-into-nomenclature): Adapt to subword renaming.

	* subword.el (subword-forward, subword-backward, subword-mark)
	(subword-kill, subword-backward-kill, subword-transpose)
	(subword-downcase, subword-upcase, subword-capitalize)
	(subword-forward-internal, subword-backward-internal): Renamed
	from forward-subword, backward-subword, mark-subword kill-subword,
	backward-kill-subword, transpose-subwords, downcase-subword,
	upcase-subword, capitalize-subword forward-subword-internal,
	backward-subword-internal.
2009-11-20 18:09:29 +00:00
Stefan Monnier
1e7d447511 * bookmark.el (bookmark-search-delay, bookmark-search-prompt): New options.
(bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag): New vars.
(bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
(bookmark-bmenu-filter-alist-by-regexp)
(bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
(bookmark-bmenu-search): New command.
(bookmark-bmenu-mode-map): Bind it.
2009-11-20 15:47:26 +00:00
Chong Yidong
acfad775d2 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc
fix.

* cedet/semantic/idle.el (define-semantic-idle-service)
(semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2009-11-20 15:11:16 +00:00
Tassilo Horn
ab84bfa00e * progmodes/cc-cmds.el: declare-functioned forward-subword and
backward-subword to quit the byte-compiler.
2009-11-20 14:28:54 +00:00
Tassilo Horn
1f35fda94f * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
* Makefile.in: Don't refer cc-subword.elc but subword.elc.
2009-11-20 14:05:18 +00:00
Jan Djärv
0d1d0d26a9 Always suggest system font because .emacs may not have been read yet.
* xfns.c (x_default_font_parameter): Call xsettings_get_system_font.

* xsettings.h: Declare xsettings_get_system_font.

* xsettings.c (xsettings_get_system_font): New function.
(init_gconf): No use initiating gconf unless we have Xft also.
(syms_of_xsettings): Only provide system-font-setting if HAVE_XFT and
HAVE_GCONF.
2009-11-20 09:44:42 +00:00
Jan Djärv
4a8e097d4e gtkutil.c (xg_modify_menubar_widgets): If menubar is totally empty
add a blank entry so it doesn't collapse into nothing.
2009-11-20 08:54:18 +00:00
Tassilo Horn
653d15547a 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
* progmodes/cc-cmds.el (c-update-modeline)
	(c-forward-into-nomenclature, c-backward-into-nomenclature): Refer
	to subword.el functions instead of cc-subword.el.

	* progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
	subword.el functions instead of cc-subword.el.

	* progmodes/cc-subword.el: Renamed to subword.el.
	* subword.el: Renamed from progmodes/cc-subword.el.
	(subword-mode-map): Renamed from c-subword-mode-map.
	(subword-mode): Renamed from c-subword-mode.
	(global-subword-mode): New global minor mode.
	(forward-subword): Renamed from c-forward-subword.
	(backward-subword): Renamed from c-backward-subword.
	(mark-subword): Renamed from c-mark-subword.
	(kill-subword): Renamed from c-kill-subword.
	(backward-kill-subword): Renamed from c-backward-kill-subword.
	(transpose-subwords): Renamed from c-tranpose-subword.
	(downcase-subword): Renamed from c-downcase-subword.
	(capitalize-subword): Renamed from c-capitalize-subword.
	(forward-subword-internal): Renamed from
	c-forward-subword-internal.
	(backward-subword-internal): Renamed from
	c-backward-subword-internal.
2009-11-20 08:22:32 +00:00
Dan Nicolaescu
8de724f3d1 (vc-deduce-fileset): Allow non-state changing operations
from a dired buffer.
(vc-dired-deduce-fileset): New function.
(vc-root-diff, vc-print-root-log): Use it.
2009-11-20 06:56:16 +00:00
Dan Nicolaescu
7a2efa6f08 Use -Wdeclaration-after-statement if available. 2009-11-20 06:05:10 +00:00
Dan Nicolaescu
9717f1199f (vc-annotate-show-log-revision-at-line): Pass a
nil LIMIT argument to vc-print-log-internal.
2009-11-20 05:44:49 +00:00
Chong Yidong
673286f5f9 * sem-user.texi (Idle Completions Mode): More copyedits. 2009-11-20 05:02:46 +00:00
Stefan Monnier
02e1b4886f Add missing entry. 2009-11-20 03:19:27 +00:00