[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: When using rectangle-mark-mode in an editable dired buffer, how can
Re: When using rectangle-mark-mode in an editable dired buffer, how can I edit the region?
Wed, 07 Dec 2016 10:22:15 +0530
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
> 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.