all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bvraghav@iitk.ac.in (B.V. Raghav)
To: help-gnu-emacs@gnu.org
Subject: Re: When using rectangle-mark-mode in an editable dired buffer, how can I edit the region?
Date: Wed, 07 Dec 2016 10:22:15 +0530	[thread overview]
Message-ID: <87eg1kwdc0.fsf@ram.bvr.dp.lan> (raw)
In-Reply-To: <61e09a1f5e3aa9edbc2560bd9a0563d9@waifu.club> (s1ohy@waifu.club's message of "Tue, 06 Dec 2016 22:26:08 +0000")

s1ohy@waifu.club writes:

> 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.

This IMHO, is a common use case, and though you already have a solution,
I might have had a different view point, with an arbitrary tabular
data. So I suggest having a look at:

| (set-goal-column ARG)
| It is bound to C-x C-n.

| Set the current horizontal position as a goal for C-n and C-p.
| Those commands will move to this position in the line moved to
| rather than trying to keep the same horizontal position.
| With a non-nil argument ARG, clears out the goal column
| so that C-n and C-p resume vertical motion.
| The goal column is stored in the variable `goal-column'.

As mentioned, you may clear the goal column with `C-u C-x C-n'

My two cents.

-- 
(B.V. Raghav)



  reply	other threads:[~2016-12-07  4:52 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
2016-12-07  4:52     ` B.V. Raghav [this message]
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=87eg1kwdc0.fsf@ram.bvr.dp.lan \
    --to=bvraghav@iitk.ac.in \
    --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.