emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathan Neff <nathan.neff@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Helm + org-set-tags
Date: Fri, 26 Jul 2019 23:00:52 -0500	[thread overview]
Message-ID: <CAC=HedCUb-c6Qjhm0p6eRTE+xfL6rFJV+xq0MueX0LZTm1MVtg@mail.gmail.com> (raw)
In-Reply-To: <CAC=HedDbzRnYN+abFYjKK10CNZCq-M1-KGPzypPs_Ec=ESNLPg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1926 bytes --]

Boom -- I got it.

I used helm's emacs-helm.sh and got to the "minimal" config necessary
to run helm.  The org-set-tags-command worked correctly when running
in the minimal config.

I moved some initialization code from my org-mode-config.org file
to my init.el file and I got helm to work with org-set-tags-command
correctly!

init.el

(setq package-load-list '((helm-core t) (helm t) (async t) (popup t)))
(package-initialize)
(require 'helm-config)
(helm-mode 1)






On Fri, Jul 26, 2019 at 4:47 PM Nathan Neff <nathan.neff@gmail.com> wrote:

> Hello all,
>
> I would like to use helm to select tags for my headings,
> and I'm having a tough time getting something to work.
>
> I would like the following behavior:
>
> 1) org-set-tags-command would show a list of all tags
> in my agenda files using the helm interface
>
> 2) I could set one tag for each call to org-set-tags-command.  I've
> seen posts that want to be able to multi-select tags, but I don't want to
> over-complicate things.
>
> Currently, I'm using helm-core 2019-05-27 and org-mode
> 9.2.3
>
> I have this set:
> ;; Always offer all agenda tags in capture and in normal operations
> (setq org-complete-tags-always-offer-all-agenda-tags 't)
>
> org-set-tags-command works fine if a headline does *not* have a tag.  I
> get helm
> mode with all of the tags from my agenda-files shown.  However, after I
> assign
> a tag to a headline, I no longer see the list of tags when I call
> org-set-tags-command.  Instead I see: "Tags: :currtag:" prompt and no
> suggestions from helm.  If I remove the tag, then my
> tags show up again in helm, but selecting another tag will then *replace*
> the current tag
> which is not what I want.
>
> Any ideas?
>
> I have removed all #+TAGS: "fast selection" from my org-files.
>
> I have this code on my machine, but it appears not to be working:
> https://github.com/emacs-helm/helm/pull/1439
>
> Thanks,
> --Nate
>
>

[-- Attachment #2: Type: text/html, Size: 3044 bytes --]

      reply	other threads:[~2019-07-27  4:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-26 21:47 Helm + org-set-tags Nathan Neff
2019-07-27  4:00 ` Nathan Neff [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='CAC=HedCUb-c6Qjhm0p6eRTE+xfL6rFJV+xq0MueX0LZTm1MVtg@mail.gmail.com' \
    --to=nathan.neff@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).