unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Is it possible to move a column where column on right is variable width
@ 2017-05-16 16:34 Angus Comber
  2017-05-16 17:38 ` Kaushal Modi
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Angus Comber @ 2017-05-16 16:34 UTC (permalink / raw)
  To: help-gnu-emacs

I downloaded a file, LSE.txt from this link:

http://www.eoddata.com/Data/symbollist.aspx?e=LSE

which is of the form:

symbol<tab>Description

the description is pretty free form.  Here are some examples:

06GG.L	BARCLAYS BANK PLC UNDATED FLTG RATE PRIM CAP NOTES'2'USD
06GL.L	NATIONAL GRID GAS 8.75% BDS 27/6/25 GBP(VAR)
07OZ.L	HAMMERSON PLC 6.875% BDS 31/3/20 GBP(VAR)

What I would like to do is swap so it displays:
Description<tab>Symbol.

I tried using rectangles, eg:

set mark at top left buffer, C-space
select area, ie selected area is all of Symbols column
Then c-x r k to remove the symbols from 1st column and save to the rectangle kill ring.
then I replace $ with tab.

Then I navigate to the end of the first line and try c-x r y - but that inserts the symbols into the middle of the Descriptions.

Is there any way to do what I want?


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

end of thread, other threads:[~2017-05-18  6:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-16 16:34 Is it possible to move a column where column on right is variable width Angus Comber
2017-05-16 17:38 ` Kaushal Modi
2017-05-16 19:11   ` Joost Kremers
2017-05-16 19:23     ` Emanuel Berg
2017-05-16 19:32     ` Kaushal Modi
2017-05-16 18:51 ` Tomas Nordin
2017-05-16 19:14   ` Emanuel Berg
2017-05-16 21:56   ` Tomas Nordin
2017-05-17  1:17 ` Skip Montanaro
2017-05-17  2:05 ` Ben Bacarisse
2017-05-17  6:22 ` Loris Bennett
2017-05-18  6:17 ` hector

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).