unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Colascione <danc@merrillpress.com>
To: Deniz Dogan <deniz.a.m.dogan@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Patch to change just-one-space
Date: Thu, 13 Aug 2009 19:35:19 -0400	[thread overview]
Message-ID: <B7EAA60D-33DD-4679-89F6-C4589A35F100@merrillpress.com> (raw)
In-Reply-To: <7b501d5c0908131630j73f0cda2le909dfe7248d9516@mail.gmail.com>

On Aug 13, 2009, at 7:30 PM, Deniz Dogan wrote:
> Not a bad idea. I'd like to take your idea and revise it a bit: If
> there are only whitespace characters characters between point and EOL,
> nuke including newlines. Otherwise, nuke excluding newlines.

just-one-space with a negative prefix argument is currently  
meaningless (more precisely, negative arguments are treated as 0). Why  
not make a negative argument mean "kill including newlines"? That way,  
you can just whack M-- M-SPC to get the behavior you want.




  reply	other threads:[~2009-08-13 23:35 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 [this message]
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
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=B7EAA60D-33DD-4679-89F6-C4589A35F100@merrillpress.com \
    --to=danc@merrillpress.com \
    --cc=deniz.a.m.dogan@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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).