From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70405 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.discuss,gmane.emacs.gnus.general Subject: Re: gnus-single-article-buffer Date: Fri, 03 Sep 2010 18:42:36 +0200 Message-ID: <87y6bipymb.fsf@marauder.physik.uni-ulm.de> References: <87wrs1fe66.fsf@lifelogs.com> <87k4o1cg9j.fsf@topper.koldfront.dk> <877hjlht32.fsf@sphax.lybrafox.lan> <87lj7zx2gm.fsf@hariville.hurrynot.org> <8762yo5sym.fsf_-_@lifelogs.com> <871v9c72cy.fsf@lifelogs.com> <87zkw046ft.fsf@lifelogs.com> <87fwxryom6.fsf@lifelogs.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283532170 1025 80.91.229.12 (3 Sep 2010 16:42:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2010 16:42:50 +0000 (UTC) To: ding@gnus.org, gmane-discuss@hawk.netfonds.no Original-X-From: gmane-discuss-bounces@hawk.netfonds.no Fri Sep 03 18:42:49 2010 Return-path: Envelope-to: gd-gmane-discuss@m.gmane.org Original-Received: from hawk.netfonds.no ([80.91.224.246]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrZLi-0004d1-Q4 for gd-gmane-discuss@m.gmane.org; Fri, 03 Sep 2010 18:42:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=hawk.netfonds.no) by hawk.netfonds.no with esmtp (Exim 3.36 #1 (Debian)) id 1OrZLi-0005xL-00; Fri, 03 Sep 2010 18:42:46 +0200 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by hawk.netfonds.no with esmtp (Exim 3.36 #1 (Debian)) id 1OrZLe-0005xG-00 for ; Fri, 03 Sep 2010 18:42:42 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.3/8.14.2) with ESMTP id o83Ggd9L021642; Fri, 3 Sep 2010 18:42:40 +0200 (MEST) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 6A1B710524; Fri, 3 Sep 2010 18:42:39 +0200 (CEST) X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s (Leo's message of "Fri, 03 Sep 2010 14:10:55 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-CollegeOfNewCaledonia-Metrics: poseidon 1189; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-BeenThere: gmane-discuss@hawk.netfonds.no X-Mailman-Version: 2.1.5 Precedence: list List-Id: gmane-discuss.hawk.netfonds.no List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: gmane-discuss-bounces@hawk.netfonds.no Errors-To: gmane-discuss-bounces@hawk.netfonds.no Xref: news.gmane.org gmane.discuss:13517 gmane.emacs.gnus.general:70405 Archived-At: 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. ,----[ 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. `---- ,----[ 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/