emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Steve Quezadas <steve@thestever.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Mark-and-select an item in org-mode
Date: Thu, 14 Jun 2018 12:22:03 -0700	[thread overview]
Message-ID: <CAJcAo8t_oTiDZDoC92aj0dG4DRk9c8Gzw0jewswwA2yaMJo+Dg@mail.gmail.com> (raw)
In-Reply-To: <88e04d88-6d66-b917-a91b-49fb7163b7e3@thestever.net>

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 <steve@thestever.net> 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
>
>


-- 
The Kafka Pandemic: <http://thekafkapandemic.blogspot.com>

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it at any time.

"You’ve really gotta quit this and get moving, because this is murder
by neglect." ---
<http://www.meaction.net/2017/02/03/pwme-people-with-me-are-being-murdered-by-neglect>.

      parent reply	other threads:[~2018-06-14 19:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-14 18:58 Mark-and-select an item in org-mode Steve Quezadas
2018-06-14 19:05 ` Nicolas Goaziou
2018-06-14 19:22 ` Samuel Wales [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJcAo8t_oTiDZDoC92aj0dG4DRk9c8Gzw0jewswwA2yaMJo+Dg@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=steve@thestever.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).