From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Buchs, Kevin" Newsgroups: gmane.emacs.help Subject: RE: help reading assembly code Date: Tue, 25 Oct 2011 10:43:42 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1319557442 29765 80.91.229.12 (25 Oct 2011 15:44:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2011 15:44:02 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 25 17:43:57 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RIjAR-0004zK-Ka for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 17:43:55 +0200 Original-Received: from localhost ([::1]:35260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIjAR-0002ns-5o for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 11:43:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIjAM-0002kl-4G for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 11:43:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIjAJ-0004JK-Qs for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 11:43:49 -0400 Original-Received: from mail10.mayo.edu ([129.176.212.47]:26732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIjAJ-0004Is-Ny for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 11:43:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArgGAOzYpk6BsNQ1/2dsb2JhbABAA5oZjn+BBYFuAQEBAQIBME4NAQgiBhgHVwEEEwiHeJRNlxWJAoUugjRhBIdWMIwDijWHRg X-IronPort-AV: E=Sophos;i="4.69,404,1315198800"; d="scan'208";a="113068514" Original-Received: from mhro1a.mayo.edu ([129.176.212.53]) by ironport10.mayo.edu with ESMTP; 25 Oct 2011 10:43:45 -0500 Original-Received: from smtprelay.mayo.edu (smtprelay2.mayo.edu [192.168.48.11]) by mhro1a.mayo.edu with ESMTP id BT-MMP-2778898 for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 10:43:43 -0500 Original-Received: from MACE.mayo.edu (mace.mayo.edu [129.176.215.134]) by smtprelay.mayo.edu (8.12.11/8.12.11) with ESMTP id p9PFhgu9023414 for ; Tue, 25 Oct 2011 10:43:43 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: help reading assembly code Thread-Index: AcyTK3dD3H1bKf+mQFGIiuVEyO6ymg== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 129.176.212.47 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82646 Archived-At: > I would like to be able to read more easily assembly code (since I = really don't do it very often). For example it would be nice to have = some function which shows me a reference documentation given the = operator. Given my current infatuation with org-mode, I would accomplish the = function you describe above (only) using org-mode. I would make each = command a radio link, such that you could hypertext jump to the = documentation on the command wherever it occurs in your program. I would = take a file of command documentation and insert it at the end of my = program. Each command name should be enclosed in << >>. The turn on = org-mode.=20 Alternately, I would suggest writing a lisp function which parses out = each command and replaces it with a link with the same text as the label = and that link executes lisp code to bring up the definition, in the = message area, a help buffer, new frame or whatever fits best for you.=20 Have you checked out asm-mode? That might give you syntax coloring for = assembly that could be useful. You might have to create an child mode = with custom syntax table, depending on your assembly language. Kevin Buchs=A0=A0 |=A0=A0Senior Engineer | Department of Physiology = and Biomedical Engineering - SPPDG 507-538-5459=A0=A0|=A0=A0=A0buchs.kevin@mayo.edu | = =A0http://www.mayo.edu/sppdg Mayo Clinic=A0=A0|=A0=A0200 1st St. SW=A0 |=A0 Rochester, MN 55905=A0=20