unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18606: 25.0.50; SES: Copy&Paste row doesn't keep attributes
@ 2014-10-02 12:50 Óscar Fuentes
  2014-10-30 17:37 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Óscar Fuentes @ 2014-10-02 12:50 UTC (permalink / raw)
  To: 18606

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]


emacs -Q

Visit the attached SES file

Go to the last row that contains data.

Mark and copy the row to the kill ring (C-Spc Down Meta-w)

Press C-y to yank a new row. SES asks "Yank will insert 1 rows.
Continue? (y or n)". Press y.

The first cell of the new row is left-aligned. The cell it was copied
from is right-aligned.

Until recently, alignment was copied too.


[-- Attachment #2: conta14.ses --]
[-- Type: application/octet-stream, Size: 1668 bytes --]

                                               -10.00         
 Fecha Concepto                          Suma   Resta    Saldo
 1/ene First                                              1.00
 1/ene Somewhat large text that doesn't fit     10.00    -9.00
 2/ene Another                                           -9.00

\f
(ses-cell A1 nil nil nil nil)
(ses-cell B1 nil nil nil nil)
(ses-cell C1 nil nil nil nil)
(ses-cell D1 -10 (- (apply (quote ses+) (ses-range C3 C5)) (apply (quote ses+) (ses-range D3 D5))) nil nil)
(ses-cell E1 nil nil nil nil)

(ses-cell A2 "Fecha" "Fecha" nil nil)
(ses-cell B2 "Concepto" "Concepto" nil nil)
(ses-cell C2 "Suma" "Suma" nil nil)
(ses-cell D2 "Resta" "Resta" nil nil)
(ses-cell E2 "Saldo" "Saldo" nil nil)

(ses-cell A3 "1/ene" "1/ene" nil nil)
(ses-cell B3 "First" "First" nil nil)
(ses-cell C3 nil nil nil (D1))
(ses-cell D3 nil nil nil (D1))
(ses-cell E3 1 1 nil (E4))

(ses-cell A4 "1/ene" "1/ene" nil nil)
(ses-cell B4 "Somewhat large text that doesn't fit" "Somewhat large text that doesn't fit" nil nil)
(ses-cell C4 *skip* nil nil (E4 D1))
(ses-cell D4 10 10 nil (E4 D1))
(ses-cell E4 -9.0 (+ E3 (- (ses+ C4 0.0) (ses+ D4 0.0))) nil (E5))

(ses-cell A5 "2/ene" "2/ene" nil nil)
(ses-cell B5 "Another" "Another" nil nil)
(ses-cell C5 nil nil nil (E5 D1))
(ses-cell D5 nil nil nil (E5 D1))
(ses-cell E5 -9.0 (+ E4 (- (ses+ C5 0.0) (ses+ D5 0.0))) nil nil)

(ses-column-widths [6 30 7 7 8])
(ses-column-printers [nil ("%s") "%.2f" "%.2f" "%.2f"])
(ses-default-printer "%.7g")
(ses-header-row 0)

( ;Global parameters (these are read first)
 2 ;SES file-format
 5 ;numrows
 5 ;numcols
)

;; Local Variables:
;; mode: ses
;; End:

[-- Attachment #3: Type: text/plain, Size: 490 bytes --]





In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit)
 of 2014-10-01 on qcore
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description:	Ubuntu 14.04.1 LTS

Configured using:
 `configure --without-toolkit-scroll-bars --with-x-toolkit=lucid'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY LIBXML2 FREETYPE XFT
ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: SES

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-30 19:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-02 12:50 bug#18606: 25.0.50; SES: Copy&Paste row doesn't keep attributes Óscar Fuentes
2014-10-30 17:37 ` Stefan Monnier
2014-10-30 19:15   ` Óscar Fuentes
2014-10-30 19:31     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).