From: Santanu <thisissantanu@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Elisp questions... where to ask?
Date: Fri, 14 Dec 2007 22:30:48 -0800 (PST) [thread overview]
Message-ID: <08f8db25-aed0-460c-a990-ebc1ec05b2a3@b1g2000pra.googlegroups.com> (raw)
Hi Everybody,
Where should I ask my elisp (for GNU Emacs) related questions? If this
is
the place, could you please help me solve this problem I am facing:
I wrote the following piece of code in the scratch buffer:
---------------------------------------------------------------------------------
(define-skeleton test1
"Prompt for name"
"name:" str ? (test2)) <Ctrl+x, Ctrl+e>
(define-skeleton test2
"Prompt for surname"
"surname:" str) <Ctrl+x, Ctrl+e>
(test1) <Ctrl+x, Ctrl+e> santanu chatterjee
---------------------------------------------------------------------------------
Now when I run the test1 function, and give "santanu" and
"chatterjee" as the inputs to the two prompts, I get the result
as shown above. But that happens in Emacs 21.x. But in
Emacs 22.x and above, this creates some kind of infinite
recursion, and I am placed in a debug buffer.
Can you reproduce the same thing in your system? If so,
could you let me know what exactly should be done to make
this run in emacs 22.x and above. I tried to go through the
emacs NEWS for 22.x and I did find some things related to
skeleton.el, but due to my lack of knowledge of elisp, I could
not make out much from it.
Thanks i advance for your help.
Regards,
Santanu Chatterjee
next reply other threads:[~2007-12-15 6:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-15 6:30 Santanu [this message]
2007-12-15 10:56 ` Elisp questions... where to ask? Johan Bockgård
2007-12-17 6:10 ` Santanu
2007-12-17 6:59 ` Santanu
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08f8db25-aed0-460c-a990-ebc1ec05b2a3@b1g2000pra.googlegroups.com \
--to=thisissantanu@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).