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: (seq-subseq) exists in 24.5, but not in 26.3? Date: Sun, 21 Mar 2021 23:05:33 -0400 Message-ID: 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="34672"; 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 Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 22 04:06:14 2021 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 1lOAtR-0008vk-Tb for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 22 Mar 2021 04:06:13 +0100 Original-Received: from localhost ([::1]:57514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOAtR-0006yt-08 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 21 Mar 2021 23:06:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOAss-0006yi-E9 for help-gnu-emacs@gnu.org; Sun, 21 Mar 2021 23:05:38 -0400 Original-Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:36437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOAsq-0001vf-S9 for help-gnu-emacs@gnu.org; Sun, 21 Mar 2021 23:05:38 -0400 Original-Received: by mail-qv1-xf34.google.com with SMTP id x16so8021235qvk.3 for ; Sun, 21 Mar 2021 20:05:35 -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-transfer-encoding:content-language; bh=MrwV7f49AzxxaLFsKQnIKXoWHQwHTAFKOKE/uD3XH3E=; b=khn9Wo5JKQ643KOsxu2Sa2n8LE6eCvRO7AaF0tKL14BU07k1tgFe0fXJXD8Mfm31HM 3RBsBb+JGGRyXWa4UhbXRazMwpR2yi/vDm2RUZzqrH2YQj9k1HUUOeePl6tkiffHDsKW +6oZf/pX8GAxB4553lxT9rskyOpg9EKQdnCH0GR6S2fXsCsKd4D9rcfMo48/YpzhYS8x /Ql/V6f1na1RLfO3elfrkUl9hZ2FWOQMXSxR81YmSyS6BsDDEkbyoUrjKNEWxfNFlW0W Y6+F5p63iinXjCscOkLCnvarc+k2dCy3BX01gLZxY29o1+I/yJPHjfScXuFSARR1W8oz oUiw== 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-transfer-encoding:content-language; bh=MrwV7f49AzxxaLFsKQnIKXoWHQwHTAFKOKE/uD3XH3E=; b=TK77fzgYFqXfPyV8mGtA53FXqslJyYKf1vh1lkkx5jIRuf5CS3enuASA+yc8zmUBJe dnhm2mFvVq+8vaVloR0xZHeHcoO4Yx0n0ndTlexkS3JbhRqRK3v3Sfaa1D9Fwz6x79B1 Yw0mt8Ra5rrsfuJJYGRJ44JJ8HIhywJv0uUzMSJjpt76PUrCvwapWfvudijb9wpO+lnN InRFFOaK+j8AzbSnydwsi+KJUVVs7Yn4YuWQC9tu061sPn4+ZWXLN3KwOqkZ5pn6Thli RD7+DMr9WKDkLftlOEW4T5H7gykQusIBye0diccdYKlEqZY3U6YvnIH7PFsg46JN1BDW oR0Q== X-Gm-Message-State: AOAM533Rjak1MI8TvUV3EnqeLWoyK82dhG6eC4FxzNlHvIQUJdvGcJAh NQS4hD2+Ar+EvlRkTQMsC1zThXQQ27wZ X-Google-Smtp-Source: ABdhPJy+QyJcPzV1LfAYSTRLhQoS7MXF9qKKxrLuxptE3V+tqvkGMfNF/ky9+ofY2iCtQ+VJLjw90g== X-Received: by 2002:a05:6214:cad:: with SMTP id s13mr19549673qvs.53.1616382334667; Sun, 21 Mar 2021 20:05:34 -0700 (PDT) Original-Received: from [192.168.43.104] ([172.58.239.80]) by smtp.gmail.com with ESMTPSA id k24sm8307477qtu.35.2021.03.21.20.05.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Mar 2021 20:05:34 -0700 (PDT) Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=d.lewan2000@gmail.com; helo=mail-qv1-xf34.google.com X-Spam_score_int: 15 X-Spam_score: 1.5 X-Spam_bar: + X-Spam_report: (1.5 / 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, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no 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:128493 Archived-At: I've started looking at LEAN, and, of course, I want lean-mode. I've managed to overcome many hurdles, typically dependencies of one sort or another. (If you're running Linux, you've been there too.) However, somehow it's having a hard time finding (seq-subseq), which certainly looks like it should be defined. FYI (seq-subseq) is wanted by flycheck, although I suppose there could be other things that want it. The error that gets signaled is this: Debugger entered--Lisp error: (void-function seq-subseq). I'm running Debian, emacs version 26.3, it has feature seq, and correspondingly feature seq-25, which looks like it defines (seq-subseq). Babbling background that you can ignore if you want follows When I run emacs 24.5, (seq-subseq) is defined; all other factors are equal (except that now I don't have either seq-25 or seq-24). Indeed, the definition in emacs 24.5 is the following from seq-24.el: (defun seq-subseq (sequence start &optional end) ... ), a normal function definition, with a normal, fleshed out body. In 26.3, it looks like the definition is the following from seq-25.el is (or tries to be): (cl-defgeneric seq-subseq (sequence start &optional end) ... ), where the definition drops down to (cl-subseq). If I've understood the documentation of (cl-defgeneric) it should, on first invocation of (seq-subseq), grab the right defining file (seq-25.elc vs. seq-24.elc). I find it hard to believe that (cl-defgeneric) is buggy, because, if it were, then there would be an intolerable plethora of such problems, So, I assume that I've managed to do something wrong. Any thoughts? Thanks. -- ,Doug d.lewan2000@gmail.com (908) 720 7908 Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge. - Isaac Asimov