An Emacs mode for editing Python code

How to do delete region or block

Asked by fzhang00 on 2013-04-16

Hi,

I installed python-mode 6.1.1 under Ubuntu. When I hit backspace or DEL, regardless whether I have a region selected, the command delete only 1 character. Is there anyway to configure the command to delete a block of code?

I'm sorry if this is obvious. I'm new to emacs and python-mode. Thanks.

Fan

Question information

Language:
English Edit question
Status:
Answered
For:
python-mode.el Edit question
Assignee:
Andreas Roehler Edit question
Last query:
2013-04-16
Last reply:
2013-05-01
Whiteboard:
M-x delete-selection-mode RET should switch the feature. Not Python-mode specific yet. M-x py-electric- TAB displays a list of related commands
Andreas Roehler (a-roehler) said : #1

M-x delete-selection-mode RET should switch the feature. Not Python-mode specific yet. M-x py-electric- TAB displays a list of related commands

Can you help with this problem?

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

To post a message you must log in.