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: Kevin Rodgers
Subject: Re: why not allow an argument to just-one-space?
Date: Mon, 10 Jan 2005 11:24:51 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

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.

DIY:

(defadvice just-one-space (after prefix-arg (&optional n) activate)
  "With a prefix arg, leave that many spaces."
  (interactive "p")
  (when (> n 1)
    (insert (make-string (1- n) ?\ ))))

--
Kevin Rodgers




reply via email to

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