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.devel Subject: Re: msys2 build path problems + copy-paste english results in chinese characters Date: Sun, 05 Dec 2021 12:17:48 +0200 Message-ID: <83a6hf4apf.fsf@gnu.org> References: <83a6hks26v.fsf@gnu.org> <83pmqgqi6e.fsf@gnu.org> <835ys7qxuo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28428"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 05 11:18:50 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mtobZ-0007Gu-TM for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Dec 2021 11:18:50 +0100 Original-Received: from localhost ([::1]:55736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtobY-00089R-At for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Dec 2021 05:18:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtoah-0007OR-7W for emacs-devel@gnu.org; Sun, 05 Dec 2021 05:17:55 -0500 Original-Received: from [2001:470:142:3::e] (port=36056 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtoag-0008Ei-PJ; Sun, 05 Dec 2021 05:17:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=XySx0C6T5+a0OUDcwTFiQioBwFEkEqNC5nqtz0zXKoI=; b=dcvArtQ+uz6BGiCWjnL8 e7jvB1UXXRTyvF+oWU2VtpvSPOQqJIXhEFlmhRAisju4FOWuUwJPyBYXVuK31qksmWXb37JGrRlGh FIU3e1+9XuVeMDvbn5jhNWE7MLK8Cm4vbg/Byr5+p/M1SVlotFy2wZB4DY9+xt0jsuklJNhtWKIeH ZnWQ2x20ho5aPEVdRbz0zeRpPwk+jsYPvaJ90ZepOFpOe2olpOmolazoRbRRxj0TglZQth7z0t9fz 5f1dHz2Ue/i6b50nUu5Pb6zYXSHBn4DO0IDOm15h8LzaPG3Gyfpvti/3i1TpenRJcdRAAzEEm4v/8 iICgXOOTyBf0FA==; Original-Received: from [87.69.77.57] (port=2427 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtoag-0000h4-BP; Sun, 05 Dec 2021 05:17:54 -0500 In-Reply-To: (message from Arthur Miller on Sun, 05 Dec 2021 09:16:50 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:280977 Archived-At: > From: Arthur Miller > Cc: emacs-devel@gnu.org > Date: Sun, 05 Dec 2021 09:16:50 +0100 > > I have been back to windows now, and got server/dameon to work again, paths > fixed etc. Then I have experienced something I think is a bug and wanted to > test it in a clean Emacs, so I started new instance with -Q option. I copied > text from my customized Emacs with by marking text and using kill-ring-save > (M-w). In clean Emacs I pasted it with yank (C-y) and result came out > completely scrambled, screenshot included. I think the reason for this is in your customizations in Emacs from which you did the M-w. It sounds like it somehow uses an encoding other than UTF-16 to encode the text it puts into the clipboard. > Regarding what I think is bug; I can't make a frame from elisp if I pass in both > width and height. Can you please separate the bugs? This is unrelated to the issue with copy/paste. > This code gives me "memory exhausted .." error (C stack > overflow?): > > (defvar emw--frame nil) > > (let ((w (display-pixel-width)) > (h (display-pixel-height))) > (setq emw--frame (make-frame > `((width . ,w) > (height . ,h) > (visibility . t) > (auto-raise . nil) > (skip-taskbar . t) > (no-focus-on-map . t) > (no-accept-focus . t) > (undecorated . t) > (unsplittable . t) > (z-group . below) > (no-other-frame . t) > (minibuffer . nil) > (tool-bar-lines . 0) > (menu-bar-lines . 0) > (left-fringe . 0) > (right-fringe . 0) > (border-width . 0) > (internal-border-width . 0) > (vertical-scroll-bars . nil) > (horizontal-scroll-bars . nil))))) When I evaluate the above in "emacs -Q", Emacs signals an error: (error "Value ‘below’ for z-group is not supported on Windows") So I wonder why you get a different result. What version of Emacs is that?