Chong Yidong
2bcda1d5ac
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:47 +00:00
Chong Yidong
e21766aa63
New file.
2008-02-21 17:03:30 +00:00
Nick Roberts
d550787cc9
Also require comint when loading.
...
(python-mode-map): Bind python-pdbtrack-toggle-stack-tracking,
Replace python-shell with run-python on menu bar,
(python-shell-map): New map.
(python-default-interpreter, python-python-command-args)
(python-jython-command-args, python-pdbtrack-do-tracking-p):
New options.
(python-which-shell, python-which-args, python-which-bufname):
New buffer local variables.
(python-file-queue, python-pdbtrack-is-tracking-p):
* progmodes/python.el (python-pdbtrack-stack-entry-regexp)
(python-pdbtrack-input-prompt, python-pdbtrack-track-range):
New constants.
Pdbtrack features:
(python-point, python-end-of-def-or-class)
(python-beginning-of-def-or-class, python-goto-initial-line)
(python-comint-output-filter-function)
(python-pdbtrack-overlay-arrow)
(python-pdbtrack-track-stack-file, python-toggle-shells)
(python-shell, python-pdbtrack-toggle-stack-tracking)
(turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
New functions.
2008-02-20 00:18:23 +00:00
Stefan Monnier
57e828aed9
(gdb-output-sink): Define with an invalid value.
...
(gdb): Initialize it here instead.
2008-02-19 04:30:50 +00:00
Juanma Barranquero
436e9d04c1
(customize): Fix typo in error message.
...
(verilog-mode, verilog-mode-indent, verilog-mode-actions, verilog-mode-auto,
verilog-indent-level-module, verilog-minimum-comment-distance,
verilog-library-flags, verilog-library-directories, verilog-library-files,
verilog-auto-reset-widths, verilog-imenu-generic-expression,
verilog-xemacs-menu, verilog-set-compile-command, verilog-set-compile-command,
verilog-mode-syntax-table, verilog-mode, verilog-get-expr,
verilog-strip-comments, verilog-one-line, verilog-lint-off, verilog-batch-auto,
verilog-batch-delete-auto, verilog-batch-inject-auto, verilog-batch-indent,
verilog-continued-line, verilog-type-keywords, verilog-read-sub-decls-sig,
verilog-read-sub-decls-line, verilog-read-inst-pins, verilog-read-arg-pins,
verilog-read-auto-template, verilog-read-signals, verilog-getopt-file,
verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename,
verilog-auto-star, verilog-auto-inst, verilog-auto-wire, verilog-enum-ascii,
verilog-sk-begin, verilog-sk-fork, verilog-sk-datadef,
verilog-colorize-include-files-buffer, verilog-mode-version,
verilog-mode-release-date, verilog-mode-release-emacs, verilog-linter,
verilog-coverage, verilog-simulator, verilog-compiler,
verilog-auto-sense-defines-constant, verilog-company, verilog-project,
verilog-mark-defun, verilog-submit-bug-report): Fix typos in docstrings.
(verilog-set-auto-endcomments, verilog-calculate-indent, verilog-inject-auto,
verilog-auto-arg, verilog-auto-inout-module): Reflow docstrings.
(verilog-tab-always-indent, verilog-highlight-p1800-keywords,
verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook,
electric-verilog-forward-sexp, verilog-in-case-region-p,
verilog-in-struct-region-p, verilog-in-generate-region-p, verilog-leap-to-head,
verilog-current-indent-level, verilog-case-indent-level, verilog-cpp-keywords,
verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords,
verilog-case-keywords, verilog-separator-keywords, verilog-completion,
verilog-signals-not-in, verilog-symbol-detick-text,
verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer,
verilog-forward-close-paren, verilog-backward-open-paren,
verilog-backward-open-bracket): Doc fixes.
2008-02-18 15:39:33 +00:00
Juanma Barranquero
5b01c043e4
*** empty log message ***
2008-02-18 15:36:39 +00:00
Juanma Barranquero
bb02b5ec14
(gud-def, gud-last-speedbar-stackframe): Doc fixes.
...
(gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons,
gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p, gud-jdb-classpath,
gud-jdb-find-source-using-classpath, jdb, gud-find-class, gdb-script-mode,
gud-tooltip-event, gud-tooltip-tips): Fix typos in docstrings.
2008-02-18 15:36:03 +00:00
Dan Nicolaescu
d79dd1b083
(hs-minor-mode-map): Move menu creation to
...
top level.
2008-02-17 18:55:24 +00:00
Dan Nicolaescu
1f3447603f
Remove the minor-mode bookkeeping. Move
...
make-variable-buffer-local code after the corresponding defvar.
(hs-minor-mode-map): Define and initialize in one step.
(hs-minor-mode): Change from defun to define-minor-mode.
2008-02-16 07:40:06 +00:00
Nick Roberts
517045bc37
(gud-gdb): Don't reset gdb-ready.
...
(gdb-ready): Move declaration to gdb-ui.el.
2008-02-16 07:03:15 +00:00
Nick Roberts
ef6cb9e834
(gdb-ready): Move declaration from gud.el to here.
...
(gdb-early-user-input): New variable.
(gdb): Reset gdb-flush-pending-output to nil and set
comint-input-sender here (before gdb-prompt), instead of...
(gdb-init-1): ...here.
(gdb-send): If Emacs is not ready, defer user input to...
(gdb-prompt): ...here.
2008-02-16 06:45:07 +00:00
Mark A. Hershberger
fa2a4e7dac
add php error regex for compile mode
2008-02-13 22:26:33 +00:00
Mark A. Hershberger
eabd11d4da
add support to flymake for php, add support to flymake for perl module files (.pm)
2008-02-13 19:30:58 +00:00
Juri Linkov
78dc87a23f
(compilation-auto-jump): Call
...
compile-goto-error only when compilation-auto-jump-to-first-error
is non-nil.
(compilation-scroll-output): Replace :type 'boolean with a choice
that has three options including a third option `first-error'.
Doc fix.
(compilation-start, compilation-forget-errors): Add an alternate
condition comparing compilation-scroll-output with `first-error'
in addition to compilation-auto-jump-to-first-error (to call
compilation-auto-jump in the proper place).
2008-02-12 23:41:59 +00:00
Richard M. Stallman
cba9bdd242
Add many doc strings.
2008-02-11 17:36:03 +00:00
Glenn Morris
3dc4febd47
(compilation-error-regexp-alist-alist): Shorten some names.
2008-02-11 04:11:00 +00:00
Stefan Monnier
250962b3d8
(compilation-next-error): Add clarifying comment.
2008-02-10 03:16:06 +00:00
Glenn Morris
5cba760134
Delete trailing whitespace.
...
(top-level): Use characterp rather than char-valid-p.
2008-02-02 04:28:47 +00:00
Glenn Morris
8835727b24
(fortran-comment-indent-char): Use characterp rather than char-valid-p.
2008-02-02 04:23:20 +00:00
Glenn Morris
d4b5f7d7ec
Update copyright years and GPL version.
...
(capitalized-next-word-boundary): Rename to capitalized-find-word-boundary.
Doc fix. Update callers.
(capitalized-next-word-boundary-function-table): Rename to
capitalized-find-word-boundary-function-table. Doc fix. Update users.
2008-02-02 04:22:46 +00:00
Chong Yidong
6613bf7ab8
Undo last change.
...
(next-file): Improve revert message.
2008-02-01 23:37:07 +00:00
Chong Yidong
580d92980c
(tags-loop-revert-buffers): Value `ask' means to query the user interactively.
...
(next-file): Implement it.
2008-02-01 23:23:54 +00:00
Miles Bader
dd559368b0
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-330
2008-02-01 04:44:30 +00:00
Miles Bader
bf120ed1b9
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1034
2008-02-01 04:43:42 +00:00
Dan Nicolaescu
f07fe18424
(verilog-sk-prompt-msb)
...
(verilog-sk-module, verilog-sk-function, verilog-sk-begin)
(verilog-sk-if, verilog-sk-wire, verilog-sk-for)
(verilog-sk-state-machine): Quote all calls to
"auxiliary skeleton"s to prevent infloops.
2008-02-01 03:12:44 +00:00
Miles Bader
a9989764a4
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-329
2008-02-01 03:01:11 +00:00
Stefan Monnier
85e7298f90
(grep-compute-defaults):
...
Don't mix up defaults for different connections to the same host.
2008-02-01 01:38:32 +00:00
Miles Bader
6498c4b170
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-328
2008-01-31 13:49:17 +00:00
Miles Bader
94cc397c54
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1028
2008-01-31 11:35:46 +00:00
Nick Roberts
473a20b83e
(gdb-var-set-format-regexp): New constant.
...
(gdb-var-set-format-handler): New function.
(gdb-var-set-format): Use it.
2008-01-30 22:07:41 +00:00
Miles Bader
d235ca2ff8
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
2008-01-30 07:57:28 +00:00
Miles Bader
02cbe062be
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1024
2008-01-30 07:11:04 +00:00
Alan Mackenzie
9555a4cfeb
(c-block-stmt-1-kwds, c-block-stmt-2-kwds, c-simple-stmt-kwds): New
...
Objective C keywords: @finally, @try, @catch, @synchronized, @throw.
2008-01-29 20:47:03 +00:00
Alan Mackenzie
88b4a959ac
(c-specifier-key): Exclude "template" from this regexp; to allow the "{"
...
of a template function to be correctly anchored on "template", not the
following "<".
2008-01-29 20:33:38 +00:00
Alan Mackenzie
cc1cce145e
(c-specifier-key): Exclude "template" from this regexp; to allow the "{"
...
of a template function to be correctly anchored on "template", not the
following "<".
2008-01-29 20:30:54 +00:00
Alan Mackenzie
86f4a763d4
(c-guess-basic-syntax, CASE 5A.5): Anchor the "{" of a template function
...
correctly on "template", not the following "<".
2008-01-29 20:21:42 +00:00
Alan Mackenzie
820d062bde
(c-guess-basic-syntax, CASE 5A.5): Anchor the "{" of a template function
...
correctly on "template", not the following "<".
2008-01-29 20:17:44 +00:00
Alan Mackenzie
3e63bf0e9c
(c-version): increase to 5.31.5.
2008-01-29 20:07:20 +00:00
Alan Mackenzie
4994db5843
(c-version): increase to 5.31.5.
2008-01-29 20:05:22 +00:00
Richard M. Stallman
c575e6587e
(tags-query-replace): Delete unused optional args. Doc fix.
2008-01-29 14:49:10 +00:00
Miles Bader
8dd59f01de
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1021
2008-01-29 06:54:30 +00:00
Nick Roberts
f43ad7374f
(gdb-create-define-alist): Don't call
...
gdb-cpp-define-alist-program if file is nil (currently only
" *partial-output-...").
2008-01-27 20:53:02 +00:00
Alan Mackenzie
022d0cf4cd
Correct typos, enhance comments.
2008-01-27 17:03:43 +00:00
Alan Mackenzie
5da4625816
Correct typos, enhance comments.
2008-01-27 17:02:06 +00:00
Alan Mackenzie
f6558e2d48
Correct typos, enhance comments.
2008-01-27 16:56:04 +00:00
Alan Mackenzie
4fae8922be
Introduce elements for the syntactic symbol arglist-cont-nonempty into
...
c-hanging-braces-alist. Amend pertinent functions and 5 styles.
2008-01-27 13:59:47 +00:00
Alan Mackenzie
9bb1a1d66c
Introduce elements for the syntactic symbol arglist-cont-nonempty into
...
c-hanging-braces-alist. Amend pertinent functions and 5 styles.
2008-01-26 22:26:18 +00:00
Alan Mackenzie
44f714fda5
(c-save-buffer-state): Bind buffer-file-name and buffer-file-truename to
...
nil, to prevent primitives generating "buffer is read only" messages.
2008-01-26 20:28:46 +00:00
Alan Mackenzie
c7ad89a668
(c-save-buffer-state): Bind buffer-file-name and buffer-file-truename to
...
nil, to prevent primitives generating "buffer is read only" messages.
2008-01-26 19:59:10 +00:00
Eli Zaretskii
405b8be3fc
(tags-query-replace): Doc fix.
2008-01-26 17:55:24 +00:00