From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Loading local .emacs from remote machine Date: Wed, 05 Feb 2003 13:51:58 +0100 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <841y2mvqj5.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1044449748 9049 80.91.224.249 (5 Feb 2003 12:55:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2003 12:55:48 +0000 (UTC) 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 18gP5e-0002Lh-00 for ; Wed, 05 Feb 2003 13:55:46 +0100 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 18gP5Z-00006a-04 for gnu-help-gnu-emacs@m.gmane.org; Wed, 05 Feb 2003 07:55:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pd951f03e.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 79 Original-NNTP-Posting-Host: pd951f03e.dip.t-dialin.net (217.81.240.62) Original-X-Trace: fu-berlin.de 1044449534 39528153 217.81.240.62 (16 [73968]) User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:sPW/MZu8QwjZwL/5rwx9Prl0H/A= Original-Xref: shelby.stanford.edu gnu.emacs.help:109817 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:6325 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6325 gebser@ameritech.net writes: > Kai Großjohann at 18:30 (UTC+0100) on Tue, 4 Feb 2003 said: > > I was following the documentation. What would be the way to load a > *.texi file? It doesn't make sense to "load" a *.texi file. You can convert it to info format with M-x texinfo-format-buffer RET or with the external makeinfo program. (Though the latter doesn't work in this case, of course...) After this, you'll have *.info files which you can look at with C-u C-h i. Where in the documentation did you find instructions to load the *.texi files? I couldn't see it. I want to correct it... > = > Subsequently doing "M-x makeinfo-buffer" yeilds "[No match]". > = > = I think it's M-x texinfo-format-buffer RET... > > Again, the command I used was directly from the docs. Got to look at the docs again, to correct them. [time passes] Ah, found it, and corrected it. > = Yes, I also guess that the shell prompt wasn't recognized. Lessee > = now, what is the default value of tramp-shell-prompt-pattern? Hm. > = It should have matched this prompt. > = > = So I'm somewhat confused. > > I don't know enough about this even to be confused.... 8\ > > > = > = Could you put (setq tramp-verbose 10) and (setq tramp-debug-buffer t) > = in ~/.emacs and try again and show me the *tramp/foo* buffer in > = addition to the *debug tramp/foo* buffer? > = > = Also, it would be good to do M-x toggle-debug-on-quit RET before > = trying, then C-g will give you a backtrace. Please send it, too. > = > = Oh, and removing tramp.elc before starting Emacs will give a prettier > = backtrace. > > Did all this. Then tried to open a file on the same machine as before. > $ # Setting shell prompt > $ PS1=' > ///»¢ò ;YÖv­  éü­ > '; PS2=''; PS3='' Now we're talking! It's the bogus md5 invocation. Whee. I believe this is fixed in the development sources already, so let me put out a new version. You could fetch the CVS version to test it, if you like. > A string in elisp must be some really strange thing. > > (add-to-list 'tramp-shell-prompt-pattern "abc") > > also gives the same error. It seems that everything and anything I put into > the third arg is a listp. It's a shame elisp is so obtuse. I'd like to learn > it so's to do some helpful work on emacs. Several times I've tried to do > simple things in elisp, following books and tutorials, but never had any > progress with it. Maybe I need to be dyslexic. :) In Lisp, a general type is sequence. Lists are one subtype of sequence, and vectors are another. Strings are vectors of characters. add-to-list can only add to lists, not to arbitrary sequences. Does this make sense? -- A turnip curses Elvis