all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Craig Muth <craig.muth@gmail.com>
To: emacs-devel@gnu.org, "Mark A. Hershberger" <mah@everybody.org>
Subject: Re: Xiki framework (wiki and tree emacs features)
Date: Fri, 5 Feb 2010 15:48:54 -0500	[thread overview]
Message-ID: <e0a9243f1002051248kd704f1axc9770e3db21aa8b@mail.gmail.com> (raw)
In-Reply-To: <878wb7r196.fsf@everybody.org>

[-- Attachment #1: Type: text/plain, Size: 2108 bytes --]

Here's an example of a xiki tree you might build up when working in some
elisp files.  Could be useful for communicating about code on mailing lists
like this one.  Forgive me if org mode (or something else) already does
this.  If so please enlighten me - I'd be interested in checking it out.

- /usr/share/emacs22/
  - lisp/
    - isearch.el
      | (defun isearch-forward (&optional regexp-p no-recursive-edit)
        | Type \\[isearch-yank-char] to yank char from buffer onto end of
search\
        | (defun isearch-mode (forward &optional regexp op-fun
recursive-edit word-p)
          | (defvar isearch-mode-map
            |     (define-key map "\M-\C-y" 'isearch-yank-char)
              - Not recognizing var:
              | (defun isearch-yank-char (&optional arg)

      + all lines using the map: ##isearch-mode-map/

    - You can see it compiles:
    ! ls -l
      ! -rw-r--r--    1 craig  admin    97058 Feb  2 11:58 isearch.el
      ! -rw-r--r--    1 craig  admin    66540 Feb  2 11:58 isearch.elc

  - site-lisp/
    - session.el
      | (defcustom session-registers '((?0 . ?9) ?- ?= ?\\ ?` region (?a .
?z))
        - Todo: want to include this:
        |   CHAR or (FROM . TO) or `file' or `region' or t.

Such trees are navigable in any buffer/file (you can just paste in the
tree), though in note-mode they will be colorized.

Normally you build up these trees (using keyboard shortcuts) for your self,
for navigation while you're working and for reference later.  You can also
send them to other people, and they can use them to navigate (possibly
changing the /usr/share/emacs22/ line first if appropriate).

Note you can C-. (or C-enter, or double-click) on dirs to expand and show
their files, on files to open them or expand their contents, on lines within
files to jump to them, on the "!" line to run the command, and on the "##"
line to expand the search (searches expand out into a sub-tree).  The "-
foo:" lines are ignored, and are just there for notes.  The whitespace
before the "| ..." lines is insignificant, so you can indent to represent
the call hierarchy.

--Craig

[-- Attachment #2: Type: text/html, Size: 2619 bytes --]

  parent reply	other threads:[~2010-02-05 20:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-02  3:08 Xiki framework (wiki and tree emacs features) Craig Muth
2010-02-04  3:24 ` Craig Muth
2010-02-05 18:22 ` Mark A. Hershberger
2010-02-05 19:32   ` Craig Muth
2010-02-05 20:48   ` Craig Muth [this message]
2010-02-06  1:26     ` Mark A. Hershberger
2010-02-06  1:45       ` Craig Muth
2010-02-06 22:55         ` Richard Stallman
2010-02-07 11:33           ` Glauber Alex Dias Prado
2010-02-07 11:33             ` Glauber Alex Dias Prado
2010-02-07 15:55             ` joakim
2010-02-07  9:47   ` Štěpán Němec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0a9243f1002051248kd704f1axc9770e3db21aa8b@mail.gmail.com \
    --to=craig.muth@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mah@everybody.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.