Re: Patch 7.4.925

2015-11-19 Thread Christ van Willegen
On Thu, Nov 19, 2015 at 10:45 PM, Christian Brabandt wrote: > On Do, 19 Nov 2015, Christ van Willegen wrote: >> Is it (perhaps remotely...) possible to record into a register that >> internally translates to a 2-byte value, overflowing the buffer >> allocated to be 4 bytes? > > It shouldn't, only

Re: Patch 7.4.925

2015-11-19 Thread Christian Brabandt
On Do, 19 Nov 2015, Christ van Willegen wrote: > On Thu, Nov 19, 2015 at 5:56 PM, Bram Moolenaar wrote: > > Patch 7.4.925 > > > + static void > > + recording_mode(attr) > > + int attr; > > + { > > + MSG_PUTS_ATTR(_("recording&q

Re: Patch 7.4.925

2015-11-19 Thread Christ van Willegen
On Thu, Nov 19, 2015 at 5:56 PM, Bram Moolenaar wrote: > Patch 7.4.925 > + static void > + recording_mode(attr) > + int attr; > + { > + MSG_PUTS_ATTR(_("recording"), attr); > + if (!shortmess(SHM_RECORDING)) > + { > + char_u s[4

Patch 7.4.925

2015-11-19 Thread Bram Moolenaar
Patch 7.4.925 Problem:User may yank or put using the register being recorded in. Solution: Add the recording register in the message. (Christian Brabandt, closes #470) Files: runtime/doc/options.txt, runtime/doc/repeat.txt, src/ops.c, src/option.h, src/screen.c