From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Tilford Newsgroups: gmane.emacs.help Subject: Comments in assembly-mode and tabstops Date: Sun, 2 Jan 2011 09:19:35 -0600 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1293981622 415 80.91.229.12 (2 Jan 2011 15:20:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2011 15:20:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 02 16:20:18 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZPjF-0005hU-Dd for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Jan 2011 16:20:17 +0100 Original-Received: from localhost ([127.0.0.1]:52186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZPjE-0001fi-Ti for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Jan 2011 10:20:16 -0500 Original-Received: from [140.186.70.92] (port=60557 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZPif-0001dn-52 for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 10:19:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZPie-00034i-19 for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 10:19:41 -0500 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:56203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZPid-00034S-L8 for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 10:19:39 -0500 Original-Received: by wyj26 with SMTP id 26so13274260wyj.0 for ; Sun, 02 Jan 2011 07:19:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=HRtB4Oip4CScdnH+E1MphrysXGeNhxigU5qGPHIe80c=; b=BaHybGlJCzI///1U0MoIjImd4Y1OepJhjmXSbv5L2NjwMGvoKT35pBKS4zRw93RVQC AoZuvB8Gnf/GpirMyo/6nWTZvwVqfdy1FBij7HvHRw1i+it91C8LgCV9cQ8QwZTnmmMk uMLQJWS79mHuiHP2ftfZ8aOj00eopi+5Ry1KE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gGX+IsisF+0kVYY013ZqGjz2tt2n3uwbvZJSssy2KqQAY/66kA1Q6+RT0lTIiJWtBw ofriXfSB6P6QOxENMbBMoYSLvMx6imZADnA//n4/rKqNWLDhqaiXCXHxqzaRkq77lQb/ ovxkXFytP5eiczMee0SkDOCNgjdrtpnFdZ4XE= Original-Received: by 10.216.213.15 with SMTP id z15mr19405002weo.61.1293981575290; Sun, 02 Jan 2011 07:19:35 -0800 (PST) Original-Received: by 10.216.179.78 with HTTP; Sun, 2 Jan 2011 07:19:35 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78048 Archived-At: 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)? 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?