From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Vinicius =?UTF-8?Q?Jos=C3=A9?= Latorre Newsgroups: gmane.emacs.bugs Subject: bug#39865: 28.0.50; Emacs crash Date: Tue, 10 Mar 2020 11:54:53 -0300 Message-ID: References: <83fteryy4o.fsf@gnu.org> <837dzyuf20.fsf@gnu.org> <83a74tbc9v.fsf@gnu.org> <83tv2w9sa3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000ab0dc05a0814e5d" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="126114"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39865@debbugs.gnu.org, Robert Pluim To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 10 16:09:24 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 1jBgVW-000Wbo-NX for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Mar 2020 16:09:22 +0100 Original-Received: from localhost ([::1]:35128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBgVV-0004gm-EO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Mar 2020 11:09:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35967) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBgId-0000v5-Q6 for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 10:56:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBgIc-00057A-Lo for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 10:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47103) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBgIc-00056h-IF for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 10:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBgIc-0001sZ-GR for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 10:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vinicius =?UTF-8?Q?Jos=C3=A9?= Latorre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Mar 2020 14:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39865 X-GNU-PR-Package: emacs Original-Received: via spool by 39865-submit@debbugs.gnu.org id=B39865.15838521117167 (code B ref 39865); Tue, 10 Mar 2020 14:56:02 +0000 Original-Received: (at 39865) by debbugs.gnu.org; 10 Mar 2020 14:55:11 +0000 Original-Received: from localhost ([127.0.0.1]:53076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBgHn-0001rV-04 for submit@debbugs.gnu.org; Tue, 10 Mar 2020 10:55:11 -0400 Original-Received: from mail-il1-f174.google.com ([209.85.166.174]:37811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBgHl-0001rB-Sp for 39865@debbugs.gnu.org; Tue, 10 Mar 2020 10:55:10 -0400 Original-Received: by mail-il1-f174.google.com with SMTP id a6so12261361ilc.4 for <39865@debbugs.gnu.org>; Tue, 10 Mar 2020 07:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3Rqjjjr5ths+KrBcOEX1uqOuBlJ0EXVbPsSpcOAQxXc=; b=G2BfDvOsZuyb/UUz8S5Q3EFGijkorvP/torfKEdT43FgLbjuQu1VnHBtc1GjXg10nM nMh+qJUKYesqDPAV08IuOXk1vwuYDpqkIwIg2qPcpRoe/9nulC7bw2UpFcwJ7N25ejmT 7+qAC0NOS4cwOw11T9gNs4SdMceQ6rI79Fk26r9xRRrH+Q3HYWZwGZiuQYgZLP5mjcZK tOo42OUZ4RE/YdpvoBSKdnYfPwjhLOqS5c1Nv37R3Exra8wV+PYDHO11wvHLBtOSxmJu kzKF33OJJHajxh3V+DcKaSjD88ActH0VybTfnVcTfc6ffDlcCglIu66ITInlKcF5Lvgp ZfCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3Rqjjjr5ths+KrBcOEX1uqOuBlJ0EXVbPsSpcOAQxXc=; b=D+AsLb6bB7jrFyYFaorxAjLqNuc0sauHycR57gUOcAqnZLD6Pl89jBMvb3s0XrM0bh eoT+hf7pSxU2keWb+cg1QtwgR93+puHESV6UNNzPkL04CMFC+FZ3B+O3w1BWL1FBodPe JhB8rJOLAXsOLCH1ErcqfqLREVfrqdtaYgVONJSyAdZN5/R1iukif/m2jlMKuz1y9GQh 5aZjnG+lvkMmUy3hFjXbAfHUp1odYJ5lXzi9ktZGZSv8lj5cL80rBNWypjpNFjZIxAqE eJ8SwMoWkshIzU1BcDQhXlUZdwxahZcEENKEzx81tz+HR9XzDMwSOZF5Zf3KPD6NqI9S fZhQ== X-Gm-Message-State: ANhLgQ2zI1nMeaRAdKzBDK5BlKbMCgivuwrNUj8xX6OOAG4elljp1qfv MRkdeAjF4tWy6QAoUafEovjvITAnXW0jIzI8/34= X-Google-Smtp-Source: ADFU+vudP3kvfhP5yqSw7alnbPi9uJHVetgEC1HYJY7t/uhtMB4GIia0an2UX1BmJhpoomMzYcvuEdX5opvKf9cKeWM= X-Received: by 2002:a92:9e0a:: with SMTP id q10mr21074126ili.194.1583852104100; Tue, 10 Mar 2020 07:55:04 -0700 (PDT) In-Reply-To: <83tv2w9sa3.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:177141 Archived-At: --0000000000000ab0dc05a0814e5d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > AFAIU, the problem in this case wasn't that the backend wasn't > supported, it was that it was changed in the middle of a session. Yes, but only at emacs starting (~/.emacs evaluation), after starting there is no problem to set a font-backend. On Tue, Mar 10, 2020 at 11:52 AM Eli Zaretskii wrote: > > From: Robert Pluim > > Cc: Vinicius Jos=C3=A9 Latorre , > > 39865@debbugs.gnu.org > > Date: Tue, 10 Mar 2020 15:29:44 +0100 > > > > >> I think that emacs should be more robust about this and do not > crash for any bad value. > > > > Eli> I agree. It is not a bad value, we just couldn't yet find a > way of > > Eli> switching the font-backend. > > > > Eli, would you accept a patch for emacs-27 that signals a user-error > > if trying to set a font-backend that=CA=BCs not supported by the runnin= g > > emacs? Or that ignores it (with a message)? > > In general, yes; but I'd need to see the patch. > > AFAIU, the problem in this case wasn't that the backend wasn't > supported, it was that it was changed in the middle of a session. > --0000000000000ab0dc05a0814e5d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> AFAIU, the problem in this case wasn't that the b= ackend wasn't
> supported, it was that it was changed in the midd= le of a session.

Yes, but only at emacs starting (~/= .emacs evaluation), after starting there is no problem to set a font-backen= d.




On Tue, Mar 10, 2020= at 11:52 AM Eli Zaretskii <eliz@gnu.org= > wrote:
= > From: Robert Pluim <rpluim@gmail.com>
> Cc: Vinicius Jos=C3=A9 Latorre <viniciusjl@gmail.com>,
>=C2=A0 =C2=A039865@debbugs.gnu.org
> Date: Tue, 10 Mar 2020 15:29:44 +0100
>
>=C2=A0 =C2=A0 =C2=A0>> I think that emacs should be more robust a= bout this and do not crash for any bad value.
>
>=C2=A0 =C2=A0 =C2=A0Eli> I agree.=C2=A0 It is not a bad value, we ju= st couldn't yet find a way of
>=C2=A0 =C2=A0 =C2=A0Eli> switching the font-backend.
>
> Eli, would you accept a patch for emacs-27 that signals a user-error > if trying to set a font-backend that=CA=BCs not supported by the runni= ng
> emacs? Or that ignores it (with a message)?

In general, yes; but I'd need to see the patch.

AFAIU, the problem in this case wasn't that the backend wasn't
supported, it was that it was changed in the middle of a session.
--0000000000000ab0dc05a0814e5d--