From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WIZaMDU9smD4pgAAgWs5BA (envelope-from ) for ; Sat, 29 May 2021 15:10:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OGeFKzU9smA9fgAAbx9fmQ (envelope-from ) for ; Sat, 29 May 2021 13:10:13 +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 278781A48B for ; Sat, 29 May 2021 15:10:13 +0200 (CEST) Received: from localhost ([::1]:60590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmyjD-0006FQ-QA for larch@yhetil.org; Sat, 29 May 2021 09:10:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmxOI-0002v0-1C for emacs-orgmode@gnu.org; Sat, 29 May 2021 07:44:30 -0400 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]:39719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmxOG-0000vS-Cv for emacs-orgmode@gnu.org; Sat, 29 May 2021 07:44:29 -0400 Received: by mail-ej1-x634.google.com with SMTP id l1so9205175ejb.6 for ; Sat, 29 May 2021 04:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=81nF0Uun+4vWjr9PKhYfC/n95JWHSGdYHYHJCf8XLDM=; b=PPhgiKTbKXoXWEhXyGSU+ORbeaBwTel9WtUuDg6PEiV3Y47MHZlbH+o9tjsb/nRwso 8a+fjJ9m/etJzS/5aWbuRr45BNy14+ge3qoglJef6NExBdYh6fvF93jfJkFhR0ddNrAs qRkldriWZpVf2hQ4YnK5ctz0KcN1hLat9AVsG5dw/Xx2crx71aDHKqxJUR1PpWQolmyY ExfaCkmhsENNG5KPNnbQEvEnrS9ylFT1MDdOCg+oU8yZ8IJ9nUB4dGedktF3guCfksvy Vlp/ZplqV8kxgFJhzSgTAzDqwCs58XBRzw75Mj2nrpdanjv3C3GDxob1JYB8p4GfOmgo WuxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=81nF0Uun+4vWjr9PKhYfC/n95JWHSGdYHYHJCf8XLDM=; b=Zyh4kgQ7J5VxJJY7cX/bQZ3PK1yv6FFzrSdVvnFHlUv8mS2cosMV4J5qmK40m+5s6/ QSgAlZ3L51971V86LyAxR3xsgZ2Z5JqBAlL8lWv3Tlbhj7eUl9p7sVpFCTzvokHgbWee +hyZFO6yMIQalFhbuZh4HXplcVeK/u+DYQvLnRA6IgaqRE+pMMA7LQS9a/hVX1uc7AHM 8LK5oGAeoisO4gyenVv0kOfjBI/tc6KoVgqdYRsou+mSOxZZtsWXdyKYlYNylWZ55IaB 1CqE9O62Tv3f+nQR3ngE2WOlp1VH0Tg6maR5MrY49pZKypj0uRadx3aSRBeqhLuxRXYo hKYg== X-Gm-Message-State: AOAM532hadivs6HmZKl2WEsMQNzjURGpYN3YZwWKITW1UBF9dqdobw4a x1PzK9t6xSPjJ53nP6xqwo+CMGrNVQ== X-Google-Smtp-Source: ABdhPJwzhav0ANXit98z9vamWB0mpgYlScLmDTf8Q25fsp6qH2VBeWneKybnlHiuUvwTaIicXkYTLw== X-Received: by 2002:a17:906:1814:: with SMTP id v20mr10227307eje.152.1622288665761; Sat, 29 May 2021 04:44:25 -0700 (PDT) Received: from ?IPv6:2a02:810d:413f:dea0:18de:8a50:20d7:c1dd? ([2a02:810d:413f:dea0:18de:8a50:20d7:c1dd]) by smtp.gmail.com with ESMTPSA id yr15sm3526245ejb.16.2021.05.29.04.44.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 29 May 2021 04:44:23 -0700 (PDT) To: emacs-orgmode@gnu.org From: =?UTF-8?Q?Jakob_Sch=c3=b6ttl?= Subject: [bug] org-agenda-set-tags does not append tags to headline but at cursor Message-ID: <1ba6520e-5fcc-d0e6-b75c-c57c5095496c@gmail.com> Date: Sat, 29 May 2021 13:44:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=jschoett@gmail.com; helo=mail-ej1-x634.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 29 May 2021 09:09:12 -0400 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622293813; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=81nF0Uun+4vWjr9PKhYfC/n95JWHSGdYHYHJCf8XLDM=; b=TlP8SGWqeBq1G7ephkxTWI6TX6w24fiSf6pSqd1UBoOEwhv6iJw99jVy5oA9n2mUXHMoRK Sd+GqU/fZTP77PBDrj9lsDWEsDlYe8prnuAgA1N3uyx6vdMAy4536DqYJxF8nOft3DdoWP sqTIPs/sPBTugNywzBuWWv8UWH3aybl/t9ptbCpqilg1J8yS0WEiYezZb2ao4KrGuPKUeR /v9UzwVp7XJDybFRo2aQcBv8I7YK3xjCb/EJ9SBkou00+SKIUmEpVSjVQoYDAj3j9KX6A2 Ewr2enCS3EPyIs3drGzJxN1lBPjC8zWfYhvwu9igAd7oFt3u4bvEKM+HI9k8CA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622293813; a=rsa-sha256; cv=none; b=QEeUkfIMWUtd7GVh8f+WljtUK7QuAIxaui0UReNPoaePNicgmljOVR+EqTUrp+upwTFzrw 0+6i4JLBVWA0X92as+TkvoXfpYNS5Dyntj/x+I8nXz0K8NlkdPSvkjB93oom5HK7SczRA3 /d152J9vH1TOL+5Cg/+aj/imObGQq2IgTaNQCU1E/cYzftwerE9U4R6OoWpQblY+feTOns u8ewo/XnDgT1rbXMrVOXNoe0jSlMVuheta34V2t42j/pUa9bw3Fk3jxPQVBdOAwFlncz76 RQFEFs8QcGLTp+8pvv8AOxARwfRgace47LZniPLwzABVtJDKRE6+wef0Aiim1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=PPhgiKTb; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=PPhgiKTb; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: 278781A48B X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: Q95P9WL4qDzS Org mode version: 9.4.6 =2E.. but the problem is older: Reproduce: 1. Open org-agenda 2. Open a task from the agenda in the other buffer (i.e. the org file) 3. In the org file, move the cursor away from the task's headline 4. Focus the same task in the org-agenda again 5. Press C-c C-q (org-agenda-set-tags) and select some tags The tags are not appended to the task's headline but to the line the=20 cursor was. Example: I'm in org-agenda and press C-c C-q, select "test" as tag. The result is:= ** TODO Update libxxx on AUR SCHEDULED: <2020-09-20 Sun>=C2=A0 :test: