unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* function-put and loaddefs.el
@ 2014-05-09  7:16 Glenn Morris
  2014-05-09 13:52 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2014-05-09  7:16 UTC (permalink / raw)
  To: emacs-devel


There's a new `function-put' in trunk which gets used in place of `put'.
It appears extensively in loaddefs.el files.
This is going to mean that any package whose loaddefs.el file is
generated with Emacs >= 24.5 is potentially going to be unusable on
Emacs < 24.5. E.g. declaring an indent property in an autoloaded
function will cause it to happen.



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

* Re: function-put and loaddefs.el
  2014-05-09  7:16 function-put and loaddefs.el Glenn Morris
@ 2014-05-09 13:52 ` Stefan Monnier
  2014-05-09 15:52   ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2014-05-09 13:52 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

> There's a new `function-put' in trunk which gets used in place of `put'.
> It appears extensively in loaddefs.el files.
> This is going to mean that any package whose loaddefs.el file is
> generated with Emacs >= 24.5 is potentially going to be unusable on
> Emacs < 24.5. E.g. declaring an indent property in an autoloaded
> function will cause it to happen.

Hmm... indeed for Emacs's lisp/loaddefs, this is not a problem, but for
other auto-generated autoloads file it can be annoying.

We should fix that before the next pretest.


        Stefan



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

* Re: function-put and loaddefs.el
  2014-05-09 13:52 ` Stefan Monnier
@ 2014-05-09 15:52   ` Glenn Morris
  2014-05-09 17:35     ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2014-05-09 15:52 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier wrote:

>> There's a new `function-put' in trunk which gets used in place of `put'.
[...]
> Hmm... indeed for Emacs's lisp/loaddefs, this is not a problem, but for
> other auto-generated autoloads file it can be annoying.
>
> We should fix that before the next pretest.

It's only in trunk. Unless you mean to define function-put as a forward
compat alias in 24.4; but that doesn't help anyone using <= 24.3.



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

* Re: function-put and loaddefs.el
  2014-05-09 15:52   ` Glenn Morris
@ 2014-05-09 17:35     ` Stefan Monnier
  2014-05-10  6:50       ` Thierry Volpiatto
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2014-05-09 17:35 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

> It's only in trunk.

Oh, right, so it's OK the fix is not urgent.

> Unless you mean to define function-put as a forward compat alias in
> 24.4; but that doesn't help anyone using <= 24.3.

Actually, that's a good idea in any case.


        Stefan



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

* Re: function-put and loaddefs.el
  2014-05-09 17:35     ` Stefan Monnier
@ 2014-05-10  6:50       ` Thierry Volpiatto
  0 siblings, 0 replies; 5+ messages in thread
From: Thierry Volpiatto @ 2014-05-10  6:50 UTC (permalink / raw)
  To: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> It's only in trunk.
>
> Oh, right, so it's OK the fix is not urgent.

Well, I am working with a emacs from trunk and I had to inline the
definition of `function-put' to avoid having to generate the autoload file
from another emacs (24.3) which is inconvenient.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




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

end of thread, other threads:[~2014-05-10  6:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-09  7:16 function-put and loaddefs.el Glenn Morris
2014-05-09 13:52 ` Stefan Monnier
2014-05-09 15:52   ` Glenn Morris
2014-05-09 17:35     ` Stefan Monnier
2014-05-10  6:50       ` Thierry Volpiatto

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).