From rgm@gnu.org Thu Dec 11 11:17:49 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 122; hammy, 117; neutral, 76; spammy, 3. spammytokens:0.987-1--iso, 0.987-1--karl, 0.863-+--here hammytokens:0.000-+--H*M:fsf, 0.000-+--H*UA:Emacs, 0.000-+--H*u:Emacs, 0.000-+--H*MI:fsf, 0.000-+--H*UA:Gnus X-Spam-Status: No, score=-9.9 required=4.0 tests=BAYES_00,FOURLA, IMPRONONCABLE_2,MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at quiet) by emacsbugs.donarmstrong.com; 11 Dec 2008 19:17:49 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBBJHkRJ013325 for ; Thu, 11 Dec 2008 11:17:47 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LAr23-0006NR-Ju for quiet@emacsbugs.donarmstrong.com; Thu, 11 Dec 2008 14:17:07 -0500 From: Jari Aalto To: quiet@debbugs.gnu.org Subject: [PATCH] calendar/todo-mode.el: todo-expert-mode, New variable Date: Thu, 11 Dec 2008 20:37:34 +0200 Lines: 67 X-From-Line: emacs-devel-bounces+rgm=gnu.org@gnu.org Thu Dec 11 13:40:02 2008 Received: from mail.gnu.org ([199.232.76.166]:34184 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LAqSA-0004di-Ed for rgm@gnu.org; Thu, 11 Dec 2008 13:40:02 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LAqSl-00089W-2z for rgm@gnu.org; Thu, 11 Dec 2008 13:40:39 -0500 Received: from lists.gnu.org ([199.232.76.165]:40624) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LAqSk-00089S-Tw for rgm@gnu.org; Thu, 11 Dec 2008 13:40:38 -0500 Received: from localhost ([127.0.0.1]:60918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAqSk-0007Ti-Qk for rgm@gnu.org; Thu, 11 Dec 2008 13:40:38 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAqQ5-00060G-HM for emacs-devel@gnu.org; Thu, 11 Dec 2008 13:37:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAqQ4-0005zS-G9 for emacs-devel@gnu.org; Thu, 11 Dec 2008 13:37:52 -0500 Received: from [199.232.76.173] (port=38227 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAqQ4-0005zG-Af for emacs-devel@gnu.org; Thu, 11 Dec 2008 13:37:52 -0500 Received: from main.gmane.org ([80.91.229.2]:56666 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LAqQ3-0007gy-JQ for emacs-devel@gnu.org; Thu, 11 Dec 2008 13:37:51 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LAqPy-0000Ap-PZ for emacs-devel@gnu.org; Thu, 11 Dec 2008 18:37:46 +0000 Received: from a91-155-187-216.elisa-laajakaista.fi ([91.155.187.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Dec 2008 18:37:46 +0000 Received: from jari.aalto by a91-155-187-216.elisa-laajakaista.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Dec 2008 18:37:46 +0000 X-Injected-Via-Gmane: http://gmane.org/ X-Debbugs-No-Ack: yes X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: a91-155-187-216.elisa-laajakaista.fi Cancel-Lock: sha1:/3nrMWMETjPmMAqPDZr5VLd0n1I= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+rgm=gnu.org@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Glenn Morris Severity: wishlist [ resent from http://lists.gnu.org/archive/html/emacs-devel/2008-12/msg00455.html ] Here is patch to suppress questions when todo-expert-mode is set to non-nil Jari 2008-12-11 Jari Aalto * calendar/todo-mode.el (todo-expert-mode): New variable. (todo-delete-item): Check `todo-expert-mode'. (todo-more-important-p): Check `todo-expert-mode'. calendar/todo-mode.el | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/calendar/todo-mode.el b/calendar/todo-mode.el index 8f17a45..7d59cc6 100644 --- a/calendar/todo-mode.el +++ b/calendar/todo-mode.el @@ -57,6 +57,8 @@ ;; (autoload 'todo-insert-item "todo-mode" ;; "Add TODO item." t) ;; +;; (setq todo-expert-mode t) ;; To suppress questions +;; ;; You may now enter new items by typing "M-x todo-insert-item", ;; or enter your TODO list file by typing "M-x todo-show". ;; @@ -348,6 +350,11 @@ Automatically generated when `todo-save-top-priorities' is non-nil." :type 'boolean :group 'todo) +(defcustom todo-expert-mode nil + "If Non-nil, suppress questions." + :type 'boolean + :group 'todo) + ;; Thanks for the ISO time stamp format go to Karl Eichwalder ;; My format string for the appt.el package is "%3b %2d, %y, %02I:%02M%p". ;; @@ -629,7 +636,9 @@ category." (forward-line (1- todo-previous-line)) (let ((item (todo-item-string-start))) (setq todo-previous-answer - (y-or-n-p (concat "More important than '" item "'? "))))) + (if todo-expert-mode + nil ;; No questions + (y-or-n-p (concat "More important than '" item "'? ")))))) todo-previous-answer) (defalias 'todo-ask-p 'todo-more-important-p) @@ -638,8 +647,9 @@ category." (interactive) (if (> (count-lines (point-min) (point-max)) 0) (let* ((todo-entry (todo-item-string-start)) - (todo-answer (y-or-n-p (concat "Permanently remove '" - todo-entry "'? ")))) + (todo-answer (or todo-expert-mode + (y-or-n-p (concat "Permanently remove '" + todo-entry "'? "))))) (when todo-answer (todo-remove-item) (todo-backward-item)) From jari.aalto@cante.net Thu Dec 11 14:45:13 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 44; hammy, 18; neutral, 27; spammy, 0. spammytokens: hammytokens:0.000-+--H*M:fsf, 0.000-+--H*MI:fsf, 0.000-+--bug, 0.002-+--tags, 0.011-+--H*c:us-ascii X-Spam-Status: No, score=-7.9 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8,VALID_BTS_CONTROL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 11 Dec 2008 22:45:14 +0000 Received: from emh04.mail.saunalahti.fi (emh04.mail.saunalahti.fi [62.142.5.110]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBBMj9xr019656 for ; Thu, 11 Dec 2008 14:45:11 -0800 Received: from saunalahti-vams (vs3-10.mail.saunalahti.fi [62.142.5.94]) by emh04-2.mail.saunalahti.fi (Postfix) with SMTP id B00E013BBFB for ; Fri, 12 Dec 2008 00:45:08 +0200 (EET) Received: from emh04.mail.saunalahti.fi ([62.142.5.110]) by vs3-10.mail.saunalahti.fi ([62.142.5.94]) with SMTP (gateway) id A02E4CA26F6; Fri, 12 Dec 2008 00:45:08 +0200 Received: from jondo.cante.net (a91-155-187-216.elisa-laajakaista.fi [91.155.187.216]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 931C741BF3 for ; Fri, 12 Dec 2008 00:45:06 +0200 (EET) To: control@debbugs.gnu.org Subject: Bug#1539 change of tags / patch Mail-Copies-To: poster X-Bug-User-Agent: Emacs 22.2.1 and tinydebian.el 1.97 From: Jari Aalto Date: Fri, 12 Dec 2008 00:45:06 +0200 Message-ID: <87oczi1gct.fsf@jondo.cante.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Antivirus: VAMS tags 1539 + patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 26 09:23:28 2015 Received: (at 1539) by debbugs.gnu.org; 26 Oct 2015 13:23:28 +0000 Received: from localhost ([127.0.0.1]:38602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZqhkF-0006k9-Qt for submit@debbugs.gnu.org; Mon, 26 Oct 2015 09:23:27 -0400 Received: from mail-io0-f171.google.com ([209.85.223.171]:34889) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zqhjw-0006jg-0p for 1539@debbugs.gnu.org; Mon, 26 Oct 2015 09:23:26 -0400 Received: by iofz202 with SMTP id z202so185007434iof.2 for <1539@debbugs.gnu.org>; Mon, 26 Oct 2015 06:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=XpZAJoKIJmyA8r/Eo/8GvRjHh2TjiSsTakmQfWzDcb4=; b=aPWcxOCYLrw+dvwLvXrE5x2J+ZLzDoKa42f8o7te4B+4GYxtrudlJhK5ljR2e4xYA5 agQqbYtCRIhH/JxsRQuNwQGRnM1RUJF7n7Q2oUNBB700NK2QFEeeSAYgBKCyj0GfW3U2 L3+jqL2vyakCWxzz0V+//YZZfRBvC2fRy6j54rhBplTDv487fvASkZ0Ul/97RwK29ZdZ nTeOnpplSaX90n+bbI15bTbLEwnJe3/CY5+1i6NRJ1Bzdzq5TuzG6YCsnSkM/Qrxj/Oa crDUVqVEAcpr9/GDghSdjyNnUYH43+s9ZxUS6pH7MhX788KY+Z3Tp0exomGcVy9xJILM /Cyg== MIME-Version: 1.0 X-Received: by 10.107.135.28 with SMTP id j28mr34429382iod.188.1445865787385; Mon, 26 Oct 2015 06:23:07 -0700 (PDT) Received: by 10.79.94.2 with HTTP; Mon, 26 Oct 2015 06:23:07 -0700 (PDT) Date: Mon, 26 Oct 2015 21:23:07 +0800 Message-ID: Subject: Re: [PATCH] calendar/todo-mode.el: todo-expert-mode, New variable From: Xue Fuqiao To: 1539@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 1539 Cc: jari.aalto@cante.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.7 (/) Todo mode was rewritten in Emacs 24.4. Would you please check if this patch still applies to the current todo-mode.el? From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 28 23:21:07 2016 Received: (at control) by debbugs.gnu.org; 29 Feb 2016 04:21:07 +0000 Received: from localhost ([127.0.0.1]:51279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaFKV-0007Sv-FK for submit@debbugs.gnu.org; Sun, 28 Feb 2016 23:21:07 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:46761) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaFKU-0007So-Ib for control@debbugs.gnu.org; Sun, 28 Feb 2016 23:21:06 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aaFK7-0001ch-OY for control@debbugs.gnu.org; Mon, 29 Feb 2016 05:20:44 +0100 Date: Mon, 29 Feb 2016 15:20:40 +1100 Message-Id: <87egbwywo7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #1539 X-MailScanner-ID: 1aaFK7-0001ch-OY X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457324445.56478@M3adb2QCfASw0Pr64TSwQw X-Spam-Status: No 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: 0.0 (/) close 1539 From unknown Sun Jun 15 01:04:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Mar 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator