Karsten Hopp 9bf779
To: vim_dev@googlegroups.com
Karsten Hopp 9bf779
Subject: Patch 7.3.686
Karsten Hopp 9bf779
Fcc: outbox
Karsten Hopp 9bf779
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 9bf779
Mime-Version: 1.0
Karsten Hopp 9bf779
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 9bf779
Content-Transfer-Encoding: 8bit
Karsten Hopp 9bf779
------------
Karsten Hopp 9bf779
Karsten Hopp 9bf779
Patch 7.3.686
Karsten Hopp 9bf779
Problem:    Using CTRL-\ e mappings is useful also when entering an
Karsten Hopp 9bf779
            expression, but it doesn't work. (Marcin Szamotulski)
Karsten Hopp 9bf779
Solution:   Allow using CTRL-\ e when entering an expression if it was not
Karsten Hopp 9bf779
            typed.
Karsten Hopp 9bf779
Files:      src/ex_getln.c
Karsten Hopp 9bf779
Karsten Hopp 9bf779
Karsten Hopp 9bf779
*** ../vim-7.3.685/src/ex_getln.c	2012-08-15 14:04:50.000000000 +0200
Karsten Hopp 9bf779
--- src/ex_getln.c	2012-10-11 03:54:04.000000000 +0200
Karsten Hopp 9bf779
***************
Karsten Hopp 9bf779
*** 667,675 ****
Karsten Hopp 9bf779
  	    c = plain_vgetc();
Karsten Hopp 9bf779
  	    --no_mapping;
Karsten Hopp 9bf779
  	    --allow_keys;
Karsten Hopp 9bf779
! 	    /* CTRL-\ e doesn't work when obtaining an expression. */
Karsten Hopp 9bf779
! 	    if (c != Ctrl_N && c != Ctrl_G
Karsten Hopp 9bf779
! 				     && (c != 'e' || ccline.cmdfirstc == '='))
Karsten Hopp 9bf779
  	    {
Karsten Hopp 9bf779
  		vungetc(c);
Karsten Hopp 9bf779
  		c = Ctrl_BSL;
Karsten Hopp 9bf779
--- 667,676 ----
Karsten Hopp 9bf779
  	    c = plain_vgetc();
Karsten Hopp 9bf779
  	    --no_mapping;
Karsten Hopp 9bf779
  	    --allow_keys;
Karsten Hopp 9bf779
! 	    /* CTRL-\ e doesn't work when obtaining an expression, unless it
Karsten Hopp 9bf779
! 	     * is in a mapping. */
Karsten Hopp 9bf779
! 	    if (c != Ctrl_N && c != Ctrl_G && (c != 'e'
Karsten Hopp 9bf779
! 				    || (ccline.cmdfirstc == '=' && KeyTyped)))
Karsten Hopp 9bf779
  	    {
Karsten Hopp 9bf779
  		vungetc(c);
Karsten Hopp 9bf779
  		c = Ctrl_BSL;
Karsten Hopp 9bf779
*** ../vim-7.3.685/src/version.c	2012-10-11 03:35:38.000000000 +0200
Karsten Hopp 9bf779
--- src/version.c	2012-10-11 04:03:19.000000000 +0200
Karsten Hopp 9bf779
***************
Karsten Hopp 9bf779
*** 721,722 ****
Karsten Hopp 9bf779
--- 721,724 ----
Karsten Hopp 9bf779
  {   /* Add new patch number below this line */
Karsten Hopp 9bf779
+ /**/
Karsten Hopp 9bf779
+     686,
Karsten Hopp 9bf779
  /**/
Karsten Hopp 9bf779
Karsten Hopp 9bf779
-- 
Karsten Hopp 9bf779
(letter from Mark to Mike, about the film's probable certificate)
Karsten Hopp 9bf779
      I would like to get back to the Censor and agree to lose the shits, take
Karsten Hopp 9bf779
      the odd Jesus Christ out and lose Oh fuck off, but to retain 'fart in
Karsten Hopp 9bf779
      your general direction', 'castanets of your testicles' and 'oral sex'
Karsten Hopp 9bf779
      and ask him for an 'A' rating on that basis.
Karsten Hopp 9bf779
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 9bf779
Karsten Hopp 9bf779
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 9bf779
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 9bf779
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 9bf779
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///