From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Young Ju Song Newsgroups: gmane.emacs.help Subject: Is there some package that manages various tree structure? Date: Sun, 2 Nov 2014 15:49:55 +0900 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1414913636 30298 80.91.229.3 (2 Nov 2014 07:33:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Nov 2014 07:33:56 +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 Nov 02 08:33:52 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XkpfZ-0006xE-VH for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Nov 2014 08:33:50 +0100 Original-Received: from localhost ([::1]:55559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkpfZ-00046Y-2W for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Nov 2014 02:33:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xkoz9-0004yJ-8D for help-gnu-emacs@gnu.org; Sun, 02 Nov 2014 01:50:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xkoz7-0001qv-Mn for help-gnu-emacs@gnu.org; Sun, 02 Nov 2014 01:49:59 -0500 Original-Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:63495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xkoz7-0001qp-Bv for help-gnu-emacs@gnu.org; Sun, 02 Nov 2014 01:49:57 -0500 Original-Received: by mail-wi0-f175.google.com with SMTP id ex7so4142957wid.2 for ; Sat, 01 Nov 2014 23:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=h6Q4VozjnkJvaaHoVWSYA1E2uN1IyG18VeoeCq3pdhk=; b=D8BPW51I2WP4zXUbETpnaPARa0PjepkhUmmb0AhPfGy8CNpxuciSLBfjONFtu3Kg+v rWZpYduZsqFAsSnmUrrr16H2PIYZnPijbmkf0XYwlKBY6g2PoPWlQUQrHjlmS+rJxh2l wOijrnNIYuNwFTowqC+t8VCh7OaAgeSi57lC5j8NONtMShIbeqtYpb5MYxhaVpIVbmNf K+tIxofEvB5SSHuuWc82tr2h+xenco25NEKso/g62pl+5FiuvnKRcaj6QLS7/v7hm0pG fz/CYMaUZzDOKGt+H5i5VNhkpVy9ZHdmmaDJ44P9GRbMXRCC/Fhid62UaR8Mb5xR1cxH NfPg== X-Received: by 10.181.11.131 with SMTP id ei3mr7951029wid.24.1414910995507; Sat, 01 Nov 2014 23:49:55 -0700 (PDT) Original-Received: by 10.194.69.4 with HTTP; Sat, 1 Nov 2014 23:49:55 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22f X-Mailman-Approved-At: Sun, 02 Nov 2014 02:33:39 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:100685 Archived-At: Hello! I'm a newbie Emacs user who migrated from vim about 4 months ago. This is first time for me to mail here and I'm not sure if this is right place for my question... Inside Emacs, I work with various tree structures, such as - undo-tree - directory structure (direx, neo-tree, etc. nerdtree in vim) - org mode (I haven't seen tree visualization of org document, but it basically can be seen as a tree structure with each headline as a node) Also, I think following can be presented as a tree inside Emacs even though I haven't seen yet - proof tree (http://askra.de/software/prooftree/) - buffer. I really love Firefox's tree-style tab plugin and I think similar idea can be applied to Emacs. (can be well defined as follows : if buffer A is opened inside buffer B, A is children of B) I usually open various buffers including Coq&ProofGeneral things, Octopress blogging things, sshing to machine and C/C++ programming things, etc which can be well organized with tree structure. - git commits. If we impose edge to both parents in merge operation, this can be seen as a tree. I think it would be great to have some layer which grants unity while representing/manipulating tree structure. Representing (data level) may include original data, contracted data (minimal graph homeomorphic to original graph, smoothing out all vertices with degree 2. It may be useful for undo-tree), etc. Representing (visual level) may include nerdtree style, (growing horizontal) undo-tree style, (growing vertical), etc. Manipulating may include moving cursor from node to node(to parent, to child, to sibling), visiting current node, (&optional) moving a node, moving a node and its children recursively, etc. I found this package (https://github.com/kiwanami/emacs-ctable) which looks like having similar idea with me except that this is for table. If there is something like what I have described, please let me know. If there is not, does it sound realistic to make one? Any comments or advices are welcome! Thanks for reading. Frederick Song