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