Commit graph

14 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
Henri Sivonen
1a7a08adca Bug 910192 UI part - Get rid of intl.charset.default as a localizable pref and deduce the fallback from the locale. r=gavin. 2013-11-04 13:24:37 +02:00
Carsten "Tomcat" Book
84fb4e377c Backed out changeset a34d87e94281 (bug 910192) bustage on a CLOSED TREE 2013-11-04 13:03:41 +01:00
Henri Sivonen
b02a679fb6 Bug 910192 UI part - Get rid of intl.charset.default as a localizable pref and deduce the fallback from the locale. r=gavin. 2013-11-04 13:24:37 +02:00
Andres Hernandez
41c0955363 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin
--HG--
extra : rebase_source : cc42d98604e38528f3bc9941dce4f15ec8ad5d67
2012-08-10 14:20:25 -06:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
masayuki@d-toybox.com
2d15463f40 Bug 390901 CJK - font-name is not recognised correctly in preferences p=me+jdagett(mac part)+kerlt(fontconfig part) r=jdagett+me+stuart+mconnor b1.9=stuart 2008-03-13 03:32:50 -07:00
jwalden%mit.edu
ae7bfbc478 Bug 340677 - update preferences panels (add anti-phishing, rationalize categories, simplify wording). We're slowly spiralling in on a final design... r=mconnor 2006-07-21 17:42:26 +00: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
dbaron%dbaron.org
f9c62f797f Make Firefox stop overriding the browser.display.screen_resolution pref, and remove the UI for it. b=323962 r=mconnor 2006-02-05 01:11:58 +00:00
gerv%gerv.net
35149ea17d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
scott%scott-macgregor.org
fb6cf9393d Bug #285158 --> Move shared pref UI files from mozilla\browser to mozilla\toolkit\mozapps so Firefox and Thunderbird can share the files together.
No actual coding or UI changes here.

sr=ben
2005-03-10 23:11:10 +00:00
mozilla.mano%sent.com
45f5128d83 Font dialog regressions fix: Bug 283678 - Serif / Sans-serif pref ui doesn't work; Bug 283869 - crash after trying to change font prefs; Bug 283945 - empty font lists for some languages. r=ben. (patch from bug 283678) 2005-02-28 12:52:48 +00:00
ben%bengoodger.com
b622819900 274712 - new options dialog 2005-02-25 09:07:58 +00:00