tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Kristaps Dzonsons <kristaps@bsd.lv>
To: tech@mdocml.bsd.lv
Subject: Re: Showing all possible apropls keys.
Date: Tue, 29 Nov 2011 01:34:54 +0100	[thread overview]
Message-ID: <4ED428AE.4000904@bsd.lv> (raw)
In-Reply-To: <20111128235940.GA7216@iris.usta.de>

>>   Operator
>>   .Li \&=
>>   evaluates a substring, while
>> @@ -125,7 +128,7 @@
>>   parses terms as case-sensitive regular expressions
>>   .Pq the Li \&~ operator
>
> While here, you could fix that statement.
> The default is exactly the opposite:
> Case-insensitive substrings.

Ingo,

I'm merging your other comments, but this gives me pause.  The `-i' 
flips on case insensitivity: following exprcomp() into exprterm(), the 
"cs" (case-sensitive) field is 1 by default (or 0 if `-i' is specified). 
  Then in exprmark(), "cs" is acted upon with strstr() if 1, 
strcasestr() if 0.  This behaviour may have changed from the original 
version, so let's nip it if that's so.

However, the current behaviour seems consistent to me: if we want "-i" 
to mean case-insensitive, it should mean that for the following term, 
whether `~' or `=', with the opposite (sensitivity) being the default. 
No?  It seems confusing to have an `-i' but have `=' be insensitive.

Thanks again,

Kristaps
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

  reply	other threads:[~2011-11-29  0:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21 17:13 Kristaps Dzonsons
2011-11-21 22:37 ` Ingo Schwarze
2011-11-22  8:58   ` Kristaps Dzonsons
2011-11-26 12:21     ` Ingo Schwarze
2011-11-28 20:37       ` Kristaps Dzonsons
2011-11-28 23:59         ` Ingo Schwarze
2011-11-29  0:34           ` Kristaps Dzonsons [this message]
2011-11-29  1:01             ` Ingo Schwarze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ED428AE.4000904@bsd.lv \
    --to=kristaps@bsd.lv \
    --cc=tech@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).