unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Santanu <thisissantanu@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Elisp questions... where to ask?
Date: Sun, 16 Dec 2007 22:10:45 -0800 (PST)	[thread overview]
Message-ID: <3cc0bdc7-507e-4546-b592-8a63b708b41e@s19g2000prg.googlegroups.com> (raw)
In-Reply-To: yoijaboc9qgu.fsf@remote1.student.chalmers.se

On Dec 15, 3:56 pm, bojohan+n...@dd.chalmers.se (Johan Bockgård)
wrote:

> This seems to be a bug in skeleton.  There was a change made to
> skeleton-proxy-new
>
>     ;; Return non-nil to tell expand-abbrev that expansion has happened.
>     ;; Otherwise the no-self-insert is ignored.
>     t)
>
> but skeleton-internal-1 is not prepared to handle `t' returned from a
> subskeleton.
>
> This seems to do the right thing:
>
> *** skeleton.el.~1.51.~ 2007-08-14 19:24:04.000000000 +0200
> --- skeleton.el 2007-12-15 11:28:36.000000000 +0100
> ***************
> *** 424,429 ****
> --- 424,430 ----
>         (skeleton-internal-list element (car literal))
>         (setq literal (cdr literal)))))
>      ((null element))
> +    ((eq t element))
>      (t (skeleton-internal-1 (eval element) t recursive))))
>
>   ;; Maybe belongs into simple.el or elsewhere

Thanks for the response. I will try to incorporate this patch in
skeleton.el
and see if this works.

Regards,
Santanu

  reply	other threads:[~2007-12-17  6:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-15  6:30 Elisp questions... where to ask? Santanu
2007-12-15 10:56 ` Johan Bockgård
2007-12-17  6:10   ` Santanu [this message]
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=3cc0bdc7-507e-4546-b592-8a63b708b41e@s19g2000prg.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).