Search plugin revision:
info icon to automatically open the readme file from the libdir author! 5) search results in alphabetical order, with internal objects listed first 6) see a hint in the statusbar for all links 7) description/author/license/version automatically listed for every libdir in the libdir format
-Jonathan
Very nice, a big improvement. Its really looking quite complete. Its getting so good that I finally missed that it doesn't have a back button like lots of browserly things these days.
Its definitely ready to be on the puredata.info/downloads page, at the very least.
One minor thing, it seems that the widget frames and the background are slightly different shades of grey (see attachment):
.hc
On Mar 21, 2012, at 5:14 PM, Jonathan Wilkes wrote:
Search plugin revision:
- links to tutorials, manual, and other stuff to guide beginners on the front page
- tutorial and libdir filebrowser obsoletes the <ctrl-B> HelpBrowser
- folder icon allows to open any directory (or libdir) in external file browser
- Found an object in the search results you've never seen before? Click the
info icon to automatically open the readme file from the libdir author! 5) search results in alphabetical order, with internal objects listed first 6) see a hint in the statusbar for all links 7) description/author/license/version automatically listed for every libdir in the libdir format
-Jonathan <search-plugin.tcl>_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr.
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: Jonathan Wilkes jancsika@yahoo.com Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, March 21, 2012 5:47 PM Subject: Re: [PD] search plugin revision
Very nice, a big improvement. Its really looking quite complete. Its getting so good that I finally missed that it doesn't have a back button like lots of browserly things these days.
There's probably a way to do that if someone wants to investigate. There's a "dump" subcommand for the text widget, but you'd probably want to cache it on disk since results can be pretty big for, say, a search for "float".
Other issues:
string (which is faster than foreaching each line). Could be faster with an index but then not even half of all docs have keywords or metadata.
as the regex pattern. Plus, I'm blithely treating the input as if it were a well formed list, and thus I've entered tcl "quoting hell". The benefit is that I get string quoting for free, and I'm quite fine with that vs. the cost of an error with a complex regex pattern.
external libraries list. (Simple fix, though.)
One external library's description is something like "my bag of tricks"! Of course many of the libs are just directories for a particular developer's experimentation, but if you see a description that can be improved let me know and I'll fix it.
-Jonathan
Its definitely ready to be on the puredata.info/downloads page, at the very least.
One minor thing, it seems that the widget frames and the background are slightly different shades of grey (see attachment):
.hc
On Mar 21, 2012, at 5:14 PM, Jonathan Wilkes wrote:
Search plugin revision:
- links to tutorials, manual, and other stuff to guide beginners on the
front page
- tutorial and libdir filebrowser obsoletes the <ctrl-B> HelpBrowser
- folder icon allows to open any directory (or libdir) in external file
browser
- Found an object in the search results you've never seen before?
Click the
info icon to automatically open the readme file from the libdir author! 5) search results in alphabetical order, with internal objects listed first 6) see a hint in the statusbar for all links 7) description/author/license/version automatically listed for every libdir
in the libdir format
-Jonathan <search-plugin.tcl>_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr.
this looks really great!
hans ... whats up with the other "Search" under "help". I cant even type into it let alone search for anything. are we just getting rid of that and replacing with jonathons?
thanks! m
On Wed, Mar 21, 2012 at 6:11 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: Jonathan Wilkes jancsika@yahoo.com Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, March 21, 2012 5:47 PM Subject: Re: [PD] search plugin revision
Very nice, a big improvement. Its really looking quite complete. Its getting so good that I finally missed that it doesn't have a back button like lots of browserly things these days.
There's probably a way to do that if someone wants to investigate. There's a "dump" subcommand for the text widget, but you'd probably want to cache it on disk since results can be pretty big for, say, a search for "float".
Other issues:
- long searches on OSX. I'm just doing a regex on every file as one big
string (which is faster than foreaching each line). Could be faster with an index but then not even half of all docs have keywords or metadata.
- users can easily trigger tk error messages because I'm using their input
as the regex pattern. Plus, I'm blithely treating the input as if it were a well formed list, and thus I've entered tcl "quoting hell". The benefit is that I get string quoting for free, and I'm quite fine with that vs. the cost of an error with a complex regex pattern.
- external libraries that don't have a *-meta.pd patch won't get listed in the
external libraries list. (Simple fix, though.)
- Pd's chronic lack of user-friendly documentation is even more obvious.
One external library's description is something like "my bag of tricks"! Of course many of the libs are just directories for a particular developer's experimentation, but if you see a description that can be improved let me know and I'll fix it.
-Jonathan
Its definitely ready to be on the puredata.info/downloads page, at the very least.
One minor thing, it seems that the widget frames and the background are slightly different shades of grey (see attachment):
.hc
On Mar 21, 2012, at 5:14 PM, Jonathan Wilkes wrote:
Search plugin revision: 1) links to tutorials, manual, and other stuff to guide beginners on the
front page
2) tutorial and libdir filebrowser obsoletes the <ctrl-B> HelpBrowser 3) folder icon allows to open any directory (or libdir) in external file
browser
4) Found an object in the search results you've never seen before?
Click the
info icon to automatically open the readme file from the libdir author! 5) search results in alphabetical order, with internal objects listed first 6) see a hint in the statusbar for all links 7) description/author/license/version automatically listed for every libdir
in the libdir format
-Jonathan <search-plugin.tcl>_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
That other big blue search thing on Mac OS X is the Apple Help search. It only searches Apple Help. If anyone can figure out how to either make it search .pd files, or make it go away entirely, that would be great to have.
.hc
On Mar 21, 2012, at 7:50 PM, m.e.grimm wrote:
this looks really great!
hans ... whats up with the other "Search" under "help". I cant even type into it let alone search for anything. are we just getting rid of that and replacing with jonathons?
thanks! m
On Wed, Mar 21, 2012 at 6:11 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: Jonathan Wilkes jancsika@yahoo.com Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, March 21, 2012 5:47 PM Subject: Re: [PD] search plugin revision
Very nice, a big improvement. Its really looking quite complete. Its getting so good that I finally missed that it doesn't have a back button like lots of browserly things these days.
There's probably a way to do that if someone wants to investigate. There's a "dump" subcommand for the text widget, but you'd probably want to cache it on disk since results can be pretty big for, say, a search for "float".
Other issues:
- long searches on OSX. I'm just doing a regex on every file as one big
string (which is faster than foreaching each line). Could be faster with an index but then not even half of all docs have keywords or metadata.
- users can easily trigger tk error messages because I'm using their input
as the regex pattern. Plus, I'm blithely treating the input as if it were a well formed list, and thus I've entered tcl "quoting hell". The benefit is that I get string quoting for free, and I'm quite fine with that vs. the cost of an error with a complex regex pattern.
- external libraries that don't have a *-meta.pd patch won't get listed in the
external libraries list. (Simple fix, though.)
- Pd's chronic lack of user-friendly documentation is even more obvious.
One external library's description is something like "my bag of tricks"! Of course many of the libs are just directories for a particular developer's experimentation, but if you see a description that can be improved let me know and I'll fix it.
-Jonathan
Its definitely ready to be on the puredata.info/downloads page, at the very least.
One minor thing, it seems that the widget frames and the background are slightly different shades of grey (see attachment):
.hc
On Mar 21, 2012, at 5:14 PM, Jonathan Wilkes wrote:
Search plugin revision:
- links to tutorials, manual, and other stuff to guide beginners on the
front page
- tutorial and libdir filebrowser obsoletes the <ctrl-B> HelpBrowser
- folder icon allows to open any directory (or libdir) in external file
browser
- Found an object in the search results you've never seen before?
Click the
info icon to automatically open the readme file from the libdir author! 5) search results in alphabetical order, with internal objects listed first 6) see a hint in the statusbar for all links 7) description/author/license/version automatically listed for every libdir
in the libdir format
-Jonathan <search-plugin.tcl>_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________
"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: m.e.grimm megrimm@gmail.com Cc: Jonathan Wilkes jancsika@yahoo.com; "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, March 21, 2012 9:27 PM Subject: Re: [PD] search plugin revision
That other big blue search thing on Mac OS X is the Apple Help search. It only searches Apple Help. If anyone can figure out how to either make it search .pd files, or make it go away entirely, that would be great to have.
Also, the last time I tried Pd on OSX it had two "Preferences" menu items under the main Pd application menu.
-Jonathan
.hc
On Mar 21, 2012, at 7:50 PM, m.e.grimm wrote:
this looks really great!
hans ... whats up with the other "Search" under "help".
I cant even
type into it let alone search for anything. are we just getting rid of that and replacing with jonathons?
thanks! m
On Wed, Mar 21, 2012 at 6:11 PM, Jonathan Wilkes jancsika@yahoo.com
wrote:
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: Jonathan Wilkes jancsika@yahoo.com Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, March 21, 2012 5:47 PM Subject: Re: [PD] search plugin revision
Very nice, a big improvement. Its really looking quite complete.
Its getting
so good that I finally missed that it doesn't have a back
button like lots
of browserly things these days.
There's probably a way to do that if someone wants to investigate.
There's a
"dump" subcommand for the text widget, but you'd probably
want to cache it
on disk since results can be pretty big for, say, a search for
"float".
Other issues:
- long searches on OSX. I'm just doing a regex on every file as
one big
string (which is faster than foreaching each line). Could be faster
with an
index but then not even half of all docs have keywords or metadata.
- users can easily trigger tk error messages because I'm using
their input
as the regex pattern. Plus, I'm blithely treating the input as if
it were a well
formed list, and thus I've entered tcl "quoting hell".
The benefit is that I get
string quoting for free, and I'm quite fine with that vs. the cost
of an error
with a complex regex pattern.
- external libraries that don't have a *-meta.pd patch won't
get listed in the
external libraries list. (Simple fix, though.)
- Pd's chronic lack of user-friendly documentation is even more
obvious.
One external library's description is something like "my bag
of tricks"!
Of course many of the libs are just directories for a particular
developer's
experimentation, but if you see a description that can be improved let me know and I'll fix it.
-Jonathan
Its definitely ready to be on the puredata.info/downloads page, at
the very
least.
One minor thing, it seems that the widget frames and the background
are slightly
different shades of grey (see attachment):
.hc
On Mar 21, 2012, at 5:14 PM, Jonathan Wilkes wrote:
Search plugin revision: 1) links to tutorials, manual, and other stuff to guide
beginners on the
front page
2) tutorial and libdir filebrowser obsoletes the
<ctrl-B> HelpBrowser
3) folder icon allows to open any directory (or libdir) in
external file
browser
4) Found an object in the search results you've never seen
before?
Click the
info icon to automatically open the readme file from the
libdir author!
5) search results in alphabetical order, with internal objects
listed first
6) see a hint in the statusbar for all links 7) description/author/license/version automatically listed for
every libdir
in the libdir format
-Jonathan
<search-plugin.tcl>_______________________________________________
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
I have the audacity to believe that peoples everywhere can have
three meals a
day for their bodies, education and culture for their minds, and
dignity,
equality and freedom for their spirits. - Martin Luther King,
Jr.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________
"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman
Also, the last time I tried Pd on OSX it had two "Preferences" menu items
I remember that one. seems to be gone now....
files, or make it go away entirely,
might be better (easier?) to use available apple help search? a quick look i see mo way to get rid of it. there is a "Help Indexer tool" ... but seems this would be completely different than the plugin...
m
On Wed, Mar 21, 2012 at 10:44 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: m.e.grimm megrimm@gmail.com Cc: Jonathan Wilkes jancsika@yahoo.com; "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, March 21, 2012 9:27 PM Subject: Re: [PD] search plugin revision
That other big blue search thing on Mac OS X is the Apple Help search. It only searches Apple Help. If anyone can figure out how to either make it search .pd files, or make it go away entirely, that would be great to have.
Also, the last time I tried Pd on OSX it had two "Preferences" menu items under the main Pd application menu.
-Jonathan
.hc
On Mar 21, 2012, at 7:50 PM, m.e.grimm wrote:
this looks really great!
hans ... whats up with the other "Search" under "help".
I cant even
type into it let alone search for anything. are we just getting rid of that and replacing with jonathons?
thanks! m
On Wed, Mar 21, 2012 at 6:11 PM, Jonathan Wilkes jancsika@yahoo.com
wrote:
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: Jonathan Wilkes jancsika@yahoo.com Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, March 21, 2012 5:47 PM Subject: Re: [PD] search plugin revision
Very nice, a big improvement. Its really looking quite complete.
Its getting
so good that I finally missed that it doesn't have a back
button like lots
of browserly things these days.
There's probably a way to do that if someone wants to investigate.
There's a
"dump" subcommand for the text widget, but you'd probably
want to cache it
on disk since results can be pretty big for, say, a search for
"float".
Other issues: * long searches on OSX. I'm just doing a regex on every file as
one big
string (which is faster than foreaching each line). Could be faster
with an
index but then not even half of all docs have keywords or metadata. * users can easily trigger tk error messages because I'm using
their input
as the regex pattern. Plus, I'm blithely treating the input as if
it were a well
formed list, and thus I've entered tcl "quoting hell".
The benefit is that I get
string quoting for free, and I'm quite fine with that vs. the cost
of an error
with a complex regex pattern. * external libraries that don't have a *-meta.pd patch won't
get listed in the
external libraries list. (Simple fix, though.) * Pd's chronic lack of user-friendly documentation is even more
obvious.
One external library's description is something like "my bag
of tricks"!
Of course many of the libs are just directories for a particular
developer's
experimentation, but if you see a description that can be improved let me know and I'll fix it.
-Jonathan
Its definitely ready to be on the puredata.info/downloads page, at
the very
least.
One minor thing, it seems that the widget frames and the background
are slightly
different shades of grey (see attachment):
.hc
On Mar 21, 2012, at 5:14 PM, Jonathan Wilkes wrote:
Search plugin revision: 1) links to tutorials, manual, and other stuff to guide
beginners on the
front page
2) tutorial and libdir filebrowser obsoletes the
<ctrl-B> HelpBrowser
3) folder icon allows to open any directory (or libdir) in
external file
browser
4) Found an object in the search results you've never seen
before?
Click the
info icon to automatically open the readme file from the
libdir author!
5) search results in alphabetical order, with internal objects
listed first
6) see a hint in the statusbar for all links 7) description/author/license/version automatically listed for
every libdir
in the libdir format
-Jonathan
<search-plugin.tcl>_______________________________________________
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
I have the audacity to believe that peoples everywhere can have
three meals a
day for their bodies, education and culture for their minds, and
dignity,
equality and freedom for their spirits. - Martin Luther King,
Jr.
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________
"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman
----- Original Message -----
From: m.e.grimm megrimm@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: Hans-Christoph Steiner hans@at.or.at; "pd-list@iem.at" pd-list@iem.at Sent: Thursday, March 22, 2012 9:28 AM Subject: Re: [PD] search plugin revision
Also, the last time I tried Pd on OSX it had two "Preferences"
menu items
I remember that one. seems to be gone now....
files, or make it go away entirely,
might be better (easier?) to use available apple help search? a quick look i see mo way to get rid of it. there is a "Help Indexer tool" ... but seems this would be completely different than the plugin...
I don't know why you can't type anything into that box. In Firefox it brings up results about Safari and stuff, so it looks like a global help search. Looks like the Firefox devs just made some shortcuts to point to menu items in the Apple help (or it generated them automatically with that toolkit but doesn't with Tcl/Tk).
But I think the correct solution for the plug-in is to name it "Pd Help" or "Pd Help Browser" in the menu, then there is no confusion.
-Jonathan
m
On Wed, Mar 21, 2012 at 10:44 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: m.e.grimm megrimm@gmail.com Cc: Jonathan Wilkes jancsika@yahoo.com;
"pd-list@iem.at" pd-list@iem.at
Sent: Wednesday, March 21, 2012 9:27 PM Subject: Re: [PD] search plugin revision
That other big blue search thing on Mac OS X is the Apple Help search.
It only
searches Apple Help. If anyone can figure out how to either make it
search .pd
files, or make it go away entirely, that would be great to have.
Also, the last time I tried Pd on OSX it had two "Preferences"
menu items under the
main Pd application menu.
-Jonathan
.hc
On Mar 21, 2012, at 7:50 PM, m.e.grimm wrote:
this looks really great!
hans ... whats up with the other "Search" under
"help".
I cant even
type into it let alone search for anything. are we just getting
rid of
that and replacing with jonathons?
thanks! m
On Wed, Mar 21, 2012 at 6:11 PM, Jonathan Wilkes
wrote:
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: Jonathan Wilkes jancsika@yahoo.com Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, March 21, 2012 5:47 PM Subject: Re: [PD] search plugin revision
Very nice, a big improvement. Its really looking quite
complete.
Its getting
so good that I finally missed that it doesn't have a
back
button like lots
of browserly things these days.
There's probably a way to do that if someone wants to
investigate.
There's a
"dump" subcommand for the text widget, but you'd
probably
want to cache it
on disk since results can be pretty big for, say, a search for
"float".
Other issues: * long searches on OSX. I'm just doing a regex on every
file as
one big
string (which is faster than foreaching each line). Could be
faster
with an
index but then not even half of all docs have keywords or
metadata.
* users can easily trigger tk error messages because I'm
using
their input
as the regex pattern. Plus, I'm blithely treating the
input as if
it were a well
formed list, and thus I've entered tcl "quoting
hell".
The benefit is that I get
string quoting for free, and I'm quite fine with that vs.
the cost
of an error
with a complex regex pattern. * external libraries that don't have a *-meta.pd patch
won't
get listed in the
external libraries list. (Simple fix, though.) * Pd's chronic lack of user-friendly documentation is even
more
obvious.
One external library's description is something like
"my bag
of tricks"!
Of course many of the libs are just directories for a
particular
developer's
experimentation, but if you see a description that can be
improved let
me know and I'll fix it.
-Jonathan
Its definitely ready to be on the puredata.info/downloads
page, at
the very
least.
One minor thing, it seems that the widget frames and the
background
are slightly
different shades of grey (see attachment):
.hc
On Mar 21, 2012, at 5:14 PM, Jonathan Wilkes wrote:
> Search plugin revision: > 1) links to tutorials, manual, and other stuff to
guide
beginners on the
front page > 2) tutorial and libdir filebrowser obsoletes the
<ctrl-B> HelpBrowser
> 3) folder icon allows to open any directory (or
libdir) in
external file
browser > 4) Found an object in the search results you've
never seen
before?
Click the > > info icon to automatically open the readme file from
the
libdir author!
> 5) search results in alphabetical order, with
internal objects
listed first
> 6) see a hint in the statusbar for all links > 7) description/author/license/version automatically
listed for
every libdir
in the libdir format > > -Jonathan >
<search-plugin.tcl>_______________________________________________
> Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I have the audacity to believe that peoples everywhere can
have
three meals a
day for their bodies, education and culture for their
minds, and
dignity,
equality and freedom for their spirits. - Martin
Luther King,
Jr.
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________
"Free software means you control what your computer does. Non-free
software
means someone else controls that, and to some extent controls
you." -
Richard M. Stallman
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________
On Mar 22, 2012, at 10:14 AM, Jonathan Wilkes wrote:
----- Original Message -----
From: m.e.grimm megrimm@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: Hans-Christoph Steiner hans@at.or.at; "pd-list@iem.at" pd-list@iem.at Sent: Thursday, March 22, 2012 9:28 AM Subject: Re: [PD] search plugin revision
Also, the last time I tried Pd on OSX it had two "Preferences"
menu items
I remember that one. seems to be gone now....
files, or make it go away entirely,
might be better (easier?) to use available apple help search? a quick look i see mo way to get rid of it. there is a "Help Indexer tool" ... but seems this would be completely different than the plugin...
I don't know why you can't type anything into that box. In Firefox it brings up results about Safari and stuff, so it looks like a global help search. Looks like the Firefox devs just made some shortcuts to point to menu items in the Apple help (or it generated them automatically with that toolkit but doesn't with Tcl/Tk).
But I think the correct solution for the plug-in is to name it "Pd Help" or "Pd Help Browser" in the menu, then there is no confusion.
For me, searching is very useful, but does not replace browsing. But yes, a clearer name would be helpful. GNU/Linux and Windows do not have that blue search bar thing, so "Search" is a fully appropriate name there. Hopefully on OSX we can find out how to disable that blue thing or use it for the search plugin.
.hc
"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: Jonathan Wilkes jancsika@yahoo.com Cc: m.e.grimm megrimm@gmail.com; "pd-list@iem.at" pd-list@iem.at Sent: Thursday, March 22, 2012 1:22 PM Subject: Re: [PD] search plugin revision
On Mar 22, 2012, at 10:14 AM, Jonathan Wilkes wrote:
----- Original Message -----
From: m.e.grimm megrimm@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: Hans-Christoph Steiner hans@at.or.at;
"pd-list@iem.at" pd-list@iem.at
Sent: Thursday, March 22, 2012 9:28 AM Subject: Re: [PD] search plugin revision
Also, the last time I tried Pd on OSX it had two
"Preferences"
menu items
I remember that one. seems to be gone now....
files, or make it go away entirely,
might be better (easier?) to use available apple help search? a quick look i see mo way to get rid of it. there is a "Help Indexer
tool" ...
but seems this would be completely different than the plugin...
I don't know why you can't type anything into that box. In Firefox
it brings
up results about Safari and stuff, so it looks like a global help search.
Looks
like the Firefox devs just made some shortcuts to point to menu items in
the
Apple help (or it generated them automatically with that toolkit but
doesn't with
Tcl/Tk).
But I think the correct solution for the plug-in is to name it "Pd
Help" or "Pd
Help Browser" in the menu, then there is no confusion.
For me, searching is very useful, but does not replace browsing.
The plugin is itself a browser that's designed to obsolete the current doc browser. In addition to that, it can also be used to search the docs. I just happened to write the searching functionality first and named the plugin before I implemented the browsing capability.
If you want I can put two links on the "home" page to browse "$::sys_libdir/doc"-- one for browsing within the text widget, and the other to spawn an external file manager. Then there will literally be nothing you can do with the current browser that can't be done more easily (and transparently) with my plugin.
-Jonathan
But yes, a clearer name would be helpful. GNU/Linux and Windows do not have that blue search bar thing, so "Search" is a fully appropriate name there. Hopefully on OSX we can find out how to disable that blue thing or use it for the search plugin.
.hc
"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman
----- Original Message -----
From: m.e.grimm megrimm@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: Hans-Christoph Steiner hans@at.or.at; "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, March 21, 2012 7:50 PM Subject: Re: [PD] search plugin revision
t his looks really great!
hans ... whats up with the other "Search" under "help". I cant even type into it let alone search for anything. are we just getting rid of that and replacing with jonathons?
I'm assuming you are on OSX because they have a standard search window under "Help". Is there some way to hook into it?
-Jonathan
thanks! m
On Wed, Mar 21, 2012 at 6:11 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
----- Original Message -----
From: Hans-Christoph Steiner hans@at.or.at To: Jonathan Wilkes jancsika@yahoo.com Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, March 21, 2012 5:47 PM Subject: Re: [PD] search plugin revision
Very nice, a big improvement. Its really looking quite complete. Its
getting
so good that I finally missed that it doesn't have a back button
like lots
of browserly things these days.
There's probably a way to do that if someone wants to investigate.
There's a
"dump" subcommand for the text widget, but you'd probably
want to cache it
on disk since results can be pretty big for, say, a search for
"float".
Other issues:
- long searches on OSX. I'm just doing a regex on every file as one
big
string (which is faster than foreaching each line). Could be faster with
an
index but then not even half of all docs have keywords or metadata.
- users can easily trigger tk error messages because I'm using their
input
as the regex pattern. Plus, I'm blithely treating the input as if it
were a well
formed list, and thus I've entered tcl "quoting hell". The
benefit is that I get
string quoting for free, and I'm quite fine with that vs. the cost of
an error
with a complex regex pattern.
- external libraries that don't have a *-meta.pd patch won't get
listed in the
external libraries list. (Simple fix, though.)
- Pd's chronic lack of user-friendly documentation is even more
obvious.
One external library's description is something like "my bag of
tricks"!
Of course many of the libs are just directories for a particular
developer's
experimentation, but if you see a description that can be improved let me know and I'll fix it.
-Jonathan
Its definitely ready to be on the puredata.info/downloads page, at the
very
least.
One minor thing, it seems that the widget frames and the background are
slightly
different shades of grey (see attachment):
.hc
On Mar 21, 2012, at 5:14 PM, Jonathan Wilkes wrote:
Search plugin revision: 1) links to tutorials, manual, and other stuff to guide beginners
on the
front page
2) tutorial and libdir filebrowser obsoletes the <ctrl-B>
HelpBrowser
3) folder icon allows to open any directory (or libdir) in
external file
browser
4) Found an object in the search results you've never seen
before?
Click the
info icon to automatically open the readme file from the libdir
author!
5) search results in alphabetical order, with internal objects
listed first
6) see a hint in the statusbar for all links 7) description/author/license/version automatically listed for
every libdir
in the libdir format
-Jonathan
<search-plugin.tcl>_______________________________________________
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
I have the audacity to believe that peoples everywhere can have three
meals a
day for their bodies, education and culture for their minds, and
dignity,
equality and freedom for their spirits. - Martin Luther King, Jr.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________