Re: How to capture mouse thumb button events in javascript

2013-01-04 Thread Emmanuel Engelhart
Le 15/09/2010 20:56, Emmanuel Engelhart a écrit : I have found the solution by investigating in the Firefox code, here is it: function HandleAppCommandEvent(evt) { evt.stopPropagation(); switch (evt.command) { case Back: pageBack(); break; case Forward:

Re: jsm source (mercurial )

2013-01-04 Thread rvj
thanks (unzipped) Ralph Giles gi...@mozilla.com wrote in message news:mailman.5430.1357066902.32706.dev-platf...@lists.mozilla.org... On 12-12-31 6:59 AM, rvj wrote: do I need to install windows mercurial to download the jsm files .. You can also download a specific snapshot of the whole

Re: Emacs and vim modelines

2013-01-04 Thread Nicholas Nethercote
On Fri, Jan 4, 2013 at 12:23 PM, Nicholas Nethercote n.netherc...@gmail.com wrote: But putting sts in would be reasonable for those that don't have |smarttab| set. So it sounds like the recommended mode lines should look like this: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil;

Re: Emacs and vim modelines

2013-01-04 Thread Jeff Hammel
On 01/04/2013 01:01 PM, Mike Hommey wrote: On Sat, Jan 05, 2013 at 07:49:22AM +1100, Nicholas Nethercote wrote: On Fri, Jan 4, 2013 at 12:23 PM, Nicholas Nethercote n.netherc...@gmail.com wrote: But putting sts in would be reasonable for those that don't have |smarttab| set. So it sounds like

Re: Emacs and vim modelines

2013-01-04 Thread Ralph Giles
On 13-01-04 1:01 PM, Mike Hommey wrote: That being said, in 2013, I'm not convinced limiting to 80 characters on one line still has much meaning... FWIW I still edit in 80 column windows. Helps get more columns on the screen. Now, maybe if you were suggesting switching to proportional

Re: Emacs and vim modelines

2013-01-04 Thread Benjamin Smedberg
On 1/4/13 3:49 PM, Nicholas Nethercote wrote: On Fri, Jan 4, 2013 at 12:23 PM, Nicholas Nethercote n.netherc...@gmail.com wrote: But putting sts in would be reasonable for those that don't have |smarttab| set. So it sounds like the recommended mode lines should look like this: /* -*- Mode:

Re: Emacs and vim modelines

2013-01-04 Thread L. David Baron
On Friday 2013-01-04 22:01 +0100, Mike Hommey wrote: That being said, in 2013, I'm not convinced limiting to 80 characters on one line still has much meaning... I think it absolutely does, because if we pick a number other than 80, we'll end up having to listen to complaints from the people

Re: Emacs and vim modelines

2013-01-04 Thread Robert O'Callahan
I agree with what David said. Also does anyone know if there's any research on how line lengths affect code reading speed? For reading regular text there's definitely an optimal line length: when text lines are too long, then when your eye moves from the end of one line to the start of the next