From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Patch to disable links line in *info* buffer Date: 11 Jun 2002 17:00:19 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <87bsaos1fl.fsf@orebokech.com> <200206072322.g57NMtK27277@aztec.santafe.edu> <5xbsam1tje.fsf@kfs2.cua.dk> <87wut9tppe.fsf@orebokech.com> <200206101359.g5ADx7b28021@rum.cs.yale.edu> <200206101728.g5AHSjQ29188@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1023830945 29444 127.0.0.1 (11 Jun 2002 21:29:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Jun 2002 21:29:05 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17HtCK-0007en-00 for ; Tue, 11 Jun 2002 23:29:04 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17HtZp-0001oC-00 for ; Tue, 11 Jun 2002 23:53:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Hsz3-0002yB-00; Tue, 11 Jun 2002 17:15:21 -0400 Original-Received: from colo.agora-net.com ([207.245.85.68]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Hskb-0001Z2-00 for ; Tue, 11 Jun 2002 17:00:25 -0400 Original-Received: from ttn by colo.agora-net.com with local (Exim 3.34 #1) id 17HskV-0008Tr-00; Tue, 11 Jun 2002 17:00:19 -0400 Original-To: bob@rattlesnake.com In-Reply-To: "Robert J. Chassell"'s message of "Tue, 11 Jun 2002 11:15:32 +0000 (UTC)" Original-Lines: 56 X-Mailer: Gnus v5.7/Emacs 20.7 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4766 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4766 "Robert J. Chassell" writes: Whether it is more useful depends on your goal. the goal is to act in an exemplery fashion, to demonstrate the path taken. But for my primary audience, this series of keystrokes fails; it is like a magic catenation that does the job, but you don't learn the physics. My audience need to learn that there is a `dir' file. They need to learn that you can go from the dir file to a specific Info file; and that in the Info file, you can go to a specific node. And they need to be inspired to do this. chunking issue: "(emacs)Top" is fine for top-level, but for deeper nodes, say "(emacs)Mode Line", the path can be represented: C-h i m Emacs RET m Mode Line RET so, to show this just requires some "info-follow-path-slowly" that does the equivalent of (info "(emacs)Mode Line") w/ a pause in between each step and a nice message saying "you can do this yourself next time". then, the "link data" is just ("Emacs" "Mode Line") and you can tell people: (info-follow-path-slowly "Emacs" "Mode Line") working sketch below. (as for how to inspire people, just set the default `sit-for' values to beyond normal patience threshold. this is the stick part, using emacs is the carrot. ;-) thi ___________________________________________________________ (defun info-follow-path-slowly (&rest path) (info) ;; TODO: get back to top-level somehow (message "this is the dir file") (sit-for 5) (while path (let ((name (car path))) (re-search-forward (concat "^* " name)) (message "next, we're going to go to ``%s''" name) (sit-for 5) (Info-menu name) (message "ok, now we're at ``%s''" name) (sit-for 5)) (setq path (cdr path))) (message "we're here -- everyone to the bathroom!"))