Gnus development mailing list
 help / color / mirror / Atom feed
* hand Compiling gnus-user-format-function-% functions
@ 1998-03-19 14:07 jari.aalto
  1998-03-20 17:47 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: jari.aalto @ 1998-03-19 14:07 UTC (permalink / raw)



    In the manual it says that the user function (%u) are not compiled,
    so I have to hand compile them. I attach the functions to Gnus like 
    this (so that the [gnus..]-d can be aliased again if needed.)

        (defalias 'gnus-user-format-function-d 
                  'my-gnus-summary-line-date)

    Now, I assume that doing this won't do what I expect:

        (byte-compile 'gnus-user-format-function-d)

    but this will:

        (byte-compile 'my-gnus-summary-line-date)

    Would someone confirm? Do I have to byte compile both?
    And lastly when I issue:

        (gnus-compile)

    everything is at peak level; right?

    jari
        


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hand Compiling gnus-user-format-function-% functions
  1998-03-19 14:07 hand Compiling gnus-user-format-function-% functions jari.aalto
@ 1998-03-20 17:47 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-03-20 17:47 UTC (permalink / raw)


<jari.aalto@poboxes.com> writes:

> In the manual it says that the user function (%u) are not compiled,
> so I have to hand compile them. I attach the functions to Gnus like 
> this (so that the [gnus..]-d can be aliased again if needed.)
> 
> (defalias 'gnus-user-format-function-d 
> 'my-gnus-summary-line-date)
> 
> Now, I assume that doing this won't do what I expect:
> 
> (byte-compile 'gnus-user-format-function-d)
> 
> but this will:
> 
> (byte-compile 'my-gnus-summary-line-date)

Not really.  Put the function definition in a file and byte-compile
the file.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-03-20 17:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-19 14:07 hand Compiling gnus-user-format-function-% functions jari.aalto
1998-03-20 17:47 ` Lars Magne Ingebrigtsen

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 NNTP newsgroup(s).