BTS

Message1129

Author ft1
Recipients ak, ft, mika, z3ttacht
Date 2008-01-30.20:33:52
Content
[Adding ak to Cc: for obvious reasons]
[Full-quoting therefore]

Michael Prokop <bts@bts.grml.org>:
> Michael Prokop <mika@grml.org> added the comment:
> * Frank Terbeck <ft@bewatermyfriend.org> [20080130 10:29]:
> > Alexander Steinböck <bts@bts.grml.org>:
> > [...]
> > > +conf_dir=( $HOME/.newsbeuter /usr/share/doc/newsbeuter/examples )
> > [...]
> 
> > I don't like '/usr/share/doc/newsbeuter/examples' either.
> 
> > What happens if I installed newbeuter from a .deb, which keeps its
> > examples there, but I also installed a SVN snapshot in, which keeps
> > its examples in '/usr/local/share/doc/newsbeuter/examples', with
> > potentially incompatible configuration files... (you know, development
> > versions...).
> 
> > zsh doesn't know which version I'm running; Therefore, it can only
> > guess for the right place for examples in such a directory.
> 
> > Also, is newsbeuter able to deal with gzipped config files at all?
> > If not, it's pointless anyway (unless you do some smart =(...) magic
> > in your completion, when it finds .gz), if the examples are gzipped
> > by default.
> 
> > What is the point in completing these at all?
> 
> > I would probably just use plain the _files completion for config files
> > anyway, and *maybe* look into ~/.newbeuter as well, if you must.
> 
> JFYR: I just talked to upstream of newsbeuter, Andreas would ship
> the zsh completion file directly via his upstream tar.gz (through
> something like the contrib directory). Maybe Andreas can help us in
> finding an elegant solution regarding this configuration file issue
> you are talking about as well. :)

FWIW, I think a proper completion for newsbeuter would be of general
interest; So, I think it would be best to implement it and submit it
to zsh-workers. That way, every zsh user could get the pleasure of
using it. No matter if he is running grml, debian, gentoo or whatever.

It could be distributed with newsbeuter, as long as there is no
release of zsh, that ships it. Once that has happened, you don't have
to worry about it anymore.

Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925
History
Date User Action Args
2008-01-30 20:33:52ft1setrecipients: + mika, ft
2008-01-30 20:33:52ft1linkissue388 messages
2008-01-30 20:33:52ft1create