zsh-users
 help / color / mirror / code / Atom feed
From: "İsmail Dönmez" <ismail@donmez.ws>
To: "René Neumann" <lists@necoro.eu>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: How to link to zsh manual section?
Date: Wed, 11 Feb 2015 14:50:14 +0200	[thread overview]
Message-ID: <CAJ1KOAj0LMuppOOyeUk8sLRKz44WvjKjHFkg4q-1SRDxq5i-=g@mail.gmail.com> (raw)
In-Reply-To: <54DB4F5B.6070807@necoro.eu>

On Wed, Feb 11, 2015 at 2:47 PM, René Neumann <lists@necoro.eu> wrote:
> Am 11.02.2015 um 13:26 schrieb İsmail Dönmez:
>> Hi,
>>
>> On Mon, Feb 9, 2015 at 3:52 PM, René Neumann <lists@necoro.eu> wrote:
>>> Am 08.02.2015 um 19:46 schrieb Christian Neukirchen:
>>>> zzapper <david@rayninfo.co.uk> writes:
>>>>
>>>>> A few tips on negotiating the zsh manuals please
>>>>>
>>>>> man zshall etc
>>>>
>>>> # zman -- easier browsing of zsh manpage
>>>> # 20sep2011  +chris+
>>>> zman() {
>>>>   PAGER="less -g -s '+/^       "$1"'" man zshall
>>>> }
>>>>
>>>> In doubt, press "n" a few times for the next results.
>>>>
>>>
>>> Nice idea! One could enhance it a little (depending on one's preference,
>>> of course) by inserting (?i) into the search string, resulting in
>>> case-independent search.
>>>
>>> -> PAGER="less -g -s '+/(?i)^       "$1"'" man zshall
>>
>> This gives an "Invalid pattern" error here.
>
> Hmm, is your installation of 'less' using a regex library other than
> pcre? (Because the less manpage says, that the regex may be anything the
> underlying lib supports, and with libpcre-8.35 this works)

That explains it, mine is not linking to pcre. However looks like even
without ?i syntax it works case-independent.

Regards,
ismail


  reply	other threads:[~2015-02-11 12:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06 23:23 zzapper
2015-02-07 11:52 ` zzapper
2015-02-07 12:54   ` Mikael Magnusson
2015-02-07 17:17     ` Ray Andrews
2015-02-07 20:00 ` Bart Schaefer
     [not found] ` <150207120056.ZM10752__13292.4999263652$1423339408$gmane$org@torch.brasslantern.com>
2015-02-07 21:13   ` Stephane Chazelas
2015-02-08 10:00     ` zzapper
2015-02-08 18:46 ` Christian Neukirchen
2015-02-09 13:33   ` zzapper
2015-02-09 13:52   ` René Neumann
2015-02-11 12:26     ` İsmail Dönmez
2015-02-11 12:39       ` Peter Stephenson
2015-02-11 12:47       ` René Neumann
2015-02-11 12:50         ` İsmail Dönmez [this message]
2015-02-11 17:02           ` Daniel Shahaf

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='CAJ1KOAj0LMuppOOyeUk8sLRKz44WvjKjHFkg4q-1SRDxq5i-=g@mail.gmail.com' \
    --to=ismail@donmez.ws \
    --cc=lists@necoro.eu \
    --cc=zsh-users@zsh.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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