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 li

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 wh

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 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; ind

Re: Emacs and vim modelines

2013-01-04 Thread Nicholas Nethercote
On Sat, Jan 5, 2013 at 8:34 AM, Jeff Hammel wrote: > > I find editor-specific modelines extraneous, > since you can always modify emacs/vim to do what you want anyway. I mentioned above that I find it extremely useful because we have an awkward mix of 2-space indent and 4-space indent files (and

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 fonts.

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 wrote: But putting sts in would be reasonable for those that don't have |smarttab| set. So it sounds like the recommended mode l

Re: Emacs and vim modelines

2013-01-04 Thread Mike Hommey
On Sat, Jan 05, 2013 at 07:49:22AM +1100, Nicholas Nethercote wrote: > On Fri, Jan 4, 2013 at 12:23 PM, Nicholas Nethercote > 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:

Re: Emacs and vim modelines

2013-01-04 Thread Nicholas Nethercote
On Fri, Jan 4, 2013 at 12:23 PM, Nicholas Nethercote 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; c-basic-offset: 2 -*- */

Rendering meeting this Monday, January 7

2013-01-04 Thread Benoit Jacob
Hello, The next Rendering meeting will take place this Monday at 2:30 PM US/Pacific time. That could be Tuesday in your timezone. The Rendering meeting is about all things Gfx, Image, Layout, and Media. It is expected to take place every second Monday. Please first add your agenda items there:

Re: jsm source (mercurial )

2013-01-04 Thread rvj
thanks (unzipped) "Ralph Giles" 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 mercurial reposi

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 "Forw