1. 14 Oct, 2010 3 commits
    • Chong Yidong's avatar
      Fix 2010-10-12 change to custom-theme-set-faces. · de43f11b
      Chong Yidong authored
      * cus-face.el (custom-theme-set-faces): Call custom-push-theme
      only after checking the theme-face property.
    • Chong Yidong's avatar
      Define a cursor defface; minor face optimizations. · 4983ddea
      Chong Yidong authored
      * faces.el (face-spec-reset-face): Reset all attributes in one
      single call to set-face-attribute.
      (face-spec-match-p): Make it a defsubst.
      (frame-set-background-mode): New arg KEEP-FACE-SPECS.
      (x-create-frame-with-faces, tty-create-frame-with-faces)
      (tty-set-up-initial-frame-faces): Don't recompute face specs in
      frame-set-background-mode, since they are recomputed immediately
      afterwards in face-set-after-frame-default.
      (face-set-after-frame-default): Minor optimization.
      (cursor): Provide non-trivial defface spec.
      * custom.el (custom-theme-recalc-face): Simplify.
    • Jay Belanger's avatar
      calc-alg.el (math-var): Renamed from `var'. · a974dcf2
      Jay Belanger authored
      (math-is-polynomial, math-is-poly-rec): Replace `var' with `math-var'.
      calcalg2.el (math-var): Renamed from `var'.
      (calcFunc-table, math-scan-for-limits): Replace `var' with `math-var'.
  2. 13 Oct, 2010 6 commits
    • Glenn Morris's avatar
    • Stephen Berman's avatar
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · a1d16a7b
      Gnus developers authored
      auth.texi (GnuPG and EasyPG Assistant Configuration): Fix syntax and trim sentence.
      shr.el (shr-current-column): Remove buggy and unnecessary function.
      auth.texi: Fix up pxref/xref.
      auth.texi (GnuPG and EasyPG Assistant Configuration): Fix up the @item syntax for in-Emacs makeinfo.
      gnus-spec.el (gnus-parse-simple-format): princ doesn't really insert anything in Emacs.
      mm-decode.el (mm-shr): Allow use from non-Gnus users.
      nnimap.el (nnimap-parse-flags): Be more strict when looking for FETCH responses.
      nnimap.el, tls.el: Rip the STARTTLS stuff out of tls.el again, and just bind it directly from nnimap.
      shr.el (shr-find-fill-point): Use a filling algorithm that should probably work for CJVK text, too.
      nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
      nnimap.el (nnimap-parse-flags): Fix regexp.
      tls.el (tls-program): Remove spurious %s from openssl.
      shr.el (shr-find-fill-point): Don't inloop on indented text.
    • Juanma Barranquero's avatar
      Rename `image-library-alist' to `dynamic-library-alist'. · 2e288d54
      Juanma Barranquero authored
      * etc/NEWS: Mention `dynamic-library-alist'.
      * lisp/image.el (image-library-alist): Declare as obsolete alias.
        (image-type-available-p): Use `dynamic-library-alist'.
      * lisp/term/w32-win.el (dynamic-library-alist):
        Use instead of `image-library-alist'.
      * nt/INSTALL: Refer to `dynamic-library-alist'.
      * src/image.c (Vimage_library_alist)
        (syms_of_image) <image-library-alist>: Move to src/emacs.c and rename.
        (lookup_image_type): Use Vdynamic_library_alist.
        (Finit_image_library): Doc fix.
      * src/emacs.c (Vdynamic_library_alist)
        (syms_of_emacs) <dynamic-library-alist>: Move from src/image.c and rename.
        Doc fix.
      * src/lisp.h (Vdynamic_library_alist): Declare extern.
    • IRIE Shinsuke's avatar
      * lisp/subr.el (last): Make it faster. · 35744400
      IRIE Shinsuke authored
      Fixes: debbugs:7174
    • Rainer Orth's avatar
      * lisp/Makefile.in (compile-clean): Use `` instead of $(). · 290fe464
      Rainer Orth authored
      (Former is more portable than the latter.)
      Fixes: debbugs:7178
  3. 12 Oct, 2010 5 commits
    • Chong Yidong's avatar
      Add some default custom themes. · 2919746c
      Chong Yidong authored
      * cus-theme.el (custom-theme--listed-faces): Add cursor face.
      (describe-theme-1): Extract doc from unloaded themes.
      * custom.el (custom-theme-name-valid-p): Don't list color-themes.
      * themes/tango-theme.el:
      * themes/tango-dark-theme.el:
      * themes/wheatgrass-theme.el: New files.
    • Chong Yidong's avatar
      New interface for choosing Custom themes. · 6b09b5d1
      Chong Yidong authored
      * lisp/cus-edit.el (custom--initialize-widget-variables): New function.
      (Custom-mode): Use it.
      * lisp/cus-face.el (custom-theme-set-faces): Remove dead code.  Obey
      * lisp/cus-theme.el (describe-theme, customize-themes)
      (custom-theme-save): New commands.
      (custom-new-theme-mode-map): Bind C-x C-s.
      (custom-new-theme-mode): Use custom--initialize-widget-variables.
      (customize-create-theme): New optional arg THEME.
      (custom-theme-revert): Use it.
      (custom-theme-visit-theme): Remove dead code.
      (custom-theme-merge-theme): Use custom-available-themes.
      (custom-theme-write): Make interactive.
      (custom-theme-write): Use custom-theme-name-valid-p.
      (describe-theme-1, custom-theme-choose-revert)
      (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
      New funs.
      (custom-theme-allow-multiple-selections): New option.
      (custom-theme-choose-mode): New major mode.
      * lisp/custom.el (custom-theme-set-variables): Remove dead code.  Obey
      (custom--inhibit-theme-enable): New var.
      (provide-theme): Obey it.
      (load-theme): Replace load with manual read/eval, in order to
      check for correctness.  Use custom-theme-name-valid-p.
      (custom-theme-name-valid-p): New function.
      (custom-available-themes): Use it.
      * lisp/help-mode.el (help-theme-def, help-theme-edit): New buttons.
    • Juanma Barranquero's avatar
    • Juanma Barranquero's avatar
    • Juanma Barranquero's avatar
  4. 11 Oct, 2010 3 commits
    • Katsumi Yamaoka's avatar
      nnimap.el (gnutls-negotiate): Silence the byte compiler. · f0b7f5a8
      Katsumi Yamaoka authored
      *.el: Fix comment for declare-function.
    • Jan Djärv's avatar
      Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX. · a2e35ef5
      Jan Djärv authored
      * lisp/cus-start.el (all): ns-right-alternate-modifier is new.
      * lisp/term/ns-win.el (ns-right-alternate-modifier): New defvar.
      (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
      (mac-right-option-modifier): New alias for ns-right-option-modifier.
      * src/nsterm.m (Qleft): Declare.
      (ns_right_alternate_modifier): New variable
      (NSRightAlternateKeyMask): New define.
      (EV_MODIFIERS): Parse NSRightAlternateKeyMask if
      ns_right_alternate_modifier isn't Qleft.
      (keyDown): If ns_right_alternate_modifier isn't Qleft, use it
      as emacs modifier for NSRightAlternateKeyMask.
      (syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.
    • Chong Yidong's avatar
      More cleanups and minor fixes for Customize. · 05d22d02
      Chong Yidong authored
      * cus-edit.el (custom-face-edit-fix-value): Use
      * custom.el (custom-push-theme): Cleanup (use cond).
      (disable-theme): Recompute the saved-face property.
      (custom-theme-recalc-face): Follow face alias before setting prop.
      * custom.el (custom-fix-face-spec): New function; code moved from
      (custom-push-theme): Use it when checking if a face has been
      changed outside customize.
      (custom-available-themes): New function.
      (load-theme): Use it.
      * image.el (image-checkbox-checked, image-checkbox-unchecked): New
      variables, containing checkbox images.
      * startup.el (fancy-startup-tail):
      * wid-edit.el (checkbox): Use them.
  5. 10 Oct, 2010 4 commits
    • Dan Nicolaescu's avatar
      Declare and define in one step various mode maps. · a0310a6c
      Dan Nicolaescu authored
      * lisp/shell.el (shell-mode-map):
      * lisp/progmodes/modula2.el (m2-mode-map):
      * lisp/progmodes/inf-lisp.el (inferior-lisp-mode-map):
      * lisp/play/mpuz.el (mpuz-mode-map):
      * lisp/play/landmark.el (lm-mode-map):
      * lisp/play/decipher.el (decipher-mode-map):
      * lisp/play/5x5.el (5x5-mode-map):
      * lisp/net/telnet.el (telnet-mode-map):
      * lisp/net/quickurl.el (quickurl-list-mode-map):
      * lisp/net/mairix.el (mairix-searches-mode-map):
      * lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map):
      * lisp/net/dig.el (dig-mode-map):
      * lisp/mail/mspools.el (mspools-mode-map):
      * lisp/hexl.el (hexl-mode-map):
      * lisp/emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
      (wordstar-C-o-map, wordstar-C-q-map):
      * lisp/emacs-lisp/edebug.el (edebug-eval-mode-map):
      * lisp/emacs-lisp/chart.el (chart-map):
      * lisp/edmacro.el (edmacro-mode-map):
      * lisp/array.el (array-mode-map): Declare and define in one step.
      * lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
    • Andreas Schwab's avatar
      * Makefile.in (ELCFILES): Update. · 9386ae12
      Andreas Schwab authored
    • Dan Nicolaescu's avatar
    • Daiki Ueno's avatar
      Simplify 2010-10-09T13:27:24Z!larsi@gnus.org. · 446b12da
      Daiki Ueno authored
      * epa.el (epa-passphrase-callback-function): Display filename
      passed as the 3rd arg.
      * epa-file.el (epa-file-passphrase-callback-function): Pass
      filename to epa-passphrase-callback-function.
  6. 09 Oct, 2010 14 commits
    • Chong Yidong's avatar
      Interface improvements to cus-theme.el. · 76c16af8
      Chong Yidong authored
      * cus-edit.el (custom-face-widget-to-spec)
      (custom-face-get-current-spec, custom-face-state): New functions.
      (custom-face-set, custom-face-mark-to-save)
      (custom-face-value-create, custom-face-state-set): Use them.
      * cus-theme.el (custom-theme--listed-faces): New var.
      (customize-create-theme): Use *Custom Theme* as the buffer name.
      Set revert-buffer-function.  Optional arg BUFFER.  Insert all
      faces listed in custom-theme--listed-faces.
      (custom-theme-revert): New function.
      (custom-theme-add-variable, custom-theme-add-face): Insert at the
      bottom of the list.
      (custom-theme-write): Prompt for theme name if empty.
      (custom-theme-write-variables): Use dolist.
      (custom-theme-write-faces): Handle hidden (collapsed) widgets.
    • Alan Mackenzie's avatar
      Enhance fontification of declarators to take account of the · e15f8aaa
      Alan Mackenzie authored
      presence/absence of "typedef".
      cc-engine.el (c-forward-type): New &optional param "brace-block-too".
      (c-forward-decl-or-cast-1): cdr of return value now indicates the
      presence of either or both of a "struct"-like keyword and "typedef".
      cc-fonts.el (c-complex-decl-matchers): Remove the heuristic fontification
      of declarators which follow a "}".
      (c-font-lock-declarations): Fontify declarators according to the
      presence/absence of "typedef".
      cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable for
      (c-typedef-decl-key): New lang variable built from c-typedef-decl-kwds.
    • Lars Magne Ingebrigtsen's avatar
      (ibuffer-mode-map): Don't redefine the cursor keys, since that's too annoying. · 77aec221
      Lars Magne Ingebrigtsen authored
      Move the filter groups commands to TAB/backtab.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/lisp.el (lisp-completion-at-point): · 4c528197
      Stefan Monnier authored
      Use emacs-lisp-mode-syntax-table for the whole function.
    • Lars Magne Ingebrigtsen's avatar
    • Lars Magne Ingebrigtsen's avatar
      * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers · cf321e50
      Lars Magne Ingebrigtsen authored
      behaviour, don't bury the ibuffer buffer when visiting other
    • Nick Roberts's avatar
      (gdb-mouse-toggle-breakpoint-margin) · 4897601e
      Nick Roberts authored
      (gdb-mouse-toggle-breakpoint-fringe): Correct regexp to work when
      breakpoint number exceeds nine.
    • David Koppelman's avatar
      Fix hi-lock-mode interactions with font-lock. · c58059f2
      David Koppelman authored
      * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
      instead of font-lock-mode before adding keywords. Removed
      hi-lock-mode off code. Removed inhibit hack.
      (hi-lock-set-pattern): Only add keywords if font-lock-fontified
      non-nil; removed hook inhibit hack.
    • Chong Yidong's avatar
      More face customization cleanups. · 587faadd
      Chong Yidong authored
      * cus-edit.el (custom-commands, custom-buffer-create-internal)
      (custom-magic-value-create): Pad button tags with spaces.
      (custom-face-edit): New variable.
      (custom-face-value-create): Determine whether to use the usual
      face editor here, instead of using custom-face-selected.  Pass
      face defaults to custom-face-edit widget.
      (custom-face-selected, custom-display-unselected): Delete widgets.
      (custom-display-unselected-match): Function removed.
      (custom-face-set, custom-face-mark-to-save): Accept
      custom-face-edit widgets as the direct widget child.
      * wid-edit.el (widget--completing-widget): New var.
      (widget-default-complete): Bind it when doing completion.
      (widget-string-complete, widget-file-complete): Use it.
    • Glenn Morris's avatar
      Small simplifications for some cal-hebrew calculations. · 85d50db7
      Glenn Morris authored
      * lisp/calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
      (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
      (holiday-hebrew-misc): Small simplifications.
    • Glenn Morris's avatar
      Remove lib-src/b2m.c and b2m.pl. · 3fb78d1f
      Glenn Morris authored
      Emacs does not use Babyl files since 23.1, and you can use M-x unrmail.
      * msdos/mainmake.v2 (install): Remove b2m.
      * lisp/emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
      * lib-src/b2m.c, lib-src/b2m.pl: Remove files.
      * lib-src/Makefile.in (INSTALLABLES): Remove b2m.
      * lib-src/makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
      * doc/emacs/ack.texi (Acknowledgments): No more b2m.c.
      * admin/quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove b2m.
      * INSTALL, make-dist: Remove references to b2m.
      * Makefile.in (MAN_PAGES): Remove b2m.1.
    • Glenn Morris's avatar
      browse-url.el trivia. · a1ab97d0
      Glenn Morris authored
      * lisp/net/browse-url.el: Don't require thingatpt, term, dired,
      executable, or w3-auto when compiling.
      (dired-get-filename, term-char-mode, term-send-down, term-send-string):
      (browse-url-text-emacs): Require term.
    • Glenn Morris's avatar
      Rename another shadow.el function. · d15f9a2b
      Glenn Morris authored
      * lisp/emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
      (load-path-shadows-find): ... to this.
      (list-load-path-shadows): Update for above change.
    • Glenn Morris's avatar
  7. 08 Oct, 2010 5 commits