From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13889: lenient loading, feature request Date: Thu, 15 Jul 2021 08:36:41 +0200 Message-ID: <871r80nkw6.fsf@gnus.org> References: <513771EC.5010908@easy-emacs.de> <83sj481ml5.fsf@gnu.org> <51378E07.2010705@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28964"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 13889@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 15 08:38:09 2021 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 1m3v0b-0007J4-60 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 08:38:09 +0200 Original-Received: from localhost ([::1]:41064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3v0Z-0005DC-Qg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 02:38:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3v0U-0005Cx-ME for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 02:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3v0U-00045r-AW for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 02:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3v0U-00016w-3h for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 02:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jul 2021 06:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13889 X-GNU-PR-Package: emacs Original-Received: via spool by 13889-submit@debbugs.gnu.org id=B13889.16263310214184 (code B ref 13889); Thu, 15 Jul 2021 06:38:02 +0000 Original-Received: (at 13889) by debbugs.gnu.org; 15 Jul 2021 06:37:01 +0000 Original-Received: from localhost ([127.0.0.1]:46556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3uzL-000158-PC for submit@debbugs.gnu.org; Thu, 15 Jul 2021 02:37:01 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:53284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3uzK-00014u-RJ for 13889@debbugs.gnu.org; Thu, 15 Jul 2021 02:36:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Ah9JVA6CxE+jty6AIO0jy794t4BN6OSy0jK38PQqTbM=; b=msllF8+myRf6j5pJerCWssJsK/ o08qDAXA0V/aevuw0le1TvZ6hZBrqY47pYBCD3O5hxkxI6p1soQ3tJrYYLHJaKjP7JxID8NNfqT+D nsP4/GEUS/z2r7wMWaFP75Bp4xoYOeZPzf6JGk2vbUU58lcQ7Aa+CY/wG7TgvBSSkgiw=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3uzC-0004tw-2D; Thu, 15 Jul 2021 08:36:44 +0200 X-Now-Playing: Dexter's _Fabric 94: Steffi_: "66" In-Reply-To: <51378E07.2010705@easy-emacs.de> ("Andreas =?UTF-8?Q?R=C3=B6hler?="'s message of "Wed, 06 Mar 2013 19:42:15 +0100") 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:209997 Archived-At: Andreas R=C3=B6hler writes: >> It might be a better idea to have a command that would continue >> loading from where it stopped. This would allow the user to fix >> manually whatever was broken, and then continue from there. > > Probably both is useful. > Someone might face a deadline the very day. > Emacs must work. No time to fix errors just now... > Error must not be as simple as a missing parenthesis. > Also imagine colleagues around, awaiting the result, wondering what > the guy is doing ;) Popping up the .emacs file with point where the error is would be more helpful than the current: --- Warning (initialization): An error occurred while loading =E2=80=98/home/la= rsi/.emacs=E2=80=99: Invalid read syntax: ), 1, 0 --- I'm not sure how a general "continue loading" switch would work. It's easy enough if there's a command that's erroring out -- we could ignore the error and continue loading. But if it's a read-level error, then we don't really know where to continue loading from. I guess we could advance point by one character and try again in a loop -- that'd usually get us past the error points after a while... --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no