News and announcements
python-mode.el-6.1.0
Written for python-mode.el by Andreas Roehler on 2012-12-05
New in version 6.1.0
-------
- py-up
Go to beginning one level above of compound statement or definition at point.
- py-down
Go to beginning one level below of compound statement or definition at point.
- Customizable output directory
After checking for a remote shell, the following variables are consulted:
py-use-
When `t', current directory is used by Python-shell for output of `py-execute-buffer' and related commands
py-fileless-
When `py-use-
py-keep-
Don't change Python shell's current working directory when sending code.
`py-execute-
If nothing was set so far, $VIRTUAL_ENV and $HOME are queried.
- Set of commands calling Python3.3
- fill docstrings according to style, commands
py-fill-
py-fill-
py-fill-
py-fill-
py-fill-
Customizable variable `py-fill-
used by `py-fill-string', `py-fill-paragraph'
DJANGO:
\"\"\"
Process foo, return bar.
\"\"\"
\"\"\"
Process foo, return bar.
If processing fails throw ProcessingError.
\"\"\"
ONETWO:
\"\"\"Process foo, return bar.\"\"\"
\"\"\"
Process foo, return bar.
If processing fails throw ProcessingError.
\"\"\"
PEP-257:
\"\"\"Process foo, return bar.\"\"\"
\"\"\"Process foo, return bar.
If processing fails throw ProcessingError.
\"\"\"
PEP-257-NN:
\"\"\"Process foo, return bar.\"\"\"
\"\"\"Process foo, return bar.
If processing fails throw ProcessingError.
\"\"\"
SYMMETRIC:
\"\"\"Process foo, return bar.\"\"\"
\"\"\"
Process foo, return bar.
If processing fails throw ProcessingError.
\"\"\""
Built upon code seen at python.el, thanks Fabian
- `py-down-
- toggle-
- py-split-
- py-split-
- toggle-
- py-switch-
- py-switch-
- `py-shell-
python-mode.el-6.0.12
Written for python-mode.el by Andreas Roehler on 2012-09-28
New in version 6.0.12
-------
- py-sexp-function.
When set, it's value is called instead of `forward-sexp', `backward-sexp
Choices are py-partial-
- `py-partial-
Beside common moves like `defun', `statement' specific Python-mode edits are delivered:
`py-expression' and `py-partial-
Statement below is considered composed of two `py-expression'
a = ['spam', 'eggs', 100, 1234]
|_| |______
Assigment operator and all inside comments is ignored.
`py-partial-
a = ['spam', 'eggs', 100, 1234]
|_| |_____| |____| |__| |__|
When traversing code, `py-partial-
all levels encountered, i.e. at opening `[' `py-expression' would return ['spam', 'eggs', 100, 1234], while one char behind at `''
it yields `'spam','
- `py-find-
- Choice between `py-imenu-
py-imenu-
Customizable variable `py-imenu-
command in PyTools
- New commands addressing BOL as start/end:
py-beginning-
py-end-
py-mark-block-bol
py-copy-block-bol
py-kill-block-bol
py-delete-
py-end-
etc.
- While commands "py-beginning..." resp. "py-end..." compute the context,
selecting the corresponding beginning or end,
new "py-up...", "py-down..." jump regexp-based to the
next element in buffer.
See also menu PyEdit
Updated .
python-mode.el-6.0.11
Written for python-mode.el by Andreas Roehler on 2012-08-14
New in version 6.0.11
-------
- improved Pymacs based code completion:
- Completion of symbols from imported modules, functions, classes,
module/
buffer. The information for this completion is updated whenever the file
is saved.
- Completion of local variables and function parameters.
- Type deduction from constructor calls and literals.
- Show help for modules, classes and functions.
- Go to definition of modules, classes and functions.
- Show signature of functions.
- Support for auto-complete and company.
- remote shell support
- extended version of smart-operator added
original smart-operator.el authored by
William Xu <william.
Url: http://
- py-electric-colon extended
if `py-electric-
`py-electric-
- boolean `py-no-
If completion function should call dabbrev-expand
when no completion found. Default is `t'
- boolean `py-shell-
sets `comint-
- customizable history variables/files
py-python-history defaults to "~/.python_history"
py-ipython-
If py-honor-
If py-honor-
- customizable boolean `py-trailing-
Default is nil. Some commands may delete trailing
whitespaces by the way. When editing other peoples
code, this may produce a larger diff than expected
python-mode.el-6.0.10
Written for python-mode.el by Andreas Roehler on 2012-06-28
adresses some bugs and speed issues
python-mode.el-6.0.9
Written for python-mode.el by Andreas Roehler on 2012-06-20
New in version 6.0.9
-------
- autopair-mode delivered
Credits to Joao Tavora http://
see README-AUTOPAIR.org for details
- Syntax highlighting in Python-shell buffers enabled
boolean `py-fontify-
- py-add-abbrev, new command
Similar to `add-mode-abbrev', but uses
`py-partial-
store, not `word'. Also provides a proposal for new
abbrevs.
Proposal for an abbrev is composed from the downcased
initials of expansion - provided they are of char-class
[:alpha:]
For example code below would be recognised as a
`py-expression' composed by three
py-partial-
OrderedDict.
Putting the curser at the EOL, M-3 M-x py-add-abbrev
would prompt "op" for an abbrev to store, as first
`py-partial-
not taken as proposal.
- py-edit-abbrevs
Jumps to `python-
- modeline enhanced
when a path/to/
the Python-shell buffer before would display
*ND path/to/
now:
*ptmfP Python*
boolean `py-modeline-
boolean `py-modeline-
If the modeline acronym should contain chars indicating the home-directory.
- mode-line indicates "Py" by default
customize `python-
- Pymacs intergration dropped from trunk
conflicts with classic install being reported