From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: Mark-and-select an item in org-mode Date: Thu, 14 Jun 2018 12:22:03 -0700 Message-ID: References: <88e04d88-6d66-b917-a91b-49fb7163b7e3@thestever.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTXpH-0007bO-CB for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 15:22:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTXos-0006eI-W5 for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 15:22:31 -0400 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:37155) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTXos-0006dz-Ig for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 15:22:06 -0400 Received: by mail-lf0-x236.google.com with SMTP id g21-v6so11140232lfb.4 for ; Thu, 14 Jun 2018 12:22:06 -0700 (PDT) In-Reply-To: <88e04d88-6d66-b917-a91b-49fb7163b7e3@thestever.net> 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: Steve Quezadas Cc: emacs-orgmode@gnu.org you can select /agenda/ items with m. you can select /outline/ entries with a tag, then operate in agenda on items that have that tag. would be interesting to have a command to collect [org-id links to all entries that use a tag] and stick them in a central location. dunno if capture could do. On 6/14/18, Steve Quezadas wrote: > I'm not sure if there's something incredibly simple I'm missing here, > but is there a way to just select an org-mode item when a cursor is on > top of an org-mode item? > > I checked google/org-mode documentation and I can't find anything. So > I went through the source code and noticed that procedure > "org-move-item-up" has a function, "point-at-bol", that return the > position of the line item that the cursor is standing on top of. I > would imagine it would be trivial to do a "select mark" command for > that item after that. > > Two questions: > 1) Is there already an org-mode function that select or delete an > org-mode line item? > 2) If not, is it possible to do a "set-mark-command" on an org-mode line > item (possibly derived from the "point-at-bol" command)? > > I am somewhat new to emacs-lisp, and I plan to "play around with it" > to get it to do what I want it to do, but I thought I'd through it on > the maillist to see if I am barking up the right tree. If it's not a > feature in org-mode, I'm sure I can write my own function for it and, > in the spirit of emacs, throw a patch to the project if wanted. > > - Steve > > --=20 The Kafka Pandemic: The disease DOES progress. MANY people have died from it. And ANYBODY can get it at any time. "You=E2=80=99ve really gotta quit this and get moving, because this is murd= er by neglect." --- .