Commit Graph

11 Commits

Author SHA1 Message Date
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Robert Strong
d4c59aa3bf 1. main patch - Bug 530872 - app.update.url params / update.xml cleanup and addition of a custom string property for apps. r=dtownsend 2010-03-03 10:56:33 -08:00
Robert Strong
c7f5fceef0 Bug 485624 - Downloads in progress for previous releases should be canceled on startup instead of resumed. r=dtownsend 2009-04-16 18:40:46 -07:00
gavin@gavinsharp.com
69f4d6fbc2 Bug 314335: make use of the defaultbutton and buttonlabel attributes of dialogs, where appropriate, r=mano 2005-10-30 17:16:17 +00:00
ben@bengoodger.com
d26fb37242 303449 - show update history button missing from preferences 2005-08-05 22:05:41 +00:00
ben@bengoodger.com
ce8e7c0fa5 show update full name (including build id) in the update history window 2005-08-03 20:31:27 +00:00
ben@bengoodger.com
0bd1c39d3b clean up on restart 2005-06-29 01:34:36 +00:00
ben@bengoodger.com
056f6ca3c1 unify preference handling, fix update history not to show redundant entries 2005-06-28 18:56:40 +00:00
ben@bengoodger.com
55344b54f8 Unify update download/checking error generation and reporting, more work on update history view, fix various polish bugs in downloading page, etc. 2005-06-28 03:27:42 +00:00
ben@bengoodger.com
d919117d09 Add update history list UI 2005-06-27 01:18:10 +00:00