1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-24 08:51:10 -08:00
Commit graph

11124 commits

Author SHA1 Message Date
Stefan Monnier
5bdc71d0cd (log-view-font-lock-keywords): Use `eval' so as to adapt to buffer settings. 2007-08-10 08:20:20 +00:00
Stefan Monnier
62fc0b713f *** empty log message *** 2007-08-10 06:52:54 +00:00
Stefan Monnier
33e5d7d4c9 (vc-bzr-registered): Use \0 instead of literal NULs.
(vc-bzr-state-words): Add "kind changed" state word.
(vc-bzr-status): New function.  Return Bzr idea of file status,
which is different from VC's.
(vc-bzr-state): Use vc-bzr-status.
(vc-workfile-unchanged-p): Use vc-bzr-status.
(vc-bzr-revert): Use synchronous process; expect exitcode 0.
(vc-dired-state): Process "kind changed" state word.
2007-08-09 14:57:45 +00:00
Stefan Monnier
a377373012 (vc-default-find-file-not-found-hook): Do nothing. 2007-08-09 14:42:00 +00:00
Vinicius Jose Latorre
2540a3abbd username and password default 2007-08-09 01:41:08 +00:00
Stefan Monnier
a88459cd63 Remove spurious * in docstrings.
Merge defvars and toplevel setq-defaults.
(Man-highlight-references0): Limit=nil rather than point-max.
(Man-mode-map): Move initialization into the declaration.
(Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only.
(Man-view-header-file): Use expand-file-name rather than concat.
(Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer.
2007-08-08 19:52:03 +00:00
Vinicius Jose Latorre
ea1711904f ps-print-color-p fix 2007-08-08 16:37:46 +00:00
Stefan Monnier
4aaffda19b (auto-mode-alist): Use the purecopied text (duh!). 2007-08-08 14:06:02 +00:00
Andreas Schwab
ece1116442 (sendmail-pre-abbrev-expand-hook): Check for
self-insert-command, not self-insert.
2007-08-08 11:51:48 +00:00
Glenn Morris
6c4a608e90 (Documentation Tips): Recommend against `iff'. 2007-08-08 08:01:42 +00:00
Glenn Morris
e7f767c25e Replace `iff' in doc-strings and comments. 2007-08-08 07:34:30 +00:00
Martin Rudalics
eaccbbd3c4 (2C-two-columns, 2C-merge): Use window-full-width-p instead of comparing
frame-width and window-width.
2007-08-08 06:04:51 +00:00
Michael Albinus
d62c9a33c4 * net/tramp.el (tramp-handle-file-remote-p): Handle optional
parameters IDENTIFICATION and CONNECTED.
(tramp-handle-insert-file-contents): VISIT must be handled after
insertion of the local copy.  Reported by Peter Gordon
<peter@pg-consultants.com>.
(tramp-file-name-handler): No special handling for
`expand-file-name'.  But for `file-name-as-directory'.
(tramp-find-shell, tramp-open-connection-telnet)
(tramp-open-connection-rsh, tramp-open-connection-su)
(tramp-open-connection-multi)
(tramp-open-connection-setup-interactive-shell): Guard against
$PROMPT_COMMAND shell var.  Reported by Steve Youngs
<steve@sxemacs.org>.
(tramp-append-tramp-buffers): Replace "sensible" by "sensitive" in
the hint.

