From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Buffer names with R2L characters Date: Tue, 21 Jun 2011 10:28:25 -0400 Message-ID: References: <838vswwk2b.fsf@gnu.org> <834o3kw6qg.fsf@gnu.org> <8762nzajxx.fsf@uwakimon.sk.tsukuba.ac.jp> <87vcvz8tgq.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1308668275 16623 80.91.229.12 (21 Jun 2011 14:57:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2011 14:57:55 +0000 (UTC) Cc: cloos@jhcloos.com, emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 21 16:57:47 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZ2Oh-0000sO-4I for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2011 16:57:47 +0200 Original-Received: from localhost ([::1]:36587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ2Of-00058f-At for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2011 10:57:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ1wN-0005XV-OH for emacs-devel@gnu.org; Tue, 21 Jun 2011 10:28:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ1wM-0003n5-06 for emacs-devel@gnu.org; Tue, 21 Jun 2011 10:28:31 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:59556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ1wL-0003n1-Kx for emacs-devel@gnu.org; Tue, 21 Jun 2011 10:28:29 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QZ1wH-00016x-MK; Tue, 21 Jun 2011 10:28:25 -0400 In-reply-to: <87vcvz8tgq.fsf@uwakimon.sk.tsukuba.ac.jp> (stephen@xemacs.org) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:140778 Archived-At: > From: "Stephen J. Turnbull" > Cc: cloos@jhcloos.com, > emacs-devel@gnu.org > Date: Tue, 21 Jun 2011 17:44:05 +0900 > > > There's no major mode here to help us DTRT with a string that is part > > of the mode line. > > Sure there is, "mode line mode". ;-) Mode lines have a syntax, and so > do buffer-names (when uniquifying). I think the difference is significant. Mode line in Emacs is fully programmable, and can be programmed to display anything in any order and form. There are much less rules here than in any major mode, because the latter is constrained by externally imposed rules of the "language" supported by the mode. By contrast, I can program my mode line to break any and all "syntax" that users of the default mode-line-format are used to. Even uniquifying buffer names can be done in several different flavors, out of the box. Anyway, I'm perfectly happy to leave the display of such names as the UBA would have them, and mark this as a temporarily missing feature. At least the MS-Windows file manager displays such names the same (cannot test on GNU/Linux where I'm typing this), so we have nothing to be ashamed of. Btw, the numbered backup files suffer from the same problem, their buffer names are displayed as 1~.RABOOF~ instead of ~1~.RABOOF. So it's not just the duplicate file names that will trigger this.