I am happy to look at this stuff but I don't think we should actually include this change at least until we are also adding something that uses it. Don't know if I didn't make that clear before :-).
On Mon, Mar 25, 2013 at 04:15:12PM +0000, Philip Herron wrote: > Yeah i understand what you mean. I remember posting my python stuff > before i am cleaning it all up at the moment. And i remember Nic > saying about how he wasn't against the idea of a dynamic cmd table. I > think its an interesting patch since we can change stuff at runtime. > But its probably only valid for me and my python stufff for now. > > Like adding user-defined commands in some scripting language at > runtime make it feel emacs'y. > > I currently have my python load command loading up commands i have > written in python and added to the cmd_table. So i can C-A : > pympd-next-track. which is a python function in a python file to > switch next track over mpd. So my tmux feels integrated with my > system. Its still very niche but it seems like there is alot of > possibilities for alot of creative people. > > But in the end your right lol. > > --Phil > > On 22 March 2013 18:49, Thomas Adam <tho...@xteddy.org> wrote: > > Hi, > > > > Given that I'm about to roll-out hook-support -- what is this change > > for? I vaguely recall some mangling of cmd.c to support some odd > > python-specific integration in the past -- and I'd personally be > > loathe to add changes to _that_ end in to tmux, unless they had a more > > generic benefit elsewhere -- that is to say -- if these changes go as > > far as to only help with some python integration local to yourself, > > I'm dubious as to the value of this change. > > > > On 22 March 2013 17:05, Philip Herron <redbr...@gcc.gnu.org> wrote: > >> + cmd_table = calloc (nitems, sizeof (struct cmd_entry *)); > > > > We have xcalloc() defined. > > > > -- Thomas Adam > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users