From: gebser@ameritech.net
Subject: Re: Loading local .emacs from remote machine
Date: Wed, 5 Feb 2003 10:17:12 -0500 [thread overview]
Message-ID: <Pine.LNX.4.44.0302050814320.16795-100000@heidegger.mousecar.net> (raw)
In-Reply-To: <841y2mvqj5.fsf@lucy.is.informatik.uni-duisburg.de>
Kai Großjohann at 13:51 (UTC+0100) on Wed, 5 Feb 2003 said:
= 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...)
Hmmm.... I loaded tramp.texi into a buffer, then did "M-x
texinfo-format-buffer RET" and it halted midway with the cursor on a
line saying "@macro trampver{}" and with the comment "@macro is not
handled by texinfo".
=
= After this, you'll have *.info files which you can look at with C-u
= C-h i.
Did this and was prompted in the minibuffer for a filename (with the
current .../tramp/texi/ directory provided. I looked at the directory
listing and found tramp.info, tramp.info-1, and tramp.info-2 and quite
arbitrarily picked tramp.info-1. This then brings up the info file and
it seems to work. I did the same again, but this time specifying
tramp.info-- this wasn't so good. Hitting SPACE would page down fine,
but if I hit 'm' I was prompted for a menu item, then typed in the first
few chars of "Inst", hit TAB, it completed to "Installation"
successfully, but then when I hit ENTER, it beeped and said in the
minibuffer "No such anchor in tag table or node in tag table or file:
Installation". Didn't have this problem with tramp.info-1.
=
= Where in the documentation did you find instructions to load the
= *.texi files? I couldn't see it. I want to correct it...
It's on the web at <http://www.nongnu.org/tramp/> under
"Node:Installation". The tramp tarball I got didn't have any
installation instructions. Well, not until just now when, with your
help, I got a working info file... sort of.
If, from the command line, I do "info tramp", info comes up, but says
"No menu item `tramp' in node `(dir)Top'".
If you first warn installer-wannabees to use 'q' to quit/exit "info",
you could hip them to the install instructions by having them or
something run "cd ./texi; info --file tramp.info-1 --node Installation",
this to bring up your instructions.
=
= > = > 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.
The webpage still says:
"Something similar can be done to create the info manual. Just change to
directory ~/emacs/tramp/texi and load the tramp.texi file in Emacs. Then
press M-x makeinfo-buffer <RET> to generate tramp.info."
This is the "Tramp Manual" at <http://www.nongnu.org/tramp/>.
= ...
= >...
= > =
= > = 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.
Cool! I really like progress.
=
= 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?
Yes, thanks much. It's not enough for me write all those gorgeous
emacs apps I've been hankering to do, but, as said, I like progress.
I think I remember reading in a book or two that every|some (?) data
type(s) in elisp contain(s) an element (including perhaps null... or
nil... I forget, except there's a difference... I think) *and* the
implication of a subsequent such element-- hence, a sequence.
That a string is a vector of characters (delimited by double quotes,
yes?) is simple enough. Is it also possible to have a list of
characters? If not, why not? If so, how would it be structurally or
functionally different or handled differently from a string?
Kai, thanks for your help and for the work you've done on this package.
Much appreciated.
Regards,
ken
--
Happy Gui-Wei 4700
next prev parent reply other threads:[~2003-02-05 15:17 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1406.1044395706.21513.help-gnu-emacs@gnu.org>
2003-02-04 23:30 ` Loading local .emacs from remote machine Kevin Rodgers
2003-02-05 0:38 ` gebser
2003-02-05 0:50 ` David Kastrup
2003-02-05 12:45 ` gebser
2003-02-05 12:37 ` gebser
2003-02-05 12:51 ` Kai Großjohann
2003-02-05 15:17 ` gebser [this message]
2003-02-05 16:04 ` David Kastrup
2003-02-05 17:06 ` Kevin Rodgers
[not found] <mailman.1346.1044295047.21513.help-gnu-emacs@gnu.org>
2003-02-03 23:45 ` Kevin Rodgers
2003-02-04 1:08 ` gebser
2003-02-05 16:33 ` bigfaceworm
2003-02-05 19:09 ` gebser
2003-02-07 22:12 ` Brian Palmer
2003-02-04 6:39 ` Kai Großjohann
2003-02-04 16:35 ` gebser
2003-02-04 17:30 ` Kai Großjohann
2003-02-04 21:51 ` gebser
2003-02-06 7:44 ` Mac
2003-02-06 13:42 ` Kai Großjohann
2003-02-06 14:06 ` Glenn Morris
2003-02-06 15:12 ` Kai Großjohann
2003-02-06 15:42 ` Glenn Morris
2003-02-03 17:56 gebser
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=Pine.LNX.4.44.0302050814320.16795-100000@heidegger.mousecar.net \
--to=gebser@ameritech.net \
/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.