From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#18059: 24.3.92; defvar and special variables Date: Wed, 21 Feb 2018 11:33:05 -0500 Message-ID: References: <87ha2c7lxy.fsf@web.de> <87mv0gbq33.fsf@users.sourceforge.net> <87y3k0bdm9.fsf@web.de> <87inb4bbse.fsf@users.sourceforge.net> <873727bkud.fsf@users.sourceforge.net> <87efloa000.fsf@users.sourceforge.net> <87fu5y53w5.fsf@gmail.com> <87371xlpmw.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1519230735 28963 195.159.176.226 (21 Feb 2018 16:32:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Feb 2018 16:32:15 +0000 (UTC) Cc: Michael Heerdegen , 18059@debbugs.gnu.org, Stefan Monnier To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 21 17:32:11 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoXJR-0006pg-A1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Feb 2018 17:32:09 +0100 Original-Received: from localhost ([::1]:33525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoXLT-0008T6-Ls for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Feb 2018 11:34:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoXLK-0008Rf-Nf for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2018 11:34:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoXLG-000411-Q6 for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2018 11:34:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46781) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoXLG-00040q-Me for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2018 11:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eoXLG-0003uQ-Gb for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2018 11:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Feb 2018 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 18059-submit@debbugs.gnu.org id=B18059.151923079314966 (code B ref 18059); Wed, 21 Feb 2018 16:34:02 +0000 Original-Received: (at 18059) by debbugs.gnu.org; 21 Feb 2018 16:33:13 +0000 Original-Received: from localhost ([127.0.0.1]:54678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoXKT-0003tK-B1 for submit@debbugs.gnu.org; Wed, 21 Feb 2018 11:33:13 -0500 Original-Received: from mail-oi0-f50.google.com ([209.85.218.50]:39868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoXKR-0003t8-TO for 18059@debbugs.gnu.org; Wed, 21 Feb 2018 11:33:12 -0500 Original-Received: by mail-oi0-f50.google.com with SMTP id t185so1539640oif.6 for <18059@debbugs.gnu.org>; Wed, 21 Feb 2018 08:33:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=T2np9ctBAVqZB4bYQuVc1hkAaTfxVeKBRD6tt4C/lb0=; b=HqQBKQFOzWmt0fG3hYxGt7b205K9x1ZYbRjq0ZeA9SLOeZfpo7gAFMNCwfP3c4g74Y yJ4h6IyvYFdqMFXlkqFzYHNn/s97zdCPST9eUDmhiZj02Mt0NMSY4hHIbATlytc9JMy2 ug9Gx7PMSPPXswf6w22c0yPrRVA++8RKy20z3qCMWk4VSetAeZNDu9puIGl9FYTIgbDi S92DPbrwO+spuEQ+t8demakFyOPm6vlBlSBzwPfjJN1Tgo7tAmkZTtwyGQF0xV0/374E OtVS2kydypJihryB07aWrkBcpvalfwUk08kLwdQCskLuAVlerOvfZb5/VRK2Va4gkDGY UGYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=T2np9ctBAVqZB4bYQuVc1hkAaTfxVeKBRD6tt4C/lb0=; b=cEpzX83Ffs0/+7io3R/zNXHNt70CVyNnA0gTYXyHVHRVVhrWOio6U2D99l/3aKAY8q aJ67NXsxnCktYthTE12bisZMTjpnR1w7j5i25TzAnc2uGr2KWvDoaMNLL5zbqEq5pGI+ qdoP73u17HQyLBdOmxvnjAjbbC2OEUK9D7HwDvtluoGks1TS/499s05ZElFh78FjW+ZB hfTU7jcumK5YQFnnATpvJGn6f3iAcdndndDNfRO8rdptcQh7idz9AxxtbVHT9AUpte04 26UxEQxKg9RcSOJbBCabOtbLnIYZdH/K0pSOZzPZoxPQR32BoH5c2Drcai1kJyu+X0jF 57Bw== X-Gm-Message-State: APf1xPBN0dqitxGZbi0bUvTCmblctGcJ+hRUKeCwgNzYvvmVi/UgwhOy uK5ajzF/iH0Qk/vMA5IxrftlCAg+/G4V9foN+xs= X-Google-Smtp-Source: AG47ELuh+VRb/0CGhqn1MflBEca0rA0MXKkV0A3gKbc6o6KGMzpBKVI5DFIsLiG05TeUfD3+GgiBC2ROG1naCI/T83c= X-Received: by 10.202.85.143 with SMTP id j137mr2599888oib.211.1519230786391; Wed, 21 Feb 2018 08:33:06 -0800 (PST) Original-Received: by 10.74.59.65 with HTTP; Wed, 21 Feb 2018 08:33:05 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143558 Archived-At: On Wed, Feb 21, 2018 at 11:23 AM, Noam Postavsky wrote: > On Wed, Feb 21, 2018 at 11:08 AM, Drew Adams wrote: >>> Seriously though, I honestly can't see much use for a non-toplevel >>> defvar. Can you point to any examples? >> >> Seriously? >> >> (when (> emacs-major-version 24) >> (defvar foo 42 "The answer.")) >> >> (when (fboundp 'fooness) >> (let ((the_answer (fooness))) >> (defvar foo the_answer "The answer."))) > > I meant real life examples. Also, to clarify, I meant specifically non-toplevel (defvar foo), not (defvar foo ).