summaryrefslogtreecommitdiff
path: root/elpa/csv-mode-1.12/ChangeLog
blob: b3929eae6041c14fd5ccdd9514dd97c245db5d60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
2020-02-16  Simen Heggestøyl  <simenheg@gmail.com>

	* packages/csv-mode/csv-mode.el: Bump version number

2020-02-15  Simen Heggestøyl  <simenheg@gmail.com>

	Add tests for CSV mode

	* packages/csv-mode/csv-mode-tests.el: New file with tests for 
	csv-mode.el.

2020-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el: Revert part of last change.
	(csv-end-of-field, csv-beginning-of-field): Don't use csv-field-quotes. 
	I was confused.

2020-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el: New TAB/backtab commands

	(csv-tab-command, csv-backtab-command): New commands.
	(csv-mode-map): Bind them.
	(csv-end-of-field, csv-beginning-of-field): Obey csv-field-quotes.

2019-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el (csv-align--cursor-truncated): Fix C-e
	case

2019-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el: Auto-shorten columns as well

	(csv--column-widths): Also return the position of the widest field in 
	each column.
	(csv-align-fields, csv--jit-align): Update accordingly.
	(csv--jit-width-change): New function.
	(csv--jit-merge-columns): Use it on overlays placed on the widest field 
	of each column, to detect when they're shortened.

2019-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el: More cvs-align-mode improvements

	Rename csv-align-fields-* to cvs-align-*.
	(csv-transpose): Use split-string.
	(csv-split-string): Delete function.
	(csv--config-column-widths): New var.
	(csv-align--set-column): New function.
	(csv-align-set-column-width): New command.
	(csv--jit-align): Use them to obey the per-column width settings. Delay
	context refresh by jit-lock-context-time. Set cursor-sensor-functions to
	untruncate fields on-the-fly.
	(csv-align--cursor-truncated): New function.
	(csv-align-mode): Activate cursor-sensor-mode.

2019-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el: Fix incorrect truncation

	(csv--field-index): New function, extracted from csv-field-index.
	(csv--jit-align): Don't apply csv-align-fields-max-width to the last
	column.	 Fix move-to-column call.

2019-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el: Fix header-line's alignment

	(csv-header-line): Change csv--header-line into an overlay. Add a
	modification-hooks to auto-refresh the header-line.
	(csv--header-flush, csv--header-string): New functions.
	(csv--compute-header-string): Make sure jit-lock was applied. 
	csv--header-hscroll can be nil sometimes somehow!
	(csv--jit-flush, csv-align-fields-mode): Flush header-line as well.
	(csv--jit-align): Flush header-line when applicable.  Fix typo.

2019-10-09  Filipp Gunbin  <fgunbin@fastmail.fm>

	packages/csv-mode/csv-mode.el: Fix csv-align-fields doc

	(csv-align-fields): docstring mentioned csv-align-fields instead of 
	csv-align-padding

2019-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el: Remove Francis as maintainer

	(csv-unalign-fields): Also remove the `invisible` property since we use
	it to truncate fields in csv--jit-align.
	(csv-align-fields-max-width): Rename from csv-align-field-max-width to 
	match the "csv-align-fields" prefix.
	(csv--ellipsis-width): New function.
	(csv--jit-align): Use it to truncate more correctly.

2019-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el (csv-align-field-max-width): New var

	(csv--jit-unalign): Erase invisible property as well.
	(csv--jit-align): Truncate field to fit within csv-align-field-max-width 
	when needed.
	(csv-align-fields-mode): Add/remove `csv-truncate` to invisibility spec.

2019-09-27  Francis Wright  <f.j.wright@qmul.ac.uk>

	* packages/csv-mode/csv-mode.el: Fix for customize-mode

	(csv-mode, tsv-mode): Specify :group explicitly for `customize-mode`s
	benefit

2019-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el: Add tsv-mode and csv-align-fields-mode

	Require cl-lib. Don't set buffer-invisibility-spec directly.
	(csv--skip-chars): Rename from misleading csv--skip-regexp.
	(csv-mode): Set normal-auto-fill-function to really disable
	auto-fill-mode.
	(csv--column-widths): Only operate over new args beg..end.
	(csv-align-fields): No need to narrow before csv--column-widths any
	more.
	(csv-align-fields-mode): New minor mode.
	(tsv-mode): New major mode.

