From unknown Sat Aug 16 23:47:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59856: 29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only periodically Resent-From: Alex Bochannek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Dec 2022 11:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 59856@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167032528023126 (code B ref -1); Tue, 06 Dec 2022 11:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Dec 2022 11:14:40 +0000 Received: from localhost ([127.0.0.1]:42236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2VuJ-00060w-FZ for submit@debbugs.gnu.org; Tue, 06 Dec 2022 06:14:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:45890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2VuH-00060q-Dk for submit@debbugs.gnu.org; Tue, 06 Dec 2022 06:14:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2VuH-0007ql-8h for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 06:14:37 -0500 Received: from ns.lapseofthought.com ([50.0.39.240] helo=mail.lapseofthought.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2VuE-0002gE-HT for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 06:14:37 -0500 Received: from awb-mbp.local (c-73-92-249-246.hsd1.ca.comcast.net [73.92.249.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lapseofthought.com (Postfix) with ESMTPSA id 4NRHqj0cc6z3pgWp for ; Tue, 6 Dec 2022 03:14:24 -0800 (PST) Authentication-Results: ORIGINATING; auth=pass smtp.auth=alex smtp.mailfrom=alex@bochannek.com From: Alex Bochannek Date: Tue, 06 Dec 2022 03:14:17 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=50.0.39.240; envelope-from=alex@bochannek.com; helo=mail.lapseofthought.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Hello! I started using the Ticker frontend of Newsticker and didn't like that it continuously scrolls the echo area. I am submitting the below patch, which only displays the list of items once, at `newsticker-ticker-period` intervals. The default behavior has not changed. Not sure if this warrants a change in NEWS. Thanks! Newsticker ticker scrolling options to only display periodically * lisp/net/newst-ticker.el (newsticker-ticker-period): Scroll news items only once each period. * doc/misc/newsticker.texi (Frontends): Document ticker scolling behavior. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/lisp/net/newst-ticker.el b/lisp/net/newst-ticker.el index ef0fe83803..abd7c3d04b 100644 --- a/lisp/net/newst-ticker.el +++ b/lisp/net/newst-ticker.el @@ -44,8 +44,10 @@ newsticker--prev-message "Last message that the newsticker displayed.") (defvar newsticker--scrollable-text "" "The text which is scrolled smoothly in the echo area.") +(defvar newsticker--ticker-period-timer nil + "Timer for newsticker ticker display.") (defvar newsticker--ticker-timer nil - "Timer for newsticker ticker.") + "Timer for newsticker ticker scrolling.") ;;;###autoload (defun newsticker-ticker-running-p () @@ -77,7 +79,7 @@ newsticker--set-customvar-ticker (defcustom newsticker-ticker-interval 0.3 - "Time interval for displaying news items in the echo area (seconds). + "Time interval for scrolling news items in the echo area (seconds). If equal or less than 0 no messages are shown in the echo area. For smooth display (see `newsticker-scroll-smoothly') a value of 0.3 seems reasonable. For non-smooth display a value of 10 is a good starting @@ -86,6 +88,17 @@ newsticker-ticker-interval :set #'newsticker--set-customvar-ticker :group 'newsticker-ticker) +(defcustom newsticker-ticker-period + 0 + "Time interval for displaying news items in the echo area (seconds). +If equal or less than 0 messages are shown continuously. In order not +to miss new items, a value of equal or less than the shortest feed +retrieval interval (or the global `newsticker-retrieval-interval`) is +recommended." + :type 'number + :set #'newsticker--set-customvar-ticker + :group 'newsticker-ticker) + (defcustom newsticker-scroll-smoothly t "Decides whether to flash or scroll news items. @@ -129,9 +142,16 @@ newsticker--display-tick "Called from the display timer. This function calls a display function, according to the variable `newsticker-scroll-smoothly'." - (if newsticker-scroll-smoothly - (newsticker--display-scroll) - (newsticker--display-jump))) + (when (not newsticker--ticker-timer) + (if newsticker-scroll-smoothly + (setq newsticker--ticker-timer + (run-at-time 1 + newsticker-ticker-interval + #'newsticker--display-scroll)) + (setq newsticker--ticker-timer + (run-at-time nil + newsticker-ticker-interval + #'newsticker--display-jump))))) (defsubst newsticker--echo-area-clean-p () "Check whether somebody is using the echo area / minibuffer. @@ -149,7 +169,12 @@ newsticker--display-jump (when (newsticker--echo-area-clean-p) (setq newsticker--item-position (1+ newsticker--item-position)) (when (>= newsticker--item-position (length newsticker--item-list)) - (setq newsticker--item-position 0)) + (setq newsticker--item-position 0) + (when (> newsticker-ticker-period 0) + (cancel-timer newsticker--ticker-timer) + (setq newsticker--ticker-timer nil) + (run-at-time newsticker-ticker-interval nil + (lambda () (message ""))))) (setq newsticker--prev-message (nth newsticker--item-position newsticker--item-list)) (message "%s" newsticker--prev-message)))) @@ -192,7 +217,12 @@ newsticker--display-scroll (setq newsticker--prev-message subtext) (setq newsticker--item-position (1+ i)) (when (>= newsticker--item-position l) - (setq newsticker--item-position 0)))))) + (setq newsticker--item-position 0) + (when (> newsticker-ticker-period 0) + (cancel-timer newsticker--ticker-timer) + (setq newsticker--ticker-timer nil) + (run-at-time newsticker-ticker-interval nil + (lambda () (message ""))))))))) ;;;###autoload (defun newsticker-start-ticker () @@ -200,19 +230,26 @@ newsticker-start-ticker Start display timer for the actual ticker if wanted and not running already." (interactive) - (if (and (> newsticker-ticker-interval 0) - (not newsticker--ticker-timer)) - (setq newsticker--ticker-timer - (run-at-time newsticker-ticker-interval - newsticker-ticker-interval - #'newsticker--display-tick)))) + (when (and (> newsticker-ticker-interval 0) + (not newsticker--ticker-period-timer) + (not newsticker--ticker-timer)) + (if (> newsticker-ticker-period 0) + (setq newsticker--ticker-period-timer + (run-at-time nil + newsticker-ticker-period + #'newsticker--display-tick)) + (newsticker--display-tick)))) (defun newsticker-stop-ticker () "Stop newsticker's ticker (but not the news retrieval)." (interactive) - (when newsticker--ticker-timer - (cancel-timer newsticker--ticker-timer) - (setq newsticker--ticker-timer nil))) + (progn + (when newsticker--ticker-timer + (cancel-timer newsticker--ticker-timer) + (setq newsticker--ticker-timer nil)) + (when newsticker--ticker-period-timer + (cancel-timer newsticker--ticker-period-timer) + (setq newsticker--ticker-period-timer nil)))) ;; ====================================================================== ;;; Manipulation of ticker text diff --git a/doc/misc/newsticker.texi b/doc/misc/newsticker.texi index fec571d923..01384b5850 100644 --- a/doc/misc/newsticker.texi +++ b/doc/misc/newsticker.texi @@ -307,11 +307,16 @@ Frontends @findex newsticker-start-ticker @findex newsticker-stop-ticker +@vindex newsticker-ticker-period Headlines can be displayed in the echo area, either scrolling like messages in a stock-quote ticker, or just changing. This can be started with the command @code{newsticker-start-ticker}. It can be stopped with @code{newsticker-stop-ticker}. +The ticker by default runs continuously. To only run it once, at a +specific time interval, set the @code{newsticker-ticker-period} +variable. + @node Navigation @section Navigation @@ -542,8 +547,10 @@ Configuration @itemize @item @vindex newsticker-display-interval +@vindex newsticker-ticker-period @vindex newsticker-scroll-smoothly -@code{newsticker-ticker-interval} and +@code{newsticker-ticker-interval}, +@code{newsticker-ticker-period}, and @code{newsticker-scroll-smoothly} define how headlines are shown in the echo area. @end itemize --=-=-= Content-Type: text/plain -- Alex. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 20:20:48 2022 Received: (at control) by debbugs.gnu.org; 13 Dec 2022 01:20:48 +0000 Received: from localhost ([127.0.0.1]:56863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4tyS-0006Bq-8D for submit@debbugs.gnu.org; Mon, 12 Dec 2022 20:20:48 -0500 Received: from mail-oa1-f44.google.com ([209.85.160.44]:37645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4tyQ-0006Ba-BQ for control@debbugs.gnu.org; Mon, 12 Dec 2022 20:20:46 -0500 Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-12c8312131fso10751740fac.4 for ; Mon, 12 Dec 2022 17:20:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=1fsrWdwwpVJ2glcOol6nRX0p97WY031TVJq4wt72kqk=; b=IjJQo8OezO71mejHdmuMWw/7ijYb7QyYniLG9L+D8wCch2zG0I2pGkskg08oJ0aqPC nLKs5xWOkMlYOleWfxMPfea8jHFBnP5Ifl7x9OO4jFkp0VOptosuxcb5tsNGVzWacY2z TmbuzsKoKasaTBXjbiN2Z0AVtxKTEq99950SyW29X3Kf7i9y6MZzonP2h+/xukbkKzR5 HgD24vPibdWECti4czq58X4/QRWAVQ/8jsCKoT5SdpibVgOqXEAiR+ZzHTLf7ENER1WG DlalWyhwZ4m7ZVJX/umWsm2i6TfWsyafPcd+GCVY8eomdJe8FiN4zzSvNWRm+k9UYGSA hyGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1fsrWdwwpVJ2glcOol6nRX0p97WY031TVJq4wt72kqk=; b=ZS3hAa5moiRb7W5lEUsAfl4NRxiImTXU9hDOKZONnbyW7WOxXuQxcsdHtZ07t76RxQ O9iI5oK5w27zJwKiEanCC9O535gR0TCuyVFt/MMLB7nOB9H+z0BLESXZozcXDylCvB+C bUFaxCLhQsULUhMsn/ZHHUB58Iyci+l7PBiR2gCqdtPo/yK6nn9zhaZtpw53/6uLGFgy w7Xa3Ap6rhZdm8RIri1umtguBTQQnXVPljQEpMU3aMdksqRmpUtE5MO2KY2l82Ib5/wI Te7dObAopKj3ZEOWHSL3vnB4T7eRhkAwNKONGAowDp2Y5yozFs/GwF3Z4BQGckjY5tVI LX8g== X-Gm-Message-State: ANoB5pm77Fk1Y0RzPQ6An6FBFc1Htss2cFdb425tWiFHVTL3/Sjfr0FL PfWUSqGASML2bjCUnLqQJ5KWLnBLw/HYN5joC1JFWyM6 X-Google-Smtp-Source: AA0mqf7nbd7VgJikzrTvFx18RLA83ezNCmlP1qRjmqtK91AV13+C+gyFXJxj+6OHSUi9F+Zr0iEWSK9epEINfRyn8l4= X-Received: by 2002:a05:6870:6c06:b0:145:3a7:99c with SMTP id na6-20020a0568706c0600b0014503a7099cmr71971oab.92.1670894440871; Mon, 12 Dec 2022 17:20:40 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 12 Dec 2022 17:20:40 -0800 From: Stefan Kangas X-Hashcash: 1:20:221213:control@debbugs.gnu.org::sP92/T5Bi3N1AW2k:H4xD MIME-Version: 1.0 Date: Mon, 12 Dec 2022 17:20:40 -0800 Message-ID: Subject: control message for bug #59856 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) severity 59856 wishlist quit From unknown Sat Aug 16 23:47:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59856: Acknowledgement (29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only periodically) Resent-From: Alex Bochannek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Jan 2023 01:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 59856@debbugs.gnu.org Received: via spool by 59856-submit@debbugs.gnu.org id=B59856.16734881222386 (code B ref 59856); Thu, 12 Jan 2023 01:49:02 +0000 Received: (at 59856) by debbugs.gnu.org; 12 Jan 2023 01:48:42 +0000 Received: from localhost ([127.0.0.1]:44258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFmhu-0000cQ-Jf for submit@debbugs.gnu.org; Wed, 11 Jan 2023 20:48:42 -0500 Received: from ns.lapseofthought.com ([50.0.39.240]:24610 helo=mail.lapseofthought.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFmhs-0000cG-DN for 59856@debbugs.gnu.org; Wed, 11 Jan 2023 20:48:41 -0500 Received: from awb-mbp.local (unknown [IPv6:2601:646:4200:e140:8910:68c3:fea5:26cc]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lapseofthought.com (Postfix) with ESMTPSA id 4NsnWn61vPz3pxKj for <59856@debbugs.gnu.org>; Wed, 11 Jan 2023 17:48:37 -0800 (PST) Authentication-Results: ORIGINATING; auth=pass smtp.auth=alex smtp.mailfrom=alex@bochannek.com From: Alex Bochannek In-Reply-To: (GNU bug Tracking System's message of "Tue, 06 Dec 2022 11:15:02 +0000") References: Date: Wed, 11 Jan 2023 17:48:37 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I am curious if there is anything I can do to help get this patch accepted. I have been running Newsticker with the feature since I submitted it and it's been working well. Thanks! -- Alex. From unknown Sat Aug 16 23:47:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59856: Acknowledgement (29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only periodically) Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Jan 2023 09:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Alex Bochannek , Ulf Jasper Cc: 59856@debbugs.gnu.org Received: via spool by 59856-submit@debbugs.gnu.org id=B59856.167351694428627 (code B ref 59856); Thu, 12 Jan 2023 09:50:02 +0000 Received: (at 59856) by debbugs.gnu.org; 12 Jan 2023 09:49:04 +0000 Received: from localhost ([127.0.0.1]:44725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFuCl-0007Rf-Nx for submit@debbugs.gnu.org; Thu, 12 Jan 2023 04:49:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFuCk-0007RC-5d for 59856@debbugs.gnu.org; Thu, 12 Jan 2023 04:49:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFuCe-0002Tv-47; Thu, 12 Jan 2023 04:48:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=EXyNszRmV40VbLEyjnczIr8MLbmzkGcBM8aEpFZdfGM=; b=U8HF6f2WZZTz G8Pg/3w8YwP8/qgAjklLp8uMuEXcr3RfEp7zZR5iCjm2JmgpSDwLAcgJRiTZcxkkccp261bMCWybN Dh82LqcGExmh2I91uk/lT0/P1VCPbMb3EUmFLdihTm9ynKZnTDApssNkk5ORizfMKzxY0CkoVXALP YSj80eIFdJidSHpBaOKWP9NDHOfmM71yZb9OqS14WMyBOIxw7X6y0XCOGeSYuCqwyH9sAjIUaPXee gS8ePlBBPHtmCkahQEDzq53oMH+Lzu9ZImEGc0HkX6+Ed0nY6fg77JbAHWEfzPlEkG43qw2UMv7AY xagyEIctUu4pQC+eSig3wQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFuCc-0001V2-Qs; Thu, 12 Jan 2023 04:48:55 -0500 Date: Thu, 12 Jan 2023 11:49:29 +0200 Message-Id: <837cxskrpy.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Alex Bochannek on Wed, 11 Jan 2023 17:48:37 -0800) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Alex Bochannek > Date: Wed, 11 Jan 2023 17:48:37 -0800 > > I am curious if there is anything I can do to help get this patch > accepted. I have been running Newsticker with the feature since I > submitted it and it's been working well. Ulf, could you please review the patch and comment on it? Thanks. From unknown Sat Aug 16 23:47:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59856: Acknowledgement (29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only periodically) Resent-From: Ulf Jasper Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Jan 2023 20:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 59856@debbugs.gnu.org, Alex Bochannek Received: via spool by 59856-submit@debbugs.gnu.org id=B59856.16735561896821 (code B ref 59856); Thu, 12 Jan 2023 20:44:01 +0000 Received: (at 59856) by debbugs.gnu.org; 12 Jan 2023 20:43:09 +0000 Received: from localhost ([127.0.0.1]:48685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pG4Pk-0001lx-NW for submit@debbugs.gnu.org; Thu, 12 Jan 2023 15:43:08 -0500 Received: from mout.web.de ([212.227.17.11]:41885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pG4Pi-0001lO-SP for 59856@debbugs.gnu.org; Thu, 12 Jan 2023 15:43:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1673556171; bh=bouVmqiW1EIxtkyGocyOrNZOJb1cs4yD9MQYKhbs7v4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=O4/1ivB+Wh0HE2krXNGSWWC4tZ4LQRxxyk59uil7+Oenc943UZyaS81/uEjD4YbxR Vm9kh/6kyyamaP7l1dSVq6KtRCTXhU064FTqYxe/lpBwN/50fp7eJ6wmNhbhwd1Ya6 LAfO3IPEQufiIwJgHSRlnqfQBk3er/WPz1BHUnQBEGLSAScbCFiAijNQYVfrwF1zKa /QaM4v2P34sCY2/Mmn89RbkyBVLKXIwLSWsYIjgHRsa+FUprc39n+gOPRMhNSjY3DY ZICirETSY/z94eC0lvV9buH8Ilp06bPpwh1/1WPWmA61KXMjoJVTO6AqUjWWK3wx2a bDYZlV5MfWyuA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from udesktop ([79.213.242.166]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MDvDi-1pPwJb0uPs-009tlg; Thu, 12 Jan 2023 21:42:51 +0100 From: Ulf Jasper In-Reply-To: <837cxskrpy.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Jan 2023 11:49:29 +0200") References: <837cxskrpy.fsf@gnu.org> Date: Thu, 12 Jan 2023 21:42:42 +0100 Message-ID: <87fscftrgd.fsf@panama> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:sGeArKYFc5BnDiLjewuZ3cpLqKB+BVp0yzJIPNrxfIJsxtz+dN4 BFtElIiKLAYUe7pXri2oHpUMEGB3RSIJ4dncJI8QvKtmCoQ8BEgBIg0kXRjXGn5PI/SkCwT ey/m001VLyhldKETkvLBB4DZPwWsHw9QbPm8ZuDIVunVSC/j5U5myHUMBwo7P4JH6G6F+GH 9Ol/ZmNrTMk3zRD1h7VUw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:twH3dJha26I=;KAouru354F8V16mAvhZJxXrYG+G ROh/1srk+siED7qk6gGJqE9Y8dxxhIyKGMSUd5P650nkPNLppU3ZsOoNgehcUPwN+bwx/vN2S Vd7KdxW/agVbJdeY9vUg6hWcZOzaHg5QewdW+J99JA0q+xYmefyngCSk2p7PHuZyddcfr8R9N tJxWZQ7+FhBJTvFMqazqsNoHoVHKfyC88MA/K+X988/WfFaSw8UQFHjCYzECy4pPaBKYlbEZG uTDHLTexRROSn5cEcvaQwokeR3gtZjHQt089Ct0y8jvu6dGodq3cXG6i+ZK3AhE1Fqfo6f+2W zD5PCX/FEkc/E7QQcqOVTMgMELnvTnhWRGJeqBjNC/+KHYh8OSZN+as8stq7DsH9aGJylfnqj AkyGPR7RYZtCZhdpduFntps5Yb1VJzcEWHMl2Oy/sdY0cW1D913NyowfrfRtauU/TCcufLNY3 icIWpeP1jdONCkzfqpkgccWWCRqehiBhOEZwCKMrfq5vLbBM8wJ4By3bdfG38Jk3UpyG2A3/4 8wf1ttiGKTb0Wr9VyR+iaF5pv4rneU8yTzFsErNFKBKovWLXj9u552m+XorShM5/z/ok8vXic zfNZLB3IvBErQBjpYdzWd7I4DDfQQX7myOYKRkVqzj22AYITbfmaMGmDFuTWwD4GMSLnCe32u G6RcNR1Go/6V1Y33AGoXz7kUf6LAZavFNb7iEL+KjDriS/+HgRZ/oC8Sm6+DcaxN0xdwYkzAH vvB9Pu2zY1XssaXKt0HsrI3bvpMEzjJdbILqwp56OW3B5BJXM63NsnIicqeI4KRyesBjo4T3V XbNefWtAIrRrqT22ZhzDjSOFEA5MnnSkLFlUM4nVOBCk2U/8gWzZ2SE6Y7Hn1H4SV9zlNCw04 XAk0Bvt5BNfVqZZWDds1isPsufxOj7lEnD/6PfOdnHEnU/2aVcPxxQBByBWEIcq6f4Ohv9Dmf 2wrY8MBwphfeeQTOAalBmVNOBkk= X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 12.01.2023 um 11:49 (+0200) schrieb Eli Zaretskii: > Ulf, could you please review the patch and comment on it? The patch looks good. I can apply it when copyright things are settled. (I guess that the patch does not count as "tiny" enough to be exempt from that.) Best, ulf From unknown Sat Aug 16 23:47:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59856: Acknowledgement (29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only periodically) Resent-From: Alex Bochannek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Jan 2023 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ulf Jasper Cc: 59856@debbugs.gnu.org, Eli Zaretskii Received: via spool by 59856-submit@debbugs.gnu.org id=B59856.167356092315029 (code B ref 59856); Thu, 12 Jan 2023 22:03:02 +0000 Received: (at 59856) by debbugs.gnu.org; 12 Jan 2023 22:02:03 +0000 Received: from localhost ([127.0.0.1]:48728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pG5e6-0003uL-MB for submit@debbugs.gnu.org; Thu, 12 Jan 2023 17:02:02 -0500 Received: from ns.lapseofthought.com ([50.0.39.240]:19104 helo=mail.lapseofthought.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pG5e5-0003tu-EK for 59856@debbugs.gnu.org; Thu, 12 Jan 2023 17:02:01 -0500 Received: from awb-mbp.local (unknown [IPv6:2601:646:4200:e140:841d:70c7:7109:71de]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lapseofthought.com (Postfix) with ESMTPSA id 4NtJRp2v9qz3pgJH; Thu, 12 Jan 2023 14:01:58 -0800 (PST) Authentication-Results: ORIGINATING; auth=pass smtp.auth=alex smtp.mailfrom=alex@bochannek.com From: Alex Bochannek In-Reply-To: <87fscftrgd.fsf@panama> (Ulf Jasper's message of "Thu, 12 Jan 2023 21:42:42 +0100") References: <837cxskrpy.fsf@gnu.org> <87fscftrgd.fsf@panama> Date: Thu, 12 Jan 2023 14:01:57 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ulf Jasper writes: > Am 12.01.2023 um 11:49 (+0200) schrieb Eli Zaretskii: >> Ulf, could you please review the patch and comment on it? > > The patch looks good. I can apply it when copyright things are settled. > (I guess that the patch does not count as "tiny" enough to be exempt > from that.) Appreciate the feedback! My copyright assignment should be on file. -- Alex. From unknown Sat Aug 16 23:47:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59856: Acknowledgement (29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only periodically) Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jan 2023 06:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Alex Bochannek Cc: ulf.jasper@web.de, 59856@debbugs.gnu.org Received: via spool by 59856-submit@debbugs.gnu.org id=B59856.167359176916605 (code B ref 59856); Fri, 13 Jan 2023 06:37:01 +0000 Received: (at 59856) by debbugs.gnu.org; 13 Jan 2023 06:36:09 +0000 Received: from localhost ([127.0.0.1]:49344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGDfd-0004Jl-7G for submit@debbugs.gnu.org; Fri, 13 Jan 2023 01:36:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGDfa-0004JJ-KH for 59856@debbugs.gnu.org; Fri, 13 Jan 2023 01:36:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGDfU-0000ZD-1R; Fri, 13 Jan 2023 01:36:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=v+9yvrjZp0BMQ2mVTe0iGWzMAA/rg7T3EJJgsp8ElOE=; b=Ra1bvv40myef /yanGjOl60tNgpuA3h7iMCKnunJWjwtRCaJl4BR0Oc4NdpYu/A4FBAebbkMfQG4ybM3TSCQjEJwcL MLc4N6pKjXAvamImrS907jSCkQKRdUiiK8/tQX0yiTZyH3KkU9mN5zXEc99ZziiJHt6py08/j2xgu GCQ0y+BnAAKNhxVbZNT5jfx/jTXNQK9QfQBzUlPwtMf1NXetv3r1xkIY5NDs8zFgKZT8FLMzYUhlk mZkfP9k1aKQaTNCIeqJIv5n/Yt1VOUfWt3vpIT8V7TbYdUEDgABWP0NkiZdfrTi3uKBm4KxiScH8K ++iOB3s2737UGVq9YoDMxw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGDfR-0003Wf-G0; Fri, 13 Jan 2023 01:35:59 -0500 Date: Fri, 13 Jan 2023 08:35:56 +0200 Message-Id: <83y1q79c1f.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Alex Bochannek on Thu, 12 Jan 2023 14:01:57 -0800) References: <837cxskrpy.fsf@gnu.org> <87fscftrgd.fsf@panama> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Alex Bochannek > Cc: Eli Zaretskii , 59856@debbugs.gnu.org > Date: Thu, 12 Jan 2023 14:01:57 -0800 > > Ulf Jasper writes: > > > Am 12.01.2023 um 11:49 (+0200) schrieb Eli Zaretskii: > >> Ulf, could you please review the patch and comment on it? > > > > The patch looks good. I can apply it when copyright things are settled. > > (I guess that the patch does not count as "tiny" enough to be exempt > > from that.) > > Appreciate the feedback! > > My copyright assignment should be on file. Right, it's there. Ulf, please install this on the master branch. Thanks. From unknown Sat Aug 16 23:47:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59856: Acknowledgement (29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only periodically) Resent-From: Ulf Jasper Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jan 2023 08:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 59856@debbugs.gnu.org, Alex Bochannek Received: via spool by 59856-submit@debbugs.gnu.org id=B59856.167385734924141 (code B ref 59856); Mon, 16 Jan 2023 08:23:02 +0000 Received: (at 59856) by debbugs.gnu.org; 16 Jan 2023 08:22:29 +0000 Received: from localhost ([127.0.0.1]:60375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHKlB-0006HJ-6Q for submit@debbugs.gnu.org; Mon, 16 Jan 2023 03:22:29 -0500 Received: from mout.web.de ([212.227.17.12]:43497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHKl9-0006H5-Pq for 59856@debbugs.gnu.org; Mon, 16 Jan 2023 03:22:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1673857332; bh=DN5hA+PtjaAKUxBozRtiblpxg+o+DwDHfqu55BJ8iCY=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=YBtH05vMftsiilfBKNOOhdEJZ9//iVAjbVnnH0bj5N2XUjlh6WWbWoZHGL4h82Gso m8PvU4JZJmpIdVQqjVKqxUTteTfwarW94xhva8+Pod8hWkvjPKU7t/tOHjrpT1W0XH MdNOT1BsncD9nk8y4Kv3txvnsdGmT+K+r4klHQs2W8dv0yS8v3TZxUJAEfAIuqJ6RX mkUGvclIEOcGh1CZECIoksDxeEa6H8B6MKe2JtTk5gO7wOHEJZzwj0XtfVsSC0v7hf aEgnN0Jbf9vMW87WPhyWFJbpiPlz7G5RIA2aUHit/nFwnPFBL8DeySLw9nBsIiK6xk gnZZjmrEjKvYg== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from udesktop ([87.187.53.47]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mr7eu-1ouyt33mKs-00oCjI; Mon, 16 Jan 2023 09:22:11 +0100 From: Ulf Jasper In-Reply-To: <83y1q79c1f.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Jan 2023 08:35:56 +0200") References: <837cxskrpy.fsf@gnu.org> <87fscftrgd.fsf@panama> <83y1q79c1f.fsf@gnu.org> Date: Mon, 16 Jan 2023 09:22:07 +0100 Message-ID: <87sfgaris0.fsf@panama> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:PPwtDIRHWzLwS3UUB0LXO+TzVvnLxOTYflUFj6D7V/w6mhnOoQ6 1nCt4eB2Eu7iWkHUhrKoqoGXAcOWVF32ninyFwQOtTpSc8rngewjCR2OM1UK5MlG6UKPqs4 SSn35o5PUDLawdSW3B3fmstSnVGJaiqMialKjBef5L7KMHU/xUjdP4vYYRViPnzh87hwN3W f6WDttGBoyt35DgbsVGnA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:twYZQzVT3VQ=;pniPi9YOfwmD4AHuHMJh2QUmTwu QBQWxJUW4XyronxGRqpXF725wCLkNpS9pQVrJXNXfQ/nu1YD2I0763iPjPXpyYpC+2yCV5zqS BfczTEdKdNXRhhyHbD0A8emHsC8vBjZvJDdPW2REPVVRgTObEMX6+Mvn5h1gkpDxXaE/zg4Ux vB9DgCtgDRkeBuYfDtM10EakwXGwbS0eydc/Hei6HYq8Z2nDRieazfc/5kL0JTzvzyOozrqYX I274BCxQRuCPNiA0J17cOvrosm6+7RfCwX9rQwUghFcRAv8kHEfGPy2IRmJhNhNy1DmAAcaEn DkHLz5YuIrqDsa2P+8UrAbQsxER9qBkJLtQa0xj/5bbDJXIbFwKHHUJtQ+rOH16LwHhT/iG3b 8v7qEjYm2SDwQkU93xTuBZb8hEObPeDBWebhEoXb7HXaWxUJyGEDawvw2+QSwP6gmEHatGNRf j6do0AC6XruEa4W6zyewn00KmSL+EUvIZS+w7VKPmledUGTdpyF/stw7AbjKr+Lc9BNo/AXec JIsP76KXyRbnzh/I/80IicAsPuS7Zn2lOaAleZiLXCiEAWgjdlls9F2BPioPgV9iyJgp/IQ/L PLrzO6wlYm54gWFFM0TC6JcAkb2vfVuQK1XEI8xYdsPe7HHRlNpbLLl/YVrzyIQeaaLdzq+Yt qtCkoRRAgv7hFX7mqyzl+HXfv0b3MbahKIvyyPzGs3aH2bbvezfespWxjijJ1x1Yvdu009kpl rkVynAMjzWQ6uqDqHNnqUEH/vOVG7G8aFtNQthhqAILBPKPBQ6oAacTdcV+W+hjrXwpKQRemY 5+Qa10WxsIRG0dr6sBelvXd7eUH0wVFtXt/tzp8uZ06VQD6oHfTvtfb5cVsg/tZ8ZMHowmlRS NMGuhjYPTV8dhsv6zU7YmADdO6xfIym4GBMe2MSqoUNUy3IMdVDLeWyeJDwunNd2/5Xf8wNUO L4/sBXKeDF8wAt8wxA1zBHvmmhs= X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 13.01.2023 um 08:35 (+0200) schrieb Eli Zaretskii: > Ulf, please install this on the master branch. Done. From unknown Sat Aug 16 23:47:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Alex Bochannek Subject: bug#59856: closed (Re: bug#59856: Acknowledgement (29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only periodically)) Message-ID: References: <83tu0q4mii.fsf@gnu.org> X-Gnu-PR-Message: they-closed 59856 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 59856@debbugs.gnu.org Date: Mon, 16 Jan 2023 13:50:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1673877002-19826-1" This is a multi-part message in MIME format... ------------=_1673877002-19826-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #59856: 29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only pe= riodically which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 59856@debbugs.gnu.org. --=20 59856: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59856 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1673877002-19826-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 59856-done) by debbugs.gnu.org; 16 Jan 2023 13:50:02 +0000 Received: from localhost ([127.0.0.1]:60834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHPs9-00059V-Jp for submit@debbugs.gnu.org; Mon, 16 Jan 2023 08:50:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHPs7-00059G-DK for 59856-done@debbugs.gnu.org; Mon, 16 Jan 2023 08:50:00 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHPs0-0005il-OF; Mon, 16 Jan 2023 08:49:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KJ0dJbtp77GbExOpvR2E+y115ohx4lPX9uv//Ln27go=; b=ICURMzN5T1MO WOgkLPSOU2USVvYRqAIchzzctUc5PcN170D7MrPmEhfoP58J4s7tuP/R5E4tprLbbdFJ78LvhBJiX kamo4PC4rwe5Z8oxqza/dUPC3B9rC07Ca/Aq8fCnPdo+XEGL0cy8VaywzB+D+xvG7VZhQV9gHynUO DOdvh/oh7ve7u4ES3AdT0rPvdQSfNuaUTZnRr6U45HXdzTTHKu5fWRcRRSxHEOEyP+SFdyCyjCuqQ KpLQOpa3Gfp2NPDmXp1NnsBz+2K7Wfn/AlRDJslKUXMKSToZnJxunOYbaspoKNEElLjnwIAXC13M2 6fKiByRTvyPDfzouT8/D+w==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHPrx-0002Od-VR; Mon, 16 Jan 2023 08:49:52 -0500 Date: Mon, 16 Jan 2023 15:49:57 +0200 Message-Id: <83tu0q4mii.fsf@gnu.org> From: Eli Zaretskii To: Ulf Jasper In-Reply-To: <87sfgaris0.fsf@panama> (message from Ulf Jasper on Mon, 16 Jan 2023 09:22:07 +0100) Subject: Re: bug#59856: Acknowledgement (29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only periodically) References: <837cxskrpy.fsf@gnu.org> <87fscftrgd.fsf@panama> <83y1q79c1f.fsf@gnu.org> <87sfgaris0.fsf@panama> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59856-done Cc: 59856-done@debbugs.gnu.org, alex@bochannek.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Ulf Jasper > Cc: Alex Bochannek , 59856@debbugs.gnu.org > Date: Mon, 16 Jan 2023 09:22:07 +0100 > > Am 13.01.2023 um 08:35 (+0200) schrieb Eli Zaretskii: > > Ulf, please install this on the master branch. > > Done. Thanks, I'm therefore closing the bug. ------------=_1673877002-19826-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Dec 2022 11:14:40 +0000 Received: from localhost ([127.0.0.1]:42236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2VuJ-00060w-FZ for submit@debbugs.gnu.org; Tue, 06 Dec 2022 06:14:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:45890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2VuH-00060q-Dk for submit@debbugs.gnu.org; Tue, 06 Dec 2022 06:14:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2VuH-0007ql-8h for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 06:14:37 -0500 Received: from ns.lapseofthought.com ([50.0.39.240] helo=mail.lapseofthought.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2VuE-0002gE-HT for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 06:14:37 -0500 Received: from awb-mbp.local (c-73-92-249-246.hsd1.ca.comcast.net [73.92.249.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lapseofthought.com (Postfix) with ESMTPSA id 4NRHqj0cc6z3pgWp for ; Tue, 6 Dec 2022 03:14:24 -0800 (PST) Authentication-Results: ORIGINATING; auth=pass smtp.auth=alex smtp.mailfrom=alex@bochannek.com From: Alex Bochannek To: bug-gnu-emacs@gnu.org Subject: 29.0.50; [PATCH] Feature suggestion, Newsticker runs ticker only periodically Date: Tue, 06 Dec 2022 03:14:17 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=50.0.39.240; envelope-from=alex@bochannek.com; helo=mail.lapseofthought.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Hello! I started using the Ticker frontend of Newsticker and didn't like that it continuously scrolls the echo area. I am submitting the below patch, which only displays the list of items once, at `newsticker-ticker-period` intervals. The default behavior has not changed. Not sure if this warrants a change in NEWS. Thanks! Newsticker ticker scrolling options to only display periodically * lisp/net/newst-ticker.el (newsticker-ticker-period): Scroll news items only once each period. * doc/misc/newsticker.texi (Frontends): Document ticker scolling behavior. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/lisp/net/newst-ticker.el b/lisp/net/newst-ticker.el index ef0fe83803..abd7c3d04b 100644 --- a/lisp/net/newst-ticker.el +++ b/lisp/net/newst-ticker.el @@ -44,8 +44,10 @@ newsticker--prev-message "Last message that the newsticker displayed.") (defvar newsticker--scrollable-text "" "The text which is scrolled smoothly in the echo area.") +(defvar newsticker--ticker-period-timer nil + "Timer for newsticker ticker display.") (defvar newsticker--ticker-timer nil - "Timer for newsticker ticker.") + "Timer for newsticker ticker scrolling.") ;;;###autoload (defun newsticker-ticker-running-p () @@ -77,7 +79,7 @@ newsticker--set-customvar-ticker (defcustom newsticker-ticker-interval 0.3 - "Time interval for displaying news items in the echo area (seconds). + "Time interval for scrolling news items in the echo area (seconds). If equal or less than 0 no messages are shown in the echo area. For smooth display (see `newsticker-scroll-smoothly') a value of 0.3 seems reasonable. For non-smooth display a value of 10 is a good starting @@ -86,6 +88,17 @@ newsticker-ticker-interval :set #'newsticker--set-customvar-ticker :group 'newsticker-ticker) +(defcustom newsticker-ticker-period + 0 + "Time interval for displaying news items in the echo area (seconds). +If equal or less than 0 messages are shown continuously. In order not +to miss new items, a value of equal or less than the shortest feed +retrieval interval (or the global `newsticker-retrieval-interval`) is +recommended." + :type 'number + :set #'newsticker--set-customvar-ticker + :group 'newsticker-ticker) + (defcustom newsticker-scroll-smoothly t "Decides whether to flash or scroll news items. @@ -129,9 +142,16 @@ newsticker--display-tick "Called from the display timer. This function calls a display function, according to the variable `newsticker-scroll-smoothly'." - (if newsticker-scroll-smoothly - (newsticker--display-scroll) - (newsticker--display-jump))) + (when (not newsticker--ticker-timer) + (if newsticker-scroll-smoothly + (setq newsticker--ticker-timer + (run-at-time 1 + newsticker-ticker-interval + #'newsticker--display-scroll)) + (setq newsticker--ticker-timer + (run-at-time nil + newsticker-ticker-interval + #'newsticker--display-jump))))) (defsubst newsticker--echo-area-clean-p () "Check whether somebody is using the echo area / minibuffer. @@ -149,7 +169,12 @@ newsticker--display-jump (when (newsticker--echo-area-clean-p) (setq newsticker--item-position (1+ newsticker--item-position)) (when (>= newsticker--item-position (length newsticker--item-list)) - (setq newsticker--item-position 0)) + (setq newsticker--item-position 0) + (when (> newsticker-ticker-period 0) + (cancel-timer newsticker--ticker-timer) + (setq newsticker--ticker-timer nil) + (run-at-time newsticker-ticker-interval nil + (lambda () (message ""))))) (setq newsticker--prev-message (nth newsticker--item-position newsticker--item-list)) (message "%s" newsticker--prev-message)))) @@ -192,7 +217,12 @@ newsticker--display-scroll (setq newsticker--prev-message subtext) (setq newsticker--item-position (1+ i)) (when (>= newsticker--item-position l) - (setq newsticker--item-position 0)))))) + (setq newsticker--item-position 0) + (when (> newsticker-ticker-period 0) + (cancel-timer newsticker--ticker-timer) + (setq newsticker--ticker-timer nil) + (run-at-time newsticker-ticker-interval nil + (lambda () (message ""))))))))) ;;;###autoload (defun newsticker-start-ticker () @@ -200,19 +230,26 @@ newsticker-start-ticker Start display timer for the actual ticker if wanted and not running already." (interactive) - (if (and (> newsticker-ticker-interval 0) - (not newsticker--ticker-timer)) - (setq newsticker--ticker-timer - (run-at-time newsticker-ticker-interval - newsticker-ticker-interval - #'newsticker--display-tick)))) + (when (and (> newsticker-ticker-interval 0) + (not newsticker--ticker-period-timer) + (not newsticker--ticker-timer)) + (if (> newsticker-ticker-period 0) + (setq newsticker--ticker-period-timer + (run-at-time nil + newsticker-ticker-period + #'newsticker--display-tick)) + (newsticker--display-tick)))) (defun newsticker-stop-ticker () "Stop newsticker's ticker (but not the news retrieval)." (interactive) - (when newsticker--ticker-timer - (cancel-timer newsticker--ticker-timer) - (setq newsticker--ticker-timer nil))) + (progn + (when newsticker--ticker-timer + (cancel-timer newsticker--ticker-timer) + (setq newsticker--ticker-timer nil)) + (when newsticker--ticker-period-timer + (cancel-timer newsticker--ticker-period-timer) + (setq newsticker--ticker-period-timer nil)))) ;; ====================================================================== ;;; Manipulation of ticker text diff --git a/doc/misc/newsticker.texi b/doc/misc/newsticker.texi index fec571d923..01384b5850 100644 --- a/doc/misc/newsticker.texi +++ b/doc/misc/newsticker.texi @@ -307,11 +307,16 @@ Frontends @findex newsticker-start-ticker @findex newsticker-stop-ticker +@vindex newsticker-ticker-period Headlines can be displayed in the echo area, either scrolling like messages in a stock-quote ticker, or just changing. This can be started with the command @code{newsticker-start-ticker}. It can be stopped with @code{newsticker-stop-ticker}. +The ticker by default runs continuously. To only run it once, at a +specific time interval, set the @code{newsticker-ticker-period} +variable. + @node Navigation @section Navigation @@ -542,8 +547,10 @@ Configuration @itemize @item @vindex newsticker-display-interval +@vindex newsticker-ticker-period @vindex newsticker-scroll-smoothly -@code{newsticker-ticker-interval} and +@code{newsticker-ticker-interval}, +@code{newsticker-ticker-period}, and @code{newsticker-scroll-smoothly} define how headlines are shown in the echo area. @end itemize --=-=-= Content-Type: text/plain -- Alex. --=-=-=-- ------------=_1673877002-19826-1--