From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jeremy Gray Newsgroups: gmane.emacs.help Subject: Re: INFOPATH and emacs Date: Thu, 17 Apr 2003 20:46:07 GMT Organization: Prodigy Internet http://www.prodigy.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3E9EE2EE.5060709@yahoo.com> Reply-To: gray@metacomet.net NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1050609592 17684 80.91.224.249 (17 Apr 2003 19:59:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2003 19:59:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 17 21:59:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 196FTs-0004IV-00 for ; Thu, 17 Apr 2003 21:55:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196FPI-0006hX-01 for gnu-help-gnu-emacs@m.gmane.org; Thu, 17 Apr 2003 15:50:52 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!canoe.uoregon.edu!logbridge.uoregon.edu!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssrv26.news.prodigy.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.7.4 (Linux) Original-Lines: 29 Original-NNTP-Posting-Host: 68.22.249.88 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssrv26.news.prodigy.com 1050612367 ST000 68.22.249.88 (Thu, 17 Apr 2003 15:46:07 CDT) Original-NNTP-Posting-Date: Thu, 17 Apr 2003 15:46:07 CDT X-UserInfo1: Q[R_PJSCTS@GRVTY\JKVNFP@XB]BAAXOGHTVOBPLAH[\RWICYFWUQBKZQLYJX\_ITFD_KFVLUN[DOM_A_NSYNWPFWNS[XV\I]PZ@BQ[@CDQDPCL^FKCBIPC@KLGEZEFNMDYMKHRL_YYYGDSSODXYN@[\BK[LVTWI@AXGQCOA_SAH@TPD^\AL\RLGRFWEARBM Original-Xref: shelby.stanford.edu gnu.emacs.help:112073 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8573 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8573 David Masterson wrote: > Jeremy Gray writes: > >> This appears to work, at least for me. > >> + (if (string-match ":$" path) > > What if the INFOPATH include "::" in it? In other words, what if he > wanted to append to Info-default-directory-list rather than prepend to > it? You would have to set INFOPATH to the list of directories. I just implemented the ultimate colon behavior as it's documented for info standalone. So, any "::" parts of INFOPATH would be pruned (nil is not a directory), with the ultimate colon behavior applicable if necessary. Of course casing on "^:" or "::" could also be done. > Also, I think Info-default-directory-list is deprecated in XEmacs. Could be. I exclusively use GNU emacs on unix-like machines. So I tend to say things like ":$" when I really mean (concat path-separator "$"). Or whatever. -- Jeremy A. Gray gray@metacomet.net "Remember the Pueblo." -- the Fourth Law of Marvin