* net/trampver.el: Update release number.
2007-08-07 20:04:27 +00:00
Stefan Monnier
b14d552b33 (tcl-indent-level, tcl-continued-indent-level): Add safe-local-variable prop. 2007-08-07 17:00:44 +00:00
Chong Yidong
b13e2d29e9 * image-mode.el (image-toggle-display): Use image-refresh. 2007-08-07 16:40:18 +00:00
Chong Yidong
559818abde * longlines.el (longlines-decoded): New variable.
(longlines-mode): Avoid encoding or decoding the buffer twice.
2007-08-07 16:08:26 +00:00
Stefan Monnier
a460c94c17 Remove comments about vc-bzr.el being a modified unofficial version.
(vc-bzr-command): Remove redundant setting of process-connection-type.
(vc-bzr-admin-checkout-format-file): Add autoload.
(vc-bzr-root-dir): Remove in favor of vc-bzr-root.
(vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
(vc-bzr-registered): Compare dirstate format tag with known good
value, abort parsing if match fails.  Warn user in docstring.
(vc-bzr-workfile-version): Case for different Bzr branch formats.
See bzrlib/branch.py in Bzr sources.
(vc-bzr-diff): First argument FILES may be a string rather than a list.
(vc-bzr-shell-command): Remove in favor of
vc-bzr-command-discarding-stderr.
(vc-bzr-command-discarding-stderr): New function.
2007-08-07 04:23:50 +00:00
Vinicius Jose Latorre
49084b3679 Returning back printing.el 2007-08-06 23:33:37 +00:00
Stefan Monnier
b6e6e09ac1 (vc-bzr-registered): Gracefully handle missing "bzr"
program, and return nil
(vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
(vc-bzr-state): Look for path names relative to the repository
root after status keyword.
(vc-bzr-file-name-relative): New function.
(vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
depend on it.
(vc-bzr-admin-dirname, ...-checkout-format-file)
(...-branch-format-file, ...-revhistory): Paths to some Bzr internal
files that we now parse directly for speed.
(vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
(vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
(vc-bzr-state): "bzr status" successful only if exitcode is 0
(vc-bzr-root): Use `vc-bzr-shell-command'.  Stderr may contain
Bzr warnings, so we must discard it.
(vc-bzr-workfile-version): Speedup counting lines from
`vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
if that file doesn't exist.
(vc-bzr-responsible-p): Use `vc-bzr-root' instead of
`vc-bzr-root-dir' for speed.
add `vc-bzr-admin-dirname' (not ".bzr"!) to `vc-directory-exclusion-list'
(vc-bzr-shell-command): New function.
2007-08-06 21:17:34 +00:00
Stefan Monnier
dfbd373dfb (diff-unified->context, diff-reverse-direction, diff-fixup-modifs):
Typo in docstring.
2007-08-06 20:08:55 +00:00
Stefan Monnier
036f2966c3 (tpu-current-line): Use posn-at-point and count-screen-lines.
(tpu-edt-off): Disable relevant pieces of advice.
2007-08-06 16:21:33 +00:00
Stefan Monnier
f2b189796c (tpu-before-save-hook): Rename from tpu-write-file-hook.
Activate it with add-hook on buffer-save-hook.
(newline, newline-and-indent, do-auto-fill): Use advice instead of
redefining the function.
(tpu-set-scroll-margins): Activate the pieces of advice.
2007-08-06 16:20:10 +00:00
Michael Albinus
5bc880a47d * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
process-filter.
2007-08-06 06:57:31 +00:00
Martin Rudalics
2a5f11a2b0 (resize-temp-buffer-window): Use window-full-width-p
instead of comparing frame-width and window-width.
2007-08-06 06:51:13 +00:00
Vinicius Jose Latorre
a6f882f597 Honor term-default-fg-color and term-default-bg-color settings when modifying term-current-face. 2007-08-05 14:09:30 +00:00
Vinicius Jose Latorre
0dad68f039 Require lpr and ps-print when loading printing package 2007-08-05 12:58:00 +00:00
Michael Albinus
6435918d3d * net/tramp.el (tramp-handle-file-remote-p): Return a string as
remote identification.
2007-08-05 12:43:06 +00:00
Michael Albinus
212b726841 * files.el (set-auto-mode): Handle also remote files wrt
`auto-mode-alist'.
2007-08-05 08:57:24 +00:00
Glenn Morris
b1ab8c3810 (auto-revert-tail-mode): auto-revert-tail-pos is zero, not nil, when
the library is first loaded.  Check for a file that has been modified
on disk.
2007-08-04 02:35:10 +00:00
Miles Bader
5716cebdd0 Change capitalization of VC backend names for new backends
Revision: emacs@sv.gnu.org/emacs--rel--22--patch-87
2007-08-03 05:09:21 +00:00
Glenn Morris
3ff6796841 (telnet-mode): Set comint-use-prompt-regexp to t. 2007-08-03 03:21:13 +00:00
Richard M. Stallman
7d7d10b874 (rmail-make-summary-line): Find end of msg number to update deleted flag. 2007-08-02 17:56:38 +00:00
Richard M. Stallman
7d1dad0cbd (compilation-find-buffer): Return current buffer immediately if suitable.
(compile, compilation-buffer-name, compilation-start): Doc fixes.
2007-08-02 17:40:54 +00:00
Stefan Monnier
51f6595da7 (vc-bzr-admin-dirstate): Rename from `...-dirname'.
Make it more discriminating and more useful.
(vc-bzr-root-dir): Use new name.
(vc-bzr-registered): Use new name and look at the dirstate file to
determine if it's registered or not without running `bzr'.
2007-08-02 17:08:53 +00:00
Vinicius Jose Latorre
c47647ca1b Insert tiny change 2007-08-02 00:22:22 +00:00
Vinicius Jose Latorre
67de6223a9 Docstring fix 2007-08-01 17:36:31 +00:00
Vinicius Jose Latorre
aa96d4d57d Fix parent groups link 2007-08-01 01:18:37 +00:00
Richard M. Stallman
2d17b4d5dc (face-normalize-spec): New function.
(frame-set-background-mode): Normalize face-spec
before calling face-spec-match-p.
2007-07-31 17:34:15 +00:00
Stefan Monnier
5b5485e6fd (vc-find-file-hook): Failsafe if the backend's `registered' function burps. 2007-07-31 15:28:16 +00:00
Stefan Monnier
a0e5e0759c * vc-bzr.el: New file (copied from the trunk).
* vc-hooks.el (vc-handled-backends): Add BZR.
2007-07-31 15:26:05 +00:00
Stefan Monnier
ee9272ffea (server-window): Add switch-to-buffer-other-frame option. 2007-07-31 13:14:33 +00:00
Miles Bader
fa4488bd96 Changes from arch/CVS synchronization 2007-07-31 04:20:12 +00:00
Dan Nicolaescu
791869eb88 * vc-hg.el (vc-hg-registered): Set the vc-state property. 2007-07-30 17:12:10 +00:00
Dan Nicolaescu
eff23ff376 * vc-git.el: (vc-directory-exclusion-list, vc-handled-backends):
Remove.
(vc-git-revision-completion-table): Enable.

* vc-hooks.el (vc-handled-backends): Add GIT and HG.

* vc.el (vc-directory-exclusion-list): Add .git and .hg.

* vc-hg.el (vc-hg-revision-completion-table): Re-enable.

* diff-mode.el (diff-mode-menu): New entries.

* diff-mode.el (diff-beginning-of-file-and-junk): New function.
(diff-file-kill): Use it.
(diff-beginning-of-hunk): Add arg `try-harder' using it.
(diff-restrict-view, diff-find-source-location, diff-refine-hunk):
Use it so they find the hunk even when we're in the file header.

* vc.el: Add new VC operation `revision-completion-table'.
(vc-default-revision-completion-table): New function.
(vc-version-diff, vc-version-other-window): Use it to provide
completion of revision names if the backend provides it.

* vc-arch.el (vc-arch--version-completion-table)
(vc-arch-revision-completion-table): New functions to provide
completion of revision names.

* vc-cvs.el: Require CL.
(vc-cvs-revision-table, vc-cvs-revision-completion-table):
New functions to provide completion of revision names.

* eval.c (init_eval_once): Bump max_lisp_eval_depth to 400.

* vc2-xtra.texi (Customizing VC): Add GIT and HG.
2007-07-30 00:19:06 +00:00
Stefan Monnier
463dca7e44 (copyright-update-year, copyright-update, copyright-fix-years, copyright):
Correctly handle the case where copyright-limit is nil.
2007-07-29 20:11:25 +00:00
Stefan Monnier
0b3ef4f1e5 (run-python): Fix path separator under w32. 2007-07-28 20:24:19 +00:00
Dan Nicolaescu
b19c08e44d New File. 2007-07-28 16:04:10 +00:00
Alan Mackenzie
2cd3efd277 *** empty log message *** 2007-07-28 11:40:33 +00:00
Eli Zaretskii
fabbdc2f84 Fix the `coding' cookie. 2007-07-28 08:09:08 +00:00
Nick Roberts
5a1164db12 *** empty log message *** 2007-07-25 21:42:28 +00:00