Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python mode marks #277

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update python mode marks #277

wants to merge 1 commit into from

Conversation

galaunay
Copy link

@galaunay galaunay commented Dec 3, 2022

Updates and improvements on the python.el marks.

  • Remove python-mark-block as it fails to expand the selection from nested functions.
  • Add er/mark-python-inside-block and er/mark-python-outside-block to expand to blocks by indentation level.
  • Add er/mark-python-numbers to expand to python numbers (such as 10_000, 34.567 or 123e-35).
  • Add er/mark-python-defun-or-class to expand to nested functions/classes.
  • Update er/mark-outside-python-string and er/mark-inside-python-string to expand to multi-quoted string (e.g. """my docstring""") and to include string specifiers (e.g. f"variable = {var}" or b"binary string").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant