"Erik the Red" <[EMAIL PROTECTED]> writes:

> Topic question.

M-x ielm RET

But actually, you can just type in any buffer s-expressions and type
C-u C-x C-e to get the result.

For exmaple, in this gnus article, if I type:
    (mapcar (lambda (x) (* x 2)) '(1 2 3)) C-u C-x C-e
I get:
    (2 4 6)

Or if I type: (format "\n\n    ** Hello %s! **\n\n" 
                (save-excursion
                   (goto-char 0)
                   (re-search-forward "\"\\([^\"]*\\)\"" nil nil 2)
                    (match-string-no-properties 1))) C-u C-x C-e
I get:

"

    ** Hello Erik the Red! **

"

-- 
"A TRUE Klingon warrior does not comment his code!"
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to