Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org, gmane-discuss@hawk.netfonds.no
Subject: Re: gnus-single-article-buffer
Date: Fri, 03 Sep 2010 18:42:36 +0200	[thread overview]
Message-ID: <87y6bipymb.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m18w3jnfa8.fsf@cam.ac.uk> (Leo's message of "Fri, 03 Sep 2010 14:10:55 +0100")

On Fri, Sep 03 2010, Leo wrote:

> On 2010-09-03 13:58 +0100, Lars Magne Ingebrigtsen wrote:
>> Hm.  I thought one could mark variables as deprecated...
>>
>> If not, just note it in the manual.
>
> There is `define-obsolete-variable-alias' in 23.2.

If there is no new variable to use instead (CURRENT-NAME = string),
`make-obsolete-variable' should be fine.

,----[ <f1> f define-obsolete-variable-alias RET ]
| define-obsolete-variable-alias is a Lisp macro in `byte-run.el'.
| (define-obsolete-variable-alias OBSOLETE-NAME CURRENT-NAME &optional WHEN
| DOCSTRING)
| 
| Make OBSOLETE-NAME a variable alias for CURRENT-NAME and mark it obsolete.
| 
| (define-obsolete-variable-alias 'old-var 'new-var "22.1" "old-var's doc.")
| 
| is equivalent to the following two lines of code:
| 
| (defvaralias 'old-var 'new-var "old-var's doc.")
| (make-obsolete-variable 'old-var 'new-var "22.1")
| 
| See the docstrings of `defvaralias' and `make-obsolete-variable' or
| Info node `(elisp)Variable Aliases' for more details.
`----

,----[ <f1> f make-obsolete-variable RET ]
| make-obsolete-variable is an interactive compiled Lisp function in
| `byte-run.el'.
| (make-obsolete-variable OBSOLETE-NAME CURRENT-NAME &optional WHEN)
| 
| Make the byte-compiler warn that OBSOLETE-NAME is obsolete.
| The warning will say that CURRENT-NAME should be used instead.
| If CURRENT-NAME is a string, that is the `use instead' message.
| If provided, WHEN should be a string indicating when the variable
| was first made obsolete, for example a date or a release number.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

      reply	other threads:[~2010-09-03 16:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87wrs1fe66.fsf@lifelogs.com>
     [not found] ` <m3mxsxnswx.fsf@quimbies.gnus.org>
     [not found]   ` <m3hbj5nsh5.fsf@quimbies.gnus.org>
     [not found]     ` <871va9qkq8.fsf@topper.koldfront.dk>
     [not found]       ` <m3bp9dnr2w.fsf@quimbies.gnus.org>
     [not found]         ` <8762zldwmr.fsf@topper.koldfront.dk>
     [not found]           ` <m3mxsxmbok.fsf@quimbies.gnus.org>
     [not found]             ` <87sk2pcgxt.fsf@topper.koldfront.dk>
     [not found]               ` <m34of5majc.fsf@quimbies.gnus.org>
     [not found]                 ` <87k4o1cg9j.fsf@topper.koldfront.dk>
     [not found]                   ` <m3r5i9kv6l.fsf@quimbies.gnus.org>
     [not found]                     ` <pan.2010.08.08.22.36.10@cox.net>
     [not found]                       ` <pan.2010.08.08.23.06.11@cox.net>
     [not found]                         ` <m37hk0itv7.fsf@quimbies.gnus.org>
     [not found]                           ` <m339uoiti6.fsf@quimbies.gnus.org>
     [not found]                             ` <m3y6cgheo1.fsf@quimbies.gnus.org>
     [not found]                               ` <877hjlht32.fsf@sphax.lybrafox.lan>
     [not found]                                 ` <m3lj80577o.fsf@quimbies.gnus.org>
     [not found]                                   ` <87lj7zx2gm.fsf@hariville.hurrynot.org>
2010-09-02 10:40                                     ` gnus-single-article-buffer (was: idea for GMane: treat RSS feeds as mailing lists) Ted Zlatanov
2010-09-02 10:57                                       ` gnus-single-article-buffer Lars Magne Ingebrigtsen
2010-09-02 12:32                                         ` gnus-single-article-buffer Ted Zlatanov
2010-09-02 12:41                                           ` gnus-single-article-buffer Lars Magne Ingebrigtsen
2010-09-02 13:32                                             ` gnus-single-article-buffer Ted Zlatanov
2010-09-02 14:05                                               ` gnus-single-article-buffer Lars Magne Ingebrigtsen
2010-09-03 12:53                                                 ` gnus-single-article-buffer Ted Zlatanov
2010-09-03 12:58                                                   ` gnus-single-article-buffer Lars Magne Ingebrigtsen
2010-09-03 13:10                                                     ` gnus-single-article-buffer Leo
2010-09-03 16:42                                                       ` Reiner Steib [this message]

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=87y6bipymb.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=gmane-discuss@hawk.netfonds.no \
    /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.
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).