1. 16 Jan, 2011 4 commits
    • Glenn Morris's avatar
      * src/xsettings.c: Comment fix. · 4ff155dd
      Glenn Morris authored
      4ff155dd
    • Glenn Morris's avatar
    • Kevin Ryde's avatar
      info-xref.el Version 3. · 444ee8dd
      Kevin Ryde authored
      * lisp/info-xref.el (info-xref-check, info-xref-check-all): Move
      commentary details into docstrings for better visibility.
      Use compilation-mode for the results buffer.
      (info-xref-output, info-xref-output-error, info-xref-with-output)
      (info-xref-filename, info-xref-in-progress):
      New internals for this.
      (info-xref-check-list, info-xref-check-buffer)
      (info-xref-check-all-custom): Use those.
      (info-xref-output-buffer): Rename from info-xref-results-buffer.
      (info-xref-output-heading): Rename from info-xref-filename-heading.
      (info-xref-good, info-xref-bad, info-xref-xfile-alist)
      (info-xref-filename-heading): Move to output managing section.
      (info-xref-docstrings): New command checking "Info node	`(foo)Bar'"
      (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
      (info-xref-subfile-p): Move to generic section with those two.
      (info-xref-check-node): New function split from
      info-xref-check-buffer, shared by info-xref-docstrings.
      (info-xref-goto-node-p): Move to a checking section with that func.
      (info-xref-unavail): New counter.
      (info-xref-check-node): Use it.
      (info-xref-with-output): Show count of unavailables at end of output.
      (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
      symlinks.  Exclude .texi files.	 Exclude Emacs backup files.
      (info-xref-check-all-custom): Fix quietening viper-mode and
      gnus-registry-install -- use setq not let so as not to unbind after load.
      
      Fixes: debbugs:7611
      444ee8dd
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-abort): Don't quit if search has · d4119912
      Juri Linkov authored
      an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
      d4119912
  2. 15 Jan, 2011 16 commits
  3. 14 Jan, 2011 14 commits
  4. 13 Jan, 2011 6 commits
    • Stefan Monnier's avatar
      Use run-mode-hooks for major mode hooks. · 4d789d84
      Stefan Monnier authored
      * lisp/textmodes/reftex-toc.el (reftex-toc-mode-map):
      Rename from reftex-toc-map.
      (reftex-toc-mode): Use define-derived-mode.
      * lisp/textmodes/reftex-sel.el (reftex-select-shared-map): New map.
      (reftex-select-label-mode-map, reftex-select-bib-mode-map):
      Rename from reftex-select-(label|bib)-map.  Move init into declaration.
      (reftex-select-label-mode, reftex-select-bib-mode):
      Use define-derived-mode.
      * lisp/textmodes/reftex-index.el (reftex-index-phrases-mode-map)
      (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
      Move init into delcaration.
      (reftex-index-mode, reftex-index-phrases-mode):
      Use define-derived-mode.
      * lisp/speedbar.el (speedbar-mode-syntax-table): Renaqme from
      speedbar-syntax-table.  Move init into declaration.
      (speedbar-mode-map): Rename from speedbar-key-map.
      Move init into declaration.
      (speedbar-file-key-map): Move init into declaration.
      (speedbar-mode): Use define-derived-mode.
      * lisp/recentf.el (recentf-mode): Don't run hook (or message) redundantly.
      * lisp/net/rcirc.el (rcirc-mode): Use run-mode-hooks.
      * lisp/emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
      (chart-face-list): Move initialization into declaration.
      (chart-mode): Use define-derived-mode.
      * lisp/calculator.el (calculator-mode-map): Move init into declaration.
      (calculator-mode): Use define-derived-mode.
      * lisp/cedet/srecode/srt-mode.el (srecode-template-mode):
      Use define-derived-mode.
      * lisp/cedet/semantic/symref/list.el (semantic-symref-results-mode):
      Use run-mode-hooks.
      * lisp/erc/erc.el (erc-mode):
      * lisp/erc/erc-dcc.el (erc-dcc-chat-mode): Use define-derived-mode.
      * lisp/org/org-remember.el (org-remember-mode):
      * lisp/org/org-capture.el (org-capture-mode): Don't run hook redundantly.
      
      Fixes: debbugs:513
      4d789d84
    • Stefan Monnier's avatar
      * lisp/mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code · b49a2dbf
      Stefan Monnier authored
      work for nested comments.
      b49a2dbf
    • Stefan Monnier's avatar
      db5d03ea
    • Stefan Monnier's avatar
      * lisp/progmodes/prolog.el: Use syntax-propertize. Further code cleanup. · dbed16aa
      Stefan Monnier authored
      (prolog-use-prolog-tokenizer-flag): Change default when
      syntax-propertize can be used.
      (prolog-syntax-propertize-function): New var.
      (prolog-mode-variables): Move make-local-variable into `set'.
      Don't make comment-column local since we don't set it.
      Set comment-add (as it was in previous prolog.el).  Use dolist.
      Set syntax-propertize-function.
      (prolog-mode, prolog-inferior-mode):
      Call prolog(-inferior)-menu directly, not through the mode-hook.
      (prolog-buffer-module, prolog-indent-level)
      (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
      (prolog-comment-limits, prolog-goto-comment-column):
      Use line-(end|beginning)-position.
      (prolog-build-prolog-command): Tighten up regexp.
      (prolog-consult-compile): Move make-local-variable into `set'.
      (prolog-consult-compile-filter, prolog-goto-next-paren)
      (prolog-help-on-predicate, prolog-clause-info)
      (prolog-mark-predicate): Don't let+setq.
      (prolog-indent-line): Use indent-line-to.
      Only call prolog-goto-comment-column if necessary.
      (prolog-indent-level): Use bobp.
      (prolog-first-pos-on-line): Remove, not used any more.
      (prolog-in-string-or-comment): Use syntax-ppss if available.
      (prolog-help-on-predicate): Use read-string.
      (prolog-goto-predicate-info): Simplify.
      (prolog-read-predicate): Use `default' rather than `initial'.
      (prolog-temporary-file): Use make-temp-file to close a security hole.
      (prolog-toggle-sicstus-sd): New command.
      (prolog-electric-underscore, prolog-variables-to-anonymous):
      Use dynamic-scoping as it was meant.
      (prolog-menu): Move menu definitions to top-level.
      Use a toggle-button for Sicstus's source debugger.
      Change "Code" to the more usual "Prolog", and hence change "Prolog"
      to "System".
      (prolog-inferior-menu): Reuse prolog-menu's help menu.
      Move other menu definition to top-level.
      dbed16aa
    • Tassilo Horn's avatar
      (doc-view-initiate-display): Fall back to normal mode when · 1281bd51
      Tassilo Horn authored
      doc-view-mode cannot be enabled, also when extracting the document
      text into a separate buffer (bug#6446).
      1281bd51
    • Tassilo Horn's avatar
      * doc-view.el (doc-view-open-text): Use meaningful text buffer · 5b355315
      Tassilo Horn authored
      name.  Keep original document's directory as default-directory
      (bug#6446).
      5b355315