emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/term.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/term.el
Date: Fri, 17 Jun 2005 10:37:55 -0400

Index: emacs/lisp/term.el
diff -c emacs/lisp/term.el:1.71 emacs/lisp/term.el:1.72
*** emacs/lisp/term.el:1.71     Thu Jun 16 16:11:46 2005
--- emacs/lisp/term.el  Fri Jun 17 14:37:55 2005
***************
*** 570,577 ****
    "Function that submits old text in term mode.
  This function is called when return is typed while the point is in old text.
  It returns the text to be submitted as process input.  The default is
! term-get-old-input-default, which grabs the current line, and strips off
! leading text matching term-prompt-regexp")
  
  (defvar term-dynamic-complete-functions
    '(term-replace-by-expanded-history term-dynamic-complete-filename)
--- 570,577 ----
    "Function that submits old text in term mode.
  This function is called when return is typed while the point is in old text.
  It returns the text to be submitted as process input.  The default is
! `term-get-old-input-default', which grabs the current line, and strips off
! leading text matching `term-prompt-regexp'.")
  
  (defvar term-dynamic-complete-functions
    '(term-replace-by-expanded-history term-dynamic-complete-filename)
***************
*** 585,591 ****
    (function (lambda (str) (not (string-match "\\`\\s *\\'" str))))
    "Predicate for filtering additions to input history.
  Only inputs answering true to this function are saved on the input
! history list.  Default is to save anything that isn't all whitespace")
  
  (defvar term-input-filter-functions '()
    "Functions to call before input is sent to the process.
--- 585,591 ----
    (function (lambda (str) (not (string-match "\\`\\s *\\'" str))))
    "Predicate for filtering additions to input history.
  Only inputs answering true to this function are saved on the input
! history list.  Default is to save anything that isn't all whitespace.")
  
  (defvar term-input-filter-functions '()
    "Functions to call before input is sent to the process.
***************
*** 595,603 ****
  
  (defvar term-input-sender (function term-simple-send)
    "Function to actually send to PROCESS the STRING submitted by user.
! Usually this is just 'term-simple-send, but if your mode needs to
  massage the input string, this is your hook.  This is called from
! the user command term-send-input.  `term-simple-send' just sends
  the string plus a newline.")
  
  (defcustom term-eol-on-send t
--- 595,603 ----
  
  (defvar term-input-sender (function term-simple-send)
    "Function to actually send to PROCESS the STRING submitted by user.
! Usually this is just `term-simple-send', but if your mode needs to
  massage the input string, this is your hook.  This is called from
! the user command `term-send-input'.  `term-simple-send' just sends
  the string plus a newline.")
  
  (defcustom term-eol-on-send t
***************
*** 607,622 ****
    :group 'term)
  
  (defcustom term-mode-hook '()
!   "Called upon entry into term-mode
  This is run before the process is cranked up."
    :type 'hook
    :group 'term)
  
  (defcustom term-exec-hook '()
!   "Called each time a process is exec'd by term-exec.
  This is called after the process is cranked up.  It is useful for things that
! must be done each time a process is executed in a term-mode buffer (e.g.,
! \(process-kill-without-query)).  In contrast, the term-mode-hook is only
  executed once when the buffer is created."
    :type 'hook
    :group 'term)
--- 607,622 ----
    :group 'term)
  
  (defcustom term-mode-hook '()
!   "Called upon entry into term mode.
  This is run before the process is cranked up."
    :type 'hook
    :group 'term)
  
  (defcustom term-exec-hook '()
!   "Called each time a process is exec'd by `term-exec'.
  This is called after the process is cranked up.  It is useful for things that
! must be done each time a process is executed in a term mode buffer (e.g.,
! `process-kill-without-query').  In contrast, `term-mode-hook' is only
  executed once when the buffer is created."
    :type 'hook
    :group 'term)
***************
*** 625,631 ****
  (defvar term-raw-map nil
    "Keyboard map for sending characters directly to the inferior process.")
  (defvar term-escape-char nil
!   "Escape character for char-sub-mode of term mode.
  Do not change it directly;  use `term-set-escape-char' instead.")
  (defvar term-raw-escape-map nil)
  
--- 625,631 ----
  (defvar term-raw-map nil
    "Keyboard map for sending characters directly to the inferior process.")
  (defvar term-escape-char nil
!   "Escape character for char sub-mode of term mode.
  Do not change it directly;  use `term-set-escape-char' instead.")
  (defvar term-raw-escape-map nil)
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]