1. 11 Jan, 2011 2 commits
    • Stefan Monnier's avatar
      * lisp/progmodes/prolog.el: Fix up coding conventions and such. · 04380ff1
      Stefan Monnier authored
      (prolog-indent-width): Use the same default as in
      previous prolog.el rather than tab-width which depends on which buffer
      is current when the file is loaded.
      (prolog-electric-newline-flag): Only enable if electric-indent-mode
      is not available.
      (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
      (prolog-known-systems): Remove.
      (prolog-mode-syntax-table, prolog-inferior-mode-map):
      Move initialization into declaration.
      (prolog-mode-map): Move initialization into declaration.
      Remove system-specific mode-map vars, since they referred to the same
      keymap anyway.
      (prolog-mode-variables): Obey the user's preference w.r.t
      adaptive-fill-mode.  Prefer symbol-value to `eval'.
      (prolog-mode-keybindings-edit): Add compatibility bindings.
      (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
      (mercury-mode-map): New var.
      (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
      (prolog-ensure-process, prolog-process-insert-string)
      (prolog-consult-compile): Use with-current-buffer.
      (prolog-guess-fill-prefix): Simplify data flow.
      (prolog-replace-in-string): New function to use instead of
      replace-in-string.
      (prolog-enable-sicstus-sd): Don't abuse `eval'.
      (prolog-uncomment-region): Use `uncomment-region' when available.
      (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
      (prolog-int-to-char, prolog-char-to-int): New functions to use instead
      of int-to-char and char-to-int.
      (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
      04380ff1
    • Stefan Bruda's avatar
      e2019526
  2. 09 Jan, 2011 2 commits
    • Chong Yidong's avatar
      Make org-link and idlwave-help-link inherit from link face. · 12e1f328
      Chong Yidong authored
      Suggested by Joakim Verona.
      
      * lisp/org/org-faces.el (org-link):
      * lisp/progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
      12e1f328
    • Chong Yidong's avatar
      Tweaks to tool-bar for default, VC-dir, Compile, and Info. · 900503ae
      Chong Yidong authored
      * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
      from Search and add a label to Undo.
      
      * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
      inappropriate buttons and adding :vert-only tags.
      
      * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
      removal of Help tool-bar button.  Remove Undo button for space.
      
      * info.el (info-tool-bar-map): Add :vert-only tags.
      900503ae
  3. 08 Jan, 2011 2 commits
  4. 14 Dec, 2010 1 commit
    • Glenn Morris's avatar
      Tidy up some js.el requires. · ab274982
      Glenn Morris authored
      * lisp/progmodes/js.el: Doc't require font-lock, etags, or easymenu.
      (find-tag-marker-ring): Declare.
      (js-find-symbol): Require etags.
      ab274982
  5. 12 Dec, 2010 1 commit
  6. 10 Dec, 2010 1 commit
    • Stefan Monnier's avatar
      Derive from prog-mode, use derived-mode-p, and fix up various · 175069ef
      Stefan Monnier authored
      minor style issues in lisp/progmodes.
      
      * lisp/progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
      (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
      make-local-hook.
      * lisp/progmodes/sh-script.el (sh-require-final-newline): Remove.
      (sh-set-shell): Don't set require-final-newline since it's already done
      by prog-mode.
      * lisp/progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
      since we never set it.
      * lisp/progmodes/ebrowse.el (ebrowse-set-tree-indentation):
      Use read-string and standard prompt.
      * lisp/progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
      * lisp/progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
      (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
      (meta-common-mode-map): Rename from meta-mode-map.
      Remove C-m binding, which is a user preference, not mode specific.
      (meta-common-mode): New major mode; replace meta-common-initialization.
      * lisp/progmodes/js.el (js-mode): Call syntax-propertize rather than messing
      around with font-lock.
      * lisp/progmodes/etags.el (select-tags-table-mode):
      Derive from special-mode.
      * lisp/progmodes/octave-mod.el (octave-mode):
      * lisp/progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
      (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
      (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
      Let define-derived-mode do its job.
      * lisp/progmodes/cpp.el (cpp-edit-mode-map):
      Move initialization into declaration.
      (cpp-edit-mode): Use define-derived-mode.
      (cpp-edit-load): Use derived-mode-p.
      * lisp/progmodes/mixal-mode.el (mixal-mode):
      * lisp/progmodes/f90.el (f90-mode):
      * lisp/progmodes/cfengine.el (cfengine-mode): Don't bother setting
      require-final-newline since prog-mode does it already.
      * lisp/progmodes/cc-cmds.el (c-update-modeline): Use match-string.
      * lisp/progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
      * lisp/progmodes/antlr-mode.el: Require cc-mode upfront.
      (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
      the declaration.
      (antlr-directory-dependencies, antlr-show-makefile-rules):
      Use derived-mode-p.
      (antlr-language-option): Don't assume point-min==1.
      (antlr-mode): Use define-derived-mode.
      * lisp/progmodes/ada-mode.el: Use derived-mode-p.
      (ada-mode): Use define-derived-mode.
      Use hack-local-variables-hook.
      
      * lisp/progmodes/vhdl-mode.el (vhdl-mode):
      * lisp/progmodes/verilog-mode.el (verilog-mode):
      * lisp/progmodes/vera-mode.el (vera-mode):
      * lisp/progmodes/sql.el (sql-mode):
      * lisp/progmodes/scheme.el (scheme-mode):
      * lisp/progmodes/perl-mode.el (perl-mode):
      * lisp/progmodes/octave-inf.el (inferior-octave-mode):
      * lisp/progmodes/autoconf.el (autoconf-mode):
      * lisp/progmodes/m4-mode.el (m4-mode):
      * lisp/progmodes/inf-lisp.el (inferior-lisp-mode):
      * lisp/progmodes/idlwave.el (idlwave-mode):
      * lisp/progmodes/icon.el (icon-mode):
      * lisp/progmodes/idlw-help.el (idlwave-help-mode):
      * lisp/progmodes/dcl-mode.el (dcl-mode):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-mode):
      * lisp/progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
      (ebrowse-member-mode, ebrowse-electric-position-mode):
      Use define-derived-mode.
      
      * lisp/progmodes/xscheme.el (xscheme-start)
      (local-set-scheme-interaction-buffer, scheme-interaction-mode):
      * lisp/progmodes/which-func.el (which-function):
      * lisp/progmodes/vhdl-mode.el (vhdl-set-style):
      * lisp/progmodes/verilog-mode.el (verilog-set-compile-command)
      (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
      (verilog-set-define, verilog-auto-reeval-locals):
      * lisp/progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
      * lisp/progmodes/simula.el (simula-mode):
      * lisp/progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
      * lisp/progmodes/python.el (python-check, python-mode):
      * lisp/progmodes/prolog.el (prolog-mode-variables):
      * lisp/progmodes/gud.el (gud-tooltip-activate-mouse-motions):
      * lisp/progmodes/ebrowse.el (ebrowse-view-file-other-frame):
      * lisp/progmodes/delphi.el (delphi-mode):
      * lisp/progmodes/cc-styles.el (c-setup-paragraph-variables):
      * lisp/progmodes/cc-mode.el (c-basic-common-init, c-common-init)
      (c-font-lock-init): Move make-local-variable to their setq.
      
      * lisp/progmodes/xscheme.el (exit-scheme-interaction-mode)
      (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
      (xscheme-debugger-mode-p, xscheme-send-string-1):
      * lisp/progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
      (tcl-load-file, tcl-restart-with-file):
      * lisp/progmodes/ps-mode.el (ps-run-running):
      * lisp/progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
      * lisp/progmodes/js.el (js--get-all-known-symbols):
      * lisp/progmodes/inf-lisp.el (inferior-lisp-proc):
      * lisp/progmodes/idlwave.el (idlwave-beginning-of-statement)
      (idlwave-template, idlwave-update-buffer-routine-info)
      (idlwave-update-current-buffer-info)
      (idlwave-get-routine-info-from-buffers, idlwave-choose)
      (idlwave-scan-class-info, idlwave-fix-keywords)
      (idlwave-list-buffer-load-path-shadows):
      * lisp/progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
      (idlwave-toolbar-remove):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-save-and-action)
      (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
      (idlwave-shell-menu-def):
      * lisp/progmodes/idlw-complete-structtag.el
      (idlwave-prepare-structure-tag-completion):
      * lisp/progmodes/gud.el (gud-set-buffer):
      * lisp/progmodes/f90.el (f90-backslash-not-special):
      * lisp/progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
      175069ef
  7. 08 Dec, 2010 1 commit
  8. 04 Dec, 2010 1 commit
  9. 02 Dec, 2010 1 commit
    • Glenn Morris's avatar
      Small flymake changes. · bd77c2ef
      Glenn Morris authored
      * lisp/progmodes/flymake.el (flymake-check-file-limit):
      Allow nil to mean "no limit".
      (flymake-check-patch-master-file-buffer): Update for above change.
      Allow a .tex file-name extension to be optional.
      (flymake-master-tex-init): Also match \include statements.
      bd77c2ef
  10. 24 Nov, 2010 1 commit
  11. 21 Nov, 2010 4 commits
  12. 17 Nov, 2010 2 commits
  13. 16 Nov, 2010 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/octave-mod.el: Rely on elecric-*-modes. · 03f70355
      Stefan Monnier authored
      (octave-mode-map): Don't bind ;, SPC, and LF.
      (octave-auto-indent, octave-auto-newline): Remove.
      (electric-layout-rules): Declare.
      (octave-mode): Set electric-layout-rules.
      (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
      (octave-reindent-then-newline-and-indent, octave-electric-semi)
      (octave-electric-space): Remove.
      03f70355
  14. 11 Nov, 2010 2 commits
    • Stefan Monnier's avatar
      * lisp/progmodes/modula2.el: Use SMIE and skeleton. · cbf83ce9
      Stefan Monnier authored
      (m2-mode-syntax-table): (*..*) can be nested.
      Add //...\n.  Fix paren syntax.
      (m2-mode-map): Remove LF and TAB bindings.
      (m2-indent): Add safety property.
      (m2-smie-grammar): New var.
      (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
      (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
      (m2-mode): Use define-derived-mode.
      (m2-newline, m2-tab): Remove.
      (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
      (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
      (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
      (m2-import): Use define-skeleton.
      * test/indent/modula2.mod: New file.
      cbf83ce9
    • Glenn Morris's avatar
      Silence idlw*.el compilation. · e7c4fb1e
      Glenn Morris authored
      * lisp/progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
      
      * lisp/progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
      (idlwave-study-twins): Prefix dynamic local variable `name'.
      (idlwave-routine-twin-compare): Update for above change.
      
      * lisp/progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
      Prefix dynamic local variables `name', `kwd', and `link'.
      * lisp/progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
      * lisp/progmodes/idlw-complete-structtag.el
      (idlwave-complete-structure-tag-help):
      * lisp/progmodes/idlwave.el (idlwave-complete-sysvar-help)
      (idlwave-complete-sysvar-tag-help)
      (idlwave-complete-class-structure-tag-help):
      Update for above name changes.
      e7c4fb1e
  15. 10 Nov, 2010 3 commits
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      bc1d5cdf
    • Glenn Morris's avatar
      system-type related trivia. · 72bc50c0
      Glenn Morris authored
      * lisp/cedet/semantic/bovine/c.el: Test system-type with memq.
      
      * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
      No recent Emacs supports system-type `emx'.
      
      * lisp/progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
      (ada-command-separator, ada-default-prj-properties)
      (ada-find-any-references): Update for above name change.
      
      * lisp/dirtrack.el (dirtrack-directory-function)
      (dirtrack-canonicalize-function):
      * lisp/filecache.el (file-cache-completion-ignore-case)
      (file-cache-case-fold-search, file-cache-ignore-case):
      * lisp/term.el (serial-port-is-file-p): Cosmetic change.
      
      * lisp/emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
      Remove non-existent `windows-95' system-type.
      * lisp/dired.el (dired-chown-program): Remove non-existent `linux'
      system-type.
      
      * lisp/locate.el: Comment.
      72bc50c0
  16. 09 Nov, 2010 4 commits
    • 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
  17. 08 Nov, 2010 1 commit
  18. 07 Nov, 2010 4 commits
    • 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
    • Glenn Morris's avatar
      Fix typo in previos flymake change. · 81aa0dab
      Glenn Morris authored
      81aa0dab
    • 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
      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
  19. 06 Nov, 2010 3 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
    • Wilson Snyder's avatar
      * progmodes/verilog-mode.el (verilog-insert-one-definition) · 8468f78b
      Wilson Snyder authored
      (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
      AUTOINOUT for SV style multidimensional arrays, bug294.  Reported
      by Eric Mastromarchi.
      (verilog-preprocess): Use with-current-buffer and
      font-lock-fontify-buffer to cleanup style issues.
      8468f78b
  20. 03 Nov, 2010 2 commits
  21. 01 Nov, 2010 1 commit