From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Allow inserting non-BMP characters Date: Thu, 28 Dec 2017 12:31:39 +0000 Message-ID: References: <20171225210115.13789-1-phst@google.com> <83d132hz9e.fsf@gnu.org> <834lodii55.fsf@gnu.org> <83zi65grxv.fsf@gnu.org> <20171226213642.GB82103@breton.holly.idiocy.org> <83shbwhm70.fsf@gnu.org> <20171228113820.GA83324@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11414e1e38a26c056165b361" X-Trace: blaine.gmane.org 1514464210 22254 195.159.176.226 (28 Dec 2017 12:30:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 28 Dec 2017 12:30:10 +0000 (UTC) Cc: phst@google.com, Eli Zaretskii , emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 28 13:30:06 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUXJy-0005Do-0X for ged-emacs-devel@m.gmane.org; Thu, 28 Dec 2017 13:30:02 +0100 Original-Received: from localhost ([::1]:49220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUXLw-0005e6-E9 for ged-emacs-devel@m.gmane.org; Thu, 28 Dec 2017 07:32:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUXLl-0005ci-0T for emacs-devel@gnu.org; Thu, 28 Dec 2017 07:31:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUXLk-0006YH-68 for emacs-devel@gnu.org; Thu, 28 Dec 2017 07:31:53 -0500 Original-Received: from mail-qt0-x234.google.com ([2607:f8b0:400d:c0d::234]:35412) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eUXLi-0006Vs-NZ; Thu, 28 Dec 2017 07:31:50 -0500 Original-Received: by mail-qt0-x234.google.com with SMTP id u10so50956693qtg.2; Thu, 28 Dec 2017 04:31:50 -0800 (PST) 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=yknkctncXMn1MrPBtlT8iIzq5aChvKBM4pIA1LLkLII=; b=HQrJmVrO3MbGxdpG9GqCJPwB1x6fSPBC7t04HFSy6zDoIUungep1BgGt+hKMWEytIA 80upUGSgdPpj7tJd+oAY27V5MuWHWP7My4T1OxRR+6jgOXxbQ29x3tv7AsQaDL1zWzXv ZfDKMiSJ13XA/69LNaLYlqsbe2YVvQYkQbUZj4IisO0WKjCgTb6S27YnwJHIIaagwjgS 9phJ6nrIqYwcMS9Xg9nQ1rRWH0o+atWNDZD+Gkk58NnexoDB0iGTUbJXQ3fy7EcGHXoz VzoDW6Q3UMm3ukdewIOwSGasQtu4G9V1X3Gifr0zGrKKj24eH/lsg1UtiuAkcuKZrkbz ghmQ== 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=yknkctncXMn1MrPBtlT8iIzq5aChvKBM4pIA1LLkLII=; b=YDvsvTOcbH9aGliUEJ87i6926DPlxxvlCufZU3koNvWsdSwhfSW1fPaAqvPWTFZj+o vXGyX8imWLM4e8kwKwqAXOlKVRDD4yFXoxIdTAToAnQBAZ1QFoY9FAQvoNNjh3Jdmn9w YLSbjfn8NjtJQuo+Gxdulq3NvfycXD8QxQg56HlG+4IF/KtykUt0B4QedZDRIm2U6bAR pvL0OhZOMdCYCx663w26KxhYometz31C8Zb9prkmsg82KGLsuN38UfqIUsvg2kJPCnQG AEtwwtzeeED9EGu7zJzjDJZULN8llbdj7PMKdn8luej/BhV90bjcxFWY1zctjY6sHieM eW6g== X-Gm-Message-State: AKGB3mJNbcX+nYsOF8GDDf7//JbsAVWQvgcHLcKLJG4h2SXKB3wogTD2 542CyvyN4HaQXI2Q7H8GHsuwboTTCt2mKRXUyrxdGg== X-Google-Smtp-Source: ACJfBotbt/apAb9BIvU7SO66roUYzDP/JR+niMWC2HAjJUpwAhxcmGJYHzVnoByYet/vq687AjZl5Cfyt2hjyJF68N0= X-Received: by 10.237.60.206 with SMTP id e14mr36224467qtf.157.1514464309976; Thu, 28 Dec 2017 04:31:49 -0800 (PST) In-Reply-To: <20171228113820.GA83324@breton.holly.idiocy.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221440 Archived-At: --001a11414e1e38a26c056165b361 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Alan Third schrieb am Do., 28. Dez. 2017 um 12:38 Uhr: > On Wed, Dec 27, 2017 at 05:41:23AM +0200, Eli Zaretskii wrote: > > What about the possibility that SAFE_NALLOCA could signal an error and > > longjmp to top level? Does this code always run in the main thread, > > and if so, can it allow such longjmp's? > > I think it does always run in the main thread, however since it runs > within the NSApplication run loop I=E2=80=99ve no idea what would happen = if we > did a longjmp. > > We should probably avoid longjmps here. This message is invoked by the window manager, which most likely can't deal with longjmps. --001a11414e1e38a26c056165b361 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Alan T= hird <alan@idiocy.org> schrieb= am Do., 28. Dez. 2017 um 12:38=C2=A0Uhr:
On Wed, Dec 27, 2017 at 05:41:23AM +0200, Eli Zaretskii wrote:
> What about the possibility that SAFE_NALLOCA could signal an error and=
> longjmp to top level?=C2=A0 Does this code always run in the main thre= ad,
> and if so, can it allow such longjmp's?

I think it does always run in the main thread, however since it runs
within the NSApplication run loop I=E2=80=99ve no idea what would happen if= we
did a longjmp.


We should probably avoid longjmps here= . This message is invoked by the window manager, which most likely can'= t deal with longjmps.=C2=A0
--001a11414e1e38a26c056165b361--