bugGNU 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: 

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).

Miguel de Benito <mdbenito>
Group Member
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>
Group Member
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>
Group Member
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.

Can somebody confirm? I unfortunately lack the time to do more extensive testing ATM, but think it is important to report.

The obvious fix is to bind TAB /only/ to autocompletion inside these structures.

Alvaro Tejero Cantero <alv>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mdbenito (Posted a comment)
  • -email is unavailable- added by alv (Submitted the item)
  •  

    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 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2012-08-19 mdbenito Assigned toNone mdbenito
    2012-04-11 mdbenito StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code