2019-09-18  Simen Heggestøyl  <simenheg@gmail.com>

	Speed up 'csv-align-fields'

	* packages/csv-mode/csv-mode.el: Bump version number and make the 
	dependency on Emacs 24.1 or higher explicit.
	(csv--column-widths): Return the field widths as well.
	(csv-align-fields): Speed up by using the field widths already computed 
	by 'csv--column-widths' (bug#37393).

2017-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* csv-mode/csv-mode.el (csv-header-line): New command

	(csv-menu): Add an entry for it.
	(csv--header-line, csv--header-hscroll, csv--header-string): New vars.
	(csv--compute-header-string): New function.

2016-07-11  Paul Eggert	 <eggert@cs.ucla.edu>

	Fix some quoting problems in doc strings

	Most of these are minor issues involving, e.g., quoting `like this' 
	instead of 'like this'.	 A few involve escaping ` and ' with a preceding
	\= when the characters should not be turned into curved single quotes.

2016-04-21  Leo Liu  <sdl.web@gmail.com>

	Fix csv-mode to delete its own overlays only

	* csv-mode/csv-mode.el (csv--make-overlay, csv--delete-overlay): New
	 functions.
	 (csv-align-fields, csv-unalign-fields, csv-transpose): Use them.

2016-03-04  Francis Wright  <f.j.wright@qmul.ac.uk>

	* csv-mode/csv-mode.el: Remove out-of-date "URL:" header.

2016-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* csv-mode, landmark: Fix maintainer's email

2015-07-09  Leo Liu  <sdl.web@gmail.com>

	Fix column width calculation in cvs-mode.el

	* csv-mode/cvs-mode.el (csv--column-widths, csv-align-fields): Fix
	 column width calculation.

2015-05-24  Leo Liu  <sdl.web@gmail.com>

	* csv-mode/cvs-mode.el (csv-set-comment-start): Handle nil.

	See also http://debbugs.gnu.org/20564.

2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	(csv-mode): Set mode-line-position rather than mode-line-format.

	Fixes: debbugs:20343

	* csv-mode/csv-mode.el (csv-mode-line-format): Only keep the CSV part of
	the mode line.

2014-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* csv-mode (csv-mode-line-help-echo): Remove.

2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* csv-mode.el (csv-kill-one-field): Check for presence before deleting
	trailing separator.  Remove last arg and turn into a function.
	(csv-kill-one-column, csv-kill-many-columns): Adjust callers.

2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el (csv-end-of-field): Don't skip TABs.
	(csv--skip-regexp): Rename from csv-skip-regexp.

2012-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* csv-mode.el: Bump version number.

2012-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* csv-mode.el: Use lexical-binding.  Remove redundant :group args.
	(csv-separators): Add TAB to the default.
	(csv-invisibility-default): Change default to t.
	(csv-separator-face): Inherit from escape-glyph.  Remove variable.
	(csv-mode-line-format): Remove trailing "--".  Move next to line-number.
	(csv-interactive-args): Use use-region-p.
	(csv--column-widths): New function, extracted from csv-align-fields.
	(csv-align-fields): Use it.  Use whole buffer by default. Use :align-to
	and text-properties when possible.
	(csv-unalign-fields): Also remove properties.
	(csv-mode): Truncate lines.

2012-03-24  Chong Yidong  <cyd@gnu.org>

	Commentary fix for quarter-plane.el.

2012-03-24  Chong Yidong  <cyd@gnu.org>

	Commentary tweaks for csv-mode, ioccur, and nhexl-mode packages.

2012-03-24  Chong Yidong  <cyd@gnu.org>

	csv-mode.el: Improve commentary.

2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/csv-mode/csv-mode.el: Minor installation cleanups. Fix up
	copyright notice.  Set version.
	(csv-separators, csv-field-quotes): Fix calls to `error'.
	(csv-mode-line-help-echo, csv-mode-line-format): Replace
	mode-line-format for default-mode-line-format.
	(csv-mode-map): Declare and initialize.
	(csv-mode): Add autoload cookie.
	(csv-set-comment-start): Make sure vars are made buffer-local.
	(csv-field-index-mode, csv-field-index): Use derived-mode-p.
	(csv-align-fields): Improve insertion types of overlay's markers.

2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	Add csv-mode.el.

Copyright 2019--2024 Marius PETER