bugGNU TeXmacs - Bugs: bug #36143, Variant mechanism inside e.g....

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #36143: Variant mechanism inside e.g. <reference| > conflicts with autocomplete

Submitted by:  Alvaro Tejero Cantero <alv>
Submitted on:  Tue 10 Apr 2012 09:53:49 AM UTC  
 
Category: EditorPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: Miguel de Benito <mdbenito>
Originator Name: Open/Closed: Closed
Release: 1.0.7.15Release: None
Fixed Release: NoneFixed 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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 16 Jan 2013 11:46:18 PM UTCmdbenitoStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sun 19 Aug 2012 10:51:00 PM UTCmdbenitoAssigned toNone=>mdbenito
    Wed 11 Apr 2012 03:49:53 PM UTCmdbenitoStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup