Commit Graph

15 Commits

Author SHA1 Message Date
Jim Blandy
4d6a633bba 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
Michael Pruett
3eb6d8afb4 Bug 431901 - Update preference dialogs to treat backspace and delete equivalently on Mac OS X. r=MattN 2014-05-12 23:11:19 -05:00
Masatoshi Kimura
e6668db5be Bug 973371 - Clarify a label for a checkbox in the Profile Manager. r=benjamin 2014-02-21 20:10:59 +09:00
Hector Zhao
59986091f7 Bug 606575 - Profile local data dir (ProfLD / NS_APP_USER_PROFILE_LOCAL_50_DIR) is incorrect for a newly created profile. r=Neil 2013-11-19 11:46:00 +08:00
Neil Rashbrook
fe9b695c26 Bug 766494 Followup to bug 278860 to check for the actual missing profile folder r=bsmedberg 2012-07-10 19:53:19 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Kaply
dee2770b73 Bug 278860 - missed gPromptService change to Services.prompt in previous checkin - r=mossop 2012-05-04 08:42:51 -05:00
Michael Kaply
89becf8299 Bug 278860 - Show the right error message when the profile is missing; r=bsmedberg a=mfinkle 2012-04-19 15:40:49 -04:00
aceman
8bdd70a01d Bug 714606 - Use Services.prompt instead of gPromptService in Toolkit. r=mossop 2012-03-21 19:52:24 -04:00
reed@reedloden.com
de216ba28f Bug 304799 - "when closing the Profile Manager with "Exit", the "Don't ask at startup" checkbox state isn't saved" [p=hskupin@gmail.com (Henrik Skupin) r=bsmedberg a1.9=schrep] 2007-11-13 08:22:59 -08:00
asqueella@gmail.com
ed16bde7f8 Bug 393814 - deleting a profile in profile manager should not leave no profile selected p=Ray Kiddy <ray@ganymede.org> r=bsmedberg 2007-09-02 09:35:37 -07:00
philringnalda@gmail.com
f6ea741663 Bug 251244 - XRemote Service can't find Profile Manager service to set X server property atom, patch by David Reiss <dreiss@cs.stanford.edu>, r=bsmedberg 2007-06-29 22:02:49 -07:00
kherron@fmailbox.com
6a273d2d78 Bug 351955 - profileCreationExplanation_4.text in createProfileWizard.dtd needs a Linux/Gnome version. Patch by Marek A. Stepien <marcoos+bmo@marcoos.org>. r=benjamin. 2007-06-24 05:00:15 -07:00
sdwilsh@shawnwilsher.com
5e8119e353 Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00