From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Comments in assembly-mode and tabstops Date: Sun, 02 Jan 2011 19:47:45 +0200 Message-ID: <83vd27nqny.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1293990374 9348 80.91.229.12 (2 Jan 2011 17:46:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2011 17:46:14 +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 18:46:10 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 1PZS0P-0007tW-Hb for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Jan 2011 18:46:09 +0100 Original-Received: from localhost ([127.0.0.1]:53236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZS0O-0006UD-NC for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Jan 2011 12:46:08 -0500 Original-Received: from [140.186.70.92] (port=49042 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZRzw-0006SI-KX for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 12:45:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZRzt-0002eb-Mo for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 12:45:40 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:65300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZRzt-0002e3-D4 for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 12:45:37 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LEE00B00P6NTR00@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 19:45:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.127.157]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LEE00B2UPBXM560@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 19:45:34 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:78065 Archived-At: > Date: Sun, 2 Jan 2011 09:19:35 -0600 > From: Mark Tilford > > 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.)