help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie elisp help ??


From: Lennart Borgman (gmail)
Subject: Re: newbie elisp help ??
Date: Wed, 15 Aug 2007 20:24:47 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

William Case wrote:
Try this:

   M-: (insert (make-string 50 ?*))

Unfortunately, (make-string 50 ?*) is the single character '*', I was
shooting for something that was a repetition of two characters (*SPC) so
that my section divider looked like:

/* * * * * * * * * * * * * * * * * * * * */

I would begin and end the function with (insert 47).

I tried (insert (make-string 5 "* ")) and variations thereof, i.e. with
and without quotes and ASCII numbers.

Can this help:

(while (< (current-column) 50) (insert "* "))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]