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:23:28 -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 1519230131 12753 195.159.176.226 (21 Feb 2018 16:22:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Feb 2018 16:22:11 +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:22:06 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 1eoX9i-0002sq-9m for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Feb 2018 17:22:06 +0100 Original-Received: from localhost ([::1]:33479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoXBk-0005Ck-7I for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Feb 2018 11:24:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoXBe-0005CO-47 for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2018 11:24:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoXBa-00062E-0m for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2018 11:24:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46772) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoXBZ-00061x-So for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2018 11:24:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eoXBZ-0003eo-MA for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2018 11:24:01 -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:24:01 +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.151923021514024 (code B ref 18059); Wed, 21 Feb 2018 16:24:01 +0000 Original-Received: (at 18059) by debbugs.gnu.org; 21 Feb 2018 16:23:35 +0000 Original-Received: from localhost ([127.0.0.1]:54669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoXB9-0003e8-5a for submit@debbugs.gnu.org; Wed, 21 Feb 2018 11:23:35 -0500 Original-Received: from mail-oi0-f42.google.com ([209.85.218.42]:43343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoXB8-0003du-76 for 18059@debbugs.gnu.org; Wed, 21 Feb 2018 11:23:34 -0500 Original-Received: by mail-oi0-f42.google.com with SMTP id a207so1511243oii.10 for <18059@debbugs.gnu.org>; Wed, 21 Feb 2018 08:23:34 -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=TzcPzgDd9/ch70tStVEANX3mHWUOk0e+n36rPzsDLU8=; b=gZnPrEz7zLh7+gq4YBg86/N117r2295w+NaKL2Vbr5gp73lmejJc2scQBZIZwIGswG P4u+BoXgMQpeD7f1dbeIgZJsmtUHJgyxYpn9taFUYqXrz6zlC9++sYWKtehsg4nfY/YE VsOf4L7Vwxo349HA2YJRZtDu3CiNSPLHv+RPuNzzPIMGdH+jy3BJFRPQIPnIHlRVbSyx JgDbFL9pAdlXRFy4rYXalY384ExXpEznKdZxj1XSmvWVa+kyFONql2kyl5+KHqz1MHAq aeOPUl8B3MmbxpO1DrNZcsHP3AAmfqaOZWs/FROgagageyassueAneozeeUUg8oMbjkS zZzA== 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=TzcPzgDd9/ch70tStVEANX3mHWUOk0e+n36rPzsDLU8=; b=iXVET0x0Bw/cnnHUWunPIEX/cjvSqPYHm2p9FA48tydS+YZSNOzsYTOcjtpTB6J9J6 Nu/FnolN+ldzACqxrWzvA8KmwkFyxOl5AESTbg54fHIa5sqyC1W9wHg6tCQqiwT19vK6 g1gbtFiu0UiCcPuzz+ztTnP8L2rkoBeRJoKs1xj96iVK5C2iWmBqJv2Yx1+5SR6e9/mG SDu7BL9otkioC3ynBp9LWUAUrwviwuHzheGuSAhzfoX3qVOzQoPK9dxYCCGae2k042F7 cpWlMJv/3oPZzR7Wnn2QngrKjQK3CZj7rvThY2dib4KOM//MMal1snW5zn631DMZ9yiw r2cg== X-Gm-Message-State: APf1xPCbTcCmX4vOKUom05cpiY62WZTopMpb3QC3lNlcPxC/ad21l0UX 7x/RrRMqaaq6zXBuYyPTV8a1zsJEGHSGZDlBzpk= X-Google-Smtp-Source: AH8x225Wzd/vGqPdPUnkFvPUfbxuLLDHgBy/+WPYw9uU85eNRBOibsjQFBNFHie9l+6q24sfuh5sdCWNotuFDKNothA= X-Received: by 10.202.241.8 with SMTP id p8mr2404782oih.93.1519230208675; Wed, 21 Feb 2018 08:23:28 -0800 (PST) Original-Received: by 10.74.59.65 with HTTP; Wed, 21 Feb 2018 08:23:28 -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:143557 Archived-At: 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.