Commit graph

11 commits

Author SHA1 Message Date
Jim Blandy
7e20285e70 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
JosiahOne
eec68b9946 Bug 855370 - Remove the ability to not 'Always show the tab bar'. r=dao, ui-r=limi 2013-03-27 20:54:59 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Martin von Gagern
25b8322c9d Bug 509664 - Add support for browser.link.open_newwindow.override.external. r=dao 2011-10-08 10:36:11 +02:00
Rob Arnold
25b24d121c Bug 580522 - Need a user-visible pref to disable Aero Peek r=gavin ui-r+a=beltzner 2010-07-30 13:11:06 -04:00
Simon Bunzli
5281410fff Bug 324164 - Unify Single Window Mode Preferences; r=gavin.sharp 2008-10-12 19:36:01 +02:00
Simon Bünzli
525088724f Bug 356830 - Reword "New pages should be opened in..."; r=gavin.sharp ui-r=beltzner 2008-09-22 21:23:12 +02:00
jwalden%mit.edu
dd15a518df Bug 340677 - update preferences panels (add anti-phishing, rationalize categories, simplify wording). r=mconnor 2006-07-05 22:41:03 +00:00
beng%bengoodger.com
2edbfa7ff0 308396 - UE improvements for tabbed browsing in response to usability studies conducted. In particular, add close buttons to tabs, improve the reselection behavior of new tabs opened especially in single window mode, simplify the preferences available for tabs, and improve the visual appearance of keyboard-focused tabs. r=mconnor. 2006-01-20 23:04:26 +00:00
gerv%gerv.net
35149ea17d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
ben%bengoodger.com
b622819900 274712 - new options dialog 2005-02-25 09:07:58 +00:00