From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: ewoc--adjust ugliness
Date: Fri, 26 May 2006 23:25:59 -0400 [thread overview]
Message-ID: <jwvy7wokv52.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <jkac944d19.fsf@glug.org> (Thien-Thi Nguyen's message of "26 May 2006 18:49:38 -0400")
> + (defun ewoc--wrap (func)
> + (lexical-let ((ewoc--user-pp func))
> + (lambda (data)
> + (insert-before-markers "\n")
> + (forward-char -1)
> + (funcall ewoc--user-pp data)
> + (forward-char 1))))
Why not
(defun ewoc--wrap (func)
(lexical-let ((ewoc--user-pp func))
(lambda (data)
(funcall ewoc--user-pp data)
(insert "\n"))))
-- Stefan
next prev parent reply other threads:[~2006-05-27 3:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-25 0:37 ewoc--adjust ugliness Richard Stallman
2006-05-26 8:36 ` Thien-Thi Nguyen
2006-05-26 10:49 ` Mathias Dahl
2006-05-26 11:57 ` Thien-Thi Nguyen
2006-05-26 12:08 ` Nick Roberts
2006-05-26 21:16 ` Thien-Thi Nguyen
2006-05-26 14:05 ` Stefan Monnier
2006-05-26 22:49 ` Thien-Thi Nguyen
2006-05-27 3:25 ` Stefan Monnier [this message]
2006-05-27 8:40 ` Thien-Thi Nguyen
2006-05-26 12:44 ` Sam Steingold
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=jwvy7wokv52.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@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.
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.