[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/files.el,v [EMACS_22_BASE]
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/files.el,v [EMACS_22_BASE] |
Date: |
Thu, 13 Sep 2007 08:26:35 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Eli Zaretskii <eliz> 07/09/13 08:26:35
Index: files.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/files.el,v
retrieving revision 1.896.2.21
retrieving revision 1.896.2.22
diff -u -b -r1.896.2.21 -r1.896.2.22
--- files.el 1 Sep 2007 16:23:43 -0000 1.896.2.21
+++ files.el 13 Sep 2007 08:26:34 -0000 1.896.2.22
@@ -1068,6 +1068,12 @@
but the visited file name is available through the minibuffer history:
type M-n to pull it into the minibuffer.
+You can visit files on remote machines by specifying something
+like /ssh:SOME_REMOTE_MACHINE:FILE for the file name. You can
+also visit local files as a different user by specifying
+/sudo::FILE for the file name. See the documentation of
+`tramp-methods' and the Tramp Info manual, for more about this.
+
Interactively, or if WILDCARDS is non-nil in a call from Lisp,
expand wildcards (if any) and visit multiple files. You can
suppress wildcard expansion by setting `find-file-wildcards' to nil.
@@ -1082,8 +1088,9 @@
(defun find-file-other-window (filename &optional wildcards)
"Edit file FILENAME, in another window.
-May create a new window, or reuse an existing one.
-See the function `display-buffer'.
+
+Like \\[find-file] (which see), but creates a new window or reuses
+an existing one. See the function `display-buffer'.
Interactively, the default if you just type RET is the current directory,
but the visited file name is available through the minibuffer history:
@@ -1102,8 +1109,9 @@
(defun find-file-other-frame (filename &optional wildcards)
"Edit file FILENAME, in another frame.
-May create a new frame, or reuse an existing one.
-See the function `display-buffer'.
+
+Like \\[find-file] (which see), but creates a new frame or reuses
+an existing one. See the function `display-buffer'.
Interactively, the default if you just type RET is the current directory,
but the visited file name is available through the minibuffer history:
@@ -1122,7 +1130,7 @@
(defun find-file-existing (filename)
"Edit the existing file FILENAME.
-Like \\[find-file] but only allow a file that exists, and do not allow
+Like \\[find-file], but only allow a file that exists, and do not allow
file names with wildcards."
(interactive (nbutlast (find-file-read-args "Find existing file: " t)))
(if (and (not (interactive-p)) (not (file-exists-p filename)))
@@ -1132,7 +1140,7 @@
(defun find-file-read-only (filename &optional wildcards)
"Edit file FILENAME but don't allow changes.
-Like \\[find-file] but marks buffer as read-only.
+Like \\[find-file], but marks buffer as read-only.
Use \\[toggle-read-only] to permit editing."
(interactive (find-file-read-args "Find file read-only: " nil))
(unless (or (and wildcards find-file-wildcards
@@ -1147,7 +1155,7 @@
(defun find-file-read-only-other-window (filename &optional wildcards)
"Edit file FILENAME in another window but don't allow changes.
-Like \\[find-file-other-window] but marks buffer as read-only.
+Like \\[find-file-other-window], but marks buffer as read-only.
Use \\[toggle-read-only] to permit editing."
(interactive (find-file-read-args "Find file read-only other window: " nil))
(unless (or (and wildcards find-file-wildcards
@@ -1162,7 +1170,7 @@
(defun find-file-read-only-other-frame (filename &optional wildcards)
"Edit file FILENAME in another frame but don't allow changes.
-Like \\[find-file-other-frame] but marks buffer as read-only.
+Like \\[find-file-other-frame], but marks buffer as read-only.
Use \\[toggle-read-only] to permit editing."
(interactive (find-file-read-args "Find file read-only other frame: " nil))
(unless (or (and wildcards find-file-wildcards
@@ -1179,6 +1187,8 @@
"Find file FILENAME as a replacement for the file in the next window.
This command does not select that window.
+See \\[find-file] for the possible forms of the FILENAME argument.
+
Interactively, or if WILDCARDS is non-nil in a call from Lisp,
expand wildcards (if any) and replace the file with multiple files."
(interactive
@@ -1204,6 +1214,8 @@
If the current buffer now contains an empty file that you just visited
\(presumably by mistake), use this command to visit the file you really want.
+See \\[find-file] for the possible forms of the FILENAME argument.
+
Interactively, or if WILDCARDS is non-nil in a call from Lisp,
expand wildcards (if any) and replace the file with multiple files.
- [Emacs-diffs] Changes to emacs/lisp/files.el,v [EMACS_22_BASE], Richard M. Stallman, 2007/09/01
- [Emacs-diffs] Changes to emacs/lisp/files.el,v [EMACS_22_BASE],
Eli Zaretskii <=
- [Emacs-diffs] Changes to emacs/lisp/files.el,v [EMACS_22_BASE], Eli Zaretskii, 2007/09/13
- [Emacs-diffs] Changes to emacs/lisp/files.el,v [EMACS_22_BASE], Dan Nicolaescu, 2007/09/21
- [Emacs-diffs] Changes to emacs/lisp/files.el,v [EMACS_22_BASE], Andreas Schwab, 2007/09/22
- [Emacs-diffs] Changes to emacs/lisp/files.el,v [EMACS_22_BASE], Dan Nicolaescu, 2007/09/22
- [Emacs-diffs] Changes to emacs/lisp/files.el,v [EMACS_22_BASE], Dan Nicolaescu, 2007/09/23