[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100302: Fix bug #7563 with docs o
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100302: Fix bug #7563 with docs of split-string-and-unquote. |
Date: |
Sat, 11 Dec 2010 11:41:45 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100302
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-23
timestamp: Sat 2010-12-11 11:41:45 +0200
message:
Fix bug #7563 with docs of split-string-and-unquote.
processes.texi (Shell Arguments): Fix documentation of
`split-string-and-unquote'. Add indexing.
modified:
doc/lispref/ChangeLog
doc/lispref/processes.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2010-12-07 19:44:38 +0000
+++ b/doc/lispref/ChangeLog 2010-12-11 09:41:45 +0000
@@ -1,3 +1,8 @@
+2010-12-11 Eli Zaretskii <address@hidden>
+
+ * processes.texi (Shell Arguments): Fix documentation of
+ `split-string-and-unquote'. Add indexing. (Bug#7563)
+
2010-12-07 Stefan Monnier <address@hidden>
* modes.texi (Auto-Indentation): New section to document SMIE.
=== modified file 'doc/lispref/processes.texi'
--- a/doc/lispref/processes.texi 2010-06-23 03:36:56 +0000
+++ b/doc/lispref/processes.texi 2010-12-11 09:41:45 +0000
@@ -195,10 +195,17 @@
@end example
@end defun
address@hidden quoting and unquoting shell command line
address@hidden quoting and unquoting command-line arguments
address@hidden minibuffer input, and command-line arguments
address@hidden @code{call-process}, command-line arguments from minibuffer
address@hidden @code{start-process}, command-line arguments from minibuffer
The following two functions are useful for creating shell commands
from individual argument strings, and taking shell command lines apart
-into individual arguments.
+into individual arguments. These functions are mainly intended to be
+used for converting user input in the minibuffer, a Lisp string, into
+a list of string arguments to be passed to @code{call-process} or
address@hidden, or for the converting such lists of arguments in
+a single Lisp string to be presented in the minibuffer or echo area.
@defun split-string-and-unquote string &optional separators
This function splits @var{string} into substrings at matches for the
@@ -210,7 +217,7 @@
@code{"\\s-+"}, which is a regular expression that matches one or more
characters with whitespace syntax (@pxref{Syntax Class Table}).
-This function performs two types of quoting: enclosing a whole string
+This function supports two types of quoting: enclosing a whole string
in double quotes @code{"@dots{}"}, and quoting individual characters
with a backslash escape @samp{\}. The latter is also used in Lisp
strings, so this function can handle those as well.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100302: Fix bug #7563 with docs of split-string-and-unquote.,
Eli Zaretskii <=