diff options
| author | Miles Bader | 2007-12-16 05:08:49 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-12-16 05:08:49 +0000 |
| commit | d29ee6b1a110cf5d170a10317a96acbbd4a1c68b (patch) | |
| tree | 58f3c40766d8d56de7d2b026c29e198764d910aa /doc | |
| parent | 7e095e45a3f790e4608c88db9648d248e24901dc (diff) | |
| parent | 47854a55680b5809811caf72f66ecbe8289c2855 (diff) | |
| download | emacs-d29ee6b1a110cf5d170a10317a96acbbd4a1c68b.tar.gz emacs-d29ee6b1a110cf5d170a10317a96acbbd4a1c68b.zip | |
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 18 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 4 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 10 | ||||
| -rw-r--r-- | doc/misc/dbus.texi | 47 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 2 |
6 files changed, 54 insertions, 34 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 586f250bd06..bfeb88f7830 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2007-12-14 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * nonascii.texi (Encoding and I/O): Reword to avoid saying | ||
| 4 | "visit the current buffer". | ||
| 5 | |||
| 6 | * os.texi (System Interface): Fix typo. | ||
| 7 | |||
| 1 | 2007-12-04 Richard Stallman <rms@gnu.org> | 8 | 2007-12-04 Richard Stallman <rms@gnu.org> |
| 2 | 9 | ||
| 3 | * objects.texi (Symbol Type): Fix typo. | 10 | * objects.texi (Symbol Type): Fix typo. |
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 7c504aef2cd..16f70f57b9d 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -727,15 +727,15 @@ operation finishes the job of choosing a coding system. Very often | |||
| 727 | you will want to find out afterwards which coding system was chosen. | 727 | you will want to find out afterwards which coding system was chosen. |
| 728 | 728 | ||
| 729 | @defvar buffer-file-coding-system | 729 | @defvar buffer-file-coding-system |
| 730 | This buffer-local variable records the coding system that was used to visit | 730 | This buffer-local variable records the coding system used for saving the |
| 731 | the current buffer. It is used for saving the buffer, and for writing part | 731 | buffer and for writing part of the buffer with @code{write-region}. If |
| 732 | of the buffer with @code{write-region}. If the text to be written | 732 | the text to be written cannot be safely encoded using the coding system |
| 733 | cannot be safely encoded using the coding system specified by this | 733 | specified by this variable, these operations select an alternative |
| 734 | variable, these operations select an alternative encoding by calling | 734 | encoding by calling the function @code{select-safe-coding-system} |
| 735 | the function @code{select-safe-coding-system} (@pxref{User-Chosen | 735 | (@pxref{User-Chosen Coding Systems}). If selecting a different encoding |
| 736 | Coding Systems}). If selecting a different encoding requires to ask | 736 | requires to ask the user to specify a coding system, |
| 737 | the user to specify a coding system, @code{buffer-file-coding-system} | 737 | @code{buffer-file-coding-system} is updated to the newly selected coding |
| 738 | is updated to the newly selected coding system. | 738 | system. |
| 739 | 739 | ||
| 740 | @code{buffer-file-coding-system} does @emph{not} affect sending text | 740 | @code{buffer-file-coding-system} does @emph{not} affect sending text |
| 741 | to a subprocess. | 741 | to a subprocess. |
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index bff759215da..6c237d83457 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -21,8 +21,8 @@ pertaining to the terminal and the screen. | |||
| 21 | * System Environment:: Distinguish the name and kind of system. | 21 | * System Environment:: Distinguish the name and kind of system. |
| 22 | * User Identification:: Finding the name and user id of the user. | 22 | * User Identification:: Finding the name and user id of the user. |
| 23 | * Time of Day:: Getting the current time. | 23 | * Time of Day:: Getting the current time. |
| 24 | * Time Conversion:: Converting a time from numeric form | 24 | * Time Conversion:: Converting a time from numeric form to |
| 25 | to calendrical data, and vice versa). | 25 | calendrical data and vice versa. |
| 26 | * Time Parsing:: Converting a time from numeric form to text | 26 | * Time Parsing:: Converting a time from numeric form to text |
| 27 | and vice versa. | 27 | and vice versa. |
| 28 | * Processor Run Time:: Getting the run time used by Emacs. | 28 | * Processor Run Time:: Getting the run time used by Emacs. |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 61fd28a0622..8e4eab56b15 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2007-12-14 Sven Joachim <svenjoac@gmx.de> | ||
| 2 | |||
| 3 | * gnus.texi (Score Variables): Fix typo. | ||
| 4 | |||
| 5 | 2007-12-07 Michael Albinus <michael.albinus@gmx.de> | ||
| 6 | |||
| 7 | * dbus.texi (Synchronous Methods): Adapt dbus-call-method. | ||
| 8 | (Signals): Adapt dbus-send-signal and dbus-register-signal. | ||
| 9 | (Errors and Events): Adapt dbus-event. | ||
| 10 | |||
| 1 | 2007-12-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | 11 | 2007-12-03 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 12 | ||
| 3 | * gnus.texi (Other Files): Add the yenc command. | 13 | * gnus.texi (Other Files): Add the yenc command. |
diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi index 14ceea37d1d..b5c8ce3efb1 100644 --- a/doc/misc/dbus.texi +++ b/doc/misc/dbus.texi | |||
| @@ -318,7 +318,7 @@ which carries the input parameters to the object owning the method to | |||
| 318 | be called, and a reply message returning the resulting output | 318 | be called, and a reply message returning the resulting output |
| 319 | parameters from the object. | 319 | parameters from the object. |
| 320 | 320 | ||
| 321 | @defun dbus-call-method bus method service path interface &rest args | 321 | @defun dbus-call-method bus service path interface method &rest args |
| 322 | This function calls @var{method} on the D-Bus @var{bus}. @var{bus} is | 322 | This function calls @var{method} on the D-Bus @var{bus}. @var{bus} is |
| 323 | either the symbol @code{:system} or the symbol @code{:session}. | 323 | either the symbol @code{:system} or the symbol @code{:session}. |
| 324 | 324 | ||
| @@ -336,8 +336,8 @@ Lisp objects, according to the type conversion rules described in | |||
| 336 | 336 | ||
| 337 | @example | 337 | @example |
| 338 | (dbus-call-method | 338 | (dbus-call-method |
| 339 | :session "GetKeyField" "org.gnome.seahorse" | 339 | :session "org.gnome.seahorse" "/org/gnome/seahorse/keys/openpgp" |
| 340 | "/org/gnome/seahorse/keys/openpgp" "org.gnome.seahorse.Keys" | 340 | "org.gnome.seahorse.Keys" "GetKeyField" |
| 341 | "openpgp:657984B8C7A966DD" "simple-name") | 341 | "openpgp:657984B8C7A966DD" "simple-name") |
| 342 | 342 | ||
| 343 | @result{} (t ("Philip R. Zimmermann")) | 343 | @result{} (t ("Philip R. Zimmermann")) |
| @@ -349,8 +349,9 @@ object. Example: | |||
| 349 | 349 | ||
| 350 | @example | 350 | @example |
| 351 | (dbus-call-method | 351 | (dbus-call-method |
| 352 | :system "GetPropertyString" "org.freedesktop.Hal" | 352 | :system "org.freedesktop.Hal" |
| 353 | "/org/freedesktop/Hal/devices/computer" "org.freedesktop.Hal.Device" | 353 | "/org/freedesktop/Hal/devices/computer" |
| 354 | "org.freedesktop.Hal.Device" "GetPropertyString" | ||
| 354 | "system.kernel.machine") | 355 | "system.kernel.machine") |
| 355 | 356 | ||
| 356 | @result{} "i686" | 357 | @result{} "i686" |
| @@ -368,14 +369,14 @@ emulate the @code{lshal} command on GNU/Linux systems: | |||
| 368 | @example | 369 | @example |
| 369 | (dolist (device | 370 | (dolist (device |
| 370 | (dbus-call-method | 371 | (dbus-call-method |
| 371 | :system "GetAllDevices" "org.freedesktop.Hal" | 372 | :system "org.freedesktop.Hal" |
| 372 | "/org/freedesktop/Hal/Manager" | 373 | "/org/freedesktop/Hal/Manager" |
| 373 | "org.freedesktop.Hal.Manager")) | 374 | "org.freedesktop.Hal.Manager" "GetAllDevices")) |
| 374 | (message "\nudi = %s" device) | 375 | (message "\nudi = %s" device) |
| 375 | (dolist (properties | 376 | (dolist (properties |
| 376 | (dbus-call-method | 377 | (dbus-call-method |
| 377 | :system "GetAllProperties" "org.freedesktop.Hal" | 378 | :system "org.freedesktop.Hal" device |
| 378 | device "org.freedesktop.Hal.Device")) | 379 | "org.freedesktop.Hal.Device" "GetAllProperties")) |
| 379 | (message " %s = %S" | 380 | (message " %s = %S" |
| 380 | (car properties) (or (caar (cdr properties)) "")))) | 381 | (car properties) (or (caar (cdr properties)) "")))) |
| 381 | 382 | ||
| @@ -406,7 +407,7 @@ emulate the @code{lshal} command on GNU/Linux systems: | |||
| 406 | Signals are broadcast messages. They carry input parameters, which | 407 | Signals are broadcast messages. They carry input parameters, which |
| 407 | are received by all objects which have registered for such a signal. | 408 | are received by all objects which have registered for such a signal. |
| 408 | 409 | ||
| 409 | @defun dbus-send-signal bus signal service path interface &rest args | 410 | @defun dbus-send-signal bus service path interface signal &rest args |
| 410 | This function is similar to @code{dbus-call-method}. The difference | 411 | This function is similar to @code{dbus-call-method}. The difference |
| 411 | is, that there are no returning output parameters. | 412 | is, that there are no returning output parameters. |
| 412 | 413 | ||
| @@ -425,12 +426,12 @@ Conversion}. Example: | |||
| 425 | 426 | ||
| 426 | @example | 427 | @example |
| 427 | (dbus-send-signal | 428 | (dbus-send-signal |
| 428 | :session "FileModified" "org.gnu.Emacs" "/org/gnu/Emacs" | 429 | :session "org.gnu.Emacs" "/org/gnu/Emacs" |
| 429 | "org.gnu.Emacs.FileManager" "/home/albinus/.emacs") | 430 | "org.gnu.Emacs.FileManager" "FileModified" "/home/albinus/.emacs") |
| 430 | @end example | 431 | @end example |
| 431 | @end defun | 432 | @end defun |
| 432 | 433 | ||
| 433 | @defun dbus-register-signal bus signal service path interface handler | 434 | @defun dbus-register-signal bus service path interface signal handler |
| 434 | With this function, an application registers for @var{signal} on the | 435 | With this function, an application registers for @var{signal} on the |
| 435 | D-Bus @var{bus}. | 436 | D-Bus @var{bus}. |
| 436 | 437 | ||
| @@ -461,13 +462,15 @@ received. It must accept as arguments the output parameters | |||
| 461 | (defun my-dbus-signal-handler (device) | 462 | (defun my-dbus-signal-handler (device) |
| 462 | (message "Device %s added" device)) | 463 | (message "Device %s added" device)) |
| 463 | 464 | ||
| 465 | @result{} my-dbus-signal-handler | ||
| 466 | |||
| 464 | (dbus-register-signal | 467 | (dbus-register-signal |
| 465 | :system "DeviceAdded" | 468 | :system "org.freedesktop.Hal" "/org/freedesktop/Hal/Manager" |
| 466 | (dbus-get-name-owner :system "org.freedesktop.Hal") | 469 | "org.freedesktop.Hal.Manager" "DeviceAdded" |
| 467 | "/org/freedesktop/Hal/Manager" "org.freedesktop.Hal.Manager" | ||
| 468 | 'my-dbus-signal-handler) | 470 | 'my-dbus-signal-handler) |
| 469 | 471 | ||
| 470 | @result{} (:system "org.freedesktop.Hal.Manager" "DeviceAdded") | 472 | @result{} (:system ":1.3" "/org/freedesktop/Hal/Manager" |
| 473 | "org.freedesktop.Hal.Manager" "DeviceAdded") | ||
| 471 | @end example | 474 | @end example |
| 472 | 475 | ||
| 473 | As we know from the inspection data of interface | 476 | As we know from the inspection data of interface |
| @@ -503,13 +506,9 @@ Incoming D-Bus messages are handled as Emacs events (see @pxref{Misc | |||
| 503 | Events, , , elisp}). The generated event has this form: | 506 | Events, , , elisp}). The generated event has this form: |
| 504 | 507 | ||
| 505 | @example | 508 | @example |
| 506 | (dbus-event @var{handler} @var{bus} @var{service} @var{path} @var{interface} @var{member} &rest @var{args}) | 509 | (dbus-event @var{bus} @var{service} @var{path} @var{interface} @var{member} @var{handler} &rest @var{args}) |
| 507 | @end example | 510 | @end example |
| 508 | 511 | ||
| 509 | @var{handler} is the callback function which has been registered for | ||
| 510 | this signal (see @pxref{Signals}). When a @code{dbus-event} event | ||
| 511 | arrives, @var{handler} is called with @var{args} as arguments. | ||
| 512 | |||
| 513 | @var{bus} identifies the D-Bus the signal is coming from. It is | 512 | @var{bus} identifies the D-Bus the signal is coming from. It is |
| 514 | either the symbol @code{:system} or the symbol @code{:session}. | 513 | either the symbol @code{:system} or the symbol @code{:session}. |
| 515 | 514 | ||
| @@ -517,6 +516,10 @@ either the symbol @code{:system} or the symbol @code{:session}. | |||
| 517 | of the D-Bus object emitting the signal. @var{interface} and | 516 | of the D-Bus object emitting the signal. @var{interface} and |
| 518 | @var{member} denote the signal which has been sent. | 517 | @var{member} denote the signal which has been sent. |
| 519 | 518 | ||
| 519 | @var{handler} is the callback function which has been registered for | ||
| 520 | this signal (see @pxref{Signals}). When a @code{dbus-event} event | ||
| 521 | arrives, @var{handler} is called with @var{args} as arguments. | ||
| 522 | |||
| 520 | In order to inspect the @code{dbus-event} data, you could extend the | 523 | In order to inspect the @code{dbus-event} data, you could extend the |
| 521 | definition of the callback function in @ref{Signals}: | 524 | definition of the callback function in @ref{Signals}: |
| 522 | 525 | ||
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 8ec39ce81fe..4a165c62b25 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -20529,7 +20529,7 @@ Suffix to add to the group name to arrive at the score file name | |||
| 20529 | @vindex gnus-score-uncacheable-files | 20529 | @vindex gnus-score-uncacheable-files |
| 20530 | @cindex score cache | 20530 | @cindex score cache |
| 20531 | All score files are normally cached to avoid excessive re-loading of | 20531 | All score files are normally cached to avoid excessive re-loading of |
| 20532 | score files. However, if this might make your Emacs grow big and | 20532 | score files. However, this might make your Emacs grow big and |
| 20533 | bloated, so this regexp can be used to weed out score files unlikely | 20533 | bloated, so this regexp can be used to weed out score files unlikely |
| 20534 | to be needed again. It would be a bad idea to deny caching of | 20534 | to be needed again. It would be a bad idea to deny caching of |
| 20535 | @file{all.SCORE}, while it might be a good idea to not cache | 20535 | @file{all.SCORE}, while it might be a good idea to not cache |