From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.help Subject: Re: Displaying the cursor inside an overlay? Date: Sun, 09 Jan 2022 18:51:54 +0800 Message-ID: <87a6g5tc51.fsf@yahoo.com> References: <87iluttfdz.fsf.ref@yahoo.com> <87iluttfdz.fsf@yahoo.com> <837db92obd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14149"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 09 11:52:55 2022 Return-path: Envelope-to: geh-help-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 1n6Vol-0003Rg-04 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 09 Jan 2022 11:52:55 +0100 Original-Received: from localhost ([::1]:57316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6Voj-0003gO-IS for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 09 Jan 2022 05:52:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6Vo4-0003gA-HB for help-gnu-emacs@gnu.org; Sun, 09 Jan 2022 05:52:14 -0500 Original-Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:44398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6Vo0-0001M4-R9 for help-gnu-emacs@gnu.org; Sun, 09 Jan 2022 05:52:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641725525; bh=RN5nlkmLxRlpFMVueJ6uyqL15Uh4JmD9RG6L4Tno3W0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=RQNKszhzFLH+DGPewb1h1iU8p1J/0/38abjGt15oOx7/8vUDViMElM9OV4OVBaUVexPxFKnyIe/aTENR82qL6tN9N++ZODp9LACZT6N4qCYuMwJp7lox31EoZXWHZtEXi+FnegXxKGHzAKkubonWQ8mpvMjoF7UHk/hf5ud5Es8kwKsS0NAp3kyDVGWzb51W12hvn17bdtvvmqStPfHQuH+FW9up8hn8VOt8SZHZDz1Ga2SKNgsKtLxcUG4052x1ELKNTEmkcmi7e2Whqn/fBrSzb4/uftp+5LAAdF5ZCVBdDHzYlEEpd3ZpPFN0BKcW7VeWV+DhmBRTVdRzCMNHFA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641725525; bh=3ofXDBPfDc0eEHRXo4mFW+/k86mDn55BWieYL8QUHYF=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=T/4NGsa+5rvF5kMoJlOq2OHH4Bovf8nPcA/crs9OvRe+ZPR1IqKcF71gL1Emmx1gVp0cmsV4IqNufJP0TnKjDwAdLgqf8uJBJrnmB1InOzOwztdy3Jz+nUQQFpGoxgry0uYPznLqXwZPU/A14EghixJ04esQJ3gdaaMktF6CmlEDeVgJKcALdSTyJQAKdPkc4ya7Kfu82wCkrm49jb3zlK+pu/tKngu/iSsu+qY3fdY4nXf7vv4UrwBTImDtmLeBx5lD5vINoBL+Oe///HEFHTmAvpK2f9RFCD+OPX+mCBC+kOQK0OGLa+oFyfxGwJQUnBgWkoS3JUzZNVJ9oEQrrg== X-YMail-OSG: T6JmgXwVM1n1qrtoTQBtAbHkNoP1d1HOG7lS9k4isWfCy_wXYSahAgI5sJlNRzt .pVSDFqKxVbnr5uZie8P6xiochfy5vNKqUKdVHIbx0fpl2rQqd81OXfRoxByX9ADOnZupxiwP909 JSnbrtFiuhQxx53ciBs6xpLBrexuOPRDgBx1ZzWEXHjjDDPhQIa7ulU8HN6Yp3N80s9Ha.sBh3GY e8W93rehOHnb8sFaSu_WaAx9CEA_BvpQ1fTIeHZ0hnuZFQ_RJlkKCt1iRf.ELzqlinMBu4SU_awR hLnSPw9CSJCSzcD0jb_6e53e9vXyD7S3ucU_wcOWM1_PdoVXG7fMEVUsRneltveXHflVx5q_9JAx 0Dl75rOufWH.xkKZj7ziLj6q2zkUuFjyGLm92Ik5p28umKipCOiVk6F7W4_UuWifYouTTDYJ1J0L VOYkwoBytJvYa2oomUUXT0J.buKa.pW4Ckf2Gqes1nW7sBlWZnWVt1NcFpq6uZL1QBNiVARUqXqc knRQsgIcTDTccKZOYKehU7c_BJrAsTRop2euUZ0VEttFqTSk5qelAGRMZUCM_G0TRE4exWgRMjuF dZDCIr1Lp0XsBkDe8tkOzcMZTzfK0ZH9jFXA7B4gtS3VZcg2ehK2AONJOTBCpK04ExNjTMAuJ5VA VeT1r0fXq1juDJE2Fl2Bbwm8OipsTsQpUzFkUo5a9ijCoWhG3mX3foNXUeH7DyUZkASrSGyoM.ak Y7svMn4db8mtYzNsSnFxyeH6YehZ0flPLVydHWgFHgiyxTSkiuc.avLgt7Yh20BQS8pKHpOHlRkj 66heS3ESeyVK3pc9dGkNesA9_Tqj_xiNrfmpeOv.rK X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Sun, 9 Jan 2022 10:52:05 +0000 Original-Received: by kubenode514.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7ebbc4e2f24af7899c724805170f0c5b; Sun, 09 Jan 2022 10:52:01 +0000 (UTC) In-Reply-To: <837db92obd.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 09 Jan 2022 12:31:02 +0200") X-Mailer: WebService/1.1.19551 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.148; envelope-from=luangruo@yahoo.com; helo=sonic316-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135145 Archived-At: Eli Zaretskii writes: >> From: Po Lu >> Date: Sun, 09 Jan 2022 17:41:44 +0800 >> >> Is there a way to display the (bar) cursor at some position inside an >> overlay's before or after string? > > Use the 'cursor' property on the string. (This doesn't depend on the > cursor's shape, so it should work with a bar cursor as it does with a > block cursor.) Thanks, I must've missed that. I see it in the index of the Lisp reference manual now.