all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get the ~ functionality of vi
Date: Thu, 02 Jun 2016 22:39:22 +0200	[thread overview]
Message-ID: <86eg8f72bp.fsf@student.uu.se> (raw)
In-Reply-To: mailman.715.1464888555.1216.help-gnu-emacs@gnu.org

Kaushal Modi <kaushal.modi@gmail.com> writes:

> It *cycles* the word under point (or region)
> through all-lowercase, all-uppercase, and
> capitalized. Also allows the user to directly
> set that text to
> all-lower/all-upper/all-capitalize.
>
> Also if the text is already all-lower, it
> will cycle to the next state intelligently.
> If it is all-upper to begin with, the next
> state to cycle to will be different.
>
> Most of the time, I end up using the
> hydra bindings.
>
> If I am too lazy, I keep on hitting `M-c` (as
> per my hydra-binding in my earlier email)
> till I get the text in the desired
> case state.

"Lazy"?! I think "over-engineering" is
the word :)

What is the hang up with case, anyway? I very
seldom do `upcase-region' but that is it.

But why not.

Here is another approach:

    http://user.it.uu.se/~embe8573/conf/emacs-init/caps-back.el

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 42 Blogomatic articles -                   


  parent reply	other threads:[~2016-06-02 20:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-26 22:36 How to get the ~ functionality of vi Cecil Westerhof
2016-05-27  1:15 ` Emanuel Berg
2016-05-27  4:28   ` Jean-Jacques Rétorré
2016-05-27  8:54     ` Cecil Westerhof
2016-05-27 11:33       ` Thorsten Bonow
2016-05-27 19:41         ` Emanuel Berg
2016-06-02 16:14         ` Kaushal Modi
     [not found]         ` <mailman.703.1464884068.1216.help-gnu-emacs@gnu.org>
2016-06-02 17:15           ` Emanuel Berg
2016-06-02 17:28             ` Kaushal Modi
     [not found]             ` <mailman.715.1464888555.1216.help-gnu-emacs@gnu.org>
2016-06-02 20:39               ` Emanuel Berg [this message]
2016-06-02 21:00                 ` Kaushal Modi
2016-06-03  5:07                   ` Marcin Borkowski
     [not found]                 ` <mailman.730.1464901264.1216.help-gnu-emacs@gnu.org>
2016-06-02 21:07                   ` Emanuel Berg
2016-06-03  9:21                     ` Joost Kremers
2016-06-03 10:51                       ` Emanuel Berg
2016-05-27 19:37       ` Emanuel Berg
2016-05-27 19:37       ` Emanuel Berg

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

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

  git send-email \
    --in-reply-to=86eg8f72bp.fsf@student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.