|
From: | Vincent Belaïche |
Subject: | RE: Is that OK the way expand-abbrev moves point ? |
Date: | Wed, 26 Aug 2009 02:12:56 +0200 |
Hello Stefan, By the way, as I already wrote: I tried with GNU Emacs 23.1.50.1 (i386-mingw-nt5.0.2195) of 2009-07-25 and the problem is still there. Sorry if I missed your answer: what shall I do ? Do you want me to fill in a bug report ? Vincent. From: address@hidden To: address@hidden Date: Mon, 27 Jul 2009 08:23:55 +0200 CC: address@hidden Subject: RE: Is that OK the way expand-abbrev moves point ? FYI I have patched the visual-basic-mode.el that is on EmacsWiki to hide the problem (well I did not know whether it was a problem), to reproduce it you have to use this function: (defun visual-basic-newline-and-indent (&optional count) "Insert a newline, updating indentation." (interactive) (expand-abbrev) (save-excursion (visual-basic-indent-line)) (call-interactively 'newline-and-indent)) From: address@hidden To: address@hidden Date: Mon, 27 Jul 2009 08:20:27 +0200 CC: address@hidden Subject: RE: Is that OK the way expand-abbrev moves point ? I tried with GNU Emacs 23.1.50.1 (i386-mingw-nt5.0.2195) of 2009-07-25 and it is still there. Vincent. PS: thanks again to Eli for assistance in building. > From: address@hidden > To: address@hidden > Date: Sun, 26 Jul 2009 10:09:20 -0400 > CC: address@hidden > Subject: Re: Is that OK the way expand-abbrev moves point ? > > > If for instance I type <RET> after (--!-- showing point when I type <RET>): > > MyVar = MyFun(1,True)--!-- > > Then just after (expand-abbrev), point will be moved as follows: > > MyVar = MyFun(1,True--!--) > > because `True' is one abbreviation, so as a result I get this: > > This looks like a bug I fixed. > > > My emacs version 23.0.60.1 (i386-mingw-nt5.0.2195) > > This is ancient, please try the latest pretest to confirm it's fixed there, > > > Stefan > > Votre correspondant a choisi Hotmail et profite d'un stockage quasiment illimité. Créez un compte Hotmail gratuitement ! Votre correspondant a choisi Hotmail et profite d'un stockage quasiment illimité. Créez un compte Hotmail gratuitement ! Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre mobile ! |
[Prev in Thread] | Current Thread | [Next in Thread] |