From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Heike C. Zimmerer" Newsgroups: gmane.emacs.devel Subject: gas-mode.el - Comments welcome Date: Wed, 30 May 2007 16:43:00 +0200 Organization: Mostly Harmless Message-ID: Reply-To: hcz@hczim.de NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180536939 23165 80.91.229.12 (30 May 2007 14:55:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 May 2007 14:55:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 30 16:55:33 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HtPa7-0005ma-AX for ged-emacs-devel@m.gmane.org; Wed, 30 May 2007 16:55:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtPa6-0004kV-RK for ged-emacs-devel@m.gmane.org; Wed, 30 May 2007 10:55:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HtPa0-0004gJ-L8 for emacs-devel@gnu.org; Wed, 30 May 2007 10:55:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HtPZz-0004fB-PD for emacs-devel@gnu.org; Wed, 30 May 2007 10:55:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtPZz-0004f0-Kr for emacs-devel@gnu.org; Wed, 30 May 2007 10:55:15 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HtPZz-0006eO-3Y for emacs-devel@gnu.org; Wed, 30 May 2007 10:55:15 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HtPZm-0001bo-1c for emacs-devel@gnu.org; Wed, 30 May 2007 16:55:02 +0200 Original-Received: from p54a11deb.dip0.t-ipconnect.de ([84.161.29.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 May 2007 16:55:02 +0200 Original-Received: from hcz by p54a11deb.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 May 2007 16:55:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 52 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a11deb.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/23.0.0 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71986 Archived-At: A few days ago, I have posted gas-mode.el, a mode to edit assembly language files, to gnu.emacs.sources. I once started out to write this code since I was not satisfied with the current asm-mode. At some later point I decided it could be of general interest and made it ready for a first release. Richard then contacted me, asking about the whys and hows, and a few e-mails later we agreed to make it a replacement for the current asm-mode.el. It is now time time to check it out in order to make it ready for inclusion with GNU Emacs. So I'm asking you for comments. If you do assembly language programming, you could try it out. If you know someone who might be interested, you could make him aware of it. Also, since Lisp is not the language I usually do much programming in, tips, hints and comments on coding style and conformance to coding conventions are welcome. The name `gas-mode' is somewhat misleading; it is no more specific to the GNU gas assembler as the current asm-mode is (we'll change the name to `asm-mode' later). For users of asm-mode, a switch to gas-mode should go rather smoothly (and you get extra features like code beautifying, paragraph-filling which is sensitive to the kind of comment you're in, limited support for embedded C-declarations meant for automatic export into .h files, symbol highlighting and jumping between matching definitions and references - all that at no extra cost ...). There might be one exception however: cases where the comment character differs from the standard value (?\;) are not yet tested; here I could use some helping hands and some real world examples which work or don't work yet. The documentation: Until now, there's only the existing doc written for asm-mode, the mode-specific help (C-h m) of gas-mode, and the Commentary: part at the beginning of gas-mode.el. Some help from proofreaders will be required when more doc evolves since English is not my native language. I've put up a web page for the distribution of updated versions. You'll always find the most recent version at http.//www.hczim.de/software/gas-mode.html I'll post a message pointing there in gnu.emacs.sources - not for each update, but when major changes become available. There's already a new version there. The main difference to the one posted in gnu.emacs.sources is that the doc strings and some commentaries have been polished. Also a bug (you're not very likely to stumble upon) has been fixed. For testing how it works, the already posted code is sufficient. If you'd like to have a look at the internals, I recommend downloading the new version. - Heike