From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44583: 25.3; Emacs aborts with fatal error when a keyboard macro (saved in init.el) is set to run automatically at Emacs startup (Windows 10) Date: Thu, 12 Nov 2020 20:01:51 +0200 Message-ID: <83tutuxxm8.fsf@gnu.org> References: <864klvhi0i.fsf@DESKTOP-IVLB171.i-did-not-set--mail-host-address--so-tickle-me> <83v9ebznx8.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34332"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44583-done@debbugs.gnu.org To: Akshay C Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 12 19:08:22 2020 Return-path: Envelope-to: geb-bug-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 1kdH1C-0008pH-4Y for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 19:08:22 +0100 Original-Received: from localhost ([::1]:44262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdH1B-0003UP-3R for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 13:08:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdGwB-0005Ko-6k for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:03:11 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdGw2-00023G-Km for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:03:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdGw2-0001TF-FV for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:03:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Nov 2020 18:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44583 X-GNU-PR-Package: emacs Mail-Followup-To: 44583@debbugs.gnu.org, eliz@gnu.org, akshaychavan20031@gmail.com Original-Received: via spool by 44583-done@debbugs.gnu.org id=D44583.16052041265586 (code D ref 44583); Thu, 12 Nov 2020 18:03:02 +0000 Original-Received: (at 44583-done) by debbugs.gnu.org; 12 Nov 2020 18:02:06 +0000 Original-Received: from localhost ([127.0.0.1]:45533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdGv8-0001S2-25 for submit@debbugs.gnu.org; Thu, 12 Nov 2020 13:02:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdGv6-0001RZ-Lw for 44583-done@debbugs.gnu.org; Thu, 12 Nov 2020 13:02:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57317) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdGv1-0001jq-Bi; Thu, 12 Nov 2020 13:01:59 -0500 Original-Received: from [176.228.60.248] (port=4312 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kdGux-00073V-M0; Thu, 12 Nov 2020 13:01:56 -0500 In-Reply-To: (message from Akshay C on Thu, 12 Nov 2020 23:24:18 +0530) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193172 Archived-At: [Please use Reply All to keep the bug tracker on the CC list.] > From: Akshay C > Date: Thu, 12 Nov 2020 23:24:18 +0530 > > Thank you for your response. Some text editors allow users to close the editor without saving the buffer to a > file. The next time they open the editor, the buffer is still open. I wanted to achieve this in Emacs. So I wanted > Emacs to automatically open "notes" at startup with the remember-notes function, then run recover-this-file > function to recover any autosave data that I hadn't saved to disk, then enter "yes" at the minibuffer prompt. I > am not good at elisp, so I recorded a keyboard macro to do the job. Yes, but when you start Emacs as a daemon, there's no minibuffer to prompt in, because there's no frame to display. > I have attached emacs_backtrace.txt to > this mail. Thanks. I've fixed the crash for the upcoming Emacs 27.2, in a way that will use the console to display the messages when there's no frame. So I'm therefore closing this bug report.