all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: deferred-action
Date: Mon, 21 Mar 2011 17:37:46 +0100	[thread overview]
Message-ID: <AANLkTingc2T0Qfu_MHx6RRkKSq5F-WvBpY_o+MAWwGg-@mail.gmail.com> (raw)
In-Reply-To: <jwvy648zbc2.fsf-monnier+emacs@gnu.org>

On Mon, Mar 21, 2011 at 17:34, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> That's because that would require a coding convention for its use, and
> nobody came up with such a thing.

That's a clue about how useful have they been. Are you OK with this patch?

    Juanma



2011-03-21  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (deferred-action-list, deferred-action-function):
	Mark as obsolete.


2011-03-21  Juanma Barranquero  <lekktu@gmail.com>

	* NEWS: Document the `deferred-action-*' variables as obsolete.


=== modified file 'etc/NEWS'
--- etc/NEWS	2011-03-20 10:35:27 +0000
+++ etc/NEWS	2011-03-21 16:14:09 +0000
@@ -829,6 +829,9 @@
 with a nil or omitted VALUE argument, the reporter message is
 displayed with a "spinning bar".

+** `deferred-action-list' and `deferred-action-function' are now obsolete.
+Code using them can be adapted to use `post-command-hook' instead.
+
 \f
 * Changes in Emacs 24.1 on non-free operating systems


=== modified file 'lisp/subr.el'
--- lisp/subr.el	2011-03-15 02:42:31 +0000
+++ lisp/subr.el	2011-03-21 15:33:56 +0000
@@ -1107,6 +1107,9 @@
 (make-obsolete 'process-filter-multibyte-p nil "23.1")
 (make-obsolete 'set-process-filter-multibyte nil "23.1")

+(make-obsolete-variable 'deferred-action-list 'post-command-hook "24.1")
+(make-obsolete-variable 'deferred-action-function 'post-command-hook "24.1")
+
 (make-obsolete-variable
  'mode-line-inverse-video
  "use the appropriate faces instead."



  reply	other threads:[~2011-03-21 16:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-20  4:16 deferred-action Juanma Barranquero
2011-03-21 14:01 ` deferred-action Stefan Monnier
2011-03-21 14:56   ` deferred-action Juanma Barranquero
2011-03-21 16:34     ` deferred-action Stefan Monnier
2011-03-21 16:37       ` Juanma Barranquero [this message]
2011-03-21 17:24         ` deferred-action Stefan Monnier
2011-03-21 20:05           ` deferred-action Juanma Barranquero

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTingc2T0Qfu_MHx6RRkKSq5F-WvBpY_o+MAWwGg-@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.