1. 27 Jun, 2010 1 commit
    • Chong Yidong's avatar
      Change default-frame-alist and menu/tool-bar-mode interaction (Bug#2249). · 6431f2e6
      Chong Yidong authored
      Don't add entries for `menu-bar-lines' and `tool-bar-lines' to
      `default-frame-alist' and `initial-frame-alist' at startup.
      Instead, use X resources to update the `menu-bar-mode' and
      `tool-bar-mode' variables at startup, and use them as defaults during
      frame creation.
      
      * lisp/frame.el (frame-notice-user-settings): Don't change
      default-frame-alist based on menu-bar-mode and tool-bar-mode, or
      vice versa.
      
      * lisp/menu-bar.el (menu-bar-mode):
      * lisp/tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
      Set init-value to t.
      
      * lisp/startup.el (command-line): Use X resources to set the value of
      menu-bar-mode and tool-bar-mode, before calling frame-initialize.
      
      * src/frame.c (Vmenu_bar_mode, Vtool_bar_mode): New vars.
      
      * src/w32fns.c (Fx_create_frame):
      * src/nsfns.m (Fx_create_frame): Likewise.
      
      * src/xfns.c (Fx_create_frame): Don't consult X resouces when setting
      menu-bar-lines and tool-bar-lines.  Use menu-bar-mode and
      tool-bar-mode, which are now set using these X resources at
      startup, to determine the defaults.
      6431f2e6
  2. 26 Jun, 2010 5 commits
  3. 25 Jun, 2010 6 commits
  4. 24 Jun, 2010 5 commits
  5. 22 Jun, 2010 7 commits
  6. 21 Jun, 2010 3 commits
    • Karl Fogel's avatar
      * lisp/simple.el (compose-mail): Fix doc string to refer to · 7f0b7b3e
      Karl Fogel authored
        `compose-mail-user-agent-warnings', instead of to the
        nonexistent `compose-mail-check-user-agent'.
      7f0b7b3e
    • Alan Mackenzie's avatar
      Fix an indentation bug: · 43a91810
      Alan Mackenzie authored
      progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
      (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
      of existing values.
      
      progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
      (c-clear->-pair-props-if-match-before): now return t when they've cleared
      properties, nil otherwise.
      (c-before-change-check-<>-operators): Set c-new-beg/end correctly by
      taking account of the existing value.
      
      progmodes/cc-defs.el (c-clear-char-property-with-value-function): Fix
      this to clear the property rather than overwriting it with nil.
      43a91810
    • Glenn Morris's avatar
      b75ddb76
  7. 20 Jun, 2010 2 commits
    • Eli Zaretskii's avatar
      Avoid recentering when lines differ in their height. · 70c4cfbb
      Eli Zaretskii authored
       xdisp.c (try_scrolling): When scroll-conservatively is set to
       most-positive-fixnum, be extra accurate when scrolling window
       start, to avoid missing the cursor line.
      70c4cfbb
    • Chong Yidong's avatar
      Tweaks to package list UI. · 8adb4c33
      Chong Yidong authored
      * help-mode.el (help-package): New button type.
      
      * emacs-lisp/package.el (package-print-package): Add link to
      package description via describe-package.
      (describe-package-1): List package requirements.  Add button to
      perform installation.
      (package-menu-describe-package): New command.
      8adb4c33
  8. 19 Jun, 2010 4 commits
  9. 18 Jun, 2010 1 commit
  10. 17 Jun, 2010 6 commits
    • Juri Linkov's avatar
      Fix revert-buffer functionality of Help mode and Info. · dbd6da78
      Juri Linkov authored
      * lisp/help-mode.el (help-mode): Set buffer-local variable
      revert-buffer-function to help-mode-revert-buffer.
      (help-mode-revert-buffer): New function.
      
      * lisp/info.el (Info-revert-find-node): Check for major-mode Info-mode
      before popping to "*info*" (like in other Info functions).
      Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
      old-history-forward.  Pop to old-buffer-name or "*info*" to
      recreate the killed buffer.  Set Info-history-forward from
      old-history-forward.
      (Info-breadcrumbs-depth): Add :group and :version.
      dbd6da78
    • Dan Nicolaescu's avatar
    • Agustín Martín's avatar
      ispell.el (ispell-aspell-find-dictionary): Fix regexp for full xx_YY search. · 26508c03
      Agustín Martín authored
      This is needed for languages like Portuguese where there are aspell dicts
      for pt_BR and pt_PT, not for plain pt. If we strip country part 
      `ispell-aspell-find-dictionary' does not find dicts for portuguese.
      26508c03
    • Juanma Barranquero's avatar
    • Juanma Barranquero's avatar
    • Chong Yidong's avatar
      Merge package.el, written by Tom Tromey <tromey@redhat.com>. · 44198b6e
      Chong Yidong authored
      Changes relative to version 0.9 of package.el are listed below:
      
      * emacs-lisp/package-x.el: New file.  Package uploading
      functionality split out from package.el.
      
      * emacs-lisp/package.el (package-archive-base): Point to
      elpa.gnu.org.
      (package-enable, package-load-list): New defcustoms.
      (package-user-dir, package-directory-list): Turn into defcustoms.
      Don't include package-user-dir in package-directory-list.
      (package--builtins-base): Don't include Emacs as a "package".
      (package-subdirectory-regexp): New var.
      (package-load-all-descriptors, package-compute-transaction)
      (package-download-transaction): Obey package-load-list.
      (package-activate-1): Rename from package-do-activate.
      (package-list-packages-internal): Check package-load-list.
      (package-load-descriptor, package-generate-autoloads)
      (package-unpack, package-unpack-single)
      (package--read-archive-file, package-delete): Use
      expand-file-name.
      
      * startup.el (command-line): Load packages after reading init
      file.
      44198b6e