From: Tassilo Horn <tassilo@member.fsf.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Daniel Colascione <danc@merrillpress.com>,
Deniz Dogan <deniz.a.m.dogan@gmail.com>,
xahlee@gmail.com, Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Patch to change just-one-space
Date: Tue, 23 Nov 2010 09:29:49 +0100 [thread overview]
Message-ID: <87fwusjvcy.fsf@member.fsf.org> (raw)
In-Reply-To: <jwvsjyt57m8.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 22 Nov 2010 17:16:07 -0500")
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>> Attached is a bzr bundle which does this. If the user passes the
>> argument -N, it will remove any whitespace characters (spaces, tabs,
>> carriage returns, newlines) and leave N spaces. Unfortunately I
>> couldn't think of a good way to make e.g. "M-- M-0 M-SPC" leave 0
>> spaces.
>
> Any objection to such a change? Removing newlines sounds OK to me, but
> I don't use just-one-space, so I don't have a good feeling for what
> other useful meaning could be used for a negative argument.
I'd highly appreciate such a change. The last week I had to paste tons
of Java code into several LaTeX listings and I used `just-one-space' and
`kill-line' gazillions of times to reformat it.
And since C-u -1 M-SPC for any negative number is equivalent to C-u 0
M-SPC, I don't think it won't have big impact, at least not in
interactive usage. And inside the emacs code base, there is only one
call to `just-one-space' with an argument (emulation/cua-rect.el), but
that uses an explitit arg of 0.
Bye,
Tassilo
next prev parent reply other threads:[~2010-11-23 8:29 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-13 20:37 Patch to change just-one-space Deniz Dogan
2009-08-13 23:12 ` Xah Lee
2009-08-13 23:30 ` Deniz Dogan
2009-08-13 23:35 ` Daniel Colascione
2009-08-13 23:37 ` Deniz Dogan
2009-08-14 0:51 ` Robert J. Chassell
2009-08-14 0:58 ` Deniz Dogan
2009-08-14 10:37 ` Teemu Likonen
2009-12-31 20:55 ` Deniz Dogan
2010-11-22 20:35 ` Deniz Dogan
2010-11-22 22:16 ` Stefan Monnier
2010-11-23 8:29 ` Tassilo Horn [this message]
2010-12-06 18:22 ` Stefan Monnier
2010-12-07 0:34 ` Chong Yidong
2010-12-07 9:43 ` Tassilo Horn
2010-12-07 19:45 ` Tassilo Horn
2010-12-09 3:57 ` Stefan Monnier
2009-08-14 2:24 ` Xah Lee
2009-08-14 6:53 ` Deniz Dogan
2009-08-14 15:26 ` capitalize-dwim (was: Patch to change just-one-space) Stefan Monnier
2009-08-14 15:36 ` Xah Lee
2009-08-14 16:33 ` capitalize-dwim joakim
2009-08-15 2:31 ` capitalize-dwim Richard Stallman
2009-08-14 8:05 ` Patch to change just-one-space David Kastrup
2009-08-13 23:19 ` Juri Linkov
2009-08-13 23:33 ` Deniz Dogan
2009-08-14 2:10 ` Stephen J. Turnbull
2009-08-14 6:59 ` Deniz Dogan
2009-08-14 12:19 ` Andreas Roehler
2009-08-14 17:10 ` Stephen J. Turnbull
2009-08-14 15:12 ` Stefan Monnier
2009-08-14 15:16 ` Lennart Borgman
2009-08-14 1:14 ` Miles Bader
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=87fwusjvcy.fsf@member.fsf.org \
--to=tassilo@member.fsf.org \
--cc=danc@merrillpress.com \
--cc=deniz.a.m.dogan@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
--cc=xahlee@gmail.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).