aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorJoakim Verona2013-02-21 00:04:28 +0100
committerJoakim Verona2013-02-21 00:04:28 +0100
commitf0f34630a4c8b467df3ec7eb445ceedd93a12a71 (patch)
tree8a3b203c6f091c698fcfb3ccd055f330e07e539d /doc/misc
parent10fc3c3866ede374437a72f2e8c1cd7c0f51a8fa (diff)
parente11dacb57703fb8044332d8a3933b815547911ec (diff)
downloademacs-f0f34630a4c8b467df3ec7eb445ceedd93a12a71.tar.gz
emacs-f0f34630a4c8b467df3ec7eb445ceedd93a12a71.zip
auto upstream
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/cl.texi16
-rw-r--r--doc/misc/tramp.texi33
3 files changed, 35 insertions, 19 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index d24f2b593d4..41eb17415b7 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12013-02-20 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (Android shell setup): Improve. Reported by Thierry
4 Volpiatto <thierry.volpiatto@gmail.com>.
5
12013-02-16 Michael Albinus <michael.albinus@gmx.de> 62013-02-16 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * tramp.texi (Top, Configuration): Insert section `Android shell 8 * tramp.texi (Top, Configuration): Insert section `Android shell
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index 11f19c8df06..83df411cb23 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -703,14 +703,6 @@ The type symbol @code{real} is a synonym for @code{number}, and
703The type symbols @code{character} and @code{string-char} match 703The type symbols @code{character} and @code{string-char} match
704integers in the range from 0 to 255. 704integers in the range from 0 to 255.
705 705
706@c No longer relevant, so covered by first item above (float -> floatp).
707@ignore
708@item
709The type symbol @code{float} uses the @code{cl-floatp-safe} predicate
710defined by this package rather than @code{floatp}, so it will work
711correctly even in Emacs versions without floating-point support.
712@end ignore
713
714@item 706@item
715The type list @code{(integer @var{low} @var{high})} represents all 707The type list @code{(integer @var{low} @var{high})} represents all
716integers between @var{low} and @var{high}, inclusive. Either bound 708integers between @var{low} and @var{high}, inclusive. Either bound
@@ -2921,14 +2913,6 @@ This predicate tests whether @var{integer} is even. It is an
2921error if the argument is not an integer. 2913error if the argument is not an integer.
2922@end defun 2914@end defun
2923 2915
2924@ignore
2925@defun cl-floatp-safe object
2926This predicate tests whether @var{object} is a floating-point
2927number. On systems that support floating-point, this is equivalent
2928to @code{floatp}. On other systems, this always returns @code{nil}.
2929@end defun
2930@end ignore
2931
2932@node Numerical Functions 2916@node Numerical Functions
2933@section Numerical Functions 2917@section Numerical Functions
2934 2918
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 77a4f632cff..807e6b4db29 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2016,7 +2016,7 @@ local machine.
2016 2016
2017When an @command{sshd} process runs on the Android device, like 2017When an @command{sshd} process runs on the Android device, like
2018provided by the @code{SSHDroid} app, any @option{ssh}-based method can 2018provided by the @code{SSHDroid} app, any @option{ssh}-based method can
2019be used. However, this requires some special settings. 2019be used. This requires some special settings.
2020 2020
2021The default shell @code{/bin/sh} does not exist. Instead, you shall 2021The default shell @code{/bin/sh} does not exist. Instead, you shall
2022use just @code{sh}, which invokes the shell installed on the device. 2022use just @code{sh}, which invokes the shell installed on the device.
@@ -2031,23 +2031,50 @@ You can instruct @value{tramp} by this form:
2031with @samp{192.168.0.26} being the IP address of your Android device. 2031with @samp{192.168.0.26} being the IP address of your Android device.
2032 2032
2033The user settings for the @code{$PATH} environment variable must be 2033The user settings for the @code{$PATH} environment variable must be
2034preserved. Add this setting: 2034preserved. It has also been reported, that the commands in
2035@file{/system/xbin} are better suited than the ones in
2036@file{/system/bin}. Add these setting:
2035 2037
2036@lisp 2038@lisp
2037(add-to-list 'tramp-remote-path 'tramp-own-remote-path) 2039(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
2040(add-to-list 'tramp-remote-path "/system/xbin")
2038@end lisp 2041@end lisp
2039 2042
2043@noindent
2040If the Android device is not @samp{rooted}, you must give the shell a 2044If the Android device is not @samp{rooted}, you must give the shell a
2041writable directory for temporary files. You could use this setting: 2045writable directory for temporary files:
2042 2046
2043@lisp 2047@lisp
2044(add-to-list 'tramp-remote-process-environment "TMPDIR=$HOME") 2048(add-to-list 'tramp-remote-process-environment "TMPDIR=$HOME")
2045@end lisp 2049@end lisp
2046 2050
2051@noindent
2047Now you shall be able to open a remote connection with @kbd{C-x C-f 2052Now you shall be able to open a remote connection with @kbd{C-x C-f
2048@trampfn{ssh, , 192.168.0.26#2222, }}, given that @command{sshd} 2053@trampfn{ssh, , 192.168.0.26#2222, }}, given that @command{sshd}
2049listens on port @samp{2222}. 2054listens on port @samp{2222}.
2050 2055
2056It is also recommended to add a corresponding entry to your
2057@file{~/.ssh/config} for that connection, like
2058
2059@example
2060Host android
2061 HostName 192.168.0.26
2062 User root
2063 Port 2222
2064@end example
2065
2066@noindent
2067In this case, you must change the setting for the remote shell to
2068
2069@lisp
2070(add-to-list 'tramp-connection-properties
2071 (list (regexp-quote "android") "remote-shell" "sh"))
2072@end lisp
2073
2074@noindent
2075You would open the connection with @kbd{C-x C-f @trampfn{ssh, ,
2076android, }} then.
2077
2051 2078
2052@node Auto-save and Backup 2079@node Auto-save and Backup
2053@section Auto-save and Backup configuration 2080@section Auto-save and Backup configuration