bugGNU nano - Bugs: bug #63021, [Wish] allow quicker entry of...

 
 

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

bug #63021: [Wish] allow quicker entry of short Unicode codes

Submitter:  Benno Schulenberg <bens>
Submitted:  Tue 06 Sep 2022 10:03:54 AM UTC
   
 
Severity:  1 - Wish Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 16 Nov 2022 08:13:02 AM UTC, comment #4: 

Released in nano-7.0.

Benno Schulenberg <bens>
Group administrator
Sun 11 Sep 2022 07:44:55 PM UTC, comment #3: 

Huh. I had no idea verbatim mode could do this.

I've been using Ctrl+Shift+U for this (which is a global keyboard entry thing, not a nano shortcut). Incidentally this works as OP wanted (e.g. Ctrl+Shift+U f7 Enter will produce a division symbol).


Tasos Papastylianou <tpapastylianou>
Sun 11 Sep 2022 07:43:43 AM UTC, comment #2: 

Fixed in git, commit 75e5f885, by allowing any hex digit to start Unicode input, and allowing the use of Enter or Space to conclude it.

Benno Schulenberg <bens>
Group administrator
Wed 07 Sep 2022 10:29:03 AM UTC, comment #1: 

Proposed patch is attached.  Clean-up patches will follow afterward (already done locally).

(file #53659)

Benno Schulenberg <bens>
Group administrator
Tue 06 Sep 2022 10:03:54 AM UTC, original submission:  

Ever since Unicode entry (via Verbatim Input) was introduced, any Unicode code point has to be typed as six hexidecimal digits.  This is clumsy when wanting to input something like a combining overline (U+0305) or division sign (U+00F7): it requires typing several useless leading zeroes.  It would be much easier if the user could type just the required digits and then hit <Enter> or <Space>, and done.  So instead of needing to type:

M-V 0000f7
M-V 000305

the user could type:

M-V f7 <Space>
M-V 305 <Space>

It looks longer, but it is in fact shorter, and one doesn't need to calculate in one's head the number of required leading zeroes.

Benno Schulenberg <bens>
Group administrator

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tpapastylianou (Posted a comment)
  • -email is unavailable- added by bens (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-11-16 bens Open/ClosedOpen Closed
    2022-09-11 bens StatusReady For Test Fixed
    2022-09-08 bens StatusIn Progress Ready For Test
    2022-09-07 bens Attached File- Added 0001-input-allow-the-user-to-finish-Unicode-input-with-En.patch, #53659
        StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code