Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
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
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Marco Bonardo a399d3172d Bug 620988 - preferences code uses getFolderContents but never closes the container.
r+a=gavin
2010-12-22 19:26:20 +01:00
mozilla.mano@sent.com 7d85b9f381 Bug 408125 - unable to select an unfiled bookmark or a bookmark from my toolbar as my home page in prefs. r=dietrich. 2008-03-14 12:48:01 -07:00
mozilla.mano@sent.com 1aa15b59be Bug 403263 (along with 405776, 413977, 418813) - deleting a separator in menus deletes all items preceding it. r=mak77. 2008-02-25 13:45:22 -08:00
sspitzer@mozilla.org f59aa320bc code cleanup for bug #387203: getFolderContents() returns the root result node instead of the result itself.
r=mano
2007-07-11 18:18:20 -07:00
mozilla.mano@sent.com 4c914f1ef1 Bug 381511 - Use Bookmark dialog is broken in Places. r=sspitzer. 2007-05-22 15:44:30 -07:00
mozilla.mano%sent.com 561a95674d Bug 369807 - places-based 'Use Bookmark' dialog allows setting a separator as the homepage. r=sspitzer. 2007-02-09 10:25:55 +00:00
mozilla.mano%sent.com 0d8114cb33 Bug 334451 - Places Organizer: places-list tree should not list bookmark items. This also fixes the selectBookmark dialog bustage from bug 359462. r=sspitzer. 2006-12-27 00:36:35 +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
beng%bengoodger.com 8101a0d0ac 331755 - Use Bookmark option for setting home page is broken. add a new home page selection dialog that uses places. r=annie.sullivan@gmail.com 2006-04-04 00:13:58 +00:00