1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 04:10:18 -08:00
Commit graph

49637 commits

Author SHA1 Message Date
Juanma Barranquero
2ac7e73ec4 * savehist.el (savehist-autosave-interval): Allow setting to nil
through customize.  (Bug#5056)
2009-11-30 23:39:04 +00:00
Juanma Barranquero
5237d741a8 Fix references to jit-lock properties.
* progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
  Refer to jit-lock-defer-multiline, not jit-lock-multiline.
  (perl-font-lock-special-syntactic-constructs):
  Quote jit-lock-defer-multiline property.
2009-11-30 22:51:34 +00:00
Katsumi Yamaoka
1613ac12de Add Bug#4698 to 2009-11-29 change. By Reiner Steib. 2009-11-30 22:11:19 +00:00
Juri Linkov
054ae85630 (multi-isearch-search-fun): Always provide a non-nil
value `buffer' of `multi-isearch-next-buffer-current-function'.
Use `(current-buffer)' when `buffer' is nil.
(multi-isearch-next-buffer-from-list): Don't fallback to
`(current-buffer)' when `buffer' is nil.  (Bug#4947)
2009-11-30 21:45:30 +00:00
Dan Nicolaescu
379241fa2e (vc-git-registered): Call vc-git-root only once. 2009-11-30 21:21:35 +00:00
Juri Linkov
67296dda1e (multi-isearch-read-buffers): Move canonicalization
of buffers with `get-buffer' to `multi-isearch-buffers'.
(multi-isearch-buffers, multi-isearch-buffers-regexp):
Canonicalize BUFFERS with `get-buffer'.  Doc fix.
(multi-isearch-files, multi-isearch-files-regexp): Canonicalize
FILES with `expand-file-name' converting relative file names
to absolute.  Doc fix.  (Bug#4727)
2009-11-30 20:27:44 +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
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
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
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
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
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
Stefan Monnier
d7117720c9 (Man-completion-table): Make it easier to enter "<sec> <name>". 2009-11-28 20:28:51 +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
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
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
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
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
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
Dan Nicolaescu
2643c7aa2d (finder-mode-map): Add a menu. 2009-11-26 03:27:10 +00:00
Dan Nicolaescu
0e5c8aedd0 * verilog-mode.el (verilog-at-struct-p): Support "signed" and
"unsigned" structs.

(verilog-leap-to-head, verilog-backward-token): Handle "disable
fork" statement better.

* verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
(verilog-delete-empty-auto-pair, verilog-library-filenames): Fix
AUTOINSERTLISP to support insert-file.  Reported by Clay Douglass.

(verilog-auto-inst, verilog-auto-star-safe)
(verilog-delete-auto-star-implicit, verilog-read-sub-decls): Fix
removing "// Interfaces" when saving .* expansions.  Reported by
Pierre-David Pfister.
2009-11-26 03:18:31 +00:00
Glenn Morris
7629c4e745 (eshell/cd): Don't throw to a tag outside the scope.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557572
2009-11-26 03:09:58 +00:00
Glenn Morris
5cf751b4a3 Fix format. 2009-11-26 03:08:30 +00:00
Kevin Ryde
8cb5ffe835 * arc-mode.el: Add "Keywords: files", so the details in its
commentary can be reached from finder-by-keyword.
2009-11-26 00:15:17 +00:00
Kevin Ryde
b8dfcf54e9 * textmodes/bibtex-style.el: Add "Keywords: tex".
* international/isearch-x.el, international/ja-dic-cnv.el,
international/ja-dic-utl.el, international/kkc.el:
Add "Keywords: i18n", so they can be reached from finder-by-keyword.
2009-11-26 00:07:01 +00:00
Kevin Ryde
49e6422842 * international/isearch-x.el, international/ja-dic-cnv.el,
international/ja-dic-utl.el, international/kkc.el,
international/robin.el: Add "Keywords: i18n", so they can be
reached from finder-by-keyword.
2009-11-26 00:04:36 +00:00
Kevin Ryde
f0fd77be4f * textmodes/bibtex-style.el: Add "Keywords: tex". 2009-11-26 00:01:20 +00:00
Kevin Ryde
34607612c5 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
editing mode, but it's comms related and sgml-mode.el has "comm"
on that basis too.
2009-11-25 23:52:00 +00:00
Johan Bockgård
a5d358f83c (vc-annotate-revision-previous-to-line): Really use previous revision. 2009-11-25 23:47:31 +00:00
Kevin Ryde
573f4575dc (man): completion-ignore-case t for friendliness and since man
itself is case-insensitive on the command line.
2009-11-25 22:52:02 +00:00
Kevin Ryde
002cbde51f * man.el (Man-completion-table): default-directory "/" in case
doesn't otherwise exist.  process-environment COLUMNS=999 so as
not to truncate long names.  process-connection-type pipe to avoid
any chance of hitting the pseudo-tty TIOCGWINSZ.  (Further to
Bug#3717.)
2009-11-25 22:42:11 +00:00
Juri Linkov
1e2d9ba1ea (Man-completion-table): Modify regexp to include section names
to completion strings.  (Bug#3717)
2009-11-25 21:16:58 +00:00