From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sK0FKTiv+F49NwAA0tVLHw (envelope-from ) for ; Sun, 28 Jun 2020 14:54:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qF7eJDiv+F5ACgAAB5/wlQ (envelope-from ) for ; Sun, 28 Jun 2020 14:54:48 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C23A7940415 for ; Sun, 28 Jun 2020 14:54:47 +0000 (UTC) Received: from localhost ([::1]:55192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpYhh-0002Cg-Ax for larch@yhetil.org; Sun, 28 Jun 2020 10:54:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpYhK-0002CY-C0 for emacs-orgmode@gnu.org; Sun, 28 Jun 2020 10:54:22 -0400 Received: from latitanza.investici.org ([82.94.249.234]:60919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpYhI-0000SE-5l for emacs-orgmode@gnu.org; Sun, 28 Jun 2020 10:54:22 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 2C0A41201C0; Sun, 28 Jun 2020 14:54:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anche.no; s=stigmate; t=1593356056; bh=11MqMc9YUEhZ20HO9i1Qgc7ZcrxPpDbNSaEAUVARywc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=dRg7glhizzqCL43puQ2a3hjBZXa6JcAGKTBSy4NoTpA4qJkasQbc7eDHO0gWEWmeg SUpwxrg9/4MuuGUooVZOdpa9f67aqbQvusGLphlNkBZdNBznrD93wZHTPNAao63bco y4PGzhRqvgj2QVTCcBOH+gToJs8Sb8AF2hrS3Aec= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: mariotomo@inventati.org) by localhost (Postfix) with ESMTPSA id 88AC3120171; Sun, 28 Jun 2020 14:54:14 +0000 (UTC) Subject: Re: [bug] select TODO items and unexpected behaviour To: Kyle Meyer References: <01d77bed-49e4-51ef-3c56-868a27f39984@anche.no> <87o8p366pa.fsf@kyleam.com> From: Mario Frasca Message-ID: <3a431936-981d-39f0-e147-b2b938c09379@anche.no> Date: Sun, 28 Jun 2020 09:53:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <87o8p366pa.fsf@kyleam.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: pass client-ip=82.94.249.234; envelope-from=mario@anche.no; helo=latitanza.investici.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/28 10:54:16 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=anche.no header.s=stigmate header.b=dRg7glhi; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: cjuJrZnwfyr1 the "somehow", I can confirm it happened in the same session.  it was left like that when I ran toggle-debug-on-error and landed in the debugger. I also noticed that the behaviour on the selection is only implemented for some actions, not all. if you select items, then S- (to raise priority), the result is … difficult to describe, non-selected parts of the buffer disappear, I am asked about a Tag, for whatever reason, at this point I hit C-g, and the raise-priority is applied, but only on the line containing the point. went looking in the code for these functions, and the leading test, recursively implementing the action on the selected lines, I only saw it repeated with variations in a couple such functions. as said, org-priority does not have it.  I think the block could better be generalized, my guess is by defining a well suited macro. regards, MF On 28/06/2020 01:32, Kyle Meyer wrote: > Mario Frasca writes: > >> this behaviour comes after somehow my >> `org-loop-over-headlines-in-active-region' became nil. > Perhaps not the "somehow" but the default value of this option is > different between the last release and master. It changed from nil to t > in e360cd8f3 (Change the default values for several options, > 2020-02-21). > >> if I set it back to t, I get the message "Symbol's value as variable is >> void: right". > Thanks for reporting. Looks like org-todo's call to org-map-entries has > been broken since its introduction in 7.8.05. Should be fixed with > 8a2eb7d1b.