From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Alignment and images Date: Tue, 28 Jun 2016 19:51:57 +0200 Message-ID: References: <831t3hxowt.fsf@gnu.org> <83twgdw9n7.fsf@gnu.org> <83por1w6ng.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467138010 28115 80.91.229.3 (28 Jun 2016 18:20:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2016 18:20:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 28 20:19:59 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bHxc1-0004Nn-Lv for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2016 20:19:53 +0200 Original-Received: from localhost ([::1]:38666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHxc0-0008Of-S9 for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2016 14:19:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHxB7-0005zL-9a for emacs-devel@gnu.org; Tue, 28 Jun 2016 13:52:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHxB3-00076X-7I for emacs-devel@gnu.org; Tue, 28 Jun 2016 13:52:04 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:58743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHxB3-00076R-0H; Tue, 28 Jun 2016 13:52:01 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1bHxAz-0005ig-MQ; Tue, 28 Jun 2016 19:51:59 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUxLzADAQIGAwMIBQMM CQoJBgYCAgKYfI0lAAACaElEQVQ4jV2UsXbbMAxFEUXuXPCknEXQ8pyS4e4k0u5K4l755PD/P6EP lOI45WTxCnjAA2SKURw7I8wmBO/nmPOwDMNAMUbm08plZXYeTzGnvFQQ8La1hV1hHwDmGzDMpRSN EREEpVQBHsSVE9DqRDRXylVDHNSLnhoRU9xTCRu2ev/x8fDLSKoheSRVcBVQ117eqkZGyaphfjvc /12obQYFsyISw6ZqHMyZpHsPPqnMrOLmBPAxXLsXOR6y1uUjIpAK5ZYzdedWOhIvAZ1kciZoH+V1 OLat6bpGq1INM6U4B5lOh54OD09vvoKXmgq/5HQlnLZp8DjFCMDMOU9ZjoOSS2MkhATvAWCuY7kc cd/wiEZQsFblDMPBpx8rMr2y8VuLG4Ajgy1Ewx9xbje4prJ8fS3uJ53U3h6vz8tIDupohK080YMx Tvw89SMA7tlLPQpY0hTqoBBhtvsjNTraHPOig2IFcMXDp6YXwSxyXR+LLiSBKPBB8rgDp9p9EB80 VZY9YNPwPsJqgClNc1bpTw3vQ4hHah+Ralk2YLaqosSO6DDnZdyBapgAhxLAOe+JFKy66yjXEz0O wxfgorkw/uczUbqL0PXHOkgcAOY7cFWzGN9CgsS4bE3UVG417or2WgyqzV/A6ravmNoLRnvIN0Lu CgkYH5CqVZBvVSGV1qsR73fAlVVq78//AcEXa9dezHFs6dD3N3fFsrGrtp7OZ6z19AnW4nrLWCKM tqW2F82F/wDSj9JaNR8LptuDhVNG9XstV1sdEKD4DWyHjZrW18LuwaqJJM95+AZYgeQem76D1d4C VGFv8R8NXeMhLBmUwwAAAABJRU5ErkJggg== In-Reply-To: <83por1w6ng.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 Jun 2016 20:43:47 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.224.195 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:204880 Archived-At: Eli Zaretskii writes: > Intangible doesn't work because we deprecated it, and set > inhibit-point-motion-hooks to t; set it to nil, and it will work (but > you really should use the newer replacements). That's `cursor-intangible'? > However, this won't solve your problem, since the cursor position > before the stretch will always be visited, as intangible doesn't > affect it. > > We have on the C level a flag to avoid positioning cursor on a stretch > glyph (we use it for line-prefix and wrap-prefix), but we don't expose > it to Lisp. So... there is no easy way implement this in the current Emacs? Using post-command-hook and keeping track of previous cursor positions seems kinda ... non-optimal. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no