• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/progmodes/

Lines Matching +defs:auto +defs:newline

61 ;; (setq auto-mode-alist (cons '("\\.pro\\'" . idlwave-mode) auto-mode-alist))
297 "*If non-nil then auto fill will only operate on comment lines."
301 (defcustom idlwave-auto-fill-split-string t
302 "*If non-nil then auto fill will split strings with the IDL `+' operator.
308 non-nil, since in this case code is not auto-filled."
403 (defcustom idlwave-auto-routine-info-updates
484 (defcustom idlwave-auto-write-paths t
852 ;; indented via line splitting, auto-filling or a new line creation.
1381 (defvar idlwave-fill-function 'auto-fill-function
1382 "IDL mode auto fill function.")
1547 ;; (define-key idlwave-mode-map "\r" 'idlwave-newline)
1550 (define-key idlwave-mode-map "\C-c\C-a" 'idlwave-auto-fill-mode)
1791 Like other Emacs programming modes, C-j inserts a newline and indents.
1810 \\[idlwave-auto-fill-mode] to toggle auto-fill mode for these
1812 nil, code can also be auto-filled and auto-indented.
1922 (set (make-local-variable 'require-final-newline) t)
1937 (set (make-local-variable idlwave-fill-function) 'idlwave-auto-fill)
2237 (newline-and-indent)))
2293 ;; Check to see if the line should auto wrap
2296 (funcall auto-fill-function)))))
2326 (defun idlwave-newline ()
2327 "Inserts a newline and indents the current and previous line."
2331 ;; If not in a comment and in a string then insertion of a newline
2337 (newline)
2345 ;; `indent-for-tab-command' followed by `newline-and-indent'.
2395 (newline-and-indent)
2405 (newline-and-indent)))
3353 ;; if at end of buffer add a newline (need this because
3476 (defun idlwave-auto-fill ()
3477 "Called to break lines in auto fill mode.
3481 if `idlwave-auto-fill-split-string' is non-nil."
3491 ;; Prevent actions do-auto-fill which calls indent-line-function.
3496 idlwave-auto-fill-split-string)
3500 (do-auto-fill))
3553 idlwave-auto-fill-split-string)
3560 (if idlwave-auto-fill-split-string
3569 ;; Although do-auto-fill (via indent-new-comment-line) calls
3575 (defun idlwave-auto-fill-mode (arg)
3576 "Toggle auto-fill mode for IDL mode.
3577 With arg, turn auto-fill mode on if arg is positive.
3578 In auto-fill mode, inserting a space at a column beyond `fill-column'
3585 'idlwave-auto-fill
3764 Opens a line if point is not followed by a newline modulo intervening
5185 (or (eq t idlwave-auto-routine-info-updates)
5186 (memq why idlwave-auto-routine-info-updates))
5526 (if idlwave-auto-write-paths (idlwave-write-paths))
5552 (auto-mode-alist nil))
5593 (auto-mode-alist nil))
7464 (let* ((idlwave-auto-routine-info-updates nil)
9170 ["Toggle Auto Fill" idlwave-auto-fill-mode :style toggle
9222 ["Kill auto-created buffers" idlwave-kill-autoloaded-buffers t]
9384 ;;;###autoload (add-to-list 'auto-mode-alist '("\\.[Pp][Rr][Oo]\\'" . idlwave-mode))