[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100765: * dbus.texi (Top): Introduce
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100765: * dbus.texi (Top): Introduce Index. Emphasize "nil" whereever |
Date: |
Fri, 09 Jul 2010 21:24:38 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100765
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Fri 2010-07-09 21:24:38 +0200
message:
* dbus.texi (Top): Introduce Index. Emphasize "nil" whereever
forgotten.
(Type Conversion): Precise conversion of natural numbers.
(Errors and Events): Add "debugging" to concept index. Add variable
`dbus-debug'.
modified:
doc/misc/ChangeLog
doc/misc/dbus.texi
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog 2010-07-04 10:07:27 +0000
+++ b/doc/misc/ChangeLog 2010-07-09 19:24:38 +0000
@@ -1,3 +1,11 @@
+2010-07-09 Michael Albinus <address@hidden>
+
+ * dbus.texi (Top): Introduce Index. Emphasize "nil" whereever
+ forgotten.
+ (Type Conversion): Precise conversion of natural numbers.
+ (Errors and Events): Add "debugging" to concept index. Add variable
+ `dbus-debug'.
+
2010-07-04 Michael Albinus <address@hidden>
* dbus.texi (Receiving Method Calls): Add optional argument
=== modified file 'doc/misc/dbus.texi'
--- a/doc/misc/dbus.texi 2010-07-04 10:07:27 +0000
+++ b/doc/misc/dbus.texi 2010-07-09 19:24:38 +0000
@@ -5,6 +5,9 @@
@c @setchapternewpage odd
@c %**end of header
address@hidden vr cp
address@hidden fn cp
+
@copying
Copyright @copyright{} 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
@@ -51,6 +54,8 @@
* Receiving Method Calls:: Offering own methods.
* Signals:: Sending and receiving signals.
* Errors and Events:: Errors and events.
+* Index:: Index including concepts, functions, variables.
+
* GNU Free Documentation License:: The license for this documentation.
@end menu
@@ -418,7 +423,8 @@
@result{} "/org/freedesktop/SystemToolsBackends/UsersConfig"
@end lisp
-If @var{object} has no @var{attribute}, the function returns nil.
+If @var{object} has no @var{attribute}, the function returns
address@hidden
@end defun
@@ -669,7 +675,7 @@
@defun dbus-get-property bus service path interface property
This function returns the value of @var{property} of @var{interface}.
It will be checked at @var{bus}, @var{service}, @var{path}. The
-result can be any valid D-Bus value, or nil if there is no
+result can be any valid D-Bus value, or @code{nil} if there is no
@var{property}. Example:
@lisp
@@ -863,12 +869,12 @@
applied, when the corresponding D-Bus message is created:
@example
address@hidden address@hidden and @code{nil}} address@hidden {DBUS_TYPE_BOOLEAN}
address@hidden {negative integer} address@hidden {DBUS_TYPE_BOOLEAN}
@item Lisp type @tab @tab D-Bus type
@item
@item @code{t} and @code{nil} @tab @expansion{} @tab DBUS_TYPE_BOOLEAN
address@hidden number @tab @expansion{} @tab DBUS_TYPE_UINT32
address@hidden integer @tab @expansion{} @tab DBUS_TYPE_INT32
address@hidden natural number @tab @expansion{} @tab DBUS_TYPE_UINT32
address@hidden negative integer @tab @expansion{} @tab DBUS_TYPE_INT32
@item float @tab @expansion{} @tab DBUS_TYPE_DOUBLE
@item string @tab @expansion{} @tab DBUS_TYPE_STRING
@item list @tab @expansion{} @tab DBUS_TYPE_ARRAY
@@ -889,19 +895,19 @@
Example:
@lisp
-(dbus-call-method @dots{} @var{NUMBER} @var{STRING})
+(dbus-call-method @dots{} @var{NAT-NUMBER} @var{STRING})
@end lisp
is equivalent to
@lisp
-(dbus-call-method @dots{} :uint32 @var{NUMBER} :string @var{STRING})
+(dbus-call-method @dots{} :uint32 @var{NAT-NUMBER} :string @var{STRING})
@end lisp
but different to
@lisp
-(dbus-call-method @dots{} :int32 @var{NUMBER} :signature @var{STRING})
+(dbus-call-method @dots{} :int32 @var{NAT-NUMBER} :signature @var{STRING})
@end lisp
The value for a byte D-Bus type can be any integer in the range 0
@@ -994,17 +1000,17 @@
objects.
@example
address@hidden {DBUS_TYPE_OBJECT_PATH} address@hidden address@hidden or
@code{nil}}
address@hidden {DBUS_TYPE_OBJECT_PATH} address@hidden {natural number or float}
@item D-Bus type @tab @tab Lisp type
@item
@item DBUS_TYPE_BOOLEAN @tab @expansion{} @tab @code{t} or @code{nil}
address@hidden DBUS_TYPE_BYTE @tab @expansion{} @tab number
address@hidden DBUS_TYPE_UINT16 @tab @expansion{} @tab number
address@hidden DBUS_TYPE_INT16 @tab @expansion{} @tab number
address@hidden DBUS_TYPE_UINT32 @tab @expansion{} @tab number or float
address@hidden DBUS_TYPE_INT32 @tab @expansion{} @tab number or float
address@hidden DBUS_TYPE_UINT64 @tab @expansion{} @tab number or float
address@hidden DBUS_TYPE_INT64 @tab @expansion{} @tab number or float
address@hidden DBUS_TYPE_BYTE @tab @expansion{} @tab natural number
address@hidden DBUS_TYPE_UINT16 @tab @expansion{} @tab natural number
address@hidden DBUS_TYPE_INT16 @tab @expansion{} @tab integer
address@hidden DBUS_TYPE_UINT32 @tab @expansion{} @tab natural number or
float
address@hidden DBUS_TYPE_INT32 @tab @expansion{} @tab integer or float
address@hidden DBUS_TYPE_UINT64 @tab @expansion{} @tab natural number or
float
address@hidden DBUS_TYPE_INT64 @tab @expansion{} @tab integer or float
@item DBUS_TYPE_DOUBLE @tab @expansion{} @tab float
@item DBUS_TYPE_STRING @tab @expansion{} @tab string
@item DBUS_TYPE_OBJECT_PATH @tab @expansion{} @tab string
@@ -1030,7 +1036,7 @@
(@var{BOOL} stands here for either @code{nil} or @code{t}):
@lisp
-(@var{NUMBER} ((@var{STRING} @var{BOOL} @var{BOOL}) (@var{STRING} @var{BOOL}
@var{BOOL}) @dots{}))
+(@var{INTEGER} ((@var{STRING} @var{BOOL} @var{BOOL}) (@var{STRING} @var{BOOL}
@var{BOOL}) @dots{}))
@end lisp
@defun dbus-byte-array-to-string byte-array
@@ -1388,8 +1394,9 @@
The interface @samp{org.freedesktop.DBus.Properties} is added to
@var{path}, including a default handler for the @samp{Get},
@samp{GetAll} and @samp{Set} methods of this interface. When
address@hidden is non-nil, the signal @samp{PropertiesChanged} is
-sent when the property is changed by @code{dbus-set-property}.
address@hidden is address@hidden, the signal
address@hidden is sent when the property is changed by
address@hidden
@noindent Example:
@@ -1574,9 +1581,16 @@
@node Errors and Events
@chapter Errors and events.
address@hidden debugging
@cindex errors
@cindex events
+The internal actions can be traced by running in a debug mode.
+
address@hidden dbus-debug
+If this variable is address@hidden, D-Bus specific debug messages are raised.
address@hidden defvar
+
Input parameters of @code{dbus-call-method},
@code{dbus-call-method-non-blocking},
@code{dbus-call-method-asynchronously}, and
@@ -1591,8 +1605,7 @@
@defspec dbus-ignore-errors address@hidden
This executes @var{forms} exactly like a @code{progn}, except that
@code{dbus-error} errors are ignored during the @var{forms}. These
-errors can be made visible when variable @code{dbus-debug} is set to
address@hidden
+errors can be made visible when @code{dbus-debug} is set to @code{t}.
@end defspec
Incoming D-Bus messages are handled as Emacs events, see @pxref{Misc
@@ -1640,12 +1653,12 @@
@defun dbus-event-message-type event
Returns the message type of the corresponding D-Bus message. The
-result is a number.
+result is a natural number.
@end defun
@defun dbus-event-serial-number event
Returns the serial number of the corresponding D-Bus message.
-The result is a number.
+The result is a natural number.
@end defun
@defun dbus-event-service-name event
@@ -1695,6 +1708,12 @@
whether a given D-Bus error is related to them.
address@hidden Index
address@hidden Index
+
address@hidden cp
+
+
@node GNU Free Documentation License
@appendix GNU Free Documentation License
@include doclicense.texi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100765: * dbus.texi (Top): Introduce Index. Emphasize "nil" whereever,
Michael Albinus <=