unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Comments in assembly-mode and tabstops
Date: Mon, 03 Jan 2011 23:46:36 -0700	[thread overview]
Message-ID: <ifufnp$ll8$1@dough.gmane.org> (raw)
In-Reply-To: <AANLkTikRzzDkv=wJ8ND_x+tZ5hUTQT-=NDDZO6gETPfD@mail.gmail.com>

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




      parent reply	other threads:[~2011-01-04  6:46 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
2011-01-04  6:46 ` Kevin Rodgers [this message]

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='ifufnp$ll8$1@dough.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --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).