From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: p.stephani2@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#30461: 27.0.50; Incorrect description of sentinels Date: Wed, 14 Feb 2018 23:10:32 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes X-Trace: blaine.gmane.org 1518646176 7734 195.159.176.226 (14 Feb 2018 22:09:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Feb 2018 22:09:36 +0000 (UTC) To: 30461@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 14 23:09:31 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em5Er-0000a5-Rl for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Feb 2018 23:09:18 +0100 Original-Received: from localhost ([::1]:36779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1em5Go-0005Gi-Kj for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Feb 2018 17:11:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1em5Gb-00059S-AN for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 17:11:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1em5GY-0000gt-0P for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 17:11:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35519) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1em5GX-0000gn-SD for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 17:11:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1em5GX-0002lu-LZ for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 17:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: p.stephani2@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Feb 2018 22:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151864625010622 (code B ref -1); Wed, 14 Feb 2018 22:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Feb 2018 22:10:50 +0000 Original-Received: from localhost ([127.0.0.1]:43413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em5GM-0002lG-B8 for submit@debbugs.gnu.org; Wed, 14 Feb 2018 17:10:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <327OEWgsJDTAb.efQbTMZUoSYMUX.OaYNgS-SZg-QYMOeSZg.adS@flex--phst.bounces.google.com>) id 1em5GK-0002l1-Ip for submit@debbugs.gnu.org; Wed, 14 Feb 2018 17:10:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <327OEWgsJDTAb.efQbTMZUoSYMUX.OaYNgS-SZg-QYMOeSZg.adS@flex--phst.bounces.google.com>) id 1em5GE-0000Nq-BO for submit@debbugs.gnu.org; Wed, 14 Feb 2018 17:10:43 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <327OEWgsJDTAb.efQbTMZUoSYMUX.OaYNgS-SZg-QYMOeSZg.adS@flex--phst.bounces.google.com>) id 1em5GE-0000NM-6d for submit@debbugs.gnu.org; Wed, 14 Feb 2018 17:10:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <327OEWgsJDTAb.efQbTMZUoSYMUX.OaYNgS-SZg-QYMOeSZg.adS@flex--phst.bounces.google.com>) id 1em5GC-00051w-Qg for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 17:10:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <327OEWgsJDTAb.efQbTMZUoSYMUX.OaYNgS-SZg-QYMOeSZg.adS@flex--phst.bounces.google.com>) id 1em5G9-0000Iq-Ii for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 17:10:40 -0500 Original-Received: from mail-ua0-f201.google.com ([209.85.217.201]:36002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <327OEWgsJDTAb.efQbTMZUoSYMUX.OaYNgS-SZg-QYMOeSZg.adS@flex--phst.bounces.google.com>) id 1em5G9-0000Fr-CO for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 17:10:37 -0500 Original-Received: by mail-ua0-f201.google.com with SMTP id d21so15807267ual.3 for ; Wed, 14 Feb 2018 14:10:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to; bh=pC9nV1WDsxC6fDfEy5nO4TiwyB1jNVrx+MxcJ2VIPQw=; b=G0WqegxEQ/U3s4pTxBrmSS0E1WSYrH2jNxZHKaXmcQsC9MXr0J6UWvUtNMAJ5zfP1W Ze3NUpcVASHr5SNddAV/OFK53IxWetbZQXdFB787ASKagL0l7t29ehbh08MiM4Jf1v7r r1yCT9fffs2csev5+QT3+mQhiH2OFS3GBjWaeHjnCNWuqTyyukesy8/IqiJThALCn5vJ aqkk/K0Ryx7sRqINXo6CU9KzmP9/JbNNZ943ccIV1Rr5N9ANiSE7fGZ6nUP/KEKHraPF PR4zkRwr7NzO01iRZbbQLcaqo0nGfYWz7YjFGZXEcbSWNAl+OEh+KEtcRcepHNSP5R4W 8qQQ== X-Gm-Message-State: APf1xPDkIrRcXFo4iYucF9G6wqH9F38LmOQVWJfzBswH6RCokwvP+hgw Lc1cRR39mD4+GQMt90JGdkE90g== X-Google-Smtp-Source: AH8x224/qWLgPRtHSx9vHgH8L11SET7ZeCj5embbAJHZaEmqqaaz7AXmUCEj6EGZ23t58UD6fRisxb5J X-Received: by 10.31.191.201 with SMTP id p192mr1195120vkf.56.1518646235765; Wed, 14 Feb 2018 14:10:35 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143293 Archived-At: The manual says: > A =E2=80=9Cprocess sentinel=E2=80=9D is a function that is called wheneve= r the > associated process changes status for any reason, including signals > (whether sent by Emacs or caused by the process=E2=80=99s own actions) th= at > terminate, stop, or continue the process. But that doesn't seem to be the case: (let ((p (make-process :name "sleep" :command '("sleep" "1h") :sentinel (lambda (p s) (message "sentinel: %S" s))))) (sit-for 0.1) (stop-process p) (sit-for 0.1) (continue-process p)) If you then check the messages buffer, you see only the following: > sentinel: "run" That is, the sentinel isn't called when the process is stopped or continued. However, the sentinel *is* called when manually sending a STOP signal to the process. Furthermore, the description about the possible event strings doesn't mention "run". In GNU Emacs 27.0.50 (build 13, x86_64-pc-linux-gnu, GTK+ Version 3.22.24) of 2018-02-14 built on localhost Repository revision: 298275c595f6ca9e77f8131d34dda2b58fe1faa5 Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Debian GNU/Linux buster/sid Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --without-threads --enable-gcc-warnings=3Dwarn-only --enable-gtk-deprecation-warnings --without-pop --with-mailutils --enable-checking --enable-check-lisp-object-type --with-modules 'CFLAGS=3D-O0 -ggdb3'' Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY GNUTLS FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES JSON Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 95233 8069) (symbols 48 20245 1) (miscs 40 40 121) (strings 32 28327 2177) (string-bytes 1 757222) (vectors 16 14136) (vector-slots 8 499270 14020) (floats 8 50 67) (intervals 56 223 0) (buffers 992 12)) --=20 Google Germany GmbH Erika-Mann-Stra=C3=9Fe 33 80636 M=C3=BCnchen Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado If you received this communication by mistake, please don=E2=80=99t forward= it to anyone else (it may contain confidential or privileged information), please erase all copies of it, including all attachments, and please let the sender know it went to the wrong person. Thanks.