- 17 Tem, 2002 2 kayıt (commit)
-
-
Barry Warsaw yazdı
contents of the next command.
-
Barry Warsaw yazdı
defined. /Really/ closes SF # 580631.
-
- 16 Tem, 2002 2 kayıt (commit)
-
-
Barry Warsaw yazdı
but which is in a comment or string. Closes SF bug # 572341 reported by Adrian van den Dries.
-
Barry Warsaw yazdı
up the compile command's history. Fix that by using compile-internal. Fixes SF bug # 580631
-
- 23 May, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
string with text in column zero. Skip that stuff when looking for the "first statement following the statement containing point".
-
- 12 May, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
save-excursion so that when the function is complete, point is preserved.
-
- 30 Nis, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
define info-lookup-maybe-add-help.
-
- 26 Nis, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
the `when' condition so other non-Python shell comint changes won't cause random buffers to pop.
-
- 25 Nis, 2002 5 kayıt (commit)
-
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
better auto-recognition of a Jython file vs. a CPython (or agnostic) file by looking at the #! line more closely, and inspecting the import statements in the first 20000 bytes (configurable). Specifically, (py-import-check-point-max): New variable, controlling how far into the buffer it will search for import statements. (py-jpython-packages): List of package names that are Jython-ish. (py-shell-alist): List of #! line programs and the modes associated with them. (jpython-mode-hook): Extra hook that runs when entering jpython-mode (what about Jython mode? <20k wink>). (py-choose-shell-by-shebang, py-choose-shell-by-import, py-choose-shell): New functions. (python-mode): Use py-choose-shell. (jpython-mode): New command. (py-execute-region): Don't use my previous hacky attempt at doing this, use the new py-choose-shell function. One other thing this file now does: it attempts to add the proper hooks to interpreter-mode-alist and auto-mode-alist if they aren't already there. Might help with Emacs users since that editor doesn't come with python-mode by default.
-
Barry Warsaw yazdı
whitespace can hose the needs-if test. So just skip all blank lines at the start of the region right off the bat.
-
Barry Warsaw yazdı
always get to see the result of e.g. a py-execute-region. Funny, this bugged both me /and/ Guido!
-
Barry Warsaw yazdı
Allows for some customization of the underlying comint buffer. (py-shell): Call the new hook. (info-lookup-maybe-add-help): A new call suggested by Milan Zamazal to make lookups in the Info documentation easier.
-
- 22 Nis, 2002 5 kayıt (commit)
-
-
Barry Warsaw yazdı
(py-mode-map): Bind py-help-at-point to f1 as well as C-c C-h (py-help-at-point): Make sure the symbol is quoted so things like pydoc.help('sys.platform') work correctly. Also, leave the *Python Output* buffer in help-mode; this may be a bit more controversial.
-
Barry Warsaw yazdı
to call pychecker on the current file, add a face for pseudo keywords self, None, True, False, and Ellipsis. Specifically, (py-pychecker-command, py-pychecker-command-args): New variables. (py-pseudo-keyword-face): New face variable, defaulting to a copy of font-lock-keyword-face. (python-font-lock-keywords): Add an entry for self, None, True, False, Ellipsis to be rendered in py-pseudo-keyword-face. (py-pychecker-history): New variable. (py-mode-map): Bind C-c C-w to py-pychecker-run. (py-pychecker-run): New command.
-
Barry Warsaw yazdı
"help-on-symbol-at-point" feature which uses pydoc to provide help on the symbol under point, if available. Mods include some name changes, a port to Emacs, binding the command to C-c C-h, and providing a more informative error message if the symbol's help can't be found (through use of a nasty bare except). Note also that py-describe-mode has been moved off of C-c C-h m; it's now just available on C-c ? Closes SF patch #545439.
-
Barry Warsaw yazdı
#! line, use the command on that line as the shell command to use to execute the region. I.e. if the region looks like ---------------- #! /usr/bin/env python1.5 print 'hello world'.startswith('hello') ---------------- you'll get an exception! :) This closes SF bug #232398.
-
Barry Warsaw yazdı
python-mode file, py-which-shell would have been nil and the command to use would not get set correctly. This changes things so that 1) the temporary file has a .py extension, 2) the temporary file is put into python-mode, and 3) the temporary file's py-which-shell is captured in a local `shell' variable, which is used to calculate the command to use. Closes SF bug #545436. (py-parse-state): Rip out the XEmacs-specific calls to buffer-syntactic-context, which can get quite confused if there's an open paren in column zero say, embedded in a triple quoted string. This was always a performance hack anyway, and computers are fast enough now that we should be able to get away with the slower, more portable, full-parse branch. Closes SF bug #451841. Update the comments at the top of the file.
-
- 18 Mar, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
searches. This is added after /tmp. Closes SF bug #505488, except that /var/tmp comes after /tmp instead of the patch's suggestion of putting it before /usr/tmp.
-
- 15 Mar, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
implementation to match the documentation for py-honor-comment-indentation w.r.t. not nil or t value. In that case it should still ignore ## for indentation purposes. Closes SF bug #523825, w/ patch provided by Christian Stork (mod'd by Barry). Python 2.2.1 candidate.
-
- 06 Tem, 2001 2 kayıt (commit)
-
-
Barry Warsaw yazdı
clobbered on checkin.
-
Barry Warsaw yazdı
additional offset is only applied to continuation lines for block opening statements. (py-compute-indentation): Only add py-continuation-offset if py-statement-opens-block-p is true.
-
- 19 Haz, 2001 1 kayıt (commit)
-
-
Barry Warsaw yazdı
new "simple generators" feature of 2.2. See PEP 255.
-
- 18 Haz, 2001 1 kayıt (commit)
-
-
Barry Warsaw yazdı
indent continuation lines, defined as lines following those that end in backslash. (py-compute-indentation): Support for py-continuation-offset.
-
- 11 Nis, 2001 2 kayıt (commit)
-
-
Barry Warsaw yazdı
prefix to the message lines.
-
Barry Warsaw yazdı
-
- 24 Şub, 2001 1 kayıt (commit)
-
-
Barry Warsaw yazdı
multi-line list comprehensions.
-
- 20 Şub, 2001 1 kayıt (commit)
-
-
Barry Warsaw yazdı
buffer after executing its contents.
-
- 27 Ara, 2000 1 kayıt (commit)
-
-
Barry Warsaw yazdı
but only in "import foo as bar" statements (including optional preceding `from' clause).
-
- 27 Eki, 2000 1 kayıt (commit)
-
-
Barry Warsaw yazdı
delimiter, watch out for backslash escaped delimiters. Also use = instead of eq for character comparison (because a character is = to it's integer value, but not eq to it).
-
- 23 Haz, 2000 1 kayıt (commit)
-
-
Barry Warsaw yazdı
the insertion of the text.
-
- 23 May, 2000 1 kayıt (commit)
-
-
Barry Warsaw yazdı
Montanaro, handle execution of indented regions by inserting an "if 1:" in front of the block. This better preserves things like triple quoted strings and commented regions. This patch resolves PR#264.
-
- 10 Agu, 1999 1 kayıt (commit)
-
-
Barry Warsaw yazdı
convenient to call py-shell before the first Python file has been visited.
-
- 28 Tem, 1999 2 kayıt (commit)
-
-
Barry Warsaw yazdı
(python): Set defgroup :prefix to "py-" to make variable names cleaner. (py-jpython-command, py-jpython-command-args): Set :tag for proper capitalization of JPython in variable name display.
-
Barry Warsaw yazdı
first time a py buffer is visited during the Emacs session. This ensures that py-which-shells is initialized and also guarantees that the mode lines reflect the correct shell. First bug found by GvR, second one has long bugged :) me. (py-toggle-shells): Programmatically, arg can also take the symbols `cpython' or `jpython', which makes it easy to call with the value of py-default-interpreter. (py-shell): Don't need to initialize py-which-* variables since these will guarantee to be initialized by python-mode when the first py buffer is visited. (py-default-interpreter): Update docstring.
-
- 27 Tem, 1999 1 kayıt (commit)
-
-
Barry Warsaw yazdı
regex match actually succeeded!
-
- 03 Haz, 1999 1 kayıt (commit)
-
-
Barry Warsaw yazdı
the line's whitespace. back-to-indentation should /follow/ this call.
-
- 24 May, 1999 3 kayıt (commit)
-
-
Barry Warsaw yazdı
casing when py-honor-comment-indentation is nil, but this could be a religious issue with some. Seems to me we should still be dedenting such comment lines one level.
-
Barry Warsaw yazdı
buffer-syntactic-context -- just short circuit the TQS test by jumping to point-min and doing the test from there. For long files, this will be faster than looping with a re-search-backwards.
-
Barry Warsaw yazdı
indentation when the return value is a multiline sexp: def bug(): try: if 2>1: return (11+ 12) else: #XXX return 12 except: return 13
-