From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Douglas Lewan Newsgroups: gmane.emacs.help Subject: Re: wrong type error in local variables Date: Fri, 3 Jul 2020 10:07:46 -0400 Message-ID: <90266431-d628-d7d8-0cad-e577531879f0@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17540"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 To: Anders Munch , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 03 16:08:17 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jrMMT-0004Ss-8a for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 03 Jul 2020 16:08:17 +0200 Original-Received: from localhost ([::1]:51620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrMMS-0007XF-Ai for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 03 Jul 2020 10:08:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrMMA-0007X0-3e for help-gnu-emacs@gnu.org; Fri, 03 Jul 2020 10:07:58 -0400 Original-Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:42660) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrMM8-0003EW-I9 for help-gnu-emacs@gnu.org; Fri, 03 Jul 2020 10:07:57 -0400 Original-Received: by mail-pf1-x432.google.com with SMTP id x3so8498306pfo.9 for ; Fri, 03 Jul 2020 07:07:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=cyPEXDx5UNp4h/p7xLaIhFUQS1iJ2AD25cgmV9pLAOA=; b=Vn5M+0UapmldsaRCix5VXsTNFLMWMvA3eJNsGJhOSHo9rH19JSgdD9mt2kR8RGDtdw nc9Sw7Com9WXmNZ8JQofAuolOPPOWzEUkaPu5zUOxi3mOT8ckmQnksFDwuZCVfOsbr7Q o5GDSoLbFmPw8kpwxz++uvrvTVGqq1hp6peTQEhP1eX1smIh2GjTWEGdBq0aZiGBTqQ+ FUVYp2iuccHSbVKKGVXav2p6AdhU6p9lteUv5/QmcRRaTn7QKJGrBnQNR4bow6UOjVGk t4u8jAvZLqVRfq0sV8o+0QKUpPUsXaBj0QPAeYXXPpCQJxpChQB2afl3EMoXPGAJzd7a GHDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=cyPEXDx5UNp4h/p7xLaIhFUQS1iJ2AD25cgmV9pLAOA=; b=k3kQNyjWAwP9qccCiScwQzfD/5CUCGFCsE6hSIX3YVRRaQHFvRRmGZayG+w7pYyOUj GU9jmJwrV4igasbh3QrJ9czkN5DWcSVEwgEy2n9pjEj8Bk2WQVQYSEmsog7yh0U8QAsv DZmxeACaYMnCUCDbn9ZWYwsXYeLjhfG0YVRrsdvYAcLahgqgJq2cuPRj+IZVs2D90VOS 2NMtGNotMoIzLHhEkpp68kfLClpDzTjABNNfLXOt+wyze0Tz8FW3IGCMrmVZxB3Jftlx bchb42A7AQziatRNN8nXCtMkSIqR/72B+EMdWpNa4C4dMPJAul9vIoA6VxmoLHi1Ineg buMQ== X-Gm-Message-State: AOAM5327W/PxxjufcKyrlFV/MWKLtSUJBUX2UQXAZlOfMMP2foRmbz1h ubTTa/ZV8bL2osWqIZiCU5WPIs1r0w== X-Google-Smtp-Source: ABdhPJz5QhBxpCK6vEyPA1nKh2AoLkGtgDa50wMj2A+VXCV/XmtmXfkEQCeBX/RwfbR3EENL0aPr3Q== X-Received: by 2002:a63:5110:: with SMTP id f16mr28443006pgb.377.1593785269914; Fri, 03 Jul 2020 07:07:49 -0700 (PDT) Original-Received: from [192.168.43.104] ([172.58.236.166]) by smtp.gmail.com with ESMTPSA id k71sm11652298pje.33.2020.07.03.07.07.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Jul 2020 07:07:48 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=d.lewan2000@gmail.com; helo=mail-pf1-x432.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123491 Archived-At: On 7/3/20 4:33 AM, Anders Munch wrote: > Douglas Lewan: >> The problem is that it changes the buffer. > Which is sometimes what you want. > I grepped my personal elisp for find-file, and found three uses, neither of which > could be replaced by find-file-noselect. > > regards, > Anders I agree. /Sometimes/ it's what you want. I know I've written things that use dired-find-file, but that's usually the last thing I call. The underlying application doesn't depend on switching to another buffer; it's just that the result switches the buffer at the end just for the user. /Usually/ an application doesn't want to do that. After all, switching buffers more than once might undo a previous switch. -- ,Doug d.lewan2000@gmail.com (908) 720 7908 If this is what winning looks like, I'd hate to see what losing is.