From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: oscarfv@telefonica.net (=?UTF-8?Q?=C3=93scar?= Fuentes) Newsgroups: gmane.emacs.bugs Subject: bug#18606: 25.0.50; SES: Copy&Paste row doesn't keep attributes Date: Thu, 30 Oct 2014 20:15:35 +0100 Message-ID: <877fzh74fw.fsf@telefonica.net> References: <87iok2d4a7.fsf@telefonica.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414771733 17291 80.91.229.3 (31 Oct 2014 16:08:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 16:08:53 +0000 (UTC) To: 18606@debbugs.gnu.org, Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 31 17:08:46 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XkEkn-00060t-1w for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2014 17:08:45 +0100 Original-Received: from localhost ([::1]:38677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkEkm-0006lr-FJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2014 12:08:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkE9O-0005wR-96 for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2014 11:30:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjvEQ-0001Be-U7 for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2014 15:18:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjvEQ-0001BL-Pp for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2014 15:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XjvEQ-0004g9-D6 for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2014 15:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: oscarfv@telefonica.net (=?UTF-8?Q?=C3=93scar?= Fuentes) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Oct 2014 19:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18606-submit@debbugs.gnu.org id=B18606.141469666417961 (code B ref 18606); Thu, 30 Oct 2014 19:18:02 +0000 Original-Received: (at 18606) by debbugs.gnu.org; 30 Oct 2014 19:17:44 +0000 Original-Received: from localhost ([127.0.0.1]:40847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjvE8-0004fc-29 for submit@debbugs.gnu.org; Thu, 30 Oct 2014 15:17:44 -0400 Original-Received: from smtp10.acens.net ([86.109.99.134]:38135 helo=smtp.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjvE1-0004f8-7i for 18606@debbugs.gnu.org; Thu, 30 Oct 2014 15:17:42 -0400 X-CTCH-RefID: str=0001.0A0B020C.54528EC4.02F2, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-Spam: Unknown Original-Received: from qcore (79.158.173.198) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 543BDE72009AEC2A; Thu, 30 Oct 2014 19:17:24 +0000 In-Reply-To: (Stefan Monnier's message of "Thu, 30 Oct 2014 13:37:41 -0400") Original-Lines: 37 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-From-Line: nobody Thu Oct 30 20:15:37 2014 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95293 Stefan Monnier writes: >> Until recently, alignment was copied too. > > Actually, the alignment has simply changed in the new code (it was > never copied/preserved). You can see it if you create a new .ses file > and insert "test" in the first field: in 24.4 it is right aligned, and > in 25.0.50 it's left aligned. > > More specifically, you can now control whether the text is left-aligned > or right-aligned by choosing between using a string (left-aligned) or > a symbol (right aligned). Ok, now I understand what happens a bit better. The printer for the A colunm on the attached file is `nil', the default one. So you changed what that means for strings from right-aligned to left-aligned. Now, ses files show the previously existing string cells right-aligned, but the new ones left-aligned. That is, if visited with future emacs versions, but not if visited with existing versions. And I do not see an easy way of setting a column/cell/default printer that right-aligns strings: ("%s") left-aligns, as advertised, and "%s" does the default for strings, which is to left-align too. So we have two issues here: a change on default behavior that alters apparience depending on the Emacs version used to visit the ses file, and missing an easy method for achieving what the user originally intended (right-aligned strings.) I understand that, most often, the user will like to see strings left-aligned, so your change makes sense. You force existing users to adapt their ses files, if they used right-aligned strings. That's ok with me personally, and you are the one entitled to decide when it is worth to take that type of decissions. So I'll not argue here. But we absolutely need a way to implement the previous behavior, providing a printer that right-aligns strings. And one that does not break backwards compatibility, preferably.