Thread: [Vim-latex-devel] citation completion goes to wrong window with vsplit
Brought to you by:
srinathava,
tmaas
From: Alan G. <agr...@gm...> - 2012-11-16 12:44:21
|
Hi, When I write longish latex documents, I often break them into pieces (using \input) and keep multiple files open using gvim's vsplit command. I've noticed that if I do this and use F9 to invoke completion (for example on a \cite{}) the text is always inserted in the leftmost window, regardless of which window I invoked the completion from. If the same file is opened in both windows, it seems to work correctly, and it works correctly if the completion command is invoked from the left side window. It's only if the command is invoked from a different window that this breaks. I realized this is a bit of a corner case (and overall I love vim-latex), but this is a bit of a nuisance. vim: 7.3.315 (as distributed under Fedora) vim-latex: 1.8.23-6 (as distributed under Fedora) Alan ___________________________________ Dr. Alan Grossfield Assistant Professor Department of Biochemistry and Biophysics University of Rochester Medical Center 610 Elmwood Ave, Box 712 Rochester, NY 14642 Phone: 585 276 4193 http://membrane.urmc.rochester.edu |
From: Raniere G. S. <r.g...@gm...> - 2012-11-16 13:03:44
|
Hi Alan, the same problem you report have been reported some time ago by Jonas but I think no one have found a solution. Raniere > On Tue, Jul 10, 2012 at 11:45 AM, Jonas Diemer <di...@gm...> wrote: > > Hi, > > > > I usually have two windows open (project plugin and main text). When I > > do a F9 completion (ref/cite), the completed text is erraneously > > pasted into the wrong window (the project window). > > > > How do I fix this? > > > > Regards > > Jonas > > > > ------------------------------ > ------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Vim-latex-devel mailing list > > Vim...@li... > > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel On Fri, Nov 16, 2012 at 10:44 AM, Alan Grossfield <agr...@gm...> wrote: > Hi, > > When I write longish latex documents, I often break them into pieces (using \input) and keep multiple files open using gvim's vsplit command. I've noticed that if I do this and use F9 to invoke completion (for example on a \cite{}) the text is always inserted in the leftmost window, regardless of which window I invoked the completion from. If the same file is opened in both windows, it seems to work correctly, and it works correctly if the completion command is invoked from the left side window. It's only if the command is invoked from a different window that this breaks. > > I realized this is a bit of a corner case (and overall I love vim-latex), but this is a bit of a nuisance. > > vim: 7.3.315 (as distributed under Fedora) > vim-latex: 1.8.23-6 (as distributed under Fedora) > > Alan > ___________________________________ > Dr. Alan Grossfield > Assistant Professor > Department of Biochemistry and Biophysics > University of Rochester Medical Center > 610 Elmwood Ave, Box 712 > Rochester, NY 14642 > Phone: 585 276 4193 > http://membrane.urmc.rochester.edu > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel |
From: Gerd W. <ger...@ma...> - 2012-11-16 13:13:33
|
For me this works as expected. Which version of latex-suite do you use? On 11/16/2012 01:44 PM, Alan Grossfield wrote: > When I write longish latex documents, I often break them into pieces > (using \input) and keep multiple files open using gvim's vsplit > command. I've noticed that if I do this and use F9 to invoke > completion (for example on a \cite{}) the text is always inserted in > the leftmost window, regardless of which window I invoked the > completion from. If the same file is opened in both windows, it > seems to work correctly, and it works correctly if the completion > command is invoked from the left side window. It's only if the > command is invoked from a different window that this breaks. |
From: Raniere G. S. <r.g...@gm...> - 2012-11-16 13:51:29
|
Gerd, sorry for the stupid question, but how I can get the latex-suite version? Raniere On Fri, Nov 16, 2012 at 10:57 AM, Gerd Wachsmuth <ger...@ma...> wrote: > For me this works as expected. Which version of latex-suite do you use? > > On 11/16/2012 01:44 PM, Alan Grossfield wrote: >> When I write longish latex documents, I often break them into pieces >> (using \input) and keep multiple files open using gvim's vsplit >> command. I've noticed that if I do this and use F9 to invoke >> completion (for example on a \cite{}) the text is always inserted in >> the leftmost window, regardless of which window I invoked the >> completion from. If the same file is opened in both windows, it >> seems to work correctly, and it works correctly if the completion >> command is invoked from the left side window. It's only if the >> command is invoked from a different window that this breaks. > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel |
From: Gerd W. <ger...@ma...> - 2012-11-16 14:08:32
|
latex-suite does not have a version number (any more). So the question reduces to "Where (and possibly when) did you get latex-suite from?". Gerd On 11/16/2012 02:50 PM, Raniere Gaia Silva wrote: > Gerd, > sorry for the stupid question, but how I can get the latex-suite version? > > Raniere > > On Fri, Nov 16, 2012 at 10:57 AM, Gerd Wachsmuth > <ger...@ma...> wrote: >> For me this works as expected. Which version of latex-suite do you use? >> >> On 11/16/2012 01:44 PM, Alan Grossfield wrote: >>> When I write longish latex documents, I often break them into pieces >>> (using \input) and keep multiple files open using gvim's vsplit >>> command. I've noticed that if I do this and use F9 to invoke >>> completion (for example on a \cite{}) the text is always inserted in >>> the leftmost window, regardless of which window I invoked the >>> completion from. If the same file is opened in both windows, it >>> seems to work correctly, and it works correctly if the completion >>> command is invoked from the left side window. It's only if the >>> command is invoked from a different window that this breaks. >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Vim-latex-devel mailing list >> Vim...@li... >> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > |
From: Alessandro P. <ale...@la...> - 2012-11-16 17:02:32
|
2012/11/16 Gerd Wachsmuth <ger...@ma...>: > latex-suite does not have a version number (any more). So the question > reduces to "Where (and possibly when) did you get latex-suite from?". Well, he did say "as distributed under Fedora"... By looking for Fedora packages I came to this page [1] where, while it's not really clear how to get a version info from there, I found a link to their build script repository for vim-latex. There is a changelog in the build script, from which I gather that they use git snapshots. In particular, the one corresponding to the version Grossfield is using is: 1.8.23-6.20110214.1049-git089726a So he has a git snapshot from a bit more than one year and a half ago. By the way, there is a newer entry (in the script for Fedora 17, the current stable release) dated 2012-01-25 saying that they updated that one to: 1.8.23-7.20120125.768-git8b62284 I don't have any idea about the issue at hand, though. Alessandro [1] https://admin.fedoraproject.org/pkgdb/acls/name/vim-latex?_csrf_token=75695c0b53d7e1dbefa6eca5638f5eb988da891e |
From: Till M. <ope...@ti...> - 2012-11-16 19:47:51
|
On Fri, Nov 16, 2012 at 06:02:20PM +0100, Alessandro Pezzoni wrote: > 2012/11/16 Gerd Wachsmuth <ger...@ma...>: > > latex-suite does not have a version number (any more). So the question > > reduces to "Where (and possibly when) did you get latex-suite from?". > So he has a git snapshot from a bit more than one year and a half ago. > By the way, there is a newer entry (in the script for Fedora 17, the > current stable release) dated 2012-01-25 saying that they updated that > one to: > > 1.8.23-7.20120125.768-git8b62284 There will be an updated package in the updates-testing repository soon: https://admin.fedoraproject.org/updates/vim-latex-1.8.23-9.20121116.784.git1c17b37.fc17 Regards Till |
From: Gerd W. <ger...@ma...> - 2012-11-16 21:10:53
|
I think some bug still remains in the official latex-suite. I tested only my version. When Tex_WordComplete is invoked, the window number is not restored. See also https://github.com/gerw/vim-latex-suite/commit/5971587dfc9389fd688b267cc90455b604c3b301 Best Regards Gerd On Fri, 16 Nov 2012, Alessandro Pezzoni wrote: > 2012/11/16 Gerd Wachsmuth <ger...@ma...>: >> latex-suite does not have a version number (any more). So the question >> reduces to "Where (and possibly when) did you get latex-suite from?". > > Well, he did say "as distributed under Fedora"... > By looking for Fedora packages I came to this page [1] where, while > it's not really clear how to get a version info from there, I found a > link to their build script repository for vim-latex. There is a > changelog in the build script, from which I gather that they use git > snapshots. In particular, the one corresponding to the version > Grossfield is using is: > > 1.8.23-6.20110214.1049-git089726a > > So he has a git snapshot from a bit more than one year and a half ago. > By the way, there is a newer entry (in the script for Fedora 17, the > current stable release) dated 2012-01-25 saying that they updated that > one to: > > 1.8.23-7.20120125.768-git8b62284 > > I don't have any idea about the issue at hand, though. > > Alessandro > > [1] https://admin.fedoraproject.org/pkgdb/acls/name/vim-latex?_csrf_token=75695c0b53d7e1dbefa6eca5638f5eb988da891e > > > |