Re: the point with pimpls.

2004-01-04 Thread Christian Ridderström
On Sun, 4 Jan 2004, Lars Gullik Bjønnes wrote: > >> Where is the obfuscation? I found list.remove_if(bind2nd(match(), s)); easier to understand on a high level compared to list.remove_if(bind(equal_to(), bind(&Branch::getBranch, _1),

Re: the point with pimpls.

2004-01-04 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: bool BranchList::remove(string const & s) { List::size_type const size = list.size(); -list.remove_if(bind2nd(match(), s)); +list.remove_if(bind(equal_to(), +

Re: the point with pimpls.

2004-01-04 Thread Angus Leeming
Lars Gullik Bjønnes wrote: >>> bool BranchList::remove(string const & s) >>> { >>> List::size_type const size = list.size(); >>> -list.remove_if(bind2nd(match(), s)); >>> +list.remove_if(bind(equal_to(), >>> +bind(&Branch::getBranch, _1), >>> +

Re: Note, branch mailer clean-up

2004-01-04 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> | I'd prefer to leave things as they are until I have a working >> | export_inset lfun (to post the data through the lyxserver) and a >> | working register_dialog lfun (so that our dialog is not shown on, >> | say, a mouse c

Re: the point with pimpls.

2004-01-04 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> bool BranchList::remove(string const & s) >> { >> List::size_type const size = list.size(); >> -list.remove_if(bind2nd(match(), s)); >> +list.remove_if(bind(equal_to(), >> +

Re: the point with pimpls.

2004-01-04 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > bool BranchList::remove(string const & s) > { > List::size_type const size = list.size(); > -list.remove_if(bind2nd(match(), s)); > +list.remove_if(bind(equal_to(), > +bind(&Branch::getBranch, _1), > +

[PATCH] preview wrong formula with a [wrong formula] box.

2004-01-04 Thread Bo Peng
By wrong formula, I mean things like $\text{\alpha}$ entered by C-M C-M \alpha etc. I have discussed this problem in the user list. Currently, with instant preview turned on, 1. If a wrong formula is entered, instant preview will fail and do nothing. 2. If a file with any wrong formula is ope

Re: Note, branch mailer clean-up

2004-01-04 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | I'd prefer to leave things as they are until I have a working > | export_inset lfun (to post the data through the lyxserver) and a > | working register_dialog lfun (so that our dialog is not shown on, > | say, a mouse click, but rather the data is posted through the >

Re: the point with pimpls.

2004-01-04 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | I know that I am the one who began introducing pimpls to lyx. After | that I have become quite wary of them... and feel more and more that | you should have a good reason to use them. > | This boils down to: (right now) What is the use of the pimp