1. 23 Mar, 2010 4 commits
    • Juri Linkov's avatar
      * replace.el (occur-engine-line): Add optional arg `keep-props'. · 53e87c57
      Juri Linkov authored
      (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
    • Juri Linkov's avatar
      * replace.el (occur-accumulate-lines, occur-engine): · f14d1172
      Juri Linkov authored
      Use `occur-engine-line' instead of duplicate code.
      (occur-engine-line): New function created from duplicate code
      in `occur-accumulate-lines' and `occur-engine'.
    • Juri Linkov's avatar
      * finder.el: Remove TODO tasks. · 75a3ff20
      Juri Linkov authored
      * info.el (Info-finder-find-node): Add node "all"
      with all package info.  Handle a list of multiple keywords
      separated by comma.
      (info-finder): In interactive use with a prefix argument,
      use `completing-read-multiple' to read a list of keywords
      separated by comma.
    • Stefan Monnier's avatar
      Add a new completion style `substring'. · 00278747
      Stefan Monnier authored
      * minibuffer.el (completion-basic--pattern): New function.
      (completion-basic-try-completion, completion-basic-all-completions): Use it.
      (completion-substring-all-completions): New functions.
      (completion-styles-alist): New style `substring'.
  2. 22 Mar, 2010 3 commits
  3. 21 Mar, 2010 2 commits
  4. 20 Mar, 2010 5 commits
  5. 19 Mar, 2010 5 commits
    • Juanma Barranquero's avatar
    • Dan Nicolaescu's avatar
    • Dan Nicolaescu's avatar
      Add special markup processing for commit logs. · 09158997
      Dan Nicolaescu authored
      * log-edit.el (log-edit-extra-flags): New variable.
      (log-edit): Add new argument MODE.  Use that mode when non-nil
      instead of the log-view-mode.
      (log-view-process-buffer): New function.
      * vc.el: Document that the checkin method takes optional
      arguments.  Document new backend specific method: log-view-mode.
      (vc-default-log-edit-mode): New function.
      (vc-checkin): Use a backend specific log-view-mode.
      Pass extra arguments to the checkin method.
      (vc-modify-change-comment): Pass a dummy extra argument.
      * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
      (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
      (vc-finish-logentry): Process the log buffer before passing it
      down.  Pass log-edit-extra-flags.
      * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
      (log-edit-extra-flags, log-edit-before-checkin-process): New declarations.
      * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
      (log-edit-extra-flags, log-edit-before-checkin-process): New declarations.
      (vc-hg-log-edit-mode): New derived mode.
      * vc-arch.el (vc-arch-checkin):
      * vc-cvs.el (vc-cvs-checkin):
      * vc-git.el (vc-git-checkin):
      * vc-mtn.el (vc-mtn-checkin):
      * vc-rcs.el (vc-rcs-checkin):
      * vc-sccs.el (vc-sccs-checkin):
      * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      Stop message.el from loading about 40 libraries it doesn't always need. · aa8f8277
      Glenn Morris authored
      The general approach is to autoload rather than require, and to
      require in the specific functions rather than the file.  (Bug#5642)
      * url/url.el: Move mailcap require earlier in the file.
      * gnus/gmm-utils.el: Don't require wid-edit.
      (widget-create-child-value, widget-convert, widget-default-get):
      * gnus/gnus-util.el: Don't require time-date, netrc.
      (message-fetch-field, gnus-group-name-decode): Declare rather than
      (gnus-fetch-field): Require message.
      (gnus-decode-newsgroups): Require gnus-group.
      * gnus/ietf-drums.el: Don't require time-date.
      * gnus/message.el: Don't require hashcash, canlock, ecomplete.
      Do require mail-utils.  Require nnheader only when compiling.
      (smtpmail-default-smtp-server): Remove declaration.
      (message-send-mail-function): Check smtpmail-default-smtp-server
      is bound rather than requiring smtpmail.
      (message-auto-save-directory, message-insert-signature): Use
      expand-file-name rather than nnheader-concat.
      (nnheader-insert-file-contents): Autoload.
      (hashcash-wait-async): Declare.
      (message-send-mail): Only call gnus-setup-posting-charset if
      gnus-group-posting-charset-alist is bound.  Require hashcash if needed.
      (message-send-mail-with-sendmail): Require sendmail.
      (canlock-password, canlock-password-for-verify): Declare.
      (message-canlock-password): Require canlock.
      (nnheader-get-report): Autoload.
      (gnus-setup-posting-charset): Declare.
      (message-send-news): Require gnus-msg.
      (message-make-references, message-make-in-reply-to): Use mail-header-id
      rather than the alias mail-header-message-id.
      (ecomplete-add-item, ecomplete-save): Declare.
      (message-put-addresses-in-ecomplete): Require ecomplete.
      (ecomplete-display-matches): Autoload.
      * gnus/mm-decode.el: Don't require mailcap, gnus-util.
      (gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
      (message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
      (mailcap-mime-extensions): Declare.
      * gnus/mm-encode.el: Don't require mailcap.
      (mailcap-extension-to-mime): Autoload.
      * gnus/mml-sec.el: Don't require password-cache.
      * gnus/mml.el (gnus-setup-posting-charset): Declare rather than autoload.
      (mailcap-parse-mimetypes, mailcap-mime-types): Declare.
      (mml-minibuffer-read-type): Require mailcap.
      (mml-preview): Require gnus-msg.
      * gnus/mml1991.el: Require password-cache.
      (password-cache-expiry): Remove declaration.
      * gnus/mml2015.el: Require password-cache.
      (password-cache-expiry): Remove declaration.
      * gnus/nneething.el (mailcap): Require mailcap.
      * gnus/nnheader.el: (declare-function): Add compatibility stub.
      (message-remove-header): Declare rather than autoload.
      (nnheader-replace-header): Require message.
      * gnus/nnimap.el (declare-function): Add compatibility stub.
      (netrc-parse, netrc-machine-user-or-password): Declare.
      (nnimap-open-connection): Require netrc.
      * gnus/nntp.el (declare-function): Add compatibility stub.
      (netrc-parse, netrc-machine, netrc-get): Declare.
      (nntp-send-authinfo): Require netrc.
      * gnus/rfc2047.el: Don't require qp.
      (quoted-printable-encode-region, quoted-printable-decode-string):
      * gnus/sieve-mode.el: Don't require easymenu.
      (easy-menu-add-item): Autoload it.
      * gnus/spam-stat.el (time-to-number-of-days): Autoload it.
      * password-cache.el (password-cache, password-cache-expiry):
  6. 18 Mar, 2010 7 commits
  7. 16 Mar, 2010 1 commit
  8. 15 Mar, 2010 1 commit
  9. 14 Mar, 2010 2 commits
    • Juri Linkov's avatar
      Add finder unknown keywords. · 57938a79
      Juri Linkov authored
      * finder.el (finder-unknown-keywords): New function.
      * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
      to create a Finder node with unknown keywords.
    • Juri Linkov's avatar
      Fix keywords. · 88f4758e
      Juri Linkov authored
      * finder.el (finder-compile-keywords): Replace `princ' with
      `prin1' on a list of symbols interned from keyword strings.
      * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
      a comma, then split keywords using a comma and optional whitespace.
      Otherwise, split by whitespace.
      * complete.el:
      * face-remap.el:
      * log-view.el:
      * net/hmac-def.el:
      * net/hmac-md5.el:
      * net/netrc.el:
      * progmodes/mixal-mode.el: Fix keywords.
  10. 13 Mar, 2010 1 commit
  11. 12 Mar, 2010 7 commits
    • Chong Yidong's avatar
      Allow using list-colors-display to set colors in the Color widget. · 6f320937
      Chong Yidong authored
      * facemenu.el (list-colors-display, list-colors-print): New arg
      callback.  Use it to allow selecting colors.
      * wid-edit.el (widget-image-insert): Insert image prop even if the
      current display is non-graphic.
      (widget-field-value-set): New fun.
      (editable-field): Use it.
      (widget-field-value-get): Clean up unused var.
      (widget-color-value-create, widget-color--choose-action): New
      funs.  Allow using list-colors-display to choose color.
    • Chong Yidong's avatar
      Improvements to the Custom interface. · 647f9993
      Chong Yidong authored
      * cus-edit.el: Resort topmost custom groups.
      (custom-buffer-sort-alphabetically): Default to t.
      (customize-apropos): Use apropos-parse-pattern.
      (custom-search-field): New var.
      (custom-buffer-create-internal): Add custom-apropos search field.
      (custom-add-parent-links): Don't display parent doc.
      (custom-group-value-create): Don't sort top-level custom group.
      (custom-magic-value-create): Show visibility button before option
      (custom-variable-state): New fun, from custom-variable-state-set.
      (custom-variable-state-set): Use it.
      (custom-group-value-create): Hide options with standard values
      using the :hidden-states property.  Use progress reporter.
      (custom-show): Simplify.
      (custom-visibility): Disable images by default.
      (custom-variable): New property :hidden-states.
      (custom-variable-value-create): Enable images for
      custom-visibility widgets.  Use :hidden-states property to
      determine initial visibility.
      * wid-edit.el (widget-image-find): Give images center ascent.
      (visibility): Add :on-image and :off-image properties.
      (widget-visibility-value-create): Use them.
    • Chong Yidong's avatar
      Fix last change to use existing comm Custom group instead of `net'. · 26f4b8ab
      Chong Yidong authored
      * cus-edit.el (net): Remove group.
      (comm): Promote to top-level group.
      * url/url-vars.el (url):
      * net/browse-url.el (browse-url):
      * net/xesam.el (xesam):
      * net/tramp.el (tramp):
      * net/goto-addr.el (goto-address):
      * net/ange-ftp.el (ange-ftp): Put in comm group.
    • Chong Yidong's avatar
      Reorganize Custom groups. · eba5b4dd
      Chong Yidong authored
      * cus-edit.el (processes): Remove from development group.
      (oop, hypermedia): Delete group.
      (net): New group.
      * url/url-vars.el (url):
      * net/browse-url.el (browse-url):
      * net/xesam.el (xesam):
      * net/tramp.el (tramp):
      * net/goto-addr.el (goto-address):
      * net/ange-ftp.el (ange-ftp): Put in net group.
      * view.el (view): Remove from editing group.
      * uniquify.el (uniquify): Put in files group.
      * net/browse-url.el (browse-url):
      * ps-print.el (postscript): Put in external group.
      * cus-edit.el (outlines):
      * textmodes/text-mode.el (text-mode-hook):
      * textmodes/table.el (table):
      * textmodes/picture.el (picture):
      * outline.el (outlines): Put in wp group.
      * nxml/nxml-mode.el (nxml): Remove from wp group.
      * net/tramp-imap.el (tramp-imap): Put in tramp group.
      * mail/metamail.el (metamail): Remove from hypermedia group.
      * cus-edit.el (abbrev):
      * whitespace.el (whitespace):
      * vcursor.el (vcursor):
      * reveal.el (reveal):
      * hl-line.el (hl-line): Put in convenience group.
      * epg-config.el (epg): Put in data group.
      * emulation/pc-select.el (pc-select): Put in emulations group.
      * calculator.el (calculator): Put in applications group.
      * org/org.el (org): Remove from hypermedia group.
    • Dan Nicolaescu's avatar
      Fix typo. · 92e0131a
      Dan Nicolaescu authored
    • Dan Nicolaescu's avatar
      Add .dir-locals.el support for file-less buffers. · 8117868f
      Dan Nicolaescu authored
      * files.el (hack-local-variables): Split out code to apply local
      variable settings ...
      (hack-local-variables-apply): ... here.  New function.
      (hack-dir-local-variables): Use the default directory for when the
      buffer does not have an associated file.
      (hack-dir-local-variables-non-file-buffer): New function.
      * diff-mode.el (diff-mode):
      * vc-annotate.el (vc-annotate-mode):
      * vc-dir.el (vc-dir-mode):
      * log-edit.el (log-edit-mode):
      * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
    • Dan Nicolaescu's avatar
      Add support for shelving snapshots and for showing shelves. · 855a2294
      Dan Nicolaescu authored
      * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
      (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
      New functions.
      (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
      (vc-bzr-extra-menu-map): Map them.
  12. 11 Mar, 2010 2 commits