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

4747 Commits

Author SHA1 Message Date
Dan Nicolaescu
4dfb3b9cd5 Add support for bzr shelve/unshelve.
* vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
(vc-bzr-extra-menu-map): New variables.
(vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
(vc-bzr-shelve-apply, vc-bzr-shelve-list)
(vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
(vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
(vc-bzr-dir-extra-headers): Display shelves.
2009-12-03 07:46:13 +00:00
Dan Nicolaescu
7fa4876f18 Support applying stashes. Improve UI.
* vc-git.el (vc-git-dir-extra-headers): Add tooltips.
(vc-git-stash-apply, vc-git-stash-pop)
(vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
(vc-git-stash-menu): New functions.
(vc-git-stash-menu-map): New variable.
(vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
2009-12-03 04:08:08 +00:00
Glenn Morris
e3dd31b9df New file. 2009-12-01 07:49:26 +00:00
Glenn Morris
eb7799da34 Add missing entry. 2009-12-01 07:47:11 +00:00
Stefan Monnier
e1ada2225c * mpc.el: New file. 2009-12-01 04:04:33 +00:00
Juri Linkov
c585bf3275 (multi-isearch-read-buffers)
(multi-isearch-read-matching-buffers): New functions.
(multi-isearch-buffers, multi-isearch-buffers-regexp):
Use them in the `interactive' spec.  Doc fix.
(multi-isearch-read-files, multi-isearch-read-matching-files):
New functions.
(multi-isearch-files, multi-isearch-files-regexp):
Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
2009-11-30 19:42:16 +00:00
Juri Linkov
0a7457335a (doc-view-continuous):
Rename from `doc-view-continuous-mode'.
(doc-view-menu): Move "Toggle display" to the top.
Add submenu "Continuous" with radio buttons "Off"/"On"
and "Save as Default".
(doc-view-scroll-up-or-next-page)
(doc-view-scroll-down-or-previous-page)
(doc-view-next-line-or-next-page)
(doc-view-previous-line-or-previous-page): Rename
`doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
2009-11-30 16:14:48 +00:00
Juri Linkov
1f9689eba0 (comint-mode-map): Rebind `M-r' from
`comint-previous-matching-input' to
`comint-history-isearch-backward-regexp'.
Unbind `M-s' to allow global key binding `M-s'.
Add menu items for `comint-history-isearch-backward' and
`comint-history-isearch-backward-regexp'.  (Bug#3746)
2009-11-30 16:11:18 +00:00
Juri Linkov
0116abbdeb Add defcustom to define the cycling order of `recenter-top-bottom'. (Bug#4981)
* window.el (recenter-last-op): Doc fix.
(recenter-positions): New defcustom.
(recenter-top-bottom): Rewrite to use `recenter-positions'.
(move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
2009-11-29 23:34:05 +00:00
Michael Albinus
59ffcfc485 * NEWS: New functions eshell/su and eshell/sudo. 2009-11-27 16:38:57 +00:00
Kevin Ryde
1d5aaabdb3 * MORE.STUFF: emacswiki ElispArea url "wiki.pl" -> "wiki".
Aubrey Jaffer's texinfo R5RS moved to
http://groups.csail.mit.edu/mac/ftpdir/scm/r5rs.info.tar.gz
(per http://people.csail.mit.edu/jaffer/Scheme.html).
2009-11-26 22:35:47 +00:00
Jan Djärv
6a7ce3a2b0 Mention Metacity hang on Emacs resize. 2009-11-26 07:15:33 +00:00
Glenn Morris
31dcb395c4 VM has moved again. 2009-11-26 03:05:17 +00:00
Juri Linkov
a601d31340 Search recursively in gzipped files. (Bug#4982)
(grep-highlight-matches): Add new options
`always' and `auto'.  Doc fix.
(grep-process-setup): Check `grep-highlight-matches' for
`auto-detect' to determine the need to compute grep defaults.
Move Windows/DOS specific --colors settings handling
to `grep-compute-defaults'.  Check `grep-highlight-matches'
to get the value of "--color=".
(grep-compute-defaults): Compute `grep-highlight-matches' when it
has the value `auto-detect'.  Move Windows/DOS specific settings
from `grep-process-setup'.
(zrgrep): New command with alias `rzgrep'.
2009-11-25 17:23:45 +00:00
Juri Linkov
e237085f03 Provide additional default values (directories at other Dired
windows) via M-n in the minibuffer of some Dired commands.

* dired-aux.el (dired-diff, dired-compare-directories)
(dired-do-create-files): Use `dired-dwim-target-defaults' to set
`minibuffer-default' in `minibuffer-with-setup-hook'.
(dired-dwim-target-directory): Find a window that displays Dired
buffer instead of failing when the next window is not Dired.
Use `get-window-with-predicate' to find for the next Dired window.
(dired-dwim-target-defaults): New function.

* ediff-util.el (ediff-read-file-name):
Use `dired-dwim-target-defaults' to set `minibuffer-default'
in `minibuffer-with-setup-hook'.
2009-11-25 17:15:19 +00:00
Juri Linkov
7d371eac64 Provide additional default values (file name at point or at the
current Dired line) via M-n for file reading minibuffers.  (Bug#5010)

* minibuffer.el (read-file-name-defaults): New function.
(read-file-name): Reset `minibuffer-default' to nil when
it duplicates initial input `insdef'.
Bind `minibuffer-default-add-function' to lambda that
calls `read-file-name-defaults' in `minibuffer-selected-window'.
(minibuffer-insert-file-name-at-point): New command.

* files.el (file-name-at-point-functions): New defcustom.
(find-file-default): Remove defvar.
(find-file-read-args): Don't use `find-file-default'.
Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
to `read-file-name'.
(find-file-literally): Use `read-file-name' with
`confirm-nonexistent-file-or-buffer'.

* ffap.el (ffap-guess-file-name-at-point): New autoloaded function.

* dired.el (dired-read-dir-and-switches):
Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
to `read-file-name'.
(dired-file-name-at-point): New function.
(dired-mode): Add hook `dired-file-name-at-point' to
`file-name-at-point-functions'.
2009-11-25 17:11:29 +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
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
Chong Yidong
5c3ef352f1 * PROBLEMS: Remove fixed rebasing problem. 2009-11-20 21:46:28 +00:00
Chong Yidong
abbdc6a07b * PROBLEMS (http): Add workaround for Cygwin crash. 2009-11-20 21:40:00 +00:00
Carsten Dominik
cc7748fbc7 Change version number to 6.33x 2009-11-20 20:55:31 +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
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
Stefan Monnier
0de9f8b788 Mention htmlfontify. 2009-11-19 20:22:03 +00:00
Juri Linkov
40e93a2c2c Vertical completions. 2009-11-19 17:39:14 +00:00
Stefan Monnier
a185548b1c * abbrev.el (abbrev-with-wrapper-hook): (re)move...
* simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
* minibuffer.el (completion-in-region-functions): New hook.
(completion-in-region): New function.
* emacs-lisp/lisp.el (lisp-complete-symbol):
* pcomplete.el (pcomplete-std-complete): Use it.
2009-11-19 03:12:51 +00:00
Jan Djärv
637fa98808 Handle system default font and changing font parameters.
* xterm.h (struct x_display_info): Add atoms and Window for xsettings.

* xterm.c (handle_one_xevent): Call xft_settings_event for
ClientMessage, PropertyNotify and DestroyNotify.
(x_term_init): If we have XFT, get DPI from Xft.dpi.
Call xsettings_initialize.

* xftfont.c (xftfont_fix_match): New function.
(xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
Call xftfont_fix_match after XftFontMatch.

* xfont.c (xfont_driver): Initialize all members.

* xfns.c (x_default_font_parameter): Try font from Ffont_get_system_font.
Do not get font from x_default_parameter if we got one from
Ffont_get_system_font.
(Fx_select_font): Get the defaut font name from :name of FRAME_FONT (f).

* w32font.c (w32font_driver): Initialize all members.

* termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new.

* lisp.h: Declare syms_of_xsettings.

* keyboard.c (kbd_buffer_get_event, make_lispy_event): Handle
CONFIG_CHANGED_EVENT.

* ftfont.c (ftfont_filter_properties): New function.

* frame.c (x_set_font): Remove unused variable lval.

* font.h (struct font_driver): filter_properties is new.

* font.c (font_put_extra): Don't return if val is nil, it means
boolean option is off.
(font_parse_fcname): Collect all extra properties in extra_props
and call filter_properties for all drivers with extra_props and
font as parameter.
(font_open_entity): Do not use cache, it does not pick up new fontconfig
settings like hinting.
(font_load_for_lface): If spec had a name in it, store it in entity.

* emacs.c (main): Call syms_of_xsettings

* config.in: HAVE_GCONF is new.

* Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF.
xsettings.o is new.

* menu-bar.el: Put "Use system font" in Option-menu.

* loadup.el: If feature system-font-setting or font-render-setting is
there, load font-setting.

* Makefile.in (ELCFILES): font-settings.el is new.
* font-setting.el: New file.

* NEWS: Mention dynamic font changes (font-use-system-font).

* configure.in: New option: --with(out)-gconf.
Set HAVE_GCONF if we find gconf.
2009-11-17 08:21:23 +00:00
Dan Nicolaescu
48b2757534 * vc.el (vc-log-show-limit): Default to 2000.
(vc-print-log-internal): Insert buttons to request more entries
when limiting the output.

* vc-sccs.el (vc-sccs-print-log):
* vc-rcs.el (vc-rcs-print-log):
* vc-cvs.el (vc-cvs-print-log):
* vc-git.el (vc-git-print-log): Return 'limit-unsupported when
LIMIT is non-nil.
2009-11-16 20:36:06 +00:00
Carsten Dominik
f779e38554 2009-11-15 Carsten Dominik <dominik@u016822.science.uva.nl>
* refcards/orgcard.tex: Push version number to 6.33a.
2009-11-15 07:17:00 +00:00
Carsten Dominik
17673adf80 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
* org.texi (Speed keys): New section.
2009-11-15 07:16:21 +00:00
Carsten Dominik
8afcfab370 refcards/orgcard.tex: Document the new archiving keys. 2009-11-13 08:41:47 +00:00
Carsten Dominik
a351880d14 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
* org.texi: Removed @Ie, @ie, @Eg, @eg macros.

2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>

	* org.texi (Column attributes): Add the new age summary operators.
	Also, mention the fact you can only use one summary operator per
	property.

2009-11-13  John Wiegley  <johnw@newartisans.com>

	* org.texi (Tracking your habits): Added a new section in the
	manual about how to track habits.
	(Resolving idle time): Added a section on how idle and
	dangling clocks are resolved.

2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>

	* org.texi (Agenda commands): Document the new `i' command.
	(Inserting deadline/schedule): Document logging changes
	of scheduling and deadline times stamps.
	(In-buffer settings): Document the in-buffer keywords for logging
	changes of scheduling and deadline times stamps.
	(Structure editing, Plain lists): Document indentation
	cycling in empty entries with TAB.
	(Archiving): Document the default archiving command.
	(Moving subtrees): Document the new keys for archiving.
	(Internal archiving): Fix incorrect key.
	(Agenda commands): Document the TODO set switching commands.
	(Agenda commands): Document the new archiving keys.
	(Clocking work time): Better description on how to save
	and restore a clock.
	(Resolving idle time): Mention the x11idle program to get true
	idleness also under X11.
	(Resolving idle time): Use @kbd instead of @key for normal
	letters, because this is how he rest of the manual does this.
	(Pushing to MobileOrg): Mention that `org-directory'
	should be set.
	(Agenda commands): Document that SPC is a filter for
	any tag.
	(Search view): Renamed from "Keyword search".
	(Capure): New chapter.
	(Markup): New chapter.
	(Links in HTML export, Images in HTML export): Extend
	the section titles.
	(Images in HTML export): Document the align option.
	(Text areas in HTML export): Extend the section title.
	(Images in LaTeX export): Explain image placement in LaTeX.
2009-11-13 08:41:34 +00:00
Juri Linkov
e0987650e4 (dired-get-filename)<declare-function>:
Tell the byte-compiler about dired-get-filename.
(shell-command): In Dired mode, get filename from the current line
as the default value.
2009-11-11 00:11:40 +00:00
Chong Yidong
951802d0c1 * compilation.txt: Add one more error message for msft (Bug#4100). 2009-11-08 16:30:52 +00:00
Stefan Monnier
2de9f71c22 Let integers use up 2 tags to give them one extra bit and double their range.
* lisp.h (USE_2_TAGS_FOR_INTS): New macro.
(LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P): New macros.
(enum Lisp_Type): Use them.  Give explicit values.
(Lisp_Type_Limit): Remove.
(XINT, XUINT, make_number) [!USE_LISP_UNION_TYPE]:
(MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK):
Pay attention to USE_2_TAGS_FOR_INTS.
(INTEGERP): Use LISP_INT_TAG_P.
* fns.c (internal_equal): Simplify the default case.
(sxhash): Use case_Lisp_Int.
* data.c (wrong_type_argument): Don't check against Lisp_Type_Limit any more.
(Ftype_of): Use case_Lisp_Int.
(store_symval_forwarding): Take into account the fact that Ints can
now have more than one tag.
* buffer.c (syms_of_buffer): Use LISP_INT_TAG.
buffer_slot_type_mismatch):
* xfaces.c (face_attr_equal_p):
* print.c (print_object):
* alloc.c (mark_maybe_object, mark_object, survives_gc_p): Use case_Lisp_Int.
2009-11-06 18:47:48 +00:00
Stefan Monnier
8f72f03c46 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
* emacs-lisp/levents.el: Move to obsolete/levents.el.
2009-11-05 21:17:21 +00:00
Glenn Morris
b342947587 Add "Incompatible Lisp Changes in Emacs 23.2". 2009-11-04 03:15:43 +00:00
Glenn Morris
77c64ca0ae Mention byte-compile-warnings `constants' member. 2009-10-31 02:12:06 +00:00
Stefan Monnier
0667de2146 (pcomplete-std-complete): Obey pcomplete-use-paring.
(pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
(pcomplete--here): Use push.
2009-10-26 04:06:01 +00:00
Stefan Monnier
4fcc3d324a (all-completions): Declare the 4th arg obsolete. 2009-10-26 03:39:15 +00:00
Chong Yidong
6798b799df Fix typo. 2009-10-23 18:39:48 +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
Dan Nicolaescu
d1e4c4037e Make vc-annotate work through copies and renames.
* vc-annotate.el (vc-annotate-extract-revision-at-line): Return
the file name too.
(vc-annotate-revision-at-line)
(vc-annotate-find-revision-at-line)
(vc-annotate-revision-previous-to-line)
(vc-annotate-show-log-revision-at-line): Update to get the file
name from vc-annotate-extract-revision-at-line.
(vc-annotate-show-diff-revision-at-line-internal): Change the
argument to mean whether to show a file diff or not.  Get the file
name from vc-annotate-extract-revision-at-line.
(vc-annotate-show-diff-revision-at-line): Update
vc-annotate-show-diff-revision-at-line call.
(vc-annotate-warp-revision): Add an optional file argument.

* vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
(vc-git-annotate-extract-revision-at-line): Also return the file
name if found.

* vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
command.  Remove unused code.
(vc-hg-annotate-re): Update to match --follow output.
(vc-hg-annotate-extract-revision-at-line): Also return the file
name if found.

* vc.el: Update annotate-extract-revision-at-line documentation.
2009-10-19 05:04:22 +00:00
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
b0d6136e73 Multi-isearch functions instead of commands. 2009-10-14 21:56:37 +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
Glenn Morris
9976fe82bd Documented window-full-height-p. 2009-10-10 23:43:27 +00:00
Karl Fogel
3aa8040cc6 * etc/NEWS (Changes in Specialized Modes and Packages in Emacs 23.1):
Document bookmark.el at 2008-06-25T16:51:33Z!monnier@iro.umontreal.ca format upgrade.  (Bug#3375)
2009-10-09 05:25:08 +00:00
Michael Albinus
9a03b2e1ee * NEWS: New function copy-directory. 2009-10-04 12:20:13 +00:00