emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: orgmode list <emacs-orgmode@gnu.org>
Subject: completing-read for org-clock-select-task: It works!
Date: Tue, 24 Mar 2015 17:48:25 -0400	[thread overview]
Message-ID: <87a8z2dq3a.fsf@gmail.com> (raw)

In my first attempt at actually adding functionality to an existing emacs library, I've written some code to make `org-clock-select-task' use completing-read instead of the built-in org menu if you set `org-select-task-completing', for those who would find this useful (it now works with Helm). It seems like my functions, which are backed by a hash table, ought to be more capable of removing (non-adjacent) duplicates from the list since the table keys are the strings themselves, but I still see them appearing. Why doesn't the hash table merge the entries (they seem to have identical keys)?

Should this adjustment be useful to anyone else, what would I do next to contribute? As this is a first forray into more public-use elisp, I'm also open to any other suggestions or tips. 

Code at: 
http://www.toryanderson.com/files/helm-org-clock.el

                 reply	other threads:[~2015-03-24 21:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87a8z2dq3a.fsf@gmail.com \
    --to=torys.anderson@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).