zsh-workers
 help / color / mirror / code / Atom feed
* _redirect and _x_arguments completion issue
@ 2010-04-07 13:40 Alexey I. Froloff
  2010-04-07 14:39 ` Benjamin R. Haskell
  2010-04-07 14:50 ` Bart Schaefer
  0 siblings, 2 replies; 6+ messages in thread
From: Alexey I. Froloff @ 2010-04-07 13:40 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 148 bytes --]

$ </etc/X11/<Tab>

Nothing!

Isn't _x_arguments dead since XOrg?

-- 
Regards,    --
Sir Raorn.   --- http://thousandsofhate.blogspot.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: _redirect and _x_arguments completion issue
  2010-04-07 13:40 _redirect and _x_arguments completion issue Alexey I. Froloff
@ 2010-04-07 14:39 ` Benjamin R. Haskell
  2010-04-09 11:58   ` Peter Stephenson
  2010-04-07 14:50 ` Bart Schaefer
  1 sibling, 1 reply; 6+ messages in thread
From: Benjamin R. Haskell @ 2010-04-07 14:39 UTC (permalink / raw)
  To: Alexey I. Froloff; +Cc: zsh-workers

On Wed, 7 Apr 2010, Alexey I. Froloff wrote:

> $ </etc/X11/<Tab>
> 
> Nothing!

See: zsh-workers 27589
http://www.zsh.org/mla/workers/2010/msg00041.html

Peter: your followup said you weren't ignoring it... did that ever make 
it in?


> Isn't _x_arguments dead since XOrg?

Maybe?  Though, I think it depends on your distribution whether things 
are installed into an X11/ subdirectory.

-- 
Best,
Ben


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: _redirect and _x_arguments completion issue
  2010-04-07 13:40 _redirect and _x_arguments completion issue Alexey I. Froloff
  2010-04-07 14:39 ` Benjamin R. Haskell
@ 2010-04-07 14:50 ` Bart Schaefer
  2010-04-09 16:07   ` Alexey I. Froloff
  1 sibling, 1 reply; 6+ messages in thread
From: Bart Schaefer @ 2010-04-07 14:50 UTC (permalink / raw)
  To: zsh-workers

On Apr 7,  5:40pm, Alexey I. Froloff wrote:
} 
} $ </etc/X11/<Tab>
} 
} Nothing!

I'm not understanding why this matters to the next question.

} Isn't _x_arguments dead since XOrg?

Could you explain that a little more?  I *think* what you mean is
"since XOrg released X11R7.x".  I don't have access to a system with
that installed; on my CentOS4 system, with XOrg 6.8, it's still
working fine.  Is there anything OTHER THAN the following that
should be changed?

Index: _x_arguments
===================================================================
RCS file: /extra/cvsroot/zsh/zsh-4.0/Completion/X/Utility/_x_arguments,v
retrieving revision 1.2
diff -c -r1.2 _x_arguments
--- _x_arguments	27 Apr 2001 05:21:55 -0000	1.2
+++ _x_arguments	7 Apr 2010 14:48:51 -0000
@@ -1,4 +1,4 @@
-#compdef -P */X11(|R[456])/*
+#compdef -P */X11(|R<4->)/*
 
 local ret long xargs opts rawret nm="$compstate[nmatches]"
 


-- 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: _redirect and _x_arguments completion issue
  2010-04-07 14:39 ` Benjamin R. Haskell
@ 2010-04-09 11:58   ` Peter Stephenson
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Stephenson @ 2010-04-09 11:58 UTC (permalink / raw)
  To: zsh-workers

On Wed, 7 Apr 2010 10:39:50 -0400 (EDT)
"Benjamin R. Haskell" <zsh@benizi.com> wrote:
> On Wed, 7 Apr 2010, Alexey I. Froloff wrote:
> 
> > $ </etc/X11/<Tab>
> > 
> > Nothing!
> 
> See: zsh-workers 27589
> http://www.zsh.org/mla/workers/2010/msg00041.html
> 
> Peter: your followup said you weren't ignoring it... did that ever make 
> it in?

No, I haven't time to look at it in detail.  I've just committed it and we'll
see what happens.

-- 
Peter Stephenson <pws@csr.com>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: _redirect and _x_arguments completion issue
  2010-04-07 14:50 ` Bart Schaefer
@ 2010-04-09 16:07   ` Alexey I. Froloff
  2010-04-10 20:48     ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey I. Froloff @ 2010-04-09 16:07 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

On Wed, Apr 07, 2010 at 07:50:34AM -0700, Bart Schaefer wrote:
> } $ </etc/X11/<Tab>
> } Nothing!
> I'm not understanding why this matters to the next question.
My bad.  It was really _redirect's problem.

> } Isn't _x_arguments dead since XOrg?
> Could you explain that a little more?  I *think* what you mean is
> "since XOrg released X11R7.x".
I meant "since XOrg installs everything into /usr/ instead of
/usr/X11Rn/".  And this only works (correct me if I'm wrong)
when command appears with full path.

-- 
Regards,    --
Sir Raorn.   --- http://thousandsofhate.blogspot.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: _redirect and _x_arguments completion issue
  2010-04-09 16:07   ` Alexey I. Froloff
@ 2010-04-10 20:48     ` Bart Schaefer
  0 siblings, 0 replies; 6+ messages in thread
From: Bart Schaefer @ 2010-04-10 20:48 UTC (permalink / raw)
  To: zsh-workers

On Apr 9,  8:07pm, Alexey I. Froloff wrote:
}
} > } Isn't _x_arguments dead since XOrg?
} > Could you explain that a little more?  I *think* what you mean is
} > "since XOrg released X11R7.x".
} I meant "since XOrg installs everything into /usr/ instead of
} /usr/X11Rn/".  And this only works (correct me if I'm wrong)
} when command appears with full path.

OK, you're wrong. :-)

Patterns for compdef -P apply to the location of the command after
looking it up in the command hash table.

Nevertheless, I think the existence of /usr/X11R*/ is dependent on the
OS distribution rather than on XOrg.  If you can suggest a way to
distinguish XOrg applications from everything else in /usr/bin on
platforms that don't use a separate tree, I'm sure we'd be happy to
fold that in.

-- 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-10 20:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-07 13:40 _redirect and _x_arguments completion issue Alexey I. Froloff
2010-04-07 14:39 ` Benjamin R. Haskell
2010-04-09 11:58   ` Peter Stephenson
2010-04-07 14:50 ` Bart Schaefer
2010-04-09 16:07   ` Alexey I. Froloff
2010-04-10 20:48     ` Bart Schaefer

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