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

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

Re: why not allow an argument to just-one-space?


From: Francis Litterio
Subject: Re: why not allow an argument to just-one-space?
Date: Sun, 09 Jan 2005 19:07:27 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt)

Dan Jacobson wrote:

> 1 year, 39 weeks  ago "Dan" == Dan Jacobson writes:
> Dan> Why not allow an argument to just-one-space, so it can be just two
> Dan> spaces, etc.?
>
> Brilliant idea. I'll second that. Why, just today I wanted four
> spaces.  Don't suppose this one is a priority for the globe trotting
> authors.  Especially if somebody then posts some 'advice', blurring
> the urge for a permanent enhancement.

But won't the name, just-one-space, then be confusing?

Perhaps you want this:

(defun just-n-spaces (count)
  "..."
  (interactive "p")
  (just-one-space)
  (if (integerp count)
      (insert (make-string (1- count) 32))))




reply via email to

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