From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Douglas Lewan <d.lewan2000@gmail.com> Newsgroups: gmane.emacs.help Subject: wrong type error in local variables Date: Thu, 2 Jul 2020 10:46:44 -0400 Message-ID: <8270ebe2-8e9d-2bf9-fa1c-b6e968aabe5a@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16484"; 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: help-gnu-emacs <help-gnu-emacs@gnu.org> Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 02 16:47:15 2020 Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org> 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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1jr0Ud-0004CE-Bs for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Jul 2020 16:47:15 +0200 Original-Received: from localhost ([::1]:56076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1jr0Uc-000845-DP for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Jul 2020 10:47:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <d.lewan2000@gmail.com>) id 1jr0UD-00083D-R4 for help-gnu-emacs@gnu.org; Thu, 02 Jul 2020 10:46:49 -0400 Original-Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:32943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <d.lewan2000@gmail.com>) id 1jr0UB-0002xx-Tj for help-gnu-emacs@gnu.org; Thu, 02 Jul 2020 10:46:49 -0400 Original-Received: by mail-qt1-x836.google.com with SMTP id h23so21463134qtr.0 for <help-gnu-emacs@gnu.org>; Thu, 02 Jul 2020 07:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=6Gqk3lDmpeGpMW3AulDYgcrs/xNEgSqfnjQ2hH4LmgM=; b=Q2WlSAjyzLrCmkr2MU6b7dF/HAHLQWoHKzCFUfGekPb8O7i0ffszG1Tl9T6dXXkJkw G+K0RNaO9FTeMLiMAYrNLMSj2QDNFOsN/cwVYGRcBB7qzDjo3yJRRlAjw5xrJhoY4gNM 6Fwc2neyWzFc6DNhc7tD1Gktg+094wPDN0MLArP2yJbrxzOCjOGXouMQ4O8j6J+oXTWC LjMR3Dzc/LYGwS++Y0bcHxkrFnP3vqq9m0htSeb1b1NTa5VHmAC9CU+f+E3yPQQwy3tO 0vFu3QQ9CDR/c8Eyms/MyMWRhyvkr9nfrdC/OPKv0g9vvLpUsiZ2ZmUEw5zoz4BHHOQZ Ub2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=6Gqk3lDmpeGpMW3AulDYgcrs/xNEgSqfnjQ2hH4LmgM=; b=kY8GJu7bCCxVtXmPIy1NeUlbp5NjxQIDzK6tMddIsCDpjkFqBjiEgzNvNRSjbORGTk Pm+ygIgPOxpO4ijmjfCWVEuqDY33yiAneuQcpaa2OYQxZx1M5enlhPCcBhpBOKHD7Fq6 AlEA30LBcJaLZfXs2692p4fHL6UBlcy5lSkOe2TjBzsgi/h1s8xifM9vgAbTe7r8SRV5 GCtDGNBxjPoS7wz+43DREbOEIwKg4Bv5qzIe8QVSm5ucJ+UDr8Uf6wLoOdwsvc2Qr3E+ EvbC8f2ue6PibcSWr1BE8GAis7K7/myZMuSgm59k7BDCcVOIVFFCXiJJkKEtPmDjzEK9 TrjQ== X-Gm-Message-State: AOAM532L9IonOYDVj2xDWzbcF84oo1wnWh70O3dMaZmy3Wbp8aVtDQg1 4P8d5NOeylEJfSgeX6XTeqIeYqY= X-Google-Smtp-Source: ABdhPJwBNB7X4I7yZ2494gXG/OVzbYXijAlX71zL0dtGYAg/wRaT9vY7XUbj70meH34qsyw/yBJOGw== X-Received: by 2002:ac8:75c4:: with SMTP id z4mr31160876qtq.371.1593701206686; Thu, 02 Jul 2020 07:46:46 -0700 (PDT) Original-Received: from [192.168.43.104] ([172.58.236.9]) by smtp.gmail.com with ESMTPSA id i35sm8424612qtd.96.2020.07.02.07.46.45 for <help-gnu-emacs@gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2020 07:46:45 -0700 (PDT) Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=d.lewan2000@gmail.com; helo=mail-qt1-x836.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, HTML_MESSAGE=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-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 <help-gnu-emacs.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs> List-Post: <mailto:help-gnu-emacs@gnu.org> List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe> Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org> Xref: news.gmane.io gmane.emacs.help:123470 Archived-At: <http://permalink.gmane.org/gmane.emacs.help/123470> I have a TeX file with the following local variables: Local Variables: eval: (ab-new-buffer (prog1 (find-file "chapter16.tex") (message "After find file."))) End: The (find-file) succeeds. (There's a buffer with that file and I see the message.) However, overall I get this error: File local-variables error: (wrong-type-argument stringp nil) I assume the call to (ab-new-buffer) gets the error, but as far as I can tell that call never happens. (ab-new-buffer) has the following definition: (defun ab-new-buffer (buffer-or-name) (error "Now in (ab-new-buffer).")) I never see that error. What am I missing? FYI The data above are obviously reduced to a minimal case. With the correct definition of (ab-new-buffer) a full battery of tests passes. -- ,Doug d.lewan2000@gmail.com (908) 720 7908 If this is what winning looks like, I'd hate to see what losing is.