On Mon, Nov 16, 2015 at 2:33 AM, Jeff Felchner
<[email protected]> wrote:
>
> If one is looking at weighing the benefits of allowing such a thing, and the
> downsides of allowing such a thing, I think it's pretty clear that the
> current behavior is:
>
> a) not very useful even if it's something that someone wants to do
> b) tough thing to track down if it's done accidentally
> c) not very intuitive
> d) able to be achieved via VimL if the user really wants to
>
> It seems to me as if this should throw a warning if not an outright error.
>
>
I use register q for (throwaway) macros, other registers for
everything else: this way I avoid conflicts. I have quite a number of
"permanent" values stored in registers and remembered by means of the
viminfo, so I (try to) avoid overwriting them with something else. But
macros being what they are, and hard to get "just right" at first
attempt, I don't regard it as "below me" to hit
:let @q = '<Ctrl-R>q'
(where <Ctrl-R> means "hit Ctrl-R") in order to edit the contents of
my latest recorded macro by hand. And if I had a need to save one or
more macros for some time, I would try to find an unused register and
put them there, maybe by let-register again.
The fact that macros use the same registers as put and yank is
well-known (at least to old-timers) and, like everything in Vim,
well-documented. It has its tested and tried uses.
Sorry if I sound disrespectful, but this thread sounds to me like
"Dear Congressperson, I just shot myself in the foot. Please pass a
law to forbid guns which let themselves be aimed other than
horizontally".
Best regards,
Tony.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.