unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Francis Litterio <franl@world.std.com>
Subject: Re: why not allow an argument to just-one-space?
Date: Sun, 09 Jan 2005 19:07:27 -0500	[thread overview]
Message-ID: <uzmzi6ssy.fsf@world.std.com> (raw)
In-Reply-To: <mailman.12025.1105312659.27204.bug-gnu-emacs@gnu.org> (Dan Jacobson's message of "Sun, 09 Jan 2005 08:41:31 +0800")

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))))

  parent reply	other threads:[~2005-01-10  0:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08  1:16 why not allow an argument to just-one-space? Dan Jacobson
2005-01-09  0:41 ` Dan Jacobson
     [not found]   ` <E1Co69A-0000S5-Sn@fencepost.gnu.org>
2005-01-12 23:29     ` Dan Jacobson
     [not found] ` <mailman.12025.1105312659.27204.bug-gnu-emacs@gnu.org>
2005-01-10  0:07   ` Francis Litterio [this message]
2005-01-10 18:24   ` Kevin Rodgers

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uzmzi6ssy.fsf@world.std.com \
    --to=franl@world.std.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).