all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gebser@ameritech.net
Subject: Re: Loading local .emacs from remote machine
Date: Tue, 4 Feb 2003 19:38:37 -0500	[thread overview]
Message-ID: <Pine.LNX.4.44.0302041921080.16795-100000@heidegger.mousecar.net> (raw)
In-Reply-To: <3E404D04.7060800@ihs.com>

Kevin Rodgers at 16:30 (UTC-0700) on Tue, 4 Feb 2003 said:

= gebser@ameritech.net wrote:
= 
= > Kai Großjohann at 18:30 (UTC+0100) on Tue, 4 Feb 2003 said:
= > = But the main problem is that tramp-shell-prompt-pattern is not
= > = supposed to be a list.  It's supposed to be a string.
= > 
= > 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.  :)
= 
= Emacs Lisp is not Tcl, and a string is not a list.

No argument here.  I'd even add that Emacs lisp isn't C, C++, java,
pascal, html, sh, bash, or perl.  But all these and many others have
pretty much the same syntax for a string.  You can go pretty far in any
of those-- at least assign a value to a variable-- just by knowing that
a string is zero or more characters enclosed in double quotes.

Anyone have a similarly easy recipe for a string is in elisp?

= 
= (setq tramp-shell-prompt-pattern
=       (concat tramp-shell-prompt-pattern "\\|abc"))
= 
= 
= 

-- 
Happy Gui-Wei 4700

  reply	other threads:[~2003-02-05  0:38 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 [this message]
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
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.0302041921080.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.