unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: xahlee@gmail.com
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Patch to change just-one-space
Date: Fri, 14 Aug 2009 08:53:42 +0200	[thread overview]
Message-ID: <7b501d5c0908132353tea6cd77q19134fd4ab2e13f@mail.gmail.com> (raw)
In-Reply-To: <aa6b5cbe0908131924v6759a178kf48d604eb7043157@mail.gmail.com>

2009/8/14 Xah Lee <xahlee@gmail.com>:
> i think that'd bring the next non-whitespace line to the current line,
> right?
> but in general, considering this thread in whole, i share your view with
> merging just-one-space with delete-blank-lines, and the behavior be
> depending on context. Something like a shrink-whitespace-dwim.
> I feel there are too many small functions on shrinking white spaces, esp
> those with a shortcut.
> e.g. C-x C-o for delete-blank-lines and just-one-space with M-SPC.
> i think that these can be merged into a single dwim version with a single
> shortcut, because i think most of the time context can correctly guess the
> desired behavior.
> i think this applies to few other emacs editing functions for user
> convenience. One example i came to is about the 9 or so commands on letter
> case changing. Some work on word, some on region... with transient-mark-mode
> on now, the region versions could be merged. The lower case and upper case
> and cap first versions can also be merged, i think, into one dwim version
> that just cycles.
> thanks.
>   Xah
> ☄
>

I agree. E.g. upcase-word, downcase-word and capitalize-word could be
made to work on the region as well if active.

-- 
Deniz Dogan




  reply	other threads:[~2009-08-14  6:53 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
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 [this message]
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=7b501d5c0908132353tea6cd77q19134fd4ab2e13f@mail.gmail.com \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=emacs-devel@gnu.org \
    --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).