emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: stardiviner <numbchild@gmail.com>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: some org-contacts icons property value questions
Date: Sun, 08 Nov 2015 23:54:21 -0500	[thread overview]
Message-ID: <87wptrixhe.fsf@kyleam.com> (raw)
In-Reply-To: 87wpulnc5i.fsf@gmail.com

Hello,

I've never used icons with Org Contacts, but here are my guesses based
on glancing at the code.

stardiviner <numbchild@gmail.com> writes:

> How to edit the org-contacts property ~:ICON~ value?

You should be able to edit it like you would any other property (e.g.,
manually or with org-set-property).

> I tried use `filename.jpg` which file is in same directory with
> contacts file.

I think it should be a path to a file [1], like you're using.  In the
end, create-image is called with the file.  Can you give specific steps
to reproduce what's not working on your end?  IIUC, icons are only used
when the org-contacts command is called.

> And what kind of image size should I use for icon?

If gnus-rescale-image is available, it will be rescaled to
org-contacts-icon-size x org-contacts-icon-size.

> Can I use a custom function to show this icon?

Do you want to change the way it's inserted in the agenda buffer, or are
you trying to show it in some other context?  If it's the latter, you
could write a command to get the image like org-contacts-icon-as-string
does and then do what you want with it.

> Can I show multiple icons for one contact?

That doesn't seem to be supported.

[1] A gravatar can be used for the icon instead, but that's done based
    on the email property.

--
Kyle

      reply	other threads:[~2015-11-09  4:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-17  8:15 some org-contacts icons property value questions stardiviner
2015-11-09  4:54 ` Kyle Meyer [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=87wptrixhe.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=numbchild@gmail.com \
    /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).