From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Comments in assembly-mode and tabstops
Date: Sun, 02 Jan 2011 19:47:45 +0200 [thread overview]
Message-ID: <83vd27nqny.fsf@gnu.org> (raw)
In-Reply-To: <AANLkTikRzzDkv=wJ8ND_x+tZ5hUTQT-=NDDZO6gETPfD@mail.gmail.com>
> Date: Sun, 2 Jan 2011 09:19:35 -0600
> From: Mark Tilford <ralphmerridew@gmail.com>
>
> 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)?
Try customizing the variable comment-column, it sounds like you'd like
its value to be zero.
> 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?
Customize the variable indent-tabs-mode to nil.
> 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?
Customize line-move-visual to nil. (This is in NEWS.)
next prev parent reply other threads:[~2011-01-02 17:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-02 15:19 Comments in assembly-mode and tabstops Mark Tilford
2011-01-02 17:47 ` Eli Zaretskii [this message]
2011-01-04 6:46 ` Kevin Rodgers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83vd27nqny.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).