1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00
Commit Graph

13399 Commits

Author SHA1 Message Date
Roland Winkler
92be491c25 (ibuffer-do-toggle-read-only): New optional arg as in
toggle-read-only.
2008-02-25 20:07:28 +00:00
Stefan Monnier
56741510ef (doc-view-conversion-buffer): Give it an internal name.
Demote it to plain defvar.
(doc-view-conversion-refresh-interval): Reduce interval.
(doc-view-goto-page): Allow moving to pages not yet rendered.
(doc-view-goto-page): Construct a file name rather than extracting it
from doc-view-current-files.
(doc-view-kill-proc): Ignore errors from kill-process.
(doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
(doc-view-insert-image): Use appropriate text if the page hasn't been
rendered yet.  Adjust scrolling so the text is displayed.
(doc-view-display): Detect not just that a page is available, but also
that it wasn't available before, to avoid refreshing all pages repeatedly.
(doc-view-mode): Make doc-view-cache-directory if needed.
2008-02-25 20:04:59 +00:00
Roland Winkler
c48f463bdb (bibtex-format-entry): Handle error message refering to a missing
required field with the OPT prefix.  Make unwindform more robust.
2008-02-25 19:57:38 +00:00
Chong Yidong
1a5f62980a * files.el (shell-quote-wildcard-pattern): Quote ' and " as well. 2008-02-25 17:41:59 +00:00
Robert J. Chassell
ff8b0c6dd0 *** empty log message *** 2008-02-25 16:37:30 +00:00
Jan Djärv
38cd9f1734 (grep-mode-tool-bar-map): New variable.
(grep-mode): Use grep-mode-tool-bar-map.
2008-02-25 10:52:57 +00:00
Glenn Morris
e46e905ae3 (vc-sccs-diff): Fix setting of oldvers and newvers. 2008-02-25 08:14:21 +00:00
Stefan Monnier
f52d2f9c30 * diff-mode.el (diff-file-junk-re): New const.
(diff-beginning-of-file-and-junk): Use it.
(diff-file-kill): Make sure we were really inside a file diff.

* diff-mode.el: Make it more robust in the presence of empty context
lines in unified hunks.
(diff-valid-unified-empty-line): New var.
(diff-unified->context, diff-sanity-check-hunk): Obey it.
(diff-end-of-hunk): Obey it.  New arg `donttrustheader'.
(diff-fixup-modifs, diff-post-command-hook): Use this new arg.
(diff-hunk-header-re-unified): New const.
(diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
(diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
(diff-sanity-check-hunk): Use it.

* diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
Index: line, don't search backward for the previous one.
2008-02-25 03:54:54 +00:00
Juanma Barranquero
31143cfcd3 *** empty log message *** 2008-02-25 02:36:22 +00:00
Kenichi Handa
a1fe5dfaf7 (setup-default-fontset): Add non-OTF
lao font for lao script.
2008-02-25 01:40:09 +00:00
Miles Bader
ffe832ea68 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1081
2008-02-25 00:21:57 +00:00
Juri Linkov
d8891294b8 (isearch-fail): Use "RosyBrown1" for a light
background, "red4" for a dark background, "red" for 16 and
8 colors, "grey" for grayscale, and inverse video otherwise.
Add :version tag.
(isearch-message): Keep the original isearch-message intact, and
add text properties to it where necessary.  Add `isearch-error' to
the condition that checks if isearch is unsuccessful.
2008-02-25 00:01:54 +00:00
Juri Linkov
a46b95a834 (compilation-handle-exit):
Use compilation-error face instead of font-lock-warning-face.
Display the same message in the minibuffer as is inserted
at the end of the compilation buffer.
2008-02-24 23:21:56 +00:00
Glenn Morris
09607e62d9 (vc-rcs-register): Fix treatment of directories in multiple file case.
Use a single `let' rather than two.
2008-02-24 23:02:59 +00:00
Glenn Morris
967bf29791 (vc-cvs-register): Fix registering of directories in multiple file case. 2008-02-24 22:54:30 +00:00
Glenn Morris
59e9dbbc63 (vc-mcvs-register): Fix let-binding (for use of `file'). 2008-02-24 22:51:00 +00:00
Juanma Barranquero
ff20fdbbd2 *** empty log message *** 2008-02-24 22:32:00 +00:00
Dan Nicolaescu
a8bdd228f8 (compilation-start): Specify a face for
mode-line-process.
(compilation-handle-exit): Specify a face and a tooltip for
mode-line-process.
2008-02-24 20:44:24 +00:00
Jason Rumney
12f68d3fdf (file-name-invalid-regexp): Fix octal/decimal confusion. 2008-02-24 16:57:51 +00:00
Stefan Monnier
01dcf28448 Remove spurious * in defcustom docstrings.
(hilit-chg-make-ov): Simplify.
(hilit-chg-fixup): Use remove-overlays.
(hilit-chg-set-face-on-change): Remove redundant `remove-text-properties' call.
2008-02-24 13:24:12 +00:00
Miles Bader
b03f96dc5a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00
Juanma Barranquero
a5b6e5a466 (linum-after-config): Update all visible windows. 2008-02-23 23:35:23 +00:00
Chong Yidong
46e114403d * textmodes/bibtex.el (bibtex-convert-alien): Fix sit-for ags. 2008-02-23 20:28:46 +00:00
Glenn Morris
f3468eacb7 (tree-widget-lookup-image): Let-bind `file'. 2008-02-23 20:17:44 +00:00
Glenn Morris
beaa23bc22 (iwconfig-program, iwconfig-program-options): Add :version. 2008-02-23 20:02:55 +00:00
Glenn Morris
0329d8a3e8 (menu-bar-games-menu): Add Bubbles and Pong. Add :help for Solitaire and Tetris. 2008-02-23 19:35:42 +00:00
Dan Nicolaescu
25a4ea6de0 * vc.el (vc-find-revision): Make vc-parent-buffer local before
setting it.
(vc-status-menu-map): Do not define using easy-menu.
(vc-status-menu-map): New defalias.
(vc-status-mode-map): Hook up the menu.
(top-level): Update TODO.

* vc-hg.el (vc-hg-extra-status-menu): Return a keymap.

* vc-bzr.el (vc-bzr-init-version): Rename to ...
(vc-bzr-init-revision): ... this.
2008-02-23 06:32:12 +00:00
Jason Rumney
e50002c894 *** empty log message *** 2008-02-23 00:49:39 +00:00
Jason Rumney
cba3dac5b5 (WINS_ALMOST): Remove term.
(WINS): Add term here.
(custom-deps, finder-data): Use WINS_ALMOST.
2008-02-23 00:17:28 +00:00
Juanma Barranquero
986845aff7 (font-weight-table): Fix value of `semi-light'. 2008-02-22 23:37:23 +00:00
Stefan Monnier
9c7f8459fd (font-weight-table, font-slant-table, font-swidth-table):
Make those tables bijective.
2008-02-22 19:03:06 +00:00
Stefan Monnier
bb5527ce63 (dired-mark-prompt): Don't count/display the t element.
Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
2008-02-22 18:47:26 +00:00
Ken Manheimer
f7aa70c758 Finish pdbtrack integration cleanup, settling missing-functions
byte compiler warnings appropriately.

* progmodes/python.el (python-point): Remove this - beginning-of-line was
all that was necessary for `python-pdbtrack-overlay-arrow'.
(python-end-of-def-or-class, python-beginning-of-def-or-class)
(python-goto-initial-line): Drop these - they were only needed for
python-point.
(python-comint-output-filter-function): Use condition-case and
beginning-of-line directly, instead of python-mode.el functions
which require all sorts of baggage.
(point-safe): Unnecessary - we're using condition-case directly,
instead.
(python-execute-file): Include for python-shell, which i'm leaving
in keeping despite it being unnecessary for pdb tracking.
2008-02-22 17:49:48 +00:00
Andreas Schwab
d007adda89 Revert last change for now. 2008-02-22 15:10:13 +00:00
Thien-Thi Nguyen
12cf1a12ab (scheme-font-lock-keywords-2): Add SRFI 11 support.
(let-values, let*-values): Specify scheme-indent-function.
2008-02-22 11:12:09 +00:00
Andreas Schwab
fcca2aff43 (verilog-xemacs-menu): Fix setup of "Move" submenu. 2008-02-22 11:00:54 +00:00
Dan Nicolaescu
751c9f0042 * vc.el (vc-exec-after): Move setting mode-line-process in the
busy case ...
(vc-set-mode-line-busy-indicator): ... in this new function.
(vc-status-refresh): Call vc-set-mode-line-busy-indicator.
(vc-update-vc-status-buffer): Reset mode-line-process.
(vc-status-mark-all-files, vc-status-unmark-all-files): Change to
mark/unmark all the files with the same state as the current one.
With a prefix argument mark/unmark all files.
(vc-status-mode-menu): Adjust strings.
(vc-update-vc-status-buffer): Only do something when the argument
is not nil.
(vc-status-kill-dir-status-process): New function.
(vc-status-mode-map): Bind it.
(vc-status-process-buffer): New variable.
(vc-status-mode): Make it local.
(vc-status-refresh): Set it.

* vc-hg.el (vc-hg-dir-status):
* vc-git.el (vc-git-dir-status):
* vc-svn.el (vc-svn-dir-status): Return the buffer in which the
command is run.
2008-02-22 07:44:08 +00:00
Glenn Morris
4dd7de9aaf Fix typo. 2008-02-22 05:02:59 +00:00
Dan Nicolaescu
d3201e0b10 (vc-exec-after): Move setting mode-line-process in the
busy case ...
(vc-set-mode-line-busy-indicator): ... in this new function.
(vc-status-refresh): Call vc-set-mode-line-busy-indicator.
(vc-update-vc-status-buffer): Reset mode-line-process.
(vc-status-mark-all-files, vc-status-unmark-all-files): Change to
mark/unmark all the files with the same state as the current one.
With a prefix argument mark/unmark all files.
(vc-status-mode-menu): Adjust strings.
2008-02-22 04:51:39 +00:00
Glenn Morris
1eb2d40715 (top-level): No need to require time-date when compiling. 2008-02-22 03:58:56 +00:00
Glenn Morris
5ca1bb2d09 Fix attribution. 2008-02-22 03:48:30 +00:00
Juanma Barranquero
4a4bdfc7a6 *** empty log message *** 2008-02-22 02:56:58 +00:00
Kenichi Handa
43d8c495b2 Don't load language/devanagari, language/kannanda,
language/malayalam, and language/tamil.  Load language/sinhala.
2008-02-22 01:56:30 +00:00
Bastien Guerry
b198861124 2008-02-22 Bill Meier <wmeier@newsguy.com> (tiny change)
* progmodes/sh-script.el (sh-indent-comment): Docstring fix.
2008-02-22 01:28:08 +00:00
Michael Olson
70ef6fdd86 Use new location for json.el in lisp/ChangeLog. 2008-02-22 01:15:42 +00:00
Ken Manheimer
82ede38976 Revise pdbtrack functionality to incorporate advances in python-mode.el.
(I'm doing this python.el checkin with some byte-compiler warnings.  These
warnings existed before Nick Roberts or I applied any of the pdbtrack
changes, and look very clearly like preexisting, incomplete adoption of
code from python-mode.el.  I'm going to next look at settling those
warnings, though I don't have time for a major reconciliation of the two
python-mode implementations.)

(python-pdbtrack-toggle-stack-tracking): Clarify docstring.
(python-pdbtrack-minor-mode-string): A sign indicating that pdb
tracking is happening.
(python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
(python-pdbtrack-input-prompt): Better recognize PDB prompts.
(add python-pdbtrack-track-stack-file to comint-output-filter-functions):
Tracking is plugged in to all comint buffers once python.el is loaded.
(python-pdbtrack-overlay-arrow): Toggle activation of
`python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
(python-pdbtrack-track-stack-file): Use new
`python-pdbtrack-get-source-buffer' for more flexible access to
debugging source files.
(python-pdbtrack-get-source-buffer): Identify debugging target
buffer according to pdb stack trace, optionally using new
`python-pdbtrack-grub-for-buffer' if file is not locally
available.
(python-pdbtrack-grub-for-buffer): Find most recent python-mode
named buffer, or having function with indicated name.
(python-shell): Remove comint-output-filter-functions hook
addition, it's being done elsewhere.  Wrap long line.
2008-02-21 22:28:13 +00:00
Michael Olson
26e9972380 lisp/ChangeLog: Update. 2008-02-21 20:29:34 +00:00
Michael Olson
02761f8558 Install net/json.el, a JavaScript Object Notation parser / generator. 2008-02-21 19:41:38 +00:00
Chong Yidong
ff493c639b * progmodes/sym-comp.el: New file.
* progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
Require sym-comp.  Add Python buffer to same-window-buffer-names.
Fixup whitespaces.
(python-font-lock-keywords): Add highlighting for Python builtins.
(python-font-lock-syntactic-keywords): Rewrite.
(python-quote-syntax): Use syntax-ppss-context instead of parsing
ppss directly.
(python-mode-map): Add binding for python-find-function.
(python-calculate-indentation): Clean up the logic.
(python-beginning-of-defun): Explicitly set return value.
(python-beginning-of-statement): Stop looping if we get stuck
going backwards.
(python-next-statement): Stop looping if we somehow end up inside
a string while advancing.
(python-preoutput-continuation, python-version-checked): New vars.
(python-check-version): New function.
(run-python): Set default command to python-command instead of
python-python-command.
(run-python): Use python-check-version.  Give PYTHONPATH
precedence over data-directory in the process environment.  Load
function definitions in python process after.
(python-check-comint-prompt): New function.
(python-send-command, python-send-receive): Use it.
(python-complete-symbol, python-try-complete): Functions deleted.
Use symbol-complete instead of python-complete-symbol throughout.
(python-fill-paragraph): Further refine the fenced-string regexp.
(def-python-skeleton): Expand to the original abbrev instead if in
a comment or string.  Tweak skeletons for `if', `while', `for',
`try/except', `try/finally', `name'.
(python-pea-hook, python-abbrev-pc-hook): New functions.
(python-abbrev-syntax-table): New var.
(python-mode): Add python-pea-hook to pre-abbrev-expand-hook.  Use
symbol-completion-try-complete for hippie expansion.  Turn on font
lock unconditionally.
(python-mode-hook): Defcustom it.  No need to use make-local
variable on indent-tabs-mode in "Turn off Indent Tabs mode"
option, since it's buffer-local.
2008-02-21 17:03:10 +00:00
Juanma Barranquero
10a806d3b1 (hanoi-internal): Set `show-trailing-whitespace' to nil. 2008-02-21 15:27:15 +00:00