From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: org-mode 9.6 and Emacs Built from Git HEAD Date: Fri, 02 Dec 2022 07:09:51 -0800 Message-ID: References: <87ilivucy5.fsf@localhost> <25480.49629.611912.323732@retriever.mtv.corp.google.com> <87cz93tkea.fsf@localhost> <87tu2el7f3.fsf@localhost> <25482.2636.186975.666369@retriever.mtv.corp.google.com> <87zgc6jfr1.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25487"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 02 16:10:28 2022 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 1p17gI-0006QA-ET for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Dec 2022 16:10:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p17fq-0001TT-GN; Fri, 02 Dec 2022 10:09:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p17fp-0001TL-H0 for emacs-devel@gnu.org; Fri, 02 Dec 2022 10:09:57 -0500 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p17fn-0006Bl-VJ for emacs-devel@gnu.org; Fri, 02 Dec 2022 10:09:57 -0500 Original-Received: by mail-pj1-x102f.google.com with SMTP id fa4-20020a17090af0c400b002198d1328a0so1373912pjb.0 for ; Fri, 02 Dec 2022 07:09:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=K5rOSOX9RX8Ff6P4fv/LQZS8bRoVmIpZrj/SKTQWges=; b=Da/ygbsv4PKGQbSf5UAvzmnQ8yjdgfe0XZR5W7G03iHK/pph/36+OxDLjMuePPKdj2 pNgDtg1MCKC7bjF9i7VHAiiZLTJXhO24lXVYTOOTtowAM+BliFAwC/6ScSHjuuhuOlWw hcEYmuE+bwLew7LLN/1x4ht8ippqmJDk2PbJcmH0a4g9GK48D5zylqEMiO2O4LARS4tL ILx89umAzOKS13pvVXLSBvNHj9okibx03zNPSzG2OJV28aJw24vCw8pjClGLhBrAEEs4 TLX644aVIASVGdbgLRatoe+GxN1UYZqb3zJqo/ymkAsnLxIooesgGsArx1En6uxjO5ac F9lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=K5rOSOX9RX8Ff6P4fv/LQZS8bRoVmIpZrj/SKTQWges=; b=YqA1wGM0BQOMOc6XnYBXKx5cqDklO4luqhrUufx1pNlN/RtdibpdL/6YCl4m5IOHe3 gS0NFJ6ySaZg6WR0j5kOOVmFxUG1076SF8YiY9S4/1lcPc28L1uFRE4HiIUINDm/Uotk /UPwVDDY/t+dK/Tqb0MmzMVqYd8uxzQvp36eP6+nMP6qtITpwwb8TSJr90R8FRLA2vM9 Jn+AZYt8K0A1ZLnd1S25Q2uqvimCtJMUcQii6/KEfMACw4IOZk/IQTcv4UpnmiXhBEnN KQz7hLQdUMPHAmA/77Pq82Qyem/ObB5foroVpu6igFi7Qm7U7heuQRDsc3UBXiFZ6IdK S+aw== X-Gm-Message-State: ANoB5plUGVs5YwnFJN15i0Qu0IPmzCrYRNAxcr1QRilo4Mgpq+T0QO4s SINEH22YI3ovZVqfcGOgdxUlhXUDbg+1Sx7EcXo= X-Google-Smtp-Source: AA0mqf6zTH5s7hFdigPXcT+bTOa0B0OWjZoPEDmaVGU+nNvkoukPKd9iHa+xbouQiTIYXN5oiEIKag== X-Received: by 2002:a17:90a:5801:b0:218:90b5:d1f2 with SMTP id h1-20020a17090a580100b0021890b5d1f2mr67241582pji.142.1669993793760; Fri, 02 Dec 2022 07:09:53 -0800 (PST) Original-Received: from raman9 (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id x31-20020a63485f000000b00477055c6d85sm4201789pgk.22.2022.12.02.07.09.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 07:09:53 -0800 (PST) In-Reply-To: <87zgc6jfr1.fsf@localhost> (Ihor Radchenko's message of "Fri, 02 Dec 2022 09:50:58 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=raman@google.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300836 Archived-At: I think I made some progress chasing this down: 1. Problem: With Emacspeak as implemented, org-fold-core-style set to text-properties results in hidden links being spoken. 2. The underlying cause appears to be how copying such text into another buffer works. 3. Emacspeak implements its core speech logic by copying over what is to be spoken (text) to a scratch buffer, pre-processing it, and then doing its work. 4. The "invisibility" gets lost in the new org fold implementation. See here for the relevant logic and code. I verified that the copy/insert to be the problem by: A. Open an org file with a link in it with org-fold-core-style set to text-properties. B. Set mark and do=20 M-: (setq text (buffer-substring (point) (mark))) C. Switch to a new buffer "foo" M-: (insert-for-yank text)D. Insert:=20 E. Move point to the portion of the link that should be hidden and do M-: (invisible-p (point)) Returns nil. --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8