finer grained commands

Registered by Andreas Roehler on 2010-10-15

Introduce a framework to return, move over or
manipulate a given Python programming expression, a
THING as py-block, py-expression, py-def etc.

For all of these the following functions provide:
ar-THING-atpt
ar-THING-bounds-atpt
ar-THING-beginning-position-atpt
ar-THING-end-position-atpt
ar-THING-beginning-atpt
ar-THING-end-atpt
ar-THING-length-atpt
ar-THING-copy-atpt
ar-THING-kill-atpt
ar-THING-forward-atpt
ar-THING-backward-atpt
ar-THING-transpose-atpt
ar-THING-sort-atpt
ar-THING-check-atpt

Beside of the mentioned Python specific stuff,
set of lower level
commands for text manipulation:

For example `ar-alnum-atpt' should return all
alpha-numerical chars below and around cursor as a
string. `ar-bounds-of-alnum-atpt' returns the
borders of that string as a list and so on.

The following example given for `bracketed' should exist
for braced, parentized and many more

ar-bracketed-atpt
ar-bracketed-bounds-atpt
ar-bracketed-beginning-position-atpt
ar-bracketed-end-position-atpt
ar-bracketed-beginning-atpt
ar-bracketed-end-atpt
ar-bracketed-length-atpt
ar-bracketed-copy-atpt
ar-bracketed-kill-atpt
ar-bracketed-forward-atpt
ar-bracketed-backward-atpt
ar-bracketed-transpose-atpt
ar-bracketed-sort-atpt
ar-bracketed-check-atpt

As related tasks usually will be done with a
regexp-search-and-replace - if the command needed
exists already, all the time spent with typos etc.
might be saved, just try:

ar-THING-slash-atpt
ar-THING-double-backslash-atpt
ar-THING-doubleslash-atpt
ar-THING-delete-in-region
ar-blok-THING-atpt
ar-THING-escape-atpt
ar-THING-doublequote-atpt
ar-THING-doubleslash-paren-atpt
ar-THING-slashparen-atpt
ar-THING-dollar-atpt
ar-THING-equalize-atpt
ar-THING-greater-angle-atpt
ar-THING-lesser-angle-atpt
ar-THING-backslash-atpt
ar-THING-brace-atpt
ar-THING-bracket-atpt
ar-comment-THING-atpt
ar-commatize-THING-atpt
ar-quote-THING-atpt
ar-THING-hyphen-atpt
ar-THING-mark-atpt
ar-THING-hide-atpt
ar-THING-show-atpt
ar-THING-hide-show-atpt
ar-THING-left-right-singlequote-atpt
ar-THING-parentize-atpt
ar-THING-separate-atpt
ar-THING-singlequote-atpt
ar-THING-trim-atpt
ar-THING-left-trim-atpt
ar-THING-right-trim-atpt
ar-underscore-THING-atpt
ar-whitespace-THING-atpt

commands ar-THING-or-copy-atpt.

For example `ar-brace-or-copy-atpt':

"If region is highlighted, provide THING at point
with brace(s), otherwise copy brace(ed) at point.
With NO-DELIMITERS, copy brace(ed) without
delimiters. With negative argument kill brace(ed) at
point. "

see also
thing-at-point-utils.el from
https://code.launchpad.net/s-x-emacs-werkstatt/

If `thing-at-point-utils.el' is loaded,
see: M-x apropos bracketed
See also: M-x apropos parentized

New class of commands should cover possible and somehow probable operations like
`delete-attibute-under-point-from-functions-attribut-list'.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Andreas Roehler on 2016-02-13

Sprints

Whiteboard

ToDo:
commatize: put commata behind
quote: put singlequotes before

Note: Common functions speeding up editing like `ar-doublequote-graph-in-region-atpt' reside in
thing-at-point-utils.el, thing-in-thing.el etc. at https://code.launchpad.net/s-x-emacs-werkstatt/

New file second-level-commands-transition.el for playing with forms envisaged.

#############
[Python-mode] speech recognition/Emacs match up

Eric S. Johansson
Sat, 23 Apr 2011 23:54:43 -0700
Many moons ago, I mentioned the need for some special features so that one can more easily create Python using speech recognition. I've got a fair start on some of the symbol manipulation techniques (http://blog.esjworks.com) but it counts on the ability to identify and isolate symbols based on their implied type signature.

focusing awareness.
#############

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.