![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| perl: printf indentation problem | wolwy_pete | Shell Programming and Scripting | 5 | 03-27-2008 08:09 PM |
| A question of indentation | Michael Iatrou | High Level Programming | 1 | 12-23-2006 05:29 PM |
| emacs as a line editor | annemar | UNIX for Dummies Questions & Answers | 5 | 11-30-2005 12:41 PM |
| Help on EMACS | VENC22 | UNIX for Dummies Questions & Answers | 4 | 07-14-2005 02:14 AM |
| Making Emacs to show line number | saurya_s | UNIX for Dummies Questions & Answers | 9 | 01-28-2004 01:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi. I'm writing a document in Python, so indentation is crucial.
I want to indent a whole section by exactly one tab. Any idea how to go about this? I'm using terminal emacs (no mouse input) Thanks for any help! |
|
||||
|
I guess Python is a little tricky because emacs cannot use the usual C-M-q to indent a code block since the indentation defines the block!
How about C-x TAB ( the indent-rigidly command) which shifts the selected region? The command takes an argument in the usual way to specify the number of spaces to move, e.g. C-u n C-x TAB to move the selected text n spaces. n can be negative to un-indent. |
![]() |
| Bookmarks |
| Tags |
| emacs, indentation, python |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|