all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: s1ohy@waifu.club
To: s1ohy@waifu.club
Cc: help-gnu-emacs@gnu.org
Subject: Re: When using rectangle-mark-mode in an editable dired buffer, how can I edit the region?
Date: Tue, 06 Dec 2016 22:26:08 +0000	[thread overview]
Message-ID: <61e09a1f5e3aa9edbc2560bd9a0563d9@waifu.club> (raw)
In-Reply-To: <20161205233431659351400@bob.proulx.com>

On 2016-12-06 07:25, Bob Proulx wrote:
>   C-x C-q
>   C-x (
>   C-SPC
>   C-e M-b C-b
>   M-x upcase-initials-region RET
>   C-n
>   C-x )
>   C-x e
>   e
>   e
>   e
>   ...
>   C-x C-q

Thanks for responding, Bob. Your suggestion of keyboard macros was
great, as I was unaware I could combine them with non-interactive
commands and mark-region. Unfortunately, your suggestion, quoted
above, only works if I manually position the cursor at the beginning
of the filename, thus not being able to quickly repeat it with F4 or
call it with a numeric argument.

But, to make your suggestion work I can use `dired-next-line`, which
places the cursor at the the beginning of the next filename.

C-x C-q
Place cursor at the beginning filename
F3
C-SPC
C-e M-b C-b
M-x upcase-initials-region RET
dired-next-line
F4
F4
F4
...
C-x C-s

Of course, I can call it with `M-1 M-4 F4`



  parent reply	other threads:[~2016-12-06 22:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-06  2:58 When using rectangle-mark-mode in an editable dired buffer, how can I edit the region? s1ohy
2016-12-06  7:25 ` Bob Proulx
2016-12-06 16:54   ` Michael Heerdegen
2016-12-06 17:02     ` Michael Heerdegen
2016-12-06 22:26   ` s1ohy [this message]
2016-12-07  4:52     ` B.V. Raghav
2016-12-07  7:00     ` Bob Proulx

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=61e09a1f5e3aa9edbc2560bd9a0563d9@waifu.club \
    --to=s1ohy@waifu.club \
    --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.