An Emacs mode for editing Python code

remove undo boundary after py-electric-backspace?

Asked by Chris McDonough on 2012-10-24

I'm wondering if it'd be a good idea to remove the undo boundary after py-electric-backspace so undoing backspaces in Python buffers is not a char-by-char operation? That said, I may be misdiagnosing the issue, but if I visit a Python buffer and delete a bunch of characters using backspace, then execute undo, it undoes one backspace at a time.

Question information

Language:
English Edit question
Status:
Answered
For:
python-mode.el Edit question
Assignee:
No assignee Edit question
Last query:
2012-10-24
Last reply:
2012-10-24
Andreas Roehler (a-roehler) said : #1

Am 24.10.2012 08:26, schrieb Chris McDonough:
> New question #212164 on python-mode.el:
> https://answers.launchpad.net/python-mode/+question/212164
>
> I'm wondering if it'd be a good idea to remove the undo boundary after py-electric-backspace so undoing backspaces in Python buffers is not a char-by-char operation? That said, I may be misdiagnosing the issue, but if I visit a Python buffer and delete a bunch of characters using backspace, then execute undo, it undoes one backspace at a time.
>

hmm, let't say "undoes the effect of command backspace" - that's the way undo acts.
If you think it should do differently, please file a bug-report giving some code example how it should behave.

Can you help with this problem?

Provide an answer of your own, or ask Chris McDonough for more information if necessary.

To post a message you must log in.