From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: some org-contacts icons property value questions Date: Sun, 08 Nov 2015 23:54:21 -0500 Message-ID: <87wptrixhe.fsf@kyleam.com> References: <87wpulnc5i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZveTP-0000je-S8 for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 23:54:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZveTP-0005lV-11 for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 23:54:31 -0500 Received: from mail-qg0-x233.google.com ([2607:f8b0:400d:c04::233]:35818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZveTO-0005lI-R8 for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 23:54:30 -0500 Received: by qgec40 with SMTP id c40so74171136qge.2 for ; Sun, 08 Nov 2015 20:54:30 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: stardiviner Cc: Org-Mode Hello, I've never used icons with Org Contacts, but here are my guesses based on glancing at the code. stardiviner 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