1. 09 Nov, 2010 10 commits
    • Stefan Monnier's avatar
      Merge from emacs-23 · d607b96b
      Stefan Monnier authored
      d607b96b
    • Eli Zaretskii's avatar
    • Sven Joachim's avatar
      message.el (message-subject-trailing-was-ask-regexp,... · 27410d0a
      Sven Joachim authored
      message.el (message-subject-trailing-was-ask-regexp, message-subject-trailing-was-regexp): Match was: in addition to was.
      27410d0a
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Replace still more end-of-line etc with line-end-position, etc. · 9b026d9f
      Glenn Morris authored
      * lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
      (nnbabyl-check-mbox): Use point-at-bol.
      
      * lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
      * lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue):
      * lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line):
      * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
      * lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter):
      Use point-at-bol and point-at-eol.
      
      * lisp/vc/emerge.el (emerge-line-number-in-buf):
      * lisp/textmodes/ispell.el (ispell-region):
      * lisp/textmodes/fill.el (current-fill-column):
      * lisp/progmodes/xscheme.el (xscheme-send-current-line):
      * lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
      * lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment):
      * lisp/progmodes/sh-script.el (sh-handle-prev-do):
      * lisp/progmodes/meta-mode.el (meta-indent-line):
      * lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
      (idlwave-in-quote):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame)
      (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
      * lisp/progmodes/fortran.el (fortran-looking-at-if-then):
      * lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
      * lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent)
      (cperl-find-pods-heres):
      * lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
      * lisp/net/quickurl.el (quickurl-list-insert):
      * lisp/net/ldap.el (ldap-search-internal):
      * lisp/net/eudc.el (eudc-expand-inline):
      * lisp/mail/sendmail.el (sendmail-send-it):
      * lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
      * lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
      (viper-brac-function):
      * lisp/calc/calc-yank.el (calc-do-grab-region):
      * lisp/calc/calc-keypd.el (calc-keypad-press):
      * lisp/term.el (term-move-columns, term-insert-spaces):
      * lisp/speedbar.el (speedbar-highlight-one-tag-line):
      * lisp/simple.el (current-word):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference)
      (Info-scroll-down):
      * lisp/hippie-exp.el (he-line-beg):
      * lisp/epa.el (epa--marked-keys):
      * lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines)
      (dired-update-file-line, dired-add-entry, dired-remove-entry)
      (dired-relist-entry):
      * lisp/buff-menu.el (Buffer-menu-buffer):
      * lisp/array.el (current-line):
      * lisp/allout.el (allout-resolve-xref)
      (allout-latex-verbatim-quote-curr-line):
      Replace yet more uses of end-of-line etc with line-end-position.
      9b026d9f
    • Glenn Morris's avatar
      ChangeLog fix. · aef8d045
      Glenn Morris authored
      aef8d045
    • Chong Yidong's avatar
      Bump version to 23.2.90. · 0f161c71
      Chong Yidong authored
      Regenerate AUTHORS, configure, and ldefs-boot.el.
      0f161c71
    • Katsumi Yamaoka's avatar
  2. 08 Nov, 2010 8 commits
  3. 07 Nov, 2010 13 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/smie.el: New package. · 7f925a67
      Stefan Monnier authored
      7f925a67
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/smie.el: Simplify the smie-rules-function return values. · 674728d4
      Stefan Monnier authored
      (smie-precs->prec2): Rename from smie-precs-precedence-table.
      (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
      (smie-prec2->grammar): Rename from smie-prec2-levels.
      (smie-grammar): Rename from smie-op-levels.
      (smie-indent--hanging-p): Rename from smie-hanging-p.
      (smie-rule-hanging-p): New alias.
      (smie-indent--bolp): Rename from smie-bolp.
      (smie-indent--hanging-p): New alias.
      (smie--token): New dynamically bound variable.
      (smie-indent--parent): New function.
      (smie-rule-parent-p): Use it; rename from smie-parent-p.
      (smie-rule-next-p): Rename from smie-next-p.
      (smie-rule-prev-p): Rename from smie-prev-p.
      (smie-rule-sibling-p, smie-rule-parent)
      (smie-indent--separator-outdent, smie-rule-separator): New functions.
      (smie-rule-separator-outdent): New var.
      (smie-indent--rule): Merge with smie-indent--column.
      (smie-indent-forward-token, smie-indent-backward-token):
      Also recognize close parens.
      (smie-indent-keyword): Don't use smie-indent--column any more.
      (smie-indent-after-keyword): Ignore closers by default.
      (smie-indent-line): Use with-demoted-errors.
      * lisp/progmodes/octave-mod.el (octave-smie-grammar):
      Rename from octave-smie-op-levels.
      (octave-smie-rules): Adjust to new behavior.
      * lisp/progmodes/prolog.el (prolog-smie-grammar):
      Rename from prolog-smie-op-levels.
      674728d4
    • Jan D's avatar
    • Jan D's avatar
      * src/xdisp.c (note_mode_line_or_margin_highlight): Initialize · 27f92be7
      Jan D authored
      Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also.
      27f92be7
    • Michael Albinus's avatar
      Fix misleading Changelog entry. · e4dbd3e2
      Michael Albinus authored
      e4dbd3e2
    • Glenn Morris's avatar
      Fix typo in previos flymake change. · 81aa0dab
      Glenn Morris authored
      81aa0dab
    • Glenn Morris's avatar
      Minor esh-util changes. · de3490e1
      Glenn Morris authored
      * lisp/eshell/esh-util.el (subst-char-in-string)
      (directory-files-and-attributes): These compatibility definitions are
      not needed on any version of Emacs since at least 21.4.
      de3490e1
    • Glenn Morris's avatar
      Replace unneeded compatibility definitions with point-at-bol, point-at-eol. · 3ba6b2ee
      Glenn Morris authored
      * lisp/progmodes/verilog-mode.el (verilog-get-beg-of-line)
      (verilog-get-end-of-line): Remove.
      (verilog-within-string, verilog-re-search-forward-substr)
      (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
      (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
      Use point-at-bol, point-at-eol.
      * lisp/progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
      Remove.
      (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
      (electric-pascal-terminate-line, pascal-set-auto-comments)
      (pascal-indent-paramlist, pascal-indent-declaration)
      (pascal-get-lineup-indent, pascal-func-completion)
      (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
      Use point-at-bol, point-at-eol.
      * lisp/progmodes/flymake.el (flymake-line-beginning-position)
      (flymake-line-end-position): Remove.
      (flymake-highlight-line): Use point-at-bol, point-at-eol.
      * lisp/eshell/esh-util.el (line-end-position, line-beginning-position):
      Remove compat definitions.
      
      * net/tramp/tramp-compat.el: Comment.
      3ba6b2ee
    • Glenn Morris's avatar
      Minor checkdoc simplifications. · 76fc02b6
      Glenn Morris authored
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      Use end-of-line N.
      (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
      Use line-end-position.
      76fc02b6
    • Glenn Morris's avatar
      Replace end-of-line, save-excursion etc with point-at-eol, point-at-bol. · e180ab9f
      Glenn Morris authored
      * lisp/mh-e/mh-seq.el (mh-read-msg-list): Use point-at-eol.
      
      * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
      (gnus-bookmark-kill-line): Use point-at-eol.
      
      * lisp/cedet/ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
      
      * lisp/emacs-lisp/chart.el (chart-zap-chars):
      * lisp/play/decipher.el (decipher-set-map):
      * lisp/progmodes/ada-mode.el (ada-get-current-indent)
      (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
      * lisp/progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
      * lisp/progmodes/ada-xref.el (ada-initialize-runtime-library)
      (ada-get-all-references):
      * lisp/progmodes/cperl-mode.el (cperl-electric-paren)
      (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
      (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
      (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
      (cperl-word-at-point-hard):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-move-or-history)
      (idlwave-shell-filename-string, idlwave-shell-batch-command)
      (idlwave-shell-display-line):
      * lisp/progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
      (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
      * lisp/progmodes/js.el (js--re-search-forward-inner)
      (js--re-search-backward-inner):
      * lisp/progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
      (vhdl-fix-clause, vhdl-compose-configuration-architecture):
      * lisp/progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
      * lisp/textmodes/flyspell.el (flyspell-process-localwords):
      * lisp/textmodes/ispell.el (ispell-buffer-local-parsing)
      (ispell-buffer-local-dict, ispell-buffer-local-words):
      Use point-at-bol and point-at-eol.
      e180ab9f
    • Katsumi Yamaoka's avatar
    • Glenn Morris's avatar
      Replace more speedbar uses of end-of-line etc with line-end-position. · 26f097bf
      Glenn Morris authored
      * lisp/speedbar.el (speedbar-generic-item-info)
      (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
      (speedbar-add-indicator, speedbar-check-vc-this-line)
      (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
      (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
      Replace more uses of end-of-line etc with line-end-position.
      26f097bf
    • Gnus developers's avatar
      gnus-int.el, nnimap.el, nnir.el: More improvements to thread-referral. · 4ddab346
      Gnus developers authored
      message.el (message-send-mail): Don't insert courtesy messages if the message already has List-Post and List-ID messages.
      gnus-ems.el (gnus-put-image): Use a blank text as the insertion string to avoid making the From headers syntactically invalid.
      4ddab346
  4. 06 Nov, 2010 9 commits
    • Glenn Morris's avatar
      Use line-end-position rather than end-of-line, etc. · 5ed619e0
      Glenn Morris authored
      * textmodes/texnfo-upd.el (texinfo-start-menu-description)
      (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
      (texinfo-delete-existing-pointers, texinfo-find-pointer)
      (texinfo-clean-up-node-line, texinfo-insert-node-lines)
      (texinfo-multiple-files-update):
      * textmodes/table.el (table--probe-cell-left-up)
      (table--probe-cell-right-bottom):
      * textmodes/picture.el (picture-tab-search):
      * textmodes/page-ext.el (pages-copy-header-and-position)
      (pages-directory-for-addresses):
      * progmodes/vera-mode.el (vera-get-offset):
      * progmodes/simula.el (simula-calculate-indent):
      * progmodes/python.el (python-pdbtrack-overlay-arrow):
      * progmodes/prolog.el (end-of-prolog-clause):
      * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
      * progmodes/icon.el (indent-icon-exp):
      * progmodes/etags.el (tag-re-match-p):
      * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
      * progmodes/ebnf2ps.el (ebnf-begin-file):
      * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-save-local-variable):
      * play/life.el (life-setup):
      * play/gametree.el (gametree-looking-at-ply):
      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * mail/sendmail.el (mail-mode-auto-fill):
      * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
      * emacs-lisp/edebug.el (edebug-overlay-arrow):
      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
      * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
      (woman-tab-to-tab-stop, WoMan-warn-ignored):
      * type-break.el (type-break-file-keystroke-count):
      * term.el (term-replace-by-expanded-history-before-point)
      (term-skip-prompt, term-extract-string):
      * speedbar.el (speedbar-edit-line, speedbar-expand-line)
      (speedbar-contract-line, speedbar-toggle-line-expansion)
      (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
      (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
      * sort.el (sort-skip-fields):
      * skeleton.el (skeleton-internal-list):
      * simple.el (line-move-finish, line-move-to-column):
      * shell.el (shell-forward-command):
      * misc.el (copy-from-above-command):
      * makesum.el (double-column):
      * ebuff-menu.el (electric-buffer-update-highlight):
      * dired.el (dired-move-to-end-of-filename):
      * dframe.el (dframe-popup-kludge):
      * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
      * arc-mode.el (archive-get-lineno):
      Use line-end-position and line-beginning-position.
      
      * net/ange-ftp.el, progmodes/hideif.el, reposition.el:
      Same, but only in comments.
      5ed619e0
    • Glenn Morris's avatar
      Minor idlwave change. · e2a9c0bc
      Glenn Morris authored
      * lisp/progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
      (idlwave-study-twins): Prefix dynamic local `class'.
      (idlwave-routine-twin-compare): Update for above name change.
      e2a9c0bc
    • Glenn Morris's avatar
      Minor eieio-comp changes. · 4e44448f
      Glenn Morris authored
      * lisp/emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
      Use boundp tests to silence compiler.  Update for changed name of
      bytecomp-filename variable.
      4e44448f
    • Glenn Morris's avatar
      Silence viper-cmd compilation. · 8f6c3eac
      Glenn Morris authored
      * lisp/emulation/viper-cmd.el (viper-read-string-with-history):
      Prefix dynamic local `initial'.
      (viper-minibuffer-standard-hook): Update for above name change.
      8f6c3eac
    • Glenn Morris's avatar
      Silence elint compilation. · 79d1dabe
      Glenn Morris authored
      * lisp/emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
      (elint-init-form): Update for above name change.
      79d1dabe
    • Glenn Morris's avatar
      Silence gnus-art compilation. · c497474b
      Glenn Morris authored
      * lisp/gnus/gnus-art.el (gnus-treat-article): Give dynamic local variables
      `condition', `type', `length' a prefix.
      (gnus-treat-predicate): Update for above name changes.
      c497474b
    • Glenn Morris's avatar
      Silence mail-extr compilation. · 0e4bb7f0
      Glenn Morris authored
      * lisp/mail/mail-extr.el (mail-extract-address-components): Give dynamic
      local variables `cbeg' and `cend' a prefix.
      (mail-extr-voodoo): Update for above name change.
      0e4bb7f0
    • Glenn Morris's avatar
      Silence reftex compilation. · c8f3bf36
      Glenn Morris authored
      * lisp/textmodes/reftex-toc.el (reftex-toc-do-promote)
      (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
      (reftex-toc-promote-action): Doc fix.
      
      * lisp/textmodes/reftex-sel.el (reftex-select-item): Give local variables
      `prompt', `data' a prefix.
      (reftex-select-post-command-hook, reftex-select-callback)
      (reftex-select-mouse-accept, reftex-select-read-cite):
      Update for above name changes.
      
      * lisp/textmodes/reftex-ref.el (reftex-reference): Rename local variable
      `refstyle' to reftex-refstyle.
      (reftex-offer-label-menu): Update for above name change.
      * lisp/textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
      `refstyle' name change.
      c8f3bf36
    • Glenn Morris's avatar
      Minor emerge changes. · b05fde66
      Glenn Morris authored
      * lisp/vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
      with with-current-buffer.
      (diff, template): Give dynamic local variables a prefix.
      (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
      (emerge-line-number-in-buf): Update for above name change.
      (emerge-combine-versions-internal): Rename local `template' to
      emerge-combine-template.
      (emerge-combine-versions-edit): Update for above name change.
      b05fde66