[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comments in assembly-mode and tabstops
From: |
Kevin Rodgers |
Subject: |
Re: Comments in assembly-mode and tabstops |
Date: |
Mon, 03 Jan 2011 23:46:36 -0700 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
On 1/2/11 8:19 AM, Mark Tilford wrote:
1) If I want to comment out a few lines of assembly, I tend to:
- Move the cursor to the beginning of the line.
- Push semicolon
Unfortunately, emacs decides to jump to the end of the line (or worse,
sometimes the middle of the line) before putting down the semicolon.
I have to use the method of:
- Move the cursor to the beginning of the line
- Push enter
- Push up
- Push semicolon
- Push delete
This is very annoying. What's the intended way to comment out code in
assembly-mode (or disable the above behavior)?
Isn't it the same as all modes? i.e. mark the beginning of the first line,
move down, and type M-;
2) I like a two or four space indention on my code. Unfortunately,
emacs tends to store this as a mix of tabs and spaces.
Is there a way to have emacs handle the combination of, say, a four
space indent and three levels deep stored as three tab characters, and
displayed with the width of 12 spaces?
3) I'm really used to the behavior of "If a line is wider than the
window, down arrowing only stops once on that line." Is there a way
to get this behavior back?
--
Kevin Rodgers
Denver, Colorado, USA