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: Bidirectional text and URLs Date: Sat, 29 Nov 2014 19:33:47 +0100 Message-ID: References: <87a93cngwv.fsf@uwakimon.sk.tsukuba.ac.jp> <837fyfml31.fsf@gnu.org> <874mtio7wh.fsf@uwakimon.sk.tsukuba.ac.jp> <83r3wml8kq.fsf@gnu.org> <83zjb9an0q.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417286067 25769 80.91.229.3 (29 Nov 2014 18:34:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2014 18:34:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 29 19:34:21 2014 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 1XumqZ-0001Gn-7V for ged-emacs-devel@m.gmane.org; Sat, 29 Nov 2014 19:34:19 +0100 Original-Received: from localhost ([::1]:48457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XumqY-0005Om-Qi for ged-emacs-devel@m.gmane.org; Sat, 29 Nov 2014 13:34:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XumqR-0005Oe-0d for emacs-devel@gnu.org; Sat, 29 Nov 2014 13:34:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XumqL-0002GU-Ml for emacs-devel@gnu.org; Sat, 29 Nov 2014 13:34:10 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:60815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XumqL-0002GO-H3; Sat, 29 Nov 2014 13:34:05 -0500 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Xumq3-0004yW-EI; Sat, 29 Nov 2014 19:33:47 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEVYKCs2ERwXBxHNrZab cWTlzLZdYnwTAAACTklEQVQ4jWWUzbLaMAyFJWL2lmj3scoD0HGyN9fOvjNO3v9VeuTQXm5rMhD0 Rf8HKOf1+P/kRl/A39slA+RP0D/vAPrp078SOvLbt3eQX7HW7ndwf0EAIiEWjvR2tnUANTOdqT0J FI8ITwDLC6Tr8ow4QlFiQFULv8BWSCTiwseEHA9xu6XaG3EiZUJGB2UAvR9HfcAsDBKv3QEPUAFE RdyDNgcqCKSeD2kTrCh/G6EQS8SmD/FDHPFywEJmHG0qjFvyRsg9dmZWnaOEgoZoIIoDEEAaDwcm OSdzXalL5CSptYoRttaC29nLtcgq6XN3zeu6IpSlC+vso8fg27ojFSk8ADCcbxX2FRdAIbbvBz00 ocI47Nhx3n1UCrAPELZjA9uO+gkuCKVT/Qlw1GNDDlVxwIqypuOXA/gtGAA7yGzxYtc8JIBQuYwG D+ovMKSytwXrwuYBsqJDuw3Vee87Ghyg24yGZhdyiaFldC4D7Ir67H7qtR4e6QQZk0HFkGDbnrEw GakwAMRElsKOTUwIHq4XtnSWO19snjprsLnUnh8XgJvvPIjNdSEtdneJF6hpeDwDqm1Q4Ycm6Xlx gGIGSLeHkt6fMzyWllQHKCxpbgZFtcaI1LBr+5GpNlQRoTkKxy5TpgBZKEB+QocEsVNYu1CDrOdI N4AP5AKwSPVhMltAuzwN4Nl88xiNJdSqKVaAcnEBxeBajiyQMRICLGMxdNqjRipLc/VhVrWNH3Je sv99rL6YjkkvZcp/zgpr7/m1gndwvp8AMs7/HCxzzb8BWIC2HDO3aBUAAAAASUVORK5CYII= X-Now-Playing: Bob Hund's _Bob Hund_: "Det skulle vara =?iso-8859-1?Q?l=E4?= =?iso-8859-1?Q?tt_f=F6r?= mig att =?iso-8859-1?Q?s=E4ga?= att jeg inte hittar hem men det =?iso-8859-1?Q?g=F6r?= jag; tror jag" X-Hashcash: 1:23:141129:eliz@gnu.org::7gV778FW+v4NAUs2:000006vh/ X-Hashcash: 1:23:141129:emacs-devel@gnu.org::emGETZw/DFYgSbQv:0000000000000000000000000000000000000000009Lt4 In-Reply-To: <83zjb9an0q.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Nov 2014 20:18:29 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1Xumq3-0004yW-EI MailScanner-NULL-Check: 1417890827.96832@XvT1BLbFCV7njUdCKSj2QA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178472 Archived-At: Eli Zaretskii writes: > I think instead of removing them it is better to display them > prominently, e.g., by changing their entry in the > glyphless-char-display char-table. The advantage is that you don't > accidentally harm the display where these controls are used > legitimately, and OTOH make their presence acutely evident. Yeah, isn't that a bit too intrusive if done generally? If we display these markers very visibly, then buffers where they are legitimately used would be kinda ugly. And I don't think users would necessarily know that the URL is displayed the wrong way around just because there's an ugly control character displayed before or after the URL... >> But currently Emacs doesn't really have a mechanism for querying the >> directionality of a buffer region, I think? > > What do you mean by "directionality of a buffer region"? At least > under some definitions of that, I can think of a very easy > implementation. When hitting RET on an URL, the function that handles that could ask Emacs "is the http://domain.com bit displayed RTL or LTR"? If it's RTL, then that function could "are you sure?" the user. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no