From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.help Subject: Re: custom function getting initialized randomly Date: Mon, 27 Mar 2023 16:06:38 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37903"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Maurer Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 27 17:07:48 2023 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 1pgoRo-0009df-NZ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 27 Mar 2023 17:07:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgoRC-0007pN-9P; Mon, 27 Mar 2023 11:07:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgoRA-0007p0-Hl for help-gnu-emacs@gnu.org; Mon, 27 Mar 2023 11:07:08 -0400 Original-Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgoR9-0004Lh-3i for help-gnu-emacs@gnu.org; Mon, 27 Mar 2023 11:07:08 -0400 Original-Received: by mail-qv1-xf34.google.com with SMTP id q88so6827130qvq.13 for ; Mon, 27 Mar 2023 08:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679929626; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kxE3ll8Uj94TYV8RFP3SXuPfAMsEuxWx5OhTVD1uPX4=; b=U4c31bEVuQx9Q4S8YdVQBO5H6K+tLq67HqhNN3QFULrYlz/2neiV/OwWwYrfNRwxht a3YaB9d1h4hkp9o7HuEpmBEoPjHNNBX32zbkivRdPWvhcUhsFFFk1OUiKk/VNZhW3fyX ujp4bp0HIETsfritd8tb7u0tyshVxGGpsK6hKLv8r23ajqH+H2ZW10IgeA338OAu4T01 XirB1Emyyx0868pWjG7pi6IJjZ06I+BnB/ut9esUIWVfQoVB5dr7WWe28pzsURWPXGyj hqYsT+yRYBTUOzeKPzY8ro5J0cVvcFgFD8+5YhY/A5yEvVtY/O94E1/HQYFfQMQmOITa X/Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679929626; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kxE3ll8Uj94TYV8RFP3SXuPfAMsEuxWx5OhTVD1uPX4=; b=TNMbsh1cZ5hK4y/y/YRvzRR2siHtXQ5f6hdrttNbTAWIO5LE/UrHmDNlBEQn72e9Bd SAIcg1ElezP2lqk6JPX3eFWA06+VOQrMSq7R4yRCeCc5z04g+ej76LKyHcwWIn3as0e+ h3ZfY7Jm6TrtVrUbejB/ajDHMhkmYh1aIH2L43pzPzKWpnlO6mvRIch3YD7PMuYEDBQs 19vCrUJBmzriULw3CUoKkkntYaCXZdhXvs0gKKoymQxG2iaepKNoS5thuDbhgAE9ha2I Zq8RXd5QiCZbOxgkUoh+E6TqM/fJPS7E5GEkVk+eTuIxXJXK6s8UcS+zcRkmzo/vogEW bjxw== X-Gm-Message-State: AAQBX9ctSU9PUGG0vHbVb2d8yYM1+FZRB6bFR77QeTmb4CJEG+56vb1d 11Te6wYKaxOmd6DCUcyWg7qA893LCg1ZnlT6rwE= X-Google-Smtp-Source: AKy350bzYx/wUwMrbyUO0hoVrxFrJ6ZNfPkUEUNdMbmjnEF4L3ihkaZfNVktAxBZVETxRK6dLzf30EGgFvb2MafR62I= X-Received: by 2002:a05:6214:910:b0:5a3:1734:815 with SMTP id dj16-20020a056214091000b005a317340815mr2232181qvb.9.1679929625863; Mon, 27 Mar 2023 08:07:05 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=rcopley@gmail.com; helo=mail-qv1-xf34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143128 Archived-At: On Mon, 27 Mar 2023 at 15:56, Michael Maurer wrote: > Would wrapping the body of the function in (ignore errors ..) be an ok > solution as far as cheap hacks go, or is it too sketchy? Your call, but I would try wrapping it in (when kill-ring ...) before going that far.