GNU TeXmacs - Bugs: bug #36143, Variant mechanism inside e.g....
You are not allowed to post comments on this tracker with your current authentication level.
bug #36143: Variant mechanism inside e.g. <reference| > conflicts with autocomplete
Submitter: | Alvaro Tejero Cantero <alv> | ||
Submitted: | Tue 10 Apr 2012 09:53:49 AM UTC | ||
Category: | Editor | Priority: | 5 - Normal |
Item Group: | Error | Status: | Fixed |
Privacy: | Public | Assigned to: | mdbenito |
Originator Name: | Open/Closed: | Closed | |
Release: | None | Release: | 1.0.7.15 |
Fixed Release: | None | Fixed Release: | |
Keywords: | inactive, markup, references, autocompletion, variants |
Wed 16 Jan 2013 11:46:18 PM UTC, comment #3: |
Miguel de Benito <mdbenito> |
Sun 19 Aug 2012 10:51:00 PM UTC, comment #2: Moreover: the definition of kbd-variant is ignored in all modes (i.e. wherever it's overloaded) when the cursor is after a dash. The problem seems to be the use of variant-circulate instead of kbd-variant (see generic-kbd.scm:102) |
Miguel de Benito <mdbenito> |
Wed 11 Apr 2012 03:49:53 PM UTC, comment #1: Confirmed. Hitting TAB after a dash won't trigger autocompletion inside a <\reference>. Further, hitting tab in a <\cite> tag will enter a new field instead of auto-completing. |
Miguel de Benito <mdbenito> |
Tue 10 Apr 2012 09:53:49 AM UTC, original submission:
TAB is used inside several tags for autocompletion. This is particularly handy for references. However, it conflicts with the variant mechanism, which also uses TAB. In particular, TAB after spaces or hyphens results in the character before cursor being modified, instead of the reference string being autocompleted.
|
Alvaro Tejero Cantero <alv> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2013-01-16 | mdbenito | Status | Confirmed | Fixed | |
Open/Closed | Open | Closed | |||
2012-08-19 | mdbenito | Assigned to | None | mdbenito | |
2012-04-11 | mdbenito | Status | None | Confirmed |
Powered by Savane 3.13-02a9.
Corresponding source code
Turns out it was simpler than all that. I fixed it in SVN 6130.
However, the solution is a hack. As I mentioned elsewhere, I think we need some special mode (besides "src", "text", "prog" and "math") to indicate that we have plain text. This would be used with some macro arguments (like here), in verbatim text and in many other places where the typesetter needs to behave differently (no ligatures), where many actions/shortcuts make no sense (like inserting whitespace of arbitrary width).