From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: [BUG] org-special-ctrl-k no longer protects tags Date: Tue, 17 Jul 2018 14:19:00 -0500 Message-ID: <87pnzlfz6j.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffVV9-0006UT-0r for emacs-orgmode@gnu.org; Tue, 17 Jul 2018 15:19:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffVV5-0003OH-0E for emacs-orgmode@gnu.org; Tue, 17 Jul 2018 15:19:10 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:44871) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffVV4-0003MO-OL for emacs-orgmode@gnu.org; Tue, 17 Jul 2018 15:19:06 -0400 Received: from archbook (wcnat-96-23.wheaton.edu [209.147.96.23]) by mail.messagingengine.com (Postfix) with ESMTPA id 8CD1FE4513 for ; Tue, 17 Jul 2018 15:19:01 -0400 (EDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org Mode Since commit e87ebca2a7, setting org-special-ctrl-k to t no longer protects tags if when pressing C-k (org-kill-line) in the middle of a headline. The expected behavior is described in the docstring for org-special-ctrl-k: "When in the middle of the headline text, kill the headline up to the tags." Take the following example: * Headline :tag: If I hit C-k with the cursor on the letter "l" on the example above, I expect to get this... * Head :tag: Instead, I get this... * Head I think this is because when (looking-at org-tag-line-re) is called on line 22840, the cursor is in the middle of the line, whereas org-tag-line-re expects it to be at the beginning of the line. Best, Matt