• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/net/

Lines Matching +defs:set +defs:line

172 ;; used in XEmacs, so we set it here and there.  The following is needed
231 (set :inline t
239 "*Put auto-save files in this directory, if set.
291 when initializing a multi-hop connection. Therefore, the set of
326 (tramp-password-end-of-line nil))
334 (tramp-password-end-of-line nil))
342 (tramp-password-end-of-line nil))
350 (tramp-password-end-of-line nil))
359 (tramp-password-end-of-line nil))
368 (tramp-password-end-of-line nil))
376 (tramp-password-end-of-line nil))
384 (tramp-password-end-of-line nil))
392 (tramp-password-end-of-line nil))
400 (tramp-password-end-of-line nil))
408 (tramp-password-end-of-line nil))
416 (tramp-password-end-of-line nil))
425 (tramp-password-end-of-line nil))
434 (tramp-password-end-of-line nil))
442 (tramp-password-end-of-line nil))
451 (tramp-password-end-of-line nil))
459 (tramp-password-end-of-line nil))
468 (tramp-password-end-of-line nil))
476 (tramp-password-end-of-line nil))
487 (tramp-password-end-of-line nil))
495 (tramp-password-end-of-line nil))
503 (tramp-password-end-of-line nil))
512 (tramp-password-end-of-line nil))
521 (tramp-password-end-of-line "xy")) ;see docstring for "xy"
530 (tramp-password-end-of-line "xy")) ;see docstring for "xy"
539 (tramp-password-end-of-line "xy")) ;see docstring for "xy"
548 (tramp-password-end-of-line nil))
561 MUST be a Bourne-like shell. It is normally not necessary to set
594 * `tramp-password-end-of-line'
595 This specifies the string to use for terminating the line after
597 value of the normal variable `tramp-default-password-end-of-line'
608 to do this, set `tramp-copy-program' in the method.
634 (set (list (const tramp-connection-function) function)
653 (list (const tramp-password-end-of-line)
679 replaced with an end-of-line character, as specified in the variable
680 `tramp-rsh-end-of-line'. Use `%%' for a literal percent character.
803 (tramp-set-completion-function
805 (tramp-set-completion-function
807 (tramp-set-completion-function
809 (tramp-set-completion-function
811 (tramp-set-completion-function
813 (tramp-set-completion-function
815 (tramp-set-completion-function
817 (tramp-set-completion-function
819 (tramp-set-completion-function
821 (tramp-set-completion-function
823 (tramp-set-completion-function
825 (tramp-set-completion-function
827 (tramp-set-completion-function
829 (tramp-set-completion-function
831 (tramp-set-completion-function
833 (tramp-set-completion-function
835 (tramp-set-completion-function
837 (tramp-set-completion-function
839 (tramp-set-completion-function
841 (tramp-set-completion-function
843 (tramp-set-completion-function
845 (tramp-set-completion-function
847 (tramp-set-completion-function
849 (tramp-set-completion-function
851 (tramp-set-completion-function
853 (tramp-set-completion-function
856 (defcustom tramp-rsh-end-of-line "\n"
857 "*String used for end of line in rsh connections.
860 Also see the method parameter `tramp-password-end-of-line' and the normal
861 variable `tramp-default-password-end-of-line'."
865 (defcustom tramp-default-password-end-of-line
866 tramp-rsh-end-of-line
867 "*String used for end of line after sending a password.
869 `tramp-password-end-of-line', see `tramp-methods' for more details.
874 password, see `tramp-rsh-end-of-line' for the other cases.
876 The default value is to use the same value as `tramp-rsh-end-of-line'."
927 ;; These strings should be on the last line
983 (concat "\\(" "preserving times.*" "\\|" "set mode" "\\)" ":\\s-*"
1228 this file (tramp.el) is loaded. This means that this variable must be set
1259 this file (tramp.el) is loaded. This means that this variable must be set
1436 ;; Chunked sending kluge. We set this to 500 for black-listed constellations
1445 ;; Parentheses in docstring starting at beginning of line are escaped.
1447 ;; `open-paren-in-column-0-is-defun-start' set to t.
1450 implementation. The necessity, whether this variable must be set, can be
1475 (message \"You should set `tramp-chunksize' to a maximum of %s\"
1493 about the value `tramp-chunksize' should be set. Maybe you could just
1495 in the third line of the code.
1497 When it is necessary to set `tramp-chunksize', you might consider to
1503 this variable to be set as well."
1508 ;; Emacs on MacOS X has process-connection-type set to nil by default,
1610 (defvar tramp-password-end-of-line nil
1665 ;; unless this spits out a complete line, including the '\n' at the
1668 ;; device number set in `tramp-handle-file-attributes'
1809 # of 72 chars (plus end of line)
1853 # We are going to accumulate into $pending to accept any line length
1961 (set-file-modes . tramp-handle-set-file-modes)
1981 (set-visited-file-modtime . tramp-handle-set-visited-file-modtime)
2020 (set-buffer
2037 (set-buffer (tramp-get-buffer multi-method method user host))
2040 (defsubst tramp-line-end-position nil
2041 "Return point at end of line.
2042 Calls `line-end-position' or `point-at-eol' if defined, else
2045 ((fboundp 'line-end-position) (funcall (symbol-function 'line-end-position)))
2047 (t (save-excursion (end-of-line) (point)))))
2099 (defun tramp-set-completion-function (method function-list)
2110 (tramp-set-completion-function
2137 For definition of that list see `tramp-set-completion-function'."
2414 (tramp-line-end-position))))
2437 ;; recreated. Will be set in `tramp-convert-file-attributes'
2461 (defun tramp-handle-set-visited-file-modtime (&optional time-list)
2462 "Like `set-visited-file-modtime' for tramp files."
2464 (error "Can't set-visited-file-modtime: buffer `%s' not visiting a file"
2467 (tramp-run-real-handler 'set-visited-file-modtime (list time-list))
2479 (tramp-run-real-handler 'set-visited-file-modtime (list modtime))
2488 (progn (end-of-line) (point)))))
2491 (set 'last-coding-system-used coding-system-used))
2497 ;; `tramp-handle-set-visited-file-modtime'.
2539 (point) (progn (end-of-line) (point)))))
2545 (defun tramp-handle-set-file-modes (filename mode)
2546 "Like `set-file-modes' for tramp files."
2757 (while (zerop (forward-line -1))
2759 (tramp-line-end-position)))
2859 (while (zerop (forward-line -1))
2861 (tramp-line-end-position))
3067 (set-buffer trampbuf) (erase-buffer)
3080 (set-file-modes newname (file-modes filename)))
3123 (set-file-modes
3239 (set-buffer trampbuf)
3255 (tramp-set-process-query-on-exit-flag p nil)
3263 (set-file-modes newname (file-modes filename))))
3418 ;; (unless (fboundp 'dired-insert-set-properties)
3419 ;; (fset 'dired-insert-set-properties 'ignore)))
3424 ;; `dired-insert-set-properties'.
3515 ;; (dired-insert-set-properties old-pos (point))))
3520 ;; (when (eq (symbol-function 'dired-insert-set-properties) 'ignore)
3521 ;; (fmakunbound 'dired-insert-set-properties)))
3584 (set-buffer (tramp-get-buffer multi-method method user host))
3592 (setq uname (buffer-substring (point) (tramp-line-end-position)))
3658 (set-buffer output-buffer)
3662 (set-buffer output-buffer)
3681 (set-process-filter
3687 (set-buffer (process-buffer process))
3699 (set-process-filter process nil)
3726 (set-buffer error-buffer)
3752 (set-buffer curbuf)
3808 ;; Following line for setting tramp-current-method,
3810 (set-buffer tramp-buf)
3820 (delete-region (point) (progn (forward-line -1) (point)))
3831 (set-buffer tmpbuf)
3833 (set-buffer-multibyte nil)
3839 (set-buffer tmpbuf)
3842 ;; line from the output here. Go to point-max,
3863 (set-file-modes tmpfil (file-modes filename))))
3889 (set-visited-file-modtime)
3890 (set-buffer-modified-p nil))
3906 (set-visited-file-modtime)
3907 (set-buffer-modified-p nil))
3920 (set 'last-coding-system-used coding-system-used))
3928 ;; We set both variables. It doesn't matter whether it is
4049 ;; we set `last-coding-system-used' to this saved value.
4061 (set-buffer curbuf)
4064 ;; `set-visited-file-modtime' ourselves later on.
4073 ;; The permissions of the temporary file should be set. If
4077 (when modes (set-file-modes tmpfil modes))
4095 (set-buffer tmpbuf)
4140 (set-buffer tmpbuf)
4155 (set-buffer (tramp-get-buffer multi-method method user host))
4175 (set-visited-file-modtime
4177 ;; from (buffer-file-name), f.e. if `file-precious-flag' is set.
4181 (set 'last-coding-system-used coding-system-used))
4280 'set-file-modes 'substitute-in-file-name
4285 'dired-recursive-delete-directory 'dired-set-file-modtime
4311 'set-visited-file-modtime 'verify-visited-file-modtime
4376 ;; `tramp-locked' and `tramp-locker'. `tramp-locked' is set to true
4500 ;;- (set-difference tramp-file-name-quote-list
4510 (tramp-line-end-position)))
4854 'line-end-position)))
4870 (forward-line 1)
4899 (forward-line 1))
4928 (forward-line 1))
4987 (forward-line 1))
4993 ;; assuming it is set in `tramp-completion-handle-file-name-all-completions'.
5020 (forward-line 1)
5050 (forward-line 1)
5074 (tramp-set-connection-property "perl-scripts" (cons name perl-scripts)
5078 (defun tramp-set-auto-save ()
5086 (add-hook 'find-file-hooks 'tramp-set-auto-save t)
5089 (remove-hook 'find-file-hooks 'tramp-set-auto-save)))
5262 (buffer-substring (point) (tramp-line-end-position)))))
5264 (defun tramp-set-remote-path (multi-method method user host var dirlist)
5368 ;; must use "\n" here, not tramp-rsh-end-of-line. Kai left the
5369 ;; last tramp-rsh-end-of-line, Douglas wanted to replace that,
5372 tramp-rsh-end-of-line
5374 tramp-rsh-end-of-line
5375 tramp-rsh-end-of-line))
5442 tramp-rsh-end-of-line)))
5481 (process-send-string p (concat "yes" tramp-rsh-end-of-line))
5494 (process-send-string p (concat "y" tramp-rsh-end-of-line))))
5503 tramp-rsh-end-of-line)))
5519 ;; `scp' could have copied correctly, but set modes could have failed.
5524 (tramp-message 10 "'set mode' error ignored.")
5537 (process-send-string p (concat user tramp-rsh-end-of-line)))
5679 set up correctly.
5722 (tramp-set-process-query-on-exit-flag p nil)
5723 (set-buffer (tramp-get-buffer multi-method method user host))
5743 set up correctly.
5795 (tramp-set-process-query-on-exit-flag p nil)
5797 (set-buffer buf)
5814 set up correctly. Note that the other user may have a different shell
5816 `shell-prompt-pattern' is set up wrongly!"
5857 (tramp-set-process-query-on-exit-flag p nil)
5858 (set-buffer (tramp-get-buffer multi-method method user host))
5911 (tramp-set-process-query-on-exit-flag p nil)
5944 the host name, and `%n' is replaced with an end of line character, as
5945 set in `tramp-rsh-end-of-line'. Use `%%' if you want a literal percent
5950 `((?h . ,host) (?n . ,tramp-rsh-end-of-line))))
5968 will be replaced with the value of `tramp-rsh-end-of-line'. You can use
5974 (?n . ,tramp-rsh-end-of-line))))
5999 `tramp-rsh-end-of-line'. Use `%%' if you want a literal percent
6002 (?n . ,tramp-rsh-end-of-line))))
6017 This is needed in order to hide `last-coding-system-used', which is set
6057 (set-buffer
6096 'tramp-password-end-of-line)
6097 tramp-default-password-end-of-line)))))
6101 ;; variable tramp-current-user will be set to nil.
6105 (set-buffer (tramp-get-buffer multi-method method user host))
6106 (set (make-local-variable 'tramp-current-multi-method) multi-method)
6107 (set (make-local-variable 'tramp-current-method) method)
6108 (set (make-local-variable 'tramp-current-user) user)
6109 (set (make-local-variable 'tramp-current-host) host)
6110 (set (make-local-variable 'tramp-chunksize) chunksize)
6111 (set (make-local-variable 'inhibit-eol-conversion) nil)
6118 to set up. METHOD, USER and HOST specify the connection."
6126 ;; It is useful to set the prompt in the following command because
6131 ;; sign. The following command line sets $PS1 to a sane value, and
6176 ;; Try to set up the coding system correctly.
6199 (set-buffer-process-coding-system cs-decode cs-encode))
6216 (tramp-message 9 "Waiting 30s for `set +o vi +o emacs'")
6218 "set +o vi +o emacs")
6231 ;; use "\n" here, not tramp-rsh-end-of-line. We also manually frob
6238 tramp-rsh-end-of-line
6240 tramp-rsh-end-of-line))
6287 (concat "tramp_set_exit_status () {" tramp-rsh-end-of-line
6288 "return $1" tramp-rsh-end-of-line
6292 (tramp-set-remote-path multi-method method user host "PATH" tramp-remote-path)
6323 (concat "tramp_test_nt () {" tramp-rsh-end-of-line
6324 "test -n \"`find $1 -prune -newer $2 -print`\"" tramp-rsh-end-of-line
6333 (tramp-set-connection-property "perl-scripts" nil multi-method method user host)
6340 (tramp-set-connection-property "perl" tramp-remote-perl
6378 (tramp-set-connection-property "ln" ln multi-method method user host)))
6384 (tramp-set-connection-property
6386 (tramp-set-connection-property
6471 filename will be put into the command line at that spot. If the
6541 ;; set connection properties.
6549 (tramp-set-remote-encoding multi-method method user host rem-enc)
6551 (tramp-set-remote-decoding multi-method method user host rem-dec)
6553 (tramp-set-local-encoding multi-method method user host loc-enc)
6555 (tramp-set-local-decoding multi-method method user host loc-dec))))
6592 (set-buffer (tramp-get-buffer multi-method method user host))
6627 (set-buffer (tramp-get-debug-buffer multi-method method user host))
6631 (set-buffer (tramp-get-buffer multi-method method user host))
6635 (concat command tramp-rsh-end-of-line))))
6657 ;; Algorithm: get waiting output. See if last line contains
6676 (forward-line -1)
6684 (forward-line -1)
6690 (forward-line -2)
6692 ;; If processing echoes, look for it in the first line and delete.
6697 (delete-region (point) (progn (forward-line 1) (point))))))
6706 (set-buffer
6754 ;; have this function which waits a bit at each line.
6759 The STRING is expected to use Unix line-endings, but the lines sent to
6760 the remote host use line-endings as defined in the variable
6761 `tramp-rsh-end-of-line'."
6769 (set-buffer (tramp-get-debug-buffer multi-method method user host))
6772 ;; replace "\n" by `tramp-rsh-end-of-line'
6776 tramp-rsh-end-of-line))
6778 (string-equal (substring string -1) tramp-rsh-end-of-line))
6779 (setq string (concat string tramp-rsh-end-of-line)))
6820 (set-buffer (tramp-get-debug-buffer multi-method method user host))
6881 Convert file mode bits to string and set virtual device number.
7128 (set-buffer (tramp-get-buffer multi-method method user host))
7135 (set-buffer (tramp-get-buffer multi-method method user host))
7142 (set-buffer (tramp-get-buffer multi-method method user host))
7164 If the value is not set for the connection, return `default'"
7173 (defun tramp-set-connection-property
7178 (set (make-local-variable
7183 (defun tramp-set-remote-encoding (multi-method method user host rem-enc)
7184 (tramp-set-connection-property "remote-encoding" rem-enc
7190 (defun tramp-set-remote-decoding (multi-method method user host rem-dec)
7191 (tramp-set-connection-property "remote-decoding" rem-dec
7197 (defun tramp-set-local-encoding (multi-method method user host loc-enc)
7198 (tramp-set-connection-property "local-encoding" loc-enc
7204 (defun tramp-set-local-decoding (multi-method method user host loc-dec)
7205 (tramp-set-connection-property "local-decoding" loc-dec
7255 (defun tramp-set-auto-save-file-modes ()
7264 ;; Permissions should be set always, because there might be an old
7267 (set-file-modes buffer-auto-save-file-name
7274 (add-hook 'auto-save-hook 'tramp-set-auto-save-file-modes)
7277 (remove-hook 'auto-save-hook 'tramp-set-auto-save-file-modes))))
7400 (defun tramp-set-process-query-on-exit-flag (process flag)
7405 (if (fboundp 'set-process-query-on-exit-flag)
7406 (symbol-function 'set-process-query-on-exit-flag)
7446 (nl (regexp-quote (format "\\%s" tramp-rsh-end-of-line))))
7451 (setq result (replace-match (format "'%s'" tramp-rsh-end-of-line)
7539 tramp-rsh-end-of-line
7540 tramp-default-password-end-of-line
7596 If you can give a simple set of instructions to make this bug happen
7605 --bug report follows this line--
7620 (set varsym (concat "(base64-decode-string \""
7628 (forward-line -1)
7635 (beginning-of-line)
7637 (forward-line 1)
7641 (set varsym val))))
7682 (forward-line 1)
7683 (forward-line 0)
7685 (forward-line 1)
7697 Please note that you have set `tramp-verbose' to a value greater than 9.
7701 (set-buffer-modified-p nil)
7717 (set-buffer-modified-p nil))
7720 (set-buffer curbuf)
7721 (set-buffer-modified-p nil)
7831 ;; * Should we set PATH ourselves or should we rely on the remote end