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#56344: 28.1; cannot copy-paste string with utf-8 letters (i.e. =?UTF-8?Q?=C2=B2?=): "Non-ASCII string must be encoded in advance" Date: Thu, 22 Sep 2022 12:42:27 +0200 Message-ID: <8735cj8zcc.fsf@gnus.org> References: <87sfnkwkyk.fsf@web.de> <83sfnkcaqv.fsf@gnu.org> <871qv2w04a.fsf@web.de> <838rpa9iw7.fsf@gnu.org> <87wnbqykox.fsf@gnus.org> <87bkt224s0.fsf@web.de> <87edw4s8k9.fsf@web.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="27498"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 56344@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 22 13:01:29 2022 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 1obJxR-00072i-3v for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Sep 2022 13:01:29 +0200 Original-Received: from localhost ([::1]:36036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obJxP-0002iI-Nf for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Sep 2022 07:01:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obJfa-0004fT-OY for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 06:43:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obJfa-0000lf-GL for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 06:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obJfa-000480-BW for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 06:43: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, 22 Sep 2022 10:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56344 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56344-submit@debbugs.gnu.org id=B56344.166384335815837 (code B ref 56344); Thu, 22 Sep 2022 10:43:02 +0000 Original-Received: (at 56344) by debbugs.gnu.org; 22 Sep 2022 10:42:38 +0000 Original-Received: from localhost ([127.0.0.1]:36482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obJfC-00047N-Js for submit@debbugs.gnu.org; Thu, 22 Sep 2022 06:42:38 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:53168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obJfB-00047A-1U for 56344@debbugs.gnu.org; Thu, 22 Sep 2022 06:42:37 -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 :Date:References:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc: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=Ul5uspvxXJoZxOvdpS1Q+8qf0uifzjlL17pV0wQj4Rw=; b=efNm/A4hO4i9HmVu3UzLLiQdh+ LbrVs3tjoq+Z3Q5n6rlkXvieqYabZr8KaoVrqOaCfaTEd9Qwza5w30IPOHrJK/33rv0aFaI9ulK1n RZNsTPf4jR4n7qF1gWWCzxkE6emX2zvDOEfFAqFn4hdznh3+AI6qukPOjr2zK4/on/g0=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obJf3-0007nR-7p for 56344@debbugs.gnu.org; Thu, 22 Sep 2022 12:42:31 +0200 In-Reply-To: <87edw4s8k9.fsf@web.de> (Arne Babenhauserheide's message of "Wed, 21 Sep 2022 23:44:27 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVBR1MTEhVTn+s/ Z52/r6z///8nA0HJAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YJFgojDiAt570AAAGoSURBVDjLbZOB dYMwDESlmgGs0AFaOwMY3AFc4v1nqk4yAZLCSx74c6eTMMQSM4sIfpGII4kQk+ASIHYQquNYFwo8 b7rWezdAFAg/pspzYvlUwCdFXYgkVpFJQXOFH0wUuehKH16WgREA1BXqFXGtwUyhZgMsEiMz/Kpb wmJqMBEAtGNHwYpoCPYiFq08wWT/+rRYJ9aLg0bdbfgMIqH8L7wUFAMVoLd+AlohOIi9nRQorZHN avpViKGgYwdUDDTZh2IgVNJKdjvtIABo66GiiM6S6ADVZnJvFn9yRaxhgLk/bCLkxQ8Q7g8Z80W1 +QQ2a711miDYQa59kzHADsEOUiplgOkF5GUXABR6gpSRqrCDlA+gbj/oG3FnPHiAlG0iXeLNbi3V apeLS+gjDULJybdLmj+mBEOua01f0UAY6/fsb1yV9j76Y1ckEnm2BzC/g+jbYX0Hvh1uB/ANJ2yS OL8pyED9x8rKb7a6XoB5Gch6HkBrQbKaYD0DssQQvAFI1CvnSw2tDsmG0V5S4ZuiPdYFUNTPZ0uZ 1pc+sH+19kNeAOHEmr/tP8Z4f61SELGbAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA5LTIyVDEw OjM1OjEzKzAwOjAwsJXROwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wOS0yMlQxMDozNToxMysw MDowMMHIaYcAAAAASUVORK5CYII= X-Now-Playing: James Taylor's _Sweet Baby James_: "Lo and Behold" 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:243407 Archived-At: "Dr. Arne Babenhauserheide" writes: >> I have not yet found what in my config could be causing it, but I am >> still searching. > > I finally found the reason for the problem: > In org-custom-link-completion.el I had defined string-replace as: > > (defun string-replace (this withthat in) > "replace THIS with WITHTHAT' in the string IN" > (with-temp-buffer > (insert in) > (goto-char (point-min)) > (replace-string this withthat) > (buffer-substring (point-min) (point-max)))) > > But this overwrote an internal function. > > After removing this (and its usages in my code replaced by plain > replace-regexp-in-string) my problems with encoding are gone. > > So this can now be closed as "user broke emacs with config" =E2=80=A6 Ah, I see. :-) > Thank you for your patience! No problem.