From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.help Subject: Re: help reading assembly code Date: Wed, 26 Oct 2011 15:35:40 +0100 Message-ID: <4EA81ABC.6030103@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1319639771 20323 80.91.229.12 (26 Oct 2011 14:36:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2011 14:36:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Buchs, Kevin" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 26 16:36:07 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 1RJ4aL-0001pT-Qm for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Oct 2011 16:36:06 +0200 Original-Received: from localhost ([::1]:60409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJ4aI-0006bz-Qq for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Oct 2011 10:36:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJ4aB-0006bs-PM for help-gnu-emacs@gnu.org; Wed, 26 Oct 2011 10:35:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJ4a7-0003Gw-Lg for help-gnu-emacs@gnu.org; Wed, 26 Oct 2011 10:35:55 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:37249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJ4a7-0003Ge-HJ for help-gnu-emacs@gnu.org; Wed, 26 Oct 2011 10:35:51 -0400 Original-Received: by wwf27 with SMTP id 27so1925947wwf.30 for ; Wed, 26 Oct 2011 07:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=fcQ55ZOAqkqHbXMpI5gnSRf7NUJpcXCJFPJB+SE/6MY=; b=o2rWWvWCKvBFFG3wPzXfchZgqpJk86ZQtmXLq9REsnyiC/Tgq2TMX1xgG9nC0xu9Q9 x8J3ZphHvsZHT9eFZUDCIcyObsH9PO1+zMaTXA2pnBSFOCI2YVnfP6Ct5xsslPDv2llW IqWg1pyDukGzJfPTc4+yigdGvIBzab9Uos1Bw= Original-Received: by 10.216.230.160 with SMTP id j32mr1077987weq.76.1319639749802; Wed, 26 Oct 2011 07:35:49 -0700 (PDT) Original-Received: from [10.0.0.147] (mail2.xype.com. [87.194.167.167]) by mx.google.com with ESMTPS id ff6sm3517166wbb.10.2011.10.26.07.35.44 (version=SSLv3 cipher=OTHER); Wed, 26 Oct 2011 07:35:46 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 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:82657 Archived-At: On 10/25/2011 04:43 PM, Buchs, Kevin wrote: > 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. > > 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. > > 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. > > I also like a lot org-mode, but I don't think it would be so helpful in this case... Also a simple function to bind to some key in asm-mode would be perfectly fine, the only problem is that I can't find any reference web-site with all the informations I want. (which can be indexed easily with each node reachable)