Bug 247032 - vi mode inputs quotes when defining a buffer
Summary: vi mode inputs quotes when defining a buffer
Status: ASSIGNED
Alias: None
Product: kile
Classification: Applications
Component: editor (show other bugs)
Version: 2.1b4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
: 393246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-08 05:31 UTC by Russell W. Howell
Modified: 2021-02-11 14:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Russell W. Howell 2010-08-08 05:31:49 UTC
Version:           2.1b4 (using KDE 4.4.5) 
OS:                Linux

When the "automatically insert opening and closing double quotes for LaTeX" option is set in Kile (with type English quotes), and when Kile is set to VI input mode, a double quote is inserted into the text when attempting to define a buffer. For example, the command

"1Y

will insert a `` into the text, but will also yank the current line and place that line in buffer 1.  A subsequent command of

"1P

will insert a `` into the text, but will also paste the previously yanked line in the appropriate place.

The yank and paste operations behave normally if the "automatically insert opening and closing double quotes for LaTeX" option is not set.

Reproducible: Always

Steps to Reproduce:
See above

Actual Results:  
See above

Expected Results:  
See above
Comment 1 xilef4040 2013-09-10 22:37:19 UTC
This bug is still present in the current version 2.1.3 of Kile. 

Pressing the quote key on keyboard immeditely inserts the latex command for the configured type of quote, even though the insert mode (press 'i') of vi is not activated.

This bug makes it impossible to use buffers while the "Latex -> General -> Automatically insert opening and closing double quotes for LaTeX" option is activated, which dramatically reduces the usability of the vi mode.

Please add a patch such that Kile inserts the LaTeX equivalent for a quote only if vi is in the insert mode.
Comment 2 matpergo 2018-04-18 14:32:09 UTC
*** Bug 393246 has been marked as a duplicate of this bug. ***
Comment 3 matpergo 2018-04-18 14:34:39 UTC
I can confirm this is happening also in version 2.9.91 .
Comment 4 Bug Janitor Service 2021-02-11 14:44:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/office/kile/-/merge_requests/2