Package: less
Version: 394-2
Severity: wishlist

Please support folding of quote characters. In a UTF-8 locale, man uses
curly quote characters, which is nice to read, but hard to search. For
example, I can't easily find "don't".

I suggest a generalisation of --ignore-case: a new option like
--fold-equivalent that implies --ignore-case and also allows other
character equivalence classes to be equated. I presume Unicode defines
such classes, but I don't know; otherwise, some simple ones could be
defined, like {tick|right curly single quote}, {backtick|left curly
single quote}, {double straight quote|double left quote, double right
quote} (before the | I list characters that are ambiguous (treated like
lower case letters) and after unambiguous (like upper case letters). The
option would work like --ignore-case: if the user specifies an
unambiguous character from a group, then characters are matched exactly.

If this features sounds worthwhile, I'd be happy to look into preparing
a patch, and if I should be discussing this with upstream instead,
please feel free to point me upstream.
-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages less depends on:
ii  debianutils                   2.16.2     Miscellaneous utilities specific t
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libncurses5                   5.5-2      Shared libraries for terminal hand

less recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to