emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daimrod <daimrod@gmail.com>
To: Frank Terbeck <ft@bewatermyfriend.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Make `org-contacts-message-complete-function' work with byte compilation
Date: Mon, 11 Mar 2013 00:24:08 +0100	[thread overview]
Message-ID: <87ppz6on3b.fsf@tanger.home> (raw)
In-Reply-To: <87sj449hcb.fsf@ft.bewatermyfriend.org> (Frank Terbeck's message of "Sun, 10 Mar 2013 02:25:08 +0100")

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

Frank Terbeck <ft@bewatermyfriend.org> writes:

Hi Frank,

Thank you for the report; however, I'm unsure about the right solution.

There is a problem with the current (eval-when-compile ...) but there
are still warnings when I compile it (with emacs -batch -f batch-byte-compile).

> In org-contacts-db-need-update-p:
> org-contacts.el:169:14:Warning: function `some' from cl package called at
>     runtime
> 
> In org-contacts-filter:
> org-contacts.el:211:37:Warning: function `some' from cl package called at
>     runtime
> 
> In org-contacts-test-completion-prefix:
> org-contacts.el:373:12:Warning: function `find-if' from cl package called at
>     runtime
> 
> In org-contacts-complete-name:
> org-contacts.el:445:71:Warning: function `remove-duplicates' from cl package
>     called at runtime

Those warnings disapear if I simply (require 'cl) at toplevel but it
triggers this warning:

> org-contacts.el:40:1:Warning: cl package required at runtime

@All: Can I use (require 'cl) and ignore the warning or is there better
solution?

-- 
Daimrod/Greg

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2013-03-10 23:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-10  1:25 [PATCH] Make `org-contacts-message-complete-function' work with byte compilation Frank Terbeck
2013-03-10 23:24 ` Daimrod [this message]
2013-03-11  6:48   ` Achim Gratz
2013-03-11  9:21     ` Daimrod
2013-03-11 13:48       ` Frank Terbeck
2013-03-11 15:55       ` Bastien

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=87ppz6on3b.fsf@tanger.home \
    --to=daimrod@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ft@bewatermyfriend.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).