(re-query-replace-string pattern replacement)

Deprecated: Use ere-query-replace-string for new code.

Replaces all occurrences of a pattern with a string, starting at dot and ending at the end of the buffer. For each occurrence of the old string, Emacs requests that the user type a character to indicate whether or not to replace the string. Dot will be positioned just after the found string.

(re-quote string)

Deprecated: Use ere-quote for new code.

Quotes all special re characters in string so that the string can be searched for literally using re search functions.

(re-replace-search-text replacement)

Deprecated: Use ere-replace-search-text for new code.

This function performs a regular expression replacement of the text matched by the last search operations.

(re-replace-string pattern replacement)

Deprecated: Use ere-replace-string for new code.

Replaces all occurrences of a regular expression with a string, starting at dot and ending and the end of the buffer. See the Barry's Emacs User's Guide for information on how to specify regular expressions and replacement text.

(re-search-forward pattern)

Deprecated: Use ere-search-forward for new code.

Searches for a pattern match in the current buffer, moving forwards from dot, stopping at the end of the buffer. Dot is left at the end of the matched string if a match is found, or is unmoved if the string is not found.

(re-search-reverse string)

Deprecated: Use ere-search-reverse for new code.

Searches for a pattern match in the current buffer, moving backwards from dot, stopping at the beginning of the buffer. Dot is left at the beginning of the matched string if a match is found, or is unmoved if not. See the Barry's Emacs User's Guide for information on how to specify regular expressions.

(read-abbrev-file file-name)

Reads in and defines abbreviations appearing in a named abbreviations file. An error message is printed if the file cannot be found.

(read-file file-name) ^X-^R

Erases the contents of the current buffer, reads the specified file into the buffer and associates the name with the buffer. Dot is set to the beginning of the buffer.

(recursion-depth)

Returns the current number of active calls to recursive-edit.

(recursive-edit)

Invokes the keyboard processor to obtain input from the user until the exit-emacs function is executed. Then, recursive-edit returns to the MLisp code that invoked it.

See the Barry's Emacs User's Guide for a detailed description of recursive editing levels.

(redraw-display) ^L

Clears the screen and redraws it.

(region-around-match)

Sets dot and mark around the region matched by the last search. An argument of n puts dot and mark around the nth subpattern matched by \( and \). An argument of zero matches the entire string.

(region-to-string)

Returns the region between dot and mark as a string.

(remove-all-local-bindings)

Performs a remove-local-binding command for all possible keys, This effectively undoes all local bindings.

(remove-binding key-sequence)

Removes the global binding of the given key sequence. Actually, it just rebinds the key sequence to illegal-operation.

(remove-database dbsl database-file)

Removes a single database file from the specified database search-list. The database search-list will not be deleted when the last file has been removed.

(remove-local-binding key-sequence)

Removes the local binding of the given key sequence. The global binding will subsequently be used when interpreting the key sequence.

(rename-macro function new-function)

Renames the specified function to a new name. You cannot rename a function to a name used by an already existing wired-in function. If the new-function name exists, the existing code is replaced.

(replace-search-text replacement)

This function performs a replacement of the text matched by the last search operations.

(replace-string search replacement) ESC-r

Replaces all occurrences of one string for another, starting at dot and ending at the end of the buffer.

(reset-buffer-name-from-filename)

Resets the current buffers name using the algorithm used when a new file is first visited.

Useful to call after the buffer-saved-as-hook has been changed.

(resume-process process-name)

Resumes a subprocess that has been paused. The image in the process starts working again. If the process is not paused, an error is generated.

(return-prefix-argument expression)

Causes expression to be considered as the prefix argument to the next command executed (even if the command is initiated from the keyboard). This can be useful for writing alternate prefix argument packages.

(return-to-monitor)

Spawns a new DCL process, allowing the user to enter DCL commands. Return to Emacs by using the LOGOUT DCL command.

(reverse-incremental-search)

Start incremental search in reverse search mode. See extension incsearch for details

(right-marker)

Takes a marker as a parameter and returns a new marker. The new marker will at the same position as the original but with right-hand affinity. This means that text inserted at the position of the marker will move the marker's position to the right. Left-hand affinity markers do not move to the right as text is inserted.

(right-window repeat-count)

Moves the cursor into the window that is to the right of the current window, unlike previous-window which moves the cursor without regard to the physical position of the windows on the screen.

If the repeat-count is given, the command is repeated that number of times.

right-window reports an error of there is not a window to the right of the current window.