1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00
Commit Graph

92914 Commits

Author SHA1 Message Date
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
2952b1ae04 (perform-replace): Let-bind recenter-last-op to nil.
For def=recenter, replace `recenter' with `recenter-top-bottom'
that is called with `this-command' and `last-command' let-bound
to `recenter-top-bottom'.  When the last `def' was not `recenter',
set `recenter-last-op' to nil.  (Bug#4981)
2009-11-30 16:05:47 +00:00
Stefan Monnier
20565545f2 Minor cleanup and simplification.
* filecache.el (file-cache-add-directory, file-cache-add-directory-recursively)
(file-cache-add-from-file-cache-buffer)
(file-cache-delete-file-regexp, file-cache-delete-directory)
(file-cache-files-matching-internal, file-cache-display): Use dolist.
(file-cache-temp-minibuffer-message): Delete function.
(file-cache-minibuffer-complete): Use minibuffer-message instead.
2009-11-30 13:49:13 +00:00
Stefan Monnier
7a9547ca15 (perl-font-lock-special-syntactic-constructs):
Don't signal an error when bumping into EOB in tr, s, or y.
2009-11-30 13:43:51 +00:00
Juri Linkov
29a483ace4 (Highlight Interactively): Actually a list of
default faces is pre-loaded into a list of default values
instead of the history.
2009-11-29 23:57:18 +00:00
Juri Linkov
08e968f330 (describe-char-unidata-list): Use lowercase name
for "Unicode name" like in other tags.
2009-11-29 23:55:57 +00:00
Juri Linkov
6a3e0319bf (fancy-about-text): Fix wording of Guided Tour. (Bug#4960) 2009-11-29 23:54:41 +00:00
Juri Linkov
f8d170a48f (ediff-minibuffer-with-setup-hook): New compatibility macro.
(ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
2009-11-29 23:52:16 +00:00
Juri Linkov
5aa75bd889 * gnus-sum.el (gnus-recenter): Use `recenter-top-bottom'
when it is fboundp in GNU Emacs 23.1.
Put `isearch-scroll' property on `gnus-recenter'. (Bug#4981)
2009-11-29 23:38: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
07b6428ccd * tramp.texi (Remote processes): Improve eshell example with "su"
and "sudo" commands.
2009-11-29 20:40:51 +00:00
Michael Albinus
61eef560b9 * eshell/esh-util.el (top): Require also Tramp when compiling.
(eshell-directory-files-and-attributes): Check for FTP remote
connection.
(eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
`ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
(eshell-file-attributes): Handle ".".  Return `entry'.
2009-11-29 20:19:48 +00:00
Michael Albinus
e7b538cd65 * eshell/em-unix (eshell/whoami): Make it a defun but a defalias.
(eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
(eshell/sudo): Flatten args.  Let-bind `default-directory'.
2009-11-29 20:10:29 +00:00
Michael Albinus
e2a421af39 * net/tramp.el (tramp-maybe-open-connection): Open the remote
shell with "exec" when possible.  This prevents trailing prompts
in `start-file-process'.
2009-11-29 20:05:23 +00:00
Michael Albinus
f06dbf7ea9 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
(ange-ftp-directory-files-and-attributes)
(ange-ftp-real-directory-files-and-attributes): New defuns.
2009-11-29 20:04:08 +00:00
Jan Djärv
abeafb2a06 frame.c (frame_make_pointer_invisible)
(frame_make_pointer_visible): Declare f before statements.
2009-11-29 09:48:50 +00:00
Stefan Monnier
21f49db9e9 Try and remove assumptions about point-min==1.
* nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
(rng-compute-mode-line-string): Show the validation percentage in
terms of the narrowed text, not the widened text.
(rng-do-some-validation): Don't catch internal errors when debugging.
(rng-first-error): Simplify.
(rng-after-change-function): Remove work around.  AFAIK the bug has
been fixed a while ago.
2009-11-28 21:32:06 +00:00
Chong Yidong
9d542758cf * sem-user.texi (Semantic mode): Link to Idle Scheduler. 2009-11-28 21:11:25 +00:00
Chong Yidong
fd1cefda58 * semantic.texi (Analyzer Internals): Rename from Analyzer.
* sem-user.texi (Semantic mode user commands): Fix key syntax.
Document semantic-complete-analyze-inline.
(Semanticdb search debugging commands): Minor clarification.
(Analyzer, Smart Completion, Smart Summary, Smart Jump)
(Analyzer Debug) New nodes, adapted from the upstream Semantic user
manual.
2009-11-28 21:09:00 +00:00
Stefan Monnier
26224fafa0 (image-minor-mode): Exit more gracefully when the image
cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
2009-11-28 20:45:19 +00:00
Kevin Ryde
c6d4731535 * erc.texi (Development): Correction to git tutorial url. 2009-11-28 20:36:05 +00:00
Stefan Monnier
d7117720c9 (Man-completion-table): Make it easier to enter "<sec> <name>". 2009-11-28 20:28:51 +00:00
Kevin Ryde
159e3ad540 * cl.texi (Porting Common Lisp): Update EIEIO dead ftp link to a
@pxref, now eieio is in emacs.
2009-11-28 20:20:39 +00:00
Stefan Monnier
f5467d3f9e * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
`cd' doesn't always do it for us (bug#5067).
* pcomplete.el (pcomplete-entries): Revert change installed mistakenly
on 2009-10-25 as part of some other change (bug#5067).
2009-11-28 17:06:30 +00:00
Eli Zaretskii
b55fa3c00f (skip_invisible): Fix a typo in a comment. 2009-11-28 10:50:31 +00:00
Eli Zaretskii
b640eb527c (Special Properties): More accurate description of what the `cursor'
property does.
2009-11-28 10:46:14 +00:00
Eli Zaretskii
4bf4719537 [!AUTO_DEPEND]: Remove outdated comment about omitted dependencies on lisp.h. 2009-11-28 10:24:51 +00:00
Stefan Monnier
62a258a71d (byte-compile-warning-types): New type `suspicious'.
(byte-compile-warnings): Use byte-compile-warning-types.
(byte-compile-save-excursion): Warn about use of set-buffer right
after save-excursion.
2009-11-27 22:03:04 +00:00
Stefan Monnier
c5269f1cd5 (gud-basic-call): Don't only save the buffer but the excursion as well. 2009-11-27 19:31:57 +00:00
Jan Djärv
ece2d4ed18 Don't crash if an X terminal is deleted with force == t.
* xftfont.c (xftfont_end_for_frame): Just return if dpyinfo->display
is NULL.

* xterm.c (x_delete_terminal): Set dpyinfo->display to NULL.

* frame.c (frame_make_pointer_invisible)
(frame_make_pointer_visible): Just return if there isn't any selected
frame.
2009-11-27 17:27:04 +00:00
Michael Albinus
59ffcfc485 * NEWS: New functions eshell/su and eshell/sudo. 2009-11-27 16:38:57 +00:00
Michael Albinus
3ba30eb837 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
providing a Tramp related implementation of "su" and "sudo".
(eshell-unix-initialize): Add "su" and "sudo".
2009-11-27 16:29:03 +00:00
Jan Djärv
c525b3f2d2 serach.c (simple_search): Remove warning by making *p const. 2009-11-27 15:44:30 +00:00
Daiki Ueno
6c6f788d8a (socks-send-command): Convert binary request to
unibyte before sending.  This fixes mishandling of some port
numbers such as 129.
2009-11-27 07:35:14 +00:00
Stefan Monnier
6f06a17190 (describe-bindings-internal): Remove `interactive'. 2009-11-27 04:24:47 +00:00
Stefan Monnier
10c877fedc (Man-completion-table): Trim a terminating "(".
Remove the space between name page a section.
Add the command's description on the `help-echo' property.
Remove `process-connection-type' binding since it's unused by call-process.
Provide completion for the "<section> <name>" format as well.
(Man-default-man-entry): Remove spurious var shadowing the argument.
2009-11-27 04:08:04 +00:00
Stefan Monnier
c074ba4a56 (url-generic-parse-url): Bind deactivate-mark. 2009-11-27 01:27:04 +00:00
Kevin Ryde
be1674ab1b * commands.texi (Misc Events): vindex mouse-wheel-up-event and
mouse-wheel-down-event, the closest thing to a definition for them.
* os.texi (Startup Summary): vindex inhibit-startup-message and
inhibit-splash-screen.
(Command-Line Arguments): vindex argv.
(Suspending Emacs): vindex suspend-tty-functions and
resume-tty-functions.  Don't want to index every hook, but having
the programming ones is helpful.
2009-11-26 23:59:14 +00:00
Kevin Ryde
d3d97050b7 * os.texi (Startup Summary): vindex inhibit-startup-message and
inhibit-splash-screen.
(Command-Line Arguments): vindex argv.
(Suspending Emacs): vindex suspend-tty-functions and
resume-tty-functions.  Don't want to index every hook, but having
the programming ones is helpful.
2009-11-26 23:58:23 +00:00
Kevin Ryde
be0a5fb7f8 * commands.texi (Misc Events): vindex mouse-wheel-up-event and
mouse-wheel-down-event, the closest thing to a definition for them.
2009-11-26 23:57:40 +00:00
Kevin Ryde
9d58f08130 * sha1.el (sha1-string-external): default-directory "/" in case
otherwise non-existent.  process-connection-type pipe for touch of
efficiency recommended by elisp manual.  (An aside in Bug#3911.)
2009-11-26 23:39:32 +00:00
Kevin Ryde
c44a48223e * log-view.el: Add "Keywords: tools", since its other keywords
aren't in finder-known-keywords, and following vc.el.
2009-11-26 23:19:53 +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
Stefan Monnier
72fe6b25a2 Misc coding convention cleanups.
* htmlfontify.el (hfy-init-kludge-hook): Rename from hfy-init-kludge-hooks.
(hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
(hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
(hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist and push.
(hfy-slant, hfy-weight): Use tables rather than code.
(hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
(hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
(hfy-face-attr-for-class): Initialize `face-spec' directly.
(hfy-face-to-css): Remove `nconc' with single arg.
(hfy-p-to-face-lennart): Use `or'.
(hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
(hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
(hfy-compile-stylesheet, hfy-merge-adjacent-spans)
(hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
(hfy-force-fontification): Use run-hooks.
2009-11-26 16:24:36 +00:00
Stefan Monnier
85e0a5363c Various minor fixes.
* htmlfontify.el (hfy-default-header): Add toggle_invis since
Javascript belongs in the header, not the body.
(hfy-javascript): Remove.
(hfy-fontify-buffer): Don't insert it any more.
(hfy-face-at): Handle (face0 face1 face2) style face properties.
Fix bug in invis handling when there were no invis props in a chunk.
2009-11-26 15:22:27 +00:00
Stefan Monnier
62ccc42c60 (vc-bzr-annotate-command): Make operation asynchronous. 2009-11-26 14:50:28 +00:00
Jan Djärv
6a7ce3a2b0 Mention Metacity hang on Emacs resize. 2009-11-26 07:15:33 +00:00
Dan Nicolaescu
2643c7aa2d (finder-mode-map): Add a menu. 2009-11-26 03:27:10 +00:00