* calendar/todos.el (todos-insert-item): Fix copy and paste error
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
12983a8a
SB
12013-01-04 Stephen Berman <Stephen.Berman@rub.de>
2
3 * calendar/todos.el (todos-insert-item): Fix copy and paste error
4 from previous change.
5
a2730169
SB
62013-01-03 Stephen Berman <stephen.berman@gmx.net>
7
8 * calendar/todos.el: Implement extended category completions.
9 (todos-default-todos-file): Change default value to correct custom
10 type.
11 (todos-category-completions-files): New defcustom.
12 (todos-reevaluate-category-completions-files-defcustom)
13 (todos-absolute-file-name, todos-category-completions): New defuns.
14 (todos-reevaluate-filelist-defcustoms):
15 Add todos-category-completions-files and
16 todos-reevaluate-category-completions-files-defcustom.
17 (todos-allcats-file, todos-all-categories-alist)
18 (todos-jump-to-category-other-file, todos-jump-to-any-category)
19 (todos-move-item-to-file): Remove (todos-all-categories-alist both
20 as defvar and as defun).
21 (todos-read-category): Rewrite using extended category completions
22 and better handling of completion against existing or non-existing
23 categories.
24 (todos-validate-name): Correct doc string; use local instead of
25 dynamic variables in function body.
26 (todos-insert-category-line): Adjust use of todos-jump-to-category
27 to new argument list.
28 (todos-key-bindings, todos-menu): Delete entries for removed
29 commands.
30 (todos-show): Get absolute name of todos-default-todos-file;
31 add `nowarn' argument to find-file-noselect; adjust use of
32 todos-add-category to new argument list.
33 (todos-jump-to-category): Rewrite using extended category
34 completions; reverse argument list, adapting FILE argument to new
35 completion mechanism; add autoload cookie; call todos-show if
36 there are no Todos files.
37 (todos-add-category): Rewrite using extended category completions;
38 add FILE argument to accommodate new completion mechanism.
39 (todos-merge-category): Adapt to extended category completions,
40 adding prefix argument.
41 (todos-insert-item): Adapt to extended category completions; use
42 todos-read-category instead of todos-jump-to-category in prefix
43 argument calls; call todos-show if there are no Todos files; if
44 item is inserted at end of category, recenter to ensure the items
45 above it are displayed in the window.
46 (todos-move-item): Adapt to extended category completions, making
47 argument prefix argument; allow moving within category (for the
48 sake of code simplification); add `nowarn' argument to
49 find-file-noselect.
50 (todos-archive-done-item): Prevent error when attempting to
51 archive not-done todo item; adjust use of todos-add-category to
52 new argument list.
53
1754db29
SB
542012-12-15 Stephen Berman <stephen.berman@gmx.net>
55
56 * calendar/todos.el (todos-archive-done-item): Fix archiving of
57 all done items in a category and resulting display of todo file.
58
86ea3fbd
SB
592012-12-14 Stephen Berman <stephen.berman@gmx.net>
60
61 * calendar/todos.el (todos-priorities-rules): Fix customization
62 type to prevent mismatch error.
63 (todos-set-top-priorities): Fix rule construction; fix input check;
64 improve prompt.
65
d9f80d44
SB
662012-12-14 Stephen Berman <stephen.berman@gmx.net>
67
68 * calendar/todos.el (todos-insert-item): If user exits Calendar
69 before choosing a date, cancel item insertion.
70 (todos-set-date-from-calendar): If user exits Calendar before
71 choosing a date, clean up properly.
72
d16da867
SB
732012-12-12 Stephen Berman <stephen.berman@gmx.net>
74
75 * calendar/todos.el: Extend and improve handling of item editing,
76 especially of date/time header.
77 (todos-month-name-array, todos-month-abbrev-array): New defconsts.
78 (todos-date-pattern): Use explicitly numbered groups.
79 (todos-read-date): Optionally read and return just one of the date
80 string components year, month or monthname, day.
81 (todos-key-bindings): Add bindings for new item header editing
82 commands.
83 (todos-edit-item): Exclude date/time header from minibuffer by
84 default; include it by passing a prefix argument.
85 (todos-edit-item-header-1): New function containing the guts of
86 the commands for editing item date/time headers.
87 (todos-edit-item-header): Use it. Condition editing of time
88 string on value of `todos-always-add-time-string'.
89 (todos-edit-item-date-from-calendar): Use todos-edit-item-header-1.
90 (todos-edit-item-date-to-today): Rename from
91 todos-edit-item-date-is-today and use todos-edit-item-header-1.
92 (todos-edit-item-date): Remove.
93 (todos-edit-item-date-day-name, todos-edit-item-date-year)
94 (todos-edit-item-date-month, todos-edit-item-date-day): New commands.
95
bbf95285
SB
962012-12-02 Stephen Berman <stephen.berman@gmx.net>
97
98 * calendar/todos.el (todos-show): Fix a comment.
99 (todos-add-category): Prompt for a new category if passed category
100 is the empty string, not nil.
101
11aa0eef
SB
1022012-11-26 Stephen Berman <stephen.berman@gmx.net>
103
104 * calendar/todos.el (todos-make-categories-list)
105 (todos-convert-legacy-files, todos-jump-to-item)
106 (todos-move-category, todos-merge-category)
107 (todos-archive-done-item, todos-unarchive-items): Include end of
108 line in regex searches for beginning of category, in order not to
109 get a category whose name contains the searched for category name.
110
45e4a397
SB
1112012-11-15 Stephen Berman <stephen.berman@gmx.net>
112
113 * calendar/todos.el (todos-forward-category): Fix typo.
114
59ad682f
SB
1152012-10-30 Stephen Berman <stephen.berman@gmx.net>
116
117 * calendar/todos.el (todos-define-insertion-command):
118 Let generated insertion commands accept a prefix argument.
119
fec0fdae
SB
1202012-10-08 Stephen Berman <Stephen.Berman@rub.de>
121
122 * calendar/todos.el (todos-move-item): If user quits before
11aa0eef 123 completing movement, restore display of initial category; if item
fec0fdae
SB
124 is moved to end of target category, make sure the items above it
125 are displayed in the window.
126
57da062d
SB
1272012-10-08 Stephen Berman <stephen.berman@gmx.net>
128
129 * calendar/todos.el: Fixes to todos-move-item and some of its
130 subroutines.
131 (todos-move-item): When there are marked items, point need not be
132 on an item; remove obsolete use of todos-add-category, since this
133 is now already done in todos-read-category; fix typo.
134 (todos-diary-item-p): Exclude empty lines.
135 (todos-read-category): Restore point and narrowing after adding
136 new category, to avoid moving to beginning of file when moving
137 marked items to a new category.
138 (todos-set-item-priority): Prompt for priority only when the
139 category has at least one todo item; only use non-nil priority to
140 calculate insertion location.
141 (todos-read-category): Don't reset todos-categories when a new
142 category is added due to todos-move-item or todos-jump-to-item.
143
fd6c6328
SB
1442012-09-24 Stephen Berman <stephen.berman@gmx.net>
145
bbf95285 146 Changes from 2012-07-14 (revision 110020).
fd6c6328
SB
147 * calendar/todos.el (todos-copy-item): New command.
148 (todos-insertion-map): Add key binding for it.
149
1a9cb339
SB
1502012-09-24 Stephen Berman <stephen.berman@gmx.net>
151
bbf95285 152 Changes from 2012-07-13 (revision 110019).
1a9cb339
SB
153 * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
154 (todos-item-undo): Use it.
155 (todos-allcats-file, todos-all-categories-alist): New variables.
156 (todos-all-categories-alist): New function.
157 (todos-jump-to-any-category): New command.
158 (todos-move-item): Remove mark overlays from buffer items were
159 moved from; update todos-categories-with-marks,
160
36341a66
SB
1612012-09-24 Stephen Berman <stephen.berman@gmx.net>
162
bbf95285 163 Changes from 2012-06-27 (revision 110018).
36341a66
SB
164 * calendar/todos.el: Further code rearrangement; further new and
165 revised comments.
166 (todos-reevaluate-filelist-defcustoms): Rename from
167 todos-reevaluate-defcustoms and adjust callers.
168 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
169 (todos-date-string-start, todos-done-string-start)
170 (todos-item-start): Change from defvar to defconst.
171 (todos-set-top-priorities): Use read-number and simplify.
172 (todos-insert-item): Check whether date-type argument is a string.
173 (todos-set-date-from-calendar): Check whether
174 todos-date-from-calendar is a string; simplify cond clause.
175 (todos-archive-done-item, todos-unarchive-items):
176 Use buffer-substring-no-properties.
177
3160f2eb
SB
1782012-09-23 Stephen Berman <stephen.berman@gmx.net>
179
bbf95285 180 Changes from 2012-06-25 (revision 110017).
3160f2eb
SB
181 * calendar/todos.el (todos-item-undo): Fix restoration on
182 cancelling; use buffer-substring-no-properties; comment out code
183 removing mark overlay; fix insertion of undone items; display any
184 remaining done items.
185
18aef8a3
SB
1862012-09-23 Stephen Berman <stephen.berman@gmx.net>
187
bbf95285 188 Changes from 2012-06-24 (revision 110016).
18aef8a3
SB
189 * calendar/todos.el: Further significant code rearrangement;
190 further comment revision.
191 (todos-mode-display): New defgroup.
192 (todos-prefix, todos-number-priorities)
193 (todos-done-separator-string, todos-done-string)
194 (todos-comment-string, todos-show-with-done)
195 (todos-mode-line-function, todos-skip-archived-categories)
196 (todos-highlight-item, todos-wrap-lines)
197 (todos-line-wrapping-function): Use it.
198 (todos-item-insertion): New defgroup.
199 (todos-include-in-diary, todos-diary-nonmarking)
200 (todos-nondiary-marker, todos-always-add-time-string)
201 (todos-use-only-highlighted-region): Use it.
202 (todos-forward-button, todos-backward-button): New commands.
203 (todos-categories-mode-map): Use them, replacing forward-button
204 and backward-button.
205 (todos-merge-category): Fix and improve implementation; handle
206 archived items.
207 (todos-insert-item, todos-set-date-from-calendar): Handle setting
208 date by calling todos-insert-item-from-calendar.
209 (todos-delete-item): Fix overlay handling.
210 (todos-move-item): Highlight item to be moved.
211 (todos-item-undo): Handle marked items.
212 (todos-insert-item-from-calendar): Rewrite using
213 todos-date-from-calendar.
214
616ffa8b
SB
2152012-09-23 Stephen Berman <stephen.berman@gmx.net>
216
bbf95285 217 Changes from 2012-06-21 (revision 110015).
616ffa8b
SB
218 * calendar/todos.el: Further comment revision.
219 (todos-sorted-column): Change default value, also taking tty into
220 account.
221 (todos-reset-done-separator): Fix faulty variable binding.
222 (todos-reset-and-enable-done-separator): Save match data; comment
223 out code that causes problems for Edebug.
224 (todos-item-start): Handle empty line between todo and done items
225 when done items are hidden.
226 (todos-read-date): Use a leap year for `*' to allow
227 calendar-last-day-of-month to return Feb. 29.
228 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
229 (todos-filtered-items-mode): Delete faulty parentheses.
230 (todos-quit): Save Todos and archive files unconditionally.
231 (todos-forward-item): Accept only positive prefix argument.
232 (todos-backward-item): Accept only positive prefix argument; don't
233 move point to beginning of buffer if it is on the first item.
234 (todos-hide-show-date-time): Remove obsolete interactive spec.
235 (todos-move-category): Improve prompt string; ensure file moved to
236 is different from file moved from.
237 (todos-merge-categories): Remove.
238 (todos-set-category-priority): New command.
239 (todos-raise-category-priority, todos-lower-category-priority):
240 Use it to define these commands.
241 (todos-set-item-priority): Rewrite and generalize.
242 (todos-raise-item-priority, todos-lower-item-priority): Use it to
243 define these commands.
244
d9be0d35
SB
2452012-09-23 Stephen Berman <stephen.berman@gmx.net>
246
bbf95285 247 Changes from 2012-06-15 (revision 110014).
d9be0d35
SB
248 * calendar/todos.el (todos-reset-done-separator)
249 (todos-reset-and-enable-done-separator): New functions.
250 (todos-reset-done-separator-string): Rewrite using
251 todos-reset-done-separator for string longer than 1 character.
252 (todos-mode): Add todos-reset-and-enable-done-separator to
253 window-configuration-change-hook, replacing previous anonymous
254 function.
255 (todos-unload-hook): And remove it.
256
144faf47
SB
2572012-09-23 Stephen Berman <stephen.berman@gmx.net>
258
bbf95285 259 Changes from 2012-06-14 (revision 110013).
144faf47
SB
260 * calendar/todos.el (todos-done-separator-string): New defcustom.
261 (todos-done-separator): New variable replacing defcustom of the
262 same name.
263 (todos-reset-done-separator-string, todos-done-separator):
264 New functions.
265 (todos-mode): Make function added to
266 window-configuration-change-hook do a better job of updating the
267 done items separator string overlay.
268 (todos-unload-hook): Remove it here.
269 (todos-item-undo): Fix search for item's end.
270
a820dfe8
SB
2712012-09-23 Stephen Berman <stephen.berman@gmx.net>
272
bbf95285 273 Changes from 2012-06-03 (revision 110012).
a820dfe8
SB
274 * calendar/todos.el: Further comment revision.
275 (todos-sorted-column): Change default value.
276 (todos-item-start): Handle empty category (needed in
277 todos-filter-items).
278 (todos-read-date): Don't use calendar-read; make code cleaner.
279 (todos-multiple-filter-files): Rename this variable from
280 todos-multiple-files and adjust users.
281 (todos-multiple-filter-files-widget): Rename from
282 todos-multiple-files-widget and adjust users.
283 (todos-multiple-filter-files): Rename this function from
284 todos-multiple-files and adjust callers.
285 (todos-filter-items): Remove unused code.
286 (todos-insert-category-line): Add space so highlighting of last
287 column is consistent with the others; adjust display of column
288 highlighting.
289 (todos-menu): Remove obsolete entry.
290 (todos-categories-mode-map): Add new bindings.
291 (todos-display-categories-alphabetically-or-by-priority): New command.
292 (todos-display-categories-sorted-by-todo)
293 (todos-display-categories-sorted-by-diary)
294 (todos-display-categories-sorted-by-done)
295 (todos-display-categories-sorted-by-archived): Restore and fix
296 implementation.
297
b28872ce
SB
2982012-09-23 Stephen Berman <stephen.berman@gmx.net>
299
bbf95285 300 Changes from 2012-06-02 (revision 110011).
b28872ce
SB
301 * calendar/todos.el: Significant code rearrangement; further
302 comment revision.
303 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
304 adjust users.
305 (todos-filtered-buffer-name): Rename from
306 todos-special-buffer-name and adjust users.
307 (todos-filtered-items-mode-map): Rename from
308 todos-filter-items-mode-map and adjust users.
309 (todos-mode-external-set): Use todos-categories instead of
310 todos-set-categories (and add comment to check if this DTRT).
311 (todos-filtered-items-mode): Rename from todos-filter-items-mode
312 and adjust users.
313 (todos-add-category): Don't call todos-validate-name, since
314 todos-read-category does.
315 (todos-edit-quit): Use todos-repair-categories-sexp.
316 (todos-done-item-add-edit-or-delete-comment): Rename from
317 todos-done-item-add-or-edit-comment and adjust users; add optional
318 argument to prompt to delete comment.
319 (todos-item-undo): Delete done item comment on undoing if user
320 confirms.
321
abe748f5
SB
3222012-09-22 Stephen Berman <stephen.berman@gmx.net>
323
bbf95285 324 Changes from 2012-06-02 (revision 110010).
abe748f5
SB
325 * calendar/todos.el: Further code rearrangement and comment
326 revision.
327 (todos-item-start): Handle empty line between todo and done items
328 when done items are displayed.
329 (todos-key-bindings): Comment out bindings meant only for
330 todos-archive-mode.
331 (todos-archive-mode-map): Fix typo.
332 (todos-archive-mode): Derive from special-mode instead of
333 todos-mode to prevent its key bindings from being available here.
334 (todos-archive-done-item): Remove obsolete code; fix item count
335 updating.
336 (todos-unarchive-items): Simplify; fix unarchiving of all items in
337 category; fix item count updating; fix typo.
338
6be04162
SB
3392012-09-22 Stephen Berman <stephen.berman@gmx.net>
340
bbf95285 341 Changes from 2012-06-01 (revision 110009).
6be04162
SB
342 * calendar/todos.el: Further code rearrangement and comment
343 revision.
344 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
345 (todos-file-buffers): New variable.
346 (todos-reset-global-current-todos-file): Use it to simplify
347 implementation of this function.
348 (todos-filtered): New defgroup.
349 (todos-filter-buffer, todos-top-priorities-buffer)
350 (todos-diary-items-buffer, todos-regexp-items-buffer)
351 (todos-priorities-rules, todos-show-priorities)
352 (todos-filter-files, todos-filter-done-items): Use it.
353 (todos-skip-archived-categories): Rename from
354 todos-ignore-archived-categories and adjust users.
355 (todos-display-as-todos-file): Rename from todos-after-find-file
356 and adjust callers.
357 (todos-reset-highlight-item, todos-mode-external-set)
358 (todos-jump-to-category, todos-jump-to-item)
359 (todos-raise-category-priority, todos-insert-item)
360 (todos-move-item): Use find-file-visiting.
361 (todos-make-categories-list): Use file-truename.
362 (todos-display-categories-1): Adjust title text for archive files;
363 use done label for item counts in archive files.
364 (todos-modes-set-3): Add todos-display-as-todos-file to
365 find-file-hook.
366 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
367 todos-update-buffer-list post-command-hook.
368 (todos-unload-hook): And remove them.
369 (todos-show): Only when interactively invoked from an archive,
370 switch to corresponding Todos file.
371 (todos-archive-done-item): Remove obsolete code; fix handling of
372 marked items; fix search for existing category; check whether
373 archive exists and write to file if not; improve display handling.
374
0833689a
SB
3752012-09-21 Stephen Berman <stephen.berman@gmx.net>
376
bbf95285 377 Changes from 2012-05-29 (revision 110008).
0833689a
SB
378 * calendar/todos.el: Further comment revision.
379 (todos-item-end): Replace use of command todos-forward-item by
380 regexp searches using internal variables.
381 (todos-raise-category-priority): Improve and comment.
382 (todos-insert-item): Fix insertion of empty time string.
383
7464f422
SB
3842012-09-21 Stephen Berman <stephen.berman@gmx.net>
385
bbf95285 386 Changes from 2012-05-29 (revision 110007).
7464f422
SB
387 * calendar/todos.el (todos-ignore-archived-categories):
388 Revert last change; remove :initialize and :set functions; change
389 use and change users accordingly.
390 (todos-reset-categories, todos-categories-full)
391 (todos-truncate-categories-list): Remove.
392 (todos-set-categories, todos-update-categories-sexp):
393 Use todos-categories instead of todos-categories-full; remove use
394 of todos-ignore-archived-categories and
395 todos-truncate-categories-list.
396 (todos-check-format, todos-repair-categories-sexp):
397 Use todos-categories instead of todos-categories-full.
398 (todos-read-category): Improve last change.
399 (todos-validate-name): Use completing-read.
400 (todos-categories-category-number): Rename from
401 todos-category-number and adjust users.
402 (todos-update-categories-display, todos-mode-external-set)
403 (todos-delete-category, todos-move-category, todos-merge-category)
404 (todos-unarchive-items): Remove use of todos-categories-full and
405 todos-ignore-archived-categories.
406 (todos-modes-set-3, todos-add-category): Remove use of
407 todos-categories-full.
408 (todos-edit-mode): Fix typo.
409 (todos-forward-category): Use todos-ignore-archived-categories.
410
4de20201
SB
4112012-09-21 Stephen Berman <stephen.berman@gmx.net>
412
bbf95285 413 Changes from 2012-05-28 (revision 110006).
4de20201
SB
414 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
415 (todos-ignore-archived-categories): Change default value.
416
459c6e93
SB
4172012-09-21 Stephen Berman <stephen.berman@gmx.net>
418
bbf95285 419 Changes from 2012-05-27 (revision 110005).
459c6e93
SB
420 * calendar/todos.el: Further comment revision.
421 (todos-reset-global-current-todos-file):
422 Try to make this not slow down kill-buffer.
423 (todos-update-categories-sexp): Handle the case where there is no
424 categories sexp yet, i.e. after inserting the first item in the
425 file, so todos-display-categories works.
426 (todos-read-file-name): Improve implementation.
427 (todos-validate-name): Use variable todos-files.
428 (todos-category-number): New variable.
429 (todos-insert-category-line, todos-update-categories-display)
430 (todos-raise-category-priority): Use it.
431 (todos-add-file): Remove unused remnant code.
432
2a9e69d6
SB
4332012-09-21 Stephen Berman <stephen.berman@gmx.net>
434
bbf95285 435 Changes from 2012-05-25 (revision 110004).
2a9e69d6
SB
436 * calendar/todos.el: Further comment revision.
437 (todos-set-item-top-priority): New command.
438 (todos-reset-global-current-todos-file):
439 Use todos-files-function instead of todos-files.
440 (todos-read-category): Add optional argument to test whether
441 caller adds new category; if so, don't prompt for new category and
442 don't restore original todos-categories list.
443 (todos-categories-mode-map): Update to renamed commands.
444 (todos-filter-items-mode-map): Add binding for new command.
445 (todos-mode): Fix typo.
446 (todos-show): If called from archive file, show corresponding
447 category in Todos file, if it exists.
448 (todos-jump-to-category): Remove code to add new category, since
449 todos-read-category can do that.
450 (todos-add-file): Remove obsolete code; visit new file in selected
451 window.
452 (todos-add-category): Simplify.
453 (todos-rename-category): Use force-mode-line-update instead of
454 setting mode-line-buffer-identification.
455 (todos-delete-category): Improve logic of prompts; use
456 todos-categories-full and check todos-ignore-archived-categories.
457 (todos-raise-category-priority, todos-lower-category-priority):
458 Rename from todos-{raise,lower}-category and adjust callers.
459 (todos-move-category, todos-merge-category):
460 Set todos-categories-full; on setting todos-categories check
461 todos-ignore-archived-categories.
462 (todos-insert-item): Let-bind use-empty-active-region and use
463 use-region-p instead of transient-mark-mode.
464 (todos-raise-item-priority): Improve implementation.
465 (todos-archive-done-item): Rename from
466 todos-archive-done-item-or-items and adjust callers; confine to
467 Todos mode.
468 (todos-unarchive-items): On setting todos-categories check
469 todos-ignore-archived-categories.
470
47011bed
SB
4712012-09-21 Stephen Berman <stephen.berman@gmx.net>
472
bbf95285 473 Changes from 2012-05-23 (revision 110003).
47011bed
SB
474 * calendar/todos.el (todos-key-bindings): Remove binding of
475 deleted command.
476 (todos-menu): Remove entry of deleted command.
477 (todos-show-archive): Fix last change.
478 (todos-done-item-add-or-edit-comment): Rename from
479 todos-comment-done-item and adjust callers; prompt to edit an
480 existing comment.
481
3af3cd0b
SB
4822012-09-21 Stephen Berman <stephen.berman@gmx.net>
483
bbf95285 484 Changes from 2012-05-22 (revision 110002).
2a9e69d6 485 * calendar/todos.el (todos-set-show-current-file): Rename from
3af3cd0b
SB
486 todos-toggle-show-current-file and adjust callers.
487 (todos-number-priorities): Rename from todos-number-prefix and
488 adjust users.
489 (todos-update-count): Rename from todos-set-count and adjust
490 callers.
491 (todos-hide-show-item-numbering): Rename from
492 todos-toggle-item-numbering and adjust callers.
493 (todos-hide-show-done-items): Rename from
494 todos-toggle-view-done-items and adjust callers.
495 (todos-show-done-only): Rename from todos-toggle-show-done-only.
496 (todos-view-archived-items): Comment out.
497 (todos-show-archive): Prompt to choose another archive file if
498 current Todos file lacks an archive; prompt to visit archive
499 anyway when current category has no archived items.
500
78fe7289
SB
5012012-09-21 Stephen Berman <stephen.berman@gmx.net>
502
bbf95285 503 Changes from 2012-05-21 (revision 110001).
78fe7289
SB
504 * calendar/todos.el: Further comment revision and code
505 rearrangement.
506 (todos-item-end): Revert last change.
507 (todos-key-bindings, todos-menu, todos-archive-mode-map)
508 (todos-filter-items-mode-map): Use renamed commands.
509 (todos-hide-show-date-time): Rename from
510 todos-toggle-display-date-time.
511 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
512 adjust caller.
513 (todos-backward-item): Exempt special handling only from
514 todos-regexp-items-buffer instead of todos-filter-items-mode.
515 (todos-raise-item-priority): Don't allow item reprioritizing in
516 Todos filter items mode except for top priority items.
517
520d912e
SB
5182012-09-21 Stephen Berman <stephen.berman@gmx.net>
519
bbf95285 520 Changes from 2012-05-19 (revision 110000).
520d912e
SB
521 * calendar/todos.el: Add and revise further doc strings and
522 comments.
523 (todos-filter-function, todos-custom-items)
524 (todos-custom-items-multifile): Remove.
525 (todos-filter-done-items): New defcustom.
526 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
527 (todos-filter-items): Check return value of caller first; tag
528 archived items for todos-jump-to-item; delete categories sexp
529 before processing filter; check todos-filter-done-items for
530 whether to leave done items; remove custom filter; fix regexp for
531 file and category tags; don't invoke buffer fontification.
532 (powerset-recursive): Fix typo.
533 (todos-key-bindings): Remove unused bindings.
534 (todos-top-priorities-multifile, todos-diary-items-multifile)
535 (todos-regexp-items-multifile): Use variable todos-multiple-files.
536 (todos-jump-to-item): Fix regexp; handle archive tags; take
537 todos-filter-done-items into account.
538 (todos-insert-item-from-calendar): Relocate to end of file
539 together with key-binding as addition to calendar.el.
540
0e89c3fc
SB
5412012-09-20 Stephen Berman <stephen.berman@gmx.net>
542
bbf95285 543 Changes from 2012-05-17 (revision 109999).
520d912e 544 * calendar/todos.el: Add and revise further doc strings and
0e89c3fc
SB
545 comments; major code rearrangement.
546 (todos-merged-files, todos-prompt-merged-files)
547 (todos-print-priorities, todos-tmp-buffer-name)
548 (todos-top-priorities-widgets, todos-update-merged-files)
549 (todos-merged-top-priorities, todos-merged-diary-items)
550 (todos-merged-regexp-items, todos-merged-custom-items)
551 (todos-raw-mode, todos-change-default-file)
552 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
553 (todos-toggle-diary-nonmarking, todos-validate-category-name):
554 Remove.
555 (todos-category-string-matcher): Comment out.
556 (todos-categories): New defgroup.
557 (todos-initial-file, todos-filter-buffer)
558 (todos-top-priorities-buffer, todos-categories-category-label)
559 (todos-diary-items-buffer, todos-regexp-items-buffer)
560 (todos-custom-items-buffer, todos-filter-files)
561 (todos-highlight-item, todos-todo-mode-date-time-regexp):
562 New defcustoms.
563 (todos-diary-expired): New face.
564 (todos-print-buffer, todos-multiple-files)
565 (todos-multiple-files-widget, todos-key-bindings): New variables.
566 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
567 (todos-special-buffer-name)
568 (todos-reevaluate-filter-files-defcustom)
569 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
570 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
571 (todos-diary-expired-matcher, todos-category-string-matcher-1)
572 (todos-category-string-matcher-2, todos-repair-categories-sexp)
573 (todos-validate-name, todos-multiple-files)
574 (todos-display-categories-1, todos-update-categories-display)
575 (todos-modes-set-3, todos-mode-external-set): New functions.
576 (todos-set-top-priorities-in-file)
577 (todos-set-top-priorities-in-category)
578 (todos-top-priorities-multifile, todos-diary-items-multifile)
579 (todos-regexp-items-multifile, todos-custom-items-multifile)
580 (todos-convert-legacy-files, todos-jump-to-item)
581 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
582 (todos-edit-item-diary-inclusion)
583 (todos-edit-category-diary-inclusion)
584 (todos-edit-item-diary-nonmarking)
585 (todos-edit-category-diary-nonmarking): New commands.
586 (todos, todos-faces): Update :version.
587 (todos-done-separator, todos-completion-ignore-case):
588 Change default value.
589 (todos-done-separator): Change :set function.
590 (todos-indent-to-here): Add :validate function to :type.
591 (todos-prefix-string, todos-mark, todos-button)
592 (todos-sorted-column, todos-archived-only, todos-search)
593 (todos-done, todos-done-sep): Provide full face definitions
594 instead of inheriting.
595 (todos-edit-buffer, todos-categories-buffer): Change from
596 defcustom to defvar.
597 (todos-category-beg, todos-category-done): Change from defvar to
598 defconst.
599 (todos-files): Check if todos-files-directory exists.
600 (todos-default-todos-file, todos-mode-line-control, todos-print):
601 Use todos-short-file-name.
602 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
603 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
604 todos-category-string-matcher-2, todos-diary-expired-matcher.
605 (todos-category-select): Use todos-done-string-start, and
606 condition search on todos-show-with-done; don't make display
607 overlay for done items separator string if there already is one;
608 use todos-highlight-item, require hl-line and activate
609 hl-line-mode here in order to avoid a hang if done in todos-mode
610 or the mode hook.
611 (todos-update-categories-sexp): Use todos-categories-full if set,
612 otherwise todos-categories.
613 (todos-make-categories-list): Don't test for archive file when
614 processing a legacy todo-mode file.
615 (todos-check-format): Add check for todos-categories sexp.
616 (todos-diary-item-p): Use todos-nondiary-start instead of
617 todos-date-pattern.
618 (todos-marked-item-p): Rename from todos-item-marked-p.
619 (todos-read-file-name): Don't accept empty name; validate.
620 (todos-read-category): Validate new name before prompting whether
621 to add new category; force quit if user answers no.
622 (todos-filter-items): Improve implementation.
623 (todos-set-top-priorities): Rewrite as a noninteractive function
624 using minibuffer input instead of widgets.
625 (todos-insert-sort-button): Call todos-display-sorted with
626 argument nil to display categories in numerical order, instead of
627 calling todos-display-categories.
628 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
629 Common Lisp powerset function at
630 http://rosettacode.org/wiki/Power_set#Common_Lisp.
631 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
632 powerset function at http://rosettacode.org/wiki/Power_set#C.
633 (todos-powerset): Defalias to powerset-bitwise.
634 (todos-mode-map): Generate from todos-key-bindings instead of
635 listing each key definition.
636 (todos-categories-mode-map): Add two bindings.
637 (todos-filter-items-mode-map): Add some bindings, remove others.
638 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
639 function setting todos-done-separator to
640 window-configuration-change-hook.
641 (todos-unload-hook): Remove function setting todos-done-separator
642 from window-configuration-change-hook.
643 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
644 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
645 (todos-categories-mode): Derive from special-mode; use
646 todos-mode-external-set.
647 (todos-filter-items-mode): Derive from special-mode.
648 (todos-quit): Save archive file if it hasn't yet been saved.
649 (todos-display-categories): Delegate all functionality to
650 todos-display-categories-1 and todos-update-categories-display.
651 (todos-toggle-view-done-items): Improve implementation.
652 (todos-highlight-item): Require hl-line.
653 (todos-toggle-display-date-time): Remove argument and make it
654 apply only to whole file.
655 (todos-top-priorities, todos-diary-items, todos-regexp-items)
656 (todos-custom-items): Use todos-special-buffer-name.
657 (todos-add-file): Use todos-short-file-name and
658 todos-reevaluate-defcustoms; remove validation, since it's now
659 done in todos-read-file-name.
660 (todos-add-category): Also update todos-categories-full if non-nil.
661 (todos-delete-category): Delete file after confirmation if only
662 category is deleted.
663 (todos-move-category): Use todos-short-file-name and
664 todos-reevaluate-defcustoms.
665 (todos-insert-item): Fix getting date from the calendar and
666 insertion of time string.
667 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
668 display of diary entries.
669 (todos-edit-multiline): Add optional argument to restrict editing
670 buffer to current item, otherwise make entire buffer (i.e. whole
671 file) editable.
672 (todos-edit-quit): When whole file is editable, check file format
673 validity before killing buffer, and if valid, recalculate
674 categories sexp to be safe.
675 (todos-edit-item-header): Allow choosing date from calendar.
676 (todos-item-done): Handle marked items.
677
697bd4a3
SB
6782012-09-19 Stephen Berman <stephen.berman@gmx.net>
679
bbf95285 680 Changes from 2011-12-03 (revision 109998).
697bd4a3
SB
681 * calendar/todos.el (todos-item-start): Restore commented out code
682 to prevent wrongly moving point in widened buffer.
683
58c7641d
SB
6842012-09-19 Stephen Berman <stephen.berman@gmx.net>
685
bbf95285 686 Changes from 2011-12-02 (revision 109997).
58c7641d
SB
687 * calendar/todos.el: Remove old commentary from todo-mode.el; add
688 and revise further doc strings and comments; require cl.el at
689 compile time for remove-duplicates; use function powerset from
690 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
691 code rearrangement. Add adapted version of diary-goto-entry as comment.
692 (todos-file-top, todos-archived-categories-buffer)
693 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
694 (todos-save-top-priorities, todos-reset-separator)
695 (todos-switch-todos-file, todos-item-string-start, todos-counts)
696 (todos-string-count-lines, todos-string-multiline-p)
697 (todos-display-categories-alphabetically): Remove.
698 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
699 (todos-insert-item-ask-date-time-for-diary)
700 (todos-insert-item-ask-date-time-for-diary-here)
701 (todos-insert-item-ask-date-time-here)
702 (todos-insert-item-ask-date-maybe-notime)
703 (todos-insert-item-ask-date-maybe-notime-for-diary)
704 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
705 (todos-insert-item-ask-date-maybe-notime-here)
706 (todos-insert-item-ask-date-for-diary)
707 (todos-insert-item-ask-date-for-diary-here)
708 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
709 (todos-insert-item-ask-dayname-time)
710 (todos-insert-item-ask-dayname-time-for-diary)
711 (todos-insert-item-ask-dayname-time-for-diary-here)
712 (todos-insert-item-ask-dayname-time-here)
713 (todos-insert-item-ask-dayname-maybe-notime)
714 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
715 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
716 (todos-insert-item-ask-dayname-maybe-notime-here)
717 (todos-insert-item-ask-dayname-for-diary)
718 (todos-insert-item-ask-dayname-for-diary-here)
719 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
720 (todos-insert-item-ask-time-for-diary)
721 (todos-insert-item-ask-time-for-diary-here)
722 (todos-insert-item-ask-time-here)
723 (todos-insert-item-maybe-notime)
724 (todos-insert-item-maybe-notime-for-diary)
725 (todos-insert-item-maybe-notime-for-diary-here)
726 (todos-insert-item-maybe-notime-here)
727 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
728 (todos-insert-item-here): Remove; all of these are now generated
729 on loading (some with the same name, most with other names.)
730 (todos-item-counts, todos-display-categories-alphabetically)
731 (todos-display-categories-sorted-by-todo)
732 (todos-display-categories-sorted-by-diary)
733 (todos-display-categories-sorted-by-done)
734 (todos-display-categories-sorted-by-archived): Comment out.
735 (todos-comment-string, todos-mode-line-function)
736 (todos-filter-function, todos-priorities-rules)
737 (todos-visit-files-commands, todos-categories-totals-label)
738 (todos-use-only-highlighted-region, todos-diary-nonmarking):
739 New defcustoms.
740 (todos-mark, todos-comment): New faces.
741 (todos-comment-face): Corresponding new variable.
742 (todos-categories-full, todos-global-current-todos-file)
743 (todos-first-visit, todos-insertion-commands-args-genlist)
744 (todos-insertion-commands-args, todos-insertion-commands-names)
745 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
746 (todos-top-priorities-widgets, todos-date-from-calendar)
747 (todos-item-mark, todos-categories-with-marks): New variables.
748 (todos-mode-line-control, todos-reset-global-current-todos-file)
749 (todos-gen-arglists, todos-insertion-command-name)
750 (todos-insertion-key-bindings, todos-unload-hook)
751 (todos-filter-items, todos-set-date-from-calendar)
752 (todos-comment-string-matcher, todos-after-find-file)
753 (todos-reset-nondiary-marker, todos-reset-done-string)
754 (todos-reset-comment-string, todos-show-current-file)
755 (todos-item-marked-p, todos-total-item-counts): New functions.
756 (todos-define-insertion-command): New macro.
757 (todos-toggle-mark-item, todos-mark-category)
758 (todos-unmark-category, todos-set-top-priorities)
759 (todos-merged-diary-items, todos-regexp-items)
760 (todos-merged-regexp-items, todos-custom-items)
761 (todos-merged-custom-items, todos-comment-done-item)
762 (todos-archive-category-done-items, todos-unarchive-items)
763 (todos-print-to-file): New commands.
764 (todos-done-separator): Change :set function.
765 (todos-done-string): Uncomment :initialize and :set functions.
766 (todos-files): Use file-truename.
767 (todos-show-current-file): Rename from
768 todos-auto-switch-todos-file and change :set function accordingly.
769 (todos-font-lock-keywords): Use todos-comment-string-matcher;
770 change names of other matcher functions to new *-matcher.
771 (todos-category-number): Change initial value.
772 (todos-insertion-map): Use todos-insertion-key-bindings to
773 generate key definitions.
774 (todos-mode-map): Don't suppress digit keys, so they can supply
775 prefix arguments; add new and change some existing bindings.
776 (todos-archive-mode-map): Change a key binding.
777 (todos-categories-mode-map): Comment out a key binding.
778 (todos-filter-items-mode-map): Rename from
779 todos-top-priorities-mode-map.
780 (todos-mode): Make todos-current-todos-file,
781 todos-categories-full, todos-categories, todos-first-visit,
782 todos-category-number, todos-show-done-only,
783 todos-categories-with-marks local variables and set them; add
784 todos-show-current-file to pre-command-hook, todos-after-find-file
785 to post-command-hook and todos-reset-global-current-todos-file to
786 kill-buffer-hook.
787 (todos-archive-mode): Make todos-current-todos-file,
788 todos-categories and todos-category-number local variables and set
789 them; add todos-after-find-file to post-command-hook.
790 (todos-raw-mode): New derived major mode.
791 (todos-categories-mode): Don't set font-lock-defaults and
792 buffer-read-only; make todos-current-todos-file and
793 todos-categories local variables and set them.
794 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
795 (todos-quit): Don't reset todos-categories on quitting
796 todos-categories-mode; handle quitting todos-filter-items-mode.
797 (todos-show): Simplify; when visiting an archive file switch to
798 corresponding Todos file; use todos-first-visit.
799 (todos-view-archived-items): Simplify; call todos-category-number.
800 (todos-show-archive): Rename from todos-switch-to-archive and
801 adjust callers; simplify.
802 (todos-toggle-display-date-time): Add optional argument to toggle
803 display in entire file.
804 (todos-top-priorities): Use todos-filter-items, which now contains
805 the previous core of this command.
806 (todos-merged-top-priorities, todos-diary-items):
807 Use todos-filter-items.
808 (todos-forward-category): Add optional argument to go to the
809 previous category.
810 (todos-backward-category): Use todos-forward-category.
811 (todos-jump-to-category): Refine implementation.
812 (todos-forward-item, todos-backward-item): Fix movement from todo
813 to done item and vice versa.
814 (todos-add-file): Remove argument and simplify.
815 (todos-rename-category): Use todos-current-todos-file and
816 todos-mode-line-function; set todos-categories with
817 todos-set-categories.
818 (todos-delete-category): Ask what to do if category has archived items.
819 (todos-raise-category): Ensure modified todos-categories is added
820 to file's categories sexp.
821 (todos-move-category): Improve implementation, especially handling
822 of archived categories.
823 (todos-merge-category): Tweak; set item counts.
824 (todos-insert-item): Improve handling of various argument values;
825 add new argument values to control marking of diary items and to
826 use region for item body.
827 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
828 (todos-delete-item, todos-edit-item-header): Handle marked items.
829 (todos-edit-item): Incorporate functionality of removed
830 todos-string-multiline-p.
831 (todos-edit-multiline): Use set-window-buffer instead of
832 switch-to-buffer.
833 (todos-edit-quit): Don't save on quitting; use todos-show instead
834 of todos-category-select.
835 (todos-raise-item-priority): Add argument to lower priority;
836 improve handling of top priority items in todos-filter-items-mode;
837 restore marks.
838 (todos-lower-item-priority): Use todos-raise-item-priority.
839 (todos-set-item-priority): Increment maximum number if item is new.
840 (todos-move-item): Handle marked items; delay changing category
841 moved from till after movement to avoid restoring if user cancels
842 before insertion.
843 (todos-item-done): Add optional argument to insert comment; fix
844 item counts and update sexp.
845 (todos-item-undo): Fix item counts and update.
846 (todos-archive-done-item-or-items): Rename from
847 todos-archive-done-items; add optional argument to archive all
848 items in category; handle marked items.
849 (todos-unarchive-category): Use todos-unarchive-items.
850 (todos-toggle-diary-inclusion): Incorporate functionality of
851 removed todos-toggle-item-diary-inclusion; handle marked items.
852 (todos-print): Add optional argument to print to file.
853 (todos-done-string-start): Don't use todos-nondiary-start.
854 (todos-date-string-matcher, todos-time-string-matcher)
855 (todos-done-string-matcher, todos-category-string-matcher): Rename
856 from *-match and adjust callers.
857 (todos-wrap-and-indent): Use set instead of setq for local variables.
858 (todos-prefix-overlays): Improve overlay handling.
859 (todos-reset-categories): Fix and complete implementation.
860 (todos-toggle-show-current-file): Rename from
861 todos-toggle-switch-todos-file-noninteractively.
862 (todos-category-select): Use todos-mode-line-function.
863 (todos-item-start): Comment out code used by removed function.
864 (todos-remove-item): Handle presence of both prefix/number and
865 mark overlays.
866 (todos-get-count): Simplify.
867 (todos-set-count): Change argument list and adjust callers; simplify.
868 (todos-set-categories): Handle new archive files; use
869 todos-categories-full and todos-ignore-archived-categories.
870 (todos-truncate-categories-list): Use todos-categories-full.
871 (todos-update-categories-sexp): Use kill-region instead of
872 kill-line; use todos-categories-full.
873 (todos-read-file-name): Add argument to require existing file and
874 adjust callers; use file-truename.
875 (todos-read-category): Remove argument to require existing
876 category and delegate it to completing-read in function body.
877 (todos-validate-category-name): Make empty string prompt only for
878 initial category name.
879 (todos-read-date): Use = instead of eq for testing if month = 13,
880 and if it is, set monthname to *.
881 (todos-display-categories): Use todos-global-current-todos-file;
882 use set-window-buffer instead of switch-to-buffer; add a line
883 showing item count totals.
884 (todos-padded-string): Use the longest of category name or label.
885 (todos-descending-counts): Rename from
886 todos-descending-counts-store and adjust users.
887 (todos-insert-category-line): Adjust format; use mapconcat; kill
888 buffer after jumping to category.
889
d04d6b95
SB
8902012-09-18 Stephen Berman <stephen.berman@gmx.net>
891
bbf95285 892 Changes from 2011-05-16 (revision 109996).
d04d6b95
SB
893 * calendar/todos.el Add and revise various doc strings, remove
894 further commented out code; add further comments; further code
895 rearrangement.
896 (todos-file-do, todos-archive-file, todos-mode-hook)
897 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
898 (todos-view-archive, todos-search-string)
899 (todos-jump-to-category-noninteractively, todos-initial-setup):
900 Remove.
901 (todos-files): Remove this defcustom.
902 (todos-initial-category, todos-display-categories-first)
903 (todos-auto-switch-todos-file, todos-default-todos-file)
904 (todos-categories-category-label, todos-categories-todo-label)
905 (todos-categories-diary-label, todos-categories-done-label)
906 (todos-categories-archived-label)
907 (todos-categories-number-separator, todos-categories-align)
908 (todos-ignore-archived-categories, todos-nondiary-marker):
909 New defcustoms.
910 (todos-prefix, todos-done-separator, todos-file-top)
911 (todos-categories-buffer, todos-archived-categories-buffer)
912 (todos-edit-buffer, todos-always-add-time-string, todos-button):
913 Change default value.
914 (todos-done-string): Add todos-reset-done-string as :set function,
915 but keep this commented out.
916 (todos-files, todos-archives, todos-insertion-map)
917 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
918 (todos-show-done-only, todos-date-string-start)
919 (todos-done-string-start): New variables.
920 (todos-files-directory, todos-files-function, todos-merged-files)
921 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
922 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
923 (todos-toggle-switch-todos-file-noninteractively)
924 (todos-switch-todos-file, todos-counts, todos-get-count)
925 (todos-set-count, todos-set-categories)
926 (todos-truncate-categories-list, todos-update-categories-sexp)
927 (todos-read-file-name, todos-sort, todos-display-sorted)
928 (todos-label-to-key, todos-insert-sort-button): New functions.
929 (todos-display-categories-sorted-by-todo)
930 (todos-display-categories-sorted-by-diary)
931 (todos-display-categories-sorted-by-done)
932 (todos-display-categories-sorted-by-archived)
933 (todos-update-merged-files, todos-switch-to-archive)
934 (todos-choose-archive, todos-merged-top-priorities)
935 (todos-jump-to-category-other-file, todos-clear-matches)
936 (todos-add-file, todos-change-default-file, todos-move-category)
937 (todos-merge-category, todos-merge-categories)
938 (todos-edit-item-time, todos-move-item-to-file)
939 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
940 (todos-toggle-diary-nonmarking): New commands.
941 (todos-toggle-show-done-only): New command replacing todos-view-archive.
942 (todos-faces): New defgroup; use in all face definitions.
943 (todos-sorted-column, todos-archived-only, todos-search): New faces.
944 (todos-font-lock-keywords): Use subexpression 1 with matcher
945 todos-category-string-match.
946 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
947 (todos-categories-mode-map): Add new key bindings; change some
948 existing bindings.
949 (todos-top-priorities-mode-map): New keymap.
950 (todos-menu): Add submenues and new entries.
951 (auto-mode-alist): Add extension of Todos and Todos archive files.
952 (todos-mode, todos-archive-mode): Make derived mode; use
953 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
954 and todos-switch-todos-file; make todos-show-done-only local
955 variable.
956 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
957 (todos-categories-mode): Make derived mode.
958 (todos-top-priorities-mode): New derived major mode.
959 (todos-save): Remove unused code.
960 (todos-quit): Handle todos-categories-mode; save archive buffer.
961 (todos-show): Add optional argument to prompt for a Todos file; if
962 called interactively or with prefix arg or from an archive, don't
963 make a no-op but reset todos-current-todos-file, todos-categories
964 and todos-category-number; use todos-read-file-name,
965 todos-display-categories-first, todos-ignore-archived-categories.
966 (todos-display-categories): Change argument name; refactor code
967 for inserting table labels and lines, using
968 todos-ignore-archived-categories, todos-sort,
969 todos-categories-number-separator, todos-insert-sort-button,
970 todos-categories-*-labels, and todos-insert-category-line.
971 (todos-display-categories-alphabetically): Use todos-display-sorted.
972 (todos-toggle-view-done-items): Use todos-done-string-start and
973 todos-get-count.
974 (todos-toggle-display-date-time): Use todos-done-string-start.
975 (todos-top-priorities): Remove autoload cookie; partially rewrite:
976 new argument list; allow combining top priorities of multiple
977 Todos files; change display to include category (and file) name as
978 part of item header; use todos-top-priorities-mode.
979 (todos-diary-items): Reimplement using only todos-top-priorities.
58c7641d 980 (todos-forward-category, todos-backward-category): Adjust to
d04d6b95
SB
981 1-based numbering of categories; move point to top of category.
982 (todos-jump-to-category): Rewrite, adding optional arguments to
983 provide a category in non-interactive uses and to prompt for which
984 Todos file to jump to.
985 (todos-search): Reimplement; highlight each match as found, say
986 how many matches remain and prompt whether to go to next one; at
987 end of search prompt whether to remove highlighting.
988 (todos-add-category): Remove autoload cookie; assign new category
989 the highest category number; associate zero-initialized vector of
990 item counts, instead of property list, with new category; use
991 todos-validate-category-name and todos-update-categories-sexp.
992 (todos-rename-category): Use todos-validate-category-name and
993 todos-update-categories-sexp; take archive files into account.
994 (todos-delete-category): Use todos-get-count and
995 todos-update-categories-sexp, let-bind variable that were
996 mistakenly global; use delete-region instead of kill-region;
58c7641d
SB
997 adjust to 1-based numbering of categories; move point to top of
998 category.
d04d6b95
SB
999 (todos-raise-category): Handle item count vectors; use
1000 todos-insert-category-line and todos-update-categories-sexp.
1001 (todos-insert-item): Use nil time-string argument to omit time
1002 string; use todos-nondiary-start and todos-nondiary-end and
1003 todos-update-categories-sexp; if category named to insert into
1004 does not exist, add it; take new diary items into account.
1005 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1006 (todos-insert-item-ask-date-time-for-diary)
1007 (todos-insert-item-ask-date-time-for-diary-here)
1008 (todos-insert-item-ask-date-time-here)
1009 (todos-insert-item-ask-date-maybe-notime)
1010 (todos-insert-item-ask-date-maybe-notime-for-diary)
1011 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1012 (todos-insert-item-ask-date-maybe-notime-here)
1013 (todos-insert-item-ask-date-for-diary)
1014 (todos-insert-item-ask-date-for-diary-here)
1015 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1016 (todos-insert-item-ask-dayname-time)
1017 (todos-insert-item-ask-dayname-time-for-diary)
1018 (todos-insert-item-ask-dayname-time-for-diary-here)
1019 (todos-insert-item-ask-dayname-time-here)
1020 (todos-insert-item-ask-dayname-maybe-notime)
1021 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1022 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1023 (todos-insert-item-ask-dayname-maybe-notime-here)
1024 (todos-insert-item-ask-dayname-for-diary)
1025 (todos-insert-item-ask-dayname-for-diary-here)
1026 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1027 (todos-insert-item-ask-time-for-diary)
1028 (todos-insert-item-ask-time-for-diary-here)
1029 (todos-insert-item-ask-time-here)
1030 (todos-insert-item-maybe-notime)
1031 (todos-insert-item-maybe-notime-for-diary)
1032 (todos-insert-item-maybe-notime-for-diary-here)
1033 (todos-insert-item-maybe-notime-here)
1034 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
1035 New insertion commands.
1036 (todos-insert-item-from-calendar): Use todos-current-todos-file.
1037 (todos-delete-item): Handle diary items;
1038 use todos-update-categories-sexp.
1039 (todos-edit-item): Check if point is with item string;
1040 use read-string instead of read-from-minibuffer;
1041 use todos-date-string-start; after editing put point at start of
1042 item text.
1043 (todos-edit-multiline): Narrow to item before invoking
1044 todos-edit-mode; show key binding of todos-edit-quit in a message.
1045 (todos-edit-quit): Use todos-save; kill buffer.
1046 (todos-edit-item-header): Add optional argument to prompt for
1047 editing only date string or only time string;
1048 use todos-date-string-start.
1049 (todos-edit-item-date, todos-edit-item-date-is-today)
1050 (todos-raise-item-priority, todos-lower-item-priority): Rename
1051 from todos-{raise, lower}-item and make them DTRT in
1052 todos-top-priorities-mode.
1053 (todos-set-item-priority): Make interactive; use todos-get-count
1054 and todos-insert-with-overlays; interactively, just relocate the
1055 item within its category.
1056 (todos-move-item): Add optional argument to prompt for a category
1057 in another Todos file; handle diary items; fix restoration after
1058 cancelling before inserting.
1059 (todos-item-done): Handle diary items; simplify handling of
1060 insertion in done items section.
1061 (todos-item-undo): Handle diary items.
58c7641d 1062 (todos-archive-done-items): Adjust to new handling of archive
d04d6b95
SB
1063 files (in parallel with Todos files); handle diary items; use
1064 todos-done-string-start.
1065 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
1066 todos-nondiary-end and todos-item-counts.
1067 (todos-toggle-diary-inclusion): Use todos-category-done instead of
1068 todos-category-end.
1069 (todos-print): Remove autoload cookie; rewrite to make overlays,
1070 line wrapping and wrap prefixes printable.
1071 (todos-date-pattern): Make parenthesized groups shy.
1072 (todos-date-string-match): Use todos-date-string-start; make
1073 todos-date-pattern an explicitly numbered group.
1074 (todos-time-string-match): Use todos-date-string-start.
1075 (todos-done-string-match): Use todos-done-string-start.
1076 (todos-category-string-match): Rewrite to match new category and
1077 category+filename patterns in todos-top-priorities-mode.
1078 (todos-prefix-overlays): Use todos-done-string-start and
1079 todos-category-done.
1080 (todos-reset-prefix): Handle archive files; restore point after
1081 changing prefix.
1082 (todos-reset-separator): Handle archive files.
1083 (todos-category-number): Make category number one more than its
1084 list index.
58c7641d 1085 (todos-current-category): Adjust to 1-based numbering of categories.
d04d6b95
SB
1086 (todos-category-select): Simplify handling of done items and done
1087 separator string overlay.
1088 (todos-item-start): Use todos-date-string-start and
1089 todos-done-string-start.
1090 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
1091 (todos-item-string): Restore point after getting item bounds; use
1092 buffer-substring-no-properties.
1093 (todos-done-item-p): Use todos-done-string-start.
1094 (todos-make-categories-list): Add optional argument to force
1095 looping through file to get categories and their item counts,
1096 otherwise set todos-categories from sexp in first line; use
1097 vectors of item counts instead of plists; count diary items.
1098 (todos-item-counts): Use todos-counts, todos-set-counts,
1099 todos-get-counts, and todos-update-categories-sexp instead of
1100 getting and setting properties; handle diary items.
1101 (todos-read-category): Add argument to set prompt; don't offer
1102 default category.
1103 (todos-validate-category-name): Rename from
1104 todos-check-category-name; take into account whether there are
1105 already categories or not.
1106 (todos-read-date): Accept `*' as an unspecified month, day, or year.
1107 (todos-padded-string): Accommodate new structure of
1108 todos-categories as alists; use todos-categories-align.
1109 (todos-descending-counts-store): New variable.
1110 (todos-insert-category-line): Rename from
1111 todos-insert-category-name and reimplement using labels and
1112 todos-get-counts instead of properties; use
1113 todos-ignore-archived-categories; highlight sorted column.
1114
f730d273
SB
11152012-09-14 Stephen Berman <stephen.berman@gmx.net>
1116
bbf95285 1117 Changes from 2010-07-09 (revision 109995).
f730d273
SB
1118 * calendar/todos.el Remove lots of commented out code; add various
1119 comments; further code rearrangement.
1120 (todos-insert-item-here-ask-date-time)
1121 (todos-insert-item-ask-date-time)
1122 (todos-insert-item-ask-dayname-time)
1123 (todos-insert-item-for-diary)
1124 (todos-insert-item-for-diary-ask-date-time)
1125 (todos-make-categories-alist, todos-categories-alist): Remove.
1126 (todos-categories-list): Comment out.
1127 (todos-make-categories-list): New function replacing
1128 todos-make-categories-alist, using category plists to get item
1129 counts and taking archive into account.
1130 (todos-current-todos-file): New variable.
1131 (todos-mode-map): Update key bindings.
1132 (todos-save): Add as comment code to make sure todos-categories
1133 sexp is current on saving.
1134 (todos-quit): Call todos-show on quitting Todos archive buffer.
1135 (todos-show): If todos-current-todos-file is not set to Todos
1136 file, set it as a new file; set todos-categories from
1137 todos-make-categories-alist.
1138 (todos-display-categories): Use a different display format for
1139 archive file; put point initially on the first button.
1140 (todos-toggle-view-done-items): Check the category's `done'
1141 property to determine if there are done items.
1142 (todos-view-archive): Set todos-current-todos-file to the archive
1143 file; jump from the Todos file to the same category in the
1144 archive, if it exists, else jump to the first category; use
1145 message instead of error.
1146 (todos-add-category): Intern a special symbol for the new category
1147 and set its property list to holds counts of the numbers of todo,
1148 done and archived items in the category; assign the new category
1149 the current highest category number.
1150 (todos-rename-category): Don't use todos-categories-alist.
1151 (todos-delete-category): Check the category's `todo' and `done'
1152 properties to determine if it is empty; ensure that the end of the
1153 last category is found; after deleting the category, empty its
1154 plist and unintern its special symbol.
1155 (todos-insert-item-here): Fix argument list of todos-insert-item.
1156 (todos-delete-item, todos-raise-item, todos-lower-item):
1157 Use message instead of error.
1158 (todos-move-item): If the category to be moved to does not exist,
1159 add it as a new category.
1160 (todos-item-done, todos-reset-separator):
1161 Use todos-category-select instead of todos-show.
1162 (todos-archive-done-items): Make buffer writeable; conditionalize
1163 search for end of category; save after adding to archive in case
1164 the file is new, so it can be found.
1165 (todos-category-select): Wrap search in if instead of or+and;
1166 don't hide done items in an archive.
1167 (todos-set-item-priority): Check the category's `todo'
1168 property to determine if there are not done todo items.
1169 (todos-jump-to-category-noninteractively): Just switch to buffer
1170 visiting todos-current-todos-file, since this can be either a
1171 Todos file or an archive.
1172 (todos-item-counts): Use category's plist instead of an alist.
1173 (todos-longest-category-name-length): Argument is now a list of
1174 category names, not an alist, so just test each element, not each
1175 element's the car.
1176 (todos-padded-string): Use todos-categories instead of
1177 todos-categories-alist.
1178 (todos-insert-category-name): Use category plist to get item
1179 counts; take archived items into account.
1180
ee7412e4
SB
11812012-09-13 Stephen Berman <stephen.berman@gmx.net>
1182
bbf95285 1183 Changes from 2010-06-18 (revision 109994).
ee7412e4
SB
1184 * calendar/todos.el: Numerous spelling and comment fixes, doc
1185 string fixes to conform with checkdoc, further rearrangement of
1186 definitions, etc.
1187 (todos-previous-line, todos-previous-answer)
1188 (todos-insert-item-ask-date, todos-change-date)
1189 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1190 (todos-count-items-in-category, todos-count-all-items): Remove.
1191 (todos-update-numbered-prefix, todos-item-start-overlays)
1192 (todos-add-item-non-interactively): Comment out, also in uses.
1193 (todos-done-separator): Change default value.
1194 (todos-always-add-time-string): Rename from todos-add-time-string
1195 and adjust uses.
1196 (todos-read-category): Rename from todos-completing-read and
1197 adjust callers; use todos-current-category.
1198 (todos-make-categories-alist): Rename from function
1199 todos-categories-alist.
1200 (todos-categories-alist): New variable.
1201 (todos-indent-to-here): New defcustom.
1202 (todos-button): New face.
1203 (todos-display-categories-alphabetically, todos-raise-category)
1204 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1205 (todos-insert-item-here-ask-date-time)
1206 (todos-insert-item-ask-date-time)
1207 (todos-insert-item-ask-dayname-time): New commands.
1208 (todos-edit-item-header): New command replacing todos-change-date.
1209 (todos-category-number, todos-indent, todos-item-counts)
1210 (todos-check-category-name, todos-read-date, todos-read-dayname)
1211 (todos-read-time, todos-padded-string)
1212 (todos-insert-category-name): New functions.
1213 (todos-set-item-priority): New function replacing
1214 todos-add-item-non-interactively.
1215 (todos-mode-map): Remap newline to newline-and-indent.
1216 (todos-edit-mode-map): Make sparse keymap; remap newline to
1217 newline-and-indent.
1218 (todos-categories-mode-map): New keymap.
1219 (todos-mode, todos-edit-mode): Make indent-line-function local
1220 variable and set to todos-indent.
1221 (todos-categories-mode): New major mode.
1222 (todos-display-categories): List categories initially in their
1223 numerical order; add optional argument to switch to alphabetical
1224 listing.
1225 (todos-toggle-view-done-items): Simplify implementation.
1226 (todos-toggle-display-date-time): Fix regexp search string.
1227 (todos-backward-item, todos-forward-item): Use variable
1228 todos-item-start.
1229 (todos-add-category): Use todos-check-category-name and
1230 todos-categories-alist.
1231 (todos-rename-category): Use todos-current-category,
1232 todos-check-category-name and todos-categories-alist.
1233 (todos-delete-category): Use todos-check-category-name and
1234 todos-categories-alist and take done items into account.
1235 (todos-insert-item): Use separate arguments to handle insertion of
1236 date/dayname and time strings, add new argument to mark item for
1237 diary inclusion, use new todos-read-* functions,
1238 todos-set-item-priority and todos-item-counts.
1239 (todos-insert-item-here, todos-insert-item-for-diary)
1240 (todos-insert-item-from-calendar): Adapt to new version of
1241 todos-insert-item.
1242 (todos-delete-item, todos-item-done): Use todos-item-counts.
1243 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1244 char follows.
1245 (todos-lower-item): Ensure only not-done items can be lowered.
1246 (todos-move-item): Use todos-current-category, todos-read-category
1247 and todos-item-counts.
1248 (todos-archive-done-items): Use todos-current-category and
1249 todos-item-counts; fix regexp search string.
1250 (todos-item-undo): Use todos-current-category,
1251 todos-set-item-priority, todos-insert-with-overlays and
1252 todos-item-counts; restore if user quits before inserting undone
1253 item.
1254 (todos-date-pattern): Rewrite without using
1255 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1256 (todos-date-string-match): Do not make todos-date-pattern an
1257 unnumbered group.
1258 (todos-time-string-match): Make todos-date-pattern a shy group.
1259 (todos-wrap-and-indent): Use todos-indent-to-here.
1260 (todos-reset-prefix): Revert to using todos-show instead of
1261 todos-category-select.
1262 (todos-prefix-overlays): Fix numbering of done items and updating
1263 of prefix.
1264 (todos-category-select): Use todos-current-category; fix display
1265 of separator string; don't move point to top of category.
1266 (todos-jump-to-category-noninteractively): Use todos-category-number.
1267 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1268 (todos-item-start): New variable.
1269 (todos-item-start): Use it to define this function.
1270 (todos-item-end): Adjust if item is last unfinished one before
1271 displayed done items.
1272 (todos-remove-item): Use todos-item-start and todos-item-end
1273 instead of todos-forward-item and todos-backward-item.
1274 (todos-longest-category-name-length): Add argument for list of
1275 categories.
1276
2c173503
SB
12772012-09-13 Stephen Berman <stephen.berman@gmx.net>
1278
bbf95285 1279 Changes from 2010-05-25 (revision 109993).
2c173503
SB
1280 * calendar/todos.el: Comment out calendar require, since diary-lib
1281 requires calendar. Rearrange file to group definitions according
1282 to their use (types of commands, internal functions, etc.)
1283 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1284 (todos-date-string, todos-time-string, todos-check-overlay)
1285 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1286 Comment out.
1287 (todos-current-date, todos-item-end-overlays)
1288 (todos-list-categories): Remove.
1289 (todos-item-end): Remove (the variable, not the function).
ee7412e4 1290 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
2c173503 1291 callers.
2c173503
SB
1292 (todos-done-separator, todos-done-string, todos-show-with-done)
1293 (todos-files, todos-archive-file, todos-categories-buffer)
1294 (todos-archived-categories-buffer, todos-wrap-lines)
1295 (todos-line-wrapping-function): New defcustoms.
1296 (todos-done, todos-done-sep): New faces.
1297 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1298 (todos-search-string, todos-date-nodayname-pattern)
1299 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1300 (todos-done-string-match, todos-category-string-match)
1301 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1302 (todos-current-category, todos-count-items-in-category)
1303 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1304 (todos-longest-category-name-length): New functions.
1305 (todos-categories-list): New buffer-specific function replacing
1306 todos-list-categories.
1307 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1308 (todos-search, todos-view-archive, todos-diary-items)
1309 (todos-toggle-display-date-time, todos-insert-item-no-time)
1310 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1311 (todos-insert-item-from-calendar, todos-edit-quit)
1312 (todos-change-date, todos-item-done, todos-archive-done-items)
1313 (todos-item-undo): New commands.
ee7412e4 1314 (todos-archive-mode): New major mode.
2c173503
SB
1315 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1316 (todos-category-beg): Change value.
1317 (todos-number-prefix): Change default value.
1318 (todos-edit-buffer): Change from defvar to defcustom.
1319 (todos-font-lock-keywords): Use todos-done-string-match and
1320 todos-category-string-match.
1321 (todos-backward-item, todos-forward-item): Use todos-done-string
1322 and todos-date-pattern.
1323 (todos-display-categories): Reimplement using buttons from
1324 button.el instead of widgets.
1325 (todos-top-priorities): Use with-current-buffer; take done items
1326 into account; ensure buffers gets fontified.
1327 (todos-add-category): Ensure new category does not begin with
1328 empty lines.
1329 (todos-jump-to-category): Use todos-category-select instead of
1330 todos-show.
1331 (todos-rename-category): Prompt for new name in body instead of in
1332 interactive spec.
1333 (todos-insert-item): Don't insert in done items section of
1334 category. Add two optional arguments to control insertion: (i) to
1335 insert near point without prompting for priority; (ii) to use
1336 defaults for date and time strings, to prompt for these, or to
1337 choose date from the Calendar.
1338 (todos-insert-item-here): Reimplement using todos-insert-item.
1339 (todos-delete-item): Don't move point after deleting last item.
1340 (todos-raise-item, todos-lower-item): Take done items into account.
1341 (todos-move-item): Don't move done items; update item numbering;
1342 restore if user quits before inserting moved item.
1343 (todos-print): Prompt for confirmation to print.
1344 (todos-reset-prefix): Search backward from end of file instead of
1345 forward from top.
1346 (todos-jump-to-category-noninteractively): Take Todos archive into
1347 account.
1348 (todos-category-select): Show or hide done items according to
1349 todos-show-with-done; if shown, coordinate separator and prefix
1350 overlays.
1351 (todos-add-item-non-interactively): Replace binary insertion
1352 algorithm with prompting for numerical priority.
1353 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1354 (todos-item-start): Take done items into account; use
1355 todos-date-pattern.
1356 (todos-item-end): Reimplement using todos-forward-item.
1357 (todos-remove-item): Reimplement using todos-forward-item and
1358 todos-backward-item; redo overlay handling.
1359 (todos-mode-map): Add some new key bindings and change numerous
1360 existing bindings; use "i" as prefix key for item insertion
1361 commands.
1362 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1363 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1364 spec; set buffer-read-only to t and consequently let-bind this
1365 variable in all Todos commands that change buffer content.
1366 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1367 (todos-save): Don't save top priorities buffer.
1368 (todos-show): Make a no-op if called interactively in narrowed
1369 Todos mode, since, also to work around item prefix reduplication
1370 bug with show-paren-mode enabled; use todos-categories-list.
1371
b28025ed
SB
13722012-09-12 Stephen Berman <stephen.berman@gmx.net>
1373
bbf95285 1374 Changes from 2009-11-07 (revision 109992).
b28025ed
SB
1375 * calendar/todos.el: Comment out time-stamp require; require
1376 calendar and diary-lib.
1377 (todos-prefix): Change default value and doc string to reflect new
1378 meaning; add :initialize and :set functions.
1379 (todos-time-string-format, todos-entry-prefix-function)
1380 (todos-initials, todos-entry-timestamp-initials)
1381 (todos-prefix-face, todos-category-sep, todos-category-end)
1382 (todos-cp): Comment out.
1383 (todos-prefix-string): Inherit from font-lock-comment-face.
1384 (todos-item-header, todos-item-header-face): Remove.
1385 (todos-date, todos-time): New faces.
1386 (todos-date-face, todos-time-face): Corresponding new variables.
1387 (todos-add-time-string, todos-include-in-diary)
1388 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1389 New defcustoms.
1390 (todos-item-end, todos-item-start-overlays)
1391 (todos-item-end-overlays): New variables.
1392 (todos-date-string-match, todos-time-string-match): New functions.
1393 (todos-font-lock-keywords): Use them.
1394 (todos-current-date, todos-date-string, todos-time-string)
1395 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1396 (todos-reset-prefix, todos-update-numbered-prefix)
1397 (todos-check-overlay, todos-item-overlays)
1398 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1399 (todos-highlight-item): New command.
1400 (todos-category-beg): Change value.
1401 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1402 (todos-backward-item): Add optional count argument; use it and
1403 todos-item-start.
1404 (todos-forward-item): Use todos-check-overlay, todos-item-start
1405 and variable todos-item-end.
1406 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1407 todos-update-numbered-prefix, todos-item-overlays.
1408 (todos-add-category, todos-rename-category)
1409 (todos-list-categories): Use new category format.
1410 (todos-delete-category): Allow deleting non-empty category;
1411 use new category format.
1412 (todos-add-item-non-interactively): Comment out unnecessary
1413 save-excursion; use todos-insert-with-overlays.
1414 (todos-insert-item): Comment out unnecessary save-excursion; use
1415 new item format for date/time header and diary inclusion marking.
1416 (todos-insert-item-here): Use new item format for date/time header
1417 and diary inclusion marking; use todos-insert-with-overlays.
1418 (todos-raise-item): Make a no-op if point is on an empty line; use
1419 todos-insert-with-overlays.
1420 (todos-lower-item): Use todos-insert-with-overlays.
1421 (todos-top-priorities): Move call to todos-show inside
1422 save-excursion; add save-current-buffer after save-restriction.
1423 (todos-item-start): Use variable todos-item-end.
1424 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1425 (todos-remove-item): Take item overlays into account.
1426 (todos-mode): Change calculation of wrap-prefix; make
1427 hl-line-range-function a local variable and set it to highlight
1428 todo item.
1429 (todos-show): Ensure point stays at top of category.
1430
98c97dee
SB
14312012-09-12 Stephen Berman <stephen.berman@gmx.net>
1432
bbf95285 1433 Changes from 2009-07-04 (revision 109991).
98c97dee
SB
1434 * calendar/todos.el (todos-window-configuration): Comment out.
1435 (todos-display-categories): Comment out use of
1436 todos-window-configuration; use switch-to-buffer instead of
1437 pop-to-buffer.
1438 (todos-jump-to-category-noninteractively): Comment out use of
1439 todos-window-configuration.
1440 (todos-edit-item): Don't allow editing of date/time item header.
1441 (todos-insert-item, todos-insert-item-here): Insert date/time
1442 header in front of new item string.
1443 (todos-mode): Tweak wrap-prefix.
1444
1f678911
SB
14452012-09-12 Stephen Berman <stephen.berman@gmx.net>
1446
bbf95285 1447 Changes from 2009-06-26 (revision 109989).
1f678911
SB
1448 * calendar/todos.el (todos-file-do, todos-file-done):
1449 Change default location to directory "~/.emacs.d/".
1450 (todos-completion-ignore-case, todos-categories-buffer):
1451 New defcustoms.
1452 (todos-prefix-string, todos-item-header): New faces.
1453 (todos-prefix-face, todos-item-header-face): Corresponding
1454 new variables.
1455 (todos-rename-category, todos-delete-category)
1456 (todos-display-categories, todos-move-item): New commands.
1457 (todos-mode-map): Add key bindings for new commands and for
1458 todos-add-category, which had no key binding.
1459 (todos-jump-to-category-noninteractively): New function.
1460 (todos-top-priorities): Comment out code using a previously
1461 deleted variable.
1462 (todos-completing-read): Allow SPC to insert a space when entering
1463 a new category name; use todos-completion-ignore-case.
1464 (todos-font-lock-keywords, todos-window-configuration):
1465 New variables.
1466 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1467 word-wrap, and wrap-prefix local variables.
1468
fffe5949
SB
14692012-09-12 Stephen Berman <stephen.berman@gmx.net>
1470
bbf95285 1471 Changes from 2009-02-16 (revision 109988).
fffe5949
SB
1472 * calendar/todos.el (todos-list-categories): Fix typos.
1473 (todos-show): Ensure file is in todos-mode.
1474
1e3d87b3
SB
14752012-09-12 Stephen Berman <stephen.berman@gmx.net>
1476
bbf95285 1477 Changes from 2009-02-12 (revision 109987).
1e3d87b3
SB
1478 * calendar/todos.el (todos-header): Remove defvar.
1479 (todos-add-category): Comment out code that inserts and updates
1480 the file local variables first line of the file todos-file-do.
1481 (todos-list-categories): New function.
1482 (todos-show): Use it; remove use of a previously deleted variable.
1483
3f031767
SB
14842012-09-11 Stephen Berman <stephen.berman@gmx.net>
1485
bbf95285 1486 Changes from 2009-02-12 (revision 109986).
3f031767
SB
1487 * calendar/todos.el: New file. This is a copy of todo-mode.el
1488 from revision 94343 except for the following changes: replace all
1489 occurrences of the namespace prefix "todo-" with "todos-", delete
1490 the defvar todo-cats (the old name of todo-categories) and its use
1491 in todos-add-category, delete all defaliases of old command names.
1492
baa26ea0
BG
14932012-09-11 Bastien Guerry <bzg@gnu.org>
1494
1495 * subr.el (set-temporary-overlay-map): Add a docstring.
1496 (bug#12346)
1497
04e8abfa
BG
14982012-09-11 Bastien Guerry <bzg@gnu.org>
1499
96d03571
BG
1500 * minibuffer.el (completion-table-subvert): Fix docstring.
1501 (bug#12347)
1502
15032012-09-11 Bastien Guerry <bzg@gnu.org>
1504
1505 * help-fns.el (describe-variable): Fix typo. (bug#12346)
04e8abfa 1506
04e082b0
MM
15072012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1508
1509 * progmodes/sql.el: Version 3.1
1510 (sql-db2-escape-newlines): New variable.
1511 (sql-escape-newlines-filter): Use it.
1512
399a361b
JB
15132012-09-10 Juanma Barranquero <lekktu@gmail.com>
1514
1515 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1516
0780c517
DN
15172012-09-10 Dan Nicolaescu <dann@gnu.org>
1518
1519 * vc/diff-mode.el (diff-mode-menu): Bind
1520 diff-remove-trailing-whitespace.
1521
9b851e25
SM
15222012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1525 (emacs-lisp-byte-code-comment)
1526 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1527 New functions.
1528 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1529 (eval-defun-2): Remove bogus interactive spec.
1530 (lisp-indent-line): Remove redundant whole-exp code, now done in
1531 indent-according-to-mode.
1532 (save-match-data): Remove redundant indent data.
1533
1534 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1535 Use `declare'.
1536
3231d532
JL
15372012-09-09 Juri Linkov <juri@jurta.org>
1538
1539 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1540 (replace-lax-whitespace, query-replace-regexp)
1541 (query-replace-regexp-eval, replace-regexp): Doc fix.
1542 (perform-replace, replace-highlight): Let-bind
1543 isearch-lax-whitespace to replace-lax-whitespace and
1544 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1545
1546 * isearch.el (isearch-query-replace): Let-bind
1547 replace-lax-whitespace to isearch-lax-whitespace and
1548 replace-regexp-lax-whitespace to
1549 isearch-regexp-lax-whitespace. (Bug#10885)
1550
70fe8236
SM
15512012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1554
8ed43f15
AM
15552012-09-09 Alan Mackenzie <acm@muc.de>
1556
70fe8236
SM
1557 * progmodes/cc-engine.el (c-state-cache-init):
1558 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1559 (c-record-parse-state-state):
1560 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1561
bfabf70a
AS
15622012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1563
1564 * register.el (register-separator): Rename from
1565 separator-register. All uses changed. Doc fix.
1566 (register): Fix version.
1567
011474aa
CY
15682012-09-09 Chong Yidong <cyd@gnu.org>
1569
1570 * replace.el (query-replace-map): Bind four new symbols for
1571 requesting window scrolling.
1572
1573 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1574 query-replace-map (Bug#8948).
1575
1576 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1577
1578 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1579 since they are now in query-replace-map.
1580
1581 * window.el (scroll-other-window-down): Make the arg optional.
1582
a8b7cd8d
CY
15832012-09-09 Chong Yidong <cyd@gnu.org>
1584
1585 * files.el (hack-local-variables-confirm): Use quit-window to kill
1586 the *Local Variables* buffer.
1587
c3268831
DG
15882012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1589
1590 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1591 not just expect to be at its beginning. Adjust callees.
1592 Succeed when do-end block has no space before the pipe character.
1593 (ruby-brace-to-do-end): When the original block is one-liner,
1594 convert to multiline. Reindent the result.
1595
0979429b
J
15962012-09-08 Jambunathan K <kjambunathan@gmail.com>
1597
1598 * register.el (register): New group.
1599 (register-separator): New user option.
1600 (increment-register): Route it to `append-to-register', if
1601 register contains text. Implication is that `C-x r +' can now be
1602 used for appending to a text register (bug#12217).
1603 (append-to-register, prepend-to-register): Add separator based on
1604 `register-separator.
1605
ace2989a
AM
16062012-09-08 Alan Mackenzie <acm@muc.de>
1607
1608 AWK Mode: make auto-newline work when there's "==" in the pattern.
1609 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1610 correctly.
0979429b
J
1611 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1612 Test more rigorously for "=" token.
ace2989a 1613
616c6c36
DG
16142012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1615
0979429b
J
1616 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1617 Only fail when reached LIMIT.
616c6c36 1618
35d98877
CY
16192012-09-08 Chong Yidong <cyd@gnu.org>
1620
1621 * dired.el (dired-mode-map): Don't bind M-=.
1622
1623 * dired-aux.el (dired-diff): Use backup file as default.
1624
1715f2db
DA
16252012-09-08 Drew Adams <drew.adams@oracle.com>
1626
1627 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1628
6dcef6ec
CY
16292012-09-08 Chong Yidong <cyd@gnu.org>
1630
1631 * subr.el (syntax-after, syntax-class): Doc fix.
1632
fa2bcf43
MR
16332012-09-08 Martin Rudalics <rudalics@gmx.at>
1634
1635 * window.el (display-buffer-in-previous-window): New buffer
1636 display action function.
1637
1638 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1639 (debugger-previous-window): New variable.
1640 (debug): Rewrite using display-buffer-in-previous-window,
1641 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1642
daac280a
SM
16432012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1646
9dd40b00
MM
16472012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1648
daac280a
SM
1649 * progmodes/python.el (python-shell-send-string):
1650 When default-directory is remote, create temp file on remote
9dd40b00
MM
1651 filesystem.
1652 (python-shell-send-file): When file is remote, pass local view of
1653 file paths to remote Python interpreter. (Bug#12340)
1654
145823ec
CY
16552012-09-07 Chong Yidong <cyd@gnu.org>
1656
cee2e90d
CY
1657 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1658
0d7eb2ea
CY
1659 * files.el (after-find-file): Don't fail on a read-only buffer if
1660 require-final-newline is `visit' or `visit-save' (Bug#11156).
1661
145823ec
CY
1662 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1663
daac280a
SM
1664 * userlock.el (ask-user-about-supersession-threat):
1665 Use read-char-choice (Bug#12093).
145823ec 1666
74c582e6
CY
16672012-09-07 Chong Yidong <cyd@gnu.org>
1668
e5c2edf7
CY
1669 * subr.el (buffer-narrowed-p): New function.
1670
1671 * ses.el (ses-widen):
1672 * simple.el (count-words--buffer-message):
1673 * net/browse-url.el (browse-url-of-buffer): Use it
1674
1675 * simple.el (count-words-region): Don't signal an error if there
1676 is a non-nil prefix arg and the mark is not set.
c640e87d 1677
74c582e6
CY
1678 * help.el (describe-key-briefly): Allow the message to be seen
1679 when invoked from the minibuffer (Bug#7014).
1680
d81ceaaf
DG
16812012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1682
1683 * progmodes/ruby-mode.el (ruby-end-of-defun)
1684 (ruby-beginning-of-defun): Simplify, allow indentation before
1685 block beginning and end keywords.
8f06acce
DG
1686 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1687 (ruby-end-of-defun): Expect that the point is at the beginning of
1688 the defun.
d81ceaaf 1689
d458ef98
SM
16902012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1691
1692 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1693 (bug#12367).
1694 (cl--make-usage-args): Strip _ from argument names.
1695
20367d28
RS
16962012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1697
1698 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1699 obsolete alias speedbar-key-map.
1700 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1701 (vhdl-index-menu-init): Don't use obsolete variable
1702 font-lock-maximum-size.
1703
3424a4f6
CY
17042012-09-06 Chong Yidong <cyd@gnu.org>
1705
1706 * frame.el (window-system-version): Mark as obsolete.
1707
fcbfbdea
CY
1708 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1709 of obsolete variable speedbar-key-map.
1710
826b3235
JL
17112012-09-06 Juri Linkov <juri@jurta.org>
1712
1713 * replace.el (replace-lax-whitespace): New defcustom.
1714 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1715 (replace-string, replace-regexp): Mention it in docstrings.
1716 (perform-replace, replace-highlight): Let-bind
1717 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1718 to the values of replace-lax-whitespace and regexp-flag.
1719 Don't let-bind search-whitespace-regexp. (Bug#10885)
1720
1721 * isearch.el (isearch-query-replace): Let-bind
1722 replace-lax-whitespace instead of let-binding
1723 replace-search-function and replace-re-search-function.
1724 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1725 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1726 (isearch-toggle-symbol): Set isearch-regexp to nil
1727 in isearch-word mode (like in isearch-toggle-word).
1728
1ec5e41d
JL
17292012-09-06 Juri Linkov <juri@jurta.org>
1730
1731 * replace.el (replace-search-function)
1732 (replace-re-search-function): Set default values to nil.
1733 (perform-replace): Let-bind isearch-related variables based on
1734 replace-related values, call `isearch-search-fun' and let-bind
1735 the result to `search-function'. Remove code that sets
1736 `search-function' and `search-string' separately for
1737 `delimited-flag'.
1738 (replace-highlight): Add new argument `delimited-flag' and
1739 rename other arguments to the names used in `perform-replace'.
1740 Let-bind `isearch-word' to the argument `delimited-flag'.
1741 (Bug#10885, bug#10887)
1742
0ba2d4b6
DG
17432012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1744
1745 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1746 ruby-beginning-of-indent, simplify, allow all keywords to have
1747 indentation before them.
1748 (ruby-beginning-of-indent): Adjust for above. Search until the
1749 found point is not inside a string or comment.
1750 (ruby-font-lock-keywords): Allow symbols to start with "@"
1751 character, give them higher priority than variables.
1752 (ruby-syntax-propertize-function)
1753 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1754 matchers. Expression expansions are not comments when inside a
1755 string, and there comment syntax status is irrelevant.
1756 (ruby-match-expression-expansion): New function. Check that
1757 expression expansion is inside a string, and it's not escaped.
1758 (ruby-font-lock-keywords): Use it.
1759
ef654460
MR
17602012-09-05 Martin Rudalics <rudalics@gmx.at>
1761
1762 * help.el (temp-buffer-max-height): New default value.
1763 (temp-buffer-resize-frames): New option.
1764 (resize-temp-buffer-window): Optionally resize frame.
1765
1766 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1767 (fit-frame-to-buffer): New function.
1768
7e570fbf 17692012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1770
1771 * emulation/cua-rect.el (cua--init-rectangles):
1772 * textmodes/picture.el (picture-mode-map):
1773 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1774 like forward-char and backward-char. (Bug#12317)
1775
7e570fbf 17762012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1777
1778 * progmodes/flymake.el (flymake-warning-re): New variable.
1779 (flymake-parse-line): Use it.
1780
7e570fbf 17812012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1782
1783 * calendar/holidays.el (holiday-christian-holidays):
1784 Rename an entry. (Bug#12289)
1785
7e570fbf 17862012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1787
1788 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1789 (bug#12222).
1790
972debf2
SM
17912012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1792
1793 * loadup.el: Load macroexp. Remove hack.
1794 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1795 (macroexp--expand-all): Use it to get better warnings.
1796 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1797 (internal-macroexpand-for-load): New functions.
1798 (macroexp--pending-eager-loads): New var.
1799 (emacs-startup-hook): New hack to replace one in loadup.el.
1800 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1801 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1802 (cl-psetf): Simplify.
1803 (cl-defstruct): Add indent rule.
1804
8ce192e3
LI
18052012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1806
1807 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1808 over `user-mail-address' for the SMTP MAIL FROM envelope.
1809 (smtpmail-via-smtp): Ditto.
1810
6578b4d8
DG
18112012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1812
1813 * progmodes/ruby-mode.el: Clean up keybindings.
1814 (ruby-mode-map): Don't bind ruby-electric-brace,
1815 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1816 backward-kill-word, reindent-then-newline-and-indent.
1817 (ruby-mark-defun): Remove.
1818 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1819 (ruby-mode): Set local beginning-of-defun-function and
1820 end-of-defun-function values.
1821
c5e28e39
MR
18222012-09-03 Martin Rudalics <rudalics@gmx.at>
1823
1824 * window.el (temp-buffer-window-setup-hook)
1825 (temp-buffer-window-show-hook): New hooks.
1826 (temp-buffer-window-setup, temp-buffer-window-show)
1827 (with-temp-buffer-window): New functions.
972debf2
SM
1828 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1829 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1830
1831 * help.el (temp-buffer-resize-mode): Fix doc-string.
1832 (resize-temp-buffer-window): New optional argument WINDOW.
1833
1834 * files.el (recover-file, save-buffers-kill-emacs):
1835 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1836
73406194
MA
18372012-09-02 Michael Albinus <michael.albinus@gmx.de>
1838
1839 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1840 remote definition of `default-directory', ensure we can connect.
1841
63dd1c6f
JL
18422012-09-02 Juri Linkov <juri@jurta.org>
1843
1844 Toggle whitespace matching mode with M-s SPC.
1845 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1846
1847 * isearch.el (search-whitespace-regexp): Doc fix.
1848 Remove cons cell customization.
1849 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1850 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1851 New variables.
1852 (isearch-forward, isearch-forward-regexp): Doc fix.
1853 (isearch-toggle-lax-whitespace): New command.
1854 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1855 (re-search-forward-lax-whitespace)
1856 (re-search-backward-lax-whitespace): New functions.
1857 (isearch-whitespace-regexp): Remove function.
1858 (isearch-query-replace): Let-bind replace-search-function and
1859 replace-re-search-function.
1860 (isearch-occur): Let-bind search-spaces-regexp according to the
1861 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1862 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1863 condition for C-q SPC.
1864 (isearch-search-fun-default): Use new functions mentioned above.
1865 (isearch-search-forward, isearch-search-backward): Remove functions.
1866 (isearch-search): Don't let-bind search-spaces-regexp.
1867 (isearch-lazy-highlight-space-regexp): Remove variable.
1868 (isearch-lazy-highlight-lax-whitespace)
1869 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1870 (isearch-lazy-highlight-new-loop): Use them.
1871 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1872
af7dda05
CY
18732012-09-02 Chong Yidong <cyd@gnu.org>
1874
1875 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1876
d67d3afd
GM
18772012-09-02 Glenn Morris <rgm@gnu.org>
1878
1879 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1880
69678719
GM
18812012-09-01 Glenn Morris <rgm@gnu.org>
1882
1883 * term.el: Tidy up menu definitions.
1884 (term-mode-map): Use easymenu for In/Out, Complete menus.
1885 (term-pager-break-map): Initialize in the defvar.
1886 (term-terminal-menu, term-signals-menu): Define with easymenu.
1887 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1888 (term-pager-menu): New, extracted from term-process-pager.
1889 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1890 (term-update-mode-line): Propertize line/char and page items.
1891 (term-process-pager): Move keymap initialization elsewhere.
1892
78dd6ab1
MR
18932012-09-01 Martin Rudalics <rudalics@gmx.at>
1894
1895 * window.el (switch-to-prev-buffer): Handle additional values of
1896 BURY-OR-KILL argument. Don't switch in minibuffer window.
1897 (switch-to-next-buffer): Don't switch in minibuffer window.
1898 (quit-restore-window): New function based on quit-window.
1899 Handle additional values of former KILL argument.
1900 (quit-window): Call quit-restore-window with appropriate
1901 interpretation of KILL argument.
1902 (display-buffer-below-selected): New buffer display action
1903 function.
1904
3d10e134
SM
19052012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * minibuffer.el (completion-at-point-functions): Complete docstring
1908 (bug#12254).
1909
0e23ef9d
PE
19102012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1911
1912 Better seed support for (random).
1913 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1914 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1915 * play/mpuz.el, play/tetris.el, play/zone.el:
1916 * calc/calc-comb.el (math-init-random-base):
1917 * play/blackbox.el (bb-init-board):
1918 * play/life.el (life):
1919 * server.el (server-use-tcp):
1920 * type-break.el (type-break):
1921 Remove unnecessary call to (random t).
1922 * net/sasl.el (sasl-unique-id-function):
1923 Change (random t) to (random), now that the latter is more random.
1924 * play/life.el (life-initialized): Remove no-longer-needed var.
1925
862382df
MR
19262012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1927
1928 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1929 Consider frame's buffer predicate when choosing the buffer.
1930 (Bug#12081)
1931
262a66e1
RS
19322012-08-30 Richard Stallman <rms@gnu.org>
1933
1934 * simple.el (special-mode-map): Delete binding for `z'.
1935
f17e1d00
AS
19362012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1937
1938 * progmodes/compile.el (compilation-always-kill): Doc fix.
1939
24777832
CY
19402012-08-30 Chong Yidong <cyd@gnu.org>
1941
1942 * window.el (display-buffer-reuse-frames): Make the obsolescence
1943 message more informative.
1944
69ba1f04
GM
19452012-08-30 Glenn Morris <rgm@gnu.org>
1946
1947 * paren.el (show-paren-delay):
1948 Add a :set function. Doc fix. (Bug#12297)
1949
f0019ede
MB
19502012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1951
1952 * progmodes/compile.el (compilation-always-kill): New var.
1953 (compilation-start): Use it.
1954
35e62fc9
SM
19552012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1956
af070a1c
SM
1957 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1958 * files.el (read-only-mode): Move to simple.el.
1959
35e62fc9
SM
1960 * files.el (read-only-mode): New minor mode.
1961 (toggle-read-only): Use it and mark obsolete.
1962 (find-file--read-only):
1963 * vc/vc.el (vc-next-action, vc-checkout):
1964 * vc/vc-cvs.el (vc-cvs-checkout):
1965 * obsolete/vc-mcvs.el (vc-mcvs-update):
1966 * ffap.el (ffap--toggle-read-only): Update callers.
1967
c2c43c23
MA
19682012-08-29 Michael Albinus <michael.albinus@gmx.de>
1969
1970 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1971 remote shell scripts.
1972 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1973
1974 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1975 "/usr/local/sbin".
1976
9fba804b
SM
19772012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1980
eada0861 19812012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1982
806f0cc7
LL
1983 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1984 completion-at-point. (Bug#12220)
1985
3bb213b9
LL
1986 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1987
22ab32ef
LL
1988 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1989
eada0861 19902012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1991
19c17fc1
CY
1992 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1993 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1994
eada0861 19952012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1996
1997 * progmodes/hideif.el (hif-compress-define-list):
1998 Fix typo. (Bug#11951)
1999
eada0861 20002012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2001
2002 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2003 buffer local setting.
2004
27d6c5a8
LL
2005 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2006 rcirc-encode-coding-system.
2007
eada0861 20082012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2009
2010 * net/rcirc.el (rcirc-split-message): New function.
2011 (rcirc-send-message): Use it. (Bug#12051)
2012
d44688e4
JL
20132012-08-28 Juri Linkov <juri@jurta.org>
2014
2015 * info.el (Info-fontify-node): Hide empty lines at the end of
2016 the node. (Bug#12272)
2017
34f10d41
MR
20182012-08-27 Drew Adams <drew.adams@oracle.com>
2019
2020 * dired.el (dired-pop-to-buffer): Make window start at beginning
2021 of buffer (Bug#12281).
2022
77f1f99c
CY
20232012-08-26 Chong Yidong <cyd@gnu.org>
2024
2025 * window.el (special-display-regexps, special-display-frame-alist)
2026 (special-display-buffer-names, special-display-function)
2027 (display-buffer-reuse-frames): Mark as obsolete.
2028
2029 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2030
2031 * help.el (help-print-return-message): Don't treat
2032 display-buffer-reuse-frames specially.
2033
d97af5a0
CY
20342012-08-26 Chong Yidong <cyd@gnu.org>
2035
9fba804b
SM
2036 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2037 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2038 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2039 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2040 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2041 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2042 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2043 the functions directly with gdb-display-buffer-other-frame-action.
2044 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2045 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2046 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2047 (gdb-display-registers-buffer): Define directly.
2048 (def-gdb-display-buffer): Macro deleted.
2049 (gdb-display-buffer): Remove second and third args, callers don't
2050 use them. Defer to the default display-buffer behavior, apart
2051 from making windows dedicated.
2052 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2053
2054 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2055
2056 * window.el (display-buffer-pop-up-frame): Handle a
2057 pop-up-frame-parameters alist entry.
2058 (display-buffer): Document it.
2059
dd7ffad6
CY
20602012-08-26 Chong Yidong <cyd@gnu.org>
2061
2062 * isearch.el (search-whitespace-regexp): Make string and nil
2063 values apply to both ordinary and regexp search. Allow a cons
2064 cell value to distinguish between the two.
2065 (isearch-whitespace-regexp, isearch-search-forward)
2066 (isearch-search-backward): New functions.
2067 (isearch-occur, isearch-search-fun-default, isearch-search)
2068 (isearch-lazy-highlight-new-loop): Use them.
2069 (isearch-forward, isearch-forward-regexp): Doc fix.
2070
4c47bd1e
CY
20712012-08-26 Chong Yidong <cyd@gnu.org>
2072
2073 * faces.el (help-argument-name): Always inherit from italic
2074 (Bug#12213).
2075
9aba119d
MR
20762012-08-25 Martin Rudalics <rudalics@gmx.at>
2077
2078 * window.el (window--even-window-heights): Even heights when
2079 WINDOW and the selected window form a vertical combination.
2080 (display-buffer-use-some-window): Provide that window used gets
2081 sized back by quit-window. (Bug#11880) and (Bug#12091)
2082
ca5256ad
PE
20832012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2084
2085 Fix file time stamp problem with bzr and CVS (Bug#12001).
2086 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2087 in the file's time stamp, since the version control system loses
2088 that information.
2089
d1c0d176
JL
20902012-08-22 Juri Linkov <juri@jurta.org>
2091
2092 * info.el (Info-fontify-node): Hide the suffix of the
2093 Info file name in the header line. (Bug#12187)
2094
141562ff
GM
20952012-08-22 Glenn Morris <rgm@gnu.org>
2096
2097 * calendar/cal-tex.el (cal-tex-weekly-common):
2098 Restore leading blank page.
2099
61a48e19 21002012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2101
2102 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2103 the region under `shift-select-mode'. (Bug#12231)
2104
21052012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2106
2107 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2108 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2109 gives details on why the space is never needed.
2110
ea95074e
MR
21112012-08-22 Martin Rudalics <rudalics@gmx.at>
2112
9fba804b
SM
2113 * window.el (walk-window-tree, window-with-parameter):
2114 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2115 should run on the minibuffer window.
2116 (window-at-side-list): Don't operate on minibuffer window.
2117 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2118 (window--size-ignore): Rename to window--size-ignore-p.
2119 Update callers.
caceae25
MR
2120 (display-buffer-in-atom-window, window--major-non-side-window)
2121 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2122 (delete-side-window, display-buffer-in-side-window):
2123 New functions.
caceae25
MR
2124 (window--side-check, window-deletable-p, delete-window)
2125 (delete-other-windows, split-window): Handle side windows and
2126 atomic windows appropriately.
2127 (window--display-buffer): Call display-buffer-record-window also
2128 when the window buffer did not change.
ea95074e 2129
80a51fa0
CS
21302012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2131
2132 * help-fns.el (help-fns--key-bindings):
2133 Abbreviate non-symbol remap targets. (Bug#12174)
2134
fbb6300b
MR
21352012-08-22 Martin Rudalics <rudalics@gmx.at>
2136
2137 * dired.el (dired-mark-remembered): Don't clobber point.
2138 (Bug#11795)
2139
2b2c0794
GM
21402012-08-22 Glenn Morris <rgm@gnu.org>
2141
2142 * progmodes/bug-reference.el (bug-reference): New custom group.
2143 (bug-reference-bug-regexp): Make it a defcustom.
2144
37219830
DU
21452012-08-22 Daiki Ueno <ueno@unixuser.org>
2146
2147 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2148 (js-paren-indent-offset, js-square-indent-offset)
2149 (js-curly-indent-offset): Add :safe (Bug#12257).
2150
94e0e559
EC
21512012-08-22 Edward O'Connor <hober0@gmail.com>
2152
2153 * json.el (json-key-format): Add error properties.
2154 (json-encode-key): New function.
2155 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2156 Use json-encode-key.
2157
da485f5e
GM
21582012-08-22 Glenn Morris <rgm@gnu.org>
2159
2160 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2161 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2162 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2163 Update for above change.
2164
c6cc78b8
AS
21652012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2166
2167 * cus-face.el (custom-face-attributes): Fix customize type for the
2168 :underline attribute. (Bug#11805)
2169
5481664a
MR
21702012-08-21 Martin Rudalics <rudalics@gmx.at>
2171
2172 * window.el (window-point-1, set-window-point-1): Remove.
2173 (window-in-direction, record-window-buffer)
2174 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2175 (window--state-get-1, display-buffer-record-window):
2176 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2177 window-point and set-window-point respectively.
2178
6d74698e
GM
21792012-08-21 Glenn Morris <rgm@gnu.org>
2180
b7fa2691
GM
2181 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2182 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2183 Use it.
2184
52f56d5a
GM
2185 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2186 (cal-tex-shortday): New function.
2187 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2188 (cal-tex-cursor-filofax-daily): Use the above.
2189
9f1ee09e
GM
2190 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2191 New functions.
2192 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2193 (cal-tex-cursor-filofax-week): Use them.
2194
79858159
GM
2195 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2196 New constants.
2197 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2198 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2199
d346b2b4
GM
2200 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2201 (cal-tex-end-document): Don't rely on buffer name.
2202
b2403709
GM
2203 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2204 Use cal-tex-vspace.
2205 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2206 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2207 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2208 Use cal-tex-arg.
b2403709 2209
1cebb5c0
GM
2210 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2211 (cal-tex-cursor-week, cal-tex-cursor-week2)
2212 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2213 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2214 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2215 (cal-tex-insert-preamble, cal-tex-b-document)
2216 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2217 Improve cal-tex-cmd usage.
2218
c68cd5d4
GM
2219 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2220 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2221 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2222 (cal-tex-weekly-paper): New function.
2223 (cal-tex-cursor-week, cal-tex-cursor-week2)
2224 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2225 (cal-tex-cursor-day): Use it.
2226
9dca4801
GM
2227 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2228 (cal-tex-cursor-filofax-week): Remove leading blank page.
2229
1941e134
GM
2230 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2231 Add autoload cookie. For now at least, don't use color, since
2232 no other cal-tex function does.
2233
6d74698e
GM
2234 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2235 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2236 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2237
64cde199
JL
22382012-08-21 Juri Linkov <juri@jurta.org>
2239
2240 * info.el (Info-file-attributes): New variable.
2241 (info-insert-file-contents): Add file attributes to
2242 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2243 `Info-toc-nodes' when previous modtime of the Info file is less
2244 than new modtime.
2245 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2246 of info.el. (Bug#12230)
2247
32757648
GM
22482012-08-20 Glenn Morris <rgm@gnu.org>
2249
2250 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2251 * calendar/holidays.el (calendar-holiday-list):
2252 Report errors with display-warning rather than beep'n'sleep.
2253
a32fbbcf
MA
22542012-08-20 Michael Albinus <michael.albinus@gmx.de>
2255
2256 * net/tramp.el (tramp-accept-process-output): Accept only output
2257 from PROC. Otherwise, process filters and sentinels might be
2258 confused. (Bug#12145)
2259
a05731a0
CY
22602012-08-20 Chong Yidong <cyd@gnu.org>
2261
2262 * descr-text.el (describe-text-properties-1): Use overlays-in to
2263 report on empty overlays (Bug#3322).
2264
36e8d1eb
GM
22652012-08-20 Glenn Morris <rgm@gnu.org>
2266
3d300447
GM
2267 * mail/rmailout.el (rmail-output-read-file-name):
2268 Trap and report errors in rmail-output-file-alist elements.
2269
36e8d1eb
GM
2270 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2271 since most non-font-lock faces are not also variables).
2272
b96e5814
ER
22732012-08-20 Edward Reingold <reingold@iit.edu>
2274
2275 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2276 New function. (Bug12160)
2277
7cef3569
GM
22782012-08-19 Glenn Morris <rgm@gnu.org>
2279
2280 * mail/rmailout.el (rmail-output-read-file-name):
2281 Fix previous change (when the alist is nil or does not match).
2282
17975d7f
CY
22832012-08-19 Chong Yidong <cyd@gnu.org>
2284
2285 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2286 (Bug#12228).
2287
2170b1bd
CY
22882012-08-18 Chong Yidong <cyd@gnu.org>
2289
2290 * simple.el (yank-handled-properties): New defcustom.
2291 (yank-excluded-properties): Add font-lock-face and category.
2292 (yank): Doc fix.
2293
9fba804b
SM
2294 * subr.el (remove-yank-excluded-properties):
2295 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2296 and category is now done this way, instead of being hard-coded.
2297 (insert-for-yank-1): Remove font-lock-face handling.
2298 (yank-handle-font-lock-face-property)
2299 (yank-handle-category-property): New function.
2300
ee218151
GM
23012012-08-17 Glenn Morris <rgm@gnu.org>
2302
2303 * mail/rmailout.el (rmail-output-read-file-name):
2304 Check rmail-output-file-alist against the full message body
2305 in the correct rmail buffer. (Bug#12214)
2306
4a6bc3fd
MA
23072012-08-17 Michael Albinus <michael.albinus@gmx.de>
2308
9fba804b
SM
2309 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2310 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2311
383dcbf9
CY
23122012-08-17 Chong Yidong <cyd@gnu.org>
2313
2314 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2315 font spec, set the font directly (Bug#3228).
2316
998c4a6a
MR
23172012-08-17 Martin Rudalics <rudalics@gmx.at>
2318
2319 * window.el (delete-window): Fix last fix.
2320
52162052
MR
23212012-08-16 Martin Rudalics <rudalics@gmx.at>
2322
2323 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2324 (window-child, window-child-count, window-last-child)
2325 (window-normalize-window, window-combined-p)
2326 (window-combinations, window-atom-root, window-min-size)
2327 (window-sizable, window-sizable-p, window-size-fixed-p)
2328 (window-min-delta, window-max-delta, window--resizable)
2329 (window--resizable-p, window-resizable, window-total-size)
2330 (window-full-height-p, window-full-width-p, window-body-size)
2331 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2332 (minimize-window, window-deletable-p, delete-window)
2333 (delete-other-windows, set-window-buffer-start-and-point)
2334 (next-buffer, previous-buffer, split-window, balance-windows-2)
2335 (set-window-text-height, window-buffer-height)
2336 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2337 (truncated-partial-width-window-p): Minor code adjustments.
2338 In doc-strings state whether the argument window has to denote a
85c2386b 2339 live, valid or any window.
52162052 2340
1c308380
PS
23412012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2342
2343 * progmodes/subword.el (subword-forward-function)
2344 (subword-backward-function, subword-forward-regexp)
2345 (subword-backward-regexp): New variables.
2346 (subword-forward, subword-forward-internal, subword-backward-internal):
2347 Use new variables, eg so that different "word" definitions
2348 can be easily used. (Bug#11411)
2349
94c9ece1
SM
23502012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2353 for composite selectors.
2354 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2355 operation just because we can't find a previous revision.
2356
f2045622
CY
23572012-08-15 Chong Yidong <cyd@gnu.org>
2358
2359 * frame.el (set-frame-font): Accept font objects.
2360
582db660
SM
23612012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2362
2363 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2364
2f29c200
WJ
23652012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2366
456e62c2
WJ
2367 * man.el (Man-overstrike-face, Man-underline-face)
2368 (Man-reverse-face): Remove variables.
2369 (Man-overstrike, Man-underline, Man-reverse): New faces.
2370 (Man-fontify-manpage): Use them instead of the variables.
2371 (Man-cleanup-manpage): Comment change.
2372 (Man-ansi-color-map): New variable.
2373 (Man-fontify-manpage): Use it.
2374 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2375
2f29c200
WJ
2376 Implement ANSI SGR parameters 22-27 (bug#12146).
2377 * ansi-color.el (ansi-colors): Doc fix.
2378 (ansi-color-context, ansi-color-context-region): Doc fix.
2379 (ansi-color--find-face): New function.
2380 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2381 Rename the local variable `face' to `codes' since it is now a list of
2382 ansi codes. Doc fix.
2383 (ansi-color-get-face): Remove.
2384 (ansi-color-parse-sequence): New function, derived from
2385 ansi-color-get-face.
2386 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2387 codes 22-27.
2388
b4f5e9df
SM
23892012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * subr.el (read-passwd): Allow use from a minibuffer.
2392
ba025fbd
EZ
23932012-08-14 Eli Zaretskii <eliz@gnu.org>
2394
2395 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2396 inside comments and strings as identifiers.
2397
2398 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2399 expression to evaluate. This allows to evaluate expressions with
2400 embedded whitespace.
2401 (gud-tooltip-tips): Add a blank before the newline in the
2402 message-box text, for the benefit of message-box emulation on
2403 MS-Windows.
2404
2405 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2406 messages from GDB, pop them up in a tooltip to give feedback to
2407 user.
b4f5e9df
SM
2408 (gdb-tooltip-print-1): Quote the expression to evaluate.
2409 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2410 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2411 if the TTY name is nil or empty (which happens when communicating
2412 with the inferior via pipes, e.g. on MS-Windows).
2413 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2414 don't send that to the GUD buffer.
2415
c548f821
GM
24162012-08-14 Glenn Morris <rgm@gnu.org>
2417
2418 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2419 Optimize away setq-default with no args, as for setq. (Bug#12195)
2420
55802e4a
CY
24212012-08-14 Chong Yidong <cyd@gnu.org>
2422
4abcdac8
CY
2423 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2424
55802e4a
CY
2425 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2426 (Bug#12085).
2427
3c3cda1a
GM
24282012-08-14 Glenn Morris <rgm@gnu.org>
2429
2430 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2431
e1873bd0
MA
24322012-08-14 Michael Albinus <michael.albinus@gmx.de>
2433
2434 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2435 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2436 Use cached shell name.
2437
925411b4
FEG
24382012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2439
2440 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2441 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2442
e636fafe
DG
24432012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2444
2445 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2446 (ruby-percent-literal-beg-re): New constant.
2447 (ruby-syntax-general-delimiters-goto-beg): Rename to
2448 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2449 (ruby-syntax-propertize-general-delimiters): Rename to
2450 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2451 popular term. Adjust comments everywhere.
2452 (ruby-syntax-propertize-percent-literal): Only propertize when not
2453 inside a simple string or comment. When the literal is unclosed,
2454 leave the text after it unpropertized.
f063063a
DG
2455 (ruby-syntax-methods-before-regexp): New constant.
2456 (ruby-syntax-propertize-function): Use it to recognize regexps.
2457 Don't look at the text after regexp, just use the whitelist.
e636fafe 2458
e5b19827
AS
24592012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2460
2461 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2462 non-nil always load the compiled file if it exists. (Bug#12197)
2463
a9f6f311
CY
24642012-08-14 Chong Yidong <cyd@gnu.org>
2465
2466 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2467 (hi-lock-set-pattern): When deciding whether to use font lock or
2468 overlays, look at font-lock-mode instead of font-lock-fontified
2469 (Bug#12168).
2470 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2471 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2472
7d806b1e
DU
24732012-08-14 Daiki Ueno <ueno@unixuser.org>
2474
2475 * subr.el (internal--after-with-selected-window): Fix typo
2476 (Bug#12193).
2477
5beed586
FEG
24782012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2479
2480 Use `completion-table-dynamic' for completion functions.
2481 * progmodes/python.el
2482 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2483 (python-shell-completion--get-completions):
2484 Remove functions.
5beed586
FEG
2485 (python-shell-completion-complete-at-point): New function.
2486 (python-completion-complete-at-point): Use it.
2487
92cb3b04
J
24882012-08-13 Jambunathan K <kjambunathan@gmail.com>
2489
2490 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2491 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2492
89660017
SM
24932012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2494
3c98c962
SM
2495 * subr.el (function-get): Refine `autoload' arg so it can also
2496 autoload functions for gv.el (bug#12191).
2497 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2498 autoloads macros.
2499
aa7c6dbe
SM
2500 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2501 Prefer pcase-let over destructuring-bind.
2502 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2503 Also, remove whitespace as we go, rather than after accumulating the
2504 various places.
2505
89660017
SM
2506 * subr.el (internal--before-with-selected-window)
2507 (internal--after-with-selected-window): Fix typo seleted->selected.
2508 (with-selected-window): Adjust callers.
2509 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2510
31cd32c9
BG
25112012-08-13 Bastien Guerry <bzg@gnu.org>
2512
0fcd3d9f 2513 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2514 enhancement. (Bug#12172)
2515
1b15d8ad
AS
25162012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2517
31e54db0
AS
2518 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2519 type 1-6.
2520 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2521 extended headers.
2522
1b15d8ad
AS
2523 * files.el (hack-local-variables-filter): Remove useless eval.
2524
35cb9c06
MR
25252012-08-13 Martin Rudalics <rudalics@gmx.at>
2526
2527 * subr.el (with-selected-window): Fix last change.
2528
1439443b
SM
25292012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * subr.el (internal--before-with-seleted-window)
2532 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2533 (with-selected-window): Use them, to replace dependency on
2534 tty-top-frame.
1439443b 2535
0d9e2599
NN
25362012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2537
2538 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2539 binding for `newline'.
2540 (ruby-move-to-block): When moving backward, stop at block opening,
2541 not indentation.
2542 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2543 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2544 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2545 `ruby-toggle-block'.
2546
ba10c48c
SM
25472012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * ibuffer.el (ibuffer-do-toggle-read-only):
2550 * dired.el (dired-toggle-read-only):
2551 * buff-menu.el (Buffer-menu-toggle-read-only):
2552 * bindings.el (mode-line-toggle-read-only):
2553 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2554
9229c658
AS
25552012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2556
2557 * descr-text.el (describe-char): Put the overlays over the
2558 "displayed as" character.
2559
0fd09128
JB
25602012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2561
2562 * calc/calc-units.el (math-default-units-table): Give an
2563 initial value.
2564 (math-put-default-units): Add options to put composite units and
2565 unit systems in the default units table.
2566 (calc-convert-units): Send composite units to
2567 `math-put-default-units' when appropriate.
2568
9ff9402d 25692012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2570
fbb5e336
GM
2571 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2572
7aacaf15
GM
2573 * tutorial.el (help-with-tutorial):
2574 * emacs-lisp/copyright.el (copyright-update-directory):
2575 * emacs-lisp/autoload.el (autoload-find-generated-file)
2576 (autoload-find-file): Disable local eval: (for insurance).
2577
f40b9f10
GM
2578 * files.el (hack-local-variables-filter): If an eval: form is not
2579 known to be safe, and enable-local-variables is :safe, then ignore
2580 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2581 This is CVE-2012-3479.
f40b9f10 2582
daa9f1a6
SM
25832012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2584
2585 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2586 (rx-form): Simplify.
2587
9cd80478
DG
25882012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2589
0d9e2599
NN
2590 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2591 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2592 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2593 (ruby-syntax-propertize-function): Adjust for changes in
2594 `ruby-syntax-propertize-heredoc'.
2595
25962012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2597
9cd80478
DG
2598 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2599 binding (use `M-;' instead).
9cd80478 2600 (ruby-singleton-class-p): New function.
0d9e2599 2601 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2602
d301b413
SM
26032012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2604
2605 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2606
1530c98e
CY
26072012-08-10 Chong Yidong <cyd@gnu.org>
2608
2609 * progmodes/python.el (python-shell-get-process-name): Don't mess
2610 with same-window-buffer-names.
2611
2612 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2613 (eshell-remove-from-window-buffer-names): Make obsolete.
2614 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2615 (eshell): Just use pop-to-buffer-same-window instead.
2616
e1293765
CY
26172012-08-10 Chong Yidong <cyd@gnu.org>
2618
2619 * bindings.el: Bind M-= back to count-words-region.
2620
2621 * simple.el (count-words-region): Accept a prefix arg for acting
2622 on the entire buffer.
2623 (count-words--buffer-message): New helper function.
2624
e1894109
SM
26252012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2628 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2629 (event-start, event-end): Use posn-at-point to return a more
2630 informative posn.
2631 (posnp): New function.
2632 * mouse.el (popup-menu-normalize-position): Use it.
2633
c69f56a2
MY
26342012-08-10 Masatake YAMATO <yamato@redhat.com>
2635
2636 * mouse.el (popup-menu-normalize-position): New function.
2637 (popup-menu): Use `popup-menu-normalize-position' to normalize
2638 the form for POSITION argument.
2639
2640 * term/x-win.el (x-menu-bar-open):
2641 Use the value returend from (posn-at-point) as position
2642 passed to `popup-menu'.
2643
31673780
JB
26442012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2645
2646 * calc/calccomp.el (math-compose-expr): Add extra argument
2647 indicating that parentheses should be put around products in
2648 denominators. Give multiplication precedence over division during
2649 composition.
2650
dab7711b
CY
26512012-08-09 Chong Yidong <cyd@gnu.org>
2652
dee4ef93
CY
2653 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2654 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2655 (Man-untabify-command, manual-program): Convert to defcustom
2656 (Bug#10429).
2657
73e2bbc5
CY
2658 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2659
3e861c8a
CY
2660 * descr-text.el (describe-char): Don't insert extra newlines
2661 (Bug#10127).
2662
a9f5a649
CY
2663 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2664 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2665
dab7711b
CY
2666 * align.el (align-region): Delete temporary markers (Bug#10047).
2667 Plus some code cleanups.
2668
e0cc4efa
FEG
26692012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2670
2671 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2672 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2673 (python-shell-internal-last-output): Use make-local-variable
2674 instead of make-variable-buffer-local.
2675
489af14f
FEG
26762012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2677
2678 * progmodes/python.el: Enhancements to forward-sexp.
2679 (python-nav-forward-sexp): Rename from
2680 python-nav-forward-sexp-function.
c69f56a2
MY
2681 (python-nav--forward-sexp, python-nav--backward-sexp):
2682 New functions.
489af14f 2683
0fc50303
JB
26842012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2685
2686 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2687 modes and simplification modes.
2688
5d65606a
SM
26892012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * delsel.el (delete-selection-pre-hook): Don't propagate the
2692 file-supersession signals (bug#12161).
2693
4250fdf5
SM
26942012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2697 (cl-map-extents): Add compatibility aliases (bug#12135).
2698
d9f9b465
MA
26992012-08-08 Michael Albinus <michael.albinus@gmx.de>
2700
2701 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2702 tests by `ignore-error'.
2703 (tramp-find-shell): Open also a new shell, when cache is already
2704 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2705
ce0fcefa
JL
27062012-08-08 Juri Linkov <juri@jurta.org>
2707
2708 * bookmark.el: Add `defaults' property to the bookmark record.
2709 (bookmark-current-buffer): Doc fix.
2710 (bookmark-make-record): Add `defaults' property with default values
2711 to the bookmark record.
2712 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2713 with `bookmark-insert-current-bookmark'.
2714 (bookmark-set): Get `defaults' property from the bookmark record
2715 and use it in `read-from-minibuffer'.
2716 (bookmark-insert-current-bookmark): Remove function.
2717
2718 * info.el (Info-bookmark-make-record): Add `defaults' property
2719 with values of canonical Info node name, the current Info file
2720 name and the current Info node name. (Bug#12107)
2721
53fa8652
JL
27222012-08-08 Juri Linkov <juri@jurta.org>
2723
2724 * files.el (basic-save-buffer): Use `buffer-name' as the default
2725 of `read-file-name' when buffer is not visiting a file (bug#12128).
2726
242c0a95
JL
27272012-08-08 Juri Linkov <juri@jurta.org>
2728
2729 * info.el (Info-isearch-search): Doc fix.
2730 (Info-search): Change search-failed message from "initial node" to
2731 "end of node" (bug#12078).
2732 (Info-isearch-search): Change `isearch-string-state' to
2733 `isearch--state-string'.
2734
32ac3a6b
GM
27352012-08-08 Glenn Morris <rgm@gnu.org>
2736
2737 * language/persian.el: Remove file.
f8c1afd5 2738 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2739 * loadup.el: Remove language/persian.
2740
2c2d9c9c
OF
27412012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2742
2743 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2744
2d79ec42
FEG
27452012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2746
2747 * progmodes/python.el Fixed defsubst warning.
2748 (python-syntax-context) Rename from python-info-ppss-context.
2749 (python-syntax-context-type): Rename from
2750 python-info-ppss-context-type.
2751 (python-syntax-comment-or-string-p): Rename from
2752 python-info-ppss-comment-or-string-p.
2753
2bd255dd
JB
27542012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2755
2756 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2757
c395097f
AS
27582012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2759
6125983e
AS
2760 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2761 a defcustom that is quoted with backquote.
2762
4250fdf5
SM
2763 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2764 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2765 (math-do-arg-check, math-define-function-body): Use backquote forms.
2766 * calc/calc-ext.el (math-defcache): Likewise.
2767 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2768 * allout.el (allout-new-exposure): Likewise.
2769 * calc/calcalg2.el (math-tracing-integral): Likewise.
2770 * info.el (Info-last-menu-item): Likewise.
2771 * emulation/vip.el (vip-loop): Likewise.
2772 * textmodes/artist.el (artist-funcall): Likewise.
2773 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2774 Construct menu-item directly.
2775
4250fdf5
SM
2776 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2777 Don't declare.
c395097f 2778
5fb50dd3
CY
27792012-08-07 Chong Yidong <cyd@gnu.org>
2780
2781 * simple.el (deactivate-mark): Preserve text properties when
2782 saving the primary selection (Bug#8384).
2783
54eea618
KR
27842012-08-07 Kevin Ryde <user42@zip.com.au>
2785
2786 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2787 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2788 and continue processing (Bug#12110).
2789
638eaeb9
SM
27902012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2793 syntax-propertize-function (bug#10095).
2794
ea376861
SM
27952012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2796
f91b35be
SM
2797 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2798 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2799 describe-function-1.
2800 (describe-function-1): Use them. Move compiler macro after sig.
2801 (help-fns--compiler-macro): Use function-get. Assume we're already in
2802 standard-output. Adjust layout to new call order.
2803
ea376861
SM
2804 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2805 re-binding a symbol that has a symbol-macro (bug#12119).
2806
d5be7bd0
MB
28072012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2808
2809 * language/persian.el: New file. (Bug#11812)
2810 * loadup.el: Add language/persian.el.
2811
90749b53
CY
28122012-08-06 Chong Yidong <cyd@gnu.org>
2813
2814 * window.el (window--maybe-raise-frame): New function.
2815 (window--display-buffer): Split off from here.
2816 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2817 (display-buffer-pop-up-window, display-buffer-use-some-window):
2818 Obey an inhibit-switch-frame action alist entry.
2819 (display-buffer): Update doc.
2820
2821 * replace.el (occur-after-change-function): Avoid losing focus by
2822 using the inhibit-switch-frame display parameter (Bug#12139).
2823
ba7b0154
FEG
28242012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2825
2826 Make internal shell process buffer names start with space.
2827 * progmodes/python.el (python-shell-make-comint): Add optional
2828 argument INTERNAL.
2829 (run-python-internal): Use it.
2830 (python-shell-internal-get-or-create-process): Check for new
2831 internal buffer names.
2832
5eaeacb5
GM
28332012-08-06 Glenn Morris <rgm@gnu.org>
2834
e296d94b 2835 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2836 Do less getting and setting of environment variables.
2837
b7ccbdc2
CY
28382012-08-05 Chong Yidong <cyd@gnu.org>
2839
777fe95e
CY
2840 * proced.el (proced): Add substitution string to docstring to
2841 trigger autoloading of the proced library on C-h f (Bug#1768).
2842
4250fdf5
SM
2843 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2844 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2845
2846 * imenu.el (imenu-generic-expression): Move documentation here
2847 from imenu--generic-function.
2848 (imenu--generic-function): Refer to imenu-generic-expression.
2849
9e3b7800 28502012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
2851
2852 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2853 indentation declaration.
2854 (viper-loop): Add indentation declaration (Bug#7025).
2855
e5d9c0d1
CY
28562012-08-05 Chong Yidong <cyd@gnu.org>
2857
f0422feb
CY
2858 * help-fns.el (describe-variable): Add hyperlink for
2859 directory-local variables files. Improve buffer-local and
2860 permanent-local reporting; suggested by MON KEY (Bug#6644).
2861
2862 * help-mode.el (help-dir-local-var-def): New button type.
2863
e5d9c0d1
CY
2864 * files.el (kill-buffer-hook): Provide a defvar.
2865
a4f2deaa
GM
28662012-08-05 Glenn Morris <rgm@gnu.org>
2867
2868 * eshell/esh-ext.el (eshell/addpath):
2869 Also update eshell-path-env. (Bug#12013)
2870
a9dd5754
CY
28712012-08-05 Chong Yidong <cyd@gnu.org>
2872
a4f2deaa 2873 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2874
d014c740
CY
2875 * fringe.el (fringe-styles): Add docstring.
2876 (fringe--check-mode): New function.
2877 (set-fringe-mode, set-fringe-style): Use it.
2878 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2879
a9dd5754
CY
2880 * files.el (set-auto-mode): Fix invalid setq call.
2881
7c2dc8bd
SM
28822012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * isearch.el: Misc simplification; use defstruct.
2885 (isearch-mode-map): Dense maps now work like sparse ones.
2886 (isearch--state): New defstruct.
2887 (isearch-string-state, isearch-message-state, isearch-point-state)
2888 (isearch-success-state, isearch-forward-state)
2889 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2890 (isearch-wrapped-state, isearch-barrier-state)
2891 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2892 replaced by defstruct's accessors.
2893 (isearch--set-state): Rename from isearch-top-state and change
2894 calling convention.
2895 (isearch-push-state): Use new isearch--get-state.
2896 (isearch-toggle-word): Disable regexp when enabling word.
2897 (isearch-message-prefix): Remove unused arg _c-q-hack.
2898 (isearch-message-suffix): Remove unused arg _ellipsis.
2899
7fcc0070
AS
29002012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2901
2902 * simple.el (list-processes--refresh): For a server use :host or
2903 :local as the address.
97ad0769 2904 (list-processes): Doc fix.
7fcc0070 2905
00340faf
MN
29062012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2907
2908 * lisp/mpc.el: Support password in host argument.
2909 (mpc--proc-connect): Parse and use new password element.
2910 Set mpc-proc variable instead of returning process.
2911 (mpc-proc): Adjust accordingly.
2912
6dad7178
EZ
29132012-08-03 Eli Zaretskii <eliz@gnu.org>
2914
18949c2f
EZ
2915 * whitespace.el (whitespace-display-mappings): Use Unicode
2916 codepoints, instead of emacs-mule codepoints. See
2917 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2918 for the details.
2919
6dad7178
EZ
2920 * files.el (file-truename): Don't skip symlink-chasing part on
2921 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2922 Windows into the loop that recursively chases symlinks.
2923 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2924 MS-DOS.
2925
385b0198
CY
29262012-08-03 Chong Yidong <cyd@gnu.org>
2927
6200f3c4
CY
2928 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2929
385b0198
CY
2930 * sort.el (sort-regexp-fields): Doc fix.
2931
b9e74744
TH
29322012-08-03 Tassilo Horn <tsdh@gnu.org>
2933
2934 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2935 labels regex position point at the expected place.
2936
41013cb4
MK
29372012-08-03 MON KEY <monkey@sandpframing.com>
2938
2939 * net/imap.el (imap-interactive-login, imap-authenticate)
2940 (imap-mailbox-lsub, imap-mailbox-list)
2941 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2942 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2943 (imap-parse-response): Doc fix.
2944
0ffee616
JT
29452012-08-03 João Távora <joaotavora@gmail.com>
2946
2947 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2948 if sexp scanning does not move point (Bug#5734).
2949
cfcc9cc8
TH
29502012-08-02 Tassilo Horn <tsdh@gnu.org>
2951
2952 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2953 Add listings, minted, and ctable packages.
2954 (reftex-label-alist-builtin): Move listings, minted, and ctable
2955 entries before LaTeX.
a01bbb84 2956 (reftex-label-alist): Docfix.
cfcc9cc8 2957
66ec2442
BG
29582012-08-02 Bastien Guerry <bzg@gnu.org>
2959
2960 * replace.el (occur): Fix docstring (bug#12122).
2961
837b365b
GM
29622012-08-02 Glenn Morris <rgm@gnu.org>
2963
2964 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2965
e098de97
PE
29662012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2967
2968 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2969 * international/mule-cmds.el: Create
2970 inactivate-current-input-method-function as an obsolete alias for
2971 deactivate-current-input-method-function. See Katsumi Yamaoka in
2972 <http://bugs.gnu.org/10150#46>.
2973
a0f95636
JB
29742012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2975
2976 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2977 of nested `if's.
2978
0d26d7c4
GM
29792012-08-01 Glenn Morris <rgm@gnu.org>
2980
2981 * progmodes/autoconf.el (autoconf-definition-regexp):
2982 Add AH_TEMPLATE, adjust submatch numbering.
2983 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2984 (autoconf-current-defun-function): Update for above change.
2985 (autoconf-current-defun-function): First skip to end of current word.
2986
b686ba06
RS
29872012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2988
2989 * calendar/cal-html.el (cal-html-insert-agenda-days):
2990 Fix typo. (Bug#12018)
2991
0d49da68
FEG
29922012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2993
2994 Shell processes: enhancements to startup and CEDET compatibility.
2995 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2996 (python-shell-make-comint): accept-process-output at startup.
2997 (run-python-internal): Set inferior-python-mode-hook to nil.
2998 (python-shell-internal-get-or-create-process): call sit-for.
2999 (python-preoutput-result): Add obsolete alias.
3000 (python-shell-internal-send-string): Use it.
3001 (python-shell-send-setup-code): Remove call to
3002 accept-process-output.
3003
f1a71c6e
AS
30042012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3005
3006 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3007 (Bug#12108)
3008
d2605269
JB
30092012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3010
3011 * calc-mode.el (calc-basic-simplification-mode): Rename from
3012 `calc-limited-simplification-mode'.
3013 (calc-alg-simplification-mode): New function.
d66060f8 3014 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3015
d2605269
JB
3016 * calc.el (calc-set-mode-line): Adjust mode line display for
3017 basic simplification mode.
3018
3019 * calc-help.el (calc-m-prefix-help): Update help message.
3020
3021 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3022 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3023
a3827a43
BG
30242012-07-31 Bastien Guerry <bzg@gnu.org>
3025
3026 * man.el (man): Fix comment. (bug#12101)
3027
502e3f89
MR
30282012-07-31 Martin Rudalics <rudalics@gmx.at>
3029
3030 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3031 Don't return a non-nil value when no suitable buffer was found.
3032
d7714961
FEG
30332012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3034
3035 * progmodes/python.el (run-python-internal): Disable font lock for
3036 internal shells.
3037
1f45e27e
SM
30382012-07-30 Stefan Merten <smerten@oekonux.de>
3039
3040 * rst.el: Silence `checkdoc-ispell'.
3041 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3042 (rst-official-version, rst-official-cvs-rev)
3043 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3044 (rst-mode-map): New key binding.
3045
0aee6912
PE
30462012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3047
3048 Update .PHONY listings in makefiles.
3049 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3050 autoloads, update-subdirs, updates, bzr-update, update-authors,
3051 compile-onefile, compile-calc, backup-compiled-files,
3052 compile-after-backup, compile-one-process, mh-autoloads,
3053 bootstrap-clean, distclean, maintainer-clean.
3054
9052f9f0
JB
30552012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3056
1823ac5a
JB
3057 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3058 (calc-set-mode-line): Don't display "AlgSimp ".
3059
3060 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3061 (calc-lim-simplify-mode): New function.
3062 (calc-set-simplify-mode): Default to 'alg.
3063 (calc-default-simplify-mode): Make algebraic simplifications
3064 the default.
3065
3066 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3067 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3068
8d7c7eed 3069 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3070 indicate new simplification modes.
3071
1823ac5a
JB
3072 * calc/README: Mention new default simplification mode.
3073
9052f9f0
JB
3074 * calc/calc.el (math-normalize-error): New variable.
3075 (math-normalize): Set `math-normalize-error' to t
3076 when there's an error.
3077
3078 * calc/calc-alg.el (math-simplify): Don't simplify when
3079 `math-normalize' returns an error.
3080
20ba0cb4
EZ
30812012-07-29 Eli Zaretskii <eliz@gnu.org>
3082
3083 * international/mule-cmds.el (set-locale-environment): Revert last
3084 change, since display-graphic-p returns nil when this function is
3085 called during startup. Instead...
3086
3087 * term/w32console.el (terminal-init-w32console): ...setup the
3088 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3089
a5dcc929
JL
30902012-07-29 Juri Linkov <juri@jurta.org>
3091
3092 * simple.el (goto-line): Don't display default line number in the
3093 prompt because it should be displayed by `read-number' (bug#9952).
3094 Add the current line number to the defaults of `goto-line' to
3095 allow its easier modification by users with `M-n' (bug#9201).
3096
3097 * subr.el (read-number): Support multiple default values like in
3098 other minibuffer reading functions. Replace `read' with
3099 `string-to-number' for consistency with `number-to-string'.
3100
72b255c7
PE
31012012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3102
3103 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3104 * emulation/viper-init.el (viper-deactivate-input-method-action):
3105 Rename from viper-inactivate-input-method-action.
3106 (viper-deactivate-input-method):
3107 Rename from viper-inactivate-input-method.
3108 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3109 * international/mule-cmds.el (deactivate-input-method):
3110 Rename from inactivate-input-method.
3111 Also run input-method-deactivate-hook.
3112 (deactivate-current-input-method-function):
3113 Rename from inactivate-current-input-method-function.
3114 (input-method-deactivate-hook): New hook.
3115 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3116 (inactivate-input-method): Mark obsolete.
3117
72b255c7
PE
3118 * international/quail.el (quail-activate):
3119 Also run quail-deactivate-hook.
3120 (quail-deactivate): Rename from quail-inactivate.
3121 * international/robin.el (robin-activate):
3122 Also run robin-deactivate-hook.
3123 (robin-deactivate): Rename from robin-inactivate.
3124
2549c068
CY
31252012-07-29 Chong Yidong <cyd@gnu.org>
3126
3127 * simple.el (indicate-copied-region): New function.
3128 (kill-ring-save): Split off from here.
3129
3130 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3131 (kill-rectangle): Set deactivate-mark to t on read-only error.
3132
3133 * register.el (copy-to-register, copy-rectangle-to-register):
3134 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
3135 (append-to-register, prepend-to-register):
3136 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3137
3138 * simple.el (async-shell-command-buffer): New defcustom.
3139 (shell-command): Use it. (Bug#4719)
3140
01bd1b0d
EZ
31412012-07-28 Eli Zaretskii <eliz@gnu.org>
3142
3143 * international/mule-cmds.el (set-locale-environment): In a
3144 console session on MS-Windows, set up keyboard and terminal
3145 encoding from the OEM codepage, not the ANSI codepage.
3146 (Bug#12055)
3147
a55739d3
CY
31482012-07-28 Chong Yidong <cyd@gnu.org>
3149
3150 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3151 gdb-get-location.
3152
0e1a094f 31532012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3154
3155 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3156 the alist (bug#12029).
3157
20329d73
EZ
31582012-07-28 Eli Zaretskii <eliz@gnu.org>
3159
3160 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3161 (compile-always, compile-first)
3162 ($(lisp)/calendar/cal-loaddefs.el)
3163 ($(lisp)/calendar/diary-loaddefs.el)
3164 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3165 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3166 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3167 instead of on update-subdirs.
3168 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3169
345a2258
CY
31702012-07-28 Chong Yidong <cyd@gnu.org>
3171
1eee6341
CY
3172 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3173 directory if vc-deduce-backend returns nil (Bug#7350).
3174
345a2258
CY
3175 * simple.el (delete-trailing-lines): New option.
3176 (delete-trailing-whitespace): Obey it (Bug#11879).
3177
049a0936
DE
31782012-07-28 David Engster <deng@randomsample.de>
3179
3180 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3181 Explanation of new 'symbol-qnames feature in doc-strings.
3182 (xml-maybe-do-ns): Return expanded names as plain symbols if
3183 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3184 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3185
aa81af71
FEG
31862012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3187
3188 Consistent completion in inferior python with emacs -nw.
3189 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3190 binding in inferior-python-mode-map with "\t".
3191 (python-shell-completion-complete-at-point)
3192 (python-completion-complete-at-point): Remove interactive spec.
3193
e827b1eb
JB
31942012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3195
3196 * calc/calccomp.el (math-compose-expr): Undo previous change.
3197
a90dfb95
FEG
31982012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3199
4250fdf5 3200 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3201 run-python.
3202 (python-shell-make-comint): Fix pop-to-buffer call.
3203 (run-python): Autoload. New arg SHOW.
3204 (python-shell-get-or-create-process): Do not pop python process
3205 buffer.
3206
32770973 32072012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3208
3209 * notifications.el (notifications-on-action-signal)
3210 (notifications-on-closed-signal): Use also the bus address for the map.
3211 (notifications-notify, notifications-close-notification)
3212 (notifications-get-capabilities): Add optional argument BUS.
3213
86332df2
TH
32142012-07-27 Tassilo Horn <tsdh@gnu.org>
3215
4250fdf5
SM
3216 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3217 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3218 ctable macro.
3219 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3220 labels written in keyvals syntax.
3221
ca1302a4
JB
32222012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3223
3224 * calc/calccomp.el (math-compose-expr): Use parentheses when
3225 there is a product in the denominator of a fraction.
3226
f8b91036
EZ
32272012-07-26 Eli Zaretskii <eliz@gnu.org>
3228
3229 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3230 ($(lisp)/calendar/diary-loaddefs.el)
3231 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3232 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3233 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3234 rewritten while the autoload files are built at the same time,
3235 which needs to load subdirs.el.
3236
c8e5a42c
MR
32372012-07-26 Martin Rudalics <rudalics@gmx.at>
3238
3239 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3240 (mouse-drag-line): Don't exit tracking when a switch-frame or
3241 switch-window event occurs (Bug#12006).
3242
670d85ea
SM
32432012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * mouse.el (popup-menu): Fix last change.
3246
7abaf5cc
SM
32472012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 Autoload from Lisp with more care. Follow aliases when looking for
3250 function properties.
3251 * subr.el (autoloadp): New function.
3252 (symbol-file): Use it.
3253 (function-get): New function.
3254 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3255 autoload-do-load.
3256 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3257 (lisp-indent-function):
3258 * emacs-lisp/gv.el (gv-get):
3259 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3260 * emacs-lisp/byte-opt.el (byte-optimize-form):
3261 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3262 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3263 Use function-get.
3264 * emacs-lisp/cl.el: Don't propagate function properties any more.
3265
3266 * speedbar.el (speedbar-add-localized-speedbar-support):
3267 * emacs-lisp/disass.el (disassemble-internal):
3268 * desktop.el (desktop-load-file):
3269 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3270 (describe-function-1):
3271 * emacs-lisp/find-func.el (find-function-noselect):
3272 * emacs-lisp/elp.el (elp-instrument-function):
3273 * emacs-lisp/advice.el (ad-has-proper-definition):
3274 * apropos.el (apropos-safe-documentation, apropos-macrop):
3275 * emacs-lisp/debug.el (debug-on-entry):
3276 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3277 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3278 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3279
b1364986
AA
32802012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3281
3282 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3283 function, not an obsolete variable (Bug#12046).
3284
67ada220
AS
32852012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3286
3287 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3288
f08088e3
CS
32892012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3290
3291 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3292 window only if it is still live (Bug#12034).
3293
8137e7b3
MR
32942012-07-25 Martin Rudalics <rudalics@gmx.at>
3295
3296 * subr.el (redirect-frame-focus): Add advertised calling
3297 convention (Bug#12030).
3298
09ae5da1
PE
32992012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3300
3301 Prefer typical American spelling for "acknowledgment".
3302 * vc/add-log.el (change-log-acknowledgment): Rename from
3303 change-log-acknowledgement, with an alias for the old name.
3304
3cc5a3a8
JB
33052012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3306
3307 * calc-alg.el (math-simplify-divide): Don't cross multiply
3308 in an equation when the lhs is a variable.
3309
b7af7f62
JD
33102012-07-24 Julien Danjou <julien@danjou.info>
3311
3312 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3313 Remove, unused.
3314
ec1b09b1
EZ
33152012-07-23 Eli Zaretskii <eliz@gnu.org>
3316
3317 * startup.el (command-line): Don't display an empty user name in
3318 the error message about non-existent home directory, when
3319 init-file-user was set to an empty string. See
3320 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3321 for the details and context.
3322
b525fd8a
VB
33232012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3324
3325 * ses.el (ses-cell-formula-aset): New macro.
3326 (ses-cell-references-aset): New macro.
3327 (ses-cell-p): New function.
3328 (ses-rename-cell): Do no longer rely on complex operations like
3329 ses-cell-set-formula or ses-set-cell to change the cell and handle
3330 the undo at the same time, but rather use lower level new macros
3331 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3332 the undo directly. Refresh the mode line.
3333
2c73e345
LL
33342012-07-21 Leo Liu <sdl.web@gmail.com>
3335
670d85ea
SM
3336 * progmodes/cc-cmds.el (c-defun-name):
3337 Use match-string-no-properties instead for consistency.
2c73e345 3338
542dfbde
LL
33392012-07-20 Leo Liu <sdl.web@gmail.com>
3340
3646bcd6
LL
3341 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3342 (Bug#7879)
3343
542dfbde
LL
3344 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3345
25721031
CY
33462012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3349 * progmodes/bug-reference.el, misearch.el: Provide themselves
3350 (bug#11915).
3351
3352 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3353 of narrowed buffer (bug#11966).
3354
316e68a7
VB
33552012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3356
3357 * ses.el (ses-rename-cell): Set new name also in reference list of
3358 cells of which the renamed cell depends.
3359
bbf0e7d9
MY
33602012-07-20 Masatake YAMATO <yamato@redhat.com>
3361
3362 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3363 to check whether menu-bar is shown or not. If not shown,
3364 show the menu-bar as a popup menu instead of using tmm.
3365 * mouse.el (popup-menu): Accept `point' as `position' argument.
3366
c28662a8
DG
33672012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3368
3369 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3370 up inside string symbol literal (bug#11923).
3371
87ab808f
EZ
33722012-07-20 Eli Zaretskii <eliz@gnu.org>
3373
3374 * startup.el (fancy-startup-text): Read the whole tutorial, not
3375 just its first 256 bytes. Prevents gibberish in display of the
3376 tutorial title.
3377
89dea803
DA
33782012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3379
3380 Drop idle buffer compaction due to an absence of the
3381 proved efficiency.
3382 * compact.el: Remove.
3383
8a4e6db8
SS
33842012-07-19 Sam Steingold <sds@gnu.org>
3385
3386 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3387 vc-bzr-pull & vc-bzr-merge-branch.
3388 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3389 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3390 for consistency with compilation-error-regexp-alist.
3391 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3392 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3393 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3394 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3395
5db81e33
SM
33962012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * emacs-lisp/chart.el: Use lexical-binding.
3399 (chart-emacs-storage): Don't hardcode the list of entries.
3400
5b835e1d
DA
34012012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3402
3403 Next round of tweaks caused by Fgarbage_collect changes.
3404 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3405
9cd47b72
DA
34062012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3407
3408 Compact buffers when idle.
3409 * compact.el: New file.
3410
1d6fc0df
SM
34112012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3412
3413 * subr.el (eventp): Presume that if it looks vaguely like an event,
3414 it's an event (bug#10190).
3415
1d29cc7d
FEG
34162012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3417
3418 Enhancements to ppss related code (thanks Stefan).
3419 * progmodes/python.el (python-indent-context)
3420 (python-indent-calculate-indentation, python-indent-dedent-line)
3421 (python-indent-electric-colon, python-nav-forward-block)
3422 (python-mode-abbrev-table)
1d6fc0df 3423 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3424 for ppss context.
3425 (python-info-continuation-line-p): Cleanup.
3426 (python-info-ppss-context): Do not catch 'quote.
3427 (python-info-ppss-context-type)
3428 (python-info-ppss-comment-or-string-p): Simplify.
3429
d583cbe6
FEG
34302012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3431
3432 * progmodes/python.el: Enhancements to eldoc support.
3433 (python-info-current-symbol): New function.
3434 (python-eldoc-at-point): Use python-info-current-symbol.
3435 (python-info-current-defun): Fix cornercase on first defun scan.
3436 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3437 and signal error when no inferior python process is available.
3438
eceb6feb
DG
34392012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3440
3441 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3442 assume it's always t.
3443 (vc-git-registered): Remove caching, the function is only called
3444 once.
3445 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3446
4c8ff0fe
CY
34472012-07-18 Chong Yidong <cyd@gnu.org>
3448
19fb7186
CY
3449 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3450
9587c688
CY
3451 * simple.el (count-words): Report on narrowing (Bug#9959).
3452
0fe776a1
CY
3453 * bindings.el: Bind M-= to count-words.
3454
4c8ff0fe
CY
3455 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3456
7f5331cc
MY
34572012-07-18 Masatake YAMATO <yamato@redhat.com>
3458
3459 * progmodes/sh-script.el (sh-imenu-generic-expression):
3460 Capture a function with `function' keyword and without parentheses
3461 like "function FOO" (bug#11856).
3462
2dc2a609
TH
34632012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3464
3465 * window.el (split-window-sensibly): Make WINDOW argument
3466 optional.
3467
439f7677
CY
34682012-07-18 Chong Yidong <cyd@gnu.org>
3469
9aeb25a6
CY
3470 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3471
439f7677
CY
3472 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3473 and make C-x 8 RET exit isearch (Bug#11439).
3474
3475 * international/iso-transl.el: Move isearch-mode-map key
3476 definitions to isearch.el.
3477
12999ea8
SM
34782012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3481 (eieio-defclass): Use gv-define-setter when possible.
3482
3ab6e069
DA
34832012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3484
3485 Reflect recent changes in Fgarbage_collect.
3486 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3487 reflect new format of data returned by Fgarbage_collect.
3488
0a60bc10
FEG
34892012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3490
3491 New utility functions + python-info-ppss-context fix (Bug#11910).
3492 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3493 (python-info-ppss-comment-or-string-p): New functions.
3494 (python-info-ppss-context): Small fix for string check.
3495
6dafa0d5
JL
34962012-07-17 Juri Linkov <juri@jurta.org>
3497
3498 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3499 (dired-do-async-shell-command): Don't add `*' at the end of the
3500 command (Bug#11815).
3501 (dired-do-shell-command): Doc fix.
3502 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3503 Join the individual commands using either "&" or ";" as the
3504 separator depending on the values of these trailing characters.
3505 At the end re-add the trailing "&". (Bug#10598)
3506
3507 * simple.el (async-shell-command): Sync the interactive spec with
3508 `shell-command'. Doc fix.
3509 (shell-command): Doc fix.
3510
b19dd9d1
JL
35112012-07-17 Juri Linkov <juri@jurta.org>
3512
3513 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3514
bcdc27d7 35152012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3516
bcdc27d7 3517 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3518 * progmodes/python.el (python-nav-beginning-of-statement):
3519 Rename from python-nav-statement-start.
bcdc27d7
FEG
3520 (python-nav-end-of-statement): Rename from
3521 python-nav-statement-end.
3522 (python-nav-beginning-of-block): Rename from
3523 python-nav-block-start.
3524 (python-nav-end-of-block): Rename from python-nav-block-end.
3525
191da00e
FEG
35262012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3527
7f5331cc
MY
3528 * progmodes/python.el (python-shell-send-string-no-output):
3529 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3530 future interactions (Bug#11868).
3531
4dc7c8d5 35322012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3533
88ecaf8f
SM
3534 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3535
ef501ef0
SM
3536 * emacs-lisp/elint.el (elint-find-args-in-code):
3537 Use help-function-arglist, so as to handle lexical byte-code.
3538
aa7aaf8f
SM
3539 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3540 change (bug#11826).
3541
45fd731c
SM
35422012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3543
2143fa32
SM
3544 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3545 Avoid spuriously marking the buffer as modified because of c-is-sws.
3546
efc26dbe
SM
3547 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3548 as not-a-comment (bug#11946).
3549
f5695c9a
SM
3550 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3551 for uninterned vars.
3552
3553 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3554 Use read-event since we don't really want to read chars but bytes.
3555
45fd731c
SM
3556 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3557 $$..$$ but also $..$ using regexps (bug#11953).
3558 Use tex-verbatim for \url and \path.
3559 (tex-font-lock-keywords): Define as defconst like the others.
3560 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3561
ddfc8813
RK
35622012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3563
3564 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3565 alias for insert-char.
3566
758e556a
FEG
35672012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3568
3569 * progmodes/python.el: Simplified imenu implementation.
3570 (python-nav-jump-to-defun): Remove command.
3571 (python-mode-map): Use `imenu' instead.
3572 (python-nav-list-defun-positions-cache)
3573 (python-imenu-include-defun-type, python-imenu-make-tree)
3574 (python-imenu-subtree-root-label, python-imenu-index-alist):
3575 Remove vars.
3576 (python-nav-list-defun-positions, python-nav-read-defun)
3577 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3578 (python-imenu-make-tree, python-imenu-create-index):
3579 Remove functions.
758e556a
FEG
3580 (python-mode): Update to interact with imenu by setting
3581 `imenu-extract-index-name-function' only.
3582
032d23ab
FEG
35832012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3584
3585 * progmodes/python.el: Enhancements to navigation commands.
3586 (python-nav-backward-sentence)
3587 (python-nav-forward-sentence): Remove.
3588 (python-nav-backward-statement, python-nav-forward-statement)
3589 (python-nav-statement-start, python-nav-statement-end)
3590 (python-nav-backward-block, python-nav-forward-block)
3591 (python-nav-block-start, python-nav-block-end)
3592 (python-nav-forward-sexp-function)
3593 (python-info-current-line-comment-p)
3594 (python-info-current-line-empty-p): New functions.
3595 (python-indent-context): Use `python-nav-statement-start'.
3596
01795a1b
MA
35972012-07-16 Michael Albinus <michael.albinus@gmx.de>
3598
9328d9aa
MA
3599 * eshell/em-ls.el (eshell/ls): Use `apply'.
3600
3601 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3602 multi-hops, instead of Tramp internals.
3603
01795a1b
MA
3604 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3605
3606 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3607 when F1 and F2 are located on different hosts.
3608
63408057
CY
36092012-07-14 Chong Yidong <cyd@gnu.org>
3610
3611 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3612 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3613 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3614 (xterm-mouse--read-event-sequence-1000)
3615 (xterm-mouse--read-event-sequence-1006): New functions. For old
3616 mouse protocol, handle M-mouse-X events correctly.
3617 (xterm-mouse-event): New arg specifying mouse protocol.
3618 (turn-on-xterm-mouse-tracking-on-terminal)
3619 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3620 sequence to toggle extended coordinates on newer XTerms.
3621 This appears to be harmless on terminals which do not support this.
63408057 3622
cd276f6e
LL
36232012-07-14 Leo Liu <sdl.web@gmail.com>
3624
28ca98ac
LL
3625 Add fringe bitmap indicators for flymake. (Bug#11253)
3626 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3627 (flymake-make-overlay): New arg BITMAP.
3628 (flymake-error-bitmap, flymake-warning-bitmap)
3629 (flymake-fringe-indicator-position): New user variables.
3630
cd276f6e
LL
3631 * fringe.el: New bitmap exclamation-mark.
3632
04408072
JD
36332012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3634
3635 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3636 also (Bug#7879).
3637
b5cf7fc4
CY
36382012-07-14 Chong Yidong <cyd@gnu.org>
3639
3640 * electric.el (electric-pair-post-self-insert-function): Fix pair
3641 insertion in empty-region case (Bug#11520).
3642
be755c79
RT
36432012-07-14 Chong Yidong <cyd@gnu.org>
3644
45fd731c
SM
3645 * bindings.el: Consolidate ctl-x-r-map bindings.
3646 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3647
3648 * rect.el, register.el: Move bindings to bindings.el.
3649
36502012-07-14 Reuben Thomas <rrt@sc3d.org>
3651
3652 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3653
7f5b3198
AS
36542012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3655
3656 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3657
97662200
JB
36582012-07-13 Juanma Barranquero <lekktu@gmail.com>
3659
80185fed
JB
3660 * bindings.el (top): Use `mapc' instead of `mapcar'.
3661
97662200
JB
3662 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3663
2bb1ae55
MA
36642012-07-13 Michael Albinus <michael.albinus@gmx.de>
3665
3666 * progmodes/sql.el (sql-comint): Suppress the check for program on
3667 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3668 (Bug#11908)
3669
dea31bd3
CY
36702012-07-13 Chong Yidong <cyd@gnu.org>
3671
3672 * bindings.el: Assign a non-nil permanent-local property to
3673 per-buffer variables which lack a default value (Bug#11930).
3674
3675 * help-fns.el (describe-variable): In the "automatically becomes
3676 local" notice, take note of permanent-local variables.
3677
b68b3337
CY
36782012-07-13 Chong Yidong <cyd@gnu.org>
3679
3680 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3681 to allow printing the message when called from Lisp.
3682
3683 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3684 Remove toggle-read-only.
3685
3686 * bs.el (bs-toggle-readonly):
45fd731c
SM
3687 * buff-menu.el (Buffer-menu-toggle-read-only):
3688 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3689
3690 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3691 Remove with-no-warnings around toggle-read-only.
3692 (ffap-read-only, ffap-read-only-other-window)
3693 (ffap-read-only-other-frame): Callers changed.
3694
3695 * help-mode.el: Don't require view package.
3696 (help-mode-finish): Set buffer-read-only instead of calling
3697 toggle-read-only.
3698
3699 * bindings.el (mode-line-toggle-read-only):
3700 * dired.el (dired-toggle-read-only):
3701 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3702 with non-nil second arg.
3703
3704 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3705 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3706 directly.
3707
56bc1586
EZ
37082012-07-12 Eli Zaretskii <eliz@gnu.org>
3709
3710 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3711 not incf.
3712
a464a6c7
SM
37132012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 More CL cleanups and reduction of use of cl.el.
3716 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3717 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3718 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3719 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3720 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3721 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3722 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3723 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3724 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3725 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3726 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3727 * eshell/em-cmpl.el, eshell/em-banner.el:
3728 * calendar/parse-time.el: Use cl-lib.
3729 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3730 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3731 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3732 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3733 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3734 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3735 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3736 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3737 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3738 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3739 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3740 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3741 `lambda' rather than with `quote'.
3742 (eshell-do-opt): Adjust accordingly.
3743 (eshell-process-option): Simplify.
3744 * eshell/esh-var.el:
3745 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3746 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3747 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3748 to `pcase--dontcare'.
3749 * emacs-lisp/cl.el (labels): Mark obsolete.
3750 (cl--letf, letf): Move to cl-lib.
3751 (cl--letf*, letf*): Remove.
3752 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3753 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3754 (cl-progv): Rewrite.
3755 (cl--letf, cl-letf): Move from cl.el.
3756 (cl-letf*): New macro.
3757 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3758
7ad4afe1
MA
37592012-07-11 Michael Albinus <michael.albinus@gmx.de>
3760
3761 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3762
9af57756
CY
37632012-07-11 Chong Yidong <cyd@gnu.org>
3764
3765 * vc/log-edit.el (log-edit-vc-backend): New variable.
3766 (log-edit): Doc fix.
3767
3768 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3769 argument of log-edit to set up all local variables.
3770 (vc-start-logentry): New optional arg specifying VC backend.
3771
3772 * vc/vc.el (vc-checkin): Use it.
3773 (vc-deduce-fileset): Handle Log Edit buffers.
3774 (vc-diff): Make first argument optional too.
3775
3776 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3777
8477cc7a
MA
37782012-07-10 Michael Albinus <michael.albinus@gmx.de>
3779
3780 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3781 command, just in case. The function is not needed anymore.
3782 (eshell-external-command): Do not call `eshell-remote-command'.
3783
19faa8e8
SM
37842012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3785
f58e0fd5
SM
3786 Reduce use of (require 'cl).
3787 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3788 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3789 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3790 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3791 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3792 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3793 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3794 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3795 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3796 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3797 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3798 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3799 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3800 (byte-compile-unfold-bcf, byte-compile-check-variable):
3801 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3802 (byte-compile-nilconstp):
3803 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3804 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3805
2519d43a
SM
3806 * emacs-lisp/gv.el (cond): Make it a valid place.
3807 (if): Simplify slightly.
3808
19faa8e8
SM
3809 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3810 (pcase--self-quoting-p): New function.
3811 (pcase--u1): Use it.
3812
c4907a5e
GM
38132012-07-10 Glenn Morris <rgm@gnu.org>
3814
3815 * emacs-lisp/authors.el (authors-fixed-entries):
3816 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3817
c4444d16
PE
38182012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3819
3820 Rename configure.in to configure.ac (Bug#11603).
3821 * emacs-lisp/authors.el (authors-canonical-file-name):
3822 * progmodes/autoconf.el (autoconf-mode):
3823 Prefer configure.ac to configure.in.
3824
d75be97d
CY
38252012-07-08 Chong Yidong <cyd@gnu.org>
3826
01ac65bd
CY
3827 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3828 Implement the mouse-1-click-follows-link handling properly.
3829
3830 * info.el (Info-link-keymap): Use follow-link mechanism for
3831 header-line links (Bug#374).
3832
d75be97d
CY
3833 * simple.el (deactivate-mark): Do not set the primary selection
3834 if another program has acquired it (Bug#11772).
3835
87a92845 38362012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3837
3838 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3839 (woman-decode-region): Replace escaped-escapes without destroying
3840 bold or underline (Bug#11552).
87a92845 3841 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3842
621b9d6c
CY
38432012-07-07 Chong Yidong <cyd@gnu.org>
3844
3845 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3846 (interprogram-cut-function, interprogram-paste-function):
3847 Mention that we typically mean the clipboard.
621b9d6c 3848
133a11fc
GM
38492012-07-06 Glenn Morris <rgm@gnu.org>
3850
0d27a45e
GM
3851 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3852
133a11fc
GM
3853 * files.el (toggle-read-only): Restrict message to interactive use.
3854
07b151f1
MA
38552012-07-06 Michael Albinus <michael.albinus@gmx.de>
3856
3857 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3858
3859 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3860
211b896b
GM
38612012-07-06 Glenn Morris <rgm@gnu.org>
3862
50394322
GM
3863 * Makefile.in (compile-one-process): Rename from "recompile".
3864
211b896b
GM
3865 * Makefile.in (bzr-update): "compile" is the same as "recompile
3866 autoloads", but parallelizable, so use that instead.
3867
4737eec9
DG
38682012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3869
3870 * window.el (quit-window): Always restore window height when
8137e7b3 3871 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3872
226c3633 38732012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3874
3875 * simple.el (kill-whole-line): Doc tweak.
3876
226c3633 38772012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3878
3879 * files.el (file-relative-name): Compare file names
3880 case-insensitively if on MS-Windows or MS-DOS, or if
3881 read-file-name-completion-ignore-case is non-nil. Don't use
3882 case-fold-search for this purpose. (Bug#11827)
3883
4dc7c8d5
SM
38842012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3885
3886 * calendar/cal-dst.el (calendar-current-time-zone):
3887 Return calendar-current-time-zone-cache if non-nil.
3888
38892012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 38902012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3891
19faa8e8
SM
3892 * calendar/cal-dst.el (calendar-current-time-zone):
3893 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3894
60198fc9
GM
38952012-07-06 Glenn Morris <rgm@gnu.org>
3896
3897 * Makefile.in (cvs-update): Remove old alias.
3898
957b3189
MA
38992012-07-05 Michael Albinus <michael.albinus@gmx.de>
3900
3901 Sync with Tramp 2.2.6-pre.
3902
3903 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3904 compatible declaration.
3905
19faa8e8
SM
3906 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3907 Protect `list-load-path-shadows' call.
957b3189
MA
3908
3909 * net/tramp-compat.el (top): Require packages, which aren't
3910 autoloaded anymore for XEmacs. Protect call of
3911 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3912 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3913 it hurts at least for SXEmacs.
3914 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3915 standard-value for `temporary-file-directory'.
3916
3917 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3918 Redirect stderr to /dev/null.
3919 (tramp-sh-handle-write-region): uid and gid can be floats.
3920 Reported by Russell Sim <russell.sim@gmail.com>.
3921 (tramp-sh-handle-vc-registered): Hide errors.
3922 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3923 and `start-file-process'.
3924 (tramp-maybe-open-connection): Check also whether `non-essential'
3925 is bound.
3926
566df3fc
CY
39272012-07-04 Chong Yidong <cyd@gnu.org>
3928
3929 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3930 (xml-parse-tag): Likewise, and avoid changing entity tables.
3931 (xml-syntax-table): Define from scratch, making sure not to give
3932 x2000 and other Unicode spaces whitespace syntax, since those are
3933 not spaces in XML.
3934 (xml-parse-fragment): Delete unused function.
3935 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3936 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3937 (xml-entity-ref, xml-pe-reference-re)
3938 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3939 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3940 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3941 (xml-entity-value-re): Use syntax references in regexps where
3942 possible; no need to define inside a let-binding.
3943 (xml-parse-dtd): Use xml-pe-reference-re.
3944 (xml-entity-or-char-ref-re): New defconst.
3945 (xml-parse-string, xml-substitute-special): Use it.
3946
30eabd7a
SM
39472012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3948
0781098a
SM
3949 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3950 (find-file--read-only): New function.
3951 (find-file-read-only, find-file-read-only-other-window)
3952 (find-file-read-only-other-frame): Use it.
3953 (insert-file-contents-literally): Don't `fset'.
3954 (get-free-disk-space): Use locate-dominating-file.
3955
b5771c0d
SM
3956 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3957 function is already compiled.
3958
30eabd7a
SM
3959 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3960
b4886f6e
MA
39612012-07-03 Michael Albinus <michael.albinus@gmx.de>
3962
3963 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3964 files on the same host.
3965
b9d82339
AS
39662012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3967
3968 * help-fns.el (describe-function-1): Only call
3969 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3970
a76e6535
CY
39712012-07-03 Chong Yidong <cyd@gnu.org>
3972
3973 * xml.el: Protect parser against XML bombs.
3974 (xml-entity-expansion-limit): New variable.
3975 (xml-parse-string, xml-substitute-special): Use it.
3976 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3977
b544fef2
GM
39782012-07-03 Glenn Morris <rgm@gnu.org>
3979
3980 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3981 Allow linking to specific messages in debbugs reports (eg 123#5).
3982
a7aef6f5
CY
39832012-07-02 Chong Yidong <cyd@gnu.org>
3984
3985 * xml.el: Fix entity and character reference expansion, allowing
3986 them to expand into markup as per XML spec.
3987 (xml-default-ns): New variable.
3988 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3989 (xml-parse-region): Make first two arguments optional.
3990 Discard text properties.
3991 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3992 All callers changed.
a7aef6f5
CY
3993 (xml-parse-tag): Call xml-parse-tag-1. For backward
3994 compatibility, this function should not modify buffer contents.
3995 (xml-parse-tag-1): Fix opening-tag regexp.
3996 (xml-parse-string): Rewrite, handling entity and character
3997 references properly.
3998 (xml--entity-replacement-text): Signal an error if a parameter
3999 entity is undefined.
4000
3df31c9f
SM
40012012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4002
2b5208f1
SM
4003 * comint.el (comint-output-filter): Filter out repeated prompts.
4004
3df31c9f
SM
4005 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4006 and file-name-absolute-p.
4007 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4008 internal calls.
4009
e3ac1281
PE
40102012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4011
4012 Spelling fixes.
4013 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4014 Rename from byte-compile--refiy-function. All uses changed.
4015
fbf2e7ad
CY
40162012-07-01 Chong Yidong <cyd@gnu.org>
4017
4018 * xml.el (xml--parse-buffer): New function. Move most of
4019 xml-parse-region here.
4020 (xml-parse-region): Copy region into a temporary buffer, since
4021 parameter entity substitution requires changing buffer contents.
4022 Use xml--parse-buffer.
4023 (xml-parse-file): Use xml--parse-buffer.
4024 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4025 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4026
9bf0aa15
GM
40272012-06-30 Glenn Morris <rgm@gnu.org>
4028
bbce2853
GM
4029 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4030
9bf0aa15
GM
4031 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4032 Remove outdated and unnecessary dbus declarations.
4033
0d23c240
EZ
40342012-06-30 Eli Zaretskii <eliz@gnu.org>
4035
4036 * emacs-lisp/timer.el (timer-until): Subtract results of
4037 float-time, instead of taking float-time of the result of
4038 time-subtract, since float-time signals an error for negative time
4039 arguments.
4040
b3218de1
CY
40412012-06-30 Chong Yidong <cyd@gnu.org>
4042
4043 * xml.el (xml-*-re): Convert defvars into defconsts, and
4044 eval-and-compile them so eval-and-compile works on derivatives.
4045 (xml--entity-replacement-text): Use eval-and-comple.
4046
a40c87a0
MA
40472012-06-30 Michael Albinus <michael.albinus@gmx.de>
4048
4049 * vc/vc-git.el (vc-git-registered): Use cache property
4050 `git-registered'.
4051 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4052 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4053 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4054
ac87de97
DG
40552012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4056
4057 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4058 removed (likely outside Emacs). (Bug#11757)
ac87de97 4059
ac10fe06
SM
40602012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4061
3df31c9f 4062 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4063
7f3fbd5d
CY
40642012-06-30 Chong Yidong <cyd@gnu.org>
4065
4066 * xml.el: Implement XML parameter entities.
4067 (xml-parameter-entity-alist): New variable.
4068 (xml-parse-region, xml-parse-fragment): Preserve previous values
4069 of xml-entity-alist and xml-parameter-entity-alist, so that
4070 repeated calls on different documents do not change them.
4071 (xml-parse-tag): Fix doctype regexp.
4072 (xml--entity-replacement-text): New function.
4073 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4074 properly requires url retrieval which is unimplemented.
4075 (xml-escape-string): Doc fix.
4076
3cfbebba
SM
40772012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4080
2af3565e
DA
40812012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4082
4083 * fringe.el (fringe-mode): Doc fix.
4084
929df0e7
MA
40852012-06-29 Michael Albinus <michael.albinus@gmx.de>
4086
4087 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4088 is non-nil.
4089 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4090 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4091
c8d3a25c 40922012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4093
c8d3a25c
GM
4094 * calendar/cal-dst.el (calendar-current-time-zone):
4095 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4096
c8d3a25c 40972012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4098
4099 * progmodes/which-func.el (which-func-format):
4100 Add mouse-face. (Bug#11698)
4101
c8d3a25c
GM
41022012-06-29 Leo Liu <sdl.web@gmail.com>
4103
4104 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4105
41062012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * minibuffer.el (minibuffer-confirm-exit-commands):
4109 Add completion-at-point (bug#11725).
4110
41112012-06-29 Glenn Morris <rgm@gnu.org>
4112
4113 * progmodes/f90.el (f90-font-lock-keywords-2):
4114 Add some preprocessor elements. (Bug#10499)
4115
41162012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4119 Use syntax-propertize (bug#11739).
4120
2badeec4
JB
41212012-06-28 Juanma Barranquero <lekktu@gmail.com>
4122
4123 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4124
ae4969c2
JD
41252012-06-28 Julien Danjou <julien@danjou.info>
4126
4127 * term.el (term-handle-colors-array): Use a set of new faces to
4128 color the terminal. Also uses :inverse-video property.
4129 (term-default-fg-color): Set to nil by default, deprecate in favor
4130 of `term-face'.
4131 (term-default-bg-color): Set to nil by default, deprecate in favor
4132 of `term-face'.
4133 (term-current-face): Use `term-face' by default.
4134 (term-bold-attribute): Variable deleted.
4135
1c9bd870
GM
41362012-06-28 Glenn Morris <rgm@gnu.org>
4137
4138 * simple.el (completion-list-mode-finish):
4139 Don't use toggle-read-only. (Since completion-list-mode has
4140 a special mode-class, it wasn't doing anything extra anyway.)
4141
c207708c
SM
41422012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4143
4144 Make inlining of other-mode interpreted functions work (bug#11799).
4145 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4146 (byte-compile): Use it to fix compilation of lexical-binding closures.
4147 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4148 function, if needed.
4149
3fd56834
SM
41502012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4151
04901786
SM
4152 * help-mode.el (help-make-xrefs): Don't just withstand
4153 cyclic-variable-indirection but any error in documentation-property.
4154
1ec4b7b2
SM
4155 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4156 memory use.
4157 * bindings.el (bindings--define-key): New function.
4158 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4159 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4160 * bindings.el: Use it to purecopy define-key bindings.
4161
e309e2a5
SM
4162 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4163
d5c6faf9
SM
4164 * emacs-lisp/cl.el (flet): Mark obsolete.
4165 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4166 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4167 * progmodes/js.el (js-c-fill-paragraph):
4168 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4169 (ebrowse-switch-member-buffer-to-derived-class):
4170 * play/5x5.el (5x5-solver): Use cl-flet.
4171
6e9590e2
SM
4172 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4173 (cl--symbol-function): New macro.
4174 (cl--letf, cl--letf*): Use it.
4175
3fd56834
SM
4176 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4177 Strip "toggle-" if any.
4178
35ff222c
GM
41792012-06-27 Glenn Morris <rgm@gnu.org>
4180
1ba6038a
GM
4181 * info.el (Info-default-directory-list): Move here from paths.el.
4182 * paths.el: Remove file, which is now empty.
4183 * loadup.el: No longer load "paths".
4184
0ea0e51b
GM
4185 * custom.el (custom-initialize-delay): Doc fix.
4186
35ff222c
GM
4187 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4188 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4189 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4190 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4191 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4192 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4193 * eshell/eshell.el (eshell-defgroup): Remove alias.
4194
c89926a5
CY
41952012-06-27 Chong Yidong <cyd@gnu.org>
4196
4197 * help.el (help-enable-auto-load): New variable.
4198
4199 * help-fns.el (help-fns--autoloaded-p): New function.
4200 (describe-function-1): Refer to a function as "autoloaded" if it
4201 was autoloaded at any time in the past. Perform autoloading if
4202 help-enable-auto-load is non-nil.
4203
cc06e7e7
EZ
42042012-06-26 Eli Zaretskii <eliz@gnu.org>
4205
4206 * makefile.w32-in (compile, compile-always): Depend on
4207 update-subdirs, not on subdirs.el. Otherwise, several different
4208 sub-targets of 'bootstrap' running in parallel could
4209 simultaneously write to subdirs.el, producing a garbled file.
4210
d2c32364
SS
42112012-06-26 Sam Steingold <sds@gnu.org>
4212
4213 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4214 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4215 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4216 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4217 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4218 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4219 * textmodes/tex-mode.el: Use it.
4220 Did not touch cedet and org because they are maintained elsewhere.
4221
5cf983b2
MR
42222012-06-26 Martin Rudalics <rudalics@gmx.at>
4223
4224 * calendar/calendar.el (calendar-exit): Don't try to delete or
4225 iconify last frame. See:
4226 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4227
8c4f2952
JD
42282012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4229
4230 * server.el (server-process-filter): Remember dir in the
4231 process's `server-client-directory' properties.
4232
772b2e2c
CY
42332012-06-24 Chong Yidong <cyd@gnu.org>
4234
4235 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4236 non-tag text.
4237
711b11e1
JB
42382012-06-23 Juanma Barranquero <lekktu@gmail.com>
4239
4240 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4241
dc5d230c
SM
42422012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * help-fns.el (describe-variable): Don't croak when doc is not found.
4245 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4246 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4247 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4248 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4249 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4250 ((lambda ..) ..).
4251 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4252
136e1c1d
CY
42532012-06-23 Chong Yidong <cyd@gnu.org>
4254
e8c1cabf
CY
4255 * info.el (Info-mouse-follow-link): Accept symbol values of
4256 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4257 (Info-fontify-node): Use Info-link-keymap for all navigation
4258 buttons, with link-args property to perform the desired action.
4259 (Info-link-keymap): Doc fix.
4260 (Info-next-link-keymap, Info-prev-link-keymap)
4261 (Info-up-link-keymap): Delete now-unused keymaps.
4262
0e9e6c6a
CY
42632012-06-23 Chong Yidong <cyd@gnu.org>
4264
05e89fea
CY
4265 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4266
0e9e6c6a
CY
4267 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4268 system abbrevs.
4269
4270 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4271
e33c6771
SM
42722012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4273
b68581e2
SM
4274 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4275 (bug#11719).
4276
e33c6771
SM
4277 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4278 the requote function doesn't work properly (bug#11714).
4279
7117e105
GM
42802012-06-23 Glenn Morris <rgm@gnu.org>
4281
4282 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4283
36cec983
SM
42842012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4285
4286 Further GV/CL cleanups.
4287 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4288 gv-expander.
4289 (gv--defun-declaration): New function.
4290 (defun-declarations-alist): Use it.
4291 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4292 (gv-place): Autoload.
4293 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4294 original definition of dotimes and dolist.
4295 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4296 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4297 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4298 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4299 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4300 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4301 to the function's definition.
4302 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4303 * window.el:
4304 * files.el:
4305 * faces.el:
4306 * env.el: Don't use CL.
4307
d35af63c
PE
43082012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4309
4310 Support higher-resolution time stamps (Bug#9000).
4311
4312 * calendar/time-date.el (with-decoded-time-value): New arg
4313 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4314 (encode-time-value): New optional arg PICO. New type 3.
4315 (time-to-seconds) [!float-time]: Support the new picoseconds
4316 component if it's used.
4317 (seconds-to-time, time-subtract, time-add):
4318 Support ps-resolution time stamps as well.
4319
4320 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4321 (timerp): Timer vectors now have length 9, not 8.
4322 (timer--time): Support new-style (4-part) time stamps.
4323 (timer-next-integral-multiple-of-time): Time stamps now have
4324 picosecond resolution, so take a bit more care about rounding.
4325 (timer-relative-time, timer-inc-time): New optional arg psecs.
4326 (timer-set-time-with-usecs): Set psecs to 0.
4327 (timer--activate): Check psecs component, too.
4328
4329 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4330
ac77b21a
SM
43312012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4332
f143bfe3
SM
4333 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4334 Move the non-essential binding to the post/pre-command-hook where it is
4335 more obviously correct.
4336
ac77b21a
SM
4337 * subr.el (read-passwd): Don't use a history at all.
4338 * savehist.el (savehist-save): Remove password saved accidentally
4339 because of the above bug.
4340
76386c5a
BG
43412012-06-22 Bastien Guerry <bzg@gnu.org>
4342
4343 * files.el (toggle-read-only): Display a message telling whether
4344 the buffer is read-only or not (bug#11726).
4345
2ee3d7f0
SM
43462012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * emacs-lisp/gv.el: New file.
4349 * subr.el (push, pop): Extend to generalized variables.
4350 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4351 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4352 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4353 gv-define-simple-setter, and gv-define-expander.
4354 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4355 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4356 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4357 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4358 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4359 gv-letplace.
4360 (cl-defstruct): Don't define setf-method any more.
4361 * emacs-lisp/cl.el (flet): Don't autoload.
4362 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4363 (define-setf-expander, defsetf, define-modify-macro)
4364 (cl-struct-setf-expander): Move from cl-lib.el.
4365 * emacs-lisp/syntax.el:
4366 * emacs-lisp/ewoc.el:
4367 * emacs-lisp/smie.el:
4368 * emacs-lisp/cconv.el:
4369 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4370 (timer--time): Use gv-define-simple-setter.
4371 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4372 to avoid coding-system problems in subr.el. Adjust all users.
4373 (macroexp--maxsize, macroexp-small-p): New functions.
4374 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4375 * scroll-bar.el (scroll-bar-mode):
4376 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4377 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4378 * winner.el (winner-configuration, winner-make-point-alist)
4379 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4380 * files.el (locate-file-completion-table): Avoid list*.
4381
c5695d1d
CY
43822012-06-22 Chong Yidong <cyd@gnu.org>
4383
4384 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4385 (dired-create-files): Doc fix (Bug#11329).
4386 (dired-do-copy): Doc fix (Bug#11334).
4387 (dired-mark-read-string): Doc fix (Bug#11553).
4388
2ee3d7f0
SM
4389 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4390 Doc fix (Bug#11326).
c5695d1d
CY
4391 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4392 (dired-dwim-target): Doc fix.
4393
4394 * wdired.el (wdired-mode): Doc fix.
4395
89b5595a
GM
43962012-06-22 Glenn Morris <rgm@gnu.org>
4397
575db3f1
GM
4398 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4399 (pcmpl-rpm-cache-stamp-file): New constant.
4400 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4401 (pcmpl-rpm-packages): Optionally cache list of packages.
4402
a4c8dd51
GM
4403 * pcmpl-rpm.el (pcmpl-rpm): New group.
4404 (pcmpl-rpm-query-options): New option.
4405 (pcmpl-rpm-packages): No need to inline it.
4406 Use pcmpl-rpm-query-options.
4407
89b5595a
GM
4408 * calendar/calendar.el (calendar-in-read-only-buffer):
4409 Avoid some needless mode changes.
4410
e76f0800
CY
44112012-06-21 Chong Yidong <cyd@gnu.org>
4412
4413 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4414 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4415 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4416
297a8f1d
CY
44172012-06-20 Chong Yidong <cyd@gnu.org>
4418
4419 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4420
d34c18b1
DR
44212012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4422
4423 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4424 (bug#11201).
4425
32f7f28e
CY
44262012-06-20 Chong Yidong <cyd@gnu.org>
4427
4428 * term.el (term-window-width): Handle the case of a missing right
4429 fringe (Bug#8837).
4430 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4431 (term-mode): Use define-derived-mode. Minor cleanups.
4432 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4433 (term-move-columns, term-insert-char, term-emulate-terminal)
4434 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4435
493c6688
MA
44362012-06-20 Michael Albinus <michael.albinus@gmx.de>
4437
d34c18b1
DR
4438 * net/ange-ftp.el (ange-ftp-get-passwd):
4439 Bind `enable-recursive-minibuffers'.
493c6688
MA
4440 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4441
3f06ecf4
DR
44422012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4443
4444 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4445
68f12411
GM
44462012-06-19 Glenn Morris <rgm@gnu.org>
4447
4448 * progmodes/python.el (python-mode): Derive from prog-mode.
4449
b3820318
KG
44502012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4451
4452 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4453 (edt-user-menu-bar-update-buffers): New functions.
4454 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4455
c6bf3022
CY
44562012-06-19 Chong Yidong <cyd@gnu.org>
4457
4458 * subr.el (with-selected-window): Preserve the selected window's
4459 terminal's top-frame (Bug#4702).
4460
4461 * window.el (save-selected-window): Likewise.
4462
25f09295
SM
44632012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4464
4465 * progmodes/python.el (python-rx-constituents): Move backquote.
4466 (python-skeleton-define, python-define-auxiliary-skeleton):
4467 Use `declare'.
4468
6b11952a
MA
44692012-06-18 Michael Albinus <michael.albinus@gmx.de>
4470
4471 * minibuffer.el (read-file-name-default): Revert the patch from
4472 2012-06-17.
4473
ee4b1330
SM
44742012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4475
4476 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4477 (pcase--u1, pcase--q1): Don't use apply-partially.
4478
35647f79
GM
44792012-06-18 Glenn Morris <rgm@gnu.org>
4480
4481 * progmodes/python.el (python-proc, python-buffer)
4482 (python-send-receive, python-send-string): Fix obsolete versions.
4483
24b0cff0
MR
44842012-06-18 Martin Rudalics <rudalics@gmx.at>
4485
4486 * window.el (special-display-p): Completely remove stringp
4487 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4488
29855149
MA
44892012-06-17 Michael Albinus <michael.albinus@gmx.de>
4490
4491 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4492
4493 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4494
4495 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4496 * net/tramp-sh.el (tramp-maybe-open-connection):
4497 Throw if `non-essential' is non-nil.
4498
07463363
MR
44992012-06-17 Martin Rudalics <rudalics@gmx.at>
4500
4501 * window.el (special-display-p): Signal an error if BUFFER-NAME
4502 is not a string (Bug#11713).
4503
48d1354e
PE
45042012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4505
4506 * progmodes/python.el (python-info-beginning-of-backslash):
4507 Rename from python-info-beginning-of-backlash, as a spelling fix.
4508
eb4a8a9a
CY
45092012-06-17 Chong Yidong <cyd@gnu.org>
4510
4511 * term.el (term-emulate-terminal): If term-check-size is called,
4512 move point to the process mark without resetting point (Bug#4635).
4513
ddfbf826 45142012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4515
4516 * international/mule-cmds.el (mule-menu-keymap)
4517 (set-language-environment, set-locale-environment): Doc tweaks.
4518
9b0e3eba
AA
45192012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4520
4521 * cus-face.el (custom-face-attributes): Add wave-style underline
4522 attribute.
4523 * faces.el (set-face-attribute): Update docstring to describe
4524 wave-style underline attribute.
4525
771e3eae
CY
45262012-06-16 Chong Yidong <cyd@gnu.org>
4527
4528 * term/xterm.el (terminal-init-xterm): Discard input before
4529 querying background mode (Bug#10959).
4530
7ae2ea10
SM
45312012-06-16 Stefan Merten <smerten@oekonux.de>
4532
4533 * textmodes/rst.el: Added and corrected some comments.
4534 (rst-re-alist-def): Improve symbol syntax.
4535 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4536 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4537 (rst-official-version, rst-official-cvs-rev): Update version
4538 information.
7ae2ea10 4539
b6974efa
JB
45402012-06-15 Juanma Barranquero <lekktu@gmail.com>
4541
4542 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4543 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4544
8826d473
GM
45452012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4546
4547 * progmodes/python.el: New python.el merge.
4548 (python-guess-indent): Obsolete var.
4549 (python-indent-guess-indent-offset): New defcustom.
4550 (python-indent): Obsolete var.
4551 (python-indent-offset): New defcustom.
4552 (python-python-command, python-jython-command): Delete var.
4553 (python-shell-interpreter): New defcustom.
4554 (python-pdbtrack-do-tracking-p): Delete var.
4555 (python-pdbtrack-activate): New defcustom.
4556 (python-use-skeletons): Obsolete var.
4557 (python-skeleton-autoinsert): New defcustom.
4558 (inferior-python-filter-regexp, python-continuation-offset)
4559 (python-honour-comment-indentation, python-indent-string-contents)
4560 (python-jython-packages, python-mode-hook)
4561 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4562 (python-shell-prompt-alist)
4563 (python-source-modes): Delete defcustoms.
4564 (python-check-buffer-name, python-eldoc-setup-code)
4565 (python-eldoc-string-code, python-ffap-setup-code)
4566 (python-ffap-string-code, python-fill-comment-function)
4567 (python-fill-decorator-function, python-fill-paren-function)
4568 (python-fill-string-function, python-imenu-include-defun-type)
4569 (python-imenu-make-tree, python-imenu-subtree-root-label)
4570 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4571 (python-shell-compilation-regexp-alist)
4572 (python-shell-completion-module-string-code)
4573 (python-shell-completion-pdb-string-code)
4574 (python-shell-completion-setup-code)
4575 (python-shell-completion-string-code)
4576 (python-shell-enable-font-lock, python-shell-exec-path)
4577 (python-shell-extra-pythonpaths)
4578 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4579 (python-shell-process-environment)
4580 (python-shell-prompt-block-regexp)
4581 (python-shell-prompt-output-regexp)
4582 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4583 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4584 (python-shell-virtualenv-path): New defcustoms.
4585 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4586 (inferior-python-mode-syntax-table, python--prompt-regexp)
4587 (python-buffer, python-command python-python-command)
4588 (python-default-template, python-imports, python-indent-index)
4589 (python-indent-list, python-indent-list-length)
4590 (python-mode-running, python-pdbtrack-is-tracking-p)
4591 (python-preoutput-continuation, python-preoutput-leftover)
4592 (python-preoutput-result, python-preoutput-skip-next-prompt)
4593 (python-prev-dir/file, python-recursing)
4594 (python-saved-check-command, python-version-checked)
4595 (python-which-func-length-limit)
4596 (view-return-to-alist): Delete vars.
4597 (python-check-custom-command, python-dotty-syntax-table)
4598 (python-imenu-index-alist, python-indent-current-level)
4599 (python-indent-dedenters, python-indent-levels)
4600 (python-nav-beginning-of-defun-regexp)
4601 (python-nav-list-defun-positions-cache)
4602 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4603 (python-shell-internal-buffer)
4604 (python-skeleton-available): New vars.
4605 (def-python-skeleton): Delete macro.
4606 (python-skeleton-define): New macro.
4607 (python-define-auxiliary-skeleton, python-rx): New macros.
4608 (python-insert-class): Delete command.
4609 (python-skeleton-class): New command.
4610 (python-insert-def): Delete command.
4611 (python-skeleton-def): New command.
4612 (python-insert-for): Delete command.
4613 (python-skeleton-for): New command.
4614 (python-insert-if): Delete command.
4615 (python-skeleton-if): New command.
4616 (python-insert-try/except, python-insert-try/finally): Delete commands.
4617 (python-skeleton-try): New command.
4618 (python-insert-while): Delete command.
4619 (python-skeleton-while): New command.
4620 (python-backspace): Delete command.
4621 (python-indent-dedent-line-backspace): New command.
4622 (python-electric-colon): Delete command.
4623 (python-indent-electric-colon): New command.
4624 (python-guess-indent): Delete command.
4625 (python-indent-guess-indent-offset): New command.
4626 (python-shift-left): Delete command.
4627 (python-indent-shift-left): New command.
4628 (python-shift-right): Delete command.
4629 (python-indent-shift-right): New command.
4630 (python-find-function): Delete command.
4631 (python-nav-jump-to-defun): New command.
4632 (python-next-statement): Delete command.
4633 (python-nav-forward-sentence): New command.
4634 (python-previous-statement): Delete command.
4635 (python-nav-backward-sentence): New command.
4636 (python-fill-paragraph): Delete command.
4637 (python-fill-paragraph-function): New command.
4638 (python-send-buffer): Delete command.
4639 (python-shell-send-buffer): New command.
4640 (python-send-defun): Delete command.
4641 (python-shell-send-defun): New command.
4642 (python-send-region, python-send-region-and-go): Delete commands.
4643 (python-shell-send-region)
4644 (python-shell-switch-to-shell): New commands.
4645 (python-send-string): Delete command.
4646 (python-shell-send-string): New command.
4647 (python-switch-to-python): Delete command.
4648 (python-shell-switch-to-shell): New command.
4649 (python-describe-symbol): Delete command.
4650 (python-eldoc-at-point): New command.
4651 (python--set-prompt-regexp, python-args-to-list)
4652 (python-after-info-look, python-check-version)
4653 (python-check-comint-prompt, python-find-imports)
4654 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4655 (python-unload-function, python-expand-template)
4656 (python-maybe-jython, python-preoutput-filter)
4657 (python-pdbtrack-get-source-buffer)
4658 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4659 (python-pdbtrack-toggle-stack-tracking)
4660 (python-pdbtrack-track-stack-file, python-initial-text)
4661 (python-first-word, python-comment-line-p, python-send-command)
4662 (python-setup-brm, python-sentinel, python-set-proc)
4663 (python-skip-out, python-input-filter, python-outdent-p)
4664 (python-outline-level, python-backslash-continuation-line-p)
4665 (python-end-of-block, python-end-of-statement, python-mark-block)
4666 (python-beginning-of-block, python-beginning-of-statement)
4667 (python-blank-line-p, python-beginning-of-string)
4668 (python-open-block-statement-p): Delete functions.
4669 (python-indent-line, python-indent-line-1): Delete functions.
4670 (python-indent-line): New function.
4671 (python-indentation-levels): Delete function.
4672 (python-indent-calculate-levels): New function.
4673 (python-proc): Delete function.
4674 (python-shell-get-process): New function.
4675 (python-send-receive): Delete function.
4676 (python-shell-send-string-no-output): New function.
4677 (python-module-path): Delete function.
4678 (python-ffap-module-path): New function.
4679 (python-completion-at-point)
4680 (python-symbol-completions): Delete functions.
4681 (python-completion-complete-at-point): New function.
4682 (python-load-file): Delete function.
4683 (python-shell-send-file): New function.
4684 (python-calculate-indentation): Delete function.
4685 (python-indent-calculate-indentation): New function.
4686 (python-skip-comments/blanks): Delete function.
4687 (python-util-forward-comment): New function.
4688 (python-continuation-line-p): Delete function.
4689 (python-info-continuation-line-p): New function.
4690 (python-which-func, python-current-defun): Delete function.
4691 (python-info-current-defun): New function.
4692 (python-beginning-of-defun): Delete function.
4693 (python-nav-beginning-of-defun): New function.
4694 (python-close-block-statement-p)
4695 (python-block-end-p): Delete function.
4696 (python-info-closing-block): New function.
4697 (python-comint-output-filter-function)
4698 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4699 (python-fill-comment, python-fill-decorator, python-fill-paren)
4700 (python-fill-string, python-imenu-make-element-tree)
4701 (python-imenu-make-tree, python-imenu-tree-assoc)
4702 (python-indent-context, python-indent-dedent-line)
4703 (python-indent-line-function)
4704 (python-indent-post-self-insert-function)
4705 (python-indent-toggle-levels)
4706 (python-info-assignment-continuation-line-p)
4707 (python-info-beginning-of-backlash)
4708 (python-info-block-continuation-line-p)
4709 (python-info-closing-block-message)
4710 (python-info-line-ends-backslash-p)
4711 (python-info-looking-at-beginning-of-defun)
4712 (python-info-ppss-context, python-info-ppss-context-type)
4713 (python-nav-list-defun-positions, python-nav-read-defun)
4714 (python-nav-sentence-end, python-nav-sentence-start)
4715 (python-pdbtrack-comint-output-filter-function)
4716 (python-pdbtrack-set-tracked-buffer)
4717 (python-shell-calculate-exec-path)
4718 (python-shell-calculate-process-environment)
4719 (python-shell-completion--do-completion-at-point)
4720 (python-shell-completion--get-completions)
4721 (python-shell-completion-complete-at-point)
4722 (python-shell-completion-complete-or-indent)
4723 (python-shell-get-or-create-process)
4724 (python-shell-get-process-name)
4725 (python-shell-internal-get-or-create-process)
4726 (python-shell-internal-get-process-name)
4727 (python-shell-internal-send-string, python-shell-make-comint)
4728 (python-shell-parse-command, python-shell-send-setup-code)
4729 (python-skeleton-add-menu-items)
4730 (python-util-clone-local-variables, python-util-position)
4731 (run-python-internal, python-indentation-levels)
4732 (python-nav-beginning-of-defun)
4733 (python-completion-complete-at-point): New functions.
4734 (run-python): Change arguments. New API requirements.
4735
4302f5ba
SM
47362012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4737
f38ea36d
SM
4738 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4739 (bug#11649).
4740
4741 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4742 (macroexp--expand-all): Use it.
4743
4302f5ba
SM
4744 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4745 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4746 Use `cl-function' instead.
4747
33377562
JB
47482012-06-14 Juanma Barranquero <lekktu@gmail.com>
4749
4750 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4751 Suggested by Stefan Monnier while discussing bug#11657.
4752
54c5ba1a
SS
47532012-06-14 Sam Steingold <sds@gnu.org>
4754
4755 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4756
f9f1b1fe
AS
47572012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4758
4759 * play/doctor.el (doctor-doc): Remove parameter and use
4760 doctor-sent instead of sent.
4761 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4762
a81068ba
SM
47632012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4764
5a315f9c
SM
4765 * files.el: Require cl-lib.
4766 (file-name-non-special): Replace case -> cl-case.
4767
4768 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4769
a81068ba
SM
4770 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4771 mapping from #' to function*.
4772
8cca9703
CY
47732012-06-13 Chong Yidong <cyd@gnu.org>
4774
4775 * mouse.el (mouse-drag-track): Do not set the mark if the user
4776 releases the mouse without selecting anything (Bug#11588).
4777
a12ac9d7
SM
47782012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4779
ccf1dc18
SM
4780 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4781 as well (bug#11646).
4782
ef62b23d
SM
4783 * loadup.el: Count byte-code functions as well.
4784
c4c8444a
SM
4785 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4786 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4787
a12ac9d7
SM
4788 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4789 (bug#11649). Add cl-defun and cl-defmacro.
4790
87e6e64f
DA
47912012-06-13 Drew Adams <drew.adams@oracle.com>
4792
4793 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4794 Fix last change.
4795
682cefaf
MA
47962012-06-13 Michael Albinus <michael.albinus@gmx.de>
4797
4798 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4799 Otherwise, it blocks in batch mode.
4800
773e1f08
JB
48012012-06-13 Juanma Barranquero <lekktu@gmail.com>
4802
4803 * help-mode.el (bookmark-make-record-default): Declare.
4804
60057926
CY
48052012-06-13 Chong Yidong <cyd@gnu.org>
4806
4807 * emacs-lisp/package.el (list-packages): Compute a list of
4808 packages that are newly-available since the last list-packages
4809 invocation.
4810 (package-menu--new-package-list): New var.
4811 (package-menu--generate, package-menu--print-info)
4812 (package-menu--status-predicate, package-menu-mark-install):
4813 Handle new status label "new".
4814
ad4d226c
SM
48152012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4816
4817 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4818 conversion to backquotes.
4819
f1a4e679
CY
48202012-06-12 Chong Yidong <cyd@gnu.org>
4821
4822 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4823 Rename from gud-inhibit-global-bindings.
4824
4825 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4826
4827 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4828 hook from nxml-glyph-set-hook.
4829
4830 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4831 declaration.
4832
4833 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4834
4835 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4836 Convert to defcustom.
4837
0c9e42b5
DA
48382012-06-12 Drew Adams <drew.adams@oracle.com>
4839
4840 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4841 New functions.
4842 (help-mode): Use them.
4843
09e06855
GM
48442012-06-11 Glenn Morris <rgm@gnu.org>
4845
4846 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4847 Use preprocessor face for directives.
4848 (fortran-directive-re): Doc fix.
4849
71adb94b
SM
48502012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4851
2eb87922
SM
4852 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4853 conversion to backquotes (bug#11652).
4854
71adb94b
SM
4855 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4856 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4857 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4858 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4859 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4860 (cl-ninth, cl-tenth): Mark them as inlinable.
4861 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4862 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4863 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4864 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4865 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4866 (cl-list*, cl-adjoin): Don't put an autoload manually.
4867 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4868 (cl--compiler-macro-list*): Add autoload cookie.
4869 (cl--compiler-macro-cXXr): New function.
2eb87922 4870
71adb94b
SM
4871 * help-fns.el (help-fns--compiler-macro): New function extracted from
4872 describe-function-1; follow aliases and use `compiler-macro' property.
4873 (describe-function-1): Use it.
4874
a6674402
CY
48752012-06-11 Chong Yidong <cyd@gnu.org>
4876
4877 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4878 is uninstalled, if imagemagick is installed.
4879
bb3faf5b
SM
48802012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * emacs-lisp/cl-lib.el: Use lexical-binding.
4883 (cl-map-extents, cl-maclisp-member): Remove.
4884 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4885 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4886 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4887 * emacs-lisp/cl-extra.el: Use lexical-binding.
4888 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4889 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4890 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4891 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4892 * emacs-lisp/cl-seq.el: Use lexical-binding.
4893 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4894 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4895 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4896 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4897 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4898 CL's internals.
4899
2fe4b125
MA
49002012-06-11 Michael Albinus <michael.albinus@gmx.de>
4901
4902 Sync with Tramp 2.2.6-pre.
4903
4904 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4905 `print-length' and `print-level' to nil, in order to avoid
4906 truncation. Reported by Christopher Schmidt
4907 <christopher@ristopher.com>.
4908
4909 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4910
4911 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4912 New defmacro.
4913 (tramp-compat-copy-directory): Add optional argument
4914 COPY-CONTENTS. It is not handled yet.
4915
4916 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4917 (tramp-ftp-file-name-p): Simplify.
4918
4919 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4920 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4921 connection vector.
4922
4923 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4924 (tramp-methods): Do not use `tramp-password-end-of-line'.
4925 (tramp-completion-function-alist-putty): Handle UNIX case.
4926 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4927 (tramp-do-file-attributes-with-stat)
4928 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4929 gid as real numbers. They could run out of integer range on cygwin.
4930 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4931 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4932 (tramp-open-connection-setup-interactive-shell):
4933 Use `tramp-cleanup'. Move check for busyboxes ...
4934 (tramp-find-shell): ... here. Simplify implementation.
4935 Set "remote-shell" property also for alternative shells.
4936 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4937 If failing, a regular file would be written otherwise.
4938 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4939 (tramp-find-inline-encoding): Cache the coding commands in the
4940 process cache. Apply test command on the remote side, if defined.
4941 (tramp-find-inline-compress): Cache the compress commands in the
4942 process cache.
4943 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4944 when requested. Handle hops.
4945 (tramp-current-connection): New defvar.
87e6e64f
DA
4946 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4947 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4948 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4949 (tramp-get-inline-compress, tramp-get-inline-coding):
4950 Read connection properties from the process cache.
2fe4b125
MA
4951
4952 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4953 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4954 New defconsts.
2fe4b125
MA
4955 (tramp-smb-prompt): Extend for powershell prompt.
4956 (tramp-smb-file-name-handler-alist): Add handlers for
4957 `process-file', `shell-command' and `start-file-process'.
4958 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4959 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4960 (tramp-smb-file-name-p): Simplify.
4961 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4962 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4963 (tramp-smb-shell-quote-argument): New defuns.
4964 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4965 Implement using "tar". By this, time-stamps are preserved.
4966 (tramp-smb-handle-copy-file): Handle also the case of directories.
4967 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4968 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4969 Use `tramp-get-connection-buffer').
2fe4b125
MA
4970 (tramp-smb-handle-rename-file): Use "rename", when source and
4971 target are on the same share.
87e6e64f
DA
4972 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4973 Use `tramp-smb-server-version'.
2fe4b125
MA
4974 (tramp-smb-wait-for-output): Remove prompt.
4975
4976 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4977 (tramp-methods, tramp-rsh-end-of-line):
4978 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4979 (tramp-save-ad-hoc-proxies): New defcustom.
4980 (tramp-completion-function-alist): Adapt docstring.
4981 (tramp-default-password-end-of-line): Remove defcustom.
4982 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4983 (tramp-user-regexp, tramp-file-name-regexp-unified)
4984 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4985 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4986 (tramp-remote-file-name-spec-regexp): New defconst.
4987 (tramp-file-name-structure): Extend structure for hops.
4988 (tramp-get-method-parameter): Move up.
4989 (tramp-file-name-p, tramp-dissect-file-name)
4990 (with-parsed-tramp-file-name): Handle hops.
4991 (tramp-file-name-hop): New defun.
4992 (tramp-make-tramp-file-name): New optional arg HOP.
4993 (tramp-message-show-progress-reporter-message): New defvar.
4994 (tramp-with-progress-reporter): Use it. We cannot use
4995 `tramp-message-show-message' here, because this suppresses also
4996 error buffers.
4997 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4998 `tramp-message-show-message' is nil.
4999 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5000 (tramp-cleanup): New defun.
5001 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5002 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5003 an error unchanged.
5004 (tramp-completion-handle-file-name-all-completions): Handle hops.
5005 Fix an error when called from ido.
5006 (tramp-completion-dissect-file-name): Use better local variable
5007 name. Add hop to the vector.
5008 (tramp-handle-insert-file-contents): Use progress-reporter for the
5009 whole scenario.
5010 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5011 to `t'.
5012 (tramp-check-for-regexp): Simplify search.
5013 (tramp-enter-password): Remove it. Move implementation ...
5014 (tramp-action-password): ... here.
5015 (tramp-mode-string-to-int, tramp-local-host-p)
5016 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5017 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5018 Set tramp-autoload cookie.
2fe4b125
MA
5019
5020 * net/trampver.el: Update release number.
5021
50222012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5023 Michael Albinus <michael.albinus@gmx.de>
5024
5025 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5026 (tramp-parse-group, tramp-parse-file)
5027 (tramp-parse-shostkeys-sknownhosts): New defuns.
5028 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5029 (tramp-parse-shosts-group, tramp-parse-sconfig)
5030 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5031 (tramp-parse-sknownhosts, tramp-parse-hosts)
5032 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5033 Use them.
5034 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5035 (tramp-parse-putty-group): Don't narrow.
5036 (tramp-parse-putty): Make a loop.
5037 (tramp-file-name-handler): Catch the `suppress' signal.
5038
72834e10
CY
50392012-06-11 Chong Yidong <cyd@gnu.org>
5040
5041 * image.el (imagemagick-register-types): Put the ImageMagick entry
5042 at the end of image-type-file-name-regexps.
5043
a4712e11
JB
50442012-06-11 Johan Bockgård <bojohan@gnu.org>
5045
5046 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5047 (pcase, pcase-let*, pcase-dolist): Use them.
5048
82ad98e3
SM
50492012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * emacs-lisp/pcase.el (pcase--let*): New function.
5052 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5053 (pcase--expand): Use macroexp-let².
5054
f80efb86
SM
50552012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5056
5057 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5058 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5059 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5060 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5061 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5062 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5063
31ca4639 50642012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5065
31ca4639
CY
5066 * mail/rmail.el (rmail-yank-current-message): Leave point at
5067 correct position. (Bug#11660)
94f0aa34 5068
31ca4639 50692012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5070
31ca4639 5071 * allout-widgets.el: Fix code header.
9e1b8ec4 5072
31ca4639 50732012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5074
f80efb86
SM
5075 * cus-edit.el (customize-changed-options-previous-release):
5076 Bump to 24.1.
31ca4639 5077
642b6d30
AS
50782012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5079
5080 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5081
4f5d2ba1
CY
50822012-06-09 Chong Yidong <cyd@gnu.org>
5083
5084 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5085
e75852fd
MR
50862012-06-09 Martin Rudalics <rudalics@gmx.at>
5087
5088 * window.el (special-display-popup-frame): Don't use
5089 window--display-buffer (Bug#11651).
5090
1e48e282
EZ
50912012-06-09 Eli Zaretskii <eliz@gnu.org>
5092
8a26b487
EZ
5093 Fix parallel builds: make sure loaddefs.el is not being written
5094 while Lisp files are compiled.
5095 (compile): Don't depend on 'mh-autoloads'.
5096 (compile-CMD, compile-SH): Depend on 'autoloads'.
5097 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5098
1e48e282
EZ
5099 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5100
6175e34b
CY
51012012-06-09 Chong Yidong <cyd@gnu.org>
5102
5103 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5104 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5105 Doc fixes (Bug#11225).
5106
d9857e53
SM
51072012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5110 a function if there's a clear indication that it has a compiler-macro.
5111 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5112 (macro-declarations-alist): Add arglist to declaration functions.
5113 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5114 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5115 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5116 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5117 Also add autoload to find the compiler macro.
5118 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5119 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5120 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5121 (cl--compiler-macro-get): New functions, replacing calls to
5122 cl-define-compiler-macro.
5123 (cl-typep) [compiler-macro]: Use macroexp-let².
5124
f81298f8 51252012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5126
5127 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5128 string properly, fixes Bug#11473.
5129
4b56d0fe
CY
51302012-06-08 Chong Yidong <cyd@gnu.org>
5131
5132 * faces.el (set-face-attribute): Doc fix.
5133 (modify-face): Don't use :bold and :italic.
5134 (error, warning, success): Tweak definitions.
5135
5136 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5137 (custom-modified, custom-set, custom-changed, custom-themed)
5138 (custom-saved, custom-button, custom-button-mouse)
5139 (custom-button-pressed, custom-state, custom-comment-tag)
5140 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5141 (custom-group-subtitle): Use new-style face specs.
5142 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5143 (custom-set-face, custom-changed-face, custom-saved-face)
5144 (custom-button-face, custom-button-pressed-face)
5145 (custom-documentation-face, custom-state-face)
5146 (custom-comment-face, custom-comment-tag-face)
5147 (custom-variable-tag-face, custom-variable-button-face)
5148 (custom-face-tag-face, custom-group-tag-face-1)
5149 (custom-group-tag-face): Remove obsolete face alias.
5150
5151 * epa.el (epa-validity-high, epa-validity-medium)
5152 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5153 (epa-field-name, epa-field-body):
5154 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5155 (font-lock-keyword-face, font-lock-builtin-face)
5156 (font-lock-function-name-face, font-lock-variable-name-face)
5157 (font-lock-type-face, font-lock-constant-face):
5158 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5159 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5160 * speedbar.el (speedbar-button-face, speedbar-file-face)
5161 (speedbar-directory-face, speedbar-tag-face)
5162 (speedbar-selected-face, speedbar-highlight-face)
5163 (speedbar-separator-face):
5164 * whitespace.el (whitespace-newline, whitespace-space)
5165 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5166 (whitespace-line, whitespace-space-before-tab)
5167 (whitespace-space-after-tab, whitespace-indentation)
5168 (whitespace-empty):
5169 * emulation/cua-base.el (cua-global-mark):
5170 * eshell/em-prompt.el (eshell-prompt):
5171 * net/newst-plainview.el (newsticker-new-item-face)
5172 (newsticker-old-item-face, newsticker-immortal-item-face)
5173 (newsticker-obsolete-item-face, newsticker-date-face)
5174 (newsticker-statistics-face, newsticker-default-face):
5175 * net/newst-reader.el (newsticker-feed-face)
5176 (newsticker-extra-face, newsticker-enclosure-face):
5177 * net/newst-treeview.el (newsticker-treeview-face)
5178 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5179 (newsticker-treeview-immortal-face)
5180 (newsticker-treeview-obsolete-face)
5181 (newsticker-treeview-selection-face):
5182 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5183 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5184 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5185 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5186 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5187 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5188 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5189 (mpuz-text):
5190 * progmodes/vera-mode.el (vera-font-lock-number)
5191 (vera-font-lock-function, vera-font-lock-interface):
5192 * textmodes/table.el (table-cell): Use new-style face specs, and
5193 don't use the old :bold and :italic attributes.
5194
5195 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5196 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5197 (ebrowse-member-class, ebrowse-progress): Likewise.
5198 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5199 (ebrowse-file-name-face, ebrowse-default-face)
5200 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5201 (ebrowse-progress-face): Remove obsolete faces.
5202
5203 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5204 Inherit from error and warning faces respectively.
5205
5206 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5207 Likewise.
f80efb86
SM
5208 (flyspell-incorrect-face, flyspell-duplicate-face):
5209 Remove obsolete aliases.
4b56d0fe 5210
03310646
MA
52112012-06-08 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5214 Avoid infloop.
5215
513749ee
SM
52162012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5217
5218 * startup.el (argv, argi): Make lexically scoped.
5219 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5220 * emacs-lisp/cl-macs.el: Use lexical-binding.
5221 Rename cl-bind-* to cl--bind-*.
5222 * files.el: Don't require `cl' since it doesn't use it.
5223 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5224
595ef4ad
JB
52252012-06-08 Juanma Barranquero <lekktu@gmail.com>
5226
5227 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5228 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5229 instead of calling external sort utility.
5230 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5231
e9f66fcb
EZ
52322012-06-08 Eli Zaretskii <eliz@gnu.org>
5233
5234 * descr-text.el (describe-char): Mention how to insert the
5235 character, if the current input method doesn't support it.
5236 See the discussion in this thread for the details:
5237 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5238
3d10db47
SS
52392012-06-08 Sam Steingold <sds@gnu.org>
5240
5241 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5242 XF86Back to previous-buffer.
5243 (minibuffer-local-map): Bind them to next-history-element and
5244 previous-history-element respectively.
5245 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5246 help-go-back respectively.
5247 * info.el (Info-mode-map): Bind them to Info-history-forward and
5248 Info-history-back respectively.
5249 These are the keys next to Up on the ThinkPad keyboard.
5250
de7e2b36
SM
52512012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5252
5253 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5254 * emacs-lisp/cl-macs.el: Provide itself.
5255 (cl--labels-convert-cache): New var.
5256 (cl--labels-convert): New function.
5257 (cl-flet, cl-labels): New implementation with new semantics, relying on
5258 lexical-binding.
5259 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5260 (cl-closure-vars, cl--function-convert-cache)
5261 (cl--function-convert): Move from cl-macs.el.
5262 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5263 rename by removing the "cl-" prefix.
5264 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5265
6fa6c4ae
SM
52662012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5269 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5270 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5271 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5272 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5273 (cl-hash-table-count): Add old compatibility aliases.
5274
5275 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5276 Use macroexpand-all-environment instead.
5277 (cl--old-macroexpand): New var.
5278 (cl--sm-macroexpand): New function.
5279 (cl-symbol-macrolet): Use it during macro expansion.
5280 (cl--function-convert-cache): New var.
5281 (cl--function-convert): New function, extracted from
5282 cl-macroexpand-all.
5283 (cl-lexical-let): Use it.
5284
5285 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5286 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5287 (cl-member): Remove old alias.
5288
5289 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5290 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5291 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5292 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5293 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5294 (cl-macroexpand-cmacs): Remove var.
5295 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5296 Use macroexpand-all instead.
5297
4dd1c416
SM
52982012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5299
5300 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5301 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5302 (macroexp-copyable-p): New functions and macros.
5303 * emacs-lisp/edebug.el (edebug-unwrap):
5304 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5305 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5306 (pcase--let*): Remove.
5307 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5308 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5309 macroexp-const-p instead.
5310 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5311
5312 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5313 instead of "cl-" for internal definitions. Use macroexp-const-p.
5314 (cl-old-bc-file-form): Remove var.
5315 (cl-const-exprs-p): Remove fun.
5316 (cl-labels, cl-macrolet): Use backquote.
5317 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5318 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5319 (cl-define-setf-expander): Rename from cl-define-setf-method.
5320 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5321
5322 * international/mule-cmds.el: Don't require CL.
5323 (view-hello-file): Don't use `letf'.
5324
ed8bd4d7
SM
53252012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5326
7287f2f3
SM
5327 * tmm.el (tmm-prompt): Use string-prefix-p.
5328 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5329 (tmm-add-prompt): Use minibuffer-completion-help.
5330 (tmm-delete-map): Remove.
5331
ed8bd4d7
SM
5332 * subr.el (kbd): Make it its own function.
5333
7b4cdbf4
SM
53342012-06-07 Stefan Merten <smerten@oekonux.de>
5335
5336 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5337 Silence compiler warnings. Fix versions.
ed8bd4d7 5338 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5339 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5340 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5341 (rst-package-emacs-version-alist): Correct Emacs version to
5342 represent major merge with upstream.
ed8bd4d7 5343 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5344
2b48d721
GM
53452012-06-06 Glenn Morris <rgm@gnu.org>
5346
5347 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5348 Only print environment variables if set.
5349
fa779ab0
SM
53502012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5351
5352 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5353 (macroexp--cons): Rename from maybe-cons.
5354 (macroexp--accumulate): Rename from macroexp-accumulate.
5355 (macroexp--all-forms): Rename from macroexpand-all-forms.
5356 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5357 (macroexp--expand-all): Rename from macroexpand-all-1.
5358
628299e0
SS
53592012-06-06 Sam Steingold <sds@gnu.org>
5360
5361 * calendar/calendar.el (calendar-in-read-only-buffer):
5362 Call `special-mode' to enable the standard read-only keybindings.
5363
b7bb5838
SM
53642012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5367 with "loading" messages (bug#11635).
5368
dfb308ba
MA
53692012-06-06 Michael Albinus <michael.albinus@gmx.de>
5370
5371 * files.el (enable-remote-dir-locals): New option.
5372 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5373
0372ee92
MA
5374 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5375 Ensure, that the temp directory is local.
5376
5377 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5378 `temporary-file-directory'.
5379
eed0bb91
MA
5380 * progmodes/python.el (python-send-region): Ensure, that the
5381 temporary file is created also in the remote case.
5382
7a58f64d
GM
53832012-06-06 Glenn Morris <rgm@gnu.org>
5384
f7dd4e98
GM
5385 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5386 (vc-rcs-update-changelog): Use it.
5387
090bd7cb 5388 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5389
7a58f64d
GM
5390 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5391 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5392 (vc-sccs-diff): Replace use of the external vcdiff script.
5393
daed4003
GM
53942012-06-05 Glenn Morris <rgm@gnu.org>
5395
5396 * ledit.el: Move to obsolete/.
5397
48c455c7
SS
53982012-06-05 Sam Steingold <sds@gnu.org>
5399
ed9265fc 5400 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5401 patch (Bug#11140).
5402
57a7d507
SM
54032012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5404
090bd7cb 5405 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5406
53aacf21
SM
5407 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5408 compiler-macro expansion.
5409
57a7d507
SM
5410 Add native compiler-macro support.
5411 * emacs-lisp/macroexp.el (macroexpand-all-1):
5412 Support compiler-macros directly. Properly follow aliases and apply
5413 the compiler macros more thoroughly.
5414 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5415 macroexpand now properly follows aliases.
5416 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5417 (cl-compiler-macroexpand): Use new prop.
5418 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5419
5420 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5421
51a5f9d8
MR
54222012-06-05 Martin Rudalics <rudalics@gmx.at>
5423
5424 * window.el (get-lru-window, get-mru-window, get-largest-window):
5425 New argument NOT-SELECTED to avoid picking the selected window.
5426 (window--display-buffer-1, window--display-buffer-2): Replace by
5427 new function window--display-buffer
5428 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5429 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5430 Use window--display-buffer.
51a5f9d8
MR
5431 (display-buffer-use-some-window): Remove temporary dedication
5432 hack by calling get-lru-window and get-largest-window with
5433 NOT-SELECTED argument non-nil. Call window--display-buffer.
5434
08f9f738
GM
54352012-06-05 Glenn Morris <rgm@gnu.org>
5436
5437 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5438 Replace external vcdiff script.
5439
e364a2b7
SM
54402012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5441
5442 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5443
041df390
CY
54442012-06-04 Chong Yidong <cyd@gnu.org>
5445
e364a2b7
SM
5446 * image.el (imagemagick-types-inhibit): Revert last change.
5447 Add INFO and M.
47b36b94 5448 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5449
7c1898a7
SM
54502012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * emacs-lisp/cl-lib.el: Rename from cl.el.
5453 * emacs-lisp/cl.el: New compatibility file.
5454 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5455 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5456 to obey the "cl-" prefix.
5457 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5458
0c3461de
GM
54592012-06-03 Glenn Morris <rgm@gnu.org>
5460
1e266c88
GM
5461 * emacs-lisp/authors.el (authors-aliases): Addition.
5462
0c3461de
GM
5463 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5464 Fix :version.
5465
d8a52e15
SM
54662012-06-03 Stefan Merten <smerten@oekonux.de>
5467
5468 * textmodes/rst.el: Add comments.
5469 (rst-transition, rst-adornment): New faces.
5470 (rst-adornment-faces-alist): Make default safe to reevaluate.
5471 Fixes
5472 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5473 Improve customization tags.
5474 (rst-define-level-faces): Clarify meaning.
5475
5205d6f6
CY
54762012-06-03 Chong Yidong <cyd@gnu.org>
5477
5478 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5479 (compilation-mode-line-run, compilation-mode-line-exit):
5480 New faces.
5205d6f6
CY
5481 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5482
757ee657
JD
54832012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5484
7c1898a7
SM
5485 * progmodes/which-func.el (which-func-update-ediff-windows):
5486 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5487
5f2c76c6
CY
54882012-06-03 Chong Yidong <cyd@gnu.org>
5489
5490 * bindings.el: Remove explicit help text from format-mode-line.
5491 It is now supplied by mode-line-default-help-echo.
5492 (mode-line-front-space, mode-line-end-spaces)
5493 (mode-line-misc-info): New variables.
5494 (mode-line-modes, mode-line-position): Move the default value to
5495 the variable definition.
5496 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5497 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5498 (mode-line-modified-help-echo): New functions.
5499 (mode-line-mule-info, mode-line-modified): Use them.
5500 (mode-line-eol-desc, propertized-buffer-identification):
5501 Consistency fixes for help text.
cbe46e5f
CY
5502 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5503 set-buffer-file-coding-system (Bug#289).
5504 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5505
f2d6a3df
SM
55062012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * simple.el (execute-extended-command): Set real-this-command
5509 (bug#11506).
5510
37269466
CY
55112012-06-02 Chong Yidong <cyd@gnu.org>
5512
5513 Remove incorrect uses of "modeline" in comments, docstrings, and
5514 function/variable names (Bug#10329).
5515
5516 * cus-edit.el (mode-line):
5517 * dframe.el (dframe-mouse-hscroll):
5518 * emacs-lisp/re-builder.el:
5519 * emacs-lisp/easy-mmode.el (define-minor-mode):
5520 * frame.el (set-frame-name):
5521 * help.el (lookup-minor-mode-from-indicator):
5522 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5523 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5524 (c-toggle-hungry-state):
5525 * progmodes/antlr-mode.el (antlr-language-alist):
5526 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5527 * progmodes/vhdl-mode.el (vhdl-mode):
5528 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5529 * term/ns-win.el (ns-face-at-pos):
5530 * term/sup-mouse.el (sup-mouse-report):
5531 * textmodes/flyspell.el (flyspell-mode-line-string):
5532 * textmodes/ispell.el (ispell-highlight-face):
5533 * textmodes/reftex-global.el:
5534 * vc/vc-arch.el (vc-arch-mode-line-string):
5535 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5536 * vc/vc-git.el (vc-git-mode-line-string):
5537 * vc/vc-hooks.el (vc-display-status)
5538 (vc-default-mode-line-string):
5539 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5540
5541 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5542
5543 * dired.el (dired-sort-set-mode-line): Rename from
5544 dired-sort-set-modeline. All callers changed.
5545
5546 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5547 eshell-status-in-modeline.
5548
5549 * foldout.el (foldout-mode-line-string): Rename from
5550 foldout-modeline-string. All callers changed.
5551 (foldout-update-mode-line): Rename from foldout-update-modeline.
5552
5553 * subr.el (redraw-modeline): Make into obsolete alias.
5554
5555 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5556 timeclock-modeline-display. Make old name an alias.
5557 (timeclock-update-mode-line): Likewise. All callers changed.
5558 (timeclock-mode-line-display): No need to check before using
5559 add-hook.
5560 (timeclock-relative, timeclock-day-over-hook)
5561 (timeclock-use-elapsed, timeclock-mode-string)
5562 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5563
5564 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5565 crisp-mode-modeline-string.
5566
5567 * play/solitaire.el (solitaire-build-mode-line): Rename from
5568 solitaire-build-modeline. All callers changed.
5569
5570 * play/zone.el (zone-hiding-mode-line): Rename from
5571 zone-hiding-modeline. All callers changed.
5572 (zone): Remove unusued `modeline-hidden-level' property.
5573
5574 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5575 xscheme-modeline-initialize. All callers changed.
5576
5577 * strokes.el (strokes-lighter): Rename from
5578 strokes-modeline-string.
5579
5580 * textmodes/sgml-mode.el (html-face-tag-alist)
5581 (html-tag-face-alist): Use mode-line face instead of obsolete
5582 alias modeline.
5583
42152ee4
SM
55842012-06-02 Stefan Merten <smerten@oekonux.de>
5585
5586 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5587 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5588
95f520b5
CY
55892012-06-02 Chong Yidong <cyd@gnu.org>
5590
5591 * image.el (imagemagick-enabled-types): Rename from
5592 imagemagick-types-enable. Add many more types.
5593 (imagemagick-types-inhibit): Change default to nil.
5594 (imagemagick-filter-types): Caller changed.
5595
4a5f187a
SM
55962012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5597
03fef3e6
SM
5598 * emacs-lisp/cl-macs.el: Use backquotes.
5599 (cl-transform-function-property): Use eval-and-compile rather than
5600 abusing `require'.
5601 (defstruct): Use declare-function instead of with-no-warnings.
5602
4a5f187a
SM
5603 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5604 (byte-compile-output-docform): Re-add the print-circle bindings.
5605 (byte-compile-fix-header): Use #$ just because it's shorter.
5606 (byte-compile-output-file-form): Remove defun/defmacro.
5607
bd56924f
MR
56082012-06-01 Martin Rudalics <rudalics@gmx.at>
5609
5610 * simple.el (choose-completion): Remove now obsolete binding for
5611 owindow.
5612
046e38ce
MA
56132012-06-01 Michael Albinus <michael.albinus@gmx.de>
5614
5615 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5616 in order to avoid "Stack overflow in regexp matcher".
5617
32d72c2f
GM
56182012-05-31 Glenn Morris <rgm@gnu.org>
5619
5620 * image.el: For clarity, call imagemagick-register-types at
5621 top-level, rather than relying on a custom :initialize.
5622 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5623 (imagemagick-filter-types): New function. (Bug#7406)
5624 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5625 If disabling support, remove elements altogether rather
5626 than using an impossible regexp.
5627 (imagemagick-types-inhibit): Give it the default init function.
5628
dd41169b
SM
56292012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5630
4a5f187a
SM
5631 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5632 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5633
efc00ab1 56342012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5635
5636 * desktop.el (desktop-read): Clear previous and next buffers for
5637 all windows and bury *Messages* buffer (bug#11556).
5638
500fcedc
SM
56392012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5640
5641 Add `declare' for `defun'. Align `defmacro's with it.
5642 * emacs-lisp/easy-mmode.el (define-minor-mode)
5643 (define-globalized-minor-mode): Don't autoload the var definitions.
5644 * emacs-lisp/byte-run.el: Use lexical-binding.
5645 (defun-declarations-alist, macro-declarations-alist): New vars.
5646 (defmacro, defun): Use them.
5647 (make-obsolete, define-obsolete-function-alias)
5648 (make-obsolete-variable, define-obsolete-variable-alias):
5649 Use `declare'.
5650 (macro-declaration-function): Mark obsolete.
5651 * emacs-lisp/autoload.el: Use lexical-binding.
5652 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5653
6e8a1786
AM
56542012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5655
5656 * textmodes/ispell.el (ispell-with-no-warnings):
5657 Define as a macro.
500fcedc
SM
5658 (ispell-kill-ispell, ispell-change-dictionary):
5659 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5660 `interactive-p'.
5661
61b108cc
SM
56622012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5665 (macro-declaration-function): Move var from C code.
5666 (macro-declaration-function): Define function with defalias.
5667 * emacs-lisp/macroexp.el (macroexpand-all-1):
5668 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5669 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5670 defun/defmacro any more.
5671 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5672 Provide fallback for unknown arglist.
5673 (byte-compile-arglist-warn): Change calling convention.
5674 (byte-compile-output-file-form): Move print-vars binding.
5675 (byte-compile-output-docform): Simplify accordingly.
5676 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5677 (byte-compile-defmacro-declaration): Remove.
5678 (byte-compile-file-form-defmumble): Generalize to defalias.
5679 (byte-compile-output-as-comment): Return byte-positions.
5680 Simplify callers accordingly.
5681 (byte-compile-lambda): Use `assert'.
5682 (byte-compile-defun, byte-compile-defmacro): Remove.
5683 (byte-compile-file-form-defalias):
5684 Use byte-compile-file-form-defmumble.
5685 (byte-compile-defalias-warn): Remove.
5686
6d3f7c2f
SM
56872012-05-29 Stefan Merten <smerten@oekonux.de>
5688
5689 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5690 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5691
5692 (rst-mode-abbrev-table): Merge definition.
5693 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5694 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5695
6dbaa1c7
UJ
56962012-05-29 Ulf Jasper <ulf.jasper@web.de>
5697
5698 * calendar/icalendar.el
5699 (icalendar-export-region): Export UID properly.
5700
d209e2fb 57012012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5702 * calendar/icalendar.el (icalendar-import-format):
5703 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5704 (icalendar-import-format-uid): New.
5705 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5706 Export UID.
5707
6876a58d
SM
57082012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5711 different alternative patterns.
5712 (pcase-codegen): Be more careful to preserve identity.
5713 (pcase--u1): Don't forget to mark vars as used.
5714
5715 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5716 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5717 (byte-compile-from-buffer): ...rather than here.
5718
5719 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5720 functions from byte-compile-function-environment.
5721
46b7967e
TN
57222012-05-29 Troels Nielsen <bn.troels@gmail.com>
5723
5724 * window.el (window-deletable-p): Avoid deleting the root window
5725 of a frame with an active minibuffer.
5726
69d565e2
MR
57272012-05-29 Martin Rudalics <rudalics@gmx.at>
5728
5729 * simple.el (choose-completion): Use quit-window (Bug#11567).
5730
a149fa51
CY
57312012-05-29 Chong Yidong <cyd@gnu.org>
5732
5733 * whitespace.el (whitespace-cleanup): Fix usage of
5734 whitespace-empty-at-bob-regexp (Bug#11492).
5735
2b311310
AH
57362012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5737
5738 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5739 revert (Bug#11488).
5740
b9cb2387
JL
57412012-05-29 Juri Linkov <juri@jurta.org>
5742
5743 * isearch.el (isearch-mode-map): Bind `M-s _' to
5744 `isearch-toggle-symbol'. Bind `M-s c' to
5745 `isearch-toggle-case-fold'.
5746 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5747 (isearch-forward): Add `M-s _' to the docstring.
5748 (isearch-forward-symbol, isearch-toggle-case-fold)
5749 (isearch-symbol-regexp): New functions. (Bug#11381)
5750
d5e61c1c
JL
57512012-05-29 Juri Linkov <juri@jurta.org>
5752
5753 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5754 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5755 a function, call it to get the regexp.
5756 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5757 property `isearch-message-prefix' instead of the string "word ".
5758 (isearch-search-fun-default): For the case of `isearch-word',
5759 return a lambda that calls re-search-forward/re-search-backward
5760 with a regexp returned by `word-search-regexp' or by the function
5761 in `isearch-word'.
5762
8cbd80f7
JL
57632012-05-29 Juri Linkov <juri@jurta.org>
5764
5765 * isearch.el (isearch-search-fun-default): New function.
5766 (isearch-search-fun): Move default part to the new function
5767 `isearch-search-fun-default'.
5768 (isearch-search-fun-function): Set the default value to
5769 `isearch-search-fun-default'. (Bug#11381)
5770
5771 * comint.el (comint-history-isearch-end):
5772 Use `isearch-search-fun-default'.
5773 (comint-history-isearch-search): Use `isearch-search-fun-default'
5774 and remove spacial case for `isearch-word'.
5775 (comint-history-isearch-wrap): Remove spacial case for
5776 `isearch-word'.
5777
5778 * hexl.el (hexl-isearch-search-function):
5779 Use `isearch-search-fun-default'.
5780
5781 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5782 Use `word-search-regexp' for `isearch-word'.
5783
5784 * misearch.el (multi-isearch-search-fun):
5785 Use `isearch-search-fun-default'.
5786
5787 * simple.el (minibuffer-history-isearch-search):
5788 Use `isearch-search-fun-default' and remove spacial case for
5789 `isearch-word'.
5790 (minibuffer-history-isearch-wrap): Remove spacial case for
5791 `isearch-word'.
5792
5793 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5794 Remove spacial case for `isearch-word'.
5795 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5796
85c8c5b6
AM
57972012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5798
5799 Decrease XEmacs incompatibilities.
5800 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5801 Use `string-match'.
5802 (flyspell-delete-region-overlays): Use alternative definition for
5803 XEmacs.
5804 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5805 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5806 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5807 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5808 `define-obsolete-face-alias' under XEmacs, but old method.
5809
5810 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5811 `with-no-warnings' definition or Emacs alias.
5812 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5813 (ispell-word): Do not use `region-p' if XEmacs.
5814
8cab9efc
AM
58152012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5816
5817 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5818 Check for `ispell-dictionary-base-alist' instead of full
5819 `ispell-dictionary-alist'.
5820 (ispell-init-process): Show spellchecker when starting new Ispell
5821 process.
5822
fda91268
RZ
58232012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5824
5825 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5826 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5827
694ea8e3
JB
58282012-05-27 Juanma Barranquero <lekktu@gmail.com>
5829
5830 * version.el (motif-version-string, gtk-version-string)
5831 (ns-version-string): Declare.
5832
e4d4f539
JL
58332012-05-27 Juri Linkov <juri@jurta.org>
5834
5835 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5836 after the `eval-defun-1' specialcaseing
5837 like in `edebug-eval-defun' (bug#10181).
5838
5839 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5840 like in `eval-defun-1'.
5841
33017faf 58422012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5843
fda91268
RZ
5844 * mail/sendmail.el (mail-yank-region):
5845 Recognize rmail-yank-current-message in addition to insert-buffer.
5846 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5847 a *mail* buffer created through rmail-start-mail with sendmail as
5848 mail-user-agent.
5849
33017faf
GM
58502012-05-27 Chong Yidong <cyd@gnu.org>
5851
5852 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5853 Default to 256 (Bug#11267).
5854
5855 * help.el (describe-mode): Doc fix.
5856
04188bb9
GM
58572012-05-26 Glenn Morris <rgm@gnu.org>
5858
38264cc9
GM
5859 * w32-fns.el (w32-init-info): Remove.
5860 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5861
eb7afdad
GM
5862 * info.el (info-initialize): For self-contained NS builds, put the
5863 included info/ directory at the front. (Bug#2791)
5864
04188bb9
GM
5865 * paths.el (Info-default-directory-list): Make it a defcustom,
5866 mainly so that we can use custom-initialize-delay.
5867
a179e3f7
SM
58682012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5869
43416392
SM
5870 * subr.el (buffer-has-markers-at): Mark obsolete.
5871
a179e3f7 5872 * subr.el (lambda): Use declare.
43416392 5873
a179e3f7
SM
5874 * emacs-lisp/lisp-mode.el (lambda):
5875 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5876
34a008d9
AH
58772012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5878
5879 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5880
0a3b289f
GM
58812012-05-26 Glenn Morris <rgm@gnu.org>
5882
5883 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5884
758c81e8
GM
58852012-05-25 Glenn Morris <rgm@gnu.org>
5886
f9f334f0
GM
5887 * paths.el: Remove no-byte-compile.
5888 * loadup.el: No need to load paths.el uncompiled.
5889
87eb79c2
GM
5890 * image.el (imagemagick-types-inhibit): Doc fix.
5891
758c81e8
GM
5892 * version.el: Remove no-byte-compile and associated formatting.
5893 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5894 is ancient code from when there was an "inc-vers.el".
5895
e7e85dc0
SM
58962012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * progmodes/gdb-mi.el: Minor style changes.
5899 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5900 Turn into minor modes.
5901 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5902 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5903 (gdb-shell): Remove unneeded let-binding.
5904 (gdb-get-many-fields): Eliminate O(n²) behavior.
5905
f31237a4
EZ
59062012-05-25 Eli Zaretskii <eliz@gnu.org>
5907
5908 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5909 platforms that don't link in fontset.c.
5910
bc1b21bb
JL
59112012-05-25 Juri Linkov <juri@jurta.org>
5912
5913 Use the same diff color scheme as in modern VCSes (bug#10181).
5914
5915 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5916 to avoid confusion with `diff-added' that now uses green colors.
5917 (diff-removed): Use shades of red.
5918 (diff-added): Use shades of green.
5919 (diff-changed): Leave just the yellow color.
5920 (diff-use-changed-face): New variable.
5921 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5922 how to highlight context diff changes.
5923 (diff-refine-change): Use shades of yellow.
5924 (diff-refine-removed): New face that uses shades of red.
5925 (diff-refine-added): New face that uses shades of green.
5926 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5927 `diff-refine-removed' in the call to `smerge-refine-subst'
5928 depending on the value of `diff-use-changed-face'.
5929
5930 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5931 (smerge-other): Use shades of green.
5932 (smerge-base): Use shades of yellow.
5933 (smerge-refined-change): Empty face.
5934 (smerge-refined-removed): New face that uses shades of red.
5935 (smerge-refined-added): New face that uses shades of green.
5936 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5937 args `props-r' and `props-a', and use them. Doc fix.
5938 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5939 on its value use different faces `smerge-refined-change',
5940 `smerge-refined-removed', `smerge-refined-added' in the call to
5941 `smerge-refine-subst'.
5942
5943 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5944 Add face condition `min-colors 88' with shades of red.
5945 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5946 `min-colors 88' with shades of green.
5947 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5948 `min-colors 88' with shades of yellow.
5949
6df9112c
GM
59502012-05-24 Glenn Morris <rgm@gnu.org>
5951
ead5edc0
GM
5952 * paths.el (prune-directory-list, remote-shell-program): Move to...
5953 * files.el (prune-directory-list, remote-shell-program): ...here.
5954 For the latter, delay initialization, prefer ssh, just search PATH.
5955
f18b81e6
GM
5956 * paths.el (term-file-prefix): Move to faces.el (the only user).
5957 * faces.el (term-file-prefix): Move here, make it a defcustom.
5958
ee2f89a6
GM
5959 * paths.el (news-directory, news-path, news-inews-program):
5960 Move to gnus/nnspool.el.
61a583ca 5961
f8815e4c
GM
5962 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5963
c8f3b42c
GM
5964 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5965 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5966 Make the latter a defcustom, with a delayed initialization.
5967
6df9112c
GM
5968 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5969 These were deleted from Gnus itself late 2010.
5970
5dadff36
JB
59712012-05-22 Juanma Barranquero <lekktu@gmail.com>
5972
9e1701c6
JB
5973 * progmodes/which-func.el (which-func-ff-hook):
5974 Check against user-error, not error.
5975
bd7239f5 5976 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5977 cl-specs.el, which no longer exists.
5978
3290526d
GM
59792012-05-22 Glenn Morris <rgm@gnu.org>
5980
5981 * info.el (info-emacs-bug): New command.
5982 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5983 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5984
ff0c3cfb
GM
59852012-05-21 Glenn Morris <rgm@gnu.org>
5986
5987 * makefile.w32-in (update-subdirs-SH):
5988 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5989
5814f126
SM
59902012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5991
a52c0aa0
SM
5992 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5993
5814f126
SM
5994 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5995 Simplify Maven regexp, and make sure the file can't start with a space
5996 (bug#11517).
5997
b847032c
GM
59982012-05-21 Glenn Morris <rgm@gnu.org>
5999
6000 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6001 Scrap superfluous subshells.
6002
3858bfe7
SM
60032012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6004
6005 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6006 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6007
d14b0029
JB
60082012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6009
6010 * calc/calc.el (calc-ensure-consistent-units): New variable.
6011
a52c0aa0
SM
6012 * calc/calc-units.el (math-consistent-units-p)
6013 (math-check-unit-consistency): New functions.
6014 (calc-quick-units, calc-convert-units):
6015 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6016 is non-nil.
d14b0029
JB
6017 (calc-extract-units): Fix typo.
6018
60c4db3a
SM
60192012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6020
77f3b62e
SM
6021 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6022
60c4db3a
SM
6023 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6024 (flyspell-default-deplacement-commands): Don't spell check after
6025 repeated window/frame switches (e.g. triggered by mouse-movement).
6026 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6027 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6028 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6029 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6030 Remove unused vars.
6031 (flyspell-get-casechars, flyspell-get-not-casechars):
6032 Simplify; Don't bother removing a ] just to add it back.
6033 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6034
d209e2fb 60352012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6036
6037 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6038 New functions.
bd7239f5 6039 (math-function-table): Add support for more C functions.
b1a10716 6040
3f1b25b5
AM
60412012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6042
090bd7cb
JB
6043 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6044 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6045 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6046
b581bb5c
SM
60472012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6050 their respective macro declarations.
6051 * skeleton.el (define-skeleton):
6052 * progmodes/compile.el (define-compilation-mode):
6053 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6054 (define-ibuffer-filter):
6055 * emacs-lisp/generic.el (define-generic-mode):
6056 * emacs-lisp/easy-mmode.el (define-minor-mode)
6057 (define-globalized-minor-mode):
6058 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6059 * emacs-lisp/byte-run.el (defsubst):
6060 * custom.el (deftheme): Add doc-string metadata.
6061
70b8ef8f
SM
60622012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6063
6064 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6065
b1198e17
SM
60662012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6067
9abdc45d
SM
6068 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6069
b1198e17
SM
6070 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6071 * emacs-lisp/cl-macs.el: Idem.
6072 * emacs-lisp/cl-specs.el: Remove.
6073
4735906a
SM
60742012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 Minor renaming of internal CL functions and variables.
6077 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6078 (cl--position): Rename from cl-position.
6079 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6080 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6081 (cl--random-state): Rename from *random-state*.
6082
ac348012
SM
60832012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6084
6085 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6086 parens around the arg list (bug#11499).
6087
a0a79cde
JL
60882012-05-17 Juri Linkov <juri@jurta.org>
6089
6090 * isearch.el (word-search-regexp, word-search-backward)
6091 (word-search-forward, word-search-backward-lax)
6092 (word-search-forward-lax): Move functions from search.c
6093 (bug#10145, bug#11381).
6094
65034a51
AM
60952012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6096
090bd7cb
JB
6097 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6098 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6099 Delay for otherchars as for normal word components.
65034a51 6100
1a72a195
SM
61012012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * minibuffer.el (completion--sifn-requote): Fix last change.
6104 (minibuffer-local-must-match-filename-map):
6105 Move define-obsolete-variable-alias before its var.
6106
fdb058c2
SM
61072012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6108
c41045e6
SM
6109 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6110
036dfb8b
SM
6111 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6112 behavior.
6113 (completion--string-equal-p): New function.
6114 (completion--twq-all): Use it to get better assertion failure data.
6115
2473256d
SM
6116 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6117 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6118 (shell--requote-argument): New functions.
6119 (shell-completion-vars): Use them.
6120 (shell--parse-pcomplete-arguments): Rename from
6121 shell-parse-pcomplete-arguments.
6122 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6123 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6124 Obey comint-file-name-quote-list.
6125
fdb058c2
SM
6126 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6127 (smie-indent-keyword): Use it.
6128
51fa99f1
SM
61292012-05-14 Stefan Merten <smerten@oekonux.de>
6130
6131 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6132
e18afed7 61332012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6134
6135 * net/rlogin.el (rlogin-mode-map): Fix last change.
6136
e18afed7 61372012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6138
6139 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6140 the following \r\n using a single `process-send-string', since the
6141 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6142 with two `process-send-string's (Bug#11444).
8633b1f4 6143
e18afed7 61442012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6145
fdb058c2
SM
6146 * shell.el (shell-parse-pcomplete-arguments):
6147 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6148
2d21d7f6
WJ
61492012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6150
e18afed7 6151 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6152 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6153 (image-transform-width, image-transform-fit-width): New functions.
6154 (image-transform-properties): Use them.
6155 (image-transform-check-size): New function.
6156 (image-toggle-display-image): Use it (for testing).
6157 (image-transform-set-rotation): Reduce angle mod 360.
6158 Delete obsolete comment.
6159
7102e6d0
WJ
61602012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6161
6162 * image-mode.el: Fix scaling (bug#11399).
6163 (image-transform-resize): Doc fix.
6164 (image-transform-properties): Default scale is 1 and height should
6165 be an integer.
6166
06bc5e6e
SM
61672012-05-13 Johan Bockgård <bojohan@gnu.org>
6168
6169 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6170 than hard-coding `car', to fix misbehavior when moving forward.
6171
0ae03b6a
CY
61722012-05-13 Chong Yidong <cyd@gnu.org>
6173
6174 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6175 (tabulated-list-entries, tabulated-list-padding)
6176 (tabulated-list-sort-key): Make permanent-local.
6177
6178 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6179 (electric-buffer-list): Put electric buffer menu
6180 command descriptions in this docstring, instead of the docstring
6181 of electric-buffer-menu-mode. Code cleanups.
6182 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6183 Electric-buffer-menu-mode.
6184 (electric-buffer-update-highlight): Minor code cleanup.
6185
205a7391
MA
61862012-05-13 Michael Albinus <michael.albinus@gmx.de>
6187
6188 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6189 (Bug#11447)
6190
e5bd0a28
SM
61912012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 Move define-obsolete-variable-alias before the var's definition.
6194 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6195 * tooltip.el (tooltip-hook):
6196 * textmodes/reftex-toc.el (reftex-toc-map):
6197 * textmodes/reftex-sel.el (reftex-select-label-map)
6198 (reftex-select-bib-map):
6199 * textmodes/reftex-index.el (reftex-index-map)
6200 (reftex-index-phrases-map):
6201 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6202 * progmodes/meta-mode.el (meta-mode-map):
6203 * novice.el (disabled-command-hook):
6204 * loadhist.el (unload-hook-features-list):
6205 * frame.el (blink-cursor):
6206 * files.el (find-file-not-found-hooks, write-file-hooks)
6207 (write-contents-hooks):
6208 * emulation/tpu-edt.el (GOLD-map):
6209 * emacs-lock.el (emacs-lock-from-exiting):
6210 * emacs-lisp/generic.el (generic-font-lock-defaults):
6211 * emacs-lisp/chart.el (chart-map):
6212 * dos-fns.el (register-name-alist):
6213 * dired-x.el (dired-omit-files-p):
6214 * desktop.el (desktop-enable):
6215 * cus-edit.el (custom-mode-hook):
6216 * buff-menu.el (buffer-menu-mode-hook):
6217 * bookmark.el (bookmark-read-annotation-text-func)
6218 (bookmark-exit-hooks):
6219 * allout.el (allout-mode-deactivate-hook)
6220 (allout-exposure-change-hook, allout-structure-added-hook)
6221 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6222 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6223 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6224 comes before the corresponding variable's definition.
6225
ac59c2f6
CY
62262012-05-12 Chong Yidong <cyd@gnu.org>
6227
6228 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6229 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6230 (Buffer-menu-mode-map): Bind it.
6231 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6232
dee6c9a3
SM
62332012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6234
2171cea5
SM
6235 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6236 (prolog-upper-case-string, prolog-lower-case-string)
6237 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6238 (prolog-use-smie, prolog-smie-grammar): New vars.
6239 (prolog-smie-forward-token, prolog-smie-backward-token)
6240 (prolog-smie-rules): New funs.
6241 (prolog-comment-indent): Remove.
6242 (prolog-mode-variables): Use default comment indentation instead.
6243 Setup SMIE.
6244 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6245 (prolog-mode): Don't call them any more.
6246 (prolog-electric-colon, prolog-electric-dash)
6247 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6248
aa0382bd
SM
6249 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6250
dbacb4bd
SM
6251 * minibuffer.el (completion--twq-all): Again, allow case differences.
6252
13bdd94c
SM
6253 * term.el: Move keymap initialization code to be more idiomatic.
6254 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6255 (term-terminal-menu): Move initialization into declaration.
6256 (term-escape-char): Let the user set it in her .emacs.
6257
ff46c759
SM
6258 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6259 Provide SMIE-based indentation (not enabled by default yet).
6260 (sh-mode-map): Don't bind electric keys.
6261 Use electric-pair-mode instead of skeleton-pair.
6262 (sh-assignment-regexp): Fit within 80 columns.
6263 (sh-indent-supported): Specify actual shell name instead of boolean.
6264 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6265 (sh-maybe-here-document): Use it. Make obsolete.
6266 (sh-electric-here-document-mode) New minor mode.
6267 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6268 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6269 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6270 (sh-smie-rc-grammar, sh-use-smie): New vars.
6271 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6272 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6273 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6274 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6275 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6276 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6277 (sh-set-shell): Use smie-setup if requested.
6278
dee6c9a3
SM
6279 * term.el (term-set-escape-char): Properly set term-escape-char.
6280 See http://stackoverflow.com/questions/10524656.
6281
9f9aa044
CY
62822012-05-10 Chong Yidong <cyd@gnu.org>
6283
6284 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6285 Use url-generic-parse-url, and handle host names and Windows
6286 filenames properly.
6287 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6288 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6289 URL schemes to work on.
6290 (ffap--toggle-read-only): New function.
6291 (ffap-read-only, ffap-read-only-other-window)
6292 (ffap-read-only-other-frame): Use it.
6293 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6294 necessary for ffap-url-unwrap-remote.
6295
836d29b3
DA
62962012-05-10 Dave Abrahams <dave@boostpro.com>
6297
6298 * cus-start.el (create-lockfiles): Add it.
6299
00fd78ed
CY
63002012-05-09 Chong Yidong <cyd@gnu.org>
6301
6302 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6303 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6304
666b903b 63052012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6306
6307 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6308
666b903b 63092012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6310
6311 * ansi-color.el (ansi-color-process-output): Check for validity of
6312 comint-last-output-start before using it. This avoids a bad
6313 interaction with gdb-mi's input/output buffer.
6314
666b903b 63152012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6316
6317 * files.el (dir-locals-read-from-file):
6318 Mention dir-locals in any error message.
6319
666b903b 63202012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6321
6322 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6323 package (Bug#11410).
6324
f677562b
CY
6325 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6326 variables into description.
6327
666b903b 63282012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6329
6330 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6331 shell-delimiter-argument-list (bug#11348).
6332 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6333
b499d8d0
JB
63342012-05-09 Juanma Barranquero <lekktu@gmail.com>
6335
8f6b6da8
JB
6336 * textmodes/rst.el: Silence byte-compiler warnings.
6337 (rst-re-alist, rst-reset-section-caches): Move around.
6338 (rst-re): Use `characterp', not `char-valid-p'.
6339 (font-lock-beg, font-lock-end): Declare.
6340
4824146a
JB
6341 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6342 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6343
b499d8d0
JB
6344 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6345
ad89bb83
GM
63462012-05-08 Glenn Morris <rgm@gnu.org>
6347
6348 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6349
8bba5a75
SM
63502012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6351
49ed9c8e
SM
6352 * vc/log-edit.el: Add GNU coding standards highlighting.
6353 (log-edit-font-lock-gnu-style)
6354 (log-edit-font-lock-gnu-keywords): New vars.
6355 (log-edit-font-lock-keywords): New fun.
6356 (log-edit-mode): Don't fold case in font-lock.
6357 (log-edit-font-lock-keywords): Do not assume case-folding.
6358
07d00b56
SM
6359 * imenu.el: Misc cleanup. Make docstrings out of comments.
6360 Use lexical-binding.
6361 (imenu--index-alist, imenu--last-menubar-index-alist)
6362 (imenu-menubar-modified-tick): Use defvar-local.
6363 (imenu--split-menu): Remove unused var.
6364 (imenu--cleanup-seen): Declare as global.
6365 (imenu--cleanup): Use dolist.
6366
8bba5a75
SM
6367 * subr.el (defvar-local): Add debug spec and doc-string position.
6368
5075bdb5
GM
63692012-05-08 Glenn Morris <rgm@gnu.org>
6370
090bd7cb 6371 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6372 * language/english.el, language/georgian.el, language/greek.el:
6373 * language/japanese.el, language/khmer.el, language/korean.el:
6374 * language/lao.el, language/misc-lang.el, language/romanian.el:
6375 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6376 * language/thai.el, language/utf-8-lang.el:
6377 Remove no-byte-compile setting.
6378
5075bdb5
GM
6379 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6380
06f679a7
AH
63812012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6382
6383 * progmodes/make-mode.el (makefile-browse):
6384 Remove unnecessary interactive. (Bug#11324)
6385
03794570
GM
63862012-05-07 Glenn Morris <rgm@gnu.org>
6387
af8630f4
GM
6388 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6389
03794570
GM
6390 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6391
f0809a9d
SM
63922012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6393
28be5ce7
SM
6394 * loadup.el: Preload newcomment.el.
6395 * newcomment.el: Move autoload-only code to toplevel.
6396
f0809a9d
SM
6397 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6398 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6399 Handle new :right-align column property.
6400 (tabulated-list-print-col): Idem, plus use `display' text-property to
6401 try and preserve alignment for variable pitch fonts.
6402
1241b724
CY
64032012-05-07 Chong Yidong <cyd@gnu.org>
6404
6405 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6406 (tabulated-list-use-header-line): New var.
6407 (tabulated-list-init-header): Use it.
6408 (tabulated-list-print-fake-header): New function.
6409 (tabulated-list-print): Use it.
6410 (tabulated-list-sort-button-map): Add non-header-line commands.
6411 (tabulated-list-init-header): Add column name property to basic
6412 labels as well.
6413 (tabulated-list-col-sort): Handle non-header-line button case.
6414 (tabulated-list--sort-by-column-name): Fix a corner case.
6415
f0809a9d
SM
6416 * buff-menu.el (list-buffers--refresh):
6417 Handle Buffer-menu-use-header-line.
1241b724 6418
e5f9458f
CY
64192012-05-06 Chong Yidong <cyd@gnu.org>
6420
6421 * buff-menu.el: Convert to Tabulated List mode.
6422 (Buffer-menu-buffer+size-width): Make obsolete.
6423 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6424 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6425 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6426 documentation into docstring of buffer-menu.
6427 (Buffer-menu-toggle-files-only): Add an informative message.
6428 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6429 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6430 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6431 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6432 (Buffer-menu-execute, Buffer-menu-select)
6433 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6434 (Buffer-menu-bury): Use Tabulated List machinery.
6435 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6436 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6437 Delete.
e5f9458f
CY
6438 (list-buffers--refresh): New function.
6439 (list-buffers-noselect): Use it.
6440 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6441 (Buffer-menu--pretty-file-name): New helper functions.
6442
6443 * loadup.el: Preload tabulated-list.
6444
6445 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6446 tabulated-list-sort-column.
6447 (tabulated-list-init-header): Add the initial aligning space even
6448 if tabulated-list-padding is zero.
6449
e129292c
CS
64502012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6451
6452 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6453 whose cdr is not a cons cell correctly (bug#11038).
6454
6632d361
CY
64552012-05-06 Chong Yidong <cyd@gnu.org>
6456
e129292c
CS
6457 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6458 Accept additional plist in column descriptors.
6632d361
CY
6459 (tabulated-list-init-header): Obey it.
6460 (tabulated-list-get-entry): New function.
6461 (tabulated-list-put-tag): Use it. Use string-width instead of
6462 length.
6463 (tabulated-list--column-number): New function.
6464 (tabulated-list-print): Use it.
e129292c
CS
6465 (tabulated-list-print-col): New function.
6466 Set `tabulated-list-column-name' property on each column's text.
6632d361 6467 (tabulated-list-print-entry): Use it.
e129292c
CS
6468 (tabulated-list-delete-entry, tabulated-list-set-col):
6469 New functions.
6632d361
CY
6470 (tabulated-list-sort-column): New command (Bug#11337).
6471
3cc99f68
CY
6472 * buff-menu.el (list-buffers): Move C-x C-b binding from
6473 buff-menu.el to bindings.el.
6474
6475 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6476 :advertised-binding feature.
6477
52b61776
TN
64782012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6479
6480 * progmodes/compile.el (compilation-internal-error-properties):
6481 Calculate start position correctly when end-col is set but
6482 end-line is not (Bug#11382).
6483
ebfe2597
WJ
64842012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6485
6486 * man.el (Man-unindent): Use text-property-default-nonsticky to
6487 prevent untabify from inheriting face properties (Bug#11408).
6488
6d3f7c2f
SM
64892012-05-05 Stefan Merten <smerten@oekonux.de>
6490
6491 * textmodes/rst.el: Major merge with upstream development up to
6492 Docutils SVN r7399 / rst.el V1.2.1.
6493
6494 Clarify maintainership and authors.
6495
6496 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6497 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6498 (rst-official-version, rst-official-cvs-rev, rst-version)
6499 (rst-package-emacs-version-alist): New functions and variables
6500 for version information.
6501
6502 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6503 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6504 (rst-mode-syntax-table, rst-mode): New and corrected functions
6505 and variables representing reStructuredText features.
6506
6507 (rst-re): New function for reStructuredText regexes. Use in
6508 many places.
6509
6510 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6511 (rst-mode-map): Rebind keys.
6512
6513 (rst-mode-lazy, rst-font-lock-keywords)
6514 (rst-font-lock-extend-region)
6515 (rst-font-lock-extend-region-internal)
6516 (rst-font-lock-extend-region-extend)
6517 (rst-font-lock-find-unindented-line-limit)
6518 (rst-font-lock-find-unindented-line-match)
6519 (rst-adornment-level, rst-font-lock-adornment-level)
6520 (rst-font-lock-adornment-match)
6521 (rst-font-lock-handle-adornment-pre-match-form)
6522 (rst-font-lock-handle-adornment-matcher): Major revision of
6523 font-locking. Integrate with other code. Use `jit-lock-mode'.
6524
6525 (rst-preferred-adornments, rst-adjust-hook)
6526 (rst-new-adornment-down, rst-preferred-bullets)
6527 (rst-preferred-bullets, rst-indent, rst-indent-width)
6528 (rst-indent-field, rst-indent-literal-normal)
6529 (rst-indent-literal-minimized, rst-indent-comment): Change,
6530 extend and improve customization.
6531
6532 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6533 (rst-normalize-cursor-position, rst-get-decoration)
6534 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6535 (rst-rstrip, rst-toc-insert-find-delete-contents)
6536 (rst-shift-fill-region, rst-compute-bullet-tabs)
6537 (rst-debug-print-tabs, rst-debug-mark-found)
6538 (rst-shift-region-guts, rst-shift-region-right)
6539 (rst-shift-region-left, rst-use-char-classes)
6540 (rst-font-lock-keywords-function)
6541 (rst-font-lock-indentation-point)
6542 (rst-font-lock-find-unindented-line-begin)
6543 (rst-font-lock-find-unindented-line-end)
6544 (rst-font-lock-find-unindented-line)
6545 (rst-font-lock-adornment-point, rst-font-lock-level)
6546 (rst-adornment-level-alist): Remove functions and variables.
6547
6548 (rst-compare-adornments, rst-get-adornment-match)
6549 (rst-suggest-new-adornment, rst-get-adornments-around)
6550 (rst-adornment-complete-p, rst-get-next-adornment)
6551 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6552 (rst-straighten-adornments): Standardize function names to
6553 use "adornment" instead of "decoration". Correct callers.
6554 Similar standardizing in many places.
6555
6556 (rst-update-section, rst-adjust, rst-promote-region)
6557 (rst-enumerate-region, rst-bullet-list-region)
6558 (rst-repeat-last-character): Correct use of `interactive'.
6559
6560 (rst-classify-adornment, rst-find-all-adornments)
6561 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6562 (rst-find-leftmost-column, rst-repeat-last-character):
6563 Refactor functions.
6564
6565 (rst-find-title-line, rst-reset-section-caches)
6566 (rst-get-adornments-around, rst-adjust-adornment-work)
6567 (rst-arabic-to-roman, rst-roman-to-arabic)
6568 (rst-insert-list-pos, rst-insert-list-new-item)
6569 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6570 New functions.
6571
6572 (rst-all-sections, rst-section-hierarchy)
6573 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6574 New variables.
6575
6576 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6577 configuration instead of only buffer. Change where necessary.
6578
6579 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6580 (rst-shift-region, rst-adaptive-fill): New functions for
6581 indentation and filling.
6582
6583 (rst-comment-line-break, rst-comment-indent)
6584 (rst-comment-insert-comment, rst-comment-region)
6585 (rst-uncomment-region): New functions for handling comments.
6586
6587 (rst-compile): Quote shell arguments.
6588
6589 (rst-compile-pdf-preview, rst-compile-slides-preview):
6590 Delete temporary files after use.
6591
a43f98b3
GM
65922012-05-05 Glenn Morris <rgm@gnu.org>
6593
48176e8b
GM
6594 * calendar/cal-html.el: Optionally include holidays in the output.
6595 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6596 (cal-html-holidays): New option.
6597 (cal-html-css-default): Add holiday entry.
6598 (holiday-in-range): Autoload it.
6599 (cal-html-htmlify-entry): Add optional class argument.
6600 (cal-html-htmlify-list): Add optional holidays argument.
6601 (cal-html-insert-agenda-days): Include holidays in the output.
6602 (cal-html-one-month): Maybe include holidays.
6603
a43f98b3
GM
6604 * calendar/holidays.el (holiday-in-range):
6605 Move here from cal-tex-list-holidays.
6606 * calendar/cal-tex.el (cal-tex-list-holidays):
6607 Make it an obsolete alias for holiday-in-range. Update all callers.
6608
fef9d149 66092012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6610
6611 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6612 Nextstep.
6613
248da2f4
RW
66142012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6615
6616 * files.el (file-auto-mode-skip): New var.
6617 (set-auto-mode-1): Use it.
6618
f95e9344
SM
66192012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6620
df96ab1e
SM
6621 * repeat.el: Use lexical-binding.
6622 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6623 (repeat-undo-count): Remove.
6624 (repeat):
6625 * progmodes/octave-mod.el (octave-abbrev-start):
6626 * progmodes/f90.el (f90-abbrev-start):
6627 * face-remap.el (text-scale-adjust):
6628 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6629
5342bb06
SM
6630 * emacs-lisp/pcase.el (pcase--let*): New function.
6631 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6632 a bit more.
6633 (pcase--split-pred): Be more clever about ruling out overlap between
6634 a predicate and some constant pattern.
6635 (pcase--q1): Use `null' instead of (eq foo nil).
6636
f95e9344
SM
6637 * subr.el (setq-local, defvar-local): New macros.
6638 (kbd): Redefine as an alias.
6639 (with-selected-window): Leave unrelated frames alone.
6640 (set-temporary-overlay-map): New function.
6641
71873e2b
SM
66422012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6643
6644 * subr.el (user-error): New function.
6645 * window.el (switch-to-buffer):
6646 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6647 (smerge-match-conflict):
6648 * simple.el (previous-matching-history-element)
6649 (next-matching-history-element, goto-history-element, undo-more)
6650 (undo-start):
6651 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6652 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6653 (next-file, tags-loop-scan, list-tags, complete-tag):
6654 * progmodes/compile.el (compilation-loop):
6655 * mouse.el (mouse-minibuffer-check):
6656 * man.el (Man-bgproc-sentinel, Man-goto-page):
6657 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6658 (Info-history-forward, Info-follow-reference, Info-menu)
6659 (Info-extract-menu-item, Info-extract-menu-counting)
6660 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6661 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6662 (Info-next-reference, Info-prev-reference, Info-index)
6663 (Info-index-next, Info-follow-nearest-node)
6664 (Info-copy-current-node-name):
6665 * imenu.el (imenu--make-index-alist)
6666 (imenu-default-create-index-function, imenu-add-to-menubar):
6667 * files.el (basic-save-buffer, recover-file):
6668 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6669 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6670 (checkdoc-message-text, checkdoc-defun):
6671 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6672 * cus-edit.el (customize-changed-options, customize-rogue)
6673 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6674 (custom-variable-mark-to-reset-standard)
6675 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6676 (custom-file):
6677 * completion.el (check-completion-length):
6678 * comint.el (comint-search-arg)
6679 (comint-previous-matching-input-string-position)
6680 (comint-previous-matching-input)
6681 (comint-replace-by-expanded-history-before-point, comint-send-input)
6682 (comint-copy-old-input, comint-backward-matching-input)
6683 (comint-goto-process-mark, comint-set-process-mark):
6684 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6685 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6686
8a61ee22
SM
66872012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6688
66408d1e
SM
6689 * dabbrev.el (dabbrev--ignore-case-p): New function.
6690 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6691 Use it.
6692
8a61ee22
SM
6693 * files.el (automount-dir-prefix): Mark as obsolete.
6694
3c74813a
GM
66952012-05-04 Glenn Morris <rgm@gnu.org>
6696
6697 * patcomp.el, play/bruce.el: Move to obsolete/.
6698
0bfcf5c5
PE
66992012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6700
6701 Fix minor Y10k bugs.
6702 * arc-mode.el (archive-unixdate):
6703 * autoinsert.el (auto-insert-alist):
6704 * calc/calc-forms.el (math-this-year):
6705 * emacs-lisp/copyright.el (copyright-current-year)
6706 (copyright-update-year, copyright):
6707 * tar-mode.el (tar-clip-time-string):
6708 * time.el (display-time-update):
6709 Don't assume years have 4 digits.
6710
78f3273a
CY
67112012-05-04 Chong Yidong <cyd@gnu.org>
6712
6713 * dos-w32.el (file-name-buffer-file-type-alist)
6714 (direct-print-region-use-command-dot-com):
6715 * ffap.el (ffap-menu-regexp):
6716 * find-file.el (ff-special-constructs):
6717 * follow.el (follow-debug):
6718 * forms.el (forms--debug):
6719 * iswitchb.el (iswitchb-all-frames):
6720 * ido.el (ido-all-frames):
6721 * emacs-lisp/timer.el (timer-max-repeats):
6722 * mail/feedmail.el (feedmail-mail-send-hook)
6723 (feedmail-mail-send-hook-queued):
6724 * mail/footnote.el (footnote-signature-separator):
6725 * mail/mailabbrev.el (mail-alias-separator-string)
6726 (mail-abbrev-mode-regexp):
6727 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6728 * progmodes/idlwave.el (idlwave-libinfo-file)
6729 (idlwave-default-completion-case-is-down)
6730 (idlwave-library-routines): Convert defvars to defcustoms.
6731
6732 * mail/rmail.el (rmail-decode-mime-charset):
6733 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6734 (idlwave-shell-fix-inserted-breaks)
6735 (idlwave-shell-activate-alt-keybindings)
6736 (idlwave-shell-use-breakpoint-glyph):
6737 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6738
f7ae6719
SM
67392012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6742
47086495
WS
67432012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6744
6745 * progmodes/verilog-mode.el (font-lock-keywords):
6746 Fix mis-highligting auto. Reported by Craig Barner.
6747 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6748 defines from global name space. Reported by Dan Dever.
6749 (verilog-auto-reset, verilog-auto-reset-widths)
6750 (verilog-auto-tieoff): Support using unbased numbers for
6751 AUTORESET and AUTOTIEOFF.
6752 (verilog-submit-bug-report): Update variable list.
6753 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6754 parenthesis from not matching. Reported by Michael Rytting.
6755 (verilog-auto-template-lint): Fix hash error when linting modules
6756 with no used templates.
6757 (verilog-warn, verilog-warn-error)
6758 (verilog-warn-fatal): When non-interactive report multiple
6759 warnings before exiting. Suggested by Brad Dobbie.
6760 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6761 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6762 to report unused template errors. Reported by Brad Dobbie.
6763 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6764 nets, bug438. Reported by Vns Blore.
6765 (verilog-auto-inout-module, verilog-auto-reg)
6766 (verilog-read-decls, verilog-read-sub-decls-sig)
6767 (verilog-signals-edit-wire-reg, verilog-signals-with):
6768 Fix passing of Verilog data types in ANSI input/output ports
6769 such as "output logic" into the AUTOs. Special case "wire" and
6770 "reg" for backwards compatibility presuming Verilog 2001.
6771 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6772 (verilog-preprocess): Fix replication of preprocess output.
6773 Reported by Brad Dobbie.
6774 (verilog-auto-inst-interfaced-ports):
6775 Create verilog-auto-inst-interfaced-ports, bug429.
6776 Reported by Julian Gorfajn.
6777 (verilog-after-save-font-hook)
6778 (verilog-before-save-font-hook): New variable.
6779 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6780 (verilog-save-font-mods): Wrap disabling fontification, reported
6781 by David Rogoff.
6782 (verilog-do-indent, verilog-pretty-declarations-auto)
6783 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6784 Reported by Pierre-David Pfister.
6785 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6786 of class declarations, bug292. Reported by Kevin Heilman.
6787 (verilog-read-decls): Fix 'parameter type' not appearing in
6788 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6789 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6790 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6791 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6792 Reported by David Kravitz.
6793
67942012-05-03 Michael McNamara <mac@mail.brushroad.com>
6795
6796 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6797 assignment with tests in ifs and for loops.
6798 (verilog-extended-complete-re, verilog-complete-reg): Change so
6799 that DPI inport functions don't look like fuction declarations.
6800 (verilog-pretty-expr): Don't line up assignment
6801 operations to the test and increment in if and for loops
6802 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6803 that DPI inport functions don't look like fuction declarations.
47086495 6804
2e51d4b5
KH
68052012-05-03 Kenichi Handa <handa@m17n.org>
6806
6807 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6808 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6809 (Bug#11282).
6810
2bd785a2
SM
68112012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6812
6813 * emacs-lisp/bytecomp.el
6814 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6815 since cconv.el might have introduced :fun-body, internal-make-closure,
6816 and friends for bytecomp to handle (bug#11391).
6817 * custom.el (defcustom): Avoid ((λ ..) ..).
6818
99d27583
SM
68192012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6822
55a71479
JB
68232012-05-02 Juanma Barranquero <lekktu@gmail.com>
6824
6825 * notifications.el (dbus-debug):
6826 * term/linux.el (gpm-mouse-enable):
6827 * term/screen.el (xterm-register-default-colors): Declare.
6828
7b97c764
CY
68292012-05-02 Chong Yidong <cyd@gnu.org>
6830
2bc356d7
CY
6831 * cus-start.el (gc-cons-percentage, exec-suffixes)
6832 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6833 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6834 (make-cursor-line-fully-visible, void-text-area-pointer)
6835 (font-list-limit): Add customization data.
6836
7b97c764
CY
6837 * allout.el (allout-exposure-change-functions)
6838 (allout-structure-added-functions)
6839 (allout-structure-deleted-functions)
6840 (allout-structure-shifted-functions): Rename abnormal hooks from
6841 *-hook, and convert to defcustoms.
5d3385a0
JB
6842 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6843 Convert to defcustoms.
7b97c764
CY
6844 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6845
6846 * allout-widgets.el: Hook callers changed.
6847
90207a15 68482012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6849
6850 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6851 the yanked message in preference to the default value of
6852 buffer-file-coding-system.
6853
90207a15 68542012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6855
5d3385a0
JB
6856 * window.el (display-buffer--action-function-custom-type):
6857 Fix entry.
d9558cad 6858
90207a15 68592012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6860
6861 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6862
d80ac57b
GM
68632012-05-01 Glenn Morris <rgm@gnu.org>
6864
976f7668
GM
6865 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6866
beb83b5a
GM
6867 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6868
d80ac57b
GM
6869 * cus-edit.el (custom-variable-documentation): Simplify with format.
6870
b593d6a9 68712012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6872 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6873
6874 * simple.el (suggest-key-bindings, execute-extended-command):
6875 Move from keyboard.c.
6876
782fbf2a
CY
68772012-05-01 Chong Yidong <cyd@gnu.org>
6878
6879 * follow.el: Eliminate advice.
6880 (set-process-filter, process-filter, sit-for): Advice deleted.
6881 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6882 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6883 Vars deleted.
782fbf2a
CY
6884 (follow-auto): Use a :set function.
6885 (follow-mode): Rewritten. Don't advise process filters.
6886 (follow-switch-to-current-buffer-all, follow-scroll-up)
6887 (follow-scroll-down): Assume follow-mode is bound.
6888 (follow-comint-scroll-to-bottom)
6889 (follow-align-compilation-windows): New functions.
6890 (follow--window-sorter): New function.
6891 (follow-all-followers): Use it to explicitly sort windows by their
6892 positions; don't make assumptions about next-window order.
6893 (follow-windows-start-end, follow-delete-other-windows-and-split)
6894 (follow-calc-win-start): Doc fix.
6895 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6896 vertical-motion unnecessarily.
6897 (follow-adjust-window): New function.
6898 (follow-post-command-hook): Use it.
6899 (follow-call-set-process-filter, follow-call-process-filter)
6900 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6901 (follow-stop-intercept-process-output, follow-generic-filter):
6902 Functions deleted.
6903 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6904 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6905 New functions, replacing advice on scroll-bar-* commands.
87233a14 6906 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6907
6908 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6909 (comint-postoutput-scroll-to-bottom): Use it.
6910 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6911
290af740
GM
69122012-05-01 Glenn Morris <rgm@gnu.org>
6913
6914 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6915 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6916 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6917 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6918 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6919 Remove no-byte-compile setting.
6920
6eac8dc9
SM
69212012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6922
6923 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6924 all-completions code to not return a number in the last cdr.
6925
9cc7819c
LL
69262012-04-30 Leo Liu <sdl.web@gmail.com>
6927
6928 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6929 read-only error.
6930
c93b886f
CY
69312012-04-29 Chong Yidong <cyd@gnu.org>
6932
6933 * follow.el (follow-calc-win-end): Rewrite to handle partial
6934 screen lines correctly (Bug#8390).
6935 (follow-avoid-tail-recenter): Minor cleanup.
6936
8b6c19f4
SM
69372012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 Avoid the obsolete `assoc' package.
6940 * speedbar.el (speedbar-refresh): Avoid adelete.
6941 (speedbar-file-lists): Simplify and avoid aput.
6942 * man.el (Man--sections, Man--refpages): New vars, replacing
6943 Man-sections-alist and Man-refpages-alist.
6944 (Man-build-section-alist, Man-build-references-alist):
6945 Use them; avoid aput.
6946 (Man--last-section, Man--last-refpage): New vars.
6947 (Man-follow-manual-reference): Use them.
6948 Use the `default' arg of completing-read.
6949 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6950
c5bb7569
CY
69512012-04-27 Chong Yidong <cyd@gnu.org>
6952
d1d2e2e8
CY
6953 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6954
15cd8efd
CY
6955 * startup.el (x-apply-session-resources): New function.
6956
6957 * term/ns-win.el (ns-initialize-window-system):
6958 * term/w32-win.el (w32-initialize-window-system):
6959 * term/x-win.el (x-initialize-window-system): Use it to properly
6960 set menu-bar-mode and other vars from X resources, even if the
6961 initial frame is not a window-system frame (Bug#2299).
6962
c5bb7569
CY
6963 * subr.el (read-key): Avoid running filter function when setting
6964 up temporary tool bar entries (Bug#9922).
6965
a8e7d6d7 69662012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6967
6968 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6969 (Bug#11344)
6970
a8e7d6d7 69712012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6972
6973 * select.el (xselect--encode-string): New function, split from
6974 xselect-convert-to-string.
6975 (xselect-convert-to-string): Use it.
6976 (xselect-convert-to-filename, xselect-convert-to-os)
6977 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6978 returned strings are properly encoded (Bug#11315).
6979
a8e7d6d7 69802012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6981
6982 * simple.el (delete-active-region): Move to killing custom group.
6983
a8e7d6d7 69842012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6985
6986 * progmodes/which-func.el (which-func-current): Quote %
6987 characters for mode-line processing.
6988
578c1d4b 69892012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6990
6991 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6992 reaching eob (Bug#11286).
6993
a8e7d6d7 69942012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6995
6996 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6997 (gdb): Make it buffer-local and init to zero.
6998 (gdb-control-commands-regexp): New variable.
6999 (gdb-send): Don't wrap in "-interpreter-exec console" if
7000 gdb-control-level is positive. Increment gdb-control-level
7001 whenever the command matches gdb-control-commands-regexp, and
7002 decrement it each time the command is "end". (Bug#11279)
7003
a8e7d6d7 70042012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7005
7006 * window.el (adjust-window-trailing-edge, enlarge-window)
7007 (shrink-window, window-resize):
7008 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7009 windows (Bug#11276).
7010
b3608390
CY
70112012-04-27 Chong Yidong <cyd@gnu.org>
7012
7013 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7014 fix "missing prefix" warning. All callers changed.
b3608390 7015
797e6e88
SM
70162012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * emacs-lisp/assoc.el: Move to obsolete/.
7019
e95a67dc
SM
70202012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7021
657c21e4 7022 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7023
7024 * term/ns-win.el (ns-define-service):
7025 * progmodes/pascal.el (pascal-goto-defun):
7026 * progmodes/js.el (js--read-tab):
7027 * progmodes/etags.el (tags-lazy-completion-table):
7028 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7029 * emacs-lisp/ewoc.el (ewoc--wrap):
7030 * emacs-lisp/assoc.el (aput, adelete, amake):
7031 * doc-view.el (doc-view-convert-current-doc):
7032 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7033
cb3e7ae0
CY
70342012-04-26 Chong Yidong <cyd@gnu.org>
7035
dce04f7f
CY
7036 * image.el (image-type-from-buffer): Only return supported image
7037 type (Bug#9045).
7038
cb3e7ae0
CY
7039 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7040 value, for symmetry with diff-end-of-hunk.
7041 (diff-split-hunk, diff-find-source-location)
7042 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7043 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7044 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7045 compute the relevant hunk or file properly (Bug#6005).
7046 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7047
0d42eb3e
SM
70482012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 * vc/vc-mtn.el:
7051 * vc/vc-hg.el:
7052 * vc/vc-git.el:
7053 * vc/vc-dir.el:
7054 * vc/vc-cvs.el:
7055 * vc/vc-bzr.el:
7056 * vc/vc-arch.el:
7057 * vc/vc.el: Replace lexical-let by lexical-binding.
7058 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7059 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7060 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7061
f08ae1c9
CY
70622012-04-26 Chong Yidong <cyd@gnu.org>
7063
8b71081d
CY
7064 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7065 (diff-mode-shared-map): Bind it to / and [remap undo].
7066
f08ae1c9
CY
7067 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7068 (ediff-window-setup-function): Use it as the default, to set up
7069 windows based on whether the current frame is graphical (Bug#2138).
7070 (ediff-choose-window-setup-function-automatically): Make obsolete.
7071
7072 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7073
ef24141c
SM
70742012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7075
cc356a5d
SM
7076 * ffap.el: Remove old code for obsolete package.
7077 (ffap-complete-as-file-p): Remove.
7078
b4ff4f1f
SM
7079 Use completion-table-with-quoting for comint and pcomplete.
7080 * comint.el (comint--unquote&requote-argument)
7081 (comint--unquote-argument, comint--requote-argument): New functions.
7082 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7083 (comint-quote-filename): Use regexp-opt-charset.
7084 (comint--common-suffix, comint--common-quoted-suffix)
7085 (comint--table-subvert): Remove.
7086 (comint-unquote-function, comint-requote-function): New vars.
7087 (comint--complete-file-name-data): Use them with
7088 completion-table-with-quoting.
7089 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7090 * pcomplete.el (pcomplete-arg-quote-list)
7091 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7092 (pcomplete-unquote-argument-function): Default to non-nil.
7093 (pcomplete-unquote-argument): Simplify.
7094 (pcomplete--common-quoted-suffix): Remove.
7095 (pcomplete-requote-argument-function): New var.
7096 (pcomplete--common-suffix): New function.
7097 (pcomplete-completions-at-point): Use completion-table-with-quoting
7098 and completion-table-subvert.
7099
79c4eeb4
SM
7100 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7101 (minibuffer--double-dollars): Preserve properties.
7102 (completion--sifn-requote): New function.
7103 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7104
ef24141c
SM
7105 * minibuffer.el: Add support for completion of quoted/escaped data.
7106 (completion-table-with-quoting, completion-table-subvert): New funs.
7107 (completion--twq-try, completion--twq-all): New functions.
7108 (completion--nth-completion): New function.
7109 (completion-try-completion, completion-all-completions): Use it.
7110
784e7d6e
LL
71112012-04-25 Leo Liu <sdl.web@gmail.com>
7112
dd2ac746
SM
7113 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7114 Use compilation-message if available to find real filename.
784e7d6e 7115
07875ee7
CY
71162012-04-25 Chong Yidong <cyd@gnu.org>
7117
7118 * vc/diff-mode.el (diff-setup-whitespace): New function.
7119 (diff-mode): Use it.
7120
7121 * vc/diff.el (diff-sentinel):
7122 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7123 Whitespace mode variables based on diff style (Bug#8612).
7124
5055880d
LL
71252012-04-25 Leo Liu <sdl.web@gmail.com>
7126
daf75653
LL
7127 * progmodes/python.el (python-send-region): Add suffix .py to the
7128 temp file.
7129
5055880d
LL
7130 * files.el (auto-mode-alist): Use javascript-mode instead.
7131
db9b177b
AH
71322012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7133
ef24141c 7134 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7135
090bd7cb 7136 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7137 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7138 references, see Bug#9.
ef24141c 7139 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7140 when receiving a fault reply.
ef24141c 7141 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7142
090bd7cb 7143 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7144 (soap-inspect-simple-type): New function.
db9b177b 7145
090bd7cb 7146 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7147 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7148 (soap-decode-basic-type, soap-encode-basic-type):
7149 support unsignedInt and double basic types.
db9b177b 7150 (soap-resolve-references-for-simple-type)
ef24141c
SM
7151 (soap-parse-simple-type, soap-encode-simple-type): New function.
7152 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7153
090bd7cb 7154 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7155 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7156 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7157 the local name of "soapenc:Array".
7158 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7159 decoding integer, byte and anyURI xsd types.
7160
1fc6097b
CY
71612012-04-25 Chong Yidong <cyd@gnu.org>
7162
7163 * cus-edit.el (custom-buffer-create-internal): Update header text.
7164
afc6df87
EZ
71652012-04-25 Eli Zaretskii <eliz@gnu.org>
7166
7167 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7168 settings on 'system-type', not on 'window-system'. On MS-Windows,
7169 set interactive-mode on in GDB.
7170
dfbd787f
SM
71712012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7172
7173 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7174 (ruby-syntax-propertize-regexp): Remove.
7175 (ruby-syntax-propertize-function): Split regexp into chunks.
7176 Match following code directly.
7177
85222d44
DG
71782012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7179
51a8ea2a
DG
7180 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7181 (ruby-syntax-propertize-regexp): New function.
7182 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7183 by a special keyword.
7184
85222d44
DG
7185 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7186 (ruby-syntax-general-delimiters-goto-beg)
7187 (ruby-syntax-propertize-general-delimiters): New functions.
7188 (ruby-syntax-propertize-function): Use them to handle GDL.
7189 (ruby-font-lock-keywords): Move old handling of GDL...
7190 (ruby-font-lock-syntactic-keywords): .. to here.
7191 (ruby-calculate-indent): Adjust indentation for GDL.
7192
b613912b
MA
71932012-04-24 Michael Albinus <michael.albinus@gmx.de>
7194
b5380639
MA
7195 * notifications.el (top): Remove unneeded declarations.
7196 (notifications-specification-version): Change to "1.2".
e43042fe 7197 (notifications-interface, notifications-notify-method)
b613912b
MA
7198 (notifications-close-notification-method): Fix docstring.
7199 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7200 (notifications-notify): Add :action-items, :resident and
7201 :transient hints. Change "image_data" to "image-data" and
7202 "image_path" to "image-path".
b613912b
MA
7203 (notifications-get-capabilities): New defun.
7204
257440aa
LL
72052012-04-24 Leo Liu <sdl.web@gmail.com>
7206
7207 * progmodes/python.el: Move hideshow setup to the end.
7208
b1bac16e
MR
72092012-04-24 Martin Rudalics <rudalics@gmx.at>
7210
7211 * window.el (handle-select-window): Clear echo area since this is
7212 no more done by read_char (Bug#11304).
7213
d81bd059
SM
72142012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7217 and `/ M' to filter-derived-mode.
7218 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7219 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7220 (ibuffer-mark-by-mode): Use default rather than initial-input.
7221 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7222
c4cf6d91
IA
72232012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7224
7225 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7226 (ibuffer-filter-by-derived-mode): New filter.
7227 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7228
7511ded8
CY
72292012-04-23 Andreas Politz <politza@fh-trier.de>
7230
7231 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7232
775c916b
CY
72332012-04-23 Chong Yidong <cyd@gnu.org>
7234
7235 * cus-edit.el (customize-apropos, customize-apropos-options):
7236 Disable matching of non-option variables (Bug#11176).
7237 (customize-option, customize-option-other-window)
7238 (customize-changed-options): Doc fix.
7239 (customize-apropos-options, customize-apropos-faces)
7240 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7241
7242 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7243 Fix word list splitting (Bug#11132).
46c71e23
CY
7244 (apropos-symbol, apropos-keybinding, apropos-label)
7245 (apropos-property, apropos-function-button)
7246 (apropos-variable-button, apropos-misc-button): New faces.
7247 (apropos-symbol-face, apropos-keybinding-face)
7248 (apropos-label-face, apropos-property-face, apropos-match-face):
7249 Variables removed (Bug#8396).
7250 (apropos-library-button, apropos-format-plist, apropos-print)
7251 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7252
2df41f9c
MA
72532012-04-23 Michael Albinus <michael.albinus@gmx.de>
7254
7255 * net/xesam.el (xesam-mode-map): Use let-bound map in
7256 initialization. (Bug#11292)
7257
da00640a
AM
72582012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7259
7260 Preserve ispell session localwords when switching back to
7261 original buffer.
7262
090bd7cb
JB
7263 * textmodes/ispell.el (ispell-buffer-session-localwords):
7264 New buffer-local variable to hold buffer session localwords.
ed9265fc 7265 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7266 localwords.
7267 (ispell-command-loop, ispell-change-dictionary)
7268 (ispell-buffer-local-words): Preserve session localwords when
7269 needed.
7270
090bd7cb
JB
7271 * textmodes/flyspell.el (flyspell-process-localwords)
7272 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7273
f621ccf5
AM
72742012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7275
090bd7cb
JB
7276 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7277 using obsolete `translation-table-for-input'.
ef24141c
SM
7278 (ispell-word, ispell-process-line, ispell-complete-word):
7279 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7280
c2d1019e
CY
72812012-04-22 Chong Yidong <cyd@gnu.org>
7282
7283 * cus-edit.el (custom-variable-menu)
7284 (custom-variable-reset-saved, custom-face-menu)
7285 (custom-face-reset-saved): If there is no saved value, make the
7286 "reset-saved" operation bring back the default (Bug#9509).
7287 (custom-face-state): Properly detect themed faces.
7288
eeddc531
CY
7289 * faces.el (face-spec-set): Stop supporting deprecated form of
7290 third arg.
7291
dcbf5805
MA
72922012-04-22 Michael Albinus <michael.albinus@gmx.de>
7293
7294 Move functions from C to Lisp. Make non-blocking method calls
7295 the default. Implement further D-Bus standard interfaces.
7296
ef24141c
SM
7297 * net/dbus.el (dbus-message-internal): Declare function.
7298 Remove unneeded function declarations.
dcbf5805
MA
7299 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7300 (dbus-message-type-method-return, dbus-message-type-error)
7301 (dbus-message-type-signal): Declare variables. Remove local
7302 definitions.
7303 (dbus-interface-dbus, dbus-interface-peer)
7304 (dbus-interface-introspectable, dbus-interface-properties)
7305 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7306 Adapt docstring.
7307 (dbus-interface-objectmanager): New defconst.
7308 (dbus-call-method, dbus-call-method-asynchronously)
7309 (dbus-send-signal, dbus-method-return-internal)
7310 (dbus-method-error-internal, dbus-register-service)
7311 (dbus-register-signal, dbus-register-method): New defuns, moved
7312 from dbusbind.c
7313 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7314 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7315 New defuns.
dcbf5805
MA
7316 (dbus-call-method-non-blocking): Make it an obsolete function.
7317 (dbus-unregister-object, dbus-unregister-service)
7318 (dbus-handle-event, dbus-register-property)
7319 (dbus-property-handler): Obey the new structure of
7320 `bus-registered-objects'.
7321 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7322 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7323 Use `dbus-call-method'.
7324
cf20dee0
CY
73252012-04-22 Chong Yidong <cyd@gnu.org>
7326
7327 * cus-edit.el (custom-commands, custom-reset-menu)
7328 (Custom-reset-standard): Tweak labels.
7329 (custom-reset-button-menu): Change default to t.
7330 (custom-buffer-create-internal): For the custom-reset-button-menu
7331 case, put the revert button first.
7332 (custom-group-subtitle): New face.
7333 (custom-group-value-create): Align docstring to a specific column.
7334
7335 * wid-edit.el (widget-documentation-link-add): Don't handle
7336 indentation in this function.
7337 (widget-documentation-string-indent-to): New function.
7338 (widget-documentation-string-value-create): Use it.
7339
7340 * autorevert.el (auto-revert):
7341 * epg-config.el (epg):
7342 * ibuffer.el (ibuffer):
7343 * mpc.el (mpc):
7344 * ses.el (ses):
7345 * eshell/eshell.el (eshell):
7346 * net/ange-ftp.el (ange-ftp):
7347 * progmodes/ebnf2ps.el (postscript):
7348 * progmodes/flymake.el (flymake):
7349 * progmodes/prolog.el (prolog):
7350 * progmodes/verilog-mode.el (verilog-mode):
7351 * progmodes/which-func.el (which-func):
7352 * term/xterm.el (xterm):
7353 * textmodes/picture.el (picture):
7354 * textmodes/tildify.el (tildify):
7355 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7356 customization buffers.
7357
583e23bd
AM
73582012-04-22 Alan Mackenzie <acm@muc.de>
7359
7360 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7361 Adding a ) can hide the resulting (..) from searches. Fix it.
7362 Bound the backward search to the position of the existing (.
7363
7dd51bf1
JB
73642012-04-21 Juanma Barranquero <lekktu@gmail.com>
7365
7366 * progmodes/verilog-mode.el (verilog-mode): Check whether
7367 which-func-modes is t before adding verilog-mode.
7368 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7369
d64a438f
LL
73702012-04-21 Leo Liu <sdl.web@gmail.com>
7371
7dd51bf1 7372 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7373
081e8d65
MV
73742012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7375
7376 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7377 filling of the last column of a table (Bug#5635).
7378 (woman-find-next-control-line): New arg, specifying an additional
7379 regexp component for the control line.
7380 (woman2-roff-buffer): Use it.
7381 (woman-break-table): New function.
7382 (woman2-TS): Use it.
7383
73842012-04-21 Chong Yidong <cyd@gnu.org>
7385
7386 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7387 (woman-horizontal-escapes, woman-negative-vertical-space)
7388 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7389 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7390
ed571ccb
SM
73912012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * minibuffer.el (completion-file-name-table): Complete user names.
7394
39773899
LL
73952012-04-20 Leo Liu <sdl.web@gmail.com>
7396
7397 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7398 and pcase-let*.
7399
de6ff46d
CY
74002012-04-20 Chong Yidong <cyd@gnu.org>
7401
7402 * server.el (server-execute): Respect initial-buffer-choice if it
7403 is a string and there are no files to open (Bug#2825).
7404 (server-create-window-system-frame, server-create-tty-frame):
7405 Don't switch buffers here.
2d0e8e61
CY
7406 (server-process-filter): Only try to open a window system frame if
7407 compiled with graphical support (Bug#8314).
de6ff46d 7408
54071013
DN
74092012-04-20 Dan Nicolaescu <dann@gnu.org>
7410
7411 * battery.el (battery-echo-area-format): Display remaining time
7412 for sysfs backend too (Bug#11269).
7413 (battery-linux-sysfs): Fix conditional for the charge.
7414
f30d612a
CY
74152012-04-20 Chong Yidong <cyd@gnu.org>
7416
c07a4c0b 7417 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7418 (gdb-inferior-io--init-proc): New function.
7419 (gdb-init-1): Use it.
7420 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7421 responsible for allocating a new pty and hooking it to gdb when
7422 the old pty gets an EIO due to process exit.
7423 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7424 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7425 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7426
2116e93c
EZ
74272012-04-20 Eli Zaretskii <eliz@gnu.org>
7428
7429 * window.el (window-min-size, window-sizable, window-min-delta)
7430 (window-max-delta, window--resizable, window-resizable)
7431 (window-total-size, window-full-height-p, window-full-width-p)
7432 (window-in-direction, window--resize-mini-window, window-resize)
7433 (window--resize-child-windows-normal)
7434 (window--resize-child-windows, window--resize-siblings)
7435 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7436 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7437
c07a4c0b 74382012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7439
ef24141c
SM
7440 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7441 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7442 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7443 pty process (Bug#11273).
7444 (gdb-update): New arg to suppress talking to the gdb process.
7445 (gdb-done-or-error): Use it.
7446 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7447 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7448 sentinel not being called.
7449
7450 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7451
d02766ab
CY
7452 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7453
c07a4c0b 74542012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7455
7456 * net/network-stream.el (open-network-stream): Doc fix.
7457
c07a4c0b 74582012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7459
7460 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7461
c07a4c0b 74622012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7463
7464 Ensure searching for keywords is case sensitive.
7465
7466 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7467 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7468 (c-defun-name, c-mark-function, c-cpp-define-name)
7469 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7470 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7471
ef24141c
SM
7472 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7473 Bind case-fold-search to nil.
f0f6bc35 7474
c07a4c0b 74752012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7476
7477 * mail/sendmail.el (mail-bury): Call return action with the right
7478 Rmail buffer (Bug#11242).
7479
9a864fa2
CY
7480 * server.el (server-process-filter): Handle corner case where both
7481 tty and nowait options are present (Bug#11102).
7482
539aa513
EZ
74832012-04-20 Eli Zaretskii <eliz@gnu.org>
7484
7485 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7486 (top level): Put into the executable the ident-style '$Id:' tag on
7487 windows-nt as well.
539aa513 7488
cfc7d5da
SM
74892012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * electric.el (electric-indent-post-self-insert-function): Check that
7492 electric-indent-mode is enabled in current buffer.
7493
5b01685c
JB
74942012-04-19 Juanma Barranquero <lekktu@gmail.com>
7495
7496 * imenu.el (imenu-progress-message): Restore; it is "used" in
7497 erc/erc-imenu.el and net/snmp-mode.el.
7498
4d6769e1
JB
74992012-04-19 Juanma Barranquero <lekktu@gmail.com>
7500
7501 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7502 (mouse-avoidance-nudge-mouse): Remove unused binding.
7503
7504 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7505
7506 * descr-text.el (describe-char):
7507 * progmodes/python.el (python-describe-symbol):
7508 Don't call `toggle-read-only', set `buffer-read-only'.
7509
7510 * imenu.el (imenu-default-goto-function): Mark unused args.
7511 (imenu-progress-message): Remove obsolete macro; all callers changed.
7512
7513 * subr.el (keymap-canonicalize): Remove unused binding.
7514 (read-passwd): Mark unused arg.
7515
7516 * tutorial.el (tutorial--display-changes): Remove unused binding.
7517 (tutorial--save-tutorial-to): Remove unused variable.
7518
7519 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7520 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7521 (package-generate-autoloads, package-menu--generate)
7522 (package-menu--find-upgrades): Remove unused bindings.
7523
7524 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7525 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7526 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7527 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7528 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7529 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7530 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7531 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7532 (cua-delete-char-rectangle): Mark unused args.
7533 (cua-align-rectangle): Remove unused binding.
7534
7535 * mail/rmail.el (compilation--message->loc)
7536 (epa--find-coding-system-for-mime-charset): Declare.
7537
7538 * net/dbus.el (dbus-register-service): Declare.
7539 (dbus-name-owner-changed-handler): Remove unused binding.
7540
7541 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7542 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7543 (nxml-scan-backward-within): Mark unused arg.
7544 (nxml-dynamic-markup-word): Remove unused binding.
7545
7546 * mouse.el (mouse-menu-major-mode-map):
7547 * emacs-lisp/authors.el (authors-scan-change-log)
7548 (authors-add-to-author-list):
7549 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7550 * emacs-lisp/smie.el (smie-auto-fill):
7551 * mail/sendmail.el (mail-bury):
7552 * mail/unrmail.el (unrmail):
7553 * net/tls.el (open-tls-stream):
7554 * textmodes/picture.el (picture-mouse-set-point):
7555 Remove unused bindings.
7556
8c8fc5df
MA
75572012-04-19 Michael Albinus <michael.albinus@gmx.de>
7558
7559 * net/tramp.el (tramp-action-password): Let-bind
7560 `enable-recursive-minibuffers' to t.
7561
a77b0ac9
SS
75622012-04-18 Sam Steingold <sds@gnu.org>
7563
7564 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7565 instead of 'string to accommodate values like [f11].
7566 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7567 * progmodes/gdb-mi.el: Likewise.
7568
12a106a9
LL
75692012-04-18 Leo Liu <sdl.web@gmail.com>
7570
7571 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7572 current buffer.
7573 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7574 LOCAL is nil.
7575
bc6494ef
CY
75762012-04-18 Chong Yidong <cyd@gnu.org>
7577
7578 * simple.el (line-move): Use forward-line if in batch mode
7579 (Bug#11053).
7580
c09c46b2
CS
75812012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7582
7583 * files.el (after-find-file): Do not try to add a final newline if
7584 the buffer is read-only (Bug#11156).
7585
5f6530ea
RS
75862012-04-17 Richard Stallman <rms@gnu.org>
7587
7588 * mail/rmail.el (rmail-start-mail):
7589 Pass (rmail-mail-return...) for the return-action.
7590 Pass (rmail-yank-current-message...) for the yank-action.
7591 (rmail-yank-current-message): New function.
7592 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7593 (rmail-reply): Likewise.
7594 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7595
7596 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7597 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7598 buffer, not newbuf.
7599
197b6f3c
JB
76002012-04-17 Juanma Barranquero <lekktu@gmail.com>
7601
7602 * server.el (server-ensure-safe-dir): Simplify.
7603
2311d8e5 76042012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7605
2311d8e5
GM
7606 * emacs-lisp/smie.el: Provide smarter auto-filling.
7607 (smie-auto-fill): New function.
7608 (smie-setup): Use it.
98fb480e 7609
2311d8e5
GM
7610 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7611
76122012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7613
7614 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7615 (comment-indent): Use it.
7616
2311d8e5 76172012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7618
7619 * ses.el: The overall change is to add cell renaming, that is
7620 setting fancy names for cell symbols other than name matching
7621 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7622 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7623 (ses-create-cell-variable): New defun.
2311d8e5 7624 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7625 (ses-relocate-formula): Relocate formulas only for cells the
7626 symbols of which are not renamed, i.e. symbols whose names do not
7627 match regexp "\\`[A-Z]+[0-9]+\\'".
7628 (ses-relocate-all): Relocate values only for cells the symbols of
7629 which are not renamed.
7630 (ses-load): Create cells variables as the (ses-cell ...) are read,
7631 in order to check row col consistency with cell symbol name only
7632 for cells that are not renamed.
7633 (ses-replace-name-in-formula): New defun.
7634 (ses-rename-cell): New defun.
4bdf2ad2 7635
fc72b15c
PO
76362012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7637
7638 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7639 New option (bug#11118).
7640 (perl-calculate-indent): Respect it.
7641
12e10e61
GM
76422012-04-17 Glenn Morris <rgm@gnu.org>
7643
7644 * dired-aux.el (dired-mark-read-string): Doc fix.
7645
30009afd
DA
76462012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7647
7648 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7649 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7650
41f03f4d
GM
76512012-04-17 Glenn Morris <rgm@gnu.org>
7652
7653 * mouse.el (mouse-drag-track):
7654 * speedbar.el (speedbar-frame-mode):
7655 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7656
f45f90f3
LL
76572012-04-16 Leo Liu <sdl.web@gmail.com>
7658
7659 * progmodes/python.el: Trivial cleanup.
7660
94ee8db5
GM
76612012-04-16 Glenn Morris <rgm@gnu.org>
7662
121b8917
GM
7663 * vc/vc.el (vc-string-prefix-p):
7664 * vc/pcvs-util.el (cvs-string-prefix-p):
7665 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7666 * mpc.el (mpc-string-prefix-p):
7667 Make all of these into obsolete aliases for string-prefix-p.
7668 Update callers.
7669 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7670
1197ecfa
GM
7671 * textmodes/two-column.el: Move custom options to the start.
7672 (frame-width): Remove compat definition.
7673 (2C-associate-buffer, 2C-dissociate):
7674 Use with-current-buffer rather than save-excursion.
7675 (2C-dissociate): Force a mode-line update.
7676 (2C-autoscroll): Use ignore-errors.
7677
099e7202
GM
7678 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7679 Autoload trivia.
7680
bf350d6a
GM
7681 * emacs-lisp/cl-extra.el (*random-state*):
7682 Remove unnecessary declaration.
7683
0e829eab
GM
7684 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7685
e3ad7552
GM
7686 * play/cookie1.el (cookie-snarf):
7687 Give an explicit error if input file cannot be read.
7688
68892d27
GM
7689 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7690
20f0c46d
GM
7691 * progmodes/perl-mode.el (c-macro-expand):
7692 Remove unnecessary autoload (it is in loaddefs.el).
7693
5a0978ce
GM
7694 * textmodes/picture.el (picture-desired-column)
7695 (picture-update-desired-column): Convert comments to doc-strings.
7696 (picture-substitute): Remove function.
7697 (picture-mode-map): Initialize in the defvar.
7698
6b955486
GM
7699 * woman.el: Remove eval-after-load for tar-mode.
7700 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7701 (woman-tar-extract-file): Autoload it.
7702
94ee8db5
GM
7703 * frame.el (automatic-hscrolling): Make this alias obsolete.
7704
177eca34
AM
77052012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7706
090bd7cb 7707 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7708 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7709 (ispell-dictionary-base-alist): Revert to original XEmacs
7710 friendly version for default. [:alpha:] will be added in
090bd7cb 7711 `ispell-set-spellchecker-params' if needed.
177eca34 7712
c505aaeb
CY
77132012-04-16 Chong Yidong <cyd@gnu.org>
7714
b19dd9d1 7715 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7716 (imagemagick-register-types): Use it.
7717 (imagemagick-types-inhibit): Add :set function. Allow new value
7718 of t to inhibit all types.
7719
7720 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7721 so we can preload it.
7722
7723 * loadup.el (fboundp): Preload regexp-opt, needed by
7724 imagemagick-register-types.
7725
60efac0f
CY
77262012-04-15 Chong Yidong <cyd@gnu.org>
7727
7728 * frame.el (scrolling): Remove nearly unused customization group.
7729
7730 * scroll-all.el (scroll-all-mode): Move to windows group.
7731
5dd1713e
CY
77322012-04-15 Chong Yidong <cyd@gnu.org>
7733
7734 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7735
e6fd457e
CY
77362012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7737
7738 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7739 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7740
e153c136
GM
77412012-04-15 Glenn Morris <rgm@gnu.org>
7742
7743 * simple.el (process-file-side-effects): Doc fix.
7744
e6fd457e 77452012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7746
7747 * international/mule-cmds.el (set-language-environment): Doc fix.
7748
3603c3b1
JB
77492012-04-14 Juanma Barranquero <lekktu@gmail.com>
7750
7751 * server.el (server-auth-key, server-generate-key): Doc fixes.
7752 (server-get-auth-key): Doc fix. Use `string-match-p'.
7753 (server-start): Reflow docstring.
7754
e6de100c
LI
77552012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7756
7757 * server.el (server-generate-key): `called-interactively-p'
7758 requires a parameter.
7759
29734c21
MN
77602012-04-14 Michal Nazarewicz <mina86@mina86.com>
7761
7762 * server.el (server-auth-key): New variable.
75f1671a 7763 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7764 (server-start): Use the new variable and functions to allow
7765 setting a permanent server key (bug#9423).
7766
d65c9521
LL
77672012-04-14 Leo Liu <sdl.web@gmail.com>
7768
7769 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7770
5ae255c7
PE
77712012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7772
7773 Spelling fixes.
7774 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7775 Emacs uses American spelling.
7776
d5e6342e
JB
77772012-04-14 Juanma Barranquero <lekktu@gmail.com>
7778
7779 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7780 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7781 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7782 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7783
ab036cd7
SM
77842012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7785
7786 * progmodes/which-func.el (which-func-modes): Change default.
7787
35dc09a1 77882012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7789
7790 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7791 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7792
35dc09a1 77932012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7794
7795 * custom.el (custom-theme-set-variables): Doc fix.
7796
35dc09a1 77972012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7798
7799 * international/mule.el (set-auto-coding-for-load): Doc fix.
7800
35dc09a1 78012012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7802
35dc09a1
GM
7803 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7804 imenu work again for Objective C Mode. Correct the *-index values,
7805 these having been disturbed by a previous change in 2011-08.
57f845ee 7806
0de3da9f
AM
7807 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7808 Correct two search limits.
7809
35dc09a1 78102012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7811
7812 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7813
35dc09a1 78142012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7815
7816 * international/characters.el: Fix sorting.
7817
35dc09a1 78182012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7819
7820 * international/characters.el: Add more missing Latin case pairs.
7821
35dc09a1 78222012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7823
7824 * files.el (dir-locals-set-class-variables): Doc fix.
7825
35dc09a1 78262012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7827
3f1b5bf8
EZ
7828 * international/characters.el: Add set-case-syntax-pair call for
7829 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7830 counterpart. (Bug#11209)
7831
9f847f41
EZ
7832 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7833
35dc09a1 78342012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7835
7836 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7837
35dc09a1 78382012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7839
35dc09a1
GM
7840 * textmodes/ispell.el (ispell-dictionary-base-alist):
7841 Add data for Hebrew.
e2627d21 7842
35dc09a1 78432012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7844
35dc09a1
GM
7845 * net/rcirc.el (rcirc-cmd-quit):
7846 Revert 2012-03-18 change (Bug#11192).
5c14e333 7847
35dc09a1 78482012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7849
7850 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7851
35dc09a1 78522012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7853
4517fe3a
SM
7854 * minibuffer.el (completion-in-region-mode-map):
7855 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7856
b472a594
VD
78572012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7858
7859 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7860
09b95ce3
MY
78612012-04-13 Masatake YAMATO <yamato@redhat.com>
7862
7863 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7864 to allow `C-M-f' and `C-M-b' to move to the nearest path
7865 separator (bug#9511).
7866
4b63a9ca
LI
78672012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7868
7869 * avoid.el: Require cl when compiling. And also move the
7870 `provide' to the end.
7871
7b55b8bf
TV
78722012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7873
7874 * avoid.el (mouse-avoidance-banish-position): New variable.
7875 (mouse-avoidance-banish-destination): Use it (bug#10165).
7876
adedaa1f
LL
78772012-04-13 Leo Liu <sdl.web@gmail.com>
7878
7879 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7880
70e74021
KB
78812012-04-13 Ken Brown <kbrown@cornell.edu>
7882
7883 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7884 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7885 (browse-url-filename-alist): For the same reason, don't modify
7886 file:// URLs on Cygwin.
7887
e75e89ba
SM
78882012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7889
7890 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7891 the region on shift if the binding is already shifted (bug#11221).
7892
82f289a4
GM
78932012-04-12 Glenn Morris <rgm@gnu.org>
7894
7895 * mail/mailpost.el: Move to obsolete/.
7896
d333dc4c
DA
78972012-04-12 Drew Adams <drew.adams@oracle.com>
7898
7899 * imenu.el (imenu--generic-function): Ignore invisible definitions
7900 (bug#10123).
7901
0d15b5ba
VD
79022012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7903
7904 * hexl.el (hexl-bits): New variable.
7905 (hexl-options): Mention the variable in the doc string.
75f1671a 7906 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7907 (hexl-mode): Mention the new variable.
75f1671a
JB
7908 (hexl-mode, hexl-current-address, hexl-current-address):
7909 Use the displen.
0d15b5ba
VD
7910 (hexl-ascii-start-column): New function.
7911 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7912 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7913
64a440db
AM
79142012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7915
7916 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7917 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7918 the encoding, as expected by hunspell.
7919
6decb6c2
SM
79202012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * battery.el (battery--linux-sysfs-regexp): New const.
7923 (battery-status-function): Use it. Remove yeeloong special case.
7924 (battery-yeeloong-sysfs): Remove.
7925 (battery-echo-area-format): Remove yeeloong special case.
7926
088be6fb
SM
79272012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7928
6622e416
SM
7929 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7930 Reported by Noah Friedman.
7931
088be6fb
SM
7932 * subr.el (read-passwd): Use read-string.
7933
b49f886e
LMI
79342012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7935
7936 * vcursor.el (vcursor-move): Increase the priority of the overlay
7937 (bug#9663).
7938
a63067fc
DD
79392012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7940
7941 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7942 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7943
ac3cf14a
WS
79442012-04-11 William Stevenson <yhvh2000@gmail.com>
7945
7946 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7947 define-minor-mode (bug#10760).
7948
c4fc691b 79492012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7950
4d6769e1 7951 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7952 that directories matching `grep-find-ignored-files' won't be
7953 pruned (bug#10351).
7954
af23e2e5
CY
79552012-04-11 Chong Yidong <cyd@gnu.org>
7956
7957 * startup.el (command-line): Remove support for long-obsolete
7958 variable font-lock-face-attributes.
7959
ab7ce8c1
GM
79602012-04-11 Glenn Morris <rgm@gnu.org>
7961
7962 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7963
de8c03dc
SM
79642012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * window.el (window--state-get-1): Obey window-point-insertion-type.
7967
050cc68b
LB
79682012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7969
7970 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7971 to previous function when point is on the first character of a
75f1671a 7972 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7973
a38c310c
GM
79742012-04-11 Glenn Morris <rgm@gnu.org>
7975
effed0c2
GM
7976 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7977 not just file-errors.
7978
a38c310c
GM
7979 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7980 (vc-bzr-sha1): Use internal sha1.
7981
0221e323
SM
79822012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7985
43956923
SG
79862012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7987
7988 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7989 that start in the middle of the line (bug#10496).
7990
6a8c9eaf
DN
79912012-04-10 Dan Nicolaescu <dann@gnu.org>
7992
7993 * battery.el (battery-linux-proc-acpi): Only one battery is
7994 discharged at a time, but that seems to confuse battery.el when
7995 computing `rate-type' for the battery not being discharged
7996 (bug#10332).
7997
1930bf5d
SM
79982012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7999
2a718f6f
SM
8000 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8001
599430d0
SM
8002 * international/quail.el: Use dolist and simplify.
8003 (quail-define-package, quail-update-keyboard-layout)
8004 (quail-define-rules): Use dolist.
8005 (quail-insert-kbd-layout, quail-get-translation): CSE.
8006
a2754b6c
SM
8007 * tmm.el: Use dolist, remove left over hook.
8008 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8009 Use dolist.
8010 (calendar-load-hook): Don't mess with it.
8011
1930bf5d
SM
8012 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8013 Use derived-mode-p. Run the diff asynchronously.
8014
9f67961c
LMI
80152012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8016
8017 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8018
2a8ce227
JB
80192012-04-10 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8022 (list-dynamic-libraries--loaded): New function.
8023 (list-dynamic-libraries--refresh): Use it.
8024
8f33b5f8
NW
80252012-04-10 Nathan Weizenbaum <nweiz@google.com>
8026
1930bf5d
SM
8027 * progmodes/python.el (python-fill-paragraph):
8028 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8029 disabled (bug#7018).
8030
b12f0439
L
80312012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8032
1930bf5d 8033 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8034 DOS/MS Windows for the Baltic languages. There are still plenty
8035 of texts written in this encoding/codepage (bug#6519).
b12f0439 8036
57c3bd01
GM
80372012-04-10 Glenn Morris <rgm@gnu.org>
8038
8039 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8040 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8041
6c3eab30
FA
80422012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8043
1930bf5d 8044 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8045 next-line "n" and previous-line "p" in order to make recentf more
8046 consistent with ibuffer, dired or org-mode (bug#9387).
8047
24d78a88
LMI
80482012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8049
bc72b5d9
LMI
8050 * image.el (put-image): Return the overlay created instead of the
8051 optional input string (bug#7834). Note that this may break code
8052 that is (for some reason or other) depending on `put-image'
8053 returning the string.
8054
bd2dba5a
LMI
8055 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8056
74beb59f
LMI
8057 * simple.el (zap-to-char): Allow zapping using input methods
8058 (bug#1580).
8059
24d78a88
LMI
8060 * textmodes/fill.el (fill-region): Leave point and mark where they
8061 were before filling (bug#5399).
8062
263f20cd
GM
80632012-04-09 Glenn Morris <rgm@gnu.org>
8064
8065 * version.el (emacs-bzr-get-version):
8066 Handle lightweight checkouts of local branches.
8067
58d1f797
AS
80682012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8069
263f20cd 8070 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8071
b4d3bc10
CY
80722012-04-09 Chong Yidong <cyd@gnu.org>
8073
8074 * custom.el (custom-variable-p): Return nil for non-symbol
8075 arguments instead of signaling an error.
8076 (user-variable-p): Obsolete alias for custom-variable-p.
8077
8078 * apropos.el (apropos-variable):
8079 * files-x.el (read-file-local-variable):
8080 * simple.el (set-variable):
8081 * woman.el (woman-mini-help):
8082 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8083
fd06db5d
GM
80842012-04-09 Glenn Morris <rgm@gnu.org>
8085
e5fcdb5e
GM
8086 * startup.el (normal-top-level): Don't look for leim-list.el
8087 in places where it will not be found. (Bug#910)
8088
fd06db5d
GM
8089 * international/mule-cmds.el (set-default-coding-systems):
8090 * files.el (normal-mode):
8091 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8092 This function was removed with ucs-tables.el in 2008.
8093
b39bb7e1
EZ
80942012-04-08 Eli Zaretskii <eliz@gnu.org>
8095
8096 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8097 ispell-encoding8-command to "-i", without a trailing space.
8098 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8099 separate command-line arguments, to specify the encoding, since
8100 that's how hunspell expects it.
8101
5c5b8e23
GM
81022012-04-08 Glenn Morris <rgm@gnu.org>
8103
8104 * loadup.el: Load bindings before cus-start.
8105 This reduces somewhat the number of "rogue" settings in emacs -Q.
8106
a1ed8b05
GM
81072012-04-07 Glenn Morris <rgm@gnu.org>
8108
8109 * version.el (emacs-bzr-get-version): New function.
dfae128a 8110 (emacs-bzr-version): New variable.
a1ed8b05
GM
8111 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8112 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8113
b142f158
EZ
81142012-04-07 Eli Zaretskii <eliz@gnu.org>
8115
dfae128a
GM
8116 * international/uni-bidi.el, international/uni-category.el:
8117 * international/uni-combining.el, international/uni-decimal.el:
8118 * international/uni-decomposition.el, international/uni-digit.el:
8119 * international/uni-lowercase.el, international/uni-mirrored.el:
8120 * international/uni-name.el, international/uni-numeric.el:
8121 * international/uni-titlecase.el, international/uni-uppercase.el:
8122 Update for Unicode 6.1.
b142f158 8123
9078ead6
EZ
81242012-04-07 Eli Zaretskii <eliz@gnu.org>
8125
8126 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8127
f23d2c7d
LMI
81282012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8129
8130 * window.el (shrink-window): Mention the `window-min-height'
8131 variable in the doc string.
8132
0a0a3573
BG
81332012-04-05 Bastien Guerry <bzg@altern.org>
8134
8135 * color.el (color-lighten-name): Fix typo.
8136
e5248ac9
SM
81372012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 * server.el (server--on-display-p): New function.
8140 (server--on-display-p): Use it.
8141
b4243e22
GV
81422012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8143
8144 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8145 (bug#11145).
8146
305d9f44
SM
81472012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * comint.el (comint--common-quoted-suffix): Check string boundary
8150 before comparing (bug#11158).
8151 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8152
3d439cd1
CY
81532012-04-04 Chong Yidong <cyd@gnu.org>
8154
321cc491
CY
8155 * minibuffer.el (completion-extra-properties): Doc fix.
8156
3d439cd1
CY
8157 * subr.el (delayed-warnings-hook): Doc fix.
8158
2d562c0f
DU
81592012-04-04 Daiki Ueno <ueno@unixuser.org>
8160
8161 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8162 selection (Bug#11159).
8163 (epa-insert-keys): Inform that the default public key will be
8164 exported if no key is selected.
8165
4443f204
RS
81662012-04-04 Richard Stallman <rms@gnu.org>
8167
8168 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8169
529c06b6
CY
81702012-04-03 Chong Yidong <cyd@gnu.org>
8171
8172 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8173 mail-insert-file, not its obsolete alias mail-attach-file.
8174
66b907dc
MA
81752012-04-03 Michael Albinus <michael.albinus@gmx.de>
8176
8177 * notifications.el (notifications-notify): Fix docstring.
8178
c0ea195d
GM
81792012-04-02 Glenn Morris <rgm@gnu.org>
8180
8181 * emacs-lisp/authors.el (authors-aliases): Another addition.
8182
5ca64e00
MA
81832012-04-02 Michael Albinus <michael.albinus@gmx.de>
8184
8185 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8186 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8187 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8188
42ee526b
CY
81892012-04-01 Chong Yidong <cyd@gnu.org>
8190
8191 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8192 Handle root directory properly.
8193 (copy-directory): Caller changed.
8194
8195 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8196 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8197
0b021094
GM
81982012-03-31 Glenn Morris <rgm@gnu.org>
8199
40f86458
GM
8200 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8201
7019c177
GM
8202 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8203
a1daddd6
GM
8204 * calendar/calendar.el (calendar-window-list)
8205 (calendar-hide-window): Restore. (Bug#11140)
8206 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8207
0b021094
GM
8208 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8209
40311efc
TV
82102012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8211
8212 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8213 Check if file is a symlink (Bug#10489).
8214
8215 * files.el (copy-directory): Likewise.
8216
5319014e
CY
82172012-03-30 Chong Yidong <cyd@gnu.org>
8218
8219 * image.el (imagemagick-types-inhibit)
8220 (imagemagick-register-types): Doc fix.
8221
935d1290
AM
82222012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8223
090bd7cb 8224 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8225 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8226 and treats ~word as ordinary words in pipe mode.
935d1290 8227
61c6e8fd
GM
82282012-03-30 Glenn Morris <rgm@gnu.org>
8229
8230 * tutorial.el (help-with-tutorial): Ensure local variables don't
8231 happen to make the buffer read-only. (Bug#11127)
8232
81fdff00
SM
82332012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8234
8235 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8236 (perl-calculate-indent): Return `noindent' in strings.
8237
6e7a6ec0
SS
82382012-03-28 Sam Steingold <sds@gnu.org>
8239
8240 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8241 instead of the broken adhockery which does not prevent calendar
8242 buffers from being displayed at random after exit.
8243 (calendar-window-list, calendar-hide-window): Remove the broken
8244 adhockery.
8245
fee88ca0
GM
82462012-03-28 Glenn Morris <rgm@gnu.org>
8247
8248 * replace.el (query-replace-map): Doc fix.
8249
38de3354
AS
82502012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8251
8252 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8253 contents. (Bug#11109)
8254
b973155e
SM
82552012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8256
8257 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8258 (bug#11077).
8259 (avl-tree--check, avl-tree--check-node): New funs.
8260
dcb6e7b3
MR
82612012-03-27 Martin Rudalics <rudalics@gmx.at>
8262
8263 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8264 (switch-to-prev-buffer, switch-to-next-buffer):
8265 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8266 showing a buffer already is done on the same frame.
8267
b4fa35fa
GM
82682012-03-27 Glenn Morris <rgm@gnu.org>
8269
8270 * startup.el (mail-host-address): Doc fix.
8271
f9210e18
SM
82722012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8273
8274 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8275 than 197 variables.
8276
c0bf7753
AF
82772012-03-26 Ami Fischman <ami@fischman.org>
8278
8279 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8280
33da7b16
GM
82812012-03-26 Glenn Morris <rgm@gnu.org>
8282
02243d9d
GM
8283 * files.el (save-buffers-kill-emacs): Doc fix.
8284
33da7b16
GM
8285 * startup.el (normal-top-level, command-line, command-line-1):
8286 Give them doc strings.
8287
e5a69fd0
EZ
82882012-03-25 Eli Zaretskii <eliz@gnu.org>
8289
8290 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8291 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8292
9a69676a
CY
82932012-03-25 Chong Yidong <cyd@gnu.org>
8294
4125cb8b
CY
8295 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8296 theme if it was previously enabled before (Bug#11031).
8297
dd470960
CY
8298 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8299 spec with custom-face-get-current-spec if its :shown-value is not
8300 determined yet (Bug#9337).
4125cb8b 8301 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8302
9a69676a
CY
8303 * button.el (button-at): Minor addition to docstring.
8304
6e7e90fa
SL
83052012-03-24 Simon Leinen <simon.leinen@gmail.com>
8306
8307 * vc/vc.el (vc-merge): Fix a prompt.
8308
f06e2758
CY
83092012-03-24 Chong Yidong <cyd@gnu.org>
8310
8311 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8312 point (Bug#9623).
8313
6e7e90fa
SL
8314 * button.el (button-at): Minor addition to docstring.
8315
b9d0879b
SM
83162012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * newcomment.el (comment-choose-indent): No space after BOL.
8319
e71cebb3
SS
83202012-03-22 Sam Steingold <sds@gnu.org>
8321
8322 * window.el (switch-to-prev-buffer): Revert last patch because the
8323 bug turned out to be an advertised feature (Elisp manual 28.14).
8324
335aff35
GM
83252012-03-22 Glenn Morris <rgm@gnu.org>
8326
8327 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8328 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8329
c676576a
LMI
83302012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8331
8332 * net/network-stream.el (network-stream-open-starttls): Make error
8333 message under Windows be less misleading.
8334
126f3d39
LW
83352012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8336
8337 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8338 understands (bug#9942).
8339
64fee311
CY
83402012-03-22 Chong Yidong <cyd@gnu.org>
8341
8342 * simple.el (end-of-visible-line): Handle return value of
8343 next-single-property-change properly (Bug#9371).
8344
a640d29a
KH
83452012-03-22 Kenichi Handa <handa@m17n.org>
8346
8347 * international/quail.el (quail-insert-kbd-layout): Fix previous
8348 change. To avoid unwanted bidi reordering, use
8349 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8350
39675016
DG
83512012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8352
8353 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8354 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8355 (ruby-beginning-of-indent): Be more careful with the difference
8356 between word-boundary and symbol boundary.
8357 (ruby-mode-syntax-table): Make : a symbol constituent.
8358
0a6934fc 83592012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8360
3d008e4f
SM
8361 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8362
0a6934fc
SM
83632012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8364
af67c9d7
SM
8365 * progmodes/etags.el (tags-completion-at-point-function):
8366 Improve last fix.
8367
1acad97c
SM
8368 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8369
e298b5da
SS
83702012-03-21 Sam Steingold <sds@gnu.org>
8371
8372 * progmodes/etags.el (tags-completion-at-point-function):
8373 Avoid the error when point is inside the pattern.
8374
91d82a70
JY
83752012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8376
8377 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8378 line (Bug#10855).
8379
69188b79
CY
83802012-03-21 Drew Adams <drew.adams@oracle.com>
8381
8382 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8383
99fc91fe
AK
83842012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8385
8386 * ido.el (ido-set-current-directory, ido-read-internal)
8387 (ido-choose-completion-string, ido-completion-help): Handle nil
8388 value of ido-completion-buffer (Bug#11008).
8389
087bbb4c
SS
83902012-03-21 Sam Steingold <sds@gnu.org>
8391
8392 * window.el (switch-to-prev-buffer): Do not switch to a visible
8393 window previous buffer, just like with the frame previous buffers.
8394
fb5b8aca
CY
83952012-03-21 Chong Yidong <cyd@gnu.org>
8396
8397 * faces.el (make-face, make-empty-face, copy-face):
8398 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8399 Doc fixes.
8400
dc9924b8
SM
84012012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8404 (widget-complete): Remove broken use of it.
8405
f0bcceb9
CY
84062012-03-20 Chong Yidong <cyd@gnu.org>
8407
dc9924b8
SM
8408 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8409 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8410 characters.
8411
ee52ebf3
TH
84122012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8413
8414 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8415 to draw rectangles, not squares. (Regression introduced by revno
8416 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8417
4c5779ab
CY
84182012-03-18 Chong Yidong <cyd@gnu.org>
8419
8420 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8421 it is not yet defined (for temacs).
8422
15360934
LL
84232012-03-18 Leo Liu <sdl.web@gmail.com>
8424
dc9924b8 8425 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 8426
d9a8eb66
EZ
84272012-03-17 Eli Zaretskii <eliz@gnu.org>
8428
8429 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8430 (ispell-choices-win-default-height, ispell-silently-savep)
8431 (ispell-dictionary-alist, ispell-encoding8-command)
8432 (ispell-check-version, ispell-aspell-find-dictionary)
8433 (ispell-valid-dictionary-list, ispell-words-keyword)
8434 (ispell-get-word, ispell-internal-change-dictionary)
8435 (ispell-region, ispell-skip-region-list)
8436 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8437 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8438 (ispell-message-text-end, ispell-message)
8439 (ispell-buffer-local-parsing): Doc fix.
8440
f02ff80d
J
84412012-03-13 Jambunathan K <kjambunathan@gmail.com>
8442
8443 * htmlfontify.el: Add support for code block fontification for ODT
8444 export (Bug #9914).
8445 (hfy-optimisations): Define new option
8446 `body-text-only'
8447 (hfy-fontify-buffer): Honor above setting.
8448 (hfy-begin-span, hfy-end-span): New routines factored out form
8449 `hfy-fontify-buffer'.
8450 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8451 that permit insertion of custom tags.
8452 (hfy-fontify-buffer): Use above handlers.
8453 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8454 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8455 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8456 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8457 bind a special variable `hfy-user-sheet-assoc'.
8458 (htmlfontify-string): New defun.
8459 (hfy-compile-face-map): Make sure that the last char in the
8460 buffer is correctly fontified.
8461 (hfy-face-resolve-face): Whitespace only change.
8462
9ac7a13f
EZ
84632012-03-17 Eli Zaretskii <eliz@gnu.org>
8464
8465 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8466 message more clear.
8467
e2b5bdd7
LL
84682012-03-16 Leo Liu <sdl.web@gmail.com>
8469
8470 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8471
2e492df3
AM
84722012-03-16 Alan Mackenzie <acm@muc.de>
8473
8474 Further optimise the handling of large macros.
8475
8476 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8477 limit to a call of `c-literal-limits'.
8478 (c-determine-+ve-limit): New function.
dc9924b8
SM
8479 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8480 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8481 In CASE 5B, restrict a search limit to 500.
8482 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8483
8484 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8485 Restrict macro bounds to +-500 from after-change's BEG END.
8486
50e94f0c
LL
84872012-03-16 Leo Liu <sdl.web@gmail.com>
8488
8489 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8490
6f09f6ed
AH
84912012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8492
8493 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8494 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8495
c7e73d51
GM
84962012-03-16 Glenn Morris <rgm@gnu.org>
8497
da986230
GM
8498 * view.el (view-buffer, view-buffer-other-window)
8499 (view-buffer-other-frame): Doc fixes re special mode-class.
8500
0835f01e
GM
8501 * subr.el (eval-after-load): If named feature is provided not from
8502 a file, run after-load forms. (Bug#10946)
8503
c7e73d51
GM
8504 * calendar/calendar.el (calendar-insert-at-column):
8505 Handle non-unit-width characters a bit better. (Bug#10978)
8506
3f2eafd1
CY
85072012-03-15 Chong Yidong <cyd@gnu.org>
8508
8509 * emacs-lisp/ring.el (ring-extend): New function.
8510 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8511
8512 * comint.el (comint-read-input-ring)
8513 (comint-add-to-input-history): Grow comint-input-ring lazily.
8514
103af3fe
SM
85152012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8516
663b1677
SM
8517 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8518 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8519
103af3fe
SM
8520 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8521 (imenu-add-to-menubar): Don't add a redundant index.
8522 (imenu-update-menubar): Handle a dynamically composed keymap.
8523
899cb7cb
KY
85242012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8525
8526 * mail/sendmail.el (mail-encode-header):
8527 Bind rfc2047-encode-encoded-words to nil.
8528
3809f91d
GM
85292012-03-13 Glenn Morris <rgm@gnu.org>
8530
8531 * calendar/calendar.el (calendar-string-spread):
8532 Handle non-unit-width characters a bit better. (Bug#10978)
8533
9e345a01
LL
85342012-03-13 Leo Liu <sdl.web@gmail.com>
8535
8536 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8537 directory and file as argument (Bug#10822).
8538
4a07df36
KS
85392012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8540
8541 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8542 For dynamically generated code, follow $PC.
8543 (gdb-disassembly-handler-custom): Handle no function name case.
8544
4aaa9356
TL
85452012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8546
8547 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8548 * emulation/ws-mode.el (ws-query-replace):
8549 * sort.el (sort-regexp-fields):
8550 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8551
225979da
SM
85522012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * dabbrev.el: Fix cycle completion order (bug#10963).
8555 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8556 (dabbrev-completion): Don't use an obarray; provide
8557 a cycle-sort-function.
8558
e2f1fdab
LL
85592012-03-12 Leo Liu <sdl.web@gmail.com>
8560
dc9924b8 8561 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8562 (kill-do-not-save-duplicates): Doc fix.
8563
b19490ed
SM
85642012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * dabbrev.el: Fix cycle completion (bug#10963).
8567 Use lexical binding and wrap to 80 columns.
8568 (dabbrev-completion): Delay computing the list of completions.
8569
4b05d722
KH
85702012-03-12 Kenichi Handa <handa@m17n.org>
8571
8572 * international/quail.el (quail-insert-kbd-layout): Surround each
8573 row by LRO and PDF instead of inserting many LRMs. Pad the left
8574 and right of each non-spacing marks. Insert invisible space
8575 between lower and upper characters to prevent composition.
8576
dbbc2e69
SM
85772012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8578
8579 * minibuffer.el (minibuffer-complete): Don't get confused when the
8580 function is run twice via different commands (bug#10958).
8581 (complete-with-action): Fix docstring.
8582
292112ed
CY
85832012-03-12 Chong Yidong <cyd@gnu.org>
8584
5d1ac394
CY
8585 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8586 (nxml-completion-at-point-function): New function.
8587 (nxml-mode): Use it.
8588 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8589
292112ed
CY
8590 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8591 Load generated autoloads file before byte compiling (Bug#10970).
8592 (package--make-autoloads-and-compile): New helper fun.
8593
4098f8f7
CS
85942012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8595
8596 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8597
8f754691
MA
85982012-03-11 Michael Albinus <michael.albinus@gmx.de>
8599
8600 * autorevert.el (auto-revert-handler): Ensure, that
8601 file-readable-p is applied only for local files or in
8602 auto-revert-tail-mode.
8603
e29ab36b
AS
86042012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8605
dbbc2e69
SM
8606 * server.el (server-eval-at): Handle non-tcp connections.
8607 Decode result string.
ad0bf5b6 8608
e29ab36b
AS
8609 * server.el (server-msg-size): New constant.
8610 (server-reply-print): New function.
8611 (server-eval-and-print): Use it.
8612 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8613 Handle -print-nonl.
8614
de5939ba
CS
86152012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8616
8617 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8618 (Bug#10987).
8619
0c93eabf
CY
86202012-03-11 Chong Yidong <cyd@gnu.org>
8621
397a688f
CY
8622 * simple.el (goto-line): Doc fix (Bug#9938).
8623
2cc775f9
CY
8624 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8625
0c93eabf
CY
8626 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8627 when finished (Bug#10963).
8628
c491fa41
MR
86292012-03-11 Martin Rudalics <rudalics@gmx.at>
8630
8631 * window.el (split-window-below): Fix bug in case where
8632 split-window-keep-point is nil (Bug#10971).
8633
300e8fa5
JL
86342012-03-11 Juri Linkov <juri@jurta.org>
8635
8636 * replace.el (replace-highlight): Set isearch-word to nil
8637 unconditionally. (Bug#10887)
8638
dbf6c5a1
EZ
86392012-03-10 Eli Zaretskii <eliz@gnu.org>
8640
8641 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8642 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8643 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8644 (mairix-widget-create-query): Add usage information about mairix
8645 search forms: negating words, searching for substrings, etc.
8646
b9e501de
JP
86472012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8648
8649 * international/fontset.el (font-encoding-alist): Add an entry for
8650 ksx1001 (Bug#5667).
8651
92795c91
RS
86522012-03-10 Richard Stallman <rms@gnu.org>
8653
1694e6c1
RS
8654 * mail/sendmail.el (mail-encode-header):
8655 Set rfc2047-encode-encoded-words.
8656
607e8555
RS
8657 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8658
de3bc99a
RS
8659 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8660 view buffer means not swapped.
8661 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8662 (rmail-write-region-annotate): Error if real text has disappeared.
8663
92795c91
RS
8664 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8665
699bd04e
CY
86662012-03-10 Chong Yidong <cyd@gnu.org>
8667
8668 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8669 * emulation/cua-base.el (cua--init-keymaps):
8670 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8671
570a1714
MR
86722012-03-10 Martin Rudalics <rudalics@gmx.at>
8673
dbbc2e69
SM
8674 * speedbar.el (speedbar-unhighlight-one-tag-line):
8675 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8676
82dcf4e4
CY
86772012-03-10 Chong Yidong <cyd@gnu.org>
8678
7a2c7ca7
CY
8679 * minibuffer.el (completion-in-region, completion-help-at-point):
8680 Give the completion field overlay a high priority (Bug#6830).
8681
82dcf4e4
CY
8682 * dired.el (dired-goto-file): Recognize absolute file name
8683 listings (Bug#7126).
8684 (dired-goto-file-1): New helper function.
8685 (dired-toggle-read-only): Inhibit warnings.
8686
052e28ac
MA
86872012-03-09 Michael Albinus <michael.albinus@gmx.de>
8688
75f1671a 8689 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8690 there are no properties.
8691
95d5e396
LL
86922012-03-09 Leo Liu <sdl.web@gmail.com>
8693
8694 * savehist.el (savehist-printable): Stricter check for string
8695 value (Bug#10937).
8696
3f018d6d
EZ
86972012-03-09 Eli Zaretskii <eliz@gnu.org>
8698
dbbc2e69
SM
8699 * mail/smtpmail.el (smtpmail-send-it):
8700 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8701 valid mbox format.
8702
f7fd3d79
GM
87032012-03-09 Glenn Morris <rgm@gnu.org>
8704
8705 * files.el (dir-locals-find-file):
8706 Don't check result is regular, readable.
8707 (dir-locals-read-from-file): Demote errors.
8708
6ff6e72f
EZ
87092012-03-08 Eli Zaretskii <eliz@gnu.org>
8710
dbbc2e69
SM
8711 * international/quail.el (quail-insert-kbd-layout):
8712 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8713 layout cell, to prevent their reordering by bidi display engine.
8714 For details, see the discussion in
8715 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8716
9cec7834
AM
87172012-03-08 Alan Mackenzie <acm@muc.de>
8718
8719 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8720 the starting position; make it extend the marked region when
8721 invoked repeatedly - all under appropriate circumstances.
8722 Fixes bugs #5525, #10906.
8723
9a40b8d4
GM
87242012-03-08 Glenn Morris <rgm@gnu.org>
8725
8726 * files.el (locate-dominating-file, dir-locals-find-file):
8727 Undo 2012-03-06 change.
8728
7a08ed35
EZ
87292012-03-07 Eli Zaretskii <eliz@gnu.org>
8730
dbbc2e69
SM
8731 * international/quail.el (quail-help):
8732 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8733 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8734 for the reason.
8735
5aca4f71 87362012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8737
8738 Avoid superfluous registering of signals. (Bug#10807)
8739
8740 * notifications.el (notifications-on-action-object)
8741 (notifications-on-close-object): New defvars.
8742 (notifications-on-action-signal, notifications-on-closed-signal):
8743 Unregister the signal if not needed any longer.
8744 (notifications-notify): Register `notifications-action-signal' or
8745 `notifications-closed-signal', if :on-action or :on-close has been
8746 passed as argument.
8747
78e8b10a
CY
87482012-03-07 Chong Yidong <cyd@gnu.org>
8749
8750 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8751 non-X platforms.
8752
69481eb8
GM
87532012-03-06 Glenn Morris <rgm@gnu.org>
8754
8755 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8756 (x-disown-selection-internal, x-get-selection-internal):
8757 Doc fix (add arglist signatures). (Bug#10783)
8758
133b8e11
KS
87592012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8760
8761 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8762 Handle breakpoints with no "type".
8763
99a83064
GM
87642012-03-06 Glenn Morris <rgm@gnu.org>
8765
8766 * files.el (locate-dominating-file): Add optional predicate argument.
8767 (dir-locals-find-file): Make use of above change.
8768
17798e78
TTN
87692012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8770
8771 * info.el (Info-insert-dir): Also try "dir.gz".
8772
eb182446
GM
87732012-03-06 Glenn Morris <rgm@gnu.org>
8774
8f2114ee
GM
8775 * files.el (dir-locals-find-file):
8776 Ignore non-readable or non-regular files. (Bug#10928)
8777
eb182446
GM
8778 * files.el (locate-dominating-file): Doc fix.
8779
24679323
AS
87802012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8781
8782 * calendar/calendar.el (calendar-set-mode-line):
8783 `getenv' returns a string. (Bug#10951)
8784
01d972a9
LL
87852012-03-05 Leo Liu <sdl.web@gmail.com>
8786
109aa8a9
LL
8787 * simple.el (backward-delete-char-untabify): Constrain point to
8788 field (Bug#10939).
8789
01d972a9
LL
8790 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8791
10607bea
CY
87922012-03-05 Chong Yidong <cyd@gnu.org>
8793
8794 * simple.el (count-words): If called from Lisp, return the word
8795 count, for symmetry with `count-lines'. Arglist changed.
8796 (count-words--message): Args changed. Consolidate counting code
8797 from count-words and count-words-region.
8798 (count-words-region): Caller changed.
8799 (count-lines-region): Make it an obsolete alias.
8800
5dd11cfe
TH
88012012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8802
8803 * saveplace.el (save-place-to-alist)
8804 (save-place-ignore-files-regexp): Allow value nil to disable this
8805 feature.
8806
c349f4e6
CY
88072012-03-04 Chong Yidong <cyd@gnu.org>
8808
8809 * faces.el (face-spec-reset-face): For the default face, reset the
8810 attributes to default values (Bug#10748).
8811
e627be4c
LMI
88122012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8813
8814 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8815 previous patch: Check `message-send-mail-function', and not the
8816 default function (bug#10897).
8817
ebeabff4
MA
88182012-03-04 Michael Albinus <michael.albinus@gmx.de>
8819
a41a6cf4
MA
8820 * notifications.el (notifications-on-action-signal)
8821 (notifications-on-closed-signal): Check for unique service name of
8822 incoming event. Fix error in removing entry.
ebeabff4 8823 (top): Register for signals with wildcard service name.
a41a6cf4 8824 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8825
c1ca42b4
CY
88262012-03-04 Chong Yidong <cyd@gnu.org>
8827
dc9924b8 8828 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8829
ea16568d
GM
88302012-03-04 Glenn Morris <rgm@gnu.org>
8831
8832 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8833 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8834 (expand-abbrev, define-abbrev-table): Doc fixes.
8835
fbae4637
LMI
88362012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8837
8838 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8839 `message-default-send-mail-function' and not `send-mail-function'
8840 when doing the prompting for `sendmail-query-once' before sending
8841 in Message buffers (bug#10897).
8842
a1e7225c
LMI
8843 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8844 This is inconsistent with all the other stream functions, which leave
8845 the setting up to the higher levels (if so wanted) (bug#10931).
8846
56d093a9
AM
88472012-03-02 Alan Mackenzie <acm@muc.de>
8848
8849 Depessimize the handling of very large macros.
8850
8851 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8852 (c-macro-cache-syntactic): New variables to implement a one
8853 element macro cache.
8854 (c-invalidate-macro-cache): New function.
8855 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8856 Adapt to use the new cache.
8857 (c-state-safe-place): Use better the cache of safe positions.
8858 (c-state-semi-nonlit-pos-cache)
8859 (c-state-semi-nonlit-pos-cache-limit):
8860 New variables for...
8861 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8862 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8863 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8864 Use c-state-semi-safe-place.
56d093a9 8865
dbbc2e69
SM
8866 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8867 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8868
817e5c3d
MA
88692012-03-02 Michael Albinus <michael.albinus@gmx.de>
8870
dbbc2e69
SM
8871 * jka-compr.el (jka-compr-call-process):
8872 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8873 not remote.
8874
a032a702
MA
88752012-03-01 Michael Albinus <michael.albinus@gmx.de>
8876
8877 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8878 access of FILE2, if FILE1 does not exist.
8879
99a54f21
MA
8880 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8881 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8882
8883 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8884 Add "PAGER=" to `process-environment'.
8885
f6561e1f
MM
88862012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8887
8888 * progmodes/sql.el: Bug fix
8889 (sql-get-login-ext): Save login values in globals.
8890 (sql-get-login): Use new version of `sql-get-login-ext'.
8891 (sql-interactive-mode): Set global `sql-connection' to nil.
8892 (sql-connect): Set global values for connection.
8893 (sql-product-interactive): Save global values as buffer local.
8894
2d44d9cc
LL
88952012-02-29 Leo Liu <sdl.web@gmail.com>
8896
8897 * abbrev.el (define-abbrevs): Reset sys to nil.
8898
96b49301 88992012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8900
bf7f9bc5
JB
8901 * files.el (file-equal-p): Rename from `files-equal-p'.
8902 Return nil when one or both files don't exist.
96b49301 8903 (file-subdir-of-p): Now only top directory must exists,
8904 return nil if it doesn't.
bf7f9bc5
JB
8905 (copy-directory): No need to test with `file-subdir-of-p' after
8906 creating dir.
8907 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8908 to `file-equal-p'.
96b49301 8909
44e97401
GM
89102012-02-28 Glenn Morris <rgm@gnu.org>
8911
8912 * shell.el (shell-mode):
8913 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8914 * play/landmark.el (landmark-font-lock-face-O):
8915 * play/handwrite.el (handwrite):
8916 * play/gomoku.el (gomoku-O):
8917 * net/browse-url.el (browse-url-browser-display):
8918 * international/mule.el (define-charset):
8919 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8920 * filesets.el (filesets-find-file-delay):
8921 * eshell/em-xtra.el (eshell-xtra):
8922 * eshell/em-unix.el (eshell-grep):
8923 * emulation/viper.el (viper-mode):
8924 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8925 * emacs-lisp/easymenu.el (easy-menu-define):
8926 * calendar/timeclock.el (timeclock-use-display-time):
8927 * bs.el (bs-mode):
8928 * bookmark.el (bookmark-save-flag):
8929 Doc fix (standardize possessive apostrophe usage).
8930
c98c6276
CY
89312012-02-27 Chong Yidong <cyd@gnu.org>
8932
bf7f9bc5
JB
8933 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8934 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8935
c98c6276
CY
8936 * font-lock.el (font-lock-specified-p): Rename from
8937 font-lock-spec-present. Callers changed.
8938
9c62cd04 89392012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8940
bf7f9bc5
JB
8941 * emacs-lisp/package.el (package-compute-transaction):
8942 Handle holding a package version to t in package-load-list.
8ac9e529 8943
530739c9
MA
89442012-02-26 Michael Albinus <michael.albinus@gmx.de>
8945
8946 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8947 (tramp-get-inode, tramp-get-device): Use cached values.
8948
487915d7
AM
89492012-02-26 Alan Mackenzie <acm@muc.de>
8950
8951 Check there is a font-lock specification before doing initial
8952 fontification.
8953
8954 * font-core.el (font-lock-mode): Move the conditional from
8955 :after-hook to font-lock-initial-fontify.
8956 (font-lock-default-function): Move the check for a specification
8957 to font-lock-spec-present.
8958
dc9924b8 8959 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8960 (font-lock-spec-present): New function.
8961
4fd96557
JB
89622012-02-26 Jim Blandy <jimb@red-bean.com>
8963
8964 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8965 (gdb-send): Apply it to the operand of the '-interpreter-exec
8966 console' command, so that we can pass arguments with (say) quotes
8967 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8968
9a4888c0
CY
89692012-02-26 Chong Yidong <cyd@gnu.org>
8970
07498861
CY
8971 * help-fns.el (describe-function-1): Clarify description of
8972 remapping (Bug#10844).
8973
9a4888c0
CY
8974 * files.el (files-equal-p): Doc fix.
8975 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8976 and quit the loop once a mismatch is found.
8977
ea8fb88d
JB
89782012-02-25 Juanma Barranquero <lekktu@gmail.com>
8979
8980 * bs.el (bs--show-with-configuration): Don't throw an error
8981 if the window cannot be split; otherwise, subsequent calls to
8982 bs-show fail, restoring a stale window config. (Bug#10882)
8983
525795c1
JD
89842012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8985
8986 * term/ns-win.el (global-map): Bind ns-drag-file to
8987 ns-find-file (Bug#5855, Bug#10050).
8988
f008086f
AS
89892012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8990
8991 * calendar/parse-time.el (parse-time-string): Allow extractor to
8992 return nil.
8993
a3fcfa99
MA
89942012-02-25 Michael Albinus <michael.albinus@gmx.de>
8995
91027d08
JB
8996 * net/tramp.el (tramp-file-name-for-operation):
8997 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8998
8999 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9000 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9001 Add COPY-CONTENTS argument.
a3fcfa99 9002
67b0de11
CY
90032012-02-25 Chong Yidong <cyd@gnu.org>
9004
9005 Add custom groups for VC backends, for consistency with vc-bzr.
9006
9007 * vc/vc-arch.el (vc-arch):
9008 * vc/vc-cvs.el (vc-cvs):
9009 * vc/vc-git.el (vc-git):
9010 * vc/vc-hg.el (vc-hg):
9011 * vc/vc-mtn.el (vc-mtn):
9012 * vc/vc-rcs.el (vc-rcs):
9013 * vc/vc-sccs.el (vc-sccs):
9014 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9015 All relevant defcustoms reassigned.
9016
3c9dfce6
CY
90172012-02-25 Chong Yidong <cyd@gnu.org>
9018
1339bf43
CY
9019 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9020
3c9dfce6
CY
9021 * term/x-win.el (x-initialize-window-system): Reduce default for
9022 x-selection-timeout to 5 seconds (Bug#8869).
9023
25b2e303 90242012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9025
ec70a47d
GM
9026 * files.el (files-equal-p, file-subdir-of-p): New functions.
9027 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9028 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9029 * dired-aux.el (dired-copy-file-recursive): Same.
9030 (dired-create-files): Modify destination when source is equal to
9031 dest when copying files.
53a46cd0 9032 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9033
914260cd
MA
90342012-02-24 Michael Albinus <michael.albinus@gmx.de>
9035
9036 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9037 (Bug#10874)
9038
2cb228f7
AM
90392012-02-23 Alan Mackenzie <acm@muc.de>
9040
9041 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9042 parameter "after-hook:" to allow the expansion to run code after
9043 the execution of the mode hooks.
9044
9045 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9046 from font-lock-mode-internal.
2cb228f7 9047
91027d08 9048 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9049 :after-hook.
9050
8f0fde21
SM
90512012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9052
3e88618b
SM
9053 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9054 (completion--cache-all-sorted-completions): New function.
9055 (completion-all-sorted-completions): Use it.
9056 (completion--do-completion, minibuffer-force-complete):
9057 Use it to re-instate the flush hook.
9058
8f0fde21
SM
9059 * icomplete.el (icomplete-completions): Replace last fix with a better
9060 one (bug#10850).
9061
8e911f6f
DG
90622012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9063
9064 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9065 when it might call us back infinitely (bug#10797).
9066
49fe4321
GM
90672012-02-23 Glenn Morris <rgm@gnu.org>
9068
9069 * minibuffer.el (completion-category-overrides): Doc fix.
9070
b291b572
SM
90712012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9072
9073 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9074 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9075
31a9ef2e
GM
90762012-02-23 Glenn Morris <rgm@gnu.org>
9077
5e6e6794 9078 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9079 (authors-obsolete-files-regexps, authors-ignored-files)
9080 (authors-ambiguous-files, authors-renamed-files-alist):
9081 Add more entries.
9082
0bd1e074
JL
90832012-02-23 Juri Linkov <juri@jurta.org>
9084
9085 * isearch.el (isearch-occur): Sync interactive spec with occur's
9086 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9087
b617673c
JL
9088 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9089
19e9789e
JL
90902012-02-22 Juri Linkov <juri@jurta.org>
9091
9092 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9093 (ucs-insert): Doc fix. Check for hex digits in the string.
9094 Don't display `nil' in the error message. (Bug#10857)
9095
f41ce09d
AM
90962012-02-22 Alan Mackenzie <acm@muc.de>
9097
7a71b18d 9098 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9099
ac2eceee
GM
91002012-02-22 Glenn Morris <rgm@gnu.org>
9101
9102 * ffap.el (ffap-c-path):
9103 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9104
abd1f678
CY
91052012-02-22 Chong Yidong <cyd@gnu.org>
9106
9107 * custom.el (load-theme): Doc fix.
9108
f25aef2e
GM
91092012-02-22 Glenn Morris <rgm@gnu.org>
9110
9111 * dired-x.el (dired-guess-shell-alist-default):
9112 Remove escape sequences from nroff output. (Bug#172)
9113
5f8dc2ca
GM
91142012-02-21 Glenn Morris <rgm@gnu.org>
9115
6ff86ec4
GM
9116 * vc/emerge.el (emerge-defvar-local):
9117 Set `permanent-local' property rather than unused `preserved'.
9118
be3223a3 9119 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9120 (picture-mode-map): Use it. (Bug#10860)
9121 (picture-mode): Doc fix.
9122
3fe58f4f
JB
91232012-02-21 Juanma Barranquero <lekktu@gmail.com>
9124
9125 * newcomment.el (uncomment-region-default): Remove unused binding.
9126
f9a998c3
GM
91272012-02-21 Glenn Morris <rgm@gnu.org>
9128
9129 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9130 (picture-self-insert, picture-tab-chars): Doc fix.
9131 (picture-mode-map): Fix C-a, C-e.
9132
c6029348
GM
91332012-02-20 Glenn Morris <rgm@gnu.org>
9134
9135 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9136
ab1ce9d7
LL
91372012-02-20 Leo Liu <sdl.web@gmail.com>
9138
9139 * icomplete.el (icomplete-completions): Check FROM arg before
9140 passing to substring (Bug#10850).
9141
0fd40f89
CY
91422012-02-19 Chong Yidong <cyd@gnu.org>
9143
9144 * comint.el: Require ansi-color.
9145 (comint-output-filter-functions): Add ansi-color-process-output.
9146
9147 * ansi-color.el: Don't set comint-output-filter-functions; it is
9148 now in the initial value defined in comint.el.
9149 (ansi-color-apply-face-function): New variable.
9150 (ansi-color-apply-on-region): Use it.
9151 (ansi-color-apply-overlay-face): New function.
9152
9153 * shell.el (shell): No need to require ansi-color.
9154 (shell-mode): Use ansi-color-apply-face-function to highlight
9155 color escapes using font-lock-face property (Bug#10835).
9156
20af2394
CY
91572012-02-19 Chong Yidong <cyd@gnu.org>
9158
9159 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9160 mode-line formats (Bug#10839).
9161
e23a3fbe
GM
91622012-02-18 Glenn Morris <rgm@gnu.org>
9163
b474519e
GM
9164 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9165
9166 * mail/undigest.el (unforward-rmail-message): Doc fix.
9167
e23a3fbe
GM
9168 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9169
57939ff4
EZ
91702012-02-18 Eli Zaretskii <eliz@gnu.org>
9171
9172 * international/characters.el (script-list): Sync with the latest
9173 Unicode Character Database.
9174
0c23686e
AS
91752012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9176
9177 * international/titdic-cnv.el: Remove duplicate coding tag.
9178 * language/cham.el: Likewise.
9179 * language/tai-viet.el: Likewise.
9180
6818b449
GM
91812012-02-18 Glenn Morris <rgm@gnu.org>
9182
9183 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9184 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9185 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9186 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9187 * calendar/holidays.el (holiday-bahai-holidays)
9188 (calendar-holidays, list-holidays):
9189 Use utf-8 Bahá'í in doc-strings, menus, etc.
9190
0311a3fc
TH
91912012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9192
9193 * saveplace.el (save-place-ignore-files-regexp): New variable
9194 allowing for excluding files from saving their location of point.
9195 The default value matches the temporary commit message editing
9196 files from Git, SVN, Bazaar, and Mercurial.
9197 (save-place-to-alist): Use it.
9198
d209e2fb 91992012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9200 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9201
9202 * newcomment.el (uncomment-region-default): Don't leave extra space
9203 when an arg is provided (bug#8150).
9204
ee0ce425
TZ
92052012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9206
eb864a71 9207 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9208
95ddf442
GM
92092012-02-17 Glenn Morris <rgm@gnu.org>
9210
9211 * net/socks.el: Require network-stream. (Bug#10599)
9212
48dd1e39 92132012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9214
9215 * international/charprop.el:
9216 * international/uni-name.el:
9217 * international/uni-old-name.el:
9218 * international/uni-comment.el: Regenerate.
9219
d68cd087
GM
92202012-02-16 Glenn Morris <rgm@gnu.org>
9221
9222 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9223 Interactively in calendar buffer, give an error if not on a date.
9224
13932042
GM
92252012-02-15 Glenn Morris <rgm@gnu.org>
9226
9227 * shell.el (shell-delimiter-argument-list):
9228 Revert 2011-02-17 change. (Bug#8027)
9229
c3a70e2b
CY
92302012-02-15 Chong Yidong <cyd@gnu.org>
9231
60236b0d
CY
9232 * minibuffer.el (completion-at-point-functions): Doc fix.
9233
c3a70e2b
CY
9234 * custom.el (defcustom): Doc fix; note use of defvar.
9235
9f26dc24
GM
92362012-02-15 Glenn Morris <rgm@gnu.org>
9237
9238 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9239 Doc fixes.
9240
6546b134
GM
92412012-02-14 Glenn Morris <rgm@gnu.org>
9242
9243 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9244
d29b2b4c
LI
92452012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9246
9247 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9248 way the ports list is computed.
835bdcba
LI
9249 (smtpmail-query-smtp-server): Prompt the user for a port number if
9250 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9251
08dcdbc9
TZ
92522012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9253
9254 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9255
2605051a
GM
92562012-02-13 Glenn Morris <rgm@gnu.org>
9257
9258 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9259
7ee99f32
TZ
92602012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9261
9262 * net/gnutls.el (gnutls-trustfiles): New variable.
9263 (gnutls-negotiate): Use it.
9264
5f0af64f
LI
92652012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9266
9267 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9268 does its stuff if Gnus is running.
9269
c14fcc95
AM
92702012-02-13 Alan Mackenzie <acm@muc.de>
9271
9272 Fix a loop in c-set-fl-decl-start.
9273
7a71b18d 9274 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9275 c-backward-syntactic-ws actually moves backwards.
9276
142b4d90
LL
92772012-02-13 Leo Liu <sdl.web@gmail.com>
9278
9279 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9280 beginning so that all \C-o chars are removed.
9281
fa9958a6
TZ
92822012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9283
dc9924b8 9284 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9285
0bc5886a
AM
92862012-02-12 Alan Mackenzie <acm@muc.de>
9287
9288 Fix infinite loop with long macros.
4d6769e1 9289 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9290
d4bd55e7
CY
92912012-02-12 Chong Yidong <cyd@gnu.org>
9292
9293 * window.el (display-buffer): Doc fix (Bug#10785).
9294
66f3fe22
GM
92952012-02-12 Glenn Morris <rgm@gnu.org>
9296
bd7da63e
GM
9297 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9298 (x-disown-selection-internal, x-get-selection-internal):
9299 Sync docs with the xselect.c versions.
9300
66f3fe22
GM
9301 * allout-widgets.el: Add missing license notice.
9302
3e0d2fa7
GM
93032012-02-11 Glenn Morris <rgm@gnu.org>
9304
cfecdf09
GM
9305 * select.el (x-get-selection-internal, x-own-selection-internal)
9306 (x-disown-selection-internal):
9307 * x-dnd.el (x-get-selection-internal): Update declarations.
9308
6d216d7f
GM
9309 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9310
2bed3f04
GM
9311 * window.el (window-sides-slots):
9312 * tool-bar.el (tool-bar-position):
9313 * term/xterm.el (xterm-extra-capabilities):
9314 * ses.el (ses-self-reference-early-detection):
9315 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9316 (verilog-auto-wire-type)
9317 (verilog-auto-delete-trailing-whitespace)
9318 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9319 (verilog-auto-tieoff-declaration):
9320 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9321 (sql-oracle-statement-starters, sql-oracle-scan-on):
9322 * progmodes/prolog.el (prolog-align-comments-flag)
9323 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9324 (prolog-left-indent-regexp, prolog-paren-indent-p)
9325 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9326 (prolog-types, prolog-mode-specificators)
9327 (prolog-determinism-specificators, prolog-directives)
9328 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9329 (prolog-electric-dot-flag)
9330 (prolog-electric-dot-full-predicate-template)
9331 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9332 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9333 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9334 (prolog-program-switches, prolog-prompt-regexp)
9335 (prolog-debug-on-string, prolog-debug-off-string)
9336 (prolog-trace-on-string, prolog-trace-off-string)
9337 (prolog-zip-on-string, prolog-zip-off-string)
9338 (prolog-use-standard-consult-compile-method-flag)
9339 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9340 (prolog-imenu-max-lines, prolog-info-predicate-index)
9341 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9342 (prolog-char-quote-workaround):
9343 * progmodes/cc-vars.el (c-defun-tactic):
9344 * net/tramp.el (tramp-encoding-command-interactive)
9345 (tramp-local-end-of-line):
9346 * net/soap-client.el (soap-client):
9347 * net/netrc.el (netrc-file):
9348 * net/gnutls.el (gnutls):
9349 * minibuffer.el (completion-category-overrides)
9350 (completion-cycle-threshold)
9351 (completion-pcm-complete-word-inserts-delimiters):
9352 * man.el (Man-name-local-regexp):
9353 * mail/feedmail.el (feedmail-display-full-frame):
9354 * international/characters.el (glyphless-char-display-control):
9355 * eshell/em-ls.el (eshell-ls-date-format):
9356 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9357 (lisp-lambda-list-keyword-parameter-indentation)
9358 (lisp-lambda-list-keyword-parameter-alignment):
9359 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9360 * dired-x.el (dired-omit-verbose):
9361 * cus-theme.el (custom-theme-allow-multiple-selections):
9362 * calc/calc.el (calc-highlight-selections-with-faces)
9363 (calc-lu-field-reference, calc-lu-power-reference)
9364 (calc-note-threshold):
9365 * battery.el (battery-mode-line-limit):
9366 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9367 (archive-7z-update):
9368 * allout.el (allout-prefixed-keybindings)
9369 (allout-unprefixed-keybindings)
9370 (allout-inhibit-auto-fill-on-headline)
9371 (allout-flattened-numbering-abbreviation):
9372 * allout-widgets.el (allout-widgets-auto-activation)
9373 (allout-widgets-icons-dark-subdir)
9374 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9375 (allout-widgets-theme-dark-background)
9376 (allout-widgets-theme-light-background)
9377 (allout-widgets-item-image-properties-emacs)
9378 (allout-widgets-item-image-properties-xemacs)
9379 (allout-widgets-run-unit-tests-on-load)
9380 (allout-widgets-time-decoration-activity)
9381 (allout-widgets-hook-error-post-time)
9382 (allout-widgets-track-decoration):
9383 Add missing :version tags to new defcustoms and defgroups.
9384
5fec1b8e
GM
9385 * progmodes/sql.el (sql-ansi-statement-starters)
9386 (sql-oracle-statement-starters): Add custom type.
9387
3e0d2fa7
GM
9388 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9389 (prolog-system-version): Give it a type.
9390
90b671e2
EZ
93912012-02-11 Eli Zaretskii <eliz@gnu.org>
9392
9393 * term/pc-win.el (x-select-text, x-selection-owner-p)
9394 (x-own-selection-internal, x-disown-selection-internal)
9395 (x-get-selection-internal): Sync doc strings and argument lists
9396 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9397
5eac0c02
LL
93982012-02-11 Leo Liu <sdl.web@gmail.com>
9399
9400 * progmodes/python.el (python-end-of-statement): Fix infinite
9401 loop. (Bug#10788)
9402
f82cb659
GM
94032012-02-10 Glenn Morris <rgm@gnu.org>
9404
9405 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9406 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9407
cc26d239
LI
94082012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9409
9410 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9411 about SMTP before checking the From header.
9412
91027d08 9413 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9414 into own function for reuse by emacsbug.el.
9415
1be3ca5a
LL
94162012-02-10 Leo Liu <sdl.web@gmail.com>
9417
9418 * subr.el (condition-case-unless-debug): Rename from
9419 condition-case-no-debug. All callers changed.
9420 (with-demoted-errors): Fix caller.
9421
9422 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9423 * nxml/rng-valid.el (rng-do-some-validation):
9424 * emacs-lisp/package.el (package-refresh-contents)
9425 (package-menu-execute):
9426 * desktop.el (desktop-create-buffer):
91027d08 9427 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9428
b011fbfe
GM
94292012-02-10 Glenn Morris <rgm@gnu.org>
9430
b2096d72
GM
9431 * textmodes/bibtex.el:
9432 Add missing :version tags for new/changed defcustoms.
9433
b011fbfe
GM
9434 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9435
4c7e65bf
LI
94362012-02-09 Lars Ingebrigtsen <larsi@rusty>
9437
9438 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9439 (smtpmail-via-smtp): Use it, or fall back on the From address.
9440 (smtpmail-send-it): Ditto.
9441
f3934f6f
SM
94422012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9445 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9446 (byte-compile-tmp-var): New const.
9447 (byte-compile-defvar): Use it to minimize .elc size.
9448 Just use `defvar' rather than simulate it (bug#10761).
9449
a075a2c5
GM
94502012-02-09 Glenn Morris <rgm@gnu.org>
9451
cf3aa21b
GM
9452 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9453
354998cd
GM
9454 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9455 Add :version tags.
9456
dc9924b8
SM
9457 * progmodes/compile.el (compilation-error-screen-columns)
9458 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9459
dab3703d
GM
9460 * vc/log-view.el (log-view-toggle-entry-display):
9461 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9462
3f88cd72
GM
9463 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9464 (report-emacs-bug-can-use-xdg-email):
9465 (report-emacs-bug-insert-to-mailer): Doc fixes.
9466 (report-emacs-bug): Message fix.
9467
d95b247d
GM
9468 * net/browse-url.el (browse-url-can-use-xdg-open)
9469 (browse-url-xdg-open): Doc fixes.
9470
a075a2c5
GM
9471 * electric.el (electric-indent-mode, electric-pair-mode)
9472 (electric-layout-rules, electric-layout-mode): Doc fixes.
9473 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9474
ffb6157e
MR
94752012-02-08 Martin Rudalics <rudalics@gmx.at>
9476
9477 * server.el (server-unselect-display): Don't inadvertently kill
9478 the current buffer. (Bug#10729)
9479
e1ac4066
GM
94802012-02-08 Glenn Morris <rgm@gnu.org>
9481
34e8a2da
GM
9482 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9483 (sql-list-table): Doc fixes.
9484
b4ac6e8c
GM
9485 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9486 Comment out (does nothing).
9487
e1ac4066
GM
9488 * completion.el (dynamic-completion-mode):
9489 * dirtrack.el (dirtrack-debug-mode):
9490 * electric.el (electric-layout-mode):
9491 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9492 * face-remap.el (text-scale-mode, buffer-face-mode):
9493 * iimage.el (iimage-mode):
9494 * image-mode.el (image-transform-mode):
9495 * minibuffer.el (completion-in-region-mode):
9496 * scroll-lock.el (scroll-lock-mode):
9497 * simple.el (next-error-follow-minor-mode):
9498 * tar-mode.el (tar-subfile-mode):
9499 * tooltip.el (tooltip-mode):
9500 * vcursor.el (vcursor-use-vcursor-map):
9501 * wid-browse.el (widget-minor-mode):
9502 * emulation/tpu-edt.el (tpu-edt-mode):
9503 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9504 * international/iso-ascii.el (iso-ascii-mode):
9505 * language/thai-util.el (thai-word-mode):
9506 * mail/supercite.el (sc-minor-mode):
9507 * net/goto-addr.el (goto-address-mode):
9508 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9509 * progmodes/cwarn.el (cwarn-mode):
9510 * progmodes/flymake.el (flymake-mode):
9511 * progmodes/glasses.el (glasses-mode):
9512 * progmodes/hideshow.el (hs-minor-mode):
9513 * progmodes/pascal.el (pascal-outline-mode):
9514 * textmodes/enriched.el (enriched-mode):
9515 * vc/smerge-mode.el (smerge-mode):
9516 Doc fixes (minor mode argument).
9517
5e0d957f
EZ
95182012-02-07 Eli Zaretskii <eliz@gnu.org>
9519
9520 * ls-lisp.el (ls-lisp-sanitize): New function.
9521 (ls-lisp-insert-directory): Use it to fix or remove any elements
9522 in file-alist with missing attributes. (Bug#4673)
9523
98d7371e
AM
95242012-02-07 Alan Mackenzie <acm@muc.de>
9525
9526 Fix spurious recognition of c-in-knr-argdecl.
9527
9528 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9529 putative K&R region.
9530
667ced3a
AM
95312012-02-07 Alan Mackenzie <acm@muc.de>
9532
eb864a71
LM
9533 * progmodes/cc-engine.el (c-forward-objc-directive):
9534 Prevent looping in "#pragma mark @implementation".
667ced3a 9535
5b77774d
MA
95362012-02-07 Michael Albinus <michael.albinus@gmx.de>
9537
9538 * notifications.el (notifications-on-closed-signal): Make `reason'
9539 optional. (Bug#10744)
9540
af008560
GM
95412012-02-07 Glenn Morris <rgm@gnu.org>
9542
60d47423
GM
9543 * emacs-lisp/easy-mmode.el (define-minor-mode):
9544 Doc fixes for the macro and the mode it defines.
9545
dd605cc4
GM
9546 * image.el (imagemagick-types-inhibit): Doc fix.
9547
af008560
GM
9548 * cus-start.el (imagemagick-render-type): Add it.
9549
5cc59a37
LI
95502012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9551
4d6769e1
JB
9552 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9553 Set the default at load time, too, so that `font-lock-fontify-buffer'
9554 can be called without setting up the entire mode first. This fixes
9555 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9556
9a6dd747
CY
95572012-02-06 Chong Yidong <cyd@gnu.org>
9558
2d16b285
CY
9559 * simple.el (list-processes--refresh): Delete exited processes
9560 (Bug#8094).
9561
171e9b6e
CY
9562 * comint.el (comint-next-prompt): next-single-char-property-change
9563 and prev-single-char-property-change never return nil (Bug#8657).
9564
9a6dd747
CY
9565 * custom.el (defcustom): Doc fix (Bug#9711).
9566
aa4589a7
CY
95672012-02-05 Chong Yidong <cyd@gnu.org>
9568
5c2a252f
CY
9569 * cus-edit.el (custom-variable-reset-backup): Quote the value
9570 before storing it in the customized-value property (Bug#6712).
4aab9006 9571 (custom-display): Add a customization type tag.
983b9602 9572 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9573
aa4589a7
CY
9574 * wid-edit.el (widget-field-value-get): New optional arg to
9575 suppress trailing whitespace truncation.
9576 (character): Use it (Bug#2689).
9577
1ff980ae
AS
95782012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9579
9580 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9581 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9582
03988c98
CY
95832012-02-05 Chong Yidong <cyd@gnu.org>
9584
eeb6cc88
CY
9585 * cus-edit.el (custom-variable-value-create): For mismatched
9586 types, show the current value (Bug#7600).
9587
03988c98
CY
9588 * custom.el (defcustom): Doc fix.
9589
f8cdeef0
GM
95902012-02-05 Glenn Morris <rgm@gnu.org>
9591
9592 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9593
0696d255
JB
95942012-02-05 Juanma Barranquero <lekktu@gmail.com>
9595
9596 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9597 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9598 (pp-last-sexp): Use `looking-at-p'.
9599
34c99998
GM
96002012-02-04 Glenn Morris <rgm@gnu.org>
9601
8f05da42
GM
9602 * files.el (revert-buffer):
9603 Doc fix (mention revert-buffer-in-progress-p).
9604
f160676e
GM
9605 * emacs-lisp/ert-x.el (ert-simulate-command):
9606 Check deferred-action-list (which is obsolete) is bound.
9607
c7291ad9
GM
9608 * subr.el (with-wrapper-hook): Doc fixes.
9609
34c99998
GM
9610 * simple.el (filter-buffer-substring-functions)
9611 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9612
6283a7d3
LL
96132012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9614
9615 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9616 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9617
e96e3013
LL
96182012-02-04 Leo Liu <sdl.web@gmail.com>
9619
9620 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9621
8ded50f2
GM
96222012-02-04 Glenn Morris <rgm@gnu.org>
9623
82ff1d13
GM
9624 * image.el (image-extension-data): Add obsolete alias.
9625
987a0a16
GM
9626 * isearch.el (isearch-update): Doc fix.
9627
ea32ef46
GM
9628 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9629
8ded50f2
GM
9630 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9631
eea14f31
GM
96322012-02-03 Glenn Morris <rgm@gnu.org>
9633
9634 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9635 (image-animate-timeout): Doc fix.
9636
9637 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9638
12f381b7
GM
96392012-02-02 Glenn Morris <rgm@gnu.org>
9640
953cebf5
GM
9641 * server.el (server-auth-dir): Doc fix.
9642 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9643
12f381b7
GM
9644 * subr.el (run-mode-hooks): Doc fix.
9645
953a8c3b
JL
96462012-02-02 Juri Linkov <juri@jurta.org>
9647
9648 * image-mode.el (image-toggle-display-image): Remove tautological
9649 `major-mode' from the `derived-mode-p' test.
9650
c5d3843c
KH
96512012-02-02 Kenichi Handa <handa@m17n.org>
9652
9f6e692e 9653 * composite.el (compose-region): Cancel previous change.
c5d3843c 9654
159462d4 96552012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9656
9657 * composite.el (compose-region, compose-string): Signal error for
9658 a null string component (Bug#6988).
9659
9f562668
CY
96602012-02-01 Chong Yidong <cyd@gnu.org>
9661
e2cef717
CY
9662 * view.el (view-buffer-other-window, view-buffer-other-frame):
9663 Handle special modes like view-buffer (Bug#10650).
9664 (view-buffer): Simplify.
9665
9f562668
CY
9666 * frame.el (set-frame-font): Tweak meaning of third argument.
9667
9f6e692e
JB
9668 * dynamic-setting.el (font-setting-change-default-font):
9669 Use set-frame-font (Bug#9982).
9f562668 9670
781acb9f
GM
96712012-02-01 Glenn Morris <rgm@gnu.org>
9672
6035be52
GM
9673 * progmodes/compile.el (compilation-internal-error-properties):
9674 Respect compilation-first-column in the "*compilation*" buffer.
9675
781acb9f
GM
9676 * emacs-lisp/easy-mmode.el (define-minor-mode):
9677 Relax :variable's test for a named function.
9678
abbceb00
AM
96792012-01-31 Alan Mackenzie <acm@muc.de>
9680
9681 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9682 off by one error.
9683
fce3fdeb
CY
96842012-01-31 Chong Yidong <cyd@gnu.org>
9685
9686 * frame.el (set-frame-font): New arg ALL-FRAMES.
9687
9688 * menu-bar.el (menu-set-font): Use set-frame-font.
9689
9690 * faces.el (face-spec-reset-face): Don't apply unspecified
9691 attribute values to the default face.
9692
47893581
JB
96932012-01-31 Juanma Barranquero <lekktu@gmail.com>
9694
9695 * progmodes/cwarn.el (cwarn): Remove dead link.
9696 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9697 Remove * from defcustom docstrings.
9698 (turn-on-cwarn-mode): Make obsolete.
9699 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9700 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9701
e58e988a
GM
97022012-01-31 Glenn Morris <rgm@gnu.org>
9703
60dc2671 9704 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9705 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9706 Allow named functions to be used as the cdr of :variable.
e58e988a 9707
7a3f511d
GM
97082012-01-30 Glenn Morris <rgm@gnu.org>
9709
9710 * emacs-lisp/authors.el (authors-fixed-entries):
9711 Remove reference to deleted file rnewspost.el.
9712
cb882333
JB
97132012-01-29 Juanma Barranquero <lekktu@gmail.com>
9714
9715 * window.el (window-with-parameter): Remove unused variable `windows'.
9716 (window--side-check): Remove unused variable `code'.
9717 (window--resize-siblings): Remove unused variable `first'.
9718 (adjust-window-trailing-edge): Remove unused variable `failed'.
9719 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9720 Use `let', not `let*'.
9721 (balance-windows-2): Remove unused variable `found'.
9722 (window--state-put-2): Remove unused variable `splits'.
9723 (window-state-put): Remove unused variable `selected'.
9724 (same-window-p): Use `string-match-p'.
9725 (display-buffer-assq-regexp): Remove unused variable `value'.
9726 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9727 Mark argument ALIST as ignored.
9728 (pop-to-buffer): Remove unused variable `old-window'.
9729
907201af
EZ
97302012-01-29 Eli Zaretskii <eliz@gnu.org>
9731
9732 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9733 and .lzma compressed files.
9734
ea162670
CY
97352012-01-29 Chong Yidong <cyd@gnu.org>
9736
5b95ee8a
CY
9737 * frame.el (window-system-default-frame-alist): Doc fix.
9738
ea162670
CY
9739 * dynamic-setting.el (font-setting-change-default-font): Don't
9740 change the default face if SET-FONT argument is non-nil (Bug#9982).
9741
d6e6f4b1
SB
97422012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9743
9744 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9745
0f29fa41 97462012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9747
9748 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9749 breakpoints in files outside current directory (Bug#6098).
9750
db174434
CY
97512012-01-29 Chong Yidong <cyd@gnu.org>
9752
6b25e4e2
SE
9753 * progmodes/python.el: Require ansi-color at top-level.
9754
6df6ae42
JB
9755 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9756 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9757 (lisp-mode-abbrev-table): Add doc.
9758 (lisp-mode-variables): Don't set local-abbrev-table.
9759 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9760
e70ee681
RW
97612012-01-28 Roland Winkler <winkler@gnu.org>
9762
9763 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9764
ace88aa2
RW
97652012-01-28 Roland Winkler <winkler@gnu.org>
9766
9767 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9768 (bibtex-set-dialect): Use it. Either set global values of
9769 dialect-dependent variables or bind these variables buffer-locally
9770 (Bug#10254).
9771 (bibtex-mode): Call bibtex-set-dialect via
9772 hack-local-variables-hook.
eb864a71
LM
9773 (bibtex-dialect): Update docstring.
9774 Add safe-local-variable predicate.
ace88aa2
RW
9775 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9776 bibtex-set-dialect.
9777 (bibtex-mode-map): Define menu for each dialect.
9778 (bibtex-entry): Fix docstring.
9779
93376c5b
CY
97802012-01-28 Chong Yidong <cyd@gnu.org>
9781
9782 * eshell/esh-arg.el (eshell-quote-argument): New function.
9783
9784 * eshell/esh-ext.el (eshell-invoke-batch-file):
9785 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9786 first arg to eshell-parse-command (Bug#10523).
9787
4372494f
DA
97882012-01-28 Drew Adams <drew.adams@oracle.com>
9789
9790 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9791 `default-directory' is non-nil.
9792
4d4ec1f8
EZ
97932012-01-28 Eli Zaretskii <eliz@gnu.org>
9794
9795 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9796 line that displays system-configuration-options. (Bug#9924)
9797
7c188927
DA
97982012-01-28 Drew Adams <drew.adams@oracle.com>
9799
9800 * descr-text.el (describe-char): Show information about POS, in
9801 addition to information about the character at POS. Improve and
9802 update the doc string. Change "code point" to "code point in
9803 charset", to avoid confusion with the character's Unicode code
9804 point shown above that. (Bug#10129)
9805
e0da685a
EZ
98062012-01-28 Eli Zaretskii <eliz@gnu.org>
9807
9808 * descr-text.el (describe-char): Show the raw character, not only
9809 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9810 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9811 for the reasons.
9812
70550acf
PH
98132012-01-28 Phil Hagelberg <phil@hagelb.org>
9814
eb864a71
LM
9815 * emacs-lisp/package.el (package-install):
9816 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9817
0ce8e868
CY
98182012-01-28 Chong Yidong <cyd@gnu.org>
9819
cb882333
JB
9820 * emacs-lisp/package.el (package-maybe-load-descriptor):
9821 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9822 (package-maybe-load-descriptor): Use it.
9823 (package-download-transaction): Fully load required packages
9824 inside the loop, so that `require' calls work (Bug#10593).
9825 (package-install): No need to call package-initialize now.
9826
2e7f3bea
CY
98272012-01-28 Chong Yidong <cyd@gnu.org>
9828
6e9bad14
CY
9829 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9830
f823b8ca
CY
9831 * tooltip.el (tooltip-mode): Doc fix.
9832 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9833
2680c309
CY
9834 * frame.el (set-cursor-color): Doc fix (Bug#352).
9835
d7a9e63b
CY
9836 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9837 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9838
2e7f3bea
CY
9839 * cus-edit.el (custom-buffer-create-internal): Fix search button
9840 action (Bug#10542).
2ae01800 9841 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9842
fc4f7a23
EW
98432012-01-27 Eduard Wiebe <usenet@pusto.de>
9844
9845 * dired.el (dired-mark-files-regexp):
9846 Include any subdirectory components. (Bug#10445)
9847
7dd37071
ML
98482012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9849
9850 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9851 Handle [host]:port syntax. (Bug#10533)
9852
a268160b
AH
98532012-01-27 Alex Harsanyi <harsanyi@mac.com>
9854
9855 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9856
e43273ef
GM
98572012-01-26 Glenn Morris <rgm@gnu.org>
9858
9859 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9860 * term.el (term-raw-escape-map): Use Control-X-prefix.
9861 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9862
1edf595d
MR
98632012-01-25 Martin Rudalics <rudalics@gmx.at>
9864
9865 * window.el (window-state-get, window--state-get-1): Don't deal
9866 with fixed-sizeness of windows. Simplify code.
9867
fa8eafef
JC
98682012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9869
6df6ae42
JB
9870 * window.el (window--state-get-1, window--state-put-2):
9871 Don't save and restore the mark.
fa8eafef 9872
0b21c100
CY
98732012-01-25 Chong Yidong <cyd@gnu.org>
9874
9875 * custom.el (custom-variable-p): Doc fix.
9876
5ae1a6c8
GM
98772012-01-25 Glenn Morris <rgm@gnu.org>
9878
40047858
GM
9879 * dired.el (dired-goto-file): Handle some of the more common
9880 characters that `ls -b' escapes. (Bug#10596)
9881
5ddce96c
GM
9882 * progmodes/compile.el (compilation-next-error-function):
9883 Respect compilation-first-column in the "*compilation*" buffer.
9884 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9885
5ae1a6c8
GM
9886 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9887
b559f1a9
GM
98882012-01-24 Glenn Morris <rgm@gnu.org>
9889
9890 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9891
6725d21a
JD
98922012-01-24 Julien Danjou <julien@danjou.info>
9893
9894 * color.el (color-rgb-to-hsl): Fix value computing.
9895 (color-hue-to-rgb): New function.
9896 (color-hsl-to-rgb): New function.
9897 (color-clamp, color-saturate-hsl, color-saturate-name)
9898 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9899 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9900
70df4bbe
GM
99012012-01-24 Glenn Morris <rgm@gnu.org>
9902
9903 * vc/vc-rcs.el (vc-rcs-create-tag):
9904 * vc/vc-sccs.el (vc-sccs-create-tag):
9905 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9906
802a2ae2
ML
99072012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9908
9909 * eshell/esh-util.el (eshell-read-hosts-file):
9910 Skip comment lines. (Bug#10549)
9911
d7128bb1
ML
9912 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9913
d1a5c3b4
JB
99142012-01-23 Juanma Barranquero <lekktu@gmail.com>
9915
2724d9c7
JB
9916 * subr.el (display-delayed-warnings): Doc fix.
9917 (collapse-delayed-warnings): New function to collapse identical
9918 adjacent warnings.
9919 (delayed-warnings-hook): Add it.
d1a5c3b4 9920
a5509865
MA
99212012-01-22 Michael Albinus <michael.albinus@gmx.de>
9922
9923 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9924
a5509865
MA
9925 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9926 (tramp-default-user-alist): Don't add "pscp".
9927 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9928 property "login-as", if set. (Bug#10530)
9929
cc6d5805
MA
99302012-01-21 Michael Albinus <michael.albinus@gmx.de>
9931
9932 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9933 "plink1" and "psftp". (Bug#10530)
9934
99352012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9936
9937 * international/mule-cmds.el (prefer-coding-system): Show a
9938 warning message if the default value of file-name-coding-system
9939 was not changed.
9940
f0960428
JC
99412012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9942
cb882333
JB
9943 * windmove.el (windmove-reference-loc):
9944 Fix windmove-reference-loc miscalculation.
f0960428 9945
dd6f2a63
JB
99462012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9947
9948 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9949 default unit.
9950
7b447e9b
GM
99512012-01-21 Glenn Morris <rgm@gnu.org>
9952
117a9ea1
GM
9953 * international/mule.el (auto-coding-alist): Add .tbz.
9954
7b447e9b
GM
9955 * files.el (local-enable-local-variables): Doc fix.
9956 (inhibit-local-variables-regexps): Rename from
9957 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9958 Doc fix. Add some extensions from auto-coding-alist.
9959 (inhibit-local-variables-suffixes):
9960 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9961 (inhibit-local-variables-p):
9962 New function, extracted from set-auto-mode-1.
9963 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9964 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9965 (hack-local-variables): Doc fix. Make the mode-only case
9966 respect enable-local-variables and friends.
9967 Respect inhibit-local-variables-regexps for file-locals, but
9968 not for directory-locals.
9969 (set-visited-file-name):
9970 Take account of inhibit-local-variables-regexps.
9971 Whether it applies may change as the file name is changed.
9972 * jka-cmpr-hook.el (jka-compr-install):
9973 * jka-compr.el (jka-compr-uninstall):
9974 Update for inhibit-first-line-modes-suffixes name change.
9975
dd6e3cdd
MR
99762012-01-20 Martin Rudalics <rudalics@gmx.at>
9977
9978 * help-macro.el (make-help-screen): Temporarily restore original
9979 binding for minor-mode-map-alist (Bug#10454).
9980
0d0deb38
JD
99812012-01-19 Julien Danjou <julien@danjou.info>
9982
9983 * color.el (color-name-to-rgb): Use the white color to find the max
9984 color component value and return correctly computed values.
9985 (color-name-to-rgb): Add missing float conversion for max value.
9986
34a02f46
MR
99872012-01-19 Martin Rudalics <rudalics@gmx.at>
9988
9989 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9990 special state value for window-persistent-parameters.
9991 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9992 (window--state-put-2): Reset all window parameters to nil before
9993 assigning values of persistent parameters.
9994
606c44c4
AM
99952012-01-18 Alan Mackenzie <acm@muc.de>
9996
9997 Eliminate sluggishness and hangs in fontification of "semicolon
9998 deserts".
9999
cb882333
JB
10000 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10001 Change value 10000 -> 3000.
606c44c4
AM
10002 (c-state-safe-place): Reformulate so it doesn't stack up an
10003 infinite number of wrong entries in c-state-nonlit-pos-cache.
10004 (c-determine-limit-get-base, c-determine-limit): New functions to
10005 determine backward search limits disregarding literals.
10006 (c-find-decl-spots): Amend commenting.
10007 (c-cheap-inside-bracelist-p): New function which detects "={".
10008
10009 * progmodes/cc-fonts.el
10010 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10011 backward search.
10012 (c-font-lock-declarations): Fix an occurrence of point being
10013 undefined. Check additionally for point being in a bracelist or
10014 near a macro invocation without a semicolon so as to avoid a
10015 fruitless time consuming search for a declarator. Give a more
10016 precise search limit for declarators using the new
10017 c-determine-limit.
10018
f3860cea
GM
100192012-01-18 Glenn Morris <rgm@gnu.org>
10020
10021 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10022 (set-auto-mode): Doc fixes.
10023
1db03b16
GM
100242012-01-17 Glenn Morris <rgm@gnu.org>
10025
0e6038be
GM
10026 * isearch.el (search-nonincremental-instead): Fix doc typo.
10027
1db03b16
GM
10028 * dired.el (dired-insert-directory): Handle newlines in directory name.
10029 (dired-build-subdir-alist): Unescape newlines in directory name.
10030
4cb0aa75
MA
100312012-01-17 Michael Albinus <michael.albinus@gmx.de>
10032
10033 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10034 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10035 (tramp-action-terminal): Use it. (Bug#10530)
10036
1d00653d
SM
100372012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10040
6a6ee00d
MR
100412012-01-16 Martin Rudalics <rudalics@gmx.at>
10042
10043 * window.el (window-state-ignored-parameters): Remove variable.
10044 (window--state-get-1): Rename argument MARKERS to IGNORE.
10045 Handle persistent window parameters. Make copy of clone-of
10046 parameter only if requested. (Bug#10348)
10047 (window--state-put-2): Install a window parameter only if it has
10048 a non-nil value or an existing parameter shall be overwritten.
10049
97912def
MA
100502012-01-15 Michael Albinus <michael.albinus@gmx.de>
10051
10052 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10053
688070a5
EZ
100542012-01-14 Eli Zaretskii <eliz@gnu.org>
10055
10056 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10057 don't pass the (nil) value of `upnode' to string-match.
10058
301afadc
CY
100592012-01-14 Chong Yidong <cyd@gnu.org>
10060
10061 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10062 Fix values recognized by the cursorBlink resource.
301afadc 10063
9e5788aa
PE
100642012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10065
10066 * epg.el (epg--make-temp-file): Avoid permission race condition
10067 when running on old Emacs versions (bug#10403).
10068
3cdb7f5a
GM
100692012-01-14 Glenn Morris <rgm@gnu.org>
10070
10071 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10072
8c82b1b4
AM
100732012-01-13 Alan Mackenzie <acm@muc.de>
10074
10075 Fix filling for when filladapt mode is enabled.
10076
10077 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10078 c-mask-paragraph, pass in `fill-paragraph' rather than
10079 `fill-region-as-paragraph'. (This is a reversion of a previous
10080 change.)
eb864a71
LM
10081 * progmodes/cc-mode.el (c-basic-common-init):
10082 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10083
e517eda4
GM
100842012-01-13 Glenn Morris <rgm@gnu.org>
10085
1498536e
GM
10086 * dired.el (dired-switches-escape-p): New function.
10087 (dired-insert-directory): Use dired-switches-escape-p.
10088 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10089
e517eda4
GM
10090 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10091
328f984d
GM
100922012-01-12 Glenn Morris <rgm@gnu.org>
10093
10094 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10095 changes in adaptive-fill-regexp. (Bug#10276)
10096
2cc769a8
AM
100972012-01-11 Alan Mackenzie <acm@muc.de>
10098
10099 Fix Emacs bug #10463 - put `widen's around the critical spots.
10100
1d00653d 10101 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10102 widen around each invocation of c-state-pp-to-literal. Remove an
10103 unused let variable.
10104
e52c37fa
GM
101052012-01-11 Glenn Morris <rgm@gnu.org>
10106
10107 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10108 Doc fix.
e52c37fa 10109
96f8741e
CY
101102012-01-10 Chong Yidong <cyd@gnu.org>
10111
1d00653d
SM
10112 * net/network-stream.el (network-stream-open-starttls):
10113 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10114 response to the capability command.
10115
b09a806e
GM
101162012-01-10 Glenn Morris <rgm@gnu.org>
10117
10118 * mail/unrmail.el (unrmail): Tweak previous change.
10119
7655cb66
CY
101202012-01-09 Chong Yidong <cyd@gnu.org>
10121
10122 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10123
9d5a8f0b
AM
101242012-01-08 Alan Mackenzie <acm@muc.de>
10125
10126 Optimise font locking in long enum definitions.
10127
10128 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10129 arm to a cond form to handle enums.
10130 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10131 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10132
9a0115ab 101332012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10134
10135 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10136 (Bug#10401)
6bb72cbd 10137
f186bb95
LMI
101382012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10139
29232a68
LMI
10140 * faces.el (set-face-attribute): Clarify the meaning of the nil
10141 frame (bug#10294).
10142
4e5d086d
LMI
10143 * subr.el (with-selected-frame): Mention that the selected frame
10144 is restored (bug#9980).
10145
8e66aebe
LMI
10146 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10147 (bug#9759).
10148
cd394be1 10149 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10150 (password-read): Don't autoload unused function.
10151
adf4e762
JB
101522012-01-07 Juanma Barranquero <lekktu@gmail.com>
10153
10154 * progmodes/which-func.el (which-func-mode): Turn into a
10155 non-interactive function and mark as obsolete (bug#10428).
10156
89bd9ccd
CY
101572012-01-06 Chong Yidong <cyd@gnu.org>
10158
10159 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10160 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10161 functions, along with 1 and -1.
10162
4afee9d5
EZ
101632012-01-06 Eli Zaretskii <eliz@gnu.org>
10164
10165 * time.el (display-time-load-average)
10166 (display-time-default-load-average): Doc fixes. See the thread
10167 starting at
10168 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10169 for the details.
10170
536aea70
GM
101712012-01-06 Glenn Morris <rgm@gnu.org>
10172
665ae865
GM
10173 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10174 has no messages. (Bug#10377)
10175
c869783d
GM
10176 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10177 than Info-edit. (Bug#10385)
10178
2bb4227e
GM
10179 * time.el (display-time-load-average, display-time-next-load-average):
10180 Doc fixes.
10181
7d5944b9
GM
10182 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10183 local setting of buffer-read-only to the input buffer. (Bug#10419)
10184
536aea70
GM
10185 * calendar/calendar.el (calendar-mode):
10186 Locally set scroll-margin to 0. (Bug#10379)
10187
7dccca16
UM
101882012-01-06 Ulrich Mueller <ulm@gentoo.org>
10189
10190 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10191
afbb7930
GM
101922012-01-05 Glenn Morris <rgm@gnu.org>
10193
10194 * eshell/em-unix.el (diff-no-select): Autoload it.
10195 (eshell/diff): Use diff-no-select. (Bug#10420)
10196
04482335
CY
101972012-01-05 Chong Yidong <cyd@gnu.org>
10198
7baca3bc
CY
10199 * shell.el (shell-dynamic-complete-functions): Revert last change.
10200 (shell-command-completion-function): New function.
10201 (shell-completion-vars): Use it to implement
10202 shell-completion-execonly (Bug#10417).
10203
04482335
CY
10204 * custom.el (enable-theme): Don't set custom-safe-themes.
10205
1d00653d
SM
10206 * cus-theme.el (custom-theme-merge-theme):
10207 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10208
bb5aa5d6
MM
102092012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10210
10211 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10212 first prompt in `sql-interacive-mode'.
10213 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10214 keywords.
6df6ae42 10215 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10216 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10217 context of original buffer. Invoke `sql-login-hook'.
10218
a7183d7c
EZ
102192012-01-04 Eli Zaretskii <eliz@gnu.org>
10220
10221 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10222 letters in cite-prefix.
10223
a1eacd1e
LMI
102242012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10225
10226 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10227
787cdb34
CY
102282012-01-03 Chong Yidong <cyd@gnu.org>
10229
1d00653d
SM
10230 * shell.el (shell-dynamic-complete-functions):
10231 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10232 comint-filename-completion first (Bug#10417).
10233
30710442
RS
102342012-01-02 Richard Stallman <rms@gnu.org>
10235
10236 * battery.el (battery-status-function):
10237 Detect when to use battery-yeeloong-sysfs.
10238 (battery-echo-area-format): Add string for Yeeloong.
10239 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10240 (battery-yeeloong-sysfs): New function.
10241
f75bfc33
CY
102422012-01-02 Chong Yidong <cyd@gnu.org>
10243
10244 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10245 (dirtrack): Merge code for handling relative filenames in prompt
10246 from shell-dir-cookie-watcher.
10247 (dirtrack-debug-message): New arg to avoid excess format calls.
10248
10249 * shell.el (shell-dir-cookie-re): Variable deleted.
10250 (shell-dir-cookie-watcher): Function deleted.
10251 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10252 with dirtrack-mode.
10253
651e947e
EZ
102542012-01-01 Eli Zaretskii <eliz@gnu.org>
10255
1d00653d
SM
10256 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10257 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10258 libgnutls-26.dll.
10259
94d4c7dc
AS
102602011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10261
10262 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10263
8d43f3cd
EZ
102642011-12-31 Eli Zaretskii <eliz@gnu.org>
10265
10266 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10267 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10268
98c8795a
MA
102692011-12-29 Michael Albinus <michael.albinus@gmx.de>
10270
10271 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10272 also for alternative shells.
10273 (tramp-open-connection-setup-interactive-shell): Check, whether
10274 the shell is a busybox.
10275 (tramp-send-command): Don't suppress multiple prompts for
10276 busyboxes, it hurts.
10277
51281b32
CY
102782011-12-28 Chong Yidong <cyd@gnu.org>
10279
10280 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10281 (gdb-get-source-file): Move mode line update to
10282 gdb-get-source-file (Bug#10087).
10283
2170cb53
CY
102842011-12-25 Chong Yidong <cyd@gnu.org>
10285
10286 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10287 gud-gdb-marker-filter without taking it as an argument.
10288 (gud-gdb-run-command-fetch-lines): Caller changed.
10289 (gud-gdb-completion-function): New variable.
10290 (gud-gdb-completion-at-point): Use it.
10291 (gud-gdb-completions-1): Split from gud-gdb-completions.
10292
10293 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10294 function as separate arguments.
10295 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10296 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10297 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10298 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10299 (gdb-stopped, def-gdb-auto-update-trigger)
10300 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10301 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10302 Callers changed.
2170cb53
CY
10303 (gud-gdbmi-completions): New function.
10304 (gdb): Use it for generating the completion table.
10305
be8b11bb
AM
103062011-12-24 Alan Mackenzie <acm@muc.de>
10307
10308 Introduce a mechanism to widen the region used in context font
1d00653d 10309 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10310
1d00653d
SM
10311 * progmodes/cc-langs.el (c-before-font-lock-functions):
10312 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10313 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10314 functions to be run just before context (etc.) font locking.
10315
10316 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10317 New, functionality extracted from
be8b11bb 10318 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10319 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10320 (c-after-change): Set c-in-after-change-fontification.
10321 (c-set-fl-decl-start): Rejig its interface, so it can be called
10322 from both after-change and context fontifying.
b81d40f0
JB
10323 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10324 New functions.
10325 (c-standard-font-lock-fontify-region-function): New variable.
10326 (c-font-lock-fontify-region): New function.
be8b11bb 10327
341cf6ac
JL
103282011-12-24 Juri Linkov <juri@jurta.org>
10329
10330 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10331 (Bug#10348)
10332
bffcee0a
MA
103332011-12-23 Michael Albinus <michael.albinus@gmx.de>
10334
10335 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10336 existence of source file. (Bug#10325)
10337
cb5e207c
AM
103382011-12-23 Alan Mackenzie <acm@muc.de>
10339
10340 Fix unstable fontification inside templates.
10341
b81d40f0
JB
10342 * progmodes/cc-langs.el (c-before-font-lock-functions):
10343 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10344 additionally has c-set-fl-decl-start. The other languages (apart
10345 from AWK) have that as a single entry.
10346
b81d40f0
JB
10347 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10348 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10349 c-set-fl-decl-start.
10350
b81d40f0
JB
10351 * progmodes/cc-mode.el (c-common-init, c-after-change):
10352 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10353 (c-set-fl-decl-start): New function, extracted from
10354 c-font-lock-enclosing-decls and enhanced.
10355
60ff536c
JB
103562011-12-23 Juanma Barranquero <lekktu@gmail.com>
10357
10358 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10359
1c4757d6
JL
103602011-12-22 Juri Linkov <juri@jurta.org>
10361
10362 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10363
d031f2c7
CY
103642011-12-22 Chong Yidong <cyd@gnu.org>
10365
10366 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10367
bace743a
DA
103682011-12-21 Drew Adams <drew.adams@oracle.com>
10369
10370 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10371
728a1f2b
JC
103722011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10373
10374 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10375
0d373f73
TZ
103762011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10377
fec0aaa4
TZ
10378 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10379 highlighting and support. Fix up comments for capitalization.
10380 (cfengine-mode-debug): New var.
10381 (cfengine3-mode): Change the modeline indicator to "CFE3".
10382 (cfengine3-font-lock-keywords): Improve defun highlighting.
10383 (cfengine2-actions): Rename from `cfengine-actions'.
10384 (cfengine2-font-lock-keywords): Rename from
10385 `cfengine-font-lock-keywords'.
10386 (cfengine2-imenu-expression): Rename from
10387 `cfengine-imenu-expression'.
10388 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10389 (cfengine2-beginning-of-defun): Rename from
10390 `cfengine-beginning-of-defun'.
10391 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10392 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10393 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10394 modeline indicator to "CFE2".
10395 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10396 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10397
bc86f573
CY
103982011-12-21 Chong Yidong <cyd@gnu.org>
10399
10400 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10401 filename argument.
10402
d45ba96b
MR
104032011-12-20 Martin Rudalics <rudalics@gmx.at>
10404
10405 * window.el (window-normalize-buffer-to-display): Remove.
10406 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10407
a6198c90
CY
104082011-12-19 Chong Yidong <cyd@gnu.org>
10409
10410 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10411 Don't signal an error in a predicate function; return non-nil.
10412 (vc-dir-mark-file): Move the error here.
10413 (vc-dir-mark-unmark): If acting on the region, keep going if one
10414 of the entries cannot be marked/unmarked.
10415 (vc-dir-mark-all-files): If current entry is a directory, mark
10416 only child files, as documented.
10417
34c5fb55
VB
104182011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10419
10420 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10421 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10422 addition.
10423
c803b2b7
JD
104242011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10425
10426 * term/ns-win.el (ns-get-selection-internal)
10427 (ns-store-selection-internal): Declare.
1154d12e
JB
10428 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10429 Declare as obsolete.
10430 (ns-get-pasteboard, ns-paste-secondary):
10431 Use ns-get-selection-internal.
10432 (ns-set-pasteboard, ns-copy-including-secondary):
10433 Use ns-store-selection-internal.
c803b2b7 10434
9cff91f8 104352011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10436
10437 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10438 (vc-deduce-fileset): Doc fix.
99a289d9 10439
f16c898a
AS
104402011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10441
10442 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10443
763237c4
SS
104442011-12-13 Sam Steingold <sds@gnu.org>
10445
10446 * man.el (Man-getpage-in-background): When running under a
10447 window-system, ignore $MANWIDTH and $COLUMNS.
10448
5fc1c122
KH
104492011-12-15 Kenichi Handa <handa@m17n.org>
10450
10451 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10452 (setup-ethiopic-environment-internal): Comment out key-binding for
10453 ethio-toggle-punctuation.
10454
13d49cbb
AM
104552011-12-13 Alan Mackenzie <acm@muc.de>
10456
898169a2
AM
10457 Add the switch statement to AWK Mode.
10458
7a71b18d 10459 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10460 "default" to the keywords regexp.
10461
7a71b18d 10462 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10463 expression as the rest.
1d00653d
SM
10464 (c-nonlabel-token-key): Allow string literals for AWK.
10465 Refactor for the other modes.
898169a2 10466
13d49cbb 10467 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10468 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10469 routines. Limit backward searching in c-font-lock-enclosing.decl.
10470
10471 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10472 pp-state and literal type in addition to the limits.
1d00653d 10473 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10474 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10475 (c-slow-in-literal, c-fast-in-literal): Remove.
10476 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10477
10478 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10479 being in a literal. Add a limit for backward searching.
10480
10481 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10482 c-slow-in-literal.
10483
15e0efc7
SM
104842011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10485
10486 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10487
454592a6
MR
104882011-12-13 Martin Rudalics <rudalics@gmx.at>
10489
10490 * window.el (delete-other-windows): Use correct frame in call to
10491 window-with-parameter.
10492
87393f26
DP
104932011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10494
10495 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10496 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10497 (makefile-gmake-statements, makefile-makepp-statements):
10498 Use it and add new makepp keywords.
10499 (makefile-makepp-font-lock-keywords): Add new patterns.
10500 (makefile-match-function-end): Match new [...] and [[...]].
10501
11636b22
JB
105022011-12-11 Juanma Barranquero <lekktu@gmail.com>
10503
10504 * ses.el (ses-call-printer-return, ses-cell-property-get)
10505 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10506 (ses-create-cell-variable, ses-reset-header-string)
10507 (ses-cell-set-formula, ses-repair-cell-reference-all)
10508 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10509 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10510 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10511 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10512 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10513 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10514 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10515 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10516 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10517 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10518 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10519 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10520
cf018193
VB
105212011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10522
10523 * ses.el: The overall change is to add cell renaming, that is
10524 setting fancy names for cell symbols other than name matching
10525 "\\`[A-Z]+[0-9]+\\'" regexp .
10526 (ses-create-cell-variable): New defun.
10527 (ses-relocate-formula): Relocate formulas only for cells the
10528 symbols of which are not renamed, i.e. symbols whose names do not
10529 match regexp "\\`[A-Z]+[0-9]+\\'".
10530 (ses-relocate-all): Relocate values only for cells the symbols of
10531 which are not renamed.
10532 (ses-load): Create cells variables as the (ses-cell ...) are read,
10533 in order to check row col consistency with cell symbol name only
10534 for cells that are not renamed.
10535 (ses-replace-name-in-formula): New defun.
10536 (ses-rename-cell): New defun.
10537
ee957461
CY
105382011-12-11 Chong Yidong <cyd@gnu.org>
10539
10540 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10541 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10542
9a9e9ef0
MR
105432011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10544
10545 * window.el (other-window): Fix docstring.
10546
92a8eba5
EZ
105472011-12-10 Eli Zaretskii <eliz@gnu.org>
10548
10549 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10550 `from' or `to' address before taking its substring.
10551 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10552 encoded name is chopped in the middle of the encoded string, and
10553 thus displayed encoded.
10554
e152e577
JB
105552011-12-10 Juanma Barranquero <lekktu@gmail.com>
10556
10557 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10558
e5d84bfe
EZ
105592011-12-10 Eli Zaretskii <eliz@gnu.org>
10560
10561 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10562 to use texinfo-update-node and commands that call it if the
10563 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10564 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10565 (texinfo-all-menus-update, texinfo-master-menu)
10566 (texinfo-update-node, texinfo-every-node-update)
10567 (texinfo-multiple-files-update): Doc fix. Warn against updating
10568 all the @node lines.
10569 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10570 argument is numeric. Explain better in the doc string what the
10571 function really does.
10572 (texinfo-insert-master-menu-list): Improve the error message
10573 displayed if there's no menu in the Top node.
10574 (Bug#2975) See also this thread:
e5d84bfe
EZ
10575 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10576
1d84e9bb
MG
105772011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10578
10579 * speedbar.el (speedbar-supported-extension-expressions):
10580 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10581
382c953b
JB
105822011-12-09 Juanma Barranquero <lekktu@gmail.com>
10583
10584 * printing.el (pr-mode-alist):
10585 * simple.el (filter-buffer-substring-functions)
10586 (completion-list-insert-choice-function):
10587 * window.el (window-with-parameter, window-atom-root)
10588 (window-sides-slots, window-size-fixed, window-min-delta)
10589 (window-max-delta, window--resize-mini-window)
10590 (window--resize-child-windows-normal, window-tree)
10591 (delete-other-windows, quit-window, split-window)
10592 (display-buffer-record-window, special-display-buffer-names)
10593 (special-display-regexps, special-display-popup-frame)
10594 (same-window-p, split-window-sensibly)
10595 (display-buffer-overriding-action, display-buffer-alist)
10596 (display-buffer-base-action, display-buffer, switch-to-buffer)
10597 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10598 (fit-window-to-buffer, recenter-positions)
10599 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10600 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10601 and remove unneeded backslashes in docstrings.
10602
39c9faef
SM
106032011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10604
98449af8
SM
10605 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10606
39c9faef
SM
10607 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10608 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10609 end in ".mk".
10610 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10611 when reading the makefile (bug#10116).
10612
86ed9fdc
SM
106132011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10614
10615 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10616 (bug#10116).
10617
5580f89d
GM
106182011-12-06 Glenn Morris <rgm@gnu.org>
10619
10620 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10621
28d3917c
CY
106222011-12-06 Chong Yidong <cyd@gnu.org>
10623
10624 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10625
a98edce9
JB
106262011-12-06 Juanma Barranquero <lekktu@gmail.com>
10627
10628 * textmodes/table.el (table-shorten-cell): Fix typo.
10629
e65adfac
CG
106302011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10631
10632 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10633
71cc0b74
EZ
106342011-12-05 Eli Zaretskii <eliz@gnu.org>
10635
10636 * descr-text.el (describe-char): Fix display of strong
10637 right-to-left characters and directional embeddings and overrides.
10638
10639 * simple.el (what-cursor-position): Fix display of codepoints of
10640 strong right-to-left characters.
10641
315bc30d
CY
106422011-12-05 Chong Yidong <cyd@gnu.org>
10643
10644 * faces.el (read-color): Doc fix.
10645
58a70b94
GM
106462011-12-05 Glenn Morris <rgm@gnu.org>
10647
10648 * align.el (align--set-marker): Add doc-string.
10649 Don't try to move something that is not a marker. (Bug#10216)
10650
5158face
GM
106512011-12-04 Glenn Morris <rgm@gnu.org>
10652
10653 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10654 overly zealous deletion of trailing whitespace.
10655
520fca41
JB
106562011-12-04 Juanma Barranquero <lekktu@gmail.com>
10657
10658 * server.el (server-delete-client): On Windows, do not try to delete
10659 the only terminal.
10660 (server-process-filter): On Windows, treat requests for a tty frame as
10661 if they were for a GUI frame if the running server is in GUI mode.
10662
5e605a2e
GM
106632011-12-03 Glenn Morris <rgm@gnu.org>
10664
10665 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10666
5c3fe83f
SM
106672011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10668
6f5e57e7
SM
10669 * electric.el: Streamline electric-indent's hook.
10670 (electric-indent-chars): Revert to simple list.
10671 (electric-indent-functions): New var.
10672 (electric-indent-post-self-insert-function): Use it.
10673
5c3fe83f
SM
10674 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10675 there's no inferior buffer (bug#10196).
10676 (prolog-consult-compile): Don't use toggle-read-only.
10677
6bdac736
MA
106782011-12-02 Michael Albinus <michael.albinus@gmx.de>
10679
10680 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10681 interrupt. (Bug#10187)
10682
6131ba7f
SM
106832011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10684
99c79fee
SM
10685 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10686 (bug#9160).
10687
6131ba7f
SM
10688 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10689 (bug#10191).
10690
cb0a02ea
JL
106912011-12-02 Juri Linkov <juri@jurta.org>
10692
10693 * info.el (Info-search): Display "end of manual" when Isearch
10694 reaches the end of single-file Info manual. (Bug#9918)
10695
66e0570c
EZ
106962011-12-02 Eli Zaretskii <eliz@gnu.org>
10697
10698 * isearch.el (isearch-message-prefix): Run the input method part
10699 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10700
02b16839
JL
107012011-12-02 Juri Linkov <juri@jurta.org>
10702
10703 * isearch.el (isearch-occur): Use `word-search-regexp' for
10704 `isearch-word'.
10705 (isearch-search-and-update): Add condition for `isearch-word' and
10706 call `word-search-regexp'. (Bug#10145)
10707
0b950688
GM
107082011-12-01 Glenn Morris <rgm@gnu.org>
10709
10710 * eshell/em-hist.el (eshell-hist-initialize):
10711 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10712 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10713
9505c3c7
SM
107142011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10715
10716 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10717
1bbe96b2 107182011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10719
a1beca85
SM
10720 * progmodes/verilog-mode.el (verilog-pretty-expr):
10721 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10722 verilog, such as += *= and the like.
10723 (verilog-assignment-operator-re): Regular expression to find the
10724 assigment operator in a verilog assignment.
10725 (verilog-assignment-operation-re): Regular expression to find an
10726 assignment statement for pretty-expr.
10727 (verilog-in-attribute-p): Query returns true if point is in an
10728 attribute context; used to skip these for expression line up from
10729 pretty-expr.
10730 (verilog-in-parameter-p): Query returns true if point is in an
10731 parameter definition context; used to skip these for expression
10732 line up from pretty-expr.
10733 (verilog-in-parenthesis-p): Query returns true if point is in a
10734 parenthetical expression, specifically ( ) but not [ ] or { };
10735 used by pretty-expr.
10736 (verilog-just-one-space): If there is no space, don't add one.
10737 (verilog-get-lineup-indent-2): Specifically skip just attribute
10738 contexts for expression lineup, rather than skipping all
10739 parenthetical expressions.
10740 (verilog-calculate-indent): Fix comment, and fix indent.
10741 (verilog-do-indent): Indent declarations in lists (suggested by
10742 Joachim Lechner).
10743 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10744 skeleton items.
10745 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10746 by Alain Mellan).
10747
1bbe96b2 107482011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10749
10750 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10751 parameters with embedded comments. Reported by Ray Stevens.
10752 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10753 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10754 Reported by Tim Holt.
10755 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10756 instantiated by upper module causing wrong expansion until AUTOed a
10757 second time. Reported by K C Buckenmaier.
10758 (verilog-diff-auto): Fix showing .* as a difference when
10759 `verilog-auto-star-save' off. Reported by Dan Dever.
10760 (verilog-auto-reset, verilog-read-always-signals)
10761 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10762 temporary signals in reset list if
10763 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10764 style to each signal's assignment type, bug381.
10765 Reported by Thomas Esposito.
6288f0ca
WS
10766 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10767 (verilog-uvm-statement-re): Support UVM indentation and
10768 highlighting, with old OVM keywords only.
a1beca85 10769 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10770 Support AUTOTIEOFF creating non-wire data types.
10771 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10772 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10773 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10774 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10775 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10776 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10777 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10778 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10779 non-numeric vector width. Reported by Alex Reed.
10780 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10781 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10782 (verilog-auto-delete-trailing-whitespace):
10783 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10784 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10785 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10786 Fix verilog-scan-cache corruption when running user AUTO expansion
10787 hooks that call indentation routines.
10788 (verilog-simplify-range-expression): Fix typo ignoring lower case
10789 identifiers.
10790 (verilog-delete-auto): Fix delete-autos to also remove user created
10791 automatics, as long as they start with AUTO.
10792 (verilog-batch-diff-auto, verilog-diff-auto)
10793 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10794 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10795 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10796 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10797 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10798 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10799 is disabled and its cache will get corrupt, causing AUTOS not to
10800 expand. Instead use only -quick functions.
10801 (verilog-scan-region): Fix scanning over escaped quotes.
10802 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10803 (verilog-re-search-backward-quick)
10804 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10805 related functions now ignore strings, to fix misparsing of strings
10806 with magic comments embedded in them.
a1beca85
SM
10807 (verilog-read-auto-template):
10808 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10809 Reported by Brad Dobbie.
10810 (verilog-read-auto-template):
10811 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10812 Reported by Brad Dobbie.
6288f0ca
WS
10813 (verilog-auto-inst, verilog-auto-inst-param)
10814 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10815 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10816 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10817 debugging templates without merge conflicts, bug357.
10818 Reported by Brad Dobbie.
10819 (verilog-read-auto-template):
10820 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10821 Reported by Brad Dobbie.
10822 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10823 abbrevs so user won't be asked to save.
10824 (verilog-read-auto-lisp-present): Fix to start at beginning of
10825 buffer in case called outside of verilog-auto.
10826 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10827 to "X-2". Reported by Matthew Myers.
10828 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10829 all inputs from module templates. Reported by Leith Johnson.
10830 (verilog-module-inside-filename-p): Fix locating programs as with
10831 modules.
10832 (verilog-auto-inst-port): Fix vl-width expressions when using
10833 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10834 (verilog-decls-get-regs, verilog-decls-get-signals,
10835 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10836 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10837 verilog-read-decls): Combine reg and wire structures into one var
10838 structure to represent SystemVerilog concepts.
10839 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10840 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10841 (verilog-auto-wire-type, verilog-insert-definition):
10842 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10843 SystemVerilog "logic" keyword instead of "wire"/"reg".
10844 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10845 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10846 ifdef or generate if so there's not a driver conflict).
10847 Reported by Matthew Myers.
10848 (verilog-auto-declare-nettype, verilog-insert-definition):
10849 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10850 `default_nettype none. Reported by Julian Gorfajn.
10851 (verilog-read-always-signals-recurse, verilog-read-decls)
10852 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10853 malformed end statement, bug325. Reported by Joshua Wise and
10854 Andrew Drake.
10855 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10856 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10857 when expanding .* in interfaces, bug320.
10858 Reported by Pierre-David Pfister.
6288f0ca 10859 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10860 name and open parenthesis, bug317.
10861 Reported by Pierre-David Pfister.
6288f0ca
WS
10862 (verilog-simplify-range-expression): Fix simplification of
10863 multiplications inside AUTOWIRE connections, bug303.
10864 (verilog-auto-inst-port): Support parameter expansion in
10865 multidimensional arrays.
10866 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10867 after "assert property". Reported by Julian Gorfajn.
10868 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10869 with multiplication, bug303.
10870 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10871 Reported by Jan Frode Lonnum.
10872
1bbe96b2
GM
108732011-11-30 Juanma Barranquero <lekktu@gmail.com>
10874
10875 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10876 (hfy-shell-file-name, hfy-shell):
10877 * international/fontset.el (x-decompose-font-name): Fix typos.
10878
108792011-11-29 Ken Brown <kbrown@cornell.edu>
10880
10881 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10882 (gdb-version): Remove defvar.
10883 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10884 (gdb-gud-context-command, gdb-non-stop-handler)
10885 (gdb-current-context-command, gdb-stopped): Use it.
10886 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10887 (gdb-non-stop-handler): Don't enable pretty-printing here.
10888 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10889 non-stop mode. Use the following.
10890 (gdb-check-target-async): New defun.
10891 (gud-watch, gdb-stopped): Fix whitespace.
10892 (gdb-get-source-file): Don't try to display the source file if
10893 `gdb-main-file' is nil.
10894
108952011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * align.el: Try to generate fewer markers (bug#10047).
10898 (align--set-marker): New macro.
10899 (align-region): Use it.
10900
c935221f
SM
109012011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10902
10903 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10904
e70b5064
CY
109052011-11-29 Chong Yidong <cyd@gnu.org>
10906
10907 * indent.el (indent-for-tab-command, indent-according-to-mode):
10908 Doc fix.
10909 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10910
f3af92b7
MA
109112011-11-29 Michael Albinus <michael.albinus@gmx.de>
10912
10913 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10914 aware of remote file names. (Bug#10124)
10915
ed472be9
CY
109162011-11-29 Chong Yidong <cyd@gnu.org>
10917
10918 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10919
24510c22
SM
109202011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10921
10922 * files.el (find-file): Don't use force-same-window (bug#10144).
10923 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10924 use pop-to-buffer if the selected window can't be used.
10925 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10926
c60c3703
EZ
109272011-11-28 Eli Zaretskii <eliz@gnu.org>
10928
10929 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10930 special-mode-map.
10931
e95def75
CY
109322011-11-28 Chong Yidong <cyd@gnu.org>
10933
10934 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10935
c3f1c606
NR
109362011-11-27 Nick Roberts <nickrob@snap.net.nz>
10937
10938 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10939 gdb-get-source-file-list on gdb-create-source-file-list.
10940
00db469c
EZ
109412011-11-26 Eli Zaretskii <eliz@gnu.org>
10942
10943 * whitespace.el (whitespace-newline): Use a different foreground
10944 color for 16-color light-background displays.
10945
4ad3bc2a
CY
109462011-11-24 Chong Yidong <cyd@gnu.org>
10947
10948 * window.el (display-buffer--special-action): Doc fix.
10949
e9fce1ac
JB
109502011-11-25 Juanma Barranquero <lekktu@gmail.com>
10951
10952 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10953 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10954 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10955 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10956 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10957 (avl-tree-stack-first):
10958 * emacs-lisp/cconv.el (cconv--analyse-use):
10959 * net/gnutls.el (gnutls-negotiate): Fix typos.
10960
cb825e5d
GM
109612011-11-24 Glenn Morris <rgm@gnu.org>
10962
3adbe224
GM
10963 * lpr.el (lpr-windows-system, lpr-lp-system):
10964 * mail/binhex.el (binhex-begin-line):
10965 * progmodes/grep.el (grep-history, grep-find-history):
10966 * textmodes/flyspell.el:
10967 * vc/pcvs-defs.el (cvs-global-menu):
10968 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10969 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10970 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10971
321decc8
GM
10972 * net/tls.el: Fix case of "GnuTLS".
10973
420b63ad
GM
10974 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10975
cb825e5d
GM
10976 * version.el (emacs-build-system): Give it a doc-string.
10977
a0649f08
JL
109782011-11-24 Juri Linkov <juri@jurta.org>
10979
10980 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10981
c0bc0fd4
GM
109822011-11-24 Glenn Morris <rgm@gnu.org>
10983
10984 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10985 if called on a non-mime message just toggle the headers. (Bug#8006)
10986
20db1522
JB
109872011-11-24 Juanma Barranquero <lekktu@gmail.com>
10988
10989 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10990 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10991 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10992 (allout-rebullet-heading, allout-open-sibtopic)
10993 (allout-toggle-current-subtree-encryption)
10994 (allout-toggle-subtree-encryption, allout-encrypt-string)
10995 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10996 (allout-distinctive-bullets-string, allout-auto-activation):
10997 * window.el (window-normalize-buffer-to-display):
10998 * progmodes/verilog-mode.el (verilog-batch-indent):
10999 * textmodes/bibtex.el (bibtex-field-braces-opt)
11000 (bibtex-field-strings-opt):
11001 * vc/cvs-status.el (cvs-tree-merge):
11002 Fix typos.
11003
7262a87c
MA
110042011-11-23 Michael Albinus <michael.albinus@gmx.de>
11005
11006 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11007 `non-essential' to t, in order to avoid remote connections.
11008
283430a1
EZ
110092011-11-23 Eli Zaretskii <eliz@gnu.org>
11010
a1beca85
SM
11011 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11012 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11013 case-insensitively.
11014
d2992a38
ML
110152011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11016
11017 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11018
50419064
GM
110192011-11-23 Glenn Morris <rgm@gnu.org>
11020
da94eca1
GM
11021 * paths.el (rmail-file-name): Reformat the doc-string so that it
11022 is picked up.
11023
9aac4de2
GM
11024 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11025 (rmail-auto-file): Ignore case in the "special" field names,
11026 as mail-fetch-field does for all others.
11027
8038d2d2
GM
11028 * mail/rmail.el (rmail-forward):
11029 * mail/rmailkwd.el (rmail-set-label):
11030 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11031 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11032
f3fe222a
GM
11033 * mail/rmail.el (rmail-current-message): Doc fix.
11034
50419064
GM
11035 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11036
28109f49
SM
110372011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11038
11039 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11040
394c65f1
GM
110412011-11-22 Glenn Morris <rgm@gnu.org>
11042
11043 * mail/rmailmm.el (test-rmail-mime-handler)
11044 (test-rmail-mime-bulk-handler)
11045 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11046
f2a0aa3a
JL
110472011-11-21 Juri Linkov <juri@jurta.org>
11048
1154d12e
JB
11049 * calc/calc.el (calc-read-key-sequence):
11050 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11051
9c34a344
LMI
110522011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11053
11054 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11055 Tell the caller that the next line needs recomputation, even
11056 though it doesn't start a sexp (bug#10094).
11057
f04a3be9
SM
110582011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11059
11060 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11061
7978747f
SM
110622011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11063
f04a3be9
SM
11064 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11065 Use force-same-window.
7978747f 11066
fe7a3057
JB
110672011-11-20 Juanma Barranquero <lekktu@gmail.com>
11068
11069 * descr-text.el (describe-char-unicode-data):
11070 * json.el (json-string-escape):
11071 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11072 (Footnote-unicode, Footnote-style-p):
11073 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11074
24901d61
CY
110752011-11-20 Chong Yidong <cyd@gnu.org>
11076
11077 * window.el (replace-buffer-in-windows): Restore interactive spec.
11078
bac7ff22
SM
110792011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11080
24f3d7b9
SM
11081 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11082
bac7ff22
SM
11083 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11084 (byte-compile-global-not-obsolete-vars): New var.
11085 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11086 Use it.
11087 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11088
cd1181db
JB
110892011-11-20 Juanma Barranquero <lekktu@gmail.com>
11090
11091 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11092 * progmodes/pascal.el (electric-pascal-equal):
11093 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11094 * xml.el (xml-substitute-special): Fix typos.
11095
7fb18e9e
GM
110962011-11-20 Glenn Morris <rgm@gnu.org>
11097
11098 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11099 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11100 Doc fixes.
11101 (rmail-decode-mime-charset): Mark as obsolete.
11102
11103 * mail/rmailsum.el (rmail-message-regexp-p-1):
11104 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11105 Before using mime functions, check they are set. (Bug#10077)
11106
d5a6b3ba
JL
111072011-11-19 Juri Linkov <juri@jurta.org>
11108
11109 * info.el (Info-finder-find-node): Use `package--builtins' instead
11110 of `package-alist'. Use node names formed by the pattern "Keyword "
11111 and the keyword name.
11112
e981b61f
AS
111132011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11114
1d00653d 11115 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11116
3ffbc301
JL
111172011-11-19 Juri Linkov <juri@jurta.org>
11118
11119 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11120 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11121 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11122 `old-history', `old-history-forward'. Add let-binding
11123 `window-selected'. Remove calls to `kill-buffer',
11124 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11125 before calling `Info-find-node', so `Info-find-node-2' will reread
11126 the Info file. Restore window positions only when `window-selected'
11127 is non-nil.
11128
30c62133
JL
111292011-11-19 Juri Linkov <juri@jurta.org>
11130
11131 * isearch.el (isearch-lazy-highlight-new-loop):
11132 Remove condition `(not isearch-error)'. (Bug#9918)
11133
11134 * misearch.el (multi-isearch-search-fun): Add condition
11135 `(not bound)' to ignore lazy-highlighting search.
11136 Add the search-failed message "end of multi" when the end of
11137 multi-sequence is reached. Uncapitalize the search-failed
11138 message "Repeat for next buffer".
11139
11140 * info.el (Info-search): Add the search-failed message
11141 "end of the manual" when the end of the manual is reached
11142 in Isearch mode.
11143
645ca9cf
JL
111442011-11-19 Juri Linkov <juri@jurta.org>
11145
11146 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11147 Use non-destructive `remove' instead of `delete' because
11148 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11149 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11150
df754f66
JL
111512011-11-19 Juri Linkov <juri@jurta.org>
11152
11153 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11154 to nil instead of binding `search-ring' and `regexp-search-ring'.
11155 (Bug#9185)
11156
0e23d96a
EZ
111572011-11-19 Eli Zaretskii <eliz@gnu.org>
11158
11159 * simple.el (line-move): Force movement by logical lines for any
11160 hscrolled window, not only when auto-hscroll-mode is on.
11161 (line-move-visual): Update doc string to that effect. (Bug#10076)
11162
8a6ccb66
AS
111632011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11164
11165 * language/european.el (macintosh): Define as alias for mac-roman.
11166
49ae5b39
EZ
111672011-11-19 Eli Zaretskii <eliz@gnu.org>
11168
11169 * mail/rmailmm.el (rmail-mime-display-header)
11170 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11171 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11172 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11173 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11174 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11175 of a raw aref.
11176 (rmail-mime-entity-segment): To get past the tagline, move forward
11177 2 more lines, to account for the 2 empty lines that precede and
11178 follow the line with the buttons.
11179 (rmail-mime-update-tagline): Move one more line, to get past the
11180 empty line that follows the buttons in the tagline. (Bug#9520)
11181
c56cad4a
MR
111822011-11-19 Martin Rudalics <rudalics@gmx.at>
11183
11184 * window.el (window-max-delta-1, window-min-delta-1)
11185 (window-min-size-1, window-state-get-1, window-state-put-1)
11186 (window-state-put-2): Use "window--" prefix.
11187
cbe71af3
SM
111882011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11189
2ad52c60
SM
11190 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11191 (smie-warning-count): New var.
11192 (smie-set-prec2tab): Use it.
11193 (smie-bnf->prec2): Improve warnings. Add docstring.
11194 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11195 (smie-bnf--set-class): New function.
11196 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11197 corner case.
11198
6944dbc1
SM
11199 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11200 (compilation-error-properties, compilation-move-to-column):
11201 Handle compilation-first-column while in the target buffer.
11202
c400c4d7
SM
11203 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11204 Don't hardcode point-min==1.
11205
6dbe3e96
SM
11206 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11207 (eshell-rewrite-for-command): Remove workaround.
11208 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11209 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11210 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11211
cbe71af3
SM
11212 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11213
a8e1496d
GM
112142011-11-17 Glenn Morris <rgm@gnu.org>
11215
11216 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11217 Ignore buffer-local generated-autoload-file if it is the same
11218 as the global value. (Bug#10049)
11219
df85d315
JB
112202011-11-17 Juanma Barranquero <lekktu@gmail.com>
11221
11222 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11223 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11224 (reftex-toc-previous-heading, reftex-toc-max-level)
11225 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11226 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11227 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11228 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11229 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11230 (reftex-toc-rename-label, reftex-toc-visit-location)
11231 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11232 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11233 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11234 leaving "*toc*" only for references to the buffer.
11235
a0c2d0ae
MR
112362011-11-17 Martin Rudalics <rudalics@gmx.at>
11237
11238 * window.el (window-resize, delete-window, split-window):
11239 Replace window-splits by window-combination-resize.
1d00653d 11240 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11241
35c0bac8
GM
112422011-11-17 Glenn Morris <rgm@gnu.org>
11243
11244 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11245 Make bash entry derive from sh entry, not shell entry.
11246
d0c8fc8a
MA
112472011-11-16 Michael Albinus <michael.albinus@gmx.de>
11248
7262a87c
MA
11249 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11250 local file name.
11251
7877f373
JB
112522011-11-16 Juanma Barranquero <lekktu@gmail.com>
11253
11254 * menu-bar.el (menu-bar-file-menu):
11255 * printing.el (pr-ps-utility):
11256 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11257 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11258 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11259 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11260 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11261 (icalendar--convert-cyclic-to-ical)
11262 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11263 (icalendar--convert-ical-to-diary)
11264 (icalendar--convert-recurring-to-diary)
11265 (icalendar--convert-non-recurring-all-day-to-diary)
11266 (icalendar-import-format-sample):
11267 * progmodes/idlw-shell.el (idlwave-shell-mode):
11268 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11269 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11270 (vhdl-ps-print-init): Fix typos.
11271
10649b82
KM
112722011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11273
9d0cfcd6
GM
11274 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11275 FSF and collapse date sequence, obscure author/maintainer email address
11276 better, remove extra version line, track relocation of author's webpage.
10649b82 11277
9d0cfcd6
GM
11278 * progmodes/python.el (python-pdbtrack-input-prompt)
11279 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11280 regular python pdb prompts. Adjustments shamelessly taken exactly as
11281 suggested in EmacsWiki page (tiny change):
11282 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11283
58179cce
JB
112842011-11-16 Juanma Barranquero <lekktu@gmail.com>
11285
11286 * expand.el (expand-pos, expand-index, expand-point):
11287 Remove redundant info from docstring.
11288 (expand-add-abbrevs): Doc fix.
11289 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11290 (expand-sample-perl-mode-expand-list): Fix typos.
11291
11292 * net/dbus.el (dbus-event-member-name):
11293 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11294 * term/pc-win.el (msdos-create-frame-with-faces):
11295 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11296
b6f67890
MR
112972011-11-16 Martin Rudalics <rudalics@gmx.at>
11298
11299 * window.el (split-window, window-state-get-1)
11300 (window-state-put-1, window-state-put-2): Rename occurrences of
11301 window-nest to window-combination-limit.
1d00653d 11302 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11303
ce7ddba0
CY
113042011-11-16 Chong Yidong <cyd@gnu.org>
11305
11306 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11307 regexp (Bug#10033).
11308
3ae704f4
SM
113092011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11310
11311 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11312 `completing-read' will remove *Completions* and will preserve
11313 current-buffer for us.
11314 (tmm-add-prompt): Users of *Completions* will always (re)set its
11315 major mode.
11316 (tmm-old-comp-map): Remove.
11317
6ad1cdde
GM
113182011-11-16 Glenn Morris <rgm@gnu.org>
11319
11320 * mail/rmailedit.el: Require rmailmm when compiling.
11321 (rmail-old-mime-state): New declaration.
11322 (rmail-edit-current-message): If editing a mime message,
11323 edit the "raw" message from the mbox buffer.
11324 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11325
d20faa20
GM
113262011-11-15 Glenn Morris <rgm@gnu.org>
11327
11328 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11329 which wasn't being used. Add optional arg to force given state.
11330 (rmail-mime): Add optional arg to force given state.
11331
c7015153
JB
113322011-11-15 Juanma Barranquero <lekktu@gmail.com>
11333
11334 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11335 * frame.el (display-mm-dimensions-alist):
11336 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11337 (outline-move-subtree-down):
11338 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11339 (newsticker--treeview-do-get-node):
11340 * net/quickurl.el (quickurl-list-buffer-name):
11341 * progmodes/dcl-mode.el (dcl-mode):
11342 * progmodes/gdb-mi.el (gdb-mapcar*):
11343 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11344
45261b50
GM
113452011-11-15 Glenn Morris <rgm@gnu.org>
11346
11347 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11348 in a boolean sense, so just make it a boolean, and fix the doc.
11349 (rmail-show-mime-function, rmail-mime-feature)
11350 (rmail-require-mime-maybe): Doc fixes.
11351 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11352
11353 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11354
0d26e0b6
JB
113552011-11-15 Juanma Barranquero <lekktu@gmail.com>
11356
11357 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11358 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11359 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11360 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11361
447f30f6
GM
113622011-11-15 Glenn Morris <rgm@gnu.org>
11363
672b871d
GM
11364 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11365 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11366 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11367 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11368 (rmail-mime, rmail-show-mime): Doc fixes.
11369
f6aa5bb1
GM
11370 * term/ns-win.el (mode-line-frame-identification):
11371 Leave it alone. (Bug#10051)
11372
947cd66b
GM
11373 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11374
447f30f6
GM
11375 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11376 Handle empty buffers. (Bug#9978)
11377
0b381c7e
JB
113782011-11-14 Juanma Barranquero <lekktu@gmail.com>
11379
11380 * international/mule.el (define-charset):
11381 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11382 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11383 * progmodes/verilog-mode.el (verilog-backward-token):
11384 * textmodes/ispell.el (lookup-words):
11385 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11386
71e027ac
GM
113872011-11-14 Glenn Morris <rgm@gnu.org>
11388
56632ce4
GM
11389 * progmodes/executable.el
11390 (executable-make-buffer-file-executable-if-script-p):
11391 Handle file-modes returning nil.
11392
40500957
GM
11393 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11394 message - not necessary, and causes problems. (Bug#9831)
11395
071c2340
GM
11396 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11397
d3cfca60
GM
11398 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11399
71e027ac
GM
11400 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11401 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11402 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11403
89d61221
MR
114042011-11-12 Martin Rudalics <rudalics@gmx.at>
11405
11406 * window.el (window-resize, delete-window): Use window-splits
11407 variable instead of function.
11408 (window-state-get-1, window-state-put-2, window-state-put):
11409 Don't deal with windows' splits status.
11410
98282f6f
GM
114112011-11-12 Glenn Morris <rgm@gnu.org>
11412
11413 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11414 (apropos-documentation): Doc fixes.
11415
40a8bdf6
JB
114162011-11-11 Juanma Barranquero <lekktu@gmail.com>
11417
11418 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11419 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11420
65bd19ff
SM
114212011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11422
11423 * electric.el (electric-indent-post-self-insert-function): Make it
11424 possible for a char to only indent in some circumstances.
11425 (electric-indent-mode): Simplify.
11426
54f9154c
MR
114272011-11-11 Martin Rudalics <rudalics@gmx.at>
11428
11429 * window.el (windows-with-parameter): Remove unused function.
11430 (windows-at-side): Rename to window-at-side-list.
11431 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11432 (window-side-check, window-size-ignore, window-size-fixed-1)
11433 (window-in-direction-2): Prefix with "window--".
11434 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11435
68cbc58b
GM
114362011-11-11 Glenn Morris <rgm@gnu.org>
11437
11438 * subr.el (eval-after-load): If FILE is already loaded,
11439 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11440
b2621720
GM
114412011-11-10 Glenn Morris <rgm@gnu.org>
11442
9a4de110
GM
11443 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11444 Call svn via vc-svn-command rather than vc-do-command.
11445 (vc-svn-command): Add --non-interactive. (Bug#9993)
11446 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11447
b2621720
GM
11448 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11449 Add toggle-read-only. (Bug#7292)
11450 * files.el (toggle-read-only): Mention that it should only
11451 be used interactively. (Bug#10006)
11452
1dce7193
SM
114532011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11454
d9ac1a1e
SM
11455 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11456 Adjust regexp for OCaml warnings.
11457
0c325082
SM
11458 * electric.el (electric-pair-post-self-insert-function): Let user
11459 turn it off buffer-locally (bug#9932).
11460
90132c14
SM
11461 * progmodes/python.el (python-beginning-of-statement):
11462 Rewrite (bug#2703).
11463
1dce7193
SM
11464 * progmodes/compile.el: Better handle TABs (bug#9749).
11465 (compilation-internal-error-properties)
11466 (compilation-next-error-function): Obey the target buffer's
11467 compilation-error-screen-columns.
11468
c4e7c63a
JB
114692011-11-09 Juanma Barranquero <lekktu@gmail.com>
11470
11471 * progmodes/meta-mode.el: Remove obsolete comments.
11472 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11473 Fix typos in docstrings.
11474
2cffd681
MR
114752011-11-09 Martin Rudalics <rudalics@gmx.at>
11476
11477 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11478 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11479 (window--resizable): New function. Make all callers of
11480 window-resizable call window--resizable instead.
11481 (window-resizable): Rewrite in terms of window--resizable.
11482
0edcba87
GM
114832011-11-08 Glenn Morris <rgm@gnu.org>
11484
11485 * progmodes/delphi.el (delphi-mode-syntax-table):
11486 Let define-derived-mode define a proper syntax table. (Bug#9994)
11487
4b0d61e3
SM
114882011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11489
11490 * window.el: Stay away from defsubst.
11491 (window-list-no-nils): Remove.
11492 (window-state-get-1, window-state-get): Use backquote instead.
11493
cd394be1 114942011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11495
4b0d61e3 11496 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11497 Fix incorrect use of default argument in `completing-read'.
11498
e1c2c6f2
MR
114992011-11-08 Martin Rudalics <rudalics@gmx.at>
11500
11501 * window.el (display-buffer-function, special-display-function):
11502 Mention display-buffer-record-window but do not mention
11503 help-setup parameter in doc-strings.
b3f4a882 11504 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11505
105216ed
CY
115062011-11-08 Chong Yidong <cyd@gnu.org>
11507
11508 * window.el (window-total-height, window-total-width): Doc fix.
11509 (window-body-size): Move from C.
11510 (window-body-height, window-body-width): Move to C.
11511
0a9f9ab5
SM
115122011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11513
11514 * window.el: Make special-display like display-buffer-alist (bug#9532).
11515 (display-buffer--special-action): New function, morphed
11516 from display-buffer--special.
11517 (display-buffer): Use it to handle special-display-buffers at higher
11518 priority (just after display-buffer-alist).
11519 (display-buffer-fallback-action, display-buffer--other-frame-action)
11520 (pop-to-buffer-same-window): Remove display-buffer--special.
11521
a769dd15
GM
115222011-11-07 Glenn Morris <rgm@gnu.org>
11523
11524 * calendar/cal-menu.el (cal-menu-set-date-title):
11525 Do nothing if not in a calendar. (Bug#9976)
11526
05a61ee3
SM
115272011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11528
11529 * files.el (find-file): Always use selected-window.
11530
be7f5545
MR
115312011-11-07 Martin Rudalics <rudalics@gmx.at>
11532
11533 * window.el (window-combinations): Make WINDOW argument
11534 mandatory. Rewrite doc-string.
11535 (walk-window-subtree, window-atom-check, window-min-delta)
11536 (window-max-delta, window--resize-this-window)
11537 (window--resize-root-window-vertically, window-tree)
11538 (balance-windows, window-state-put): Rewrite doc-strings as to
11539 not mention the term "subwindow".
11540 (window--resize-subwindows-skip-p): Rename to
11541 window--resize-child-windows-skip-p.
11542 (window--resize-subwindows-normal): Rename to
11543 window--resize-child-windows-normal.
11544 (window--resize-subwindows): Rename to
11545 window--resize-child-windows.
11546 (window-or-subwindow-p): Rename to window--in-subtree-p.
11547
3c6702ef
ML
115482011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11549
11550 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11551 Ensure that mbox format messages end in two newlines (Bug#9974).
11552
49745b39
CY
115532011-11-06 Chong Yidong <cyd@gnu.org>
11554
11555 * window.el (window-combination-p): Function deleted; its
11556 side-effect is not used in any existing code.
11557 (window-combinations, window-combined-p): Call window-*-child
11558 directly.
11559
24300f5f
CY
115602011-11-05 Chong Yidong <cyd@gnu.org>
11561
11562 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11563 (window-size-ignore, window-state-get): Callers changed.
11564 (window-normalize-window): Rename from window-normalize-any-window.
11565 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11566 (window-normalize-live-window): Delete.
447f16b8
CY
11567 (window-combination-p, window-combined-p, window-combinations)
11568 (walk-window-subtree, window-atom-root, window-min-size)
11569 (window-sizable, window-sizable-p, window-size-fixed-p)
11570 (window-min-delta, window-max-delta, window-resizable)
11571 (window-resizable-p, window-full-height-p, window-full-width-p)
11572 (window-current-scroll-bars, window-point-1, set-window-point-1)
11573 (window-at-side-p, window-in-direction, window-resize)
11574 (adjust-window-trailing-edge, maximize-window, minimize-window)
11575 (window-deletable-p, delete-window, delete-other-windows)
11576 (record-window-buffer, unrecord-window-buffer)
11577 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11578 (quit-window, split-window, window-state-put)
11579 (set-window-text-height, fit-window-to-buffer)
11580 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11581
89bd5ee1
EZ
115822011-11-04 Eli Zaretskii <eliz@gnu.org>
11583
53479029
EZ
11584 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11585 rfc2047-decode-string.
11586 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11587 warnings.
11588
89bd5ee1
EZ
11589 * window.el (window-body-height, window-body-width): Mention in
11590 the doc string that the return values are in frame's canonical
11591 units. (Bug#9949)
11592
bd17fdee
AM
115932011-11-03 Alan Mackenzie <acm@muc.de>
11594
11595 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11596 change in cc-engine.el.
11597
acc825c5
SM
115982011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11601
1885e5b8
MR
116022011-11-02 Martin Rudalics <rudalics@gmx.at>
11603
11604 * window.el (quit-window): Call unrecord-window-buffer after
11605 showing another buffer in the window. (Bug#9937)
acc825c5 11606 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11607
ebe06da9
JB
116082011-11-02 Juanma Barranquero <lekktu@gmail.com>
11609
11610 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11611 Accept status with more than 9 shelves. (Bug#9935)
11612 Reported by Colin D Bennett <colin@gibibit.com>.
11613
4ee88440
MR
116142011-11-01 Martin Rudalics <rudalics@gmx.at>
11615
11616 * help.el (with-help-window): Don't reference
11617 temp-buffer-show-specifiers in doc-string.
11618
08e1d82c
AS
116192011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11620
11621 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11622 menu-item.
11623
84bd6e9e
VJL
116242011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11625
11626 * whitespace.el: New version 13.2.2.
11627 (whitespace-newline-mode): Disable properly. Reported by Sarah
11628 <EmacsWiki>.
11629
dba0634a
UJ
116302011-10-30 Ulf Jasper <ulf.jasper@web.de>
11631
11632 * net/newst-treeview.el: Remove "Time-stamp".
11633 (newsticker--group-manage-orphan-feeds): Do not call
11634 newsticker--treeview-tree-update.
db22a3c2
JB
11635 (newsticker-treeview-update, newsticker-treeview):
11636 Call newsticker--treeview-tree-update if necessary.
dba0634a 11637
3d8daefe
MR
116382011-10-30 Martin Rudalics <rudalics@gmx.at>
11639
11640 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11641 (window-iso-combinations): Remove "iso-" infix.
11642 Suggested by Chong Yidong.
3d8daefe
MR
11643 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11644 (window-max-delta-1, window-resize, window--resize-siblings)
11645 (window--resize-this-window, adjust-window-trailing-edge)
11646 (split-window, balance-windows-1)
11647 (shrink-window-if-larger-than-buffer):
11648 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11649 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11650
1bc4c3ae
SM
116512011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11654 in place (bug#9907).
11655 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11656 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11657 (eshell-structure-basic-command, eshell-rewrite-while-command)
11658 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11659 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11660 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11661 (eshell-do-pipelines-synchronously, eshell-eval-command):
11662 Use backquotes and prefer setq to set.
11663 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11664 (eshell-macrop): Use functionp.
c1e2f5fa 11665 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11666
30b65d9c
CY
116672011-10-30 Chong Yidong <cyd@gnu.org>
11668
11669 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11670 instead of set-mark (Bug#9810).
11671
2d197ffb
CY
116722011-10-30 Chong Yidong <cyd@gnu.org>
11673
11674 * window.el (split-window-below, split-window-right): Rename from
11675 split-window-above-each-other and split-window-side-by-side
11676 respectively. All callers changed.
11677 (split-window-sensibly, split-window-sensibly): Use them.
11678 (split-window-keep-point): Doc fix.
11679
11680 * isearch.el: Add isearch-scroll property to split-window-below
11681 and split-window-right.
11682
11683 * follow.el (follow-mode):
11684 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11685 * progmodes/ada-xref.el (ada-gdb-application):
11686 * emulation/vip.el (vip-buffer-in-two-windows):
11687 * image-dired.el (image-dired-dired-with-window-configuration):
11688 * dired-x.el (dired-do-find-marked-files):
11689 * dired.el (dired-pop-to-buffer):
11690 * bs.el (bs--show-with-configuration):
11691 * vc/emerge.el (emerge-setup-windows):
11692 * textmodes/two-column.el (2C-two-columns):
11693 * textmodes/reftex-toc.el (reftex-toc):
11694 * progmodes/gdb-mi.el (gdb-setup-windows):
11695 * progmodes/fortran.el (fortran-window-create):
11696 * net/newst-treeview.el (newsticker--treeview-window-init):
11697 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11698 * emulation/tpu-edt.el (tpu-gold-map):
11699 * emulation/crisp.el (crisp-mode-map):
11700 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11701
38bb2ca8
CY
117022011-10-29 Chong Yidong <cyd@gnu.org>
11703
aa4de341
CY
11704 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11705
e1eb5385
CY
11706 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11707
5d2ece3c
CY
11708 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11709 forged Ispell output (Bug#7904).
11710
38bb2ca8
CY
11711 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11712
d0af9f77
SM
117132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11714
11715 * doc-view.el: Avoid ugly errors about not finding nil.
11716 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11717 (doc-view-dvipdf-program, doc-view-unoconv-program)
11718 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11719 Avoid nil or absolute file name as default value.
11720 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11721
52bedd34
AM
117222011-10-28 Alan Mackenzie <acm@muc.de>
11723
db22a3c2 11724 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11725
7e43cfa5
AM
117262011-10-28 Alan Mackenzie <acm@muc.de>
11727
11728 Amend the handling of c-beginning/end-of-defun in nested declaration
11729 scopes.
11730
52bedd34
AM
11731 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11732 cc-langs.el. Change it to a defcustom.
7e43cfa5 11733
52bedd34
AM
11734 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11735 cc-vars.el.
7e43cfa5 11736
d0af9f77
SM
11737 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11738 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11739
52bedd34 11740 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11741 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11742 (c-widen-to-enclosing-decl-scope): New function.
11743 (c-while-widening-to-decl-block): New macro.
11744 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11745 outward for defun boundaries, and correspondingly change symbol
11746 `respect-enclosure' to `go-outward'.
11747 (c-declaration-limits): Change algorithm to report only the "innermost"
11748 defun's boundaries.
11749
1a2ce9ee
DD
117502011-10-28 Deniz Dogan <deniz@dogan.se>
11751
11752 * net/rcirc.el (rcirc-mode): Use hard newlines.
11753
bc97a826
AM
117542011-10-28 Alan Mackenzie <acm@muc.de>
11755
11756 Amend to indent and fontify macros "which include their own semicolon"
11757 correctly, using the "virtual semicolon" mechanism.
11758
52bedd34 11759 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11760
d0af9f77 11761 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11762 Recode to scan one line at a time rather than having \n and \r
58179cce 11763 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11764 (c-forward-label): Amend for virtual semicolons.
58179cce 11765 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11766
52bedd34
AM
11767 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11768 of the new C macros.
bc97a826 11769
52bedd34 11770 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11771 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11772 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11773 (c-opt-cpp-macro-define): Make into a full language variable.
11774 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11775 AWK Mode (including \n, \r) removed, no longer needed.
11776
d0af9f77
SM
11777 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11778 Invoke c-make-macro-with-semi-re.
bc97a826 11779
52bedd34
AM
11780 * progmodes/cc-vars.el (c-macro-with-semi-re):
11781 (c-macro-names-with-semicolon): New variables.
58179cce 11782 (c-make-macro-with-semi-re): New function.
bc97a826 11783
7a6c0941
SM
117842011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * vc/log-edit.el: Fill empty field rather than adding new one.
11787 (log-edit-add-field): New function.
11788 (log-edit-insert-changelog): Use it.
11789
b0c4cdcf
ML
117902011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11791
11792 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11793
ee1f1da9
SM
117942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11795
11796 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11797 (gdb--check-interpreter): New function.
11798 (gdb): Use it.
11799
51bc5f8b
GM
118002011-10-27 Glenn Morris <rgm@gnu.org>
11801
416a2c45
GM
11802 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11803 (least-positive-float, least-negative-float)
11804 (least-positive-normalized-float, least-negative-normalized-float)
11805 (float-epsilon, float-negative-epsilon):
11806 Remove unnecessary declarations.
11807
11808 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11809 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11810 (least-positive-float, least-negative-float)
11811 (least-positive-normalized-float, least-negative-normalized-float)
11812 (float-epsilon, float-negative-epsilon): Add doc-strings,
11813 based on those in cl.texi.
11814
51bc5f8b
GM
11815 * files.el (set-visited-file-name): If the major-mode changed,
11816 reload the local variables. (Bug#9796)
11817
15de15c6
CY
118182011-10-27 Chong Yidong <cyd@gnu.org>
11819
11820 * subr.el (change-major-mode-after-body-hook): New hook.
11821 (run-mode-hooks): Run it.
11822
ee1f1da9
SM
11823 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11824 Use change-major-mode-before-body-hook.
15de15c6
CY
11825
11826 * simple.el (fundamental-mode):
11827 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11828 change introducing fundamental-mode-hook.
11829
5430d399
JB
118302011-10-26 Juanma Barranquero <lekktu@gmail.com>
11831
acc825c5 11832 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11833
ad74a69e
MA
118342011-10-26 Michael Albinus <michael.albinus@gmx.de>
11835
11836 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11837 tramp.el explicitly. (Bug#7583)
ad74a69e 11838
71d4c2a5
SM
118392011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * progmodes/octave-mod.el:
11842 * progmodes/octave-inf.el: Update maintainer.
11843
b1f6fa26
CY
118442011-10-26 Chong Yidong <cyd@gnu.org>
11845
11846 * subr.el (with-wrapper-hook): Rewrite doc.
11847
3f04efd6
MA
118482011-10-25 Michael Albinus <michael.albinus@gmx.de>
11849
11850 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11851 filenames "/method:foo:". (Bug#9793)
3f04efd6 11852
410488d3
SM
118532011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11854
11855 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11856 (bug#9865).
11857
c1ebb47e
GM
118582011-10-24 Glenn Morris <rgm@gnu.org>
11859
11860 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11861
7f5c46c7
MA
118622011-10-24 Michael Albinus <michael.albinus@gmx.de>
11863
11864 * notifications.el: Add the requirement of a running D-Bus session
11865 bus to the Commentary.
11866
db2440b6
JL
118672011-10-24 Juri Linkov <juri@jurta.org>
11868
11869 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11870 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11871 (Bug#9364)
11872
feecf435
JL
118732011-10-24 Juri Linkov <juri@jurta.org>
11874
11875 * info.el (Info-following-node-name-re): Add newline to the list
11876 of allowed characters for leading space. (Bug#9824)
11877
a3839de2
SM
118782011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11879
acc825c5
SM
11880 * progmodes/octave-inf.el (inferior-octave-mode-map):
11881 Fix C-c C-h binding.
a3839de2
SM
11882 * progmodes/octave-mod.el (octave-help): Remove.
11883
09388e76
MA
118842011-10-23 Michael Albinus <michael.albinus@gmx.de>
11885
11886 Sync with Tramp 2.2.3.
11887
11888 * net/tramp-cache.el (top): Pacify byte-compiler using
11889 `init-file-user' and `site-run-file'.
11890
11891 * net/trampver.el: Update release number.
11892
86c60681
CY
118932011-10-23 Chong Yidong <cyd@gnu.org>
11894
11895 * files.el (toggle-read-only): Remove obsolete comment about
11896 version control.
11897
11898 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11899 for toggle-read-only. Note that this hasn't called vc-next-action
11900 since 2008-05-02, though it wasn't documented at the time.
11901
a3839de2
SM
11902 * vc/ediff-init.el (ediff-toggle-read-only-function):
11903 Use toggle-read-only.
86c60681 11904
cd5495ff
AM
119052011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11906
11907 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11908 of c-parse-state.
11909
00b77525 11910 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11911 correct faulty logical expression.
cd5495ff
AM
11912 (c-parse-state-state, c-record-parse-state-state):
11913 (c-replay-parse-state-state): New defvar/defuns.
11914 (c-debug-parse-state): Use new functions.
11915
42ee24ed
MR
119162011-10-22 Martin Rudalics <rudalics@gmx.at>
11917
11918 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11919 last fix. Use window-in-direction correctly.
42ee24ed 11920
a7dee7e7
CY
119212011-10-21 Chong Yidong <cyd@gnu.org>
11922
11923 * progmodes/idlwave.el (idlwave-mode):
11924 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11925 require-final-newline; that's done in prog-mode.
11926 Suggested by Stefan Monnier.
a7dee7e7 11927
e07b9a6d
MR
119282011-10-21 Martin Rudalics <rudalics@gmx.at>
11929
11930 * mouse.el (mouse-drag-window-above)
11931 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11932 (mouse-drag-mode-line-1, mouse-drag-header-line)
11933 (mouse-drag-vertical-line-rightward-window): Remove.
11934 (mouse-drag-line): New function.
11935 (mouse-drag-mode-line, mouse-drag-header-line)
11936 (mouse-drag-vertical-line): Call mouse-drag-line.
11937 * window.el (window-at-side-p, windows-at-side): New functions.
11938
7e1361d9
UM
119392011-10-21 Ulrich Mueller <ulm@gentoo.org>
11940
11941 * tar-mode.el (tar-grind-file-mode):
11942 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11943
30fcaf3a
CY
119442011-10-21 Chong Yidong <cyd@gnu.org>
11945
11946 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11947 * progmodes/vera-mode.el (vera-mode):
11948 Use mode-require-final-newline.
30fcaf3a 11949
516eddb0
GM
119502011-10-20 Glenn Morris <rgm@gnu.org>
11951
db22a3c2 11952 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11953
10d5f513
CS
119542011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11955
11956 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11957
ac6c8639
CY
119582011-10-20 Chong Yidong <cyd@gnu.org>
11959
11960 * emulation/cua-base.el (cua-mode):
11961 * mail/footnote.el (footnote-mode):
11962 * mail/mailabbrev.el (mail-abbrevs-mode):
11963 * net/xesam.el (xesam-minor-mode):
11964 * progmodes/bug-reference.el (bug-reference-mode):
11965 * progmodes/cap-words.el (capitalized-words-mode):
11966 * progmodes/compile.el (compilation-minor-mode)
11967 (compilation-shell-minor-mode):
11968 * progmodes/gud.el (gud-tooltip-mode):
11969 * progmodes/hideif.el (hide-ifdef-mode):
11970 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11971 * progmodes/subword.el (subword-mode):
11972 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11973 * progmodes/which-func.el (which-function-mode):
11974 * term/tvi970.el (tvi970-set-keypad-mode):
11975 * term/vt100.el (vt100-wide-mode):
11976 * textmodes/flyspell.el (flyspell-mode):
11977 * textmodes/ispell.el (ispell-minor-mode):
11978 * textmodes/nroff-mode.el (nroff-electric-mode):
11979 * textmodes/paragraphs.el (use-hard-newlines):
11980 * textmodes/refill.el (refill-mode):
11981 * textmodes/reftex.el (reftex-mode):
11982 * textmodes/rst.el (rst-minor-mode):
11983 * textmodes/sgml-mode.el (html-autoview-mode)
11984 (sgml-electric-tag-pair-mode):
11985 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11986 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11987 * emulation/crisp.el (crisp-mode):
11988 * emacs-lisp/eldoc.el (eldoc-mode):
11989 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11990 minor mode behavior.
11991
aa42ab43
JL
119922011-10-19 Juri Linkov <juri@jurta.org>
11993
11994 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11995 the list of hard-coded chars with escape-glyph face.
11996
89400f1d
SM
119972011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12000
305c07f6
MA
120012011-10-19 Michael Albinus <michael.albinus@gmx.de>
12002
12003 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12004 running process.
12005
13754b54
GM
120062011-10-19 Glenn Morris <rgm@gnu.org>
12007
12008 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12009 Ignore ignored files. (Bug#9726)
12010
06e21633
CY
120112011-10-19 Chong Yidong <cyd@gnu.org>
12012
12013 Doc fix for minor modes, stating that an omitted argument enables
12014 the mode unconditionally when called from Lisp.
12015
12016 * abbrev.el (abbrev-mode):
12017 * allout.el (allout-mode):
12018 * autoinsert.el (auto-insert-mode):
12019 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12020 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12021 (global-auto-revert-mode):
12022 * battery.el (display-battery-mode):
12023 * composite.el (global-auto-composition-mode)
12024 (auto-composition-mode):
12025 * delsel.el (delete-selection-mode):
12026 * desktop.el (desktop-save-mode):
12027 * dired-x.el (dired-omit-mode):
12028 * dirtrack.el (dirtrack-mode):
12029 * doc-view.el (doc-view-minor-mode):
12030 * double.el (double-mode):
12031 * electric.el (electric-indent-mode, electric-pair-mode):
12032 * emacs-lock.el (emacs-lock-mode):
12033 * epa-hook.el (auto-encryption-mode):
12034 * follow.el (follow-mode):
12035 * font-core.el (font-lock-mode):
12036 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12037 * help.el (temp-buffer-resize-mode):
12038 * hilit-chg.el (highlight-changes-mode)
12039 (highlight-changes-visible-mode):
12040 * hi-lock.el (hi-lock-mode):
12041 * hl-line.el (hl-line-mode, global-hl-line-mode):
12042 * icomplete.el (icomplete-mode):
12043 * ido.el (ido-everywhere):
12044 * image-file.el (auto-image-file-mode):
12045 * image-mode.el (image-minor-mode):
12046 * iswitchb.el (iswitchb-mode):
12047 * jka-cmpr-hook.el (auto-compression-mode):
12048 * linum.el (linum-mode):
12049 * longlines.el (longlines-mode):
12050 * master.el (master-mode):
12051 * mb-depth.el (minibuffer-depth-indicate-mode):
12052 * menu-bar.el (menu-bar-mode):
12053 * minibuf-eldef.el (minibuffer-electric-default-mode):
12054 * mouse-sel.el (mouse-sel-mode):
12055 * msb.el (msb-mode):
12056 * mwheel.el (mouse-wheel-mode):
12057 * outline.el (outline-minor-mode):
12058 * paren.el (show-paren-mode):
12059 * recentf.el (recentf-mode):
12060 * reveal.el (reveal-mode, global-reveal-mode):
12061 * rfn-eshadow.el (file-name-shadow-mode):
12062 * ruler-mode.el (ruler-mode):
12063 * savehist.el (savehist-mode):
12064 * scroll-all.el (scroll-all-mode):
12065 * scroll-bar.el (scroll-bar-mode):
12066 * server.el (server-mode):
12067 * shell.el (shell-dirtrack-mode):
12068 * simple.el (auto-fill-mode, transient-mark-mode)
12069 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12070 (line-number-mode, column-number-mode, size-indication-mode)
12071 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12072 * strokes.el (strokes-mode):
12073 * time.el (display-time-mode):
12074 * t-mouse.el (gpm-mouse-mode):
12075 * tool-bar.el (tool-bar-mode):
12076 * tooltip.el (tooltip-mode):
12077 * type-break.el (type-break-mode-line-message-mode)
12078 (type-break-query-mode):
12079 * view.el (view-mode):
12080 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12081 (global-whitespace-mode, global-whitespace-newline-mode):
12082 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12083
a3839de2
SM
12084 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12085 Fix autogenerated docstring.
06e21633 12086
5214e501
JL
120872011-10-19 Juri Linkov <juri@jurta.org>
12088
12089 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12090 by checking environment variables "DESKTOP_SESSION" and
12091 "XDG_CURRENT_DESKTOP". (Bug#9779)
12092
195f8db9
JL
120932011-10-19 Juri Linkov <juri@jurta.org>
12094
12095 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12096 (browse-url-chromium-program, browse-url-chromium-arguments):
12097 New defcustoms.
12098 (browse-url-default-browser): Check for `browse-url-chromium' and
12099 call `browse-url-chromium-program'.
12100 (browse-url-chromium): New command. (Bug#9779)
12101
343a34ff
JB
121022011-10-18 Juanma Barranquero <lekktu@gmail.com>
12103
12104 * facemenu.el (list-colors-duplicates): On Windows, detect more
12105 duplicates by assuming that only colors matching "^System" are
12106 special "system colors". (Bug#9722)
12107
6978a151
SM
121082011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12109
12110 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12111 to distinguish the author from the committer.
12112
6a80b297
MA
121132011-10-18 Michael Albinus <michael.albinus@gmx.de>
12114
12115 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12116
b31a5677
JK
121172011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12118
12119 * international/mule.el (sgml-html-meta-auto-coding-function):
12120 Add support for detecting encoding in HTML5 specified only as
12121 <meta charset="UTF-8">. Implementation just makes http-equiv and
12122 content-type parts from HTML4 encoding string optional. (Bug#9716)
12123
80c6d77f
GM
121242011-10-18 Glenn Morris <rgm@gnu.org>
12125
12126 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12127
08b0fee8
CY
121282011-10-18 Chong Yidong <cyd@gnu.org>
12129
12130 * faces.el (cursor): Doc fix.
12131
67e729a5
CY
121322011-10-17 Chong Yidong <cyd@gnu.org>
12133
12134 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12135
343a34ff 121362011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12137
12138 * dirtrack.el (dirtrack): Support shell buffers with path
12139 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12140
0bc06380
TZ
121412011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12142
12143 * json.el: Bump version to 1.3 and note change in History.
12144 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12145
8b79f3e0
SM
121462011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12147
5a7c536b
SM
12148 * comint.el (comint-insert-input, comint-send-input)
12149 (comint-get-old-input-default, comint-backward-matching-input)
12150 (comint-next-prompt): Use nil instead of `input' for field property of
12151 past user input (bug#114).
12152
96a8a0df
SM
12153 * minibuffer.el (completion--replace): Inherit surrounding properties
12154 (bug#114).
12155 (minibuffer-complete-and-exit): Use it.
12156
8b79f3e0
SM
12157 * comint.el (comint--table-subvert): Quote the all-completions output
12158 (bug#9160).
12159
b8f7ff0d
MR
121602011-10-17 Martin Rudalics <rudalics@gmx.at>
12161
8b79f3e0 12162 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12163
b8f7ff0d 12164 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12165 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12166 entries and separate them from frame entries.
12167
c235b555
GM
121682011-10-15 Glenn Morris <rgm@gnu.org>
12169
12170 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12171 Doc fixes.
12172
6bbfa6e1
CY
121732011-10-15 Chong Yidong <cyd@stupidchicken.com>
12174
8b79f3e0
SM
12175 * net/network-stream.el (network-stream-open-starttls):
12176 Improve detection of failure due to lack of TLS support.
ec5c990d 12177
6bbfa6e1
CY
12178 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12179 putting the input text in front and in bold.
12180
98488977
SM
121812011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12182
3d1337be
SM
12183 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12184
ee0b45e4
SM
12185 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12186 empty buffer.
12187
98488977
SM
12188 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12189 unread-command-events rather than pushing yet-another event.
12190
186f4720
EZ
121912011-10-14 Eli Zaretskii <eliz@gnu.org>
12192
12193 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12194 the explanation of the possible choices. Make the options passed
12195 to completing-read shorter.
12196
8b7a997c
AM
121972011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12198
12199 * textmodes/flyspell.el (flyspell-large-region): Make sure
12200 extended character mode is used if defined (Bug#1339).
12201
12587bbb
EZ
122022011-10-13 Eli Zaretskii <eliz@gnu.org>
12203
12204 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12205 character info for LRE, LRO, RLE, and RLO characters by appending
12206 an invisible PDF.
12587bbb 12207
bad41229
SM
122082011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12209
12210 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12211 even in case of error; add debug spec; simplify data flow.
12212 (with-timeout-handler): Remove.
12213
28dbc92f
MA
122142011-10-12 Michael Albinus <michael.albinus@gmx.de>
12215
12216 Fix Bug#6019, Bug#9315.
12217
12218 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12219 complete `buffer-file-name', the local file name part could look
12220 remotely (for example on VMS).
12221
12222 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12223 `tramp-run-real-handler'.
12224 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12225 already quoted by '"'.
12226
12227 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12228 Let `file-name-handler-alist' be nil, the local file name part
12229 could look remotely (for example on VMS).
12230
e1b0b23a
SM
122312011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12232
12233 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12234 from here...
12235 (flyspell-post-command-hook): ...to here.
12236
a120bde9
SM
122372011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12238
12239 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12240 if not needed.
12241 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12242 using completion. Protect against "slow" callers.
12243 Remove the "message hack".
12244
7ce7717b
JL
122452011-10-11 Juri Linkov <juri@jurta.org>
12246
12247 * isearch.el (isearch-lazy-highlight-word): New variable.
12248 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12249 Use it. (Bug#9727)
12250
c02ee9d6
GM
122512011-10-11 Glenn Morris <rgm@gnu.org>
12252
12253 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12254 like f90-previous-statement does.
12255
93e616fd 122562011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12257
1f190e73 12258 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12259 only in interactive use, to avoid error.
12260
af7b6078
SM
122612011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * minibuffer.el (completion-file-name-table): Fix last change,
12264 i.e. ignore normal errors but not the other ones.
12265
0563dae9
MR
122662011-10-10 Martin Rudalics <rudalics@gmx.at>
12267
12268 * window.el (special-display-buffer-names)
12269 (special-display-regexps): Remove some remnants of earlier
12270 changes from doc-strings.
366ca7f3
MR
12271 (quit-windows-on): New function.
12272
12273 * vc/vc.el (vc-revert, vc-rollback):
12274 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12275 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12276 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12277
49677495
MR
122782011-10-09 Martin Rudalics <rudalics@gmx.at>
12279
12280 * window.el (frame-auto-hide-function): Add version tag.
12281 (Bug#9699)
12282
56f2d1e1
MA
122832011-10-09 Michael Albinus <michael.albinus@gmx.de>
12284
12285 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12286 condition.
12287
112a6592
LL
122882011-10-09 Leo Liu <sdl.web@gmail.com>
12289
12290 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12291 (Bug#9701)
12292
0812589b
GM
122932011-10-08 Glenn Morris <rgm@gnu.org>
12294
12295 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12296 before the first code statement zero indent. (Bug#9690)
12297
b2b0776e
CY
122982011-10-08 Chong Yidong <cyd@stupidchicken.com>
12299
12300 * simple.el (count-words-region): Always count in the region.
12301 Report the number of lines and characters too.
12302 (count-words): New command, which counts in the buffer if the
12303 region is inactive, as count-words-region used to.
12304 (count-words--message): New function. Handle plurals.
12305 (count-lines-region): Make it an alias for count-words-region.
12306
12307 * bindings.el (esc-map): Replace count-lines-region with
12308 count-words-region.
12309
c557cd6b
MR
123102011-10-08 Martin Rudalics <rudalics@gmx.at>
12311
12312 * window.el (window--delete): Delete dedicated frame
12313 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12314 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12315
61a57ef4 123162011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12317
3a7d293b 12318 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12319
c3833279
CY
123202011-10-07 Chong Yidong <cyd@stupidchicken.com>
12321
12322 * bindings.el ([M-left],[M-right]): Bind to left-word and
12323 right-word respectively.
12324
21ce8245
GM
123252011-10-07 Glenn Morris <rgm@gnu.org>
12326
12327 * cus-start.el (debug-on-quit): Fix custom type.
12328
6d823bb2
LMI
123292011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12330
0181e193
LMI
12331 * subr.el (define-key-after): Clarify that the function is not
12332 useful for non-menu keymaps.
12333
6d823bb2
LMI
12334 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12335
8e3459ce 123362011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12337
21ce8245 12338 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12339 in current minibuffer (Fix bug with recursive minibuffers).
12340
a1c2d21e
CY
123412011-10-06 Chong Yidong <cyd@stupidchicken.com>
12342
12343 * progmodes/gdb-mi.el (gdb): Doc fix.
12344
5a4cf282
MR
123452011-10-05 Martin Rudalics <rudalics@gmx.at>
12346
12347 * window.el (frame-auto-hide-function): New option replacing
12348 frame-auto-delete. Suggested by Stefan Monnier.
12349 (window--delete): Call frame-auto-hide-function instead of
12350 investigating frame-auto-delete.
c96111ea
MR
12351 (window-point-1, set-window-point-1): New functions.
12352 (window-in-direction, record-window-buffer, window-state-get-1)
12353 (display-buffer-record-window): Use window-point-1 instead of
12354 window-point.
12355 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12356
9854542e
SM
123572011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12358
12359 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12360
8943cfb0
GM
123612011-10-05 Glenn Morris <rgm@gnu.org>
12362
12363 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12364 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12365
647ab967
LL
123662011-10-05 Leo Liu <sdl.web@gmail.com>
12367
12368 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12369 works with buffer object.
12370
3ddfbced
SM
123712011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 * mpc.el (mpc-tool-bar-map): Add labels.
12374
bdfa5dd2
GM
123752011-10-04 Glenn Morris <rgm@gnu.org>
12376
12377 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12378
0e2070b5
MR
123792011-10-04 Martin Rudalics <rudalics@gmx.at>
12380
12381 * window.el (window--delete): New function.
12382 (frame-auto-delete): Resuscitate option.
12383 (bury-buffer, replace-buffer-in-windows)
12384 (quit-window): Rewrite using window--delete.
12385 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12386 Pass display-buffer-mark-dedicated to window--display-buffer-2
12387 (Bug#9639).
12388
3dc61a09
SM
123892011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12390
915a9b64
SM
12391 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12392 returns a list (bug#9554). Add remote file name completion.
12393 * comint.el (comint--table-subvert): Curry and get quote&unquote
12394 functions as arguments.
12395 (comint--complete-file-name-data): Adjust call accordingly.
12396 * pcomplete.el (pcomplete--table-subvert): Remove.
12397 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12398
3dc61a09
SM
12399 * minibuffer.el (completion-table-case-fold): Use currying.
12400 (completion--styles-type, completion--cycling-threshold-type):
12401 New constants.
12402 (completion-styles, completion-category-overrides)
12403 (completion-cycle-threshold): Use them.
12404 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12405 completion-table-case-fold.
12406
8ea0a993
SB
124072011-10-03 Stephen Berman <stephen.berman@gmx.net>
12408
12409 * minibuffer.el (completion-category-overrides): Fix type of styles
12410 and add more user friendly tags (bug#9660).
12411
8c24b7f6
SM
124122011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12413
12414 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12415 (mule-input-method-string): New widget.
12416 (default-input-method, language-info-custom-alist): Use it.
12417
428fe61a
SM
124182011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12419
32c1fffd
SM
12420 * pcomplete.el: Require comint.
12421 (pcomplete--common-suffix): Remove.
12422 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12423 (pcomplete--table-subvert): Sync with comint--table-subvert.
12424 (pcomplete--entries): Use comint-completion-file-name-table.
12425 * comint.el (comint-unquote-filename): Simplify.
12426 (comint-completion-file-name-table): New function (bug#9616).
12427 (comint--complete-file-name-data): Use it.
12428
428fe61a
SM
12429 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12430 (pcmpl-gnu-tar-buffer): Remove.
12431 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12432 around. Make sure pcomplete-suffix-list is only changed temporarily.
12433 Don't look inside the tar's file if it's too large.
428fe61a 12434
04c52e2f
CY
124352011-10-01 Chong Yidong <cyd@stupidchicken.com>
12436
ce3cefcc
CY
12437 * cus-edit.el (custom-mode-map):
12438 * epa.el (epa-key-list-mode-map):
12439 * man.el (Man-mode-map):
12440 * startup.el (splash-screen-keymap):
12441 * simple.el (special-mode-map): Use scroll-up-command and
12442 scroll-down-command.
12443
12444 * progmodes/idlw-help.el (idlwave-help-mode-map):
12445 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12446 * net/newst-plainview.el (newsticker-mode-map):
12447 * emulation/ws-mode.el (wordstar-mode-map):
12448 * emulation/vi.el (vi-com-map):
12449 * calc/calc-graph.el (calc-graph-show-dumb):
12450 * term/sun.el (terminal-init-sun):
12451 * term/ns-win.el (global-map):
12452 * progmodes/grep.el (grep-mode-map):
12453 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12454 * mail/rmail.el (rmail-mode-map):
12455 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12456
04c52e2f
CY
12457 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12458 custom-safe-themes as special.
12459
79adf8c8
JD
124602011-10-01 Julien Danjou <julien@danjou.info>
12461
12462 * notifications.el (notifications-notify): Fix docstring.
12463
63bd50d3
PS
124642011-10-01 Per Starbäck <per@starback.se>
12465
12466 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12467
199e4c7e
MR
124682011-09-30 Martin Rudalics <rudalics@gmx.at>
12469
12470 * startup.el (command-line-1): Fix last fix by inserting
12471 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12472 (Bug#9605) and (Bug#9636)
199e4c7e 12473
fe5f08dd
EZ
124742011-09-29 Eli Zaretskii <eliz@gnu.org>
12475
12476 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12477 window is hscrolled, move by logical lines. (Bug#9607)
12478 (line-move-visual): Update the doc string to the above effect.
12479
b5516bbd
MR
124802011-09-29 Martin Rudalics <rudalics@gmx.at>
12481
ccee00c0
MR
12482 * window.el (display-buffer-record-window): When WINDOW is the
12483 selected window use `point' instead of `window-point'. (Bug#9626)
12484
b5516bbd
MR
12485 * startup.el (command-line-1): Use insert-before-markers when
12486 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12487
b5516bbd
MR
12488 * help.el (help-window): Remove variable.
12489
52aa0014
GM
124902011-09-29 Glenn Morris <rgm@gnu.org>
12491
12492 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12493
df9a7357
JB
124942011-09-29 Juanma Barranquero <lekktu@gmail.com>
12495
12496 * descr-text.el (describe-char-categories): Accept category
12497 descriptions more than one line long.
12498
a8406c20
SM
124992011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12500
88d9610c
SM
12501 * simple.el (delete-trailing-whitespace): Fix last change.
12502
a5daf810
SM
12503 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12504 Don't confuse "y => 3" as the beginning of a `y' operation.
12505
a8406c20
SM
12506 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12507 object has more than 4 slots (bug#9613).
12508
a239d4e9
JB
125092011-09-28 Juanma Barranquero <lekktu@gmail.com>
12510
12511 * subr.el (with-output-to-temp-buffer):
12512 * net/quickurl.el (quickurl, quickurl-browse-url):
12513 Fix typos in docstrings.
12514
693fbdb6
EZ
125152011-09-27 Eli Zaretskii <eliz@gnu.org>
12516
12517 * minibuffer.el (completion-styles)
12518 (completion-category-overrides): Cross reference each other in doc
12519 strings.
12520
8b457e28
GM
125212011-09-27 Glenn Morris <rgm@gnu.org>
12522
12523 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12524 to split-string. (Bug#9606)
12525
85a16208
LMI
125262011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12527
12528 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12529 (bug#9615).
12530
502f9ebd
CY
125312011-09-27 Chong Yidong <cyd@stupidchicken.com>
12532
12533 * emacs-lisp/package.el (list-packages): Fix echo area message.
12534
7690bdea
LL
125352011-09-27 Leo Liu <sdl.web@gmail.com>
12536
12537 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12538
e2ee6f30
MA
125392011-09-25 Michael Albinus <michael.albinus@gmx.de>
12540
12541 * net/dbus.el (dbus-unregister-object): Don't release services for
12542 registered signals. (Bug#9581)
12543
f3f98342
TZ
125442011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12545
12546 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12547 function that picks between cfengine 2 and 3 support
12548 automatically. Update docs accordingly.
12549
dd7aa8dd
KH
125502011-09-22 Kenichi Handa <handa@m17n.org>
12551
12552 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12553 ZERO.
12554 (indian-itrans-v5-table-for-tamil): New variable.
12555 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12556
3f2b07f8
KM
125572011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12558
12559 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12560 that's true if the current command involved collapsing of text.
12561 It's reset to false at the beginning of the next command.
12562 (allout-post-command-business): Move the cursor to the beginning
12563 of entry if the cursor is hidden and collapsing activity just
12564 happened.
12565
371d6a61
CY
125662011-09-24 Chong Yidong <cyd@stupidchicken.com>
12567
12568 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12569 tracking (Bug#9541).
12570
2ac2721a
UJ
125712011-09-24 Ulf Jasper <ulf.jasper@web.de>
12572
12573 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12574 (newsticker-show-news): Automatically load html rendering package
12575 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12576 because w3m-fill-column is let-bound" and the error "Symbol's value
12577 as variable is void: w3m-fill-column".
2ac2721a 12578
fac7ae53
MA
125792011-09-24 Michael Albinus <michael.albinus@gmx.de>
12580
12581 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12582 Release services only if they are defined. (Bug#9581)
12583
e08b633b
RS
125842011-09-23 Richard Stallman <rms@gnu.org>
12585
e488d29c
RS
12586 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12587 distinguish start of paragraph from start of its text.
12588
19c38752
RS
12589 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12590
e08b633b
RS
12591 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12592 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12593 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12594
0a39f27e
AS
125952011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12596
12597 * international/mule-diag.el (mule-diag): Insert a newline after
12598 each fontset description.
12599
db4e950d
SM
126002011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * simple.el (delete-trailing-whitespace):
12603 Document last change; simplify.
12604
eca3f3ea
PW
126052011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12606
d68e189a
PW
12607 * simple.el (delete-trailing-whitespace): Also delete
12608 extra newlines at the end of the buffer.
12609
eca3f3ea
PW
12610 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12611 (picture-newline): Use forward-line so as to ignore fields.
12612
01c157cc
SM
126132011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12614
12615 * subr.el (with-wrapper-hook): Fix edebug spec.
12616
022de23e
LMI
126172011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12618
12619 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12620 (bug#4538).
12621
91683089
MA
126222011-09-23 Michael Albinus <michael.albinus@gmx.de>
12623
eca3f3ea
PW
12624 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12625 Fix nasty bug using wrong cached values.
91683089 12626
5bdd6fa4
AM
126272011-09-23 Alan Mackenzie <acm@muc.de>
12628
12629 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12630
97adfb97
CY
126312011-09-23 Chong Yidong <cyd@stupidchicken.com>
12632
12633 * window.el (pop-to-buffer): Ensure right window is selected if we
12634 chose another frame.
12635
d4ef2b50
EZ
126362011-09-22 Eli Zaretskii <eliz@gnu.org>
12637
12638 * simple.el (what-cursor-position): Use get-char-property-change
12639 and next-single-char-property-change, to be able to show display
12640 properties that come from overlays as well as text properties.
12641
72258fe5
CY
126422011-09-22 Chong Yidong <cyd@stupidchicken.com>
12643
12644 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12645
12646 * cmuscheme.el (run-scheme, switch-to-scheme):
12647 * cus-edit.el (customize-group, custom-buffer-create)
12648 (customize-browse):
12649 * info.el (info):
12650 * shell.el (shell):
12651 * mail/sendmail.el (mail):
12652 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12653
8f098516
RS
126542011-09-22 Richard Stallman <rms@gnu.org>
12655
12656 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12657 move back only to line beg, don't move back over blank lines.
12658
e74f1bb6
MA
126592011-09-22 Michael Albinus <michael.albinus@gmx.de>
12660
12661 * files.el (copy-directory): Set directory attributes only in case
12662 they could be retrieved from the source directory. (Bug#9565)
12663
bfeef8b6
DK
126642011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12665
12666 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12667 (hs-find-block-beginning, hs-hide-level-recursive):
12668 Ignore strings as well as comments. (Bug#9502)
12669
7e423bb8
AS
126702011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12671
12672 * progmodes/sql.el (sql-comint-postgres):
12673 Convert port number to a string. (Bug#9566)
12674
b4d72fcf
MR
126752011-09-22 Martin Rudalics <rudalics@gmx.at>
12676
12677 * window.el (quit-window): Undedicate window when switching to
12678 previous buffer. Reported by Thierry Volpiatto
12679 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12680 (special-display-popup-frame): When popping up a new frame reset
12681 its previous buffers to nil. Simplify code.
b4d72fcf 12682
a7b88dc6
MA
126832011-09-21 Michael Albinus <michael.albinus@gmx.de>
12684
12685 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12686 and process filter, as done also in `shell-command'.
12687
cf4eacfd
MR
126882011-09-21 Martin Rudalics <rudalics@gmx.at>
12689
eca3f3ea 12690 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12691 Call set-window-start with NOFORCE argument t.
12692 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12693 (quit-window): Reword doc-string. Handle new format of
12694 quit-restore parameter. Don't delete window if it has a
12695 previous buffer we can show instead of the present one.
12696 (display-buffer-record-window): Rewrite using a new format for
12697 the quit-restore window parameter
12698 (special-display-popup-frame, display-buffer-same-window)
12699 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12700 (display-buffer-pop-up-window, display-buffer-use-some-window):
12701 Adapt symbol passed to display-buffer-record-window.
12702 * help.el (help-window-setup): Handle new format of quit-restore
12703 parameter.
12704
8d28cb95
SM
127052011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12706
94ab793f
SM
12707 * faces.el (face-list): Fix docstring (bug#9564).
12708
8d28cb95
SM
12709 * window.el (display-buffer--action-function-custom-type):
12710 Don't include internal functions in the Custom interface.
12711
3820edeb
JL
127122011-09-20 Juri Linkov <juri@jurta.org>
12713
12714 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12715 (Info-forward-node, Info-backward-node, Info-next-preorder)
12716 (Info-last-preorder): Use it. (Bug#9528)
12717
5147931d
JL
127182011-09-20 Juri Linkov <juri@jurta.org>
12719
12720 * info.el (Info-last-preorder): Visit last menu item only when
12721 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12722
cf499a1a
JD
127232011-09-20 Julien Danjou <julien@danjou.info>
12724
12725 * password-cache.el (password-cache-remove): Remove entries even if the
12726 value is nil, so that password with a nil value (negative caching) is
12727 possible to invalidate.
12728
f84e2fe2
LM
127292011-09-20 Lawrence Mitchell <wence@gmx.li>
12730
12731 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12732 all whitespace around breakpoint. (Bug#9553)
12733 (f90-find-breakpoint): Only break at whitespace inside a comment.
12734
78054a46
SM
127352011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 * minibuffer.el (completion-file-name-table): Keep track of errors.
12738 (completion-table-with-predicate): Handle the case where pred1 is nil.
12739 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12740
345083b2
SM
127412011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12742
e24e27be
SM
12743 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12744 (debugger-return-value): Signal an error if the debugging context does
12745 not await any return value.
12746
345083b2
SM
12747 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12748 * image-mode.el (image-toggle-display-text)
12749 (image-toggle-display-image): Stay away from evil `intangible'.
12750
08d355e3
LL
127512011-09-19 Leo Liu <sdl.web@gmail.com>
12752
12753 * replace.el (occur-revert-arguments): Make it permanent-local.
12754 (occur-mode): Don't call font-lock-defontify.
12755
f01da43f
CY
127562011-09-19 Chong Yidong <cyd@stupidchicken.com>
12757
12758 * net/ldap.el (ldap-search-internal): Don't push empty search
12759 result (Bug#9508).
12760
b6072fa6
SM
127612011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12762
12763 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12764
443d6696
MA
127652011-09-19 Michael Albinus <michael.albinus@gmx.de>
12766
12767 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12768 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12769
7cc6e154
JL
127702011-09-18 Juri Linkov <juri@jurta.org>
12771
12772 * buff-menu.el (Buffer-menu-mode-map):
12773 * dired.el (dired-mode-map):
12774 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12775 (lisp-interaction-mode-map):
12776 * emacs-lisp/package.el (package-menu-mode-map):
12777 * epa.el (epa-key-list-mode-map):
12778 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12779 (menu-bar-options-menu):
12780 * outline.el (outline-mode-menu-bar-map):
12781 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12782 * vc/vc-dir.el (vc-dir-menu-map):
12783 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12784 Capitalize non-function content words in menu item strings.
12785
12786 * dired.el (dired-mode-map): Add menu item for
12787 `image-dired-dired-toggle-marked-thumbs'.
12788
80302a81
JL
127892011-09-18 Juri Linkov <juri@jurta.org>
12790
12791 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12792 to `isearch-case-fold-search' and restore its original value
12793 after the `isearch-mode' call.
12794
46c5cf66
JL
127952011-09-18 Juri Linkov <juri@jurta.org>
12796
12797 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12798 because `zgrep' returns 1 for successful matches (bug#9226).
12799
d18b513b
JL
128002011-09-18 Juri Linkov <juri@jurta.org>
12801
12802 * info.el (Info-extract-menu-node-name): Check the second match
12803 for empty string (second test-case of bug#9528).
12804 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12805 intermediate nodes to the history (first test-case of bug#9528).
12806
72753f87
JL
128072011-09-18 Juri Linkov <juri@jurta.org>
12808
12809 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12810 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12811
c9384295
JL
128122011-09-18 Juri Linkov <juri@jurta.org>
12813
1154d12e
JB
12814 * info.el (Info-file-supports-index-cookies):
12815 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12816 outputs one more line for long file names (bug#4142).
c9384295 12817
d473dce8
CY
128182011-09-18 Chong Yidong <cyd@stupidchicken.com>
12819
12820 * newcomment.el (comment-normalize-vars): If prompting for
12821 comment-start, set comment-start-skip too (Bug#8424).
12822
2176854d
JB
128232011-09-18 Johan Bockgård <bojohan@gnu.org>
12824
12825 * icomplete.el: Fix previous fix of Bug#5849.
12826 (icomplete-mode): Don't set completion-show-inline-help.
12827 (icomplete-minibuffer-setup): Set completion-show-inline-help
12828 locally during icompletion.
12829
3aace4e4
CY
128302011-09-18 Chong Yidong <cyd@stupidchicken.com>
12831
c940224f
CY
12832 * woman.el (woman2-process-escapes): Don't delete unrecognized
12833 escapes (Bug#7843).
12834
3aace4e4
CY
12835 * files.el (inhibit-first-line-modes-regexps): Add image files.
12836 (hack-local-variables-prop-line): Return nil for malformed
12837 prop-lines (Bug#9044).
12838
710dec63
MA
128392011-09-18 Michael Albinus <michael.albinus@gmx.de>
12840
12841 * net/tramp.el (top): Don't require 'shell.
12842 (tramp-methods): Fix docstring.
12843 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12844 Return complete remote file name. Handle "smb" case.
12845 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12846 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12847
12848 * net/tramp-compat.el (top): Require 'shell.
12849
12850 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12851 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12852 `tramp-current-host'.
12853 (tramp-get-remote-tmpdir): Remove.
12854
12855 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12856 `tramp-tmpdir' entries.
12857 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12858 (tramp-smb-handle-file-attributes): Ignore errors.
12859 (tramp-smb-wait-for-output): Check also for process end.
12860
5d5ac8ec
LMI
128612011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12862
12863 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12864 when sending QUIT (bug#9312).
12865
8c0f49f0
CY
128662011-09-17 Chong Yidong <cyd@stupidchicken.com>
12867
12868 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12869 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12870 occur-mode-display-occurrence.
12871 (occur-edit-mode): Add usage message.
12872 (occur-cease-edit): New command.
12873 (occur-after-change-function): Use text properties to find the
12874 position of the prefix text.
12875 (occur-engine): Set stickiness of prefix text properties.
12876
8f1383f7
GM
128772011-09-17 Glenn Morris <rgm@gnu.org>
12878
12879 * progmodes/etags.el (complete-tag):
12880 Fix call to completion-in-region. (Bug#9526)
12881
744ba0e3
JL
128822011-09-17 Juri Linkov <juri@jurta.org>
12883
12884 * textmodes/ispell.el (ispell-word): Add to the error message
12885 the word, ispell program name and current dictionary (bug#9121).
12886 (ispell-tex-arg-end): Capitalize "error" in the error message.
12887
d9bbf400
AS
128882011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12889
12890 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12891 check. (Bug#4251)
12892
8da11505
JL
128932011-09-17 Juri Linkov <juri@jurta.org>
12894
12895 * window.el (window-safe-min-height, window-safe-min-width):
12896 Fix typos (followup to bug#9522).
12897
a91adc7e
SJ
128982011-09-17 Sven Joachim <svenjoac@gmx.de>
12899
12900 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12901
064f328a
EZ
129022011-09-16 Eli Zaretskii <eliz@gnu.org>
12903
12904 * simple.el (line-move): If goal-column is set, move by logical
12905 lines, not by display lines. (Bug#971)
12906 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12907 to reflect the above change.
12908
e69df516
SM
129092011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12910
12911 * image.el (imagemagick-register-types): Use regexp-opt.
12912
cbb0f9ab
CY
129132011-09-15 Chong Yidong <cyd@stupidchicken.com>
12914
12915 * window.el (display-buffer-base-action): Rename from
12916 display-buffer-default-action. Make default value empty.
12917 (display-buffer-overriding-action): Convert to defvar.
12918 (display-buffer-fallback-action): New var.
12919
25322144
CY
129202011-09-15 Chong Yidong <cyd@stupidchicken.com>
12921
12922 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12923 declaration.
12924 (package--add-to-archive-contents): If there is a duplicate entry
12925 with an older version, remove it.
12926 (package-menu-mark-delete, package-menu-mark-install)
12927 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12928 (package-menu-mark-obsolete-for-deletion):
12929 Use package-menu-get-status instead of a regexp search.
25322144
CY
12930 (package-menu-get-status): Use tabulated-list-entry.
12931 (package-menu-mark-upgrades): New command.
d770725a 12932 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12933 (package-menu-execute): Do installation before deletion.
12934 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12935 instead of checking major-mode.
12936 (package-menu--find-upgrades): New function.
12937
7520339c
LMI
129382011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12939
12940 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12941 passwords in the log buffer.
65a046c4
LMI
12942 (smtpmail-process-filter): Update the process marker so that the
12943 "broken by peer" status message is inserted in the right place.
7520339c 12944
d3c30954
SM
129452011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12946
3fe48822
SM
12947 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12948 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12949 bibtex-completion-at-point-function.
12950 (bibtex-completion-at-point-function): Use them.
12951
1b8b3954
SM
12952 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12953
d3c30954
SM
12954 * mpc.el (mpc-constraints-tag-lookup): New function.
12955 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12956 also to browser "album|playlist".
12957
72779976
JL
129582011-09-14 Juri Linkov <juri@jurta.org>
12959
12960 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12961 (isearch-edit-string): Use length of `isearch-string' when
12962 `isearch-fail-pos' returns nil.
12963 (isearch-message): Remove duplicate code and call
12964 `isearch-fail-pos' with arg `t'.
12965
a0bf2bcd
CY
129662011-09-14 Chong Yidong <cyd@stupidchicken.com>
12967
17bb0a2d
CY
12968 * replace.el (occur-mode-goto-occurrence): Don't force using other
12969 window (Bug#9499).
12970
a0bf2bcd
CY
12971 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12972
f678e0b6
MR
129732011-09-14 Martin Rudalics <rudalics@gmx.at>
12974
12975 * window.el (display-buffer-window): Remove.
12976 (display-buffer-record-window): Use help-setup window parameter
12977 instead of variable display-buffer-window.
12978 (display-buffer-function, special-display-buffer-names)
12979 (special-display-function): Mention help-setup parameter instead
12980 of display-buffer-window in doc-string.
d3c30954
SM
12981 * help.el (help-window-setup): New argument help-window.
12982 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12983 Reword some messages.
12984 (with-help-window): Pass window used for displaying the buffer
12985 to help-window-setup. Don't set display-buffer-window.
12986
8e39b2e8
GM
129872011-09-13 Glenn Morris <rgm@gnu.org>
12988
12989 * emacs-lisp/debug.el (debugger-make-xrefs):
12990 Preserve point. (Bug#9462)
12991
85e9c04b
CY
129922011-09-13 Chong Yidong <cyd@stupidchicken.com>
12993
12994 * window.el (window-deletable-p): Use next-frame.
12995
1b36ed6a
MR
129962011-09-13 Martin Rudalics <rudalics@gmx.at>
12997
12998 * window.el (window-auto-delete): Remove.
12999 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13000 dedication and previous buffers.
1b36ed6a
MR
13001 (switch-to-prev-buffer): Don't delete window.
13002 (delete-windows-on): Delete a window's frame if and only if the
13003 window is dedicated.
13004 (replace-buffer-in-windows): Delete buffer's window or frame if
13005 and only if window is dedicated.
13006 (quit-window): Handle quit-restore as before last change.
4d61f28d 13007 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13008
ef8ef9fb
CY
130092011-09-13 Chong Yidong <cyd@stupidchicken.com>
13010
13011 * window.el (window-deletable-p): Never delete the last frame on a
13012 given terminal.
13013
b2cba41e
GM
130142011-09-13 Glenn Morris <rgm@gnu.org>
13015
13016 * help.el (describe-key-briefly): Copy previous standard-output change.
13017
51553db6 130182011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13019
13020 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13021
b7556719
GM
130222011-09-13 Glenn Morris <rgm@gnu.org>
13023
13024 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13025 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13026
64b51947
CY
130272011-09-12 Chong Yidong <cyd@stupidchicken.com>
13028
13029 * dired-aux.el (dired-mark-read-string): Don't return default
13030 value on empty input (Bug#9361).
13031 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13032 Omit initial minibuffer contents.
13033 (dired-do-chmod): Signal an error on empty input.
13034 (dired-mark-read-string): Don't return default on empty input.
13035
13036 * files.el (file-modes-symbolic-to-number): Doc fix.
13037
393a301e
SM
130382011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13039
13040 * international/mule-cmds.el (ucs-completions): Remove.
13041 (read-char-by-name): Use complete-with-action instead; add metadata.
13042
fa5660f9
CY
130432011-09-11 Chong Yidong <cyd@stupidchicken.com>
13044
13045 * window.el (display-buffer--action-function-custom-type)
13046 (display-buffer--action-custom-type): New vars.
13047 (display-buffer-alist, display-buffer-default-action)
13048 (display-buffer-overriding-action): Add defcustom types.
13049
4a592f66
CY
13050 * frame.el (delete-other-frames): Doc fix (Bug#276).
13051
73d56dbd
LMI
130522011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13053
13054 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13055
37ac18a3
CY
130562011-09-11 Chong Yidong <cyd@stupidchicken.com>
13057
13058 Change modes that used same-window-* vars to use switch-to-buffer.
13059
13060 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13061 Use switch-to-buffer.
13062
13063 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13064 (customize-browse, custom-buffer-create-other-window):
13065 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13066
13067 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13068 (Info-prev, Info-up, Info-speedbar-goto-node)
13069 (info-display-manual): Use switch-to-buffer.
13070 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13071
13072 * mail/sendmail.el (mail): Use switch-to-buffer.
13073 (mail-recover): Use switch-to-buffer-other-window.
13074
13075 * cmuscheme.el (run-scheme, switch-to-scheme):
13076 * ielm.el (ielm):
13077 * shell.el (shell):
13078 * net/rlogin.el (rlogin):
13079 * net/telnet.el (telnet, rsh):
13080 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13081
10195bd6
AS
130822011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13083
13084 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13085
b322f63a
LMI
130862011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13087
39d7fed6
LMI
13088 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13089 so don't mention it (bug#9301).
ba5a81f1 13090 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13091
ee0e9f11
LMI
13092 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13093 match `x', `w32' and `ns', like the manual says (bug#9029).
13094
0b1c89c1 13095 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13096 (process-kill-buffer-query-function): Mention the buffer name in
13097 the query.
0b1c89c1 13098
77549ea8
LMI
13099 * image-mode.el (image-next-line): The line parameter is mandatory
13100 (bug#9258).
13101
803ef892
LMI
13102 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13103 which can be useful (bug#9301).
13104
12980837
LMI
13105 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13106
91054f8f
LMI
13107 * subr.el (match-string): Mention that the current buffer should
13108 be the same as the search was done in (bug#9282).
13109
b322f63a
LMI
13110 * facemenu.el: Disable the remove-* commands if the mark isn't
13111 active (bug#9162).
13112
3199b96f
CY
131132011-09-10 Chong Yidong <cyd@stupidchicken.com>
13114
13115 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13116 of display-buffer.
13117 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13118
13119 * replace.el (occur-mode-goto-occurrence)
13120 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13121 and display-buffer.
13122
13123 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13124 display-buffer.
13125
13126 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13127 special-display and same-window variables.
13128 (mail-other-window): Use switch-to-buffer-other-window.
13129 (mail-other-frame): USe switch-to-buffer-other-frame.
13130
393a301e
SM
13131 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13132 Use display-buffer-other-frame.
3199b96f
CY
13133 (gdb-display-gdb-buffer): Use pop-to-buffer.
13134
13135 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13136
13137 * progmodes/python.el: Don't set same-window-buffer-names.
13138
13139 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13140
13141 * window.el (display-buffer-alist): Add *Python*.
13142
8319e0bf
CY
131432011-09-10 Chong Yidong <cyd@stupidchicken.com>
13144
13145 * window.el (display-buffer-alist): Add entry for buffers
13146 previously handled same-window-*.
13147 (display-buffer-alist, display-buffer-default-action)
13148 (display-buffer-overriding-action): Mark as risky.
13149 (display-buffer-alist): Document action function changes.
13150 (display-buffer--same-window-action)
13151 (display-buffer--other-frame-action): New variables.
13152 (switch-to-buffer, display-buffer-other-frame): Use them.
13153 (display-buffer): Rename reuse-frame entry to reusable-frames.
13154 (display-buffer-reuse-selected-window): Function deleted.
13155 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13156 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13157 (display-buffer-special): New function.
13158 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13159 display-buffer-reuse-or-pop-window. Split off special-display
13160 part into display-buffer-special.
13161 (display-buffer-use-some-window): Don't perform any special
13162 pop-up-frames handling.
13163 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13164 (display-buffer--maybe-same-window): Rename from
0d3ff375 13165 display-buffer-maybe-same-window.
8319e0bf 13166
919a69aa
CY
13167 * info.el: Don't set same-window-regexps.
13168 (info-setup): New function.
13169 (info-other-window, info): Call it.
13170
13171 * cus-edit.el: Don't set same-window-regexps.
13172 (customize-group): New argument.
13173 (customize-group-other-window): Use it.
13174 (customize-face, customize-face-other-window): Likewise.
13175 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13176
8319e0bf
CY
13177 * net/rlogin.el:
13178 * net/telnet.el:
13179 * progmodes/gud.el: Don't set same-window-regexps.
13180
13181 * cmuscheme.el:
13182 * ielm.el:
13183 * shell.el:
13184 * mail/sendmail.el:
13185 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13186
25173000
JL
131872011-09-10 Juri Linkov <juri@jurta.org>
13188
13189 * isearch.el (isearch-edit-string): Remove obsolete mention of
13190 `C-w' (`isearch-yank-word-or-char') from docstring.
13191 (isearch-query-replace): Fix typo in docstring (bug#9466).
13192
056e44ef
JL
131932011-09-10 Juri Linkov <juri@jurta.org>
13194
13195 * paren.el (show-paren-function): Don't show escaped parens.
13196 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13197
c3760c17
EZ
131982011-09-10 Eli Zaretskii <eliz@gnu.org>
13199
13200 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13201 (mm-default-file-encoding): Remove autoload forms, they are
13202 replaced with autoload cookies in mml.el and mm-encode.el.
13203 (mail-add-attachment): New command.
13204 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13205 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13206 the doc string.
13207 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13208
fece895e
RT
132092011-09-10 Reuben Thomas <rrt@sc3d.org>
13210
e69df516
SM
13211 * simple.el (count-words-region): Use buffer if there's no region
13212 (bug#9429).
fece895e 13213
5e68ce4a
JL
132142011-09-09 Juri Linkov <juri@jurta.org>
13215
13216 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13217 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13218 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13219
0a6b9622
AM
132202011-09-09 Alan Mackenzie <acm@muc.de>
13221
13222 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13223 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13224
14a29deb
EZ
132252011-09-09 Eli Zaretskii <eliz@gnu.org>
13226
13227 Fix for Savannah bug#9392.
13228 * simple.el (mail-encode-mml): New defvar.
13229
13230 * mail/rmail.el (mail-encode-mml): Add a defvar.
13231 (rmail-enable-mime-composing): Default to t.
13232 (rmail-forward): Use MIME method of forwarding only if both
13233 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13234 Set mail-encode-mml non-nil if the MIME method was used.
13235
13236 * mail/sendmail.el (mml-to-mime): Add autoload form.
13237 (mail-encode-mml): Add a defvar.
13238 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13239 to nil.
13240 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13241 message through mml-to-mime, and reset mail-encode-mml to nil.
13242
28c45130
GM
132432011-09-09 Glenn Morris <rgm@gnu.org>
13244
13245 * woman.el (woman-if-body): When processing an .el block,
13246 do not delete the next .el block as well. (Bug#9447)
69f4b618 13247 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13248
9b1c252e
MR
132492011-09-08 Martin Rudalics <rudalics@gmx.at>
13250
13251 * window.el (window-deletable-p): Make sure window is live before
13252 invoking window-prev-buffers.
13253
567457e3
LL
132542011-09-08 Leo Liu <sdl.web@gmail.com>
13255
13256 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13257
97f05794
JL
132582011-09-08 Juri Linkov <juri@jurta.org>
13259
13260 * progmodes/compile.el (compilation-environment): Make it
13261 a defcustom (bug#8340).
13262
8b0874b5
MR
132632011-09-08 Martin Rudalics <rudalics@gmx.at>
13264
13265 * window.el (frame-auto-delete): Rename to window-auto-delete.
13266 Make it control auto-deletion of windows and/or frames.
13267 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13268 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13269 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13270 Rewrite handling of case when window/frame can be deleted.
13271 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13272 argument t. (Bug#9456)
8b0874b5 13273
4feb6e73
CY
132742011-09-07 Chong Yidong <cyd@stupidchicken.com>
13275
13276 * help-mode.el (help-mode): Restore autoload.
13277
91ab9c13
JL
132782011-09-07 Juri Linkov <juri@jurta.org>
13279
13280 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13281 `compilation-environment'. Set buffer-local
13282 `compilation-environment' to `thisenv' later after (funcall mode).
13283 (Bug#8340)
13284
13285 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13286 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13287 instead of replacing its value. (Bug#8340)
13288
0527e251
JL
132892011-09-07 Juri Linkov <juri@jurta.org>
13290
13291 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13292 based on text properties put by `grep-filter' instead of matching
13293 escape sequences.
13294 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13295 to the value of `grep-error-screen-columns' (bug#9438).
13296
249f792c
JL
132972011-09-07 Juri Linkov <juri@jurta.org>
13298
13299 * simple.el (next-error-highlight, next-error-highlight-no-select):
13300 Doc fix (bug#9432).
13301
ff7271b9
OT
133022011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13303
13304 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13305 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13306
183fc730
LL
133072011-09-07 Leo Liu <sdl.web@gmail.com>
13308
13309 * net/rcirc.el (rcirc-mode): Conditionally initialize
13310 rcirc-input-ring.
13311
77694924
SM
133122011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13313
13314 * emacs-lisp/find-func.el (find-function-C-source): Only set
13315 find-function-C-source-directory after checking that we found a source
13316 file there (bug#9440).
13317
d809b8eb
AM
133182011-09-06 Alan Mackenzie <acm@muc.de>
13319
13320 * isearch.el (isearch-other-meta-char): Wherever a key list is
13321 unread, "unread" the prefix arg, too. This fixes bug #8901.
13322
453de99f
OG
133232011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13324
13325 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13326
90439906
JL
133272011-09-05 Juri Linkov <juri@jurta.org>
13328
13329 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13330
f62bd846
JL
133312011-09-05 Juri Linkov <juri@jurta.org>
13332
13333 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13334 keeping point where processing of grep matches begins, and
13335 continue to delete remaining escape sequences from the same point.
13336 (grep-filter): Make leading zero optional in "0?1;31m" because
13337 git-grep emits "\033[1;31m" escape sequences unlike expected
13338 "\033[01;31m" as GNU Grep does (bug#9408).
13339 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13340
045820ec
JL
133412011-09-05 Juri Linkov <juri@jurta.org>
13342
13343 * subr.el (y-or-n-p): Capitalize "yes".
13344
f5e29b9b
MA
133452011-09-04 Michael Albinus <michael.albinus@gmx.de>
13346
13347 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13348 `tramp-cache-unload-hook' where appropriate.
13349 (tramp-methods): Rename `tramp-remote-sh' to
13350 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13351 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13352
13353 * net/tramp-sh.el (top): Don't require 'shell.
13354 (tramp-methods): Add `tramp-remote-shell' and
13355 `tramp-remote-shell-args' entries.
13356 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13357 (tramp-sh-handle-shell-command): Remove.
13358 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13359 Use `tramp-remote-shell'.
13360
2784c434
CY
133612011-09-03 Chong Yidong <cyd@stupidchicken.com>
13362
393a301e 13363 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13364 (sendmail-query-once): Save directly to send-mail-function.
13365 Update message-send-mail-function too.
13366
13367 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13368
464cdf56
CS
133692011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13370
13371 * progmodes/python.el (python-mode-map): Use correct function to
13372 start python interpreter from menu-bar (as reported by Geert
13373 Kloosterman).
13374 (inferior-python-mode-map): Fix typo.
393a301e 13375 (python-shell-map): Remove.
464cdf56 13376
d37e5c87
DD
133772011-09-03 Deniz Dogan <deniz@dogan.se>
13378
13379 * net/rcirc.el (rcirc-print): Simplify code for
13380 rcirc-scroll-show-maximum-output. There is no need to walk
13381 through all windows to find the right one.
13382
f3ada0ee
CS
133832011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13384
13385 * help.el (help-return-method): Doc fix.
13386
1f3c99ca
MR
133872011-09-03 Martin Rudalics <rudalics@gmx.at>
13388
13389 * window.el (window-deletable-p): Don't return a non-nil value
13390 when there's a buffer that was shown in the window before.
13391 (Bug#9419)
393a301e
SM
13392 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13393 Set window's previous buffers to nil.
1f3c99ca 13394
a3cf097f
EZ
133952011-09-03 Eli Zaretskii <eliz@gnu.org>
13396
13397 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13398 newline before and after the tag line, so it doesn't interfere
13399 with determining the paragraph direction of bidirectional text.
13400
3d03de90
LL
134012011-09-03 Leo Liu <sdl.web@gmail.com>
13402
13403 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13404
c3313451
CY
134052011-09-02 Chong Yidong <cyd@stupidchicken.com>
13406
393a301e 13407 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13408 (pop-to-buffer): Change interactive spec. Pass second argument
13409 directly to display-buffer.
13410 (display-buffer): Fix interactive spec. Use functionp to
13411 distinguish between a function and a list of functions.
13412
13413 * abbrev.el (edit-abbrevs):
13414 * arc-mode.el (archive-extract):
13415 * autoinsert.el (auto-insert):
13416 * bookmark.el (bookmark-bmenu-list):
13417 * files.el (find-file):
13418 * view.el (view-buffer):
13419 * progmodes/compile.el (compilation-goto-locus):
13420 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13421
89894cd8
CY
134222011-09-02 Chong Yidong <cyd@stupidchicken.com>
13423
13424 * window.el (display-buffer-alist): Doc fix.
13425 (display-buffer): Add docstring. Don't treat
13426 display-buffer-default specially.
13427 (display-buffer-reuse-selected-window)
13428 (display-buffer-same-window, display-buffer-maybe-same-window)
13429 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13430 (display-buffer-pop-up-window)
13431 (display-buffer-reuse-or-pop-window)
13432 (display-buffer-use-some-window): New functions.
13433 (display-buffer-default-action): Use them.
393a301e 13434 (display-buffer-default): Delete.
89894cd8
CY
13435 (pop-to-buffer-1): Fix choice of actions.
13436
ae0bc9fb
SM
134372011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13438
13439 * minibuffer.el (completion--insert-strings): Don't get confused by
13440 completion entries that end with an LF char.
13441
e9d90883
EZ
134422011-09-01 Eli Zaretskii <eliz@gnu.org>
13443
13444 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13445
437014c8
CY
134462011-09-01 Chong Yidong <cyd@stupidchicken.com>
13447
13448 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13449 (display-buffer-same-window, display-buffer-other-window):
13450 New functions.
437014c8
CY
13451 (pop-to-buffer-1): New function. Use the above.
13452 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13453 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13454
13455 * view.el (view-buffer-other-window, view-buffer-other-frame):
13456 Just use pop-to-buffer.
13457
a5e063d5
TV
134582011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13459
13460 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13461
793d32bb
WH
134622011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13463
13464 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13465
d65e4c15
RS
134662011-08-31 Richard Stallman <rms@gnu.org>
13467
13468 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13469 of the separation of rmail-view-buffer from rmail-buffer.
13470 If you say no to "replace original", the decrypt is in the
13471 view buffer. If you say yes, the decrypt goes into the
13472 rmail buffer also.
13473
f818cd2a
MR
134742011-08-31 Martin Rudalics <rudalics@gmx.at>
13475
13476 * window.el (display-buffer-window): Rewrite doc-string.
13477 (display-buffer-record-window): New function.
13478 (display-buffer-macro-specifiers)
13479 (display-buffer-even-window-sizes, display-buffer-set-height)
13480 (display-buffer-set-width, display-buffer-in-window)
13481 (display-buffer-reuse-window, display-buffer-split-specifiers)
13482 (display-buffer-side-specifiers, display-buffer-split-window-1)
13483 (display-buffer-split-window, display-buffer-split-atom-window)
13484 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13485 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13486 (display-buffer-other-window-means-other-frame)
13487 (display-buffer-normalize-special)
13488 (display-buffer-normalize-default)
13489 (display-buffer-normalize-argument)
13490 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13491 (display-buffer-normalize-specifiers, display-buffer-frame)
13492 (display-buffer-same-window, display-buffer-same-frame)
13493 (display-buffer-other-window)
13494 (display-buffer-same-frame-other-window)
13495 (display-buffer-other-frame, pop-to-buffer-same-window)
13496 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13497 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13498 (switch-to-buffer-same-frame)
13499 (switch-to-buffer-other-window-same-frame)
13500 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13501 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13502 (display-buffer-alist-set): Remove.
13503 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13504 (special-display-regexps, special-display-function):
13505 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13506 parameter.
13507 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13508 (special-display-frame-alist, special-display-popup-frame)
13509 (same-window-buffer-names, same-window-regexps, same-window-p)
13510 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13511 (split-window-preferred-function, split-height-threshold)
13512 (split-width-threshold, window-splittable-p)
13513 (split-window-sensibly, window--try-to-split-window)
13514 (window--frame-usable-p, even-window-heights)
13515 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13516 (window--display-buffer-2, display-buffer-other-frame):
13517 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13518 (display-buffer-default, display-buffer-assq-regexp): New functions.
13519 (display-buffer-alist): Rewrite doc-string.
13520 (display-buffer-default-action)
13521 (display-buffer-overriding-action): New variables.
13522 (display-buffer, switch-to-buffer): Rewrite.
13523 (pop-to-buffer): Restore Emacs 23 behavior but use
13524 window-normalize-buffer-to-display.
13525 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13526 Restore Emacs 23 behavior but use
13527 window-normalize-buffer-to-switch-to.
13528 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13529 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13530 Rewrite using Emacs 23 options.
f818cd2a 13531
5bc3b51d
MA
135322011-08-31 Michael Albinus <michael.albinus@gmx.de>
13533
13534 * net/tramp.el (tramp-root-regexp): Remove.
13535 (tramp-completion-file-name-regexp-unified)
13536 (tramp-completion-file-name-regexp-separate)
13537 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13538 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13539 (tramp-drop-volume-letter): Simplify definition.
13540 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13541
b1a4f8e1
SM
135422011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13543
13544 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13545 (bug#9356).
13546
5664fa7b
RT
135472011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13548
b1a4f8e1 13549 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13550
9a45d6c3
JL
135512011-08-29 Juri Linkov <juri@jurta.org>
13552
13553 * isearch.el (isearch-done): Don't display message "Mark saved"
13554 when arg `edit' is non-nil to prevent its flicker in the echo area.
13555
fb87e0fb
CY
135562011-08-28 Chong Yidong <cyd@stupidchicken.com>
13557
13558 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13559 obsolete packages for deletion.
13560
09ac1c2a
CS
135612011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13562
13563 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13564 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13565 view-mode from help-mode.
13566 (help-xref-override-view-map): Remove.
13567 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13568 view-mode is not used anymore.
13569
7a1ff57f
CY
135702011-08-28 Chong Yidong <cyd@stupidchicken.com>
13571
13572 * server.el (server-port): Doc fix.
13573
b9696605
CY
13574 * cus-theme.el (custom-theme-choose-mode): Inherit from
13575 special-mode (Bug#9124).
13576 (custom-theme-choose-mode-map): Add special-mode to parent.
13577
ef8cdf8c
AM
135782011-08-28 Alan Mackenzie <acm@muc.de>
13579
13580 * progmodes/cc-fonts.el
13581 (c-make-font-lock-BO-decl-search-function): New function.
13582 (c-basic-matchers-after - "Fontify the clauses after various
13583 keywords"): Extract the three keyword lists for the 3 erroneous
13584 constructs from the list of four, and use the new function above
13585 in place of an old one.
13586
27de4e20
DD
135872011-08-28 Deniz Dogan <deniz@dogan.se>
13588
13589 * net/rcirc.el (rcirc-insert-prev-input)
13590 (rcirc-insert-next-input): Remove unused argument.
13591
356a3681
SM
135922011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13595
3fc9b218
AM
135962011-08-27 Alan Mackenzie <acm@muc.de>
13597
13598 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13599 handle function pointer parameters properly.
13600
538a061c
MR
136012011-08-27 Martin Rudalics <rudalics@gmx.at>
13602
13603 * window.el (display-buffer-reuse-window): Fix case where
13604 selected window was reused with non-nil OTHER-WINDOW argument.
13605 (Bug#9381)
13606
35b1c40c
DD
136072011-08-27 Deniz Dogan <deniz@dogan.se>
13608
13609 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13610 oftc's NickServ messages.
13611
2f6a3e79
GM
136122011-08-27 Glenn Morris <rgm@gnu.org>
13613
13614 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13615
7254299e
CY
136162011-08-26 Chong Yidong <cyd@stupidchicken.com>
13617
13618 * emacs-lisp/package.el (package-install): Call package-initialize
13619 if called interactively.
13620
f8ccf167
LL
136212011-08-26 Leo Liu <sdl.web@gmail.com>
13622
13623 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13624
3e8cd5ce
JL
136252011-08-25 Juri Linkov <juri@jurta.org>
13626
13627 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13628 `search-whitespace-regexp' (bug#9364).
13629
93eb7113
JL
136302011-08-25 Juri Linkov <juri@jurta.org>
13631
13632 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13633 `regexp-search-ring' to their global values to protect from
13634 updating by `read-from-minibuffer' (bug#9185).
13635
f65d1611
JL
136362011-08-25 Juri Linkov <juri@jurta.org>
13637
13638 * textmodes/ispell.el (ispell-command-loop): Add newline
13639 at the end of the "Use option `i'..." line.
13640
f1cf7a31
JL
136412011-08-25 Juri Linkov <juri@jurta.org>
13642
13643 * battery.el (display-battery-mode): If `battery-status-function'
13644 or `battery-mode-line-format' is nil, display the message and set
13645 `display-battery-mode' to nil (bug#9363).
13646
0c95fcf7
EZ
136472011-08-25 Eli Zaretskii <eliz@gnu.org>
13648
13649 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13650 bidi-string-mark-left-to-right; they are unnecessary now.
13651
a2ebe600
DD
136522011-08-25 Deniz Dogan <deniz@dogan.se>
13653
13654 * net/quickurl.el: Documentation typo fixes.
13655
e4ed06f1
CY
136562011-08-25 Chong Yidong <cyd@stupidchicken.com>
13657
13658 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13659
e5f1c99e
GM
136602011-08-25 Glenn Morris <rgm@gnu.org>
13661
b2948976
GM
13662 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13663
e5f1c99e
GM
13664 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13665 (smtpmail-via-smtp): Handle nil response from smtp.
13666
f22f4808
JL
136672011-08-24 Juri Linkov <juri@jurta.org>
13668
13669 * proced.el (proced-marked): Inherit from `error' instead of
13670 `font-lock-warning-face'.
13671
13672 * ibuffer.el (ibuffer-marked-face): Change default face from
13673 `font-lock-warning-face' to `warning'.
13674 (ibuffer-deletion-face): Change default face from
13675 `font-lock-type-face' to `error'.
13676
13677 * battery.el (battery-update): Use the face `error' instead of
13678 `font-lock-warning-face' (bug#6117).
13679
6a93965e
JL
136802011-08-24 Juri Linkov <juri@jurta.org>
13681
13682 * faces.el (success): Change face color from "Green3" to
13683 "ForestGreen" on light background (bug#9353).
13684
1ed43b09
CY
136852011-08-24 Chong Yidong <cyd@stupidchicken.com>
13686
5664fa7b
RT
13687 * window.el (quit-window): Rename from quit-restore-window.
13688 Use same arglist as old quit-window.
1ed43b09
CY
13689 (frame-auto-delete): Doc fix.
13690
13691 * view.el (view-mode-exit): Use quit-window.
13692
11dcdbb2
JL
136932011-08-24 Juri Linkov <juri@jurta.org>
13694
13695 * isearch.el (isearch-ring-adjust1): Start visiting previous
13696 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13697 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13698 for empty search string (when the last search string is reused
13699 automatically) to adjust the isearch ring to the last element and
13700 prepare the correct index for further M-p commands (bug#9185).
13701
de62b4df
KH
137022011-08-24 Kenichi Handa <handa@m17n.org>
13703
13704 * international/ucs-normalize.el: If decomposition property of
13705 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13706 nil.
13707 (nfd, nfkd): Likewise.
13708
963b492b
SM
137092011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13710
13711 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13712 from process filters aren't reliably transmitted to the surrounding
13713 accept-process-output.
13714 (mpc-proc-check): New function.
13715 (mpc-proc-sync): Use it (bug#8293)
13716
93b6b5e1
SM
137172011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13718
13719 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13720 Add compatibility functions (bug#9313).
13721
bca633fb
EZ
137222011-08-23 Eli Zaretskii <eliz@gnu.org>
13723
b177498a
EZ
13724 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13725
6df6ae42 13726 * international/uni-bidi.el: Regenerate.
bca633fb 13727
0902a04e
KH
137282011-08-23 Kenichi Handa <handa@m17n.org>
13729
13730 * international/charprop.el:
13731 * international/uni-bidi.el:
13732 * international/uni-category.el:
13733 * international/uni-combining.el:
13734 * international/uni-comment.el:
13735 * international/uni-decimal.el:
13736 * international/uni-decomposition.el:
13737 * international/uni-digit.el:
13738 * international/uni-lowercase.el:
13739 * international/uni-mirrored.el:
13740 * international/uni-name.el:
13741 * international/uni-numeric.el:
13742 * international/uni-old-name.el:
13743 * international/uni-titlecase.el:
13744 * international/uni-uppercase.el: Regenerate.
13745
3bbf23bc
MR
137462011-08-23 Martin Rudalics <rudalics@gmx.at>
13747
13748 * help.el (help-window-setup): Fix message displayed when other
13749 window is reused. (Bug#9341)
13750
b3fd59bd
SM
137512011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13752
1802e444
SM
13753 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13754 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13755
b3fd59bd
SM
13756 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13757 Mark obsolete.
13758 * shell.el (shell-parse-pcomplete-arguments): New function.
13759 (shell-completion-vars): Use it instead (bug#9160).
13760
4eb61348
SM
137612011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13762
867cab74
SM
13763 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13764 strings and comments (bug#9333).
13765
4eb61348
SM
13766 * emacs-lisp/debug.el (debug-arglist): New function.
13767 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13768 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13769
262a1439
JL
137702011-08-22 Juri Linkov <juri@jurta.org>
13771
56ee679c
JL
13772 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13773 Revert regexp that highlights output switches to its old
13774 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13775
262a1439
JL
13776 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13777 to check for empty output (bug#9226).
13778
f13f86fb
CY
137792011-08-22 Chong Yidong <cyd@stupidchicken.com>
13780
13781 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13782 symbol-constituent as the default, as that stops font-lock from
13783 working properly (Bug#8843).
13784
c65c9622
LMI
137852011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13786
13787 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13788 `coding-system-for-*' around the process open call to avoid
13789 auth-source side effects.
e7f2c178 13790 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13791 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13792 probe hangs.
c65c9622 13793
23a8a5ab
CY
137942011-08-21 Chong Yidong <cyd@stupidchicken.com>
13795
ff98b2dd
CY
13796 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13797
23a8a5ab
CY
13798 * emacs-lisp/find-func.el (find-function-noselect): New arg
13799 lisp-only.
13800
13801 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13802 signal an error for built-in functions (Bug#6664).
13803
f5e3c598
LMI
138042011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13805
13806 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13807 (smtpmail-try-auth-methods): Use it.
13808
a3f2468a
CY
138092011-08-21 Chong Yidong <cyd@stupidchicken.com>
13810
2c34e8da
CY
13811 * font-lock.el (font-lock-fontify-region)
13812 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13813 (font-lock-default-unfontify-buffer)
13814 (font-lock-default-fontify-region)
13815 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13816
b3fd59bd
SM
13817 * progmodes/compile.el (compilation-error-properties):
13818 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13819 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13820 `ant' regexp.
ee31aabc 13821
a3f2468a
CY
13822 * net/browse-url.el (browse-url-firefox): Don't call
13823 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13824
8e999f70
GM
138252011-08-20 Glenn Morris <rgm@gnu.org>
13826
c21a496a
GM
13827 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13828
59ee0542
GM
13829 * tutorial.el (tutorial--default-keys): Update some default bindings.
13830
8e999f70
GM
13831 * files.el (hack-local-variables): Fully ignore case for "mode:".
13832
e3715033
AM
138332011-08-20 Alan Mackenzie <acm@muc.de>
13834
13835 Resolve invalid use of a regexp in regexp-opt.
13836
4d61f28d
JB
13837 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13838 detection for a java annotation.
e3715033 13839
4d61f28d 13840 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13841 detection for a java annotation.
13842
4d61f28d
JB
13843 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13844 handling for java.
e3715033
AM
13845 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13846
04ed2e9c
CY
138472011-08-20 Chong Yidong <cyd@stupidchicken.com>
13848
13849 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13850 (Bug#9274).
13851
826cee64
AM
138522011-08-20 Alan Mackenzie <acm@muc.de>
13853
58179cce 13854 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13855 such a construct. Mainly for when jit-lock etc. starts a chunk
13856 here.
13857
58179cce 13858 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13859 variable.
58179cce 13860 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13861 c-make-font-lock-search-function.
13862 (c-make-font-lock-search-function): Use the above function.
13863 (c-make-font-lock-context-search-function): New function.
13864 (c-cpp-matchers): Enhance the preprocessor expression case with
13865 the above function
13866 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13867 which takes an expression.
13868
13869 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13870
13009bd8
MR
138712011-08-20 Martin Rudalics <rudalics@gmx.at>
13872
13873 * window.el (display-buffer-reuse-window)
13874 (display-buffer-pop-up-window): Don't reuse or split a side
13875 window.
13876
9234ff7f
GM
138772011-08-19 Glenn Morris <rgm@gnu.org>
13878
13879 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13880 Downcase "Mode:". (Bug#9331)
9234ff7f 13881
f635daa1
CY
138822011-08-18 Chong Yidong <cyd@stupidchicken.com>
13883
13884 * international/characters.el: Add L and R categories.
13885
13886 * subr.el (bidi-string-mark-left-to-right): Rename from
13887 string-mark-left-to-right. Use category search.
13888
13889 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13890
bc987f8b
JL
138912011-08-18 Juri Linkov <juri@jurta.org>
13892
13893 * faces.el (error, warning, success): New faces with definitions
13894 copied from old default values of `font-lock-warning-face',
13895 `compilation-warning', `compilation-info' (bug#6117).
13896
13897 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13898
13899 * progmodes/compile.el (compilation-error): Inherit from `error'.
13900 (compilation-warning): Inherit from `warning'.
13901 (compilation-info): Inherit from `success'.
13902
13903 * dired.el (dired-marked): Inherit from `warning'.
13904 (dired-flagged): Inherit from `error'.
13905
57173b96
LMI
139062011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13907
3e79eb87
LMI
13908 * mail/smtpmail.el (auth-source): Require to avoid problems with
13909 binding variables (bug#9298). Also clean up some unused
13910 autoloads.
13911
b3fd59bd
SM
13912 * net/network-stream.el (network-stream-open-starttls):
13913 Support using starttls.el without using gnutls-cli.
57173b96 13914
02b404de
JL
139152011-08-17 Juri Linkov <juri@jurta.org>
13916
13917 * progmodes/grep.el (rgrep): Handle the case when
13918 `grep-find-command' is a cons cell (bug#9278).
13919
8c9177f2
MR
139202011-08-17 Martin Rudalics <rudalics@gmx.at>
13921
13922 * window.el (display-buffer-pop-up-frame): Run frame creation
13923 function with BUFFER current (as special-display-popup-frame
13924 does). Reported by Drew Adams.
13925
3644a0ab
DU
139262011-08-17 Daiki Ueno <ueno@unixuser.org>
13927
13928 * epa-mail.el: Simplify GnuPG group expansion using
13929 epg-expand-group.
13930 (epa-mail-group-alist, epa-mail-group-modtime)
13931 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13932 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13933 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13934 Remove.
13935
5e617bc2 139362011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13937
13938 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13939
9c4aeabf
AM
139402011-08-16 Alan Mackenzie <acm@muc.de>
13941
13942 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13943 Correct, to avoid the inside of macros.
13944
3a99bf64
RS
139452011-08-16 Richard Stallman <rms@gnu.org>
13946
04963aa8
RS
13947 * epa-mail.el: Handle GnuPG group definitions.
13948 (epa-mail-group-alist, epa-mail-group-modtime)
13949 (epa-mail-gnupg-conf-file): New variables.
13950 (epa-mail-parse-groups, epa-mail-sync-groups)
13951 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13952 (epa-mail-expand-recipients): New functions.
13953 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13954
177549d0
RS
13955 * mail/rmail.el (rmail-epa-decrypt): New command.
13956
fe38beef
RS
13957 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13958 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13959 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13960 (epa-decrypt-armor-in-region): Make error message clearer.
13961
934eacb9
SM
139622011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13963
13964 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13965 and "a2b" to "ab" for `prefix'.
13966
d024fb4e
CY
139672011-08-14 Chong Yidong <cyd@stupidchicken.com>
13968
13969 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13970 filter groups.
de148fee
CY
13971 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13972 Fourquet (Bug#8804).
d024fb4e 13973
62f1ca49
JB
139742011-08-12 Juanma Barranquero <lekktu@gmail.com>
13975
13976 * startup.el (argi): Declare as global variable (bug#9275).
13977
9ccaaa4b
CY
139782011-08-12 Chong Yidong <cyd@stupidchicken.com>
13979
13980 * subr.el (string-mark-left-to-right): Search the entire string
13981 for RTL script, not just the terminating character. Doc fix.
13982
a3dae87a
SM
139832011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13984
6cd18349
SM
13985 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13986 New function.
13987 (js--regexp-literal, js-syntax-propertize-function): Remove.
13988 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13989 (js-mode-map): Don't rebind electric keys.
13990 (js-insert-and-indent): Remove.
13991 (js-mode): Setup electric-layout and electric-indent instead.
13992
a3dae87a
SM
13993 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13994
9d5cb631
DU
139952011-08-12 Daiki Ueno <ueno@unixuser.org>
13996
13997 * epa.el (epa-progress-callback-function): Fix the logic of
13998 displaying progress.
13999 * epa-file.el (epa-file-insert-file-contents): Make progress
14000 display more user-friendly.
14001 (epa-file-write-region): Ditto.
14002
3e26a4a2
CY
140032011-08-10 Chong Yidong <cyd@stupidchicken.com>
14004
14005 * subr.el (string-mark-left-to-right): New function.
14006
14007 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14008 Use string-mark-left-to-right.
14009 (list-buffers-noselect): Caller changed.
14010
a3dae87a
SM
14011 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14012 Use string-mark-left-to-right.
3e26a4a2
CY
14013 (tabulated-list-print): Recenter after moving point.
14014
ac8cf6e6
JL
140152011-08-10 Juri Linkov <juri@jurta.org>
14016
14017 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14018 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14019 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14020
8d96c9a4
CY
140212011-08-09 Chong Yidong <cyd@stupidchicken.com>
14022
14023 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14024 (Bug#7554).
14025
7be1c708 140262011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14027
14028 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14029 character. (Bug#6594)
14030
37e11a63
CY
140312011-08-08 Chong Yidong <cyd@stupidchicken.com>
14032
839dde57
CY
14033 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14034 (image-dired--with-db-file): New macro.
14035 (image-dired-write-tags, image-dired-remove-tag)
14036 (image-dired-create-gallery-lists, image-dired-write-comments)
14037 (image-dired-get-comment, image-dired-mark-tagged-files)
14038 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14039 (image-dired-gallery-generate): Use insert-file-contents.
14040
37e11a63
CY
14041 * time.el (display-time-world-list, display-time-world-display):
14042 * time-stamp.el (time-stamp-string):
14043 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14044 set-time-zone-rule (Bug#7337).
14045
0b4946c4
DU
140462011-08-08 Daiki Ueno <ueno@unixuser.org>
14047
14048 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14049 (epg-error-to-string, epg-errors-to-string): New function.
14050 (epg-wait-for-completion): Reverse errors list.
14051 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14052 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14053 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14054 (epg-sign-keys, epg-generate-key-from-file)
14055 (epg-generate-key-from-string): Format errors by using
14056 epg-errors-to-string (bug#9255).
14057 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14058
75bfc667
JL
140592011-08-07 Juri Linkov <juri@jurta.org>
14060
14061 * faces.el (list-faces-display): Remove extra angle bracket
14062 from `help-mode-map'.
14063
14064 * info.el (Info-history-toc-nodes): Doc fix.
14065
14066 * longlines.el (longlines-mode): Doc fix.
14067
673e08bb
SM
140682011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14069
4640dd88
SM
14070 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14071 of statements and in a few more cases (bug#9183).
14072
673e08bb
SM
14073 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14074 New functions.
14075 (cl-transform-lambda): Use them (bug#9239).
14076
89b3f019
MR
140772011-08-05 Martin Rudalics <rudalics@gmx.at>
14078
14079 * window.el (display-buffer-same-window)
14080 (display-buffer-same-frame, display-buffer-other-window)
14081 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14082 (pop-to-buffer-other-window)
14083 (pop-to-buffer-same-frame-other-window)
14084 (pop-to-buffer-other-frame): Make them defuns.
14085 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14086
640c8776
SM
140872011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14088
14089 * subr.el (make-composed-keymap): Move from C. Change calling
14090 convention, and improve docstring to bring attention to a subtle point.
14091 * minibuffer.el (completing-read-default): Adjust accordingly.
14092
63648a95
MA
140932011-08-03 Michael Albinus <michael.albinus@gmx.de>
14094
14095 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14096 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14097
14098 * net/trampver.el: Update release number.
14099
b796c9b7
SM
141002011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14101
14102 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14103 "in" (bug#9190).
14104
2239d7d5
LMI
141052011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14106
e07dd7c3
LMI
14107 * mail/sendmail.el (sendmail-query-once): Restore the current
14108 buffer after querying (bug#9074).
14109
0e6a2bd7
LMI
14110 * dired.el (dired-flagged): Use different faces for marked and
14111 flagged files (bug#6117).
14112
ce887515
LMI
14113 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14114 (bug#4433).
14115
92f2affc
LMI
14116 * ido.el (ido-mode): Switch off the message if called
14117 non-interactively.
14118
57d5aff0
LMI
14119 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14120 before 587, since it appears that that's more likely to work for
14121 more people.
14122
98cd6c18 14123 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14124 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14125 exist.
14126
b96dec83
LMI
14127 * info.el: Remove the `Info-beginning-of-buffer' function
14128 (bug#8325).
14129
b796c9b7
SM
14130 * net/network-stream.el (network-stream-open-starttls):
14131 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14132
d90e2ea0
MR
141332011-08-01 Martin Rudalics <rudalics@gmx.at>
14134
14135 * window.el (display-buffer-in-window): Don't set dedicated status
14136 of window here (Bug#9215).
14137 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14138 (display-buffer-pop-up-side-window)
b796c9b7 14139 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14140
cca09170
SM
141412011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14142
14143 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14144 before binding generated-autoload-file.
14145
027b979c
DD
141462011-08-01 Deniz Dogan <deniz@dogan.se>
14147
14148 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14149
3c7ee4f3
MA
141502011-07-30 Michael Albinus <michael.albinus@gmx.de>
14151
14152 Sync with Tramp 2.2.2.
14153
14154 * net/trampver.el: Update release number.
14155
2cc8e51a
JL
141562011-07-30 Juri Linkov <juri@jurta.org>
14157
14158 * dired-aux.el (dired-touch-initial): Remove function.
14159 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14160 current time, and `default' to the last modification time of the
14161 current marked file (bug#6887).
14162
a514d856
JM
141632011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14164
14165 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14166 numeric argument to read-number (bug#9163).
a514d856 14167
8a7eddd7
MA
141682011-07-27 Michael Albinus <michael.albinus@gmx.de>
14169
14170 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14171 connection process, it could be nil.
14172
1ddd96f5
LL
141732011-07-27 Leo Liu <sdl.web@gmail.com>
14174
14175 Simplify url handling in rcirc-mode.
14176
14177 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14178 (rcirc-browse-url-at-mouse): Remove.
14179 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14180
b248a85d
AM
141812011-07-26 Alan Mackenzie <acm@muc.de>
14182
14183 Fontify bitfield declarations properly.
14184
14185 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14186 (c-symbol-chars): Now exported as a lang variable.
14187 (c-not-primitive-type-keywords): New lang variable.
14188
14189 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14190 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14191 parsed as a bitfield declaration.
b248a85d 14192
b796c9b7
SM
14193 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14194 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14195 (c-punctuation-in): New function.
14196 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14197 declarations properly.
14198
68575ab0
UJ
141992011-07-26 Ulf Jasper <ulf.jasper@web.de>
14200
14201 * calendar/icalendar.el (icalendar--all-events): Take care of
14202 multiple vcalendars in a single file.
b796c9b7 14203 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14204
0f0a88b9
DD
142052011-07-25 Deniz Dogan <deniz@dogan.se>
14206
14207 * image.el (insert-image): Clarifying docstring.
14208
0b3f36df
MA
142092011-07-24 Michael Albinus <michael.albinus@gmx.de>
14210
14211 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14212 `tramp-send-command-and-check' if there is no error.
14213 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14214
a9901f61
AM
142152011-07-22 Alan Mackenzie <acm@muc.de>
14216
14217 Prevent cc-langs.elc being loaded at run time.
14218
14219 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14220 cc-langs.
14221
4d61f28d 14222 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14223 "(require 'cc-langs)". Quote a form so it will evaluate at
14224 (cc-mode's) compilation time.
14225
11d074b2
MA
142262011-07-22 Michael Albinus <michael.albinus@gmx.de>
14227
14228 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14229 loading. (Bug#9114)
14230
938b94c8
MR
142312011-07-21 Martin Rudalics <rudalics@gmx.at>
14232
14233 * window.el (display-buffer-pop-up-window)
14234 (display-buffer-pop-up-side-window)
14235 (display-buffer-in-side-window): Call display-buffer-set-height
14236 and display-buffer-set-width after setting the new window's
b796c9b7 14237 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14238
bfa4f190
SS
142392011-07-20 Sam Steingold <sds@gnu.org>
14240
14241 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14242 (etags-tags-included-tables): Call `convert-standard-filename' on
14243 the file names contained in TAGS so that windows Emacs can handle
14244 TAGS files created by cygwin ctags.
14245
8ca42262
LMI
142462011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14247
14248 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14249 which apparently didn't work.
14250
5db2afd2 142512011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14252
5db2afd2
RW
14253 * proced.el (proced-send-signal): For *Marked Processes* buffer
14254 put point at beginning of buffer.
14255
92e15d10
SB
142562011-07-19 Stephen Berman <stephen.berman@gmx.net>
14257
14258 * proced.el (proced-format): Make header lines align with the text
14259 (bug#1779).
14260
1bfd59e5
LMI
142612011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14262
14263 * view.el (view-buffer): Allow running in `special' modes if we're
14264 visiting a file (bug#8615).
14265
f5aae37c
MR
142662011-07-19 Martin Rudalics <rudalics@gmx.at>
14267
14268 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14269 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14270 New functions.
f5aae37c
MR
14271 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14272 more accurately.
14273
bf2c1571
AM
142742011-07-18 Alan Mackenzie <acm@muc.de>
14275
14276 Fontify declarators properly when, e.g., a jit-lock chunk begins
14277 inside a declaration.
14278
14279 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14280
b796c9b7
SM
14281 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14282 New function.
bf2c1571
AM
14283 (c-complex-decl-matchers): Insert reference to
14284 c-font-lock-enclosing-decls.
14285
14286 * progmodes/cc-engine.el (c-backward-single-comment):
14287 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14288 to nil around calls to (forward-comment -1).
14289
4e190b80
LMI
142902011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14291
12dc863d
LMI
14292 * image.el (put-image): Doc typo fix.
14293
a762e966
LMI
14294 * progmodes/etags.el (tags-search): Doc typo fix.
14295
4e190b80
LMI
14296 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14297 password if we get errors 550 to 554.
14298
f019fb21
LMI
142992011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14300
b796c9b7 14301 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14302
81746738
LMI
14303 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14304 indentation character (bug#6380).
14305
3ee3a1b5
LMI
14306 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14307
c82f64de
LMI
14308 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14309 to clarify what the problem is (bug#4291).
14310
f019fb21
LMI
14311 * simple.el (current-kill): Clarify what
14312 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14313 (auto-fill-mode): Document `auto-fill-function' in relation to
14314 `auto-fill-mode' (bug#2470).
f019fb21 14315
0794775d
LM
143162011-07-16 Lawrence Mitchell <wence@gmx.li>
14317
14318 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14319 method if slot is read-only (bug#9035).
14320
be39b8cc
MR
143212011-07-16 Martin Rudalics <rudalics@gmx.at>
14322
b796c9b7 14323 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14324 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14325 selected before, see discussion of (Bug#8615), (Bug#6954).
14326 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14327
6ccf7859
GM
143282011-07-15 Glenn Morris <rgm@gnu.org>
14329
14330 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14331 Respect help-form.
6ccf7859 14332
87e86684
LM
143332011-07-09 Lawrence Mitchell <wence@gmx.li>
14334
14335 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14336 (gnutls-negotiate): Use it.
14337
d6066239
LMI
143382011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14339
b796c9b7
SM
14340 * net/gnutls.el (gnutls-negotiate):
14341 Upcase `gnutls-algorithm-priority'.
d6066239 14342
bd23ebc0
GM
143432011-07-15 Glenn Morris <rgm@gnu.org>
14344
c65bca65
GM
14345 * jka-compr.el (jka-compr-verbose): Move from here...
14346 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14347 Add missing :version tag.
14348 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14349
478615cc
LMI
143502011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14351
7b41decb
LMI
14352 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14353 (gnutls-negotiate): Use it.
14354
dbc44fcd
LMI
14355 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14356
06789f97
LMI
14357 * info.el (Info-beginning-of-buffer): New command.
14358 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14359 announcing `b' as the key (bug#8325).
ab896c37 14360 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14361
c39da690
LMI
14362 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14363
3aa5f34b
LMI
14364 * international/mule-cmds.el
14365 (describe-specified-language-support): Make the error message
14366 clearer (bug#8905).
14367
4bf0979f
LMI
14368 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14369
478615cc
LMI
14370 * isearch.el (isearch-barrier): Add a doc string, since it's
14371 mentioned in a function doc string (bug#8678).
14372
75c68aa1
MR
143732011-07-15 Martin Rudalics <rudalics@gmx.at>
14374
14375 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14376 buffer argument (Bug#9083) and self-identifying label argument.
14377
a7c33da2
GM
143782011-07-15 Glenn Morris <rgm@gnu.org>
14379
14380 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14381
2f5c6024
LMI
143822011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14383
14384 * man.el (Man-fontify-manpage): Fix message when formatting the
14385 man page (bug#7929).
14386
0bb23927 143872011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14388
14389 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14390 argument LRM; if non-nil, append an invisible LRM character to the
14391 buffer name.
14392 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14393 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14394 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14395 paragraph direction.
cce4b0a7 14396
621ef9ab
LMI
143972011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14398
d1583c48
LMI
14399 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14400 the man page name (bug#7929).
14401
6a57fb5f
LMI
14402 * image.el (put-image): Mention the `put-image' overlay property
14403 (bug#7834).
14404
d7956b14
LMI
14405 * scroll-bar.el (set-scroll-bar-mode): Mention that
14406 `scroll-bar-mode' lists the values (bug#7772).
14407
5b2d4a66
LMI
14408 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14409 command (bug#7729).
14410
7509a874
LMI
14411 * rect.el (apply-on-rectangle): Return the point after the last
14412 operation.
14413 (string-rectangle): Go to the point after the last operation
14414 (bug#7522).
14415
4fe74b19
LMI
14416 * printing.el (pr-toggle-region): Clarify the documentation
14417 slightly (bug#7493).
14418
b796c9b7
SM
14419 * time.el (display-time-update):
14420 Allow `display-time-mail-function' to return nil (bug#7158).
14421 Fix suggested by Detlev Zundel.
ab283561 14422
fc233c9d
LMI
14423 * vc/diff.el (diff): Clarify the order the file names are read
14424 (bug#7111).
14425
43f5740b
LMI
14426 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14427 the doc string (bug#7015).
14428
f2182a76
LMI
14429 * font-lock.el (font-lock-maximum-decoration): Mention what
14430 numeric levels mean (bug#6935).
14431
621ef9ab
LMI
14432 * startup.el (initial-buffer-choice): Don't mention the `none'
14433 selection, which is against policy.
14434
adc47434
MR
144352011-07-14 Martin Rudalics <rudalics@gmx.at>
14436
b796c9b7
SM
14437 * window.el (display-buffer-normalize-special):
14438 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14439
7e5bfb8f
EZ
144402011-07-14 Eli Zaretskii <eliz@gnu.org>
14441
14442 * subr.el (version<, version<=, version=): Mention "-CVS" and
14443 "-12345" alpha version numbers.
14444
27fa387a
CY
144452011-07-14 Chong Yidong <cyd@stupidchicken.com>
14446
14447 * bindings.el: Add advertised binding for set-mark-command
14448 (Bug#5772).
14449
8bdfa064
CY
144502011-07-14 Chong Yidong <cyd@stupidchicken.com>
14451
14452 * bindings.el (mode-line-other-buffer):
14453 * bookmark.el (bookmark-bmenu-2-window):
14454 * bs.el (bs-cycle-next, bs-cycle-previous):
14455 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14456 switch-to-buffer.
14457
14458 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14459 Delete.
8bdfa064 14460
5eba16a3
JB
144612011-07-14 Juanma Barranquero <lekktu@gmail.com>
14462
14463 * follow.el (follow-debug-message, follow-redisplay):
14464 * jka-cmpr-hook.el (with-auto-compression-mode):
14465 Fix typos in docstrings.
14466
15853710
LMI
144672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14468
a28e4607
LMI
14469 * subr.el (with-silent-modifications): Clarify somewhat what the
14470 macro inhibits (bug#6525).
14471
15853710
LMI
14472 * simple.el (eval-expression): Note what it does if called
14473 interactively (bug#6495).
14474
bee0fcef
CY
144752011-07-13 Chong Yidong <cyd@stupidchicken.com>
14476
b796c9b7
SM
14477 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14478 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14479
14480 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14481 Remove switch-to-buffer.
14482
58274504
LMI
144832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14484
bd2fcc8d
LMI
14485 * files.el (make-directory): Clarify that an error will be raised
14486 if there's an error (bug#6397).
14487
0f04b32c
LMI
14488 * startup.el (initial-buffer-choice): Add `none' as a choice
14489 (bug#6234).
14490
465c5fc8
LMI
14491 * subr.el (add-hook): Clarify section about buffer-local hooks
14492 (bug#6218).
14493
58274504
LMI
14494 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14495
bead9a43
JB
144962011-07-13 Juanma Barranquero <lekktu@gmail.com>
14497
14498 * tabify.el (untabify): Preserve the current column so that point
14499 doesn't move (bug#6032).
14500
3af98a7b
LMI
145012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14502
b796c9b7
SM
14503 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14504 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14505
6240145a
GM
145062011-07-13 Glenn Morris <rgm@gnu.org>
14507
14508 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14509 (dired-insert-directory): Give a message the first time
14510 if ls is found not to support --dired.
14511
1d8c2ccc
LMI
145122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14513
14514 * simple.el (toggle-truncate-lines): Clarify what is toggled
14515 (bug#5580). Text by Drew Adams.
14516
5fc4038e
CY
145172011-07-13 Chong Yidong <cyd@stupidchicken.com>
14518
14519 * simple.el (blink-matching-open): Make the error message from the
14520 last change less verbose.
14521
bf6012e5
DN
145222011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14523
14524 * font-lock.el (font-lock-comment-face): Use the high contrast
14525 "yellow" color for font-lock-comment-face on low color terminals
14526 using a dark background color (bug#4221).
14527
343c3b5a
LMI
145282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14529
7e9505c5
LMI
14530 * dired.el (dired-insert-set-properties): Make the doc string
14531 reflect what it does now (bug#5325).
14532
c26fdcf5
LMI
14533 * simple.el (blink-matching-open): Say that we were unable to find
14534 the match within the limit, if we're limited (bug#5122).
14535
bb388cc5
LMI
14536 * international/mule-cmds.el (prefer-coding-system): Add an
14537 example (bug#4869).
14538
343c3b5a
LMI
14539 * progmodes/etags.el (tags-search): Document `file-list-form'
14540 (bug#4731).
14541
2a517d45
LM
145422011-07-13 Lawrence Mitchell <wence@gmx.li>
14543
14544 * net/browse-url.el (browse-url-default-browser)
14545 (browse-url-browser-function): Make the default browser choice a
14546 bit more logical (bug#4300). Also clean up the doc string.
14547
b6c78ef2
JB
145482011-07-13 Juanma Barranquero <lekktu@gmail.com>
14549
14550 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14551 binary endings (bug#4440).
14552
1c4dd947
LMI
145532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14554
a2014063
LMI
14555 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14556 which can be pretty annoying (bug#8971).
14557
9c9c2d88
LMI
14558 * jka-compr.el (jka-compr-verbose): New variable, and use
14559 throughout (bug#8971).
14560
1c4dd947
LMI
14561 * info.el (Info-find-file): Fall back on the installation
14562 directory if we can't find the info node anywhere else.
14563
a1c9f41b
SO
145642011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14565
14566 * vc/vc.el (vc-revert-file):
14567 Don't set file time-stamp in the past. (Bug#5181)
14568
536f3d36
LMI
145692011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14570
7152b011
LMI
14571 * files.el (after-find-file): Give a better error message when
14572 trying to find a symlink that points to a file that doesn't exist
14573 (bug#4398).
14574
536f3d36
LMI
14575 * progmodes/cc-vars.el: Remove (probably) misleading comment
14576 (bug#4396).
14577
460c0fba
JB
145782011-07-12 Johan Bockgård <bojohan@gnu.org>
14579
14580 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14581
7a6bda45
CY
145822011-07-12 Chong Yidong <cyd@stupidchicken.com>
14583
14584 * mouse-sel.el: Hack restoring functionality, while keeping
14585 compatibility with 2010-07-03 changes to mouse selection.
14586 (mouse-sel-primary-overlay): New var.
14587 (mouse-sel-selection-alist): Use it.
14588 (mouse-sel-mode): Doc fix; remove points that are default features
14589 of mouse.el.
14590
c79598ef
JB
145912011-07-12 Johan Bockgård <bojohan@gnu.org>
14592
14593 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14594 Fix previous fix (bug#2490).
14595
ff8be6ef
RW
145962011-07-12 Roland Winkler <winkler@gnu.org>
14597
b796c9b7
SM
14598 * textmodes/bibtex.el (bibtex-initialize):
14599 Use pop-to-buffer-same-window.
ff8be6ef
RW
14600 (bibtex-search-entries): Fix interactive call.
14601
296ba3ee
LMI
146022011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14603
f5242a02 14604 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14605 Fontise bytecomp Error lines more correctly (bug#2490).
14606 Fix suggested by Johan Bockgård.
f5242a02 14607
296ba3ee
LMI
14608 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14609
14610 * dired-x.el (dired-guess-default): Use `delete-dups'.
14611
f69fd0d2
CY
146122011-07-12 Chong Yidong <cyd@stupidchicken.com>
14613
14614 * dired.el (dired-mark-prompt):
14615 * dired-aux.el (dired-read-shell-command): Doc fix.
14616
eab5dc07
LMI
146172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14618
b796c9b7
SM
14619 * mail/sendmail.el (sendmail-query-once):
14620 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14621 emacs -Q.
14622
14623 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14624
eab5dc07
LMI
14625 * cus-edit.el (custom-file): Take an optional no-error variable.
14626 (customize-save-variable): Set the variable, and give a warning if
14627 running under "emacs -q".
14628
a1e65d42
JB
146292011-07-11 Juanma Barranquero <lekktu@gmail.com>
14630
14631 * loadhist.el (unload-feature-special-hooks):
14632 Add `auto-coding-functions', `fill-nobreak-predicate' and
14633 `find-directory-functions' (bug#5327).
14634
1d52da10
LMI
146352011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14636
be958f1d
LMI
14637 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14638
5bedb26c
LMI
14639 * cus-edit.el (custom-guess-name-alist): -alist variables should
14640 use the `alist' type (bug#3120). Suggested by Drew Adams.
14641
1d52da10
LMI
14642 * printing.el: Add documentation to all the `pr-toggle-' commands.
14643
cd394be1 146442011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14645
14646 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14647 backends where it makes sense (bug#2623).
14648
dcc88d8a
LMI
146492011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14650
c3de9feb
LMI
14651 * dired-x.el (dired-guess-default): Remove duplicate shell command
14652 entries (bug#2028).
8a93078b 14653 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14654 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14655
dcc88d8a
LMI
14656 * subr.el (remove-duplicates): New conveniency function.
14657
505e3645
LMI
146582011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14659
14660 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14661 (bug#1526).
14662
146632011-07-10 Martin Rudalics <rudalics@gmx.at>
14664
14665 * window.el (display-buffer-normalize-default): Don't invert
14666 meaning of even-window-heights. Reported by Eli Zaretskii
14667 <eliz@gnu.org>.
14668
455e4fa1
BR
146692011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14670
14671 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14672
8e0bc3e9
CY
146732011-07-10 Chong Yidong <cyd@stupidchicken.com>
14674
14675 * window.el (display-buffer): Fix arguments to
14676 display-buffer-reuse-window in last change.
14677
fa7c3228
CY
14678 * faces.el (link): Use a less saturated blue on light backgrounds.
14679
14680 * startup.el (fancy-startup-text, fancy-about-text)
14681 (fancy-startup-tail): Use font-lock faces, for background safety.
14682
c0a7f300
BN
146832011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14684
b796c9b7
SM
14685 * emulation/viper-cmd.el (viper-change-state-to-vi):
14686 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14687
4dc2a129
MR
146882011-07-09 Martin Rudalics <rudalics@gmx.at>
14689
14690 * window.el (display-buffer-default-specifiers): Remove.
14691 (display-buffer-macro-specifiers): Remove default specifiers.
14692 (display-buffer-alist): Default to nil.
b796c9b7 14693 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14694 (display-buffer-pop-up-window): Allow splitting internal
14695 windows. Check whether a live window was created.
14696 (display-buffer-other-window-means-other-frame)
14697 (display-buffer-normalize-arguments): Rename to
14698 display-buffer-normalize-argument and rewrite. Set the
14699 other-window specifier.
14700 (display-buffer-normalize-special): New function.
14701 (display-buffer-normalize-options): Rename to
14702 display-buffer-normalize-default and rewrite.
14703 (display-buffer-normalize-options-inhibit): Remove.
14704 (display-buffer-normalize-specifiers): Rewrite.
14705 (display-buffer): Process other-window specifier and call
14706 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14707 more faithfully.
b796c9b7 14708 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14709 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14710 (display-buffer-in-window, display-buffer-alist-set):
14711 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14712 <tassilo@member.fsf.org>.
14713
2d43b8c9
LL
147142011-07-09 Leo Liu <sdl.web@gmail.com>
14715
14716 * register.el (insert-register): Restore accidental change on
14717 2011-06-26. (Bug#9028)
14718
7f9b7c53
GM
147192011-07-09 Glenn Morris <rgm@gnu.org>
14720
14721 * subr.el (remq): Handle the empty list. (Bug#9024)
14722
f042cfd8
AS
147232011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14724
14725 * mail/sendmail.el (send-mail-function): No longer delay custom
14726 initialization.
14727 * custom.el (custom-initialize-delay): Doc fix.
14728
856b2f11
SM
147292011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14730
14731 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14732
afae1d68
MA
147332011-07-08 Michael Albinus <michael.albinus@gmx.de>
14734
14735 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14736 human-friendly prompt.
14737
0757af94
SM
147382011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14739
14740 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14741 provided by a particular plugin.
14742
d760b731
LMI
147432011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14744
14745 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14746 save customizations (with "emacs -Q"), just set the variable
14747 instead of erroring out.
14748
14749 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14750
cd79ce90
JL
147512011-07-08 Juri Linkov <juri@jurta.org>
14752
14753 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14754 (archive-zip-update-case): Use 7z if found by `executable-find'.
14755 The order of searching the available programs is the same as in
14756 `archive-zip-extract' (bug#8968).
14757
14cc04aa
CY
147582011-07-07 Chong Yidong <cyd@stupidchicken.com>
14759
14760 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14761 (menu-bar-options-menu): Tweak descriptions.
14762
0a1848ec
LMI
147632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14764
14765 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14766 menu items into verb phrases (bug#1421). Also refill to fit under
14767 80 columns.
14768
f5bd0689
CY
147692011-07-07 Chong Yidong <cyd@stupidchicken.com>
14770
538e85c6
CY
14771 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14772 (Info-read-node-name): Doc fix (Bug#1084).
14773
f5bd0689
CY
14774 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14775 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14776 (end-of-sexp, beginning-of-sexp)
14777 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14778 (forward-symbol, forward-same-syntax, word-at-point)
14779 (sentence-at-point): Doc fix (Bug#1144).
14780
56ec5115
LMI
147812011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14782
f3f8e37f
LMI
14783 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14784 should cover it (bug#1281).
14785
0757af94 14786 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14787
e9fce1ac 14788 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14789 negotiation fails, then possibly try again with a non-encrypted
14790 connection (bug#9017).
14791
56ec5115
LMI
14792 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14793 be used.
14794
c2f9aec8
RS
147952011-07-07 Richard Stallman <rms@gnu.org>
14796
14797 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14798 property, and handle its changed format.
14799 Look for the correct line number.
14800 Use file's line contents (but not past first =) to find
14801 correct line in message.
14802
ef7b981d 148032011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14804
14805 * international/characters.el (build-unicode-category-table):
14806 Delete it.
0757af94 14807 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14808
0757af94 14809 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14810 to src/chartab.c.
14811 (get-char-code-property): Call unicode-property-table-internal to
14812 load a file. Call get-unicode-property-internal where necessary.
14813 (put-char-code-property): Call unicode-property-table-internal to
14814 load a file. Call put-unicode-property-internal where necessary.
14815 put-unicode-property-internal where necessary.
0757af94
SM
14816 (char-code-property-description):
14817 Call unicode-property-table-internal to load a file.
c805dec0
KH
14818
14819 * international/charprop.el:
14820 * international/uni-bidi.el:
14821 * international/uni-category.el:
14822 * international/uni-combining.el:
14823 * international/uni-comment.el:
14824 * international/uni-decimal.el:
14825 * international/uni-decomposition.el:
14826 * international/uni-digit.el:
14827 * international/uni-lowercase.el:
14828 * international/uni-mirrored.el:
14829 * international/uni-name.el:
14830 * international/uni-numeric.el:
14831 * international/uni-old-name.el:
14832 * international/uni-titlecase.el:
14833 * international/uni-uppercase.el: Regenerate.
14834
14835 * loadup.el: Load international/charprop.el before
14836 international/characters.
14837
e14b388a
CY
148382011-07-07 Chong Yidong <cyd@stupidchicken.com>
14839
14840 * window.el (next-buffer, previous-buffer): Signal an error if
14841 called from a minibuffer window.
14842
14843 * bindings.el: Revert 2011-07-04 change.
14844
354cf0ba
RS
148452011-07-06 Richard Stallman <rms@gnu.org>
14846
14847 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14848 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14849 Treat markers like ints.
14850 (rmail-mime-entity): Doc fix.
14851
a48868a7
LMI
148522011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14853
4906cd3d
LMI
14854 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14855 defcustom again for backwards compatibility.
14856
e0457abe
LMI
14857 * simple.el (shell-command-on-region): Fill.
14858
d67f7e1f
LMI
14859 * dired-aux.el (dired-kill-line): Add a doc string.
14860
fe204702
LMI
14861 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14862 to "\\sw\\|\\s_" (bug#358).
14863
a48868a7
LMI
14864 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14865 (dired-unmark-backward): Ditto.
14866 (dired-flag-backup-files): Ditto.
14867
14868 * dired-x.el (dired-mark-sexp): Ditto.
14869
aa8a705c
RS
148702011-07-06 Richard Stallman <rms@gnu.org>
14871
14872 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14873 (rmail-mime-entity): New arg TRUNCATED.
14874 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14875 New functions.
14876 (rmail-mime-save): Warn if entity is truncated.
14877 (rmail-mime-toggle-hidden): Likewise, for showing.
14878 (rmail-mime-process-multipart): Record when an entity is truncated.
14879
a9a936b9
RS
14880 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14881 if ENTITY is a string.
14882
1f2b92cb
LMI
148832011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14884
f4f73198 14885 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14886 of faces when `M-C-x'-ing their definitions (bug#8378).
14887 Also clean up the code slightly.
f4f73198 14888
12b16734 14889 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14890 because that makes the colors go away.
12b16734 14891
f0691d22
LMI
14892 * mail/sendmail.el (send-mail-function): Change the default to
14893 `sendmail-query-once'.
9e87df06 14894 (sendmail-query-once): Add an autoload cookie.
f0691d22 14895
1f2b92cb
LMI
14896 * net/network-stream.el (network-stream-open-starttls): Try using
14897 a plain connection even if the server offered STARTTLS, and we
14898 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14899 capability. This should make smtpmail.el work in slightly more
14900 configurations.
14901
1cdd2a1b
MA
149022011-07-06 Michael Albinus <michael.albinus@gmx.de>
14903
14904 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14905 New defun.
14906 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14907
fbcc67e2
MM
149082011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14909
14910 * progmodes/sql.el: Version 3.0
0757af94 14911 (sql-product-alist): Add product :completion-object,
fbcc67e2 14912 :completion-column, and :statement attributes.
0757af94 14913 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14914 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14915 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14916 ansi keywords.
14917 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14918 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14919 (sql-oracle-show-reserved-words): New function for development.
14920 (sql-product-font-lock): Simplify for source code buffers.
14921 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14922 New functions.
14923 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14924 (sql-mode-map): Add statement movement functions.
14925 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14926 New variable.
fbcc67e2
MM
14927 (sql-statement-regexp, sql-beginning-of-statement)
14928 (sql-end-of-statement, sql-signum): New functions.
0757af94 14929 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14930 (sql-show-sqli-buffer): Bug fix.
14931 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14932 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14933 with sql-interactive-mode.
14934 (sql-save-connection): Save buffer local settings.
0757af94 14935 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14936 (sql-product-interactive): Bug fix.
14937 (sql-preoutput-hold): New variable.
14938 (sql-interactive-remove-continuation-prompt): Bug fixes.
14939 (sql-debug-redirect): New variable.
14940 (sql-str-literal): New function.
14941 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14942 Redesign.
fbcc67e2
MM
14943 (sql-oracle-save-settings, sql-oracle-restore-settings)
14944 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14945 (sql-completion-object, sql-completion-column)
14946 (sql-completion-sqlbuf): New variables.
14947 (sql-build-completions-1, sql-build-completions)
14948 (sql-try-completion): New functions.
14949 (sql-read-table-name): Use them.
14950 (sql-contains-names): New buffer local variable.
14951 (sql-list-all, sql-list-table): Use it.
14952 (sql-oracle-completion-types): New variable.
14953 (sql-oracle-completion-object, sql-sqlite-completion-object)
14954 (sql-postgres-completion-object): New functions.
14955
d4eaeab1
GM
149562011-07-06 Glenn Morris <rgm@gnu.org>
14957
14958 * window.el (pop-to-buffer): Doc fix.
14959
322b7dab 149602011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14961
14962 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14963
322b7dab 149642011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14965
322b7dab 14966 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14967
322b7dab 14968 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14969
605dd5bf
CY
149702011-07-05 Chong Yidong <cyd@stupidchicken.com>
14971
14972 * button.el (button): Inherit from link face. Suggested by Dan
14973 Nicolaescu.
14974
7dbfa719
SM
149752011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14976
3db614b0
SM
14977 * progmodes/gdb-mi.el: Fit in 80 columns.
14978 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14979 switch-to-buffer.
14980
7dbfa719
SM
14981 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14982 if imenu is simply not configured (bug#8941).
14983
919d884a
KM
149842011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14985
14986 * allout.el (allout-post-undo-hook): New allout outline-change
14987 event hook to signal undo activity.
14988 (allout-post-command-business): Run allout-post-undo-hook if an
14989 undo just occurred.
7dbfa719
SM
14990 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14991 * allout-widgets.el (allout-widgets-after-undo-function):
14992 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14993 in the vicinity of an undo.
14994 (allout-widgets-mode): Include allout-widgets-after-undo-function
14995 on the new allout-post-undo-hook.
14996
450a0f09
SM
149972011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14998
14999 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15000 Let define-derived-mode define it.
15001 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15002 cycles of abbrev-table inheritance (bug#8998).
15003
2de69e00
RW
150042011-07-05 Roland Winkler <winkler@gnu.org>
15005
15006 * textmodes/bibtex.el: Add support for biblatex.
15007 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15008 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15009 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15010 (bibtex-entry-alist, bibtex-field-alist): New variables.
15011 (bibtex-entry-field-alist): Obsolete alias for
15012 bibtex-BibTeX-entry-alist.
15013 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15014 (bibtex-set-dialect): New command.
15015 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15016 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15017 Bind via bibtex-set-dialect.
2de69e00
RW
15018 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15019 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15020 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15021 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15022 Define via bibtex-set-dialect.
450a0f09
SM
15023 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15024 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15025 (bibtex-vec-push, bibtex-vec-incr): New functions.
15026 (bibtex-format-entry, bibtex-field-list)
15027 (bibtex-print-help-message, bibtex-validate)
15028 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15029
2dcdbdd9
SM
150302011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15031
15032 * progmodes/compile.el (compilation-goto-locus):
15033 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15034 * bs.el (bs-cycle-next, bs-cycle-previous):
15035 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15036 * bindings.el (mode-line-other-buffer):
15037 * autoinsert.el (auto-insert):
15038 * arc-mode.el (archive-extract):
15039 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15040
b27640fe
JB
150412011-07-05 Juanma Barranquero <lekktu@gmail.com>
15042
15043 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15044 Fix check of `emacs-lock-unlockable-modes'.
15045 Coerce true values of `emacs-lock--try-unlocking' to t.
15046
53bbe3ad
JB
150472011-07-05 Juanma Barranquero <lekktu@gmail.com>
15048
15049 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15050 * emacs-lock.el: New file.
15051
1d3cdbc7
JD
150522011-07-05 Julien Danjou <julien@danjou.info>
15053
15054 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15055 than `boundp' to check if face is set.
15056
9173deec
JB
150572011-07-05 Juanma Barranquero <lekktu@gmail.com>
15058
15059 * register.el (registerv-make):
15060 * window.el (window-min-height): Fix typos in docstrings.
15061
869795d6
JD
150622011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15063
9173deec 15064 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15065 Update doc string.
15066
b768cdcd
JB
150672011-07-04 Juanma Barranquero <lekktu@gmail.com>
15068
15069 * server.el (server-execute): Catch quit and call
15070 `server-return-error' to pass the error back to emacsclient and
15071 close the connection (bug#8942).
15072
13aa217b
KM
150732011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15074
15075 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15076 insecure exception for current topic. Also note that auto-saves
15077 are handled differently.
15078
5d3385a0 15079 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15080 State variables for tracking auto-save inhibition situation.
15081
15082 (allout-write-contents-hook-handler): Rename from
15083 'allout-write-file-hook-handler', and describe how it depends on
15084 write-contents-functions sensitivity to non-nil value to prevent
15085 file write.
15086
15087 (allout-auto-save-hook-handler): Remove. auto-save does not check
15088 this in individual buffers, only in the starting buffer, so this
15089 is not the right way for us to inhibit auto-save in a buffer
15090 according to its condition.
15091
15092 (allout-mode): Use new allout-write-contents-hook-handler, and
15093 only with write-contents-functions. Remove auto-save provisions -
15094 they're implemented elsewhere.
15095
15096 (allout-before-change-handler): If undo is in progress, note that
15097 for attention of allout-post-command-business.
15098
15099 (allout-post-command-business): If the command we're following was
15100 an undo, check for change in the status of encrypted items and
15101 adjust auto-save inhibitions accordingly.
15102
15103 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15104 according to whether there are or aren't any plain-text topics
15105 pending encryption.
15106
2dcdbdd9 15107 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15108 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15109 if there are plain-text topics pending encryption.
13aa217b
KM
15110
15111 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15112 buffer-saved-size and some allout state to not inhibit auto-saves
15113 if there are no longer any plain-text topics pending encryption.
15114
0757af94
SM
15115 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15116 No longer provide for exemption of the current topic.
13aa217b 15117
ac89b32c
JL
151182011-07-04 Juri Linkov <juri@jurta.org>
15119
15120 Add 7z operations to delete and save changed members (bug#8968).
15121 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15122 New defcustoms.
15123 (archive-7z-write-file-member): New function.
15124 (archive-7z-summarize): Fix the number of dashes in the
15125 listing output.
15126
8fa39615
SM
151272011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15128
15129 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15130 (bug#8958).
15131
2f11b3f1
CY
151322011-07-04 Chong Yidong <cyd@stupidchicken.com>
15133
d66fef2b
CY
15134 * bindings.el: Ignore next-buffer and previous-buffer in
15135 minibuffer-local-map.
15136
2f11b3f1
CY
15137 * font-lock.el (font-lock-builtin-face): Change light background
15138 color to dark slate blue (Bug#6693).
15139
f932a347
WD
151402011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15141
15142 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15143
c8af70e1
SM
151442011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15145
15146 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15147 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15148 Add switch-to-buffer.
15149
f158badc
LMI
151502011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15151
15152 * isearch.el (isearch-search-fun-function): Clarify further the
15153 meaning of the function returned.
15154
6d95bd46
MA
151552011-07-04 Michael Albinus <michael.albinus@gmx.de>
15156
15157 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15158
15159 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15160 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15161 Use it.
15162 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15163 `tramp-default-remote-path' does not exist.
15164 (tramp-send-command-and-read): New optional argument NOERROR.
15165 (tramp-open-connection-setup-interactive-shell)
15166 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15167 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15168 (tramp-process-sentinel): Flush also process' connection property.
15169 (tramp-sh-handle-start-file-process): Do not set process
15170 sentinel. It is done now ...
15171 (tramp-maybe-open-connection): ... here. (Bug#8929)
15172
909e6b67
MK
151732011-07-04 MON KEY <monkey@sandpframing.com>
15174
15175 * play/animate.el (animate-string): Doc fixes and allow changing
15176 the buffer name (bug#5417).
15177
151782011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15179
c8af70e1 15180 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15181
f34755dc
PE
151822011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15183
396cec72
PE
15184 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15185 This is simpler and helps future-proof the code.
15186 (timer-until): Use time-subtract and float-time.
08235028 15187 (timer--time-less-p): Use time-less-p.
f34755dc 15188
56e6cc31
JB
151892011-07-04 Juanma Barranquero <lekktu@gmail.com>
15190
3abb79e5
JB
15191 * type-break.el (timep): Use the value of `float-time' to avoid a
15192 byte-compiler warning.
15193
56e6cc31
JB
15194 * server.el (server-eval-and-print): Return any result, even nil.
15195
7b9430b4
PE
151962011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15197
15198 * type-break.el: Accept time formats that the builtins accept.
15199 (timep, type-break-time-difference): Accept any format that
15200 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15201 This is simpler and helps future-proof the code.
15202 (type-break-time-difference): Round rather than ignoring
15203 subseconds components.
15204
3034e9e7
LMI
152052011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15206
15207 * info.el (Info-apropos-matches): Make non-interactive, since it
15208 doesn't seem to do anything useful as a command (bug#8829).
15209
1485f4c0
CY
152102011-07-03 Chong Yidong <cyd@stupidchicken.com>
15211
15212 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15213 Move from faces.el.
1485f4c0
CY
15214 (frame-default-terminal-background): New function.
15215
15216 * custom.el (custom-push-theme): Don't record faces in `changed'
15217 theme; this doesn't work correctly for per-frame face settings.
15218 (disable-theme): Use face-set-after-frame-default to reset faces.
15219 (custom--frame-color-default): New function.
15220
9fa3dd45
LMI
152212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15222
c8af70e1 15223 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15224 (bug#8769).
15225
6cbbc20c
KR
152262011-03-29 Kevin Ryde <user42@zip.com.au>
15227
15228 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15229 `perl-Test2' extend to match possible "fail #N" rep count
15230 (bug#8377).
15231
c7f98048
LMI
152322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15233
65676592
LMI
15234 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15235 `smtpmail-via-smtp' now returns the error instead of nil.
15236
c7f98048
LMI
15237 * isearch.el (isearch-search-fun-function): Clarify the doc string
15238 (bug#8101).
15239
56e6cc31 152402011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15241
15242 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15243 unnecessary spaces (bug#8987).
15244
2b216704
LMI
152452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15246
15247 * net/network-stream.el (open-network-stream): Use the
15248 :end-of-capability command thoughout.
15249
152502011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15251
15252 * net/network-stream.el (open-network-stream): Add the
15253 :end-of-capability command parameter, used by pop3.el.
15254
36adf6ce
LMI
152552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15256
1ca0da0e
LMI
15257 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15258
fc00f69c
LMI
15259 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15260 for list)" (bug#6475).
15261
28fd8759 15262 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15263 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15264 an error (bug#6297).
15265
0dd8b6da
LMI
15266 * man.el (Man-reference-regexp): Allow matching possible
15267 word-wrapped references (bug#6289).
15268
ce1438d6
LMI
15269 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15270 for consistency with the other vc buffers (bug#6197).
15271 (vc-checkin): Ditto.
15272
15273 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15274
36adf6ce
LMI
15275 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15276
e83cc1f7
LMI
152772011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15278
8a20ca4c
LMI
15279 * custom.el (defcustom): Clarify that :set is only used in the
15280 Customize user interface (bug#6089).
15281
83319045
LMI
15282 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15283 associated with a file, refuse to run instead of erroring out
15284 (bug#6084).
15285
a8392169
LMI
15286 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15287 the doc string, since it appears that using `fill-column' always
15288 controls the width (bug#7845).
15289
e83cc1f7
LMI
15290 * simple.el (shell-command-on-region): Say where the error output
15291 went if `shell-command-default-error-buffer' is set (bug#6857).
15292
e47ca23b
KM
152932011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15294
15295 * allout.el (allout-yank-processing): Adjust cursor position for
15296 backwards-deleted space.
15297
15298 (allout-rebullet-heading): Register changes with
15299 allout-exposure-changed-hook, so the modified topic is properly
15300 decorated.
15301
5cf56143
LMI
153022011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15303
08549772
LMI
15304 * minibuffer.el (completion-in-region): Document PREDICATE
15305 (bug#7136).
15306
48e96771
LMI
15307 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15308 of keyword/argument pairs (bug#6904).
15309
c8af70e1
SM
15310 * replace.el (multi-occur):
15311 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15312
e17d05e2
LMI
153132011-07-02 Drew Adams <drew.adams@oracle.com>
15314
15315 * dired.el (dired-mark-if): Make the message about whether it's
15316 marking or unmarking clearer (bug#8523).
15317
063b0e45
LMI
153182011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15319
15320 * disp-table.el (display-table-print-array): New function.
15321 (describe-display-table): Use it to print the vectors more pretty
15322 (Bug#8859).
15323
28545e04
MR
153242011-07-02 Martin Rudalics <rudalics@gmx.at>
15325
15326 * window.el (window-state-get-1): Don't assign clone numbers.
15327 Add clone-of item to list of window parameters.
15328 (window-state-put-2): Don't process clone numbers.
15329 (display-buffer-alist): Fix doc-string.
15330
3349e122
SM
153312011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15332
15333 * subr.el (remq): Don't allocate if it's not needed.
15334 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15335 (keymap--merge-bindings): New functions.
15336 (keymap-canonicalize): Use them to refine the canonicalization.
15337 * minibuffer.el (minibuffer-local-completion-map)
15338 (minibuffer-local-must-match-map): Move initialization from C.
15339 (minibuffer-local-filename-completion-map): Move initialization from C;
15340 don't inherit from anything here.
15341 (minibuffer-local-filename-must-match-map): Make obsolete.
15342 (completing-read-default): Use make-composed-keymap to combine
15343 minibuffer-local-filename-completion-map with either
15344 minibuffer-local-must-match-map or
15345 minibuffer-local-filename-completion-map.
15346
d224ac83
GM
153472011-07-01 Glenn Morris <rgm@gnu.org>
15348
3de63bf8
GM
15349 * type-break.el (type-break-time-sum): Use dolist.
15350
d224ac83
GM
15351 * textmodes/flyspell.el (flyspell-word-search-backward):
15352 Replace CL function.
15353
1a1e3f32
SM
153542011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15355
fe3f64d5
SM
15356 * mouse.el (mouse--strip-first-event): New function.
15357 (function-key-map): Use it to map fringe clicks to normal clicks
15358 by default.
15359
eb604e34
SM
15360 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15361 (vc-bzr-revision-completion-table): Add support for annotate and date.
15362
1a1e3f32
SM
15363 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15364 inherit from parent.
15365
5bd35902
LMI
153662011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15367
ace6c69c 15368 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15369 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15370
191e2bed
LMI
15371 * dired.el (dired-mode): Fix up the doc string as suggested by
15372 Drew Adams (bug#8817).
15373
5bd35902
LMI
15374 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15375 cookie, since the manual says that it should be possible to add
15376 this function to `find-file-hook' (bug#8709).
15377
eee8207a
TZ
153782011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15379
15380 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15381 here. Noted Ted Zlatanov as the maintainer.
15382 (cfengine-common-settings, cfengine-common-syntax): New functions
15383 to set up common things between `cfengine-mode' and
15384 `cfengine3-mode'.
15385 (cfengine3-mode): New mode.
15386 (cfengine3-defuns cfengine3-defuns-regex
15387 (cfengine3-class-selector-regex cfengine3-category-regex)
15388 (cfengine3-vartypes cfengine3-font-lock-keywords)
15389 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15390 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15391
36b148cf
MA
153922011-07-01 Michael Albinus <michael.albinus@gmx.de>
15393
15394 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15395
15396 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15397
0bf4ba9a
MR
153982011-07-01 Martin Rudalics <rudalics@gmx.at>
15399
15400 * window.el (same-window-buffer-names, same-window-regexps)
15401 (same-window-p, special-display-frame-alist)
15402 (special-display-popup-frame, special-display-function)
15403 (special-display-buffer-names, special-display-regexps)
15404 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15405 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15406 (split-window-preferred-function, split-height-threshold)
15407 (split-width-threshold, even-window-heights)
15408 (display-buffer-mark-dedicated, window-splittable-p)
15409 (split-window-sensibly, window-safely-shrinkable-p):
15410 Un-obsolete.
15411 (display-buffer): Don't spread args with function specifier
15412 because special-display-popup-frame won't like it.
15413
35837f51
PE
154142011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15415
d0672f86
PE
15416 Time-stamp simplifications and fixes.
15417 These improve accuracy slightly, and future-proof the code
15418 against some potential changes to current-time format.
15419
b9444d97
PE
15420 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15421 by using time-since and float-time.
15422
0ef923dc
PE
15423 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15424 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15425 + NNN microseconds".
15426
2f81380d
PE
15427 * type-break.el (type-break-time-sum): Rewrite using time-add.
15428
845b5c3e
PE
15429 * play/hanoi.el (hanoi-current-time-float): Remove.
15430 All uses replaced by float-time.
15431
ee6f1be0
PE
15432 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15433 This yields a more-accurate answer.
15434 (rng-time-to-float): Remove; no longer needed.
15435
fe955043
PE
15436 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15437
5777162a
PE
15438 * calendar/timeclock.el (timeclock-seconds-to-time):
15439 Defalias to seconds-to-time, since they're the same thing.
15440
3103f8b6 15441 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15442 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15443 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15444
0e61a35f
SM
154452011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15446
15447 * window.el (bury-buffer): Don't iconify the only frame.
15448 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15449 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15450
ddd63a1e
CY
154512011-07-01 Chong Yidong <cyd@stupidchicken.com>
15452
0e61a35f
SM
15453 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15454 Add mouse-yank-primary.
ddd63a1e 15455
055f4923
TZ
154562011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15457
15458 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15459
6a2fb145
SM
154602011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15461
15462 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15463 (find-library-name): Use it to find relative load names when provided
15464 absolute file name (bug#8803).
15465
fd4983f2
LMI
154662011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15467
887d14ad
LMI
15468 * textmodes/flyspell.el (flyspell-word): Consider words that
15469 differ only in case as potential doublons (bug#5687).
15470
c53dc7fc
LMI
15471 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15472 Remove two rather uninteresting debugging-like messages to make
15473 debbugs.el more silent.
15474
fd4983f2
LMI
15475 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15476 a password-like phrase.
15477
7a71b18d 154782011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15479
15480 * progmodes/cc-guess.el: New file.
15481
6a2fb145 15482 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15483
15484 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15485 derived from `c-basic-common-init'.
15486
15487 * progmodes/cc-mode.el (top-level): Require cc-guess.
15488 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15489
1fa280a3
LM
154902011-06-30 Lawrence Mitchell <wence@gmx.li>
15491
15492 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15493
e6597158
AM
154942011-06-30 Alan Mackenzie <acm@muc.de>
15495
1fa280a3
LM
15496 * progmodes/cc-engine.el (c-guess-continued-construct):
15497 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15498 lock is disabled. Name this case as "CASE G".
15499
68ba37fb
KM
155002011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15501
15502 * allout.el (allout-yank-processing): Fix injection of extra space
15503 between bullet and non-whitespace character in first topic when
15504 pasting, ensuring that the actual spacing in the pasted topic
15505 following the bullet char is preserved. This extra space was
15506 causing pasted encrypted topics to get a decrypted status even
15507 when the content was actually still encrypted. Now the decryption
15508 status from before the paste is preserved.
15509
15510 (allout-flag-region): Set all allout overlays so they evaporate
15511 when reduced to zero length (evanescent), to prevent overlay
15512 leakage.
15513
887a0b34
GM
155142011-06-30 Glenn Morris <rgm@gnu.org>
15515
94b9acce
GM
15516 * w32-fns.el (w32-charset-info-alist): Declare.
15517
1d9b46d4
GM
15518 * find-dired.el (find-grep-options): Simplify.
15519
cc232200
GM
15520 * term/ns-win.el (ns-set-resource): Declare.
15521
28e77c46
GM
15522 * ses.el (row, col): Declare dynamic variables honestly.
15523
887a0b34
GM
15524 * textmodes/reftex-parse.el (index-tags): Declare.
15525
658d8eb8
CY
155262011-06-30 Chong Yidong <cyd@stupidchicken.com>
15527
15528 * cus-edit.el (customize-push-and-save): New function.
15529
15530 * files.el (hack-local-variables-confirm): Use it.
15531
1fa280a3
LM
15532 * custom.el (load-theme): New arg NO-CONFIRM.
15533 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15534 (custom-enabled-themes): Doc fix.
15535
15536 * cus-theme.el (customize-create-theme)
15537 (custom-theme-merge-theme): Callers to load-theme changed.
15538
bb617717
LMI
155392011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15540
d61bdd5d
LMI
15541 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15542 short URLs have at least one dot in them (bug #7614).
15543
bb617717
LMI
15544 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15545 nil, because using a pty is apparently too slow (bug #895).
15546
2f31f37a
LMI
155472011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15548
15549 * mail/sendmail.el (sendmail-query-once): New function.
15550 (sendmail-query-once-function): New variable.
15551
3076b24e
GM
155522011-06-29 Glenn Morris <rgm@gnu.org>
15553
faf2a174
GM
15554 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15555
3076b24e
GM
15556 * ses.el (top-level): Require cl when compiling.
15557 (ses-set-localvars): Fix error statement.
15558 Call it at compile time to silence a storm of warnings.
15559
5386012d
MR
155602011-06-29 Martin Rudalics <rudalics@gmx.at>
15561
15562 * window.el (normalize-live-buffer): Rename to
15563 window-normalize-buffer.
15564 (normalize-live-frame): Rename to window-normalize-frame.
15565 (normalize-any-window): Rename to window-normalize-any-window.
15566 (normalize-live-window): Rename to window-normalize-live-window.
15567 (make-window-atom): Rename to window-make-atom.
15568 (window-resize-reset): Rename to window--resize-reset.
15569 (window-resize-reset-1): Rename to window--resize-reset-1.
15570 (resize-mini-window): Rename to window--resize-mini-window.
15571 (resize-subwindows-skip-p): Rename to
15572 window--resize-subwindows-skip-p.
15573 (resize-subwindows-normal): Rename to
15574 window--resize-subwindows-normal.
15575 (resize-subwindows): Rename to window--resize-subwindows.
15576 (resize-other-windows): Rename to window--resize-siblings.
15577 (resize-this-window): Rename to window--resize-this-window.
15578 (resize-root-window): Rename to window--resize-root-window.
15579 (resize-root-window-vertically): Rename to
15580 window--resize-root-window-vertically.
15581 (normalize-buffer-to-display): Rename to
15582 window-normalize-buffer-to-display.
15583 (normalize-buffer-to-switch-to): Rename to
15584 window-normalize-buffer-to-switch-to.
15585 Correspondingly update all callers of the functions listed
15586 above.
15587 (display-buffer-alist, display-buffer-normalize-arguments)
15588 (display-buffer-normalize-options, display-buffer)
15589 (display-buffer-alist-set): Use "function" instead of
15590 "fun-with-args".
15591
1176868d
CY
155922011-06-28 Chong Yidong <cyd@stupidchicken.com>
15593
15594 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15595 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15596 debbugs.gnu.org. Mention acknowledgment email.
15597
20a7a65f
LMI
155982011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15599
15600 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15601 buffer multibyteness, since it shouldn't matter.
15602
5f45cca5
MR
156032011-06-28 Martin Rudalics <rudalics@gmx.at>
15604
15605 * window.el (display-buffer-in-side-window): Handle dedicated
15606 windows as in display-buffer-reuse-window.
15607 (display-buffer-normalize-alist): Use value of override
15608 specifier.
15609 (display-buffer-normalize-specifiers): Use value of
15610 other-window-means-other-frame specifier.
15611 (display-buffer-alist): Rewrite some texts in widgets.
15612 (display-buffer): Spread arguments when calling function
15613 specified by fun-with-args.
15614
ad85fe1f
DD
156152011-06-28 Deniz Dogan <deniz@dogan.se>
15616
1fa280a3
LM
15617 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15618 Unnest `let'.
da68c4c8 15619
ad85fe1f
DD
15620 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15621 selectors (Bug#5732).
ec49bd31 15622 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15623
a08cc025
JA
156242011-06-27 Jari Aalto <jari.aalto@cante.net>
15625
15626 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15627 (eshell-ls-date-format): New defcustom.
15628 (eshell-ls-file): Use it.
15629
e2b551c5
SM
156302011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15631
15632 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15633
8982b231
KY
156342011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15635
15636 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15637 (ange-ftp-make-tmp-name): New arg.
15638 (ange-ftp-file-local-copy): Use it.
15639
36c9fa27
J
156402011-06-27 Jambunathan K <kjambunathan@gmail.com>
15641
15642 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15643 no-conversion (Bug#8870).
15644
d68443dc
MR
156452011-06-27 Martin Rudalics <rudalics@gmx.at>
15646
15647 * window.el (window-right, window-left, window-child)
15648 (window-child-count, window-last-child)
15649 (window-iso-combination-p, walk-window-tree-1)
15650 (window-atom-check-1, window-tree-1, delete-window)
15651 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15652 new naming conventions - window-vchild, window-hchild,
15653 window-next and window-prev are now called window-top-child,
15654 window-left-child, window-next-sibling and window-prev-sibling
15655 respectively.
d615d6d2
MR
15656 (resize-window-reset): Rename to window-resize-reset.
15657 (resize-window-reset-1): Rename to window-resize-reset-1.
15658 (resize-window): Rename to window-resize.
15659 (window-min-height, window-min-width)
15660 (resize-mini-window, resize-this-window, resize-root-window)
15661 (resize-root-window-vertically, adjust-window-trailing-edge)
15662 (enlarge-window, shrink-window, maximize-window)
15663 (minimize-window, delete-window, quit-restore-window)
15664 (split-window, balance-windows, balance-windows-area-adjust)
15665 (balance-windows-area, window-state-put-2)
15666 (display-buffer-even-window-sizes, display-buffer-set-height)
15667 (display-buffer-set-width, set-window-text-height)
15668 (fit-window-to-buffer): Rename all "resize-window" prefixed
15669 calls to use the "window-resize" prefix convention.
15670 (display-buffer-alist): Fix symbol for label specifier.
15671 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15672 corresponding specifier.
15673 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15674
b6458526
VB
156752011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15676
15677 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15678 convention.
15679 (ses-call-printer): Does not pass an empty string to formatter when the
15680 cell is empty to keep from barking printer Calc math-format-value.
15681
d31fd9ac
RS
156822011-06-27 Richard Stallman <rms@gnu.org>
15683
43d5bf84
RS
15684 * battery.el (battery-mode-line-limit): New variable.
15685 (battery-update): Handle it.
15686
d31fd9ac
RS
15687 * mail/rmailmm.el (rmail-mime-process-multipart):
15688 Handle truncated messages.
15689
819a6054
GM
156902011-06-27 Glenn Morris <rgm@gnu.org>
15691
15692 * progmodes/flymake.el (flymake-err-line-patterns):
15693 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15694
cedc73f2
VB
156952011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15696
819a6054 15697 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15698 (ses--clean-!, ses--clean-_): New functions.
15699 (ses-range): Add configurability of readout order, and conversion
15700 to Calc vector.
15701
5e5d49b6
VB
15702 * ses.el (ses-repair-cell-reference-all): New function.
15703 (ses-cell-symbol): Set macro as safe, so that it can be used in
15704 formulas.
15705
56e6cc31 15706 * ses.el: Update cycle detection algorithm.
90ca8b49 15707 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15708 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15709 (ses-set-localvars): New function.
15710 (ses-make-cell): Add property-list as a cell element.
15711 (ses-cell-property-get-fun, ses-cell-property-get)
15712 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15713 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15714 New functions.
90ca8b49
VB
15715 (ses-cell-property-set, ses-cell-property-pop)
15716 (ses-cell-property-get-handle): New macro.
15717 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15718 New aliases, used for code readability.
15719 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15720 cycle detection.
15721 (ses-self-reference-early-detection): New defcustom.
fac916bf 15722 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15723 (ses-mode): Use ses-set-localvars.
15724 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15725 before lauching the update processing.
15726 (ses-initialize-Dijkstra-attempt): New function.
15727 (ses-recalculate-cell): Update for cycle detection based on
15728 Dijkstra algorithm.
15729
2bb63e81
VB
15730 * ses.el: Fix commenting and indenting convention.
15731
c9d29fb8
SM
157322011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15733
15734 * bs.el (bs-cycle-next): Complete last change.
15735
d8e4b68b
JB
157362011-06-27 Drew Adams <drew.adams@oracle.com>
15737
15738 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15739
40098786
LMI
157402011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15741
c9d29fb8
SM
15742 * net/network-stream.el (network-stream-open-starttls):
15743 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15744 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15745
40098786
LMI
15746 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15747 to binary to possibly avoid line encoding issues on Windows (among
15748 other things).
15749
468d09d4
LMI
157502011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15751
15752 * net/network-stream.el (open-network-stream): Return an :error
15753 saying what the problem was, if possible.
15754
15755 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15756 server.
15757
15758 * net/network-stream.el (network-stream-open-starttls): If we
15759 wanted to use STARTTLS, and the server offered it, but we weren't
15760 able to because we had no STARTTLS support, then close the connection.
15761 (open-network-stream): Return an :error element, if present.
15762
16f07dd7
CY
157632011-06-26 Chong Yidong <cyd@stupidchicken.com>
15764
88821ca0
CY
15765 * hl-line.el (hl-line-sticky-flag): Doc fix.
15766 (global-hl-line-sticky-flag): New option (Bug#8323).
15767 (global-hl-line-highlight): Obey it.
15768
16f07dd7
CY
15769 * vc/vc.el (vc-revert-show-diff): Default to t.
15770
6b5ccddf
KM
157712011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15772
c9d29fb8
SM
15773 * allout-widgets.el (allout-widgets-post-command-business):
15774 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15775 undecorated when an isearch is continued past, and isearch
15776 automatically collapses them. This leads to "widget leaks", where
15777 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15778 hidden widgets can slow down cursor travel, substantially.
15779 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15780 so we're doing without this nicety.
15781
15782 (allout-widgets-tally-string): Don't try to do a hash-table-count
15783 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15784 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15785 *Messages* when allout-widgets-maintain-tally is t.
15786
355f2e07
MR
157872011-06-26 Martin Rudalics <rudalics@gmx.at>
15788
15789 * window.el (display-buffer-normalize-argument): Rename to
15790 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15791 LABEL argument. Respect special-display-function when popping up
15792 a new frame. Fix code searching for a window showing the buffer
15793 on another frame.
c9d29fb8
SM
15794 (display-buffer-normalize-specifiers):
15795 Call display-buffer-normalize-arguments.
355f2e07
MR
15796 (display-buffer-in-window): Don't undedicate the window if its
15797 buffer remains the same.
15798 Reported by Drew Adams <drew.adams@oracle.com>.
15799 (display-buffer-alist): Add choice for same-window macro
15800 specfier.
15801 (display-buffer): Mention special meaning of LABEL argument in
15802 doc-string. Fix quoting. Don't pop up a new frame even as
15803 fallback.
15804
7ca8fc42
JB
158052011-06-26 Juanma Barranquero <lekktu@gmail.com>
15806
15807 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15808 avoid deleting the current window in some cases (bug#8911).
15809
bc312254
AS
158102011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15811
15812 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15813 (Bug#8934)
15814
2db18f3f
LMI
158152011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15816
c9d29fb8
SM
15817 * net/network-stream.el (network-stream-open-starttls):
15818 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15819 (network-stream-open-tls): Ditto.
15820
6302e0d3
LL
158212011-06-26 Leo Liu <sdl.web@gmail.com>
15822
15823 * register.el (registerv): New struct.
15824 (registerv-make): New function.
c9d29fb8
SM
15825 (jump-to-register, describe-register-1, insert-register):
15826 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15827 struct. (Bug#8415)
15828
5fdd4046
CY
158292011-06-26 Chong Yidong <cyd@stupidchicken.com>
15830
2afef60a
CY
15831 * vc/vc.el (vc-revert-show-diff): New defcustom.
15832 (vc-diff-internal): New arg specifying diff buffer.
15833 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15834 reuse an existing *vc-diff* buffer (Bug#8927).
15835
5fdd4046
CY
15836 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15837
e93db24a
GM
158382011-06-26 Glenn Morris <rgm@gnu.org>
15839
15840 * progmodes/f90.el (f90-critical-indent): New option.
15841 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15842 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15843 (f90-mode): Doc fix.
15844 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15845 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15846 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15847 (f90-match-end): Handle block, critical.
15848
eefff499
GM
158492011-06-25 Glenn Morris <rgm@gnu.org>
15850
f6ba4cc9
GM
15851 * calendar/diary-lib.el (diary-included-files): Doc fix.
15852 (diary-include-files): New function, extracted from
15853 diary-include-other-diary-files and diary-mark-included-diary-files.
15854 (diary-include-other-diary-files, diary-mark-included-diary-files):
15855 Just call diary-include-files.
15856 (diary-mark-entries): Reset diary-included-files on first call.
15857
16712304
GM
15858 * calendar/diary-lib.el (diary-mark-entries)
15859 (diary-mark-included-diary-files):
15860 Visit included diary-files in temp buffers.
15861
5d8e0d43
GM
15862 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15863 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15864 (f90-start-block-re, f90-imenu-generic-expression)
15865 (f90-looking-at-program-block-start, f90-no-block-limit):
15866 Add support for submodules.
15867
ccf7a5d5
GM
15868 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15869 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15870
11fdef7d 158712011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15872
15873 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15874 buffer-file-type before setting its value, to avoid disastrous
eefff499 15875 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15876
74f53697
JB
158772011-06-25 Juanma Barranquero <lekktu@gmail.com>
15878
15879 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15880
15881 * ses.el (ses-unload-function):
15882 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15883
15884 * proced.el (proced-unload-function):
15885 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15886
18a4ce5e
AR
158872011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15888
15889 * server.el (server-create-window-system-frame): Add parameters arg.
15890 (server-process-filter): Doc fix. Handle frame-parameters.
15891
519d22cc
JB
158922011-06-25 Juanma Barranquero <lekktu@gmail.com>
15893
15894 Fix bug#8730, bug#8781.
15895
15896 * loadhist.el (unload--set-major-mode): New function.
15897 (unload-feature): Use it.
15898
15899 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15900 (python-unload-function): New function.
15901
c206f5b0
SM
159022011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15903
15904 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15905
f9ad64f3
GS
159062011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15907
15908 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15909 the candidates list.
15910
7d0da90e
JB
159112011-06-24 Juanma Barranquero <lekktu@gmail.com>
15912
15913 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15914
14b4e83d
RS
159152011-06-23 Richard Stallman <rms@gnu.org>
15916
15917 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15918 (rmail-variables): Set next-error-move-function.
15919 (rmail-what-message): Take argument POS.
15920 (rmail-next-error-move): New function.
15921
273d2baf
SM
159222011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15923
15924 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15925 messages for adjacent non-terminals.
15926
56c2cc9a
RS
159272011-06-23 Richard Stallman <rms@gnu.org>
15928
15929 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15930 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15931 (rmail-start-mail): Don't specify use of rmail-mail-return;
15932 that's done by mail-bury now.
15933 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15934
d59eb518
MA
159352011-06-23 Michael Albinus <michael.albinus@gmx.de>
15936
15937 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15938 SIZE is a number.
15939
02cfc6d6
MR
159402011-06-23 Martin Rudalics <rudalics@gmx.at>
15941
15942 * window.el (get-lru-window, get-mru-window)
15943 (get-largest-window): Never return a minibuffer window.
15944 (display-buffer-pop-up-window): Fix a bug that could lead to
15945 reusing the minibuffer window.
15946 (display-buffer): Pass original specifier argument to
15947 display-buffer-function instead of the normalized one.
15948 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15949
4e323265
LL
159502011-06-22 Leo Liu <sdl.web@gmail.com>
15951
15952 * minibuffer.el (completing-read-function)
15953 (completing-read-default): Move from minibuf.c
15954
7a70468f
RS
159552011-06-22 Richard Stallman <rms@gnu.org>
15956
50718fc2
RS
15957 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15958 to Rmail even if not started by a special Rmail command.
15959
7a70468f
RS
15960 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15961 Copy the buffer currently showing just one message.
15962
297dde5a
RW
159632011-06-22 Roland Winkler <winkler@gnu.org>
15964
15965 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15966 (bibtex-clean-entry): First delete the old key so that a
15967 customized algorithm for generating the new key does not get
15968 confused by the old key.
15969 (bibtex-url): Obey regexp of first step.
15970 (bibtex-search-entries): Do not use add-to-list with local
15971 list-var.
15972
97bb1093
LMI
159732011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15974
15975 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15976 stored a user name, then query for the password first, instead of
15977 waiting for SMTP to give an error message and the trying again.
15978
1c0f1a19
JD
159792011-06-22 Lawrence Mitchell <wence@gmx.li>
15980
15981 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15982 BUFFER in call-process.
15983
396f7c9d
LMI
159842011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15985
15986 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15987 QUIT twice.
ddb7ffee
LMI
15988 (smtpmail-try-auth-methods): Require user name and password from
15989 auth-source.
396f7c9d 15990
8998d1b3
MR
159912011-06-22 Martin Rudalics <rudalics@gmx.at>
15992
15993 * window.el (display-buffer-default-specifiers)
15994 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15995 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15996 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15997
15998 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15999 (special-display-frame-alist, special-display-popup-frame):
16000 Remove duplicate declarations. These are now in window.el.
16001
4ea31e07
LMI
160022011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16003
c9d29fb8
SM
16004 * mail/smtpmail.el (smtpmail-via-smtp):
16005 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16006 server supports it. SMTP servers that support STARTTLS commonly
16007 require it.
16008
16009 * net/network-stream.el (network-stream-open-starttls): Support
16010 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16011 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16012
95f41d9a
LMI
16013 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16014 upgrades with `open-network-stream', and rely solely on
16015 auth-source for all credentials. Big changes throughout the file,
16016 but in particular:
c9d29fb8
SM
16017 (smtpmail-auth-credentials): Remove.
16018 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16019 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16020 MAIL FROM, too.
95f41d9a 16021
c9d29fb8
SM
16022 * net/network-stream.el (network-stream-open-starttls):
16023 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16024 STARTTLS.
16025 (auth-source): Require.
16026 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16027 (network-stream-certificate): Change cert-cert to cert and
16028 cert-key to key.
4ea31e07 16029
065ec2c7
MA
160302011-06-21 Michael Albinus <michael.albinus@gmx.de>
16031
16032 * net/tramp-cache.el (top): Don't load the persistency file when
16033 "emacs -Q" has been called.
16034
cd93b359
DR
160352011-06-21 Tim Harper <timcharper@gmail.com>
16036
d8e4b68b
JB
16037 * term/ns-win.el (ns-initialize-window-system):
16038 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16039 resource to NO as it is not yet supported by the NS port.
16040
ae9c0411
JB
160412011-06-21 Juanma Barranquero <lekktu@gmail.com>
16042
16043 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16044 (list-dynamic-libraries): ...not here.
16045
7f3f739f
LL
160462011-06-21 Leo Liu <sdl.web@gmail.com>
16047
16048 * subr.el (sha1): Implement sha1 using secure-hash.
16049
327c8fb1
MR
160502011-06-21 Martin Rudalics <rudalics@gmx.at>
16051
16052 * window.el (display-buffer-alist): In default value do not
16053 enforce searching a window on any but the selected frame.
16054 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16055 (display-buffer-select-window): Remove function.
16056 (display-buffer-in-window): When a window on another frame gets
16057 reused, do not select it any more but just raise its frame if
16058 necessary (Bug#8851) and (Bug#8856).
16059 (display-buffer-normalize-options): Handle pop-up-frames related
16060 options more faithfully.
16061 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16062 window if it is on another frame.
c9d29fb8
SM
16063 (display-buffer-alist, display-buffer-default-specifiers):
16064 Don't make new frame unsplittable by default.
9e9de014
MR
16065 (display-buffer-normalize-argument): Fix doc-string typo and use
16066 'same-frame-other-window instead of 'other-window when associating
16067 with display-buffer-macro-specifiers.
327c8fb1 16068
7cf3f556
VB
160692011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16070
16071 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16072 New functions.
16073 (5x5-mode-map, 5x5-mode-menu): Bind them.
16074 (5x5-draw-grid): Tweak the solver's rendering.
16075
60a406cf
SM
160762011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16077
16078 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16079 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16080
d8e4b68b 160812011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16082
16083 * menu-bar.el: Use function variable instead of switch-to-buffer.
16084 (menu-bar-select-buffer-function): New variable.
60a406cf 16085 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16086
478d6f95
SM
160872011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16088
16089 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16090 variable's status.
16091
ca530739
JD
160922011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16093
16094 * x-dnd.el (x-dnd-version-from-flags)
16095 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16096 and long as number (Bug#8899).
16097 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16098
bcd70d97
SM
160992011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16100
60a406cf 16101 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16102 (completion-try-completion, completion-all-completions): Compute the
16103 metadata argument if it's missing; make it optional (bug#8795).
16104
60a406cf 16105 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16106 (widget-complete): Use new :completion-function property.
16107 (widget-completions-at-point): New function.
16108 (default): Use :completion-function instead of :complete.
60a406cf
SM
16109 (widget-default-completions): Rename from widget-default-complete;
16110 Rewrite.
bcd70d97
SM
16111 (widget-string-complete, widget-file-complete, widget-color-complete):
16112 Remove functions.
16113 (file, symbol, function, variable, coding-system, color):
16114 * international/mule-cmds.el (default-input-method, charset)
16115 (language-info-custom-alist):
16116 * cus-edit.el (face): Use new property :completions.
16117
16118 * progmodes/pascal.el (pascal-completions-at-point): New function.
16119 (pascal-mode): Use it.
16120 (pascal-mode-map): Use completion-at-point.
16121 (pascal-toggle-completions): Make obsolete.
16122 (pascal-complete-word, pascal-show-completions):
16123 * progmodes/octave-mod.el (octave-complete-symbol):
16124 Redefine as obsolete alias.
16125 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16126 Signal absence of completion info for old Octave,
16127 (inferior-octave-complete): Redefine as obsolete alias.
16128 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16129 (meta-completions-at-point): Rename from meta-complete-symbol and
16130 adapt it for use on completion-at-point-functions.
16131 (meta-common-mode): Use it.
16132 (meta-looking-at-backward, meta-match-buffer): Remove.
16133 (meta-complete-symbol): Redefine as obsolete alias.
16134 (meta-common-mode-map): Use completion-at-point.
16135 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16136 (makefile-mode-map): Use completion-at-point.
16137 (makefile-completions-at-point): Rename from makefile-complete and
16138 adapt it for use on completion-at-point-functions.
16139 (makefile-mode): Use it.
16140 (makefile-complete): Redefine as obsolete alias.
16141
aebf69c8
DD
161422011-06-20 Deniz Dogan <deniz@dogan.se>
16143
16144 * net/rcirc.el: Delete trailing whitespaces once and for all.
16145
bfbbb27d
DC
161462011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16147
16148 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16149
d264a46b
CY
161502011-06-19 Chong Yidong <cyd@stupidchicken.com>
16151
4ca009e5
CY
16152 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16153
d264a46b
CY
16154 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16155
fbf5b3ce
MR
161562011-06-19 Martin Rudalics <rudalics@gmx.at>
16157
16158 * window.el (display-buffer-other-window-means-other-frame):
16159 Call display-buffer-normalize-alist.
16160 (display-buffer-normalize-specifiers-1): Rename to
16161 display-buffer-normalize-argument. New argument other-frame.
16162 Rewrite.
16163 (display-buffer-normalize-specifiers-2): Rename to
16164 display-buffer-normalize-options.
16165 (display-buffer-normalize-alist-1): New function.
16166 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16167 display-buffer-normalize-alist.
16168 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16169 (display-buffer-normalize-options-inhibit): New variable.
16170 (display-buffer-normalize-specifiers): Rewrite calling
16171 display-buffer-normalize-alist,
16172 display-buffer-normalize-argument, and
16173 display-buffer-normalize-options. Don't call the latter if
16174 display-buffer-normalize-options-inhibit is non-nil.
16175 (frame-auto-delete): New option.
16176 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16177 (window-list-no-nils, window-state-ignored-parameters)
16178 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16179 (window-state-put-1, window-state-put-2, window-state-put):
16180 New functions.
9a028c23
MR
16181 (display-buffer-normalize-options): Move special-display-p group
16182 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16183
6d10d800
CY
161842011-06-18 Chong Yidong <cyd@stupidchicken.com>
16185
6420d28b
CY
16186 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16187 groups (Bug#8776).
16188 (rx-submatch-n): New function.
16189 (rx): Document it.
16190
ddb8b596
CY
16191 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16192 (Bug#8768).
16193
16194 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16195
77080289
CY
16196 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16197
61dfb316
CY
16198 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16199 anytime existing face settings are present (Bug#8889).
16200
6d10d800
CY
16201 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16202 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16203 Remove unused argument.
16204
be3fb2b8
MR
162052011-06-18 Martin Rudalics <rudalics@gmx.at>
16206
bcd70d97
SM
16207 * window.el (display-buffer-default-specifiers):
16208 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16209 pop-up-window-min-width, and another reuse-window specifier
16210 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16211 (display-buffer-normalize-specifiers-2):
16212 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16213 pop-up-windows is unset. Add a reuse-window specifier for the
16214 case popping up a new window fails.
16215 (special-display-popup-frame): Remove double quoting.
28dec25a 16216 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16217
1c6d8c76
SM
162182011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16219
16220 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16221 according to comint-completion-addsuffix.
16222
16223 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16224 (pcomplete-suffix-list): Mark as obsolete.
16225 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16226 pcomplete-seen in the closure.
16227 (pcomplete-comint-setup): Setup completion-at-point as well.
16228 (pcomplete--entries): New function.
16229 (pcomplete--env-regexp): New var.
16230 (pcomplete-entries): Rewrite to work with partial-completion and
16231 without relying on pcomplete-suffix-list.
16232 (pcomplete-pare-list): Remove, unused.
16233
25aef8b8
MR
162342011-06-17 Martin Rudalics <rudalics@gmx.at>
16235
16236 * window.el (display-buffer-alist): Set pop-up-window-min-height
16237 and pop-up-window-min-width in default value. Reported by
16238 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16239 other-window-means-other-frame.
16240 (display-buffer-macro-specifiers): Comment out entry for
16241 other-window specifier.
16242 (display-buffer-other-window-means-other-frame): New function.
16243 (display-buffer-normalize-specifiers-1): New arguments
16244 buffer-name and label. Treat other-window case specially.
16245 (display-buffer-normalize-specifiers-2): Treat other-window case
16246 specially.
16247 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16248 (display-buffer-normalize-specifiers):
16249 Call display-buffer-normalize-specifiers-3.
25aef8b8 16250
dbad4f69
MR
162512011-06-17 Martin Rudalics <rudalics@gmx.at>
16252
16253 * window.el (same-window-p): Fix two typos introduced when
16254 adding with-no-warnings.
d1067961
MR
16255 (display-buffer-normalize-specifiers-1): Don't check
16256 pop-up-frames for 'unset initialization.
16257 (display-buffer-normalize-specifiers-2): Major rewrite using
16258 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16259 (pop-up-frames, display-buffer-reuse-frames)
16260 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16261 Suggested by David Engster <deng@randomsample.de>.
16262 (even-window-heights): Initialize to 'unset.
16263 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16264 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16265 other window case.
dbad4f69 16266
9b9c9e3a
MR
162672011-06-16 Martin Rudalics <rudalics@gmx.at>
16268
bcd70d97
SM
16269 * window.el (display-buffer-normalize-specifiers-1):
16270 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16271 second argument of display-buffer (Bug#8865).
981d5c09
MR
16272 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16273 (switch-to-buffer-other-window-same-frame)
16274 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16275 Adams (Bug#8875).
9c2755e9
MR
16276 (display-buffer): Don't check noninteractive when calling
16277 display-buffer-pop-up-frame.
16278 (display-buffer-pop-up-frame): Never pop up a frame in
16279 noninteractive mode (Bug#8857).
67222e1d
MR
16280 (enlarge-window, shrink-window): Don't report an error when the
16281 window can't be resized as requested (Bug#8862).
9b9c9e3a 16282
2b75be67
SM
162832011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16284
9ffdd3ba
SM
16285 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16286
cb581a67
SM
16287 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16288
2b75be67
SM
16289 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16290
8c0e3589
AM
162912011-06-15 Alan Mackenzie <acm@muc.de>
16292
cb581a67
SM
16293 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16294 for declarators, disable knr checking to speed up for normal files.
16295 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16296
b96e6cde
LMI
162972011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16298
4bba86e6
LMI
16299 * net/network-stream.el (open-network-stream): Add the keyword
16300 :always-query-capabilities for the case where you want to force a
16301 `plain' network connection, but the protocol still requires the
16302 capabilitiy command (i.e., SMTP and EHLO).
16303
2b75be67 16304 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16305 consistency with other `-live-p' functions.
16306
efdcdbf8
SM
163072011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16308
16309 * window.el (same-window-buffer-names, same-window-regexps)
16310 (special-display-frame-alist, special-display-popup-frame)
16311 (special-display-function, special-display-buffer-names)
16312 (special-display-regexps, pop-up-frame-alist)
16313 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16314 (pop-up-windows, split-window-preferred-function)
16315 (split-height-threshold, split-width-threshold, even-window-heights)
16316 (display-buffer-mark-dedicated): Don't encourage the use of
16317 display-buffer-alist from Elisp code.
16318
c5cde042
DN
163192011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16320
16321 * progmodes/python.el (python-mode): Derive from prog-mode.
16322 * progmodes/ps-mode.el (ps-mode):
16323 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16324 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16325 * progmodes/ld-script.el (ld-script-mode): Likewise.
16326
baa1c9ab
MR
163272011-06-15 Martin Rudalics <rudalics@gmx.at>
16328
16329 * window.el (display-buffer-alist): Trim default value to avoid
16330 popping up a new frame (Bug#8857) or reusing an arbitrary window
16331 on another frame.
16332 (display-buffer): Do not fall back on popping up a new frame in
16333 batch mode (Bug#8857).
16334
c5dd5a51
CY
163352011-06-14 Chong Yidong <cyd@stupidchicken.com>
16336
16337 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16338 (custom-theme-summary): New function.
16339 (customize-themes): Use it.
16340
d647b7c4
GM
163412011-06-13 Glenn Morris <rgm@gnu.org>
16342
16343 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16344
9481c002
MR
163452011-06-13 Martin Rudalics <rudalics@gmx.at>
16346
357f93d2
MR
16347 * help.el (help-window): Remove variable.
16348 (help-window-point-marker, temp-buffer-max-height)
16349 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16350 (help-print-return-message): Don't set help-window.
16351 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16352 (help-window-setup-finish): Remove.
16353 (help-window-display-message, help-window-setup)
16354 (with-help-window): Major rewrite based on new
16355 display-buffer-window variable.
16356
16357 * help-mode.el (help-mode-finish): Remove help-window related
16358 code.
16359
16360 * view.el (view-exits-all-viewing-windows): Remove reference to
16361 view-return-to-alist in doc-string.
16362 (view-return-to-alist): Make obsolete.
16363 (view-buffer): Call pop-to-buffer-same-window and remove
16364 undo-window code.
16365 (view-buffer-other-window): Call pop-to-buffer-other-window and
16366 simplify code. Ignore second argument.
16367 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16368 simplify code. Ignore second argument.
16369 (view-return-to-alist-update): Make obsolete.
16370 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16371 Rewrite using quit-restore window parameters.
2b75be67
SM
16372 (view-mode-exit): Rename second argument to EXIT-ONLY.
16373 Rewrite using quit-restore-window.
357f93d2
MR
16374 (View-exit, View-exit-and-edit, View-leave, View-quit)
16375 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16376 appropriate arguments.
16377 (view-end-message): Use quit-restore window parameter.
16378
9481c002
MR
16379 * window.el (display-buffer-function): Rewrite doc-string.
16380 (display-buffer-window, display-buffer-alist): New variables.
16381 (display-buffer-split-specifiers)
16382 (display-buffer-side-specifiers)
16383 (display-buffer-macro-specifiers): New constants.
16384 (display-buffer-even-window-sizes, display-buffer-set-height)
16385 (display-buffer-set-width, display-buffer-select-window)
16386 (display-buffer-in-window, display-buffer-reuse-window)
16387 (display-buffer-split-window-1, display-buffer-split-window)
16388 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16389 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16390 (display-buffer-in-side-window, normalize-buffer-to-display)
16391 (display-buffer-normalize-specifiers-1)
16392 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16393 (display-buffer-normalize-specifiers, display-buffer-frame):
16394 New functions.
9481c002
MR
16395 (display-buffer): Major rewrite.
16396 (display-buffer-other-window, display-buffer-other-frame)
16397 (pop-to-buffer, switch-to-buffer-other-window)
16398 (switch-to-buffer-other-frame): Rewrite.
16399 (display-buffer-same-window, display-buffer-same-frame)
16400 (display-buffer-same-frame-other-window)
16401 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16402 (pop-to-buffer-other-window)
16403 (pop-to-buffer-same-frame-other-window)
16404 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16405 (switch-to-buffer-other-window-same-frame): New functions.
16406 (same-window-p, special-display-p): Rewrite disabling warnings.
16407 Make obsolete.
16408 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16409 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16410 Make obsolete
16411 (same-window-buffer-names, same-window-regexps)
16412 (special-display-frame-alist, special-display-popup-frame)
16413 (special-display-function, special-display-buffer-names)
16414 (special-display-regexps, pop-up-frame-alist)
16415 (pop-up-frame-function, split-window-preferred-function)
16416 (split-height-threshold, split-width-threshold)
16417 (even-window-heights): Make obsolete.
16418
9db51aca
GM
164192011-06-12 Glenn Morris <rgm@gnu.org>
16420
16421 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16422 Misc simplifications.
9db51aca 16423
39cffb44
MR
164242011-06-12 Martin Rudalics <rudalics@gmx.at>
16425
16426 * window.el (window-safely-shrinkable-p): Restore function which
16427 was inadvertently removed in change from 2011-06-11. Declare as
16428 obsolete.
16429
2b75be67
SM
16430 * calendar/calendar.el (calendar-generate-window):
16431 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16432 window-safely-shrinkable-p.
16433
a8955be7
GM
164342011-06-12 Glenn Morris <rgm@gnu.org>
16435
16436 * progmodes/fortran.el (fortran-mode-syntax-table):
16437 * progmodes/f90.el (f90-mode-syntax-table):
16438 Set % to punctuation. (Bug#8820)
16439 (f90-find-tag-default): Remove, no longer needed.
16440
f0d4059d
DC
164412011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16442
16443 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16444
1100a63c
CY
164452011-06-11 Chong Yidong <cyd@stupidchicken.com>
16446
16447 * image.el (image-animated-p): Return animation delay in seconds.
16448 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16449 (image-animate-timeout): Remove DELAY argument. Don't assume
16450 every subimage has the same delay; get it from image-animated-p.
16451 (image-animate): Caller changed.
16452
def722bf
MA
164532011-06-11 Michael Albinus <michael.albinus@gmx.de>
16454
16455 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16456 to ignored backtrace functions.
16457
0a2bb1a9
GM
164582011-06-11 Glenn Morris <rgm@gnu.org>
16459
16460 * calendar/appt.el (appt-disp-window-function): Doc fix.
16461 (appt-check): Handle overlapping appointments. (Bug#8337)
16462
6198ccd0
MR
164632011-06-11 Martin Rudalics <rudalics@gmx.at>
16464
16465 * window.el (window-tree-1, window-tree): New functions, moving
16466 the latter to window.el.
16467 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16468 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16469 (bw-refresh-edges): Remove.
16470 (balance-windows-1, balance-windows-2): New functions.
16471 (balance-windows): Rewrite in terms of window tree functions,
16472 balance-windows-1 and balance-windows-2.
16473 (bw-adjust-window): Remove.
16474 (balance-windows-area-adjust): New function with functionality of
16475 bw-adjust-window but using resize-window.
2b75be67
SM
16476 (set-window-text-height): Rewrite doc-string.
16477 Use normalize-live-window and resize-window.
16478 (enlarge-window-horizontally, shrink-window-horizontally):
16479 Rename argument to DELTA.
6198ccd0
MR
16480 (window-buffer-height): New function.
16481 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16482 Rewrite using new window resize routines.
2b75be67
SM
16483 (kill-buffer-and-window, mouse-autoselect-window-select):
16484 Use ignore-errors instead of condition-case.
6198ccd0
MR
16485 (quit-window): Call delete-frame instead of delete-windows-on
16486 for the only buffer on frame.
16487
9397e56f
MR
164882011-06-10 Martin Rudalics <rudalics@gmx.at>
16489
16490 * loadup.el (top-level): Load window before files for the sake
16491 of replace-buffer-in-windows.
16492
16493 * files.el (read-buffer-to-switch)
16494 (switch-to-buffer-other-window)
2b75be67
SM
16495 (switch-to-buffer-other-frame, display-buffer-other-frame):
16496 Move to window.el.
9397e56f
MR
16497
16498 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16499 (previous-buffer): Move to window.el.
16500
16501 * bindings.el (unbury-buffer): Move to window.el.
16502
16503 * window.el (delete-other-windows-vertically): Move after
16504 definition of delete-other-windows.
16505 (other-window, delete-windows-on, replace-buffer-in-windows):
16506 Move here from window.c.
16507 (record-window-buffer, unrecord-window-buffer)
16508 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16509 (switch-to-next-buffer): New functions.
16510 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16511 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16512 (previous-buffer): Move here from simple.el.
16513 Call switch-to-prev-buffer.
9397e56f
MR
16514 (bury-buffer): Move here from buffer.c. Switch to previous
16515 buffer when window cannot be deleted.
16516 (unbury-buffer): Move here from bindings.el.
16517 (ctl-x-map): Move binding for other-window from window.c to
16518 here.
16519 (read-buffer-to-switch, switch-to-buffer-other-window)
16520 (switch-to-buffer-other-frame): Move here from files.el.
16521 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16522 (switch-to-buffer): Move here from buffer.c.
16523 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16524
562dd5e9
MR
165252011-06-10 Martin Rudalics <rudalics@gmx.at>
16526
16527 * window.el (window-min-height, window-min-width): Move here
16528 from window.c. Add defcustoms and rewrite doc-strings.
16529 (resize-mini-window, resize-window): New functions.
16530 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16531 Move here from window.c.
16532 (maximize-window, minimize-window): New functions.
16533 (delete-window, delete-other-windows, split-window): Move here
16534 from window.c.
16535 (window-split-min-size): New function.
16536 (split-window-keep-point): Mention split-window-above-each-other
16537 instead of split-window-vertically.
2b75be67 16538 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16539 Rename split-window-vertically to split-window-above-each-other
16540 and provide defalias for old definition.
16541 (split-window-side-by-side, split-window-horizontally):
16542 Rename split-window-horizontally to split-window-side-by-side
16543 and provide defalias for the old definition.
562dd5e9
MR
16544 (ctl-x-map): Move bindings for delete-window,
16545 delete-other-windows and enlarge-window here from window.c.
16546 Replace bindings for split-window-vertically and
16547 split-window-horizontally by bindings for
16548 split-window-above-each-other and split-window-side-by-side.
16549
16550 * cus-start.el (all): Remove entries for window-min-height and
16551 window-min-width. Add entries for window-splits and
16552 window-nest.
16553
f0da764a
GM
165542011-06-09 Glenn Morris <rgm@gnu.org>
16555
80675c21
GM
16556 * calendar/appt.el (appt-mode-line): New function.
16557 (appt-check, appt-disp-window): Use it.
16558
f0da764a
GM
16559 * files.el (hack-one-local-variable-eval-safep):
16560 Allow minor-modes with explicit +/-1 arguments.
16561
59f623b7
TZ
165622011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16563
16564 * term/xterm.el (xterm): Add defgroup.
16565 (xterm-extra-capabilities): Add defcustom to supply known xterm
16566 capabilities, skip querying them, or query them (default).
16567 (terminal-init-xterm): Use it.
16568 (terminal-init-xterm-modify-other-keys): New function to set up
16569 modifyOtherKeys support to simplify `terminal-init-xterm'.
16570
9aab8e0d
MR
165712011-06-09 Martin Rudalics <rudalics@gmx.at>
16572
16573 * window.el (resize-window-reset, resize-window-reset-1)
16574 (resize-subwindows-skip-p, resize-subwindows-normal)
16575 (resize-subwindows, resize-other-windows, resize-this-window)
16576 (resize-root-window, resize-root-window-vertically)
16577 (window-deletable-p, window-or-subwindow-p)
16578 (frame-root-window-p): New functions.
16579
e8b08aee
GM
165802011-06-09 Glenn Morris <rgm@gnu.org>
16581
16582 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16583 (ange-ftp-get-files): Use it.
16584
254c37a5
AK
165852011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16586
16587 * mail/sendmail.el (mail-recover-1, mail-recover):
16588 * files.el (recover-file, recover-session):
16589 Handle dired-listing-switches not being just a single short option.
16590
35d7dbd3
GM
165912011-06-09 Glenn Morris <rgm@gnu.org>
16592
16593 * calendar/appt.el (appt-display-message, appt-disp-window):
16594 Handle lists of appointments.
16595
387522b2
MR
165962011-06-08 Martin Rudalics <rudalics@gmx.at>
16597
2b75be67
SM
16598 * window.el (one-window-p): Move down in code.
16599 Rewrite doc-string.
16600 (window-current-scroll-bars): Rewrite doc-string.
16601 Normalize live window argument.
387522b2
MR
16602 (walk-windows, get-window-with-predicate, count-windows):
16603 Rewrite doc-string. Use window-list-1.
16604 (window-in-direction-2, window-in-direction, get-mru-window):
16605 New functions.
16606
d8e4b68b 166072011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16608
16609 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16610 Doc fix (Bug#8713).
16611
166122011-06-08 Chong Yidong <cyd@stupidchicken.com>
16613
16614 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16615
166162011-06-08 Juanma Barranquero <lekktu@gmail.com>
16617
16618 * loadhist.el (unload-feature-special-hooks):
16619 Add `comint-output-filter-functions'.
16620
0de12c52
IK
166212011-06-08 Ivan Kanis <gnu@kanis.fr>
16622
16623 * calendar/appt.el (appt-check): Move some initializations into the let.
16624
f3d1777e
MR
166252011-06-08 Martin Rudalics <rudalics@gmx.at>
16626
16627 * window.el (window-height): Defalias to window-total-height.
16628 (window-width): Defalias to window-body-width.
16629
18af70d0
CY
166302011-06-07 Chong Yidong <cyd@stupidchicken.com>
16631
16632 * image-mode.el (image-toggle-animation): New command.
16633 (image-mode-map): Bind it to RET.
16634 (image-mode): Update message.
16635 (image-toggle-display-image): Avoid a spurious cache flush.
16636 (image-transform-rotation): Doc fix.
16637 (image-transform-properties): Return quickly in the normal case.
16638 (image-animate-loop): Rename from image-animate-max-time.
16639
2b75be67 16640 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16641 (create-animated-image): Remove unnecessary function.
16642 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16643 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16644 (image-animate-timer): Use car-safe.
16645 (image-animate-timeout): Rename argument.
16646
190b47e6
MR
166472011-06-07 Martin Rudalics <rudalics@gmx.at>
16648
16649 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16650 window.c. Rename first argument to ALL-FRAMES.
16651 Rephrase doc-strings.
16652 (get-buffer-window-list): Rewrite using window-list-1.
16653 Rephrase doc-string.
a1511caf
MR
16654 (window-safe-min-height, window-safe-min-width): New constants.
16655 (window-size-ignore, window-min-size, window-min-size-1)
16656 (window-sizable, window-sizable-p, window-size-fixed-1)
16657 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16658 (window-max-delta-1, window-max-delta, window-resizable)
16659 (window-resizable-p, window-total-height, window-total-width)
16660 (window-body-width): New functions.
16661 (window-full-height-p, window-full-width-p): Rewrite using
16662 window-total-size.
16663 (window-body-height): Rewrite using window-body-size.
190b47e6 16664
85cc1f11
MR
166652011-06-06 Martin Rudalics <rudalics@gmx.at>
16666
16667 * window.el (window-right, window-left, window-child)
16668 (window-child-count, window-last-child, window-any-p)
16669 (normalize-live-buffer, normalize-live-frame)
16670 (normalize-any-window, normalize-live-window)
16671 (window-iso-combination-p, window-iso-combined-p)
16672 (window-iso-combinations)
16673 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16674 (windows-with-parameter, window-with-parameter)
16675 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16676 (window-atom-check, window-side-check, window-check):
16677 New functions.
85cc1f11
MR
16678 (ignore-window-parameters, window-sides, window-sides-vertical)
16679 (window-sides-slots): New variables.
16680 (window-size-fixed): Move down in code. Minor doc-string fix.
16681
e7156492
AS
166822011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16683
16684 * comint.el (comint-dynamic-complete-as-filename)
16685 (comint-dynamic-complete-filename): Correctly call
16686 completion-in-region.
16687
7e821d0d
DD
166882011-06-05 Deniz Dogan <deniz@dogan.se>
16689
16690 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16691 in last change.
16692
ac09b8a1
DD
166932011-06-05 Deniz Dogan <deniz@dogan.se>
16694
16695 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16696 (rcirc): Use it to prompt for encryption.
16697
34699b85
RW
166982011-06-05 Roland Winkler <winkler@gnu.org>
16699
16700 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16701 (bibtex-search-entries): New command bound to C-c C-a.
16702 (bibtex-display-entries): New function.
16703
004dedd3
RW
167042011-06-05 Roland Winkler <winkler@gnu.org>
16705
16706 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16707 (bibtex-insert-kill): After yanking insert newline if necessary.
16708 (bibtex-initialize): Call bibtex-string-files-init only once.
16709 (bibtex-mode): Do not call easy-menu-add.
16710 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16711 (bibtex-yank): Set arg properly if nil.
16712
022fe7ce
RW
167132011-06-05 Roland Winkler <winkler@gnu.org>
16714
2b75be67
SM
16715 * textmodes/bibtex.el (bibtex-search-entry-globally):
16716 New variable.
022fe7ce
RW
16717 (bibtex-search-entry): Use it.
16718
b7c3692a
RW
167192011-06-05 Roland Winkler <winkler@gnu.org>
16720
16721 * textmodes/bibtex.el (bibtex-entry-format): New option
16722 sort-fields.
16723 (bibtex-format-entry, bibtex-reformat): Honor this option.
16724 (bibtex-parse-entry): Return fields in proper order.
16725
8eda563d
JB
167262011-06-05 Juanma Barranquero <lekktu@gmail.com>
16727
16728 * doc-view.el (doc-view-remove-if): Move computation of result out
16729 of `dolist' to silence misleading lexical-binding warning.
16730
7dbe3dbc
CY
167312011-06-04 Chong Yidong <cyd@stupidchicken.com>
16732
16733 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16734 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16735
0c33dd17
MA
167362011-06-04 Michael Albinus <michael.albinus@gmx.de>
16737
16738 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16739 "SunOS 5.10".
16740
f8f91c2b
MA
167412011-06-04 Michael Albinus <michael.albinus@gmx.de>
16742
16743 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16744 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16745 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16746 (tramp-parse-putty):
16747 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16748 (tramp-completion-function-alist-ssh)
16749 (tramp-completion-function-alist-telnet)
16750 (tramp-completion-function-alist-su)
16751 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16752 cookie.
16753
16754 * net/tramp-ftp.el:
16755 * net/tramp-sh.el:
16756 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16757 load "tramp.el" `tramp-set-completion-function'.
16758
e17d9003
SM
167592011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16760
16761 * shell.el: Require and use pcomplete.
16762 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16763 (shell-completion-vars): Set pcomplete-default-completion-function.
16764
6c4cab03
DD
167652011-06-04 Deniz Dogan <deniz@dogan.se>
16766
16767 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16768 `memq' (Bug#8799).
16769
ea9fafe0
SM
167702011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16771
16772 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16773
b3e945d3
JB
167742011-06-02 Juanma Barranquero <lekktu@gmail.com>
16775
16776 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16777 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16778 * vc/log-view.el (log-view-beginning-of-defun):
16779 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16780 (smerge-refine-forward, smerge-refine-chopup-region):
16781 Silence warning for unused `dotimes' counter variables.
16782
7d520089
SM
167832011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16784
16785 * net/tramp.el (tramp-with-progress-reporter): Rename from
16786 with-progress-reporter. Use `declare'.
16787 * net/tramp-smb.el:
16788 * net/tramp-sh.el:
16789 * net/tramp-gvfs.el: Update all uses.
16790
a1c2400f
JB
167912011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16792
16793 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16794 buffer isn't killed before making it current.
16795
2403c841
SM
167962011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16797
16798 Silence various byte-compiler warnings.
16799 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16800 `access-type' and new obsolescence format.
16801 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16802 new format.
16803 (byte-compile-check-variable): New `access-type' argument.
16804 Only warn if the access-type is obsolete.
16805 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16806 (byte-compile-variable-set): Adjust callers.
16807 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16808 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16809 setting it as obsolete.
16810 * simple.el (minibuffer-completing-symbol):
16811 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16812 access as obsolete.
16813 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16814 obsolete yet.
16815 * international/quail.el (quail-mouse-choose-completion): Remove unused
16816 code referring to obsolete var.
16817 (quail-choose-completion-string): Remove.
16818 * server.el (server-clients-with, server-kill-buffer-query-function)
16819 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16820 * proced.el (proced-send-signal):
16821 * emacs-lisp/lisp.el (lisp-complete-symbol):
16822 Replace completion-annotate-function with completion-extra-properties.
16823
2462470b
SM
168242011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16825
fb5b2591
SM
16826 * simple.el (goto-line): Use read-number.
16827 (overriding-map-is-bound): Remove.
16828 (saved-overriding-map): Change default.
16829 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16830 Take the map as argument.
16831 (universal-argument, negative-argument, digit-argument): Use it.
16832 (restore-overriding-map): Adjust.
16833 (do-auto-fill): Use fill-forward-paragraph.
16834 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16835
fd6fa53f
SM
16836 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16837 (minibuffer-inactive-mode): New major mode.
16838 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16839 the *Messages* buffer" hack.
16840 (mouse-popup-menubar): Don't burp if the event is a normal key.
16841
2462470b
SM
16842 Miscellaneous tweaks.
16843 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16844 lexical scoping as in subr.el's dolist and dotimes.
16845 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16846 Silence compiler warning.
16847 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16848 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16849 * international/ccl.el (ccl-compile): Trivial simplification.
16850 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16851 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16852 `printflag' argument.
16853 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16854 Purecopy the whole obsolescence data.
16855
108bf785
LL
168562011-06-01 Leo Liu <sdl.web@gmail.com>
16857
16858 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16859 improve doc-string as suggested by Marco Pessotto
16860 <melmothx@gmail.com>.
16861 (rcirc-print): Fix last change.
16862
30a23501
SM
168632011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16864
16865 * minibuffer.el (complete-with-action): Return nil for the metadata and
16866 boundaries of non-functional tables.
16867 (completion-table-dynamic): Return nil for the metadata.
16868 (completion-table-with-terminator): Add default case, using
16869 complete-with-action.
16870 (completion--metadata): New function.
16871 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16872 to try and avoid pathological performance problems.
16873 (completion--embedded-envvar-table): Return `category' metadata.
16874
bcd54f83
LMI
168752011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16876
16877 * subr.el (process-alive-p): New tiny convenience function.
16878
e227544d
SM
168792011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16880
16881 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16882 content but also its previous major mode.
16883
e8296fdc
HE
168842011-05-31 Helmut Eller <eller.helmut@gmail.com>
16885
4d61f28d 16886 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16887 *Backtrace* buffer when we exit with C-M-c.
16888
620c53a6
SM
168892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16890
16891 * minibuffer.el: Add metadata method to completion tables.
16892 (completion-category-overrides): New defcustom.
16893 (completion-metadata, completion--field-metadata)
16894 (completion-metadata-get, completion--styles)
16895 (completion--cycle-threshold): New functions.
16896 (completion-try-completion, completion-all-completions):
16897 Add `metadata' argument to choose completion-styles.
16898 (completion--do-completion): Use metadata to choose cycling.
16899 (completion-all-sorted-completions): Use metadata for sorting.
16900 Remove :completion-cycle-penalty which is not needed any more.
16901 (completion--try-word-completion): Add `metadata' argument.
16902 (minibuffer-completion-help): Check metadata for annotation function
16903 and sorting.
16904 (completion-file-name-table): Return `category' metadata.
16905 (minibuffer-completing-file-name): Make obsolete.
16906 * simple.el (minibuffer-completing-symbol): Make obsolete.
16907 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16908 completion-try-completion.
16909
1257e755
SM
169102011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16911
16912 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16913
3767e706
LL
169142011-05-30 Leo Liu <sdl.web@gmail.com>
16915
16916 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16917 (rcirc-print): Decode all incoming messages (bug#8744).
16918 (rcirc-decode-coding-system): Allow value nil for automatic coding
16919 system detection.
3767e706 16920
d1a5d56a
GM
169212011-06-01 Glenn Morris <rgm@gnu.org>
16922
16923 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16924
e8cbec34
CY
169252011-05-29 Chong Yidong <cyd@stupidchicken.com>
16926
16927 * image.el (image-animate-max-time): Allow nil and t values.
16928 Default to nil.
16929 (create-animated-image): Doc fix.
16930 (image-animate-start): Remove second arg; just use
16931 image-animate-max-time.
16932 (image-animate-timeout): Doc fix. Args changed.
16933
16934 * image-mode.el (image-toggle-display-image): Ensure that the
16935 image spec passed to the animate timer is the same object as in
58179cce 16936 the buffer's display property (Bug#6981).
e8cbec34
CY
16937 (image-transform-properties): Doc fix.
16938
16939 * image.el (image-animate-max-time): Default to nil.
16940
159daf87
MR
169412011-05-29 Martin Rudalics <rudalics@gmx.at>
16942
16943 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16944 entire buffer list (Bug#8184).
16945
d66c4c7c
CY
169462011-05-29 Chong Yidong <cyd@stupidchicken.com>
16947
16948 * image.el (imagemagick-types-inhibit)
16949 (imagemagick-register-types): Doc fix.
16950
80aec780
DD
169512011-05-29 Deniz Dogan <deniz@dogan.se>
16952
16953 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16954 default.
16955
1dd3c2d9
CY
169562011-05-29 Chong Yidong <cyd@stupidchicken.com>
16957
16958 * select.el: Don't perform clipboard-manager saving in hooks;
16959 leave the hooks empty.
16960
60e56523
LL
169612011-05-28 Leo Liu <sdl.web@gmail.com>
16962
16963 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16964 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16965 (occur-edit-mode): New major mode (Bug#8463).
16966 (occur-after-change-function): New function.
16967 (occur-engine): Give Occur tags a read-only property.
16968
2b1e1a22
KR
169692011-05-28 Kevin Ryde <user42@zip.com.au>
16970
16971 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16972
5d344e88
CY
169732011-05-28 Chong Yidong <cyd@stupidchicken.com>
16974
8e6ca83d
CY
16975 * bindings.el (help-echo): Make the initial non-indicator dash
16976 empty on graphical terminals (Bug#7295).
16977
5d344e88
CY
16978 * files.el (auto-mode-alist): Move config rule after the
16979 in-stripping one (Bug#8547).
16980
bfbbace7
CY
16981 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16982
fbeba6e2
CY
16983 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16984 setting (Bug#8740).
16985
60ed8c72
AA
169862011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16987
4ac619f0
AA
16988 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16989 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16990 (Bug#8539).
60ed8c72 16991
23db196e
CY
169922011-05-28 Chong Yidong <cyd@stupidchicken.com>
16993
16994 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16995
5012f24c
DK
169962011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16997
16998 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16999 (hs-hide-block-at-point, hs-find-block-beginning)
17000 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17001 (Bug#8279).
17002
6a639b16
GM
170032011-05-28 Glenn Morris <rgm@gnu.org>
17004
17005 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17006
d43eaf2c
CY
170072011-05-28 Chong Yidong <cyd@stupidchicken.com>
17008
5199bde1
CY
17009 * help-fns.el (describe-function-1): If the function is a derived
17010 major mode, print the parent mode.
17011
d43eaf2c
CY
17012 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17013 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17014
423428a8
SM
170152011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17016
0ff8e1ba 17017 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17018 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17019 * progmodes/etags.el (tags-completion-at-point-function):
17020 * info-look.el (info-lookup-completions-at-point): Mark as
17021 non-exclusive.
17022 (info-complete): Adjust accordingly.
17023
423428a8
SM
17024 * info-look.el: Convert to lexical-binding and completion-at-point.
17025 (info-lookup-completions-at-point): New function.
17026 (info-complete): Use it and completion-in-region.
17027
b74aa22b
DA
170282011-05-28 Drew Adams <drew.adams@oracle.com>
17029
17030 * isearch.el: Let M-e start with point at the first mismatched char.
17031 (isearch-fail-pos): New function.
17032 (isearch-edit-string): Use it.
17033
66e2e71d
DK
170342011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17035
17036 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17037
b1890b0f 170382011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17039
17040 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17041 traversal functions for avl-trees.
17042 (avl-tree--stack): New struct.
17043 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17044 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17045 (avl-tree--do-enter): Add optional `updatefun' arg.
17046 Change return value.
eb95d01d 17047 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17048 (avl-tree--do-delete): Add `test' and `nilflag' args.
17049 Change return value.
eb95d01d
TC
17050 (avl-tree-member): Add optional `nilflag'
17051 (avl-tree-member-p): New function.
17052 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17053 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17054 (avl-tree-stack-empty-p): New functions.
17055
3769ddcf
TC
17056 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17057 avl-tree--del-balance1 and make it work both ways.
17058 (avl-tree--del-balance2): Remove.
17059 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17060 make it work both ways.
17061 (avl-tree--enter-balance2): Remove.
17062 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17063 New macros.
17064 (avl-tree--mapc, avl-tree-map): Add direction argument.
17065
eb95d01d 170662011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17067
17068 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17069
a9f737ee
CY
170702011-05-27 Chong Yidong <cyd@stupidchicken.com>
17071
17072 * select.el: Support clipboard managers with built-in function
17073 x-clipboard-manager-save, via delete-frame-functions and
17074 kill-emacs-hook.
17075 (xselect-convert-to-targets): Add MULTIPLE target to list.
17076 (xselect-convert-to-save-targets): New function.
17077
c92a1e54
KH
170782011-05-27 Kenichi Handa <handa@m17n.org>
17079
17080 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17081 let-binding rfc2047-encode-encoded-words to nil.
17082
e145f188
GM
170832011-05-27 Glenn Morris <rgm@gnu.org>
17084
5ec8a862
GM
17085 * mail/emacsbug.el: Don't require url-util.
17086
4b29d9fb
GM
17087 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17088
e145f188
GM
17089 * files.el (set-auto-mode):
17090 Also respect mode: entries at the end of the file. (Bug#8586)
17091
7d15102b
GM
170922011-05-26 Glenn Morris <rgm@gnu.org>
17093
98f593b8
GM
17094 * files.el (hack-local-variables-prop-line, hack-local-variables):
17095 Downcase mode names, as seems to be traditional.
27b48e63 17096 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17097
7d15102b
GM
17098 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17099 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17100
51d5b4ec
JD
171012011-05-25 Julien Danjou <julien@danjou.info>
17102
17103 * textmodes/rst.el (rst-define-level-faces): Do not define face
17104 symbol if it is already defined.
17105
91513f63
VB
171062011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17107
17108 * play/5x5.el (5x5-new-game, 5x5-randomize):
17109 Reset 5x5-solver-output to nil when a new grid is cast.
17110 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17111 these debugging traces, as defmacro breaks the compiled code.
17112
4d90d6d0
DK
171132011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17114
17115 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17116
e1b90ef6
LL
171172011-05-24 Leo Liu <sdl.web@gmail.com>
17118
17119 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17120 (vc-bzr-sha1): Adapt.
17121
d8e4b68b 17122 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17123
17124 * bindings.el: Provide sha1 feature.
17125
db0406bb 171262011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17127
17128 * mail/sendmail.el: Require `rfc2047'.
17129 (mail-insert-from-field): Do not perform RFC2047 encoding.
17130 (mail-encode-header): New function.
17131 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17132 buffer to the return value of select-message-coding-system.
17133 Call mail-encode-header.
b8d747b9
KH
17134
17135 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17136
db0406bb 171372011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17138
4d90d6d0
DK
17139 * mail/supercite.el (sc-default-cite-frame):
17140 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17141
eb8a5e9b
GM
171422011-05-24 Glenn Morris <rgm@gnu.org>
17143
f8630703
GM
17144 * progmodes/python.el (brm-menu): Declare.
17145
8831bbed
GM
17146 * emulation/viper.el (viper-set-hooks): Declare.
17147
eb8a5e9b
GM
17148 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17149 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17150 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17151 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17152 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17153 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17154
a2a25d24
SM
171552011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17156
17157 Add an :exit-function for completion-at-point.
17158
17159 * minibuffer.el (completion--done): New fun.
17160 (completion--do-completion): Use it. New arg `expect-exact'.
17161 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17162 since completion--do-completion does it for us now.
17163 (minibuffer-force-complete): Use completion--done and
17164 completion--replace. Handle sole-completion case with more care.
17165 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17166 (completion-extra-properties): New var.
17167 (completion-annotate-function): Make obsolete.
17168 (minibuffer-completion-help): Adjust accordingly.
17169 Use completion-list-insert-choice-function.
17170 (completion-at-point, completion-help-at-point):
17171 Bind completion-extra-properties.
17172 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17173 * simple.el (completion-list-insert-choice-function): New var.
17174 (completion-setup-function): Preserve it.
17175 (choose-completion): Pay attention to it, shuffle the code a bit.
17176 (choose-completion-string): New arg `insert-function'.
17177
17178 * textmodes/bibtex.el: Convert to lexical binding.
17179 (bibtex-mode-map): Use completion-at-point.
17180 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17181 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17182 (bibtex-complete): Define as obsolete alias.
17183 (bibtex-complete-internal): Remove.
17184 (bibtex-format-entry): Remove unused sub-group in regexp.
17185 * shell.el (shell--command-completion-data)
17186 (shell-environment-variable-completion):
17187 * pcomplete.el (pcomplete-completions-at-point):
17188 * comint.el (comint--complete-file-name-data): Use :exit-function
17189 instead of completion-table-with-terminator so it also works for
17190 choose-completion.
17191
e44e373d
SM
171922011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17193
4f91a816
SM
17194 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17195
782fc819
SM
17196 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17197 (bug#8710).
17198
e44e373d
SM
17199 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17200
381987c3
KM
172012011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17202
17203 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17204 customization variable and implement: If non-nil, auto-fill will
17205 be inhibited while on topic's header line.
17206
b776bc70
VB
172072011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17208
17209 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17210 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17211 always have a solution in grid size = 5 cases.
17212 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17213 (5x5-solver-output, 5x5-log-buffer): New vars.
17214 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17215 Make these variables buffer local to achieve 5x5 multi-session-ness.
17216 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17217 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17218 (5x5-solve-suggest): New funs.
17219 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17220 randomize a grid so that we ensure that there is always a solution.
17221 (5x5-make-random-grid): Allow other movement than flipping.
17222
7de88b6e
KR
172232011-05-23 Kevin Ryde <user42@zip.com.au>
17224
17225 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17226 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17227 advice and passes PREDICATE.
17228
b1ef1257
SM
172292011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17230
bbca48fe
SM
17231 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17232 byte-compile-lambda if it's actually a lambda.
17233
b1ef1257
SM
17234 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17235 Fix function quoting. Use backquote better.
17236
92a9cc65
YS
172372011-05-22 Yuanle Song <sylecn@gmail.com>
17238
17239 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17240 matching (Bug#8516).
17241
f0fb8059
JA
172422011-01-22 Jari Aalto <jari.aalto@cante.net>
17243
17244 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17245 different face (Bug#8178).
17246
d5b44c93
CY
172472011-05-22 Chong Yidong <cyd@stupidchicken.com>
17248
17249 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17250 defface (Bug#8144).
17251
79106a44
SM
172522011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17253
9c848d8a
SM
17254 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17255 funcall as well (bug#8712). Warn when performing those conversions.
17256 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17257
79106a44
SM
17258 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17259
88dfa756
GM
172602011-05-22 Glenn Morris <rgm@gnu.org>
17261
17262 * files.el (hack-local-variables-prop-line): Small simplifications.
17263 (hack-local-variables, hack-local-variables-prop-line):
17264 If MODE-ONLY, return the mode, rather than just `t'.
17265
b7cf2c79
SM
172662011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17267
17268 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17269
3f1a8558
GM
172702011-05-21 Glenn Morris <rgm@gnu.org>
17271
7e4ccca3
GM
17272 * files.el (hack-local-variables-prop-line, hack-local-variables):
17273 If only interested in the mode, don't bother doing the other stuff.
17274
637d46ca
GM
17275 * image-mode.el (image-after-revert-hook):
17276 Redraw all frames on which the image is visible. (Bug#8567)
17277
973d955b
GM
17278 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17279
3f1a8558
GM
17280 * wid-edit.el (widget-checklist-match-inline):
17281 Fix 2011-04-19 change. (Bug#8649)
17282
96479927
SM
172832011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17284
1dcf791f
SM
17285 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17286 Also allow singlespace after single-letter capitals followed by a dot.
17287
96479927
SM
17288 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17289 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17290
35fd0881
N
172912011-05-20 Nix <nix@esperi.org.uk>
17292
17293 * files.el (basic-save-buffer-2):
17294 Fix handling of break-hardlink-on-save with non-existent files.
17295
82745640
DD
172962011-05-19 Deniz Dogan <deniz@dogan.se>
17297
17298 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17299 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17300
4a720484
GM
173012011-05-19 Glenn Morris <rgm@gnu.org>
17302
d1f21341
GM
17303 * progmodes/f90.el (f90-type-def-re):
17304 Handle "type, bind(c)". (Bug#8691)
17305
4a720484
GM
17306 * emacs-lisp/autoload.el (batch-update-autoloads):
17307 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17308
2fb0a219
MA
173092011-05-18 Michael Albinus <michael.albinus@gmx.de>
17310
17311 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17312 property for the correct connection in case of multihops.
17313
e565dd37
GM
173142011-05-18 Glenn Morris <rgm@gnu.org>
17315
c2571358 17316 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17317 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17318
e565dd37
GM
17319 Rationalize calendar handling of day and month abbrev-arrays.
17320 * calendar/calendar.el (calendar-customized-p): New function.
17321 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17322 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17323 Add :set function.
17324 (calendar-abbrev-length, calendar-day-abbrev-array)
17325 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17326 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17327 Elements may no longer be nil.
17328 (calendar-day-name, calendar-month-name):
17329 Update for changed nature of abbrev arrays.
17330 * calendar/diary-lib.el (diary-name-pattern):
17331 Update for changed nature of abbrev arrays.
17332 (diary-mark-entries-1): Update calendar-make-alist calls.
17333 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17334 * calendar/cal-html.el (cal-html-day-abbrev-array):
17335 Simply inherit from calendar-day-abbrev-array.
17336
1d99a745
SM
173372011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17338
17339 * progmodes/grep.el (grep-mode): Disable default
17340 compilation-directory-matcher setting (bug#8684).
17341
7c1d9aa0
MA
173422011-05-17 Michael Albinus <michael.albinus@gmx.de>
17343
17344 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17345 instead of "head" and "tail". There were problems with SunOS 5.9,
17346 and it performs better.
17347
3952e9d8
GM
173482011-05-17 Glenn Morris <rgm@gnu.org>
17349
2dd12e7f
GM
17350 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17351
e4157b9c
GM
17352 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17353 Replace obsolete function.
17354
8e249bbd
GM
17355 * shell.el (pcomplete-parse-arguments-function): Declare.
17356
3952e9d8
GM
17357 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17358 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17359 (appt-check): Doc fixes.
17360 (appt-disp-window-function, appt-delete-window-function):
17361 Remove needless special case in custom :type.
17362 (appt-display-count): Default to 0, not nil.
17363 (appt-check): Reset appt-display-count to 0, not nil.
17364
c71a0d48 173652011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17366
c71a0d48
GM
17367 * progmodes/python.el (python-font-lock-keywords):
17368 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17369
31d55be9
SM
173702011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17371
17372 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17373
3bfacb2f
KR
173742011-05-16 Kevin Ryde <user42@zip.com.au>
17375
17376 * info-look.el (makefile-automake-mode): New setups, looking in
17377 automake manual, then makefile-mode.
17378 (makefile-mode): Remove automake manual, have it just in
17379 makefile-automake-mode since there's various things different or
17380 not relevant to plain make.
17381 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17382 believe a hypothetical automake-mode would go to makefile-mode,
17383 not the other way around.
17384
c8e83751
CY
173852011-05-15 Chong Yidong <cyd@stupidchicken.com>
17386
5e9e35cd
CY
17387 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17388 hunk-end tags (Bug#8672).
17389
c8e83751
CY
17390 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17391 vc-annotate-show-diff-revision-at-line (Bug#8671).
17392
50b23e5a
GM
173932011-05-14 Glenn Morris <rgm@gnu.org>
17394
7210a739
GM
17395 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17396 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17397 (change-log-font-lock-keywords): Also handle multiple author lines
17398 with leading tabs. (Bug#8644)
7210a739 17399
4691905a
GM
17400 * calendar/appt.el (appt-check): Rename some local variables.
17401 Some simplification/reordering.
17402
50b23e5a
GM
17403 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17404 (feedmail-sendmail-f-doesnt-sell-me-out)
17405 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17406 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17407 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17408 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17409 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17410 (feedmail-binmail-gnulinuxish-template):
17411 Rename from feedmail-binmail-linuxish-template.
17412 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17413 Use insert-buffer-substring.
17414
215cda7c
BC
174152011-05-14 Bill Carpenter <bill@carpenter.org>
17416
17417 * mail/feedmail.el (feedmail-patch-level): Increase.
17418 (feedmail-debug): New custom group.
17419 (feedmail-confirm-outgoing-timeout)
17420 (feedmail-sendmail-f-doesnt-sell-me-out)
17421 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17422 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17423 (feedmail-sender-line, feedmail-from-line)
17424 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17425 (feedmail-spray-this-address)
215cda7c
BC
17426 (feedmail-spray-address-fiddle-plex-list)
17427 (feedmail-queue-use-send-time-for-date)
17428 (feedmail-queue-use-send-time-for-message-id)
17429 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17430 (feedmail-buffer-eating-function):
17431 Doc fixes.
17432 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17433 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17434 (feedmail-message-action-scroll-down): New functions.
17435 (feedmail-queue-directory, feedmail-queue-draft-directory):
17436 Use expand-file-name.
17437 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17438 Remove C-v help entry.
17439 (feedmail-queue-buffer-file-name): New variable.
17440 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17441 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17442 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17443 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17444 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17445 (feedmail-message-action-toggle-spray)
17446 (feedmail-run-the-queue-no-prompts)
17447 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17448 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17449 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17450 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17451 (feedmail-envelope-deducer, feedmail-fiddle-from)
17452 (feedmail-fiddle-sender, feedmail-default-date-generator)
17453 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17454 (feedmail-fiddle-spray-address)
17455 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17456 (feedmail-fiddle-list-of-fiddle-plexes)
17457 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17458 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17459 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17460 Change default. Doc fix.
17461 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17462 (feedmail-binmail-linuxish-template): New constant.
17463 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17464 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17465 (feedmail-send-it): Add debug call.
17466 Use feedmail-queue-buffer-file-name, and
17467 feedmail-send-it-immediately-wrapper.
17468 (feedmail-message-action-send): Add debug call.
17469 Use feedmail-send-it-immediately-wrapper.
17470 (feedmail-queue-express-to-queue): Add debug call.
17471 Run feedmail-queue-express-hook.
17472 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17473 (feedmail-message-action-help-blat):
17474 Rename from feedmail-queue-send-edit-prompt-help-first.
17475 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17476 Check line-endings. Handle errors better.
17477 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17478 Doc fix. Add debug call.
17479 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17480 Use feedmail-queue-send-edit-prompt-inner.
17481 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17482 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17483 from feedmail-queue-send-edit-prompt.
17484 (feedmail-queue-send-edit-prompt-help)
17485 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17486 (feedmail-tidy-up-slug): Add debug call.
17487 Respect feedmail-queue-slug-suspect-regexp.
17488 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17489 (feedmail-dump-message-to-queue): Add debug call.
17490 Expand queue-directory.
17491 (feedmail-dump-message-to-queue): Change message slightly.
17492 Use feedmail-say-chatter.
17493 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17494 (feedmail-send-it-immediately-wrapper): New function.
17495 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17496 Insert empty string rather than newline. Handle full-frame case.
17497 Use catch/throw. Use feedmail-say-chatter.
17498 (feedmail-fiddle-from): Try mail-host-address.
17499 (feedmail-default-message-id-generator): Doc fix.
17500 Bind system-time-locale. Handle missing end.
17501 (feedmail-fiddle-x-mailer): Add debug call.
17502 Handle feedmail-x-mailer-line being nil.
17503 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17504 Add debug call. Use buffer-substring-no-properties.
17505 (feedmail-say-debug, feedmail-say-chatter): New functions.
17506 (feedmail-find-eoh): Give an explicit error.
17507
42c7e61e
UJ
175082011-05-13 Ulf Jasper <ulf.jasper@web.de>
17509
c2571358 17510 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17511 family from helvetica to sans.
c2571358 17512 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17513 etc/images/newsticker.
17514
c2571358 17515 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17516 family from helvetica to sans.
17517
17518 * net/newst-plainview.el (newsticker-new-item-face)
17519 (newsticker-old-item-face, newsticker-immortal-item-face)
17520 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17521 (newsticker-statistics-face): Change default family from
42c7e61e 17522 helvetica to sans.
c2571358 17523 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17524 etc/images/newsticker.
17525
5d3385a0
JB
17526 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17527 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17528 auto-marking.
17529
8497a297
DV
175302011-05-13 Didier Verna <didier@xemacs.org>
17531
17532 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17533 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17534 TODO entries.
8497a297
DV
17535 (lisp-lambda-list-keyword-parameter-indentation)
17536 (lisp-lambda-list-keyword-parameter-alignment)
17537 (lisp-lambda-list-keyword-alignment): New customizable user options.
17538 (lisp-indent-defun-method): Improve docstring.
17539 (extended-loop-p): Fix comment.
17540 (lisp-indent-lambda-list-keywords-regexp): New variable.
17541 (lisp-indent-lambda-list): New function.
17542 (lisp-indent-259): Use it.
17543 (lisp-indent-defmethod): Support for more than one
17544 method qualifier and properly indent methods lambda-lists.
17545 (defgeneric): Provide a missing common-lisp-indent-function property.
17546
f278f87f
SM
175472011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17548
17549 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17550 bounds for the empty string (bug#8667).
17551
5233edd7
GM
175522011-05-13 Glenn Morris <rgm@gnu.org>
17553
5237a44f
GM
17554 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17555
8340026c 17556 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17557 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17558
5233edd7 17559 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17560 (appt-time-msg-list): Doc fix.
a5464014 17561 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17562
92d10796
AS
175632011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17564
17565 * progmodes/ld-script.el (ld-script-keywords)
17566 (ld-script-builtins): Update keywords list.
17567
914a0ae1
SM
175682011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17569
c89be45f
SM
17570 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17571
914a0ae1
SM
17572 * shell.el (shell-completion-vars): New function.
17573 (shell-mode):
17574 * simple.el (read-shell-command): Use it.
17575 (blink-matching-open): No need for " [...]" in minibuffer-message.
17576
98dc3df3
GM
175772011-05-12 Glenn Morris <rgm@gnu.org>
17578
17579 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17580 (appt-check): Simplify.
17581
d2fc7e3d 175822011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17583
4d61f28d 17584 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17585 literal "/dev/null".
17586
d2fc7e3d 175872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17588
17589 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17590 Fix typo.
17591
d2fc7e3d 175922011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17593
3f254caa
SM
17594 * progmodes/which-func.el (which-function):
17595 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17596 which might not be defined (Bug#8260).
17597
d45885f7
GM
175982011-05-12 Glenn Morris <rgm@gnu.org>
17599
17600 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17601 Let byte-compile-initial-macro-environment always take precedence.
17602
488086f4
SM
176032011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17604
17605 * net/rcirc.el: Add support for SSL/TLS connections.
17606 (rcirc-server-alist): New field `encryption'.
17607 (rcirc): Check `encryption' settings.
17608 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17609 Merge make-local-variable into `set'.
17610 (rcirc--connection-open-p): New function.
17611 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17612 the process is not a network process (e.g. running gnutls-cli).
17613 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17614 Make rcirc-(en|de)code-coding-system local here.
17615 (rcirc-mode): Merge make-local-variable into `set'.
17616 (rcirc-parent-buffer): Make permanent buffer-local.
17617 (rcirc-multiline-minor-mode): Don't do it here.
17618 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17619 there's no server buffer.
17620
7d3b9d44
GM
176212011-05-11 Glenn Morris <rgm@gnu.org>
17622
f64049c6
GM
17623 * newcomment.el (comment-kill): Prefix "unused" local.
17624
93c9df73
GM
17625 * term/w32console.el (get-screen-color): Declare.
17626
7d3b9d44
GM
17627 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17628 Handle symbol elements of byte-compile-initial-macro-environment.
17629
9e2dd53f
LL
176302011-05-10 Leo Liu <sdl.web@gmail.com>
17631
488086f4
SM
17632 * bookmark.el (bookmark-bmenu-mode-map):
17633 Bind bookmark-bmenu-search to `/'.
8b340240 17634
9e2dd53f 17635 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17636 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17637 (Footnote-unicode): New function.
17638 (footnote-style-alist): Add unicode style to the list.
17639 (footnote-style): Doc fix.
9e2dd53f 17640
79b70037
GM
176412011-05-10 Jim Meyering <meyering@redhat.com>
17642
17643 Fix doubled-word typos.
17644 * international/quail.el (quail-insert-kbd-layout): and and -> and
17645 * kermit.el: and and -> and
17646 * net/ldap.el (ldap-search-internal): to to -> to
17647 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17648 * progmodes/js.el (js-mode): and and -> and
17649 * textmodes/artist.el (artist-move-to-xy): at at -> at
17650 (artist-draw-region-trim-line-endings): if if -> if
17651 And Safetyc -> Safety.
17652 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17653
b8f82dc1 176542011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17655 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17656
17657 * files.el (hack-one-local-variable-eval-safep):
17658 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17659
4f99f44b
GM
176602011-05-10 Glenn Morris <rgm@gnu.org>
17661
17662 * calendar/diary-lib.el (diary-list-entries-hook)
17663 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17664 (diary-nongregorian-marking-hook, diary-list-entries)
17665 (diary-include-other-diary-files, diary-mark-entries)
17666 (diary-mark-included-diary-files): Doc fixes.
17667
84f29e6b
JB
176682011-05-09 Juanma Barranquero <lekktu@gmail.com>
17669
17670 * misc.el: Require tabulated-list.el during compilation.
17671
9bedd73a
CY
176722011-05-09 Chong Yidong <cyd@stupidchicken.com>
17673
488086f4
SM
17674 * progmodes/compile.el (compilation-start):
17675 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17676 (compilation-filter-hook): Doc fix.
17677
797c735c
DD
176782011-05-09 Deniz Dogan <deniz@dogan.se>
17679
17680 * wdired.el: Remove outdated installation comment. Fix usage
17681 comment.
17682
5f4b1dfe
JB
176832011-05-09 Juanma Barranquero <lekktu@gmail.com>
17684
17685 * misc.el: Implement new command `list-dynamic-libraries'.
17686 (list-dynamic-libraries--loaded-only-p): New variable.
17687 (list-dynamic-libraries--refresh): New function.
17688 (list-dynamic-libraries): New command.
17689
4c44026c
CY
176902011-05-09 Chong Yidong <cyd@stupidchicken.com>
17691
488086f4
SM
17692 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17693 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17694 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17695 higher priority to avoid clobbering by gnu.
17696
027f966d
CY
176972011-05-08 Chong Yidong <cyd@stupidchicken.com>
17698
17699 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17700 if the face has existing theme settings (Bug#8454).
17701
085f5d7d
CY
177022011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17703
488086f4
SM
17704 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17705 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17706
2a86a00c
RS
17707 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17708 special file names `.' and `..' (Bug#8259).
17709
d9c54a06
CY
177102011-05-08 Chong Yidong <cyd@stupidchicken.com>
17711
488086f4
SM
17712 * progmodes/grep.el (grep-mode-font-lock-keywords):
17713 Remove buffer-changing entries.
d9c54a06
CY
17714 (grep-filter): New function.
17715 (grep-mode): Add it to compilation-filter-hook.
17716
17717 * progmodes/compile.el (compilation-filter-hook)
17718 (compilation-filter-start): New defvars.
17719 (compilation-filter): Call compilation-filter-hook prior to
17720 updating the process mark.
17721
c4662635
SM
177222011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17723
17724 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17725
b0512a1d
EZ
177262011-05-07 Eli Zaretskii <eliz@gnu.org>
17727
605c9376
EZ
17728 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17729 mailclient-send-it even if window-system is nil. (Bug#8595)
17730
c4662635
SM
17731 * term/w32console.el (terminal-init-w32console):
17732 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17733 background-mode. (Bug#8597)
17734
d1dc2cc2
SM
177352011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17736
17737 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17738 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17739 New functions.
17740 (defgeneric, eieio--defmethod): Use them.
17741 (eieio-defgeneric): Remove.
17742 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17743
915d1300
GM
177442011-05-07 Glenn Morris <rgm@gnu.org>
17745
a3961c3e
GM
17746 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17747 Use let rather than let*.
17748 (timeclock-find-discrep): Remove unused local.
17749
314347b9
GM
17750 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17751
915d1300
GM
17752 * calendar/appt.el (appt-time-msg-list): Doc fix.
17753
275b59b0
NF
177542011-05-06 Noah Friedman <friedman@splode.com>
17755
17756 * apropos.el (apropos-print-doc): Only use
17757 emacs-lisp-docstring-fill-column when it is bound to an integer,
17758 per that variable's documentation.
17759
6c19f744
SM
177602011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17761
17762 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17763 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17764
60f884b2
GM
177652011-05-06 Glenn Morris <rgm@gnu.org>
17766
5006e634
GM
17767 * calendar/appt.el (appt-message-warning-time): Doc fix.
17768 (appt-warning-time-regexp): New option.
17769 (appt-make-list): Respect appt-message-warning-time.
17770
548d0a63
GM
17771 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17772 New options.
17773 (diary-add-to-list): Strip comments from the displayed string.
17774 (diary-mode): Set comment-start and comment-end.
17775
60f884b2
GM
17776 * vc/diff-mode.el (smerge-refine-subst): Declare.
17777 (diff-refine-hunk): Don't require smerge-mode when compiling.
17778
989681bb
JB
177792011-05-06 Juanma Barranquero <lekktu@gmail.com>
17780
17781 * simple.el (list-processes): Return nil as the docstring says.
17782
a6bc05e1
MA
177832011-05-05 Michael Albinus <michael.albinus@gmx.de>
17784
17785 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17786 to "".
17787 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17788 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17789 determining of binary transfer. (Bug#7383)
17790
23c22e9a
MA
177912011-05-05 Michael Albinus <michael.albinus@gmx.de>
17792
c4662635
SM
17793 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17794 Fix port computation bug. (Bug#8618)
23c22e9a 17795
0bff894f
GM
177962011-05-05 Glenn Morris <rgm@gnu.org>
17797
b8296902
GM
17798 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17799
1f522ce8
GM
17800 * simple.el (shell-dynamic-complete-functions)
17801 (comint-dynamic-complete-functions): Declare.
17802
cf5bee67
GM
17803 * net/network-stream.el (gnutls-negotiate):
17804 * simple.el (tabulated-list-print): Fix declarations.
17805
17806 * progmodes/gud.el (syntax-symbol, syntax-point):
17807 Remove unnecessary and incorrect declarations.
17808
0bff894f
GM
17809 * emacs-lisp/check-declare.el (check-declare-scan):
17810 Handle byte-compile-initial-macro-environment in bytecomp.el
17811
9869b3ae
SM
178122011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17813
17814 Fix earlier half-done eieio-defmethod change (bug#8338).
17815 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17816 Streamline and change calling convention.
17817 (defmethod): Adjust accordingly and simplify.
17818 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17819 new eieio--defmethod.
17820 (slot-boundp): Minor CSE simplification.
17821
9c1d5ac5
MZ
178222011-05-05 Milan Zamazal <pdm@zamazal.org>
17823
17824 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17825 (glasses-make-readable): Use glasses-separate-capital-groups.
17826
455c834e
JB
178272011-05-05 Juanma Barranquero <lekktu@gmail.com>
17828
17829 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17830 (warning-series): Doc fix.
17831 (display-warning): Don't try to create the buffer if we just found it.
17832
9ed7c8cb
CY
178332011-05-04 Chong Yidong <cyd@stupidchicken.com>
17834
17835 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17836 (autoload-find-generated-file): New function.
17837 (generate-file-autoloads): Bind generated-autoload-file to
17838 buffer-file-name.
9869b3ae
SM
17839 (update-file-autoloads, update-directory-autoloads):
17840 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17841 output file (Bug#7989).
17842 (batch-update-autoloads): Doc fix.
17843
0898ca10
JB
178442011-05-04 Juanma Barranquero <lekktu@gmail.com>
17845
17846 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17847
31dfb76c
GM
178482011-05-04 Glenn Morris <rgm@gnu.org>
17849
f330b642
GM
17850 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17851 function, so it follows changes in calendar-date-style.
17852 (diary-fancy-date-matcher): New function.
17853 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17854 (diary-fancy-font-lock-fontify-region-function):
17855 Use diary-fancy-date-pattern as a function.
17856
31dfb76c
GM
17857 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17858 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17859
48e79d6a
TZ
178602011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17861
17862 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17863 instead of positional arguments. Allow :keylist and :crlfiles
17864 arguments.
17865 (open-gnutls-stream): Call it.
17866
17867 * net/network-stream.el (network-stream-open-starttls): Adjust to
17868 call `gnutls-negotiate' with :process and :hostname arguments.
17869
dd5a5ee0
SM
178702011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17871
ef80fc09
SM
17872 * minibuffer.el (completion--message): New function.
17873 (completion--do-completion, minibuffer-complete)
17874 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17875 (completion--do-completion): Don't ignore completion-auto-help when in
17876 icomplete-mode.
17877
dd5a5ee0
SM
17878 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17879 internal encoding (e.g. tibetan zero is not whitespace).
17880 (global-whitespace-mode): Prefer save-current-buffer.
17881 (whitespace-trailing-regexp): Remove useless save-match-data.
17882 (whitespace-empty-at-bob-regexp): Minor simplification.
17883
b7d22a83
CY
178842011-05-03 Chong Yidong <cyd@stupidchicken.com>
17885
17886 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17887
5192af46
AM
178882011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17889
17890 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17891 Use `concat' to create string for insertion.
5192af46 17892
5767d190
SM
178932011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17894
17895 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17896 Avoid open-line which runs post-self-insert-hook.
17897 (bibtex-fill-entry): Remove unused `end' var.
17898
bf242939
AM
178992011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17900
5767d190
SM
17901 * textmodes/ispell.el (ispell-add-per-file-word-list):
17902 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17903
25666126
LL
179042011-05-03 Leo Liu <sdl.web@gmail.com>
17905
17906 * isearch.el (isearch-yank-pop): New command.
5767d190 17907 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17908 (isearch-forward): Mention it.
17909
52d3c2d0
SM
179102011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17911
1bcace58
SM
17912 * simple.el (minibuffer-complete-shell-command): Remove.
17913 (minibuffer-local-shell-command-map): Use completion-at-point.
17914 (read-shell-command): Setup completion vars here instead.
17915 (read-expression-map): Bind TAB to symbol completion.
17916
52d3c2d0
SM
17917 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17918 error directly rather via storing it into `results'.
17919
35813471
LL
179202011-05-02 Leo Liu <sdl.web@gmail.com>
17921
17922 * vc/diff.el: Fix description.
17923
e793a940
LMI
179242011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17925
17926 * server.el (server-eval-at): New function.
17927
8de66e05
LMI
179282011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17929
17930 * net/network-stream.el (open-network-stream): Take a :nowait
17931 parameter and pass it on to `make-network-process'.
17932 (network-stream-open-plain): Ditto.
17933
dcb79f20
AS
179342011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17935
17936 * faces.el (face-spec-set-match-display): Don't match toolkit
17937 options on terminal frames.
17938
14a7fbd8
SM
179392011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17940
7eabc1be
SM
17941 * progmodes/pascal.el: Use lexical binding.
17942 (pascal-mode-map): Remove author preferences.
17943
14a7fbd8
SM
17944 * pcomplete.el (pcomplete-std-complete): Don't abuse
17945 completion-at-point.
17946
50f84510
JB
179472011-04-28 Juanma Barranquero <lekktu@gmail.com>
17948
6e087a44
JB
17949 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17950 removing code that has been dead since 1991 or so.
17951
50f84510
JB
17952 * startup.el (command-line): When warning about "_emacs", use a
17953 delayed warning to allow the user to filter it out.
17954
0ba690bd
DD
179552011-04-28 Deniz Dogan <deniz@dogan.se>
17956
17957 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17958 user has not joined.
17959
08abfaad
SM
179602011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17961
17962 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17963 aren't any completions at point.
17964
638f053a
JB
179652011-04-28 Juanma Barranquero <lekktu@gmail.com>
17966
17967 * subr.el (display-delayed-warnings): New function.
17968 (delayed-warnings-hook): New variable.
17969
8fff8daa
SM
179702011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17971
08abfaad
SM
17972 * minibuffer.el (completion-at-point, completion-help-at-point):
17973 Don't presume that a given completion-at-point-function will always
17974 use the same calling convention.
17975
8fff8daa
SM
17976 * pcomplete.el (pcomplete-completions-at-point):
17977 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17978 pcomplete-seen is non-nil.
17979 (pcomplete-comint-setup): Also recognize the new comint/shell
17980 completion functions.
17981 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17982 pcomplete-seen is non-nil.
17983
841a1577 179842011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17985
841a1577 17986 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17987 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17988 the first character in the entry. This allows for code to add its
211ec907
UJ
17989 own uid to the entry.
17990 (icalendar--convert-float-to-ical): Add export of
17991 `diary-float'-entries save for those with the optional DAY
17992 argument.
17993
2a782793
DC
179942011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17995
17996 * subr.el (shell-quote-argument): Use alternate escaping strategy
17997 when we spot a variable reference in a string.
17998
0438ce91
DC
179992011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18000
18001 * cus-start.el (all): Define customization for debug-on-event.
18002
841a1577 180032011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18004
18005 * subr.el (shell-quote-argument): Escape correctly under Windows.
18006
d090ed6c
SM
180072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18008
18009 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18010
bfd31217
MA
180112011-04-25 Michael Albinus <michael.albinus@gmx.de>
18012
d090ed6c
SM
18013 * net/tramp.el (tramp-process-actions): Add POS argument.
18014 Delete region between POS and (pos).
bfd31217 18015
d090ed6c
SM
18016 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18017 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18018 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18019
18020 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18021 position in `tramp-process-actions' call.
18022
18023 * net/trampver.el: Update release number.
18024
e92f3bd3
SM
180252011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18026
850256b5
SM
18027 * custom.el (defcustom): Obey lexical-binding.
18028
e92f3bd3
SM
18029 Fix octave-inf completion problems reported by Alexander Klimov.
18030 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18031 Inherit from octave-mode-syntax-table.
18032 (inferior-octave-mode): Set info-lookup-mode.
18033 (inferior-octave-completion-at-point): New function.
18034 (inferior-octave-complete): Use it and completion-in-region.
18035 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18036 comint-filename-completion.
18037 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18038 symbol elements which shouldn't be word elements.
18039 (octave-font-lock-keywords, octave-beginning-of-defun)
18040 (octave-function-header-regexp): Adjust regexps accordingly.
18041 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18042
cd22b309
JB
180432011-04-25 Juanma Barranquero <lekktu@gmail.com>
18044
18045 * net/gnutls.el (gnutls-errorp): Declare before first use.
18046
8b492194
TZ
180472011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18048
18049 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18050 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18051 default trustfile exists before going to use it. Add missing
5a5fa834 18052 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18053 Reported by Claudio Bley <claudio.bley@gmail.com>.
18054 (open-gnutls-stream): Add usage example.
18055
18056 * net/network-stream.el (network-stream-open-starttls): Give host
18057 parameter to `gnutls-negotiate'.
18058 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18059 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18060
841a1577 180612011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18062
cd22b309
JB
18063 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18064 Use correct match group (bug#8438).
05842630 18065
3ba7869c
CY
180662011-04-24 Chong Yidong <cyd@stupidchicken.com>
18067
512e3ae1
CY
18068 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18069 (package-menu--generate): New arg specifying packages to show.
18070 (package-menu-refresh, package-menu-execute, list-packages):
18071 Callers changed.
18072 (package-show-package-list): New function, replacing deleted
18073 package--list-packages (renamed because it is non-internal).
18074
18075 * finder.el (finder-list-matches): Use package-show-package-list
18076 instead of deleted package--list-packages.
18077
e92f3bd3
SM
18078 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18079 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18080 (vc-annotate-mode-map): Bind it to RET.
18081
7031be6d
UR
180822011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18083
18084 * progmodes/etags.el (next-file): Don't use set-buffer to change
18085 buffers (Bug#8478).
18086
4ef177aa
CY
180872011-04-24 Chong Yidong <cyd@stupidchicken.com>
18088
c8d173eb
CY
18089 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18090
4ef177aa
CY
18091 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18092 (apropos-accumulator): Doc fix.
18093 (apropos-function, apropos-macro, apropos-command)
18094 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18095 (apropos-plist): Add face property.
18096 (apropos-symbols-internal): Fix indentation.
18097 (apropos-print): Simplify help, and recognize apropos-multi-type.
18098 (apropos-print-doc): Use button-type-get to extract the button's
18099 face property. Fill docstring (Bug#8352).
18100
4ffd0d6b 181012011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18102
18103 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18104
c6c32125 18105 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18106 (mpuz-mode-map): Use mapc.
c6c32125
JB
18107 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18108 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18109 Fix typos in docstrings.
18110
58d468b4
JB
18111 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18112 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18113
6470c3c6
JB
18114 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18115
4ffd0d6b 181162011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18117
18118 * minibuffer.el (completion--do-completion): Avoid the "Next char
18119 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18120
3ad8bad0
CY
18121 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18122 mouse-2 into unread-command-events, it is interpreted correctly.
18123
71d73c9c 18124 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18125 (image-toggle-display): Doc fix.
71d73c9c 18126
841a1577 181272011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18128
4ffd0d6b
GM
18129 * textmodes/page.el (what-page): Use line-number-at-pos to
18130 calculate line number (Bug#6825).
6e1dbaa9 18131
c2fb1b60
JB
181322011-04-22 Juanma Barranquero <lekktu@gmail.com>
18133
18134 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18135 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18136 Pass argument NO-DEFAULT to `find-tag-interactive'.
18137
e02f48d7
JB
181382011-04-22 Juanma Barranquero <lekktu@gmail.com>
18139
18140 Lexical-binding cleanup.
18141
18142 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18143 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18144 * progmodes/ada-prj.el (ada-prj-initialize-values)
18145 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18146 (ada-prj-show-value):
18147 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18148 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18149 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18150 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18151 * progmodes/bug-reference.el (bug-reference-push-button):
18152 * progmodes/fortran.el (fortran-line-length):
18153 * progmodes/glasses.el (glasses-change):
18154 * progmodes/octave-mod.el (octave-fill-paragraph):
18155 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18156 (python-pdbtrack-grub-for-buffer, python-sentinel):
18157 * progmodes/sql.el (sql-save-connection):
18158 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18159 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18160 Mark unused parameters.
18161
18162 * progmodes/compile.el (compilation--flush-directory-cache)
18163 (compilation--flush-parse, compile-internal): Mark unused parameters.
18164 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18165 (compilation-next-error-function): Remove unused variable `timestamp'.
18166
18167 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18168 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18169
18170 * progmodes/dcl-mode.el (dcl-end-of-command):
18171 Remove unused variable `start'.
18172 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18173 (dcl-option-value-basic, dcl-option-value-offset)
18174 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18175 Mark unused parameters.
18176 (dcl-save-local-variable): Remove unused variable `val'.
18177 (mode): Declare.
18178
18179 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18180 Mark unused parameters.
18181 (delphi-ignore-changes): Move before first use.
18182 (delphi-charset-token-at): Remove unused variable `start'.
18183 (delphi-else-start): Remove unused variable `if-count'.
18184 (delphi-comment-block-start, delphi-comment-block-end):
18185 Remove unused variable `kind'.
18186 (delphi-indent-line): Remove unused variable `new-point'.
18187
18188 * progmodes/ebrowse.el (ebrowse-files-list)
18189 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18190 Mark unused parameters. Don't quote `lambda'.
18191 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18192 Don't quote `lambda'.
18193 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18194 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18195 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18196 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18197 Use `ignore-errors'.
18198 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18199 (ebrowse-view/find-file-and-search-pattern)
18200 (ebrowse-view/find-member-declaration/definition):
18201 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18202 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18203 Rename parameter PREFIX-ARG to PREFIX.
18204 (ebrowse-tags-read-name): Remove unused variables `start' and
18205 `member-info'.
18206 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18207 to `tags-file'.
18208
18209 * progmodes/etags.el (local-find-tag-hook): Declare.
18210 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18211 Mark unused parameters.
18212
18213 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18214 (executable-interpret): Mark unused parameter.
18215
18216 * progmodes/flymake.el (flymake-process-sentinel)
18217 (flymake-after-change-function)
18218 (flymake-create-temp-with-folder-structure)
18219 (flymake-get-include-dirs-dot): Mark unused parameters.
18220 (flymake-safe-delete-directory): Remove unused variable `err'.
18221
18222 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18223 (speedbar-timer-fn, speedbar-line-text)
18224 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18225 (speedbar-center-buffer-smartly): Declare functions.
18226 (gdb-find-watch-expression): Remove unused variable `array'.
18227 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18228 (gdb-starting): Mark unused parameters.
18229 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18230 (gdb-table-string): Remove unused variable `res'.
18231 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18232 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18233 (gdb-display-buffer): Remove unused variable `cur-size'.
18234
18235 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18236 allow lexical-binding compilation.
18237 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18238 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18239 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18240 Mark unused parameters.
18241 (gud-gdb-marker-filter): Remove unused variable `match'.
18242 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18243 lambda expressions and funcall them, instead of using `fset'.
18244
18245 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18246 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18247
18248 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18249 variable `header-beg'; use `let'.
18250
18251 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18252 `restart', `last-sexp' and `at-do'.
18253
18254 * progmodes/js.el (js--debug): Mark unused parameter.
18255 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18256 (js--splice-into-items): Remove unused variable `item'.
18257 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18258
18259 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18260 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18261 (makefile-complete): Remove unused variable `try'.
18262 (makefile-fill-paragraph, makefile-match-function-end):
18263 Mark unused parameters.
18264
18265 * progmodes/octave-inf.el (inferior-octave-complete):
18266 Remove unused variable `proc'.
18267 (inferior-octave-output-digest): Mark unused parameter.
18268
18269 * progmodes/perl-mode.el (perl-calculate-indent):
18270 Remove unused variable `err'.
18271
18272 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18273 (prolog-indent-line): Mark unused parameters.
18274 (prolog-indent-line): Remove unused variable `beg'.
18275
18276 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18277 (reporter-dont-compact-list): Declare.
18278
18279 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18280 Remove unused variable `char'.
18281 (sh-debug): Mark unused parameter.
18282 (sh-get-indent-info): Remove unused variable `start'.
18283 (sh-calculate-indent): Remove unused variable `var'.
18284
18285 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18286 (simula-electric-keyword): Remove unused variable `null'.
18287 (simula-search-backward, simula-search-forward): Remove unused
18288 variables `begin' and `end'.
18289
18290 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18291 Remove unused variable `pos'.
18292 (vera-electric-tab, vera-comment-uncomment-region):
18293 Mark unused parameters.
18294 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18295
7ede3b65
CY
182962011-04-22 Chong Yidong <cyd@stupidchicken.com>
18297
18298 * emacs-lisp/package.el (package--builtins, package-alist)
18299 (package-load-descriptor, package-built-in-p, package-activate)
18300 (define-package, package-installed-p)
18301 (package-compute-transaction, package-buffer-info)
18302 (package--push): Doc fix. Distinguish more clearly between
18303 version strings and version lists.
18304
121656e9
JB
183052011-04-21 Juanma Barranquero <lekktu@gmail.com>
18306
18307 Lexical-binding cleanup.
18308
18309 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18310 (5x5-make-mutate-best):
18311 * play/fortune.el (fortune-in-buffer):
18312 * play/gomoku.el (gomoku-init-display):
18313 * play/solitaire.el (solitaire, solitaire-do-check):
18314 * play/tetris.el (tetris-default-update-speed-function):
18315 Mark unused parameters.
18316
18317 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18318 (bubbles--shift): Remove unused variable `char-org'.
18319 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18320 (bubbles--show-images): Remove unused variable `char'.
18321
18322 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18323 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18324 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18325 (decipher-analyze-buffer): Use ?\s.
18326 (decipher-make-checkpoint): Remove unused variable `mapping'.
18327
18328 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18329
18330 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18331 Remove unused variable `result'; use `let'.
18332
18333 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18334 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18335 (gametree-children-shown-p, gametree-compute-reduced-score):
18336 Use `ignore-errors'.
18337
18338 * play/handwrite.el (ps-lpr-switches): Declare.
18339 (handwrite): Remove unused variables `pmin' and `lastp'.
18340
18341 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18342
18343 * play/landmark.el (landmark-init-display)
18344 (landmark-update-naught-weights): Mark unused parameters.
18345 (landmark-y): Remove unused variable `noise'. Simplify.
18346 (landmark-human-plays): Remove unused variable `score'.
18347
18348 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18349 (mpuz-try-proposal): Remove unused variable `game'.
18350
18351 * play/zone.el (life-patterns): Declare.
18352
80f499c7
JB
183532011-04-20 Juanma Barranquero <lekktu@gmail.com>
18354
18355 * vc/vc.el (ediff-vc-internal): Declare function.
18356
024ff170
SM
183572011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18358
c0a193ea
SM
18359 * shell.el: Use lexical-binding and std completion UI.
18360 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18361 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18362 comint-preoutput-filter-functions rather than on
18363 comint-output-filter-functions.
18364 (shell-command-completion, shell--command-completion-data)
18365 (shell-filename-completion, shell-environment-variable-completion)
18366 (shell-c-a-p-replace-by-expanded-directory): New functions.
18367 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18368 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18369 (shell-dynamic-complete-environment-variable): Use them.
18370 (shell-dynamic-complete-as-environment-variable)
18371 (shell-dynamic-complete-as-command): Remove.
18372 (shell-match-partial-variable): Match past point.
18373 * comint.el: Clean up use of completion-at-point-functions.
18374 (comint-completion-at-point): New function.
18375 (comint-mode): Use it completion-at-point-functions.
18376 (comint-dynamic-complete): Make it obsolete.
18377 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18378 (comint-c-a-p-replace-by-expanded-history): New function.
18379 (comint-dynamic-complete-functions)
18380 (comint-replace-by-expanded-history): Use it.
18381 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18382 termination strings. Try harder to avoid second try-completion.
18383 (completion-in-region-mode-map): Disable bindings that don't work yet.
18384
2dbaa080
SM
18385 * comint.el: Use lexical-binding. Require CL.
18386 (comint-dynamic-complete-functions): Use comint-filename-completion.
18387 (comint-completion-addsuffix): Tweak custom type.
18388 (comint-filename-completion, comint--common-suffix)
18389 (comint--common-quoted-suffix, comint--table-subvert)
18390 (comint--complete-file-name-data): New functions.
18391 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18392 (comint-dynamic-list-filename-completions): Use them.
18393 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18394
2dbaa080
SM
18395 * minibuffer.el (completion-in-region-mode):
18396 Keep completion-in-region-mode--predicate global.
18397 (completion-in-region--postch):
18398 Assume completion-in-region-mode--predicate is not null.
18399
c79a6f38
SM
18400 * progmodes/flymake.el (flymake-start-syntax-check-process):
18401 Obey `dir'. Simplify.
18402
024ff170
SM
18403 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18404 we're in VC after all.
18405
1c6c854e
CS
184062011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18407
18408 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18409 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18410 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18411
bed7f140
SM
184122011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18413
332e62ab
SM
18414 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18415 add sanity check.
18416
bed7f140
SM
18417 * obsolete/erc-hecomplete.el: Make obsolete.
18418 * obsolete/: Standardize obsolescence info in the header.
18419
f195c582
GM
184202011-04-20 Glenn Morris <rgm@gnu.org>
18421
18422 * calendar/solar.el (solar-horizontal-coordinates):
18423 Use the longitude argument rather than `calendar-longitude'.
18424 (solar-date-next-longitude): Remove unused locals.
18425
cb79b8c0
VJL
184262011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18427
18428 * whitespace.el: New version 13.2.1.
18429
184302011-04-20 felix <EmacsWiki> (tiny change)
18431
d8e4b68b 18432 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18433 switching between major modes on a file.
18434
602ea69d
SM
184352011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18436
18437 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18438 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18439 multi-line comments as well.
18440
06b60517
JB
184412011-04-19 Juanma Barranquero <lekktu@gmail.com>
18442
18443 Lexical-binding cleanup.
18444
18445 * arc-mode.el (archive-mode-revert):
18446 * cmuscheme.el (scheme-interactively-start-process):
18447 * custom.el (custom-initialize-delay):
18448 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18449 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18450 * emacs-lock.el (emacs-lock-clear-sentinel):
18451 * ezimage.el (defezimage):
18452 * follow.el (follow-avoid-tail-recenter):
18453 * fringe.el (set-fringe-mode-1):
18454 * generic-x.el (bat-generic-mode-compile):
18455 * help-mode.el (help-info-variable, help-do-xref)
18456 (help-mode-revert-buffer):
18457 * help.el (view-emacs-todo):
18458 * iswitchb.el (iswitchb-completion-help):
18459 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18460 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18461 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18462 * locate.el (locate-update):
18463 * longlines.el (longlines-encode-region)
18464 (longlines-after-change-function):
18465 * outline.el (outline-isearch-open-invisible):
18466 * ps-def.el (declare-function, charset-dimension, char-width)
18467 (encode-char):
18468 * ps-mule.el (ps-mule-plot-string):
18469 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18470 (recentf-edit-list-select, recentf-edit-list-validate)
18471 (recentf-open-files-action):
18472 * rect.el (delete-whitespace-rectangle-line)
18473 (rectangle-number-line-callback):
18474 * register.el (window-configuration-to-register)
18475 (frame-configuration-to-register):
18476 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18477 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18478 (xselect-convert-to-targets, xselect-convert-to-delete)
18479 (xselect-convert-to-filename, xselect-convert-to-charpos)
18480 (xselect-convert-to-lineno, xselect-convert-to-colno)
18481 (xselect-convert-to-os, xselect-convert-to-host)
18482 (xselect-convert-to-user, xselect-convert-to-class)
18483 (xselect-convert-to-name, xselect-convert-to-integer)
18484 (xselect-convert-to-atom, xselect-convert-to-identity):
18485 * subr.el (declare, ignore, process-kill-without-query)
18486 (text-clone-maintain):
18487 * terminal.el (te-get-char, te-tic-sentinel):
18488 * tool-bar.el (tool-bar-make-keymap):
18489 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18490 * type-break.el (type-break-mode, type-break-noninteractive-query):
18491 * view.el (View-back-to-mark):
18492 * wid-browse.el (widget-browse-action, widget-browse-widget)
18493 (widget-browse-widgets, widget-browse-sexp):
18494 * widget.el (define-widget-keywords):
18495 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18496 Mark unused parameters.
18497
18498 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18499 (align-areas): Remove unused variable `look'.
18500 (align-region): Remove unused variables `real-end' and `pos-list'.
18501
18502 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18503
18504 * bindings.el (mode-line-modified, mode-line-remote):
18505 Mark unused parameters.
18506 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18507
18508 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18509 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18510
18511 * comint.el (comint-history-isearch-pop-state)
18512 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18513 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18514 (comint-substitute-in-file-name): Doc fix.
18515
18516 * completion.el (cmpl-statistics-block): Mark unused parameter.
18517 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18518 (save-completions-to-file, load-completions-from-file):
18519 Remove unused local variable `e'.
18520
18521 * composite.el (compose-chars): Remove unused variable `len'.
18522 (lgstring-insert-glyph): Remove unused variable `g'.
18523 (compose-glyph-string): Remove unused variables `ascent',
18524 `descent', `lbearing' and `rbearing'.
18525 (compose-glyph-string-relative): Remove unused variables
18526 `lbearing', `rbearing' and `wadjust'.
18527 (compose-gstring-for-graphic): Remove unused variables `header',
18528 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18529 (compose-gstring-for-terminal): Remove unused variables `header'
18530 and `nchars'. Use `let', not `let*'.
18531
18532 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18533 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18534 (Custom-buffer-done, custom-buffer-create-internal)
18535 (custom-browse-visibility-action, custom-browse-group-tag-action)
18536 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18537 (widget-magic-mouse-down-action, custom-toggle-parent)
18538 (custom-add-parent-links, custom-toggle-hide-variable)
18539 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18540 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18541 (custom-face-menu-create, custom-variable-menu-create, get)
18542 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18543 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18544 (customize-apropos): Remove unused variable `tests'.
18545 (custom-group-value-create): Remove unused variable `hidden-p'.
18546 (sort-fold-case): Declare.
18547
18548 * cus-theme.el (custom-reset-standard-faces-list)
18549 (custom-reset-standard-variables-list): Declare.
18550 (customize-create-theme, custom-theme-revert, custom-theme-write)
18551 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18552 Mark unused parameters.
18553
18554 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18555
18556 * delim-col.el (delimit-columns-max): Move defvar before first use.
18557
18558 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18559 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18560
18561 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18562 (auto-insert): Declare.
18563 (desktop-restore-file-buffer): Rename desktop-* parameters;
18564 mark unused ones.
18565 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18566 (desktop-buffer): Rename desktop-* parameters.
18567
18568 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18569 (dframe-reposition-frame-xemacs, dframe-help-echo)
18570 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18571 Mark unused parameters.
18572
18573 * dired-aux.el (backup-extract-version-start, overwrite-query)
18574 (overwrite-backup-query, rename-regexp-query)
18575 (rename-non-directory-query): Declare.
18576 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18577 (dired-add-entry): Remove unused variable `orig-file-name'.
18578 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18579 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18580 `dired-copy-preserve-time' directly.
18581 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18582 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18583
18584 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18585 (dired-virtual-revert, dired-make-relative-symlink):
18586 Mark unused parameters.
18587 (manual-program): Declare.
18588 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18589 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18590 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18591
18592 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18593
18594 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18595
18596 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18597 Declare.
18598
18599 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18600
18601 * electric.el (Electric-command-loop): Rename parameter
18602 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18603
18604 * expand.el (expand-in-literal): Remove unused variable `here'.
18605
18606 * facemenu.el (facemenu-add-new-color):
18607 Remove unused variable `docstring'.
18608
18609 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18610 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18611 (face-attr-construct): Mark unused parameter. Doc fix.
18612 (read-color): Remove unused variable `hex-string'.
18613
18614 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18615 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18616 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18617 (display-buffer-other-frame): Remove unused variable `old-window'.
18618 (kill-buffer-hook): Declare.
18619 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18620 Mark unused parameters.
18621 (after-find-file): Pass 1 to `auto-save-mode', not t.
18622
18623 * files-x.el (auto-insert): Declare.
18624 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18625
18626 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18627 variable `buf'. Mark unused parameter.
06b60517
JB
18628 (find-lisp-insert-directory): Mark unused parameter.
18629
18630 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18631 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18632 (format-common-tail): Remove, unused.
18633 (format-deannotate-region): Remove unused variable `loc'.
18634 (format-annotate-region): Remove unused variable `p'.
18635 (format-annotate-single-property-change): Remove unused variables
18636 `default' and `tail'.
18637
18638 * forms.el (read-file-filter): Declare.
18639 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18640
18641 * frame.el (frame-creation-function-alist): Mark unused parameter.
18642 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18643
18644 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18645 Remove unused parameters.
18646 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18647 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18648
18649 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18650 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18651 (hfy-prepare-tag-map): Mark unused parameters.
18652 (htmlfontify-buffer): Use `called-interactively-p'.
18653
18654 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18655 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18656 (ibuffer-do-occur): Mark unused parameters.
18657 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18658 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18659
18660 * ibuffer.el: Don't quote `lambda'.
18661 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18662 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18663 Mark unused parameters.
18664
18665 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18666 (ido-completing-read): Mark unused parameters.
18667 (ido-copy-current-word): Mark unused parameters;
18668 remove unused variable `name'.
18669 (ido-sort-merged-list): Remove unused parameter `dirs'.
18670
18671 * ielm.el (ielm-input-sender): Mark unused parameter.
18672 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18673 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18674 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18675 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18676 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18677
18678 * image-dired.el (image-dired-display-thumbs): Remove unused
18679 variables `curr-file' and `count'.
18680 (image-dired-remove-tag): Remove unused variable `start'.
18681 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18682 variable `curr-file'
18683 (image-dired-rotate-original): Remove unused variable `temp-file'.
18684 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18685 Remove unused variable `file'.
18686 (image-dired-gallery-generate): Remove unused variable `curr'.
18687 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18688
18689 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18690
18691 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18692
18693 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18694
18695 * isearch.el (minibuffer-history-symbol): Declare.
18696 (isearch-edit-string): Remove unused variable `err'.
18697 (isearch-message-prefix, isearch-message-suffix):
18698 Mark unused parameters.
18699
18700 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18701
18702 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18703
18704 * makesum.el (double-column): Remove unused variable `cnt'.
18705
18706 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18707 (ido-ignore-item-temp-list): Declare.
18708
18709 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18710 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18711 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18712 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18713 `mouse-col-delta'.
18714
18715 * mouse-sel.el (mouse-extend-internal):
18716 Remove unused variable `orig-window-frame'.
18717
18718 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18719 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18720 Move declarations before first use.
18721 (pcomplete-opt): Mark unused parameters; doc fix.
18722
18723 * proced.el (proced-revert): Mark unused parameter.
18724 (proced-send-signal): Remove unused variable `err'.
18725
18726 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18727 Rename parameter PREFIX-ARG to ARG.
18728 (ps-basic-plot-string, ps-basic-plot-whitespace):
18729 Mark unused parameters.
18730
18731 * replace.el (replace-count): Define.
18732 (occur-revert-function): Mark unused parameters.
18733 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18734 (isearch-case-fold-search, isearch-string): Declare.
18735 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18736 bind `case-fold-search'. Remove unused variables `beg' and `end',
18737 and simplify.
18738 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18739 COUNT and bind `replace-count'.
18740 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18741 to COUNT.
18742
18743 * savehist.el (print-readably, print-string-length): Declare.
18744
18745 * shadowfile.el (shadow-expand-cluster-in-file-name):
18746 Remove unused variable `cluster'.
18747 (shadow-copy-file): Remove unused variable `i'.
18748 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18749 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18750 (shadow-define-literal-group, shadow-define-regexp-group)
18751 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18752
18753 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18754 (shell): Use `called-interactively-p'.
18755 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18756
18757 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18758 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18759 (delete-backward-char): Remove unused variable `ocol'.
18760 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18761 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18762 (event-apply-hyper-modifier, event-apply-shift-modifier)
18763 (event-apply-control-modifier, event-apply-meta-modifier):
18764 Mark unused parameters.
18765 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18766 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18767
18768 * speedbar.el (speedbar-ignored-directory-expressions)
18769 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18770 (speedbar-find-file, speedbar-dir-follow)
18771 (speedbar-directory-buttons-follow, speedbar-tag-find)
18772 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18773 (speedbar-buffers-line-directory, speedbar-buffer-click):
18774 Mark unused parameters.
18775 (speedbar-tag-file): Remove unused variable `mode'.
18776 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18777
18778 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18779
18780 * talk.el (talk): Remove unused variable `display'.
18781
18782 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18783 (tar-write-region-annotate): Mark unused parameter.
18784
18785 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18786 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18787 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18788 warning by another.
18789
18790 * time-stamp.el (time-stamp-string-preprocess):
18791 Remove unused variable `require-padding'.
18792
18793 * tree-widget.el (widget-glyph-enable): Declare.
18794 (tree-widget-action): Mark unused parameter.
18795
18796 * w32-fns.el (x-get-selection): Mark unused parameter.
18797 (autoload-make-program, generated-autoload-file): Declare.
18798
18799 * wdired.el (wdired-revert): Mark unused parameters.
18800 (wdired-xcase-word): Remove unused variable `err'.
18801
18802 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18803 (whitespace-help-scroll): Remove unused variable `data-help'.
18804
18805 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18806 (widget-image-insert, widget-after-change, default)
18807 (widget-default-format-handler, widget-default-notify)
18808 (widget-default-prompt-value, widget-info-link-action)
18809 (widget-url-link-action, widget-function-link-action)
18810 (widget-variable-link-action, widget-file-link-action)
18811 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18812 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18813 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18814 (widget-insert-button-action, widget-delete-button-action, visibility)
18815 (widget-documentation-link-action, widget-documentation-string-action)
18816 (widget-const-prompt-value, widget-regexp-match, symbol)
18817 (widget-coding-system-prompt-value)
18818 (widget-key-sequence-value-to-external, sexp)
18819 (widget-sexp-value-to-internal, character, vector, cons)
18820 (widget-choice-prompt-value, widget-boolean-prompt-value)
18821 (widget-color--choose-action): Mark unused parameters.
18822 (widget-item-match-inline, widget-choice-match-inline)
18823 (widget-checklist-match, widget-checklist-match-inline)
18824 (widget-group-match): Rename parameter VALUES to VALS.
18825 (widget-field-value-set): Remove unused variable `size'.
18826 (widget-color-action): Remove unused variables `value' and `start'.
18827
18828 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18829 variable `dir'. Doc fix.
06b60517
JB
18830 (windmove-find-other-window): Don't pass it.
18831
18832 * window.el (count-windows): Mark unused parameter.
18833 (bw-adjust-window): Remove unused variable `err'.
18834
18835 * woman.el (woman-file-name): Remove unused variable `default'.
18836 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18837 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18838 (global-font-lock-mode): Declare.
18839 (woman-decode-region): Mark unused parameter.
18840 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18841
18842 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18843 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18844 (x-dnd-handle-moz-url): Remove unused variable `title'.
18845 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18846
18847 * xml.el (xml-parse-tag, xml-parse-attlist):
18848 Remove unused variable `pos'.
18849
bc4f7f3d
GM
188502011-04-19 Glenn Morris <rgm@gnu.org>
18851
18852 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18853 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18854 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18855 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18856 * calendar/cal-html.el (cal-html-insert-minical):
18857 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18858 (calendar-mark-date-pattern):
18859 Prefix "unused" locals.
18860
18861 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18862 optional argument `style'.
18863
18864 * calendar/appt.el (appt-make-list):
18865 * calendar/cal-china.el (calendar-chinese-date-string):
18866 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18867 (diary-hebrew-yahrzeit):
18868 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18869 * calendar/calendar.el (calendar-generate-window):
18870 * calendar/time-date.el (time-to-days):
18871 Remove unused local variables.
18872
16a43933
CY
188732011-04-18 Chong Yidong <cyd@stupidchicken.com>
18874
18875 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18876 glyphless-char-display table.
18877 (tabulated-list-glyphless-char-display): New var.
18878
7eed1860
SS
188792011-04-18 Sam Steingold <sds@gnu.org>
18880
18881 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18882 to acknowledgments.
18883
4d2d1ccd
GM
188842011-04-17 Glenn Morris <rgm@gnu.org>
18885
18886 * calendar/diary-lib.el (diary-sexp-entry):
18887 * calendar/holidays.el (holiday-sexp):
18888 Set debug-on-error rather than the removed stack-trace-on-error.
18889
239da61d
GM
188902011-04-16 Glenn Morris <rgm@gnu.org>
18891
18892 * progmodes/f90.el: Use lexical-binding.
18893 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18894
8b05752a
SM
188952011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18896
daca8ba5
SM
18897 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18898 (mail-mode): Setup mailalias completion here instead.
18899 * mail/mailalias.el: Use lexical-binding.
18900 (pattern, mailalias-done): Declare dynamic.
18901 (mail-completion-at-point-function): New function, from mail-complete.
18902 (mail-complete): Use it.
18903 (mail-completion-expand): New function.
18904 (mail-get-names): Use it.
18905 (mail-directory, mail-directory-process, mail-directory-stream):
18906 Don't use `pattern' for lexically bound arg.
18907
6f542485
SM
18908 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18909
037e7c3f
SM
18910 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18911 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18912 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18913
8b05752a
SM
18914 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18915 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18916 (byte-interactive-p): Define them again, for use when inlining
18917 old code.
18918
49093f60
JB
189192011-04-15 Juanma Barranquero <lekktu@gmail.com>
18920
18921 * loadup.el: Use `string-to-number', not `string-to-int'.
18922
b5b8e7de
SM
189232011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18924
18925 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18926 gud-gdb-complete-command.
18927 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18928 (gud-gdb-completion-at-point): New function.
18929 (gud-gdb-completions): Remove.
18930
f42efeb5
MA
189312011-04-14 Michael Albinus <michael.albinus@gmx.de>
18932
49093f60
JB
18933 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18934 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18935 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18936 whether `executable-find' is bound.
f42efeb5
MA
18937
18938 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18939
e240cc21
SM
189402011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18941
18942 * minibuffer.el (completion-in-region-mode-predicate)
18943 (completion-in-region-mode--predicate): New vars.
18944 (completion-in-region, completion-in-region--postch)
18945 (completion-in-region-mode): Use them.
18946 (completion--capf-wrapper): Also return the hook function.
18947 (completion-at-point, completion-help-at-point):
18948 Adjust and provide a predicate.
c2bd2ab0
SM
18949
18950 Preserve arg names for advice of subr and lexical functions (bug#8457).
18951 * help-fns.el (help-function-arglist): Consolidate the subr and
18952 new-byte-code cases. Add argument `preserve-names' to extract names
18953 from the docstring when needed.
18954 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18955 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18956 (ad-arglist): Use help-function-arglist's new arg.
18957 (ad-definition-type): Use cond.
18958
c183f693
JB
189592011-04-13 Juanma Barranquero <lekktu@gmail.com>
18960
06641a47
JB
18961 * autorevert.el (auto-revert-handler):
18962 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18963 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18964 Don't quote lambda.
18965
c183f693
JB
18966 * image-mode.el (image-transform-set-scale):
18967 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18968
1e3b6001
G
189692011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18970
18971 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18972 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18973 Upgrades via gnutls-cli are too slow to be done opportunistically.
18974
2d6af8dd
JB
189752011-04-12 Juanma Barranquero <lekktu@gmail.com>
18976
18977 * dframe.el (dframe-current-frame): Remove spurious quote.
18978
c0749a51
GM
189792011-04-12 Glenn Morris <rgm@gnu.org>
18980
088d0d61
GM
18981 * calendar/cal-tex.el (cal-tex-end-document):
18982 Try to automatically use latin1 input if needed.
18983
c0749a51
GM
18984 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18985 Don't try to cons a mark onto an empty element.
18986
5c90fde0
LL
189872011-04-11 Leo Liu <sdl.web@gmail.com>
18988
18989 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18990 buffers.
18991 (ido-kill-buffer-at-head): Support killing virtual buffers.
18992
369e974d
CY
189932011-04-10 Chong Yidong <cyd@stupidchicken.com>
18994
18995 * minibuffer.el (completion-show-inline-help): New var.
18996 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18997 (minibuffer-force-complete, minibuffer-complete-word):
18998 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18999
19000 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19001 to avoid interference from inline help (Bug#5849).
19002
37f1c930
LL
190032011-04-10 Leo Liu <sdl.web@gmail.com>
19004
099c39a4
JB
19005 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19006 Fix typo.
37f1c930 19007
a32d4040
CY
190082011-04-09 Chong Yidong <cyd@stupidchicken.com>
19009
19010 * image-mode.el (image-toggle-display-image): Signal an error if
19011 not in Image mode.
19012 (image-transform-mode, image-transform-resize)
19013 (image-transform-set-rotation): Doc fix.
daca8ba5 19014 (image-transform-set-resize): Delete.
a32d4040
CY
19015 (image-transform-set-scale, image-transform-fit-to-height)
19016 (image-transform-fit-to-width): Handle image-toggle-display-image
19017 and image-transform-resize directly.
19018
099c39a4 190192011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19020
19021 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19022 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19023 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19024 (doc-view-mode-map): Add bindings for the new functions.
19025
099c39a4 190262011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19027
4d61f28d 19028 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19029 Fix typo in docstring.
19030
3726838a
EZ
190312011-04-08 Eli Zaretskii <eliz@gnu.org>
19032
04f33f1e
EZ
19033 * files.el (file-size-human-readable): Produce one digit after
19034 decimal, like "ls -lh" does.
19035
19036 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19037 the file size representation.
19038
3726838a
EZ
19039 * simple.el (list-processes): If async subprocesses are not
19040 available, error out with a clear error message.
19041
cbb59342
CY
190422011-04-08 Chong Yidong <cyd@stupidchicken.com>
19043
19044 * help.el (help-form-show): New function, to be called from C.
19045 Put help-form output in a buffer named differently than *Help*.
19046
e3971c44
EZ
190472011-04-08 Eli Zaretskii <eliz@gnu.org>
19048
19049 * files.el (file-size-human-readable): New function.
19050
19051 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19052 computing the representation inline. Don't require `cl'.
19053
12544bbe
GM
190542011-04-08 Glenn Morris <rgm@gnu.org>
19055
a1de6c6a
GM
19056 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19057
3c4671f4
GM
19058 * net/browse-url.el (browse-url-firefox):
19059 Test system-type, not system-configuration.
19060
b605679c
GM
19061 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19062 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19063 Use log-edit-empty-buffer-p. (Bug#7598)
19064
56442f0c
GM
19065 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19066 (rlogin-mode-map): Initialize in the defvar.
19067 (rlogin): Use ignore-errors.
19068
12544bbe
GM
19069 * replace.el (occur-mode-map): Some fixes for menu items.
19070
eb237b0f
AH
190712011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19072
19073 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19074
7d668f2c
CY
190752011-04-06 Chong Yidong <cyd@stupidchicken.com>
19076
e67a13ab
CY
19077 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19078 issuing unused warnings.
19079
19080 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19081 macro directly.
19082
7d668f2c
CY
19083 * simple.el: Lisp reimplement of list-processes. Based on an
19084 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19085 (process-menu-mode): New major mode.
19086 (list-processes--refresh, list-processes):
19087 (process-menu-visit-buffer): New functions.
19088
19089 * files.el (save-buffers-kill-emacs): Don't assume any return
19090 value of list-processes, which is undocumented anyway.
19091
a83ec3c9
CY
190922011-04-06 Chong Yidong <cyd@stupidchicken.com>
19093
19094 * emacs-lisp/tabulated-list.el: New file.
19095
e91a96fe
CY
19096 * emacs-lisp/package.el: Use Tabulated List mode.
19097 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19098 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19099 table format using Tabulated List mode variables.
19100 (package--push): New macro, replacing package-list-maybe-add.
19101 (package-menu--generate): Use package--push. Renamed from
19102 package--generate-package-list.
19103 (package-menu-refresh, list-packages): Use it.
daca8ba5 19104 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19105 Return insertion data instead of inserting it directly.
099c39a4
JB
19106 (package-menu-describe-package, package-menu-execute):
19107 Use tabulated-list-get-id.
e91a96fe
CY
19108 (package-menu-mark-delete, package-menu-mark-install)
19109 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19110 (package-menu-mark-obsolete-for-deletion):
19111 Use tabulated-list-put-tag.
e91a96fe
CY
19112 (package--list-packages, package-menu-revert)
19113 (package-menu-get-package, package-menu-get-version)
19114 (package-menu-sort-by-column): Functions deleted.
19115 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19116 (package-menu--status-predicate, package-menu--version-predicate)
19117 (package-menu--name-predicate)
19118 (package-menu--description-predicate): Handle arguments in the
19119 Tabulated List format.
19120 (package-list-packages-no-fetch): Call list-packages.
19121
3e214b50
JB
191222011-04-06 Juanma Barranquero <lekktu@gmail.com>
19123
19124 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19125 (after-find-file): Don't bind it.
3e214b50
JB
19126 (revert-buffer-in-progress-p): New variable.
19127 (revert-buffer): Bind it.
19128 Pass nil for `after-find-file-from-revert-buffer'.
19129
19130 * saveplace.el (save-place-find-file-hook): Use new variable
19131 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19132
3f0f1700
GM
191332011-04-06 Glenn Morris <rgm@gnu.org>
19134
c0274801
GM
19135 * Makefile.in (AUTOGEN_VCS): New variable.
19136 (autoloads): Use $AUTOGEN_VCS.
19137
3f0f1700
GM
19138 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19139 * calendar/calendar.el (calendar-mode-map):
19140 Check for toolkit scroll bars. (Bug#8305)
19141
41ea9e48
CY
191422011-04-05 Chong Yidong <cyd@stupidchicken.com>
19143
19144 * minibuffer.el (completion-in-region--postch)
19145 (completion-in-region-mode): Remove unnecessary messages.
19146
6194c800
JB
191472011-04-05 Juanma Barranquero <lekktu@gmail.com>
19148
33256f14
JB
19149 * font-lock.el (font-lock-refresh-defaults):
19150 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19151 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19152
6194c800
JB
19153 * info.el (Info-directory-list, Info-read-node-name-2)
19154 (Info-split-parameter-string): Doc fixes.
19155 (Info-virtual-nodes): Reflow docstring.
19156 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19157 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19158 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19159 Fix typos in docstrings.
19160 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19161 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19162 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19163 (Info-restore-desktop-buffer): Mark unused parameters.
19164 (Info-directory-find-file, Info-directory-find-node)
19165 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19166 (Info-virtual-index-find-node, Info-apropos-find-file)
19167 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19168 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19169 (Info-virtual-index): Remove unused local variable `nodename'.
19170
b87a8200 191712011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19172
b87a8200
DD
19173 * net/rcirc.el: Update my e-mail address.
19174 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19175
3b2ff876
CY
191762011-04-05 Chong Yidong <cyd@stupidchicken.com>
19177
19178 * startup.el (command-line): Save the cursor's theme-face
19179 directly, instead of using face-override-spec.
19180
19181 * custom.el (load-theme): Minor optimization in assigning faces.
19182
8d17e7ca
JB
191832011-04-04 Juanma Barranquero <lekktu@gmail.com>
19184
19185 * help-fns.el (describe-variable): Complete all variables having
19186 documentation, including keywords.
19187 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19188
2fbc1934
JB
191892011-04-04 Juanma Barranquero <lekktu@gmail.com>
19190
19191 Convert to lexical-binding.
19192
19193 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19194 (bs--get-marked-string, bs--get-modified-string)
19195 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19196 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19197 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19198
19199 * ehelp.el (electric-help-execute-extended)
19200 (electric-help-ctrl-x-prefix):
19201 * hexl.el (hexl-revert-buffer-function):
19202 * linum.el (linum-after-change, linum-after-scroll):
19203 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19204
19205 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19206
74f50695
DU
192072011-04-04 Daiki Ueno <ueno@unixuser.org>
19208
19209 * epa-dired.el:
19210 * epa-mail.el:
19211 * epa-hook.el:
19212 * epa-file.el:
19213 * epa.el:
19214 * epg.el: Use lexical binding.
19215
c11325f7
CY
192162011-04-03 Chong Yidong <cyd@stupidchicken.com>
19217
0d9e9a12
CY
19218 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19219
c11325f7 19220 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19221 dictionary case for flyspell-mark-duplications-exceptions.
19222 Use regexp matching for languages.
c11325f7
CY
19223 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19224 default dictionary (Bug#7926).
19225
da91b5f2
CY
192262011-04-02 Chong Yidong <cyd@stupidchicken.com>
19227
099c39a4
JB
19228 * emacs-lisp/package.el (package--with-work-buffer):
19229 Recognize https URLs.
da91b5f2 19230
099c39a4
JB
19231 * net/network-stream.el: Move from gnus/proto-stream.el.
19232 Change prefix to network-stream throughout.
da91b5f2
CY
19233 (open-protocol-stream): Merge into open-network-stream, leaving
19234 open-protocol-stream as an alias. Handle nil BUFFER args.
19235
19236 * subr.el (open-network-stream): Move to net/network-stream.el.
19237
afa8e9f6
GM
192382011-04-02 Glenn Morris <rgm@gnu.org>
19239
1d2e369d
GM
19240 * find-dired.el (find-exec-terminator): New option.
19241 (find-ls-option): Test for -ls support.
19242 (find-ls-subdir-switches): Test for -b in find-ls-option.
19243 (find-dired, find-grep-dired): Doc fixes.
19244 (find-dired): Use find-exec-terminator.
19245
8abb7da8 19246 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19247 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19248 (find-name-arg): Remove purecopy.
8abb7da8 19249
f3ca7378
GM
19250 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19251 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19252 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19253 accordingly. Don't add the null-device if not needed.
19254
afa8e9f6
GM
19255 * files.el (save-some-buffers): Doc fix.
19256
35eae264
EZ
192572011-04-02 Eli Zaretskii <eliz@gnu.org>
19258
19259 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19260
26b51db5
JB
192612011-04-01 Juanma Barranquero <lekktu@gmail.com>
19262
19263 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19264 Use `dolist' rather than `mapcar'.
19265
7200d79c
SM
192662011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19267
03408648 19268 Add lexical binding.
7200d79c 19269
03408648
SM
19270 * subr.el (apply-partially): Use new closures rather than CL.
19271 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19272 (dolist, dotimes): Use slightly different expansion for lexical code.
19273 (functionp): Move to C.
19274 (letrec): New macro.
19275 (with-wrapper-hook): Use it and apply-partially instead of CL.
19276 (eval-after-load): Preserve lexical-binding.
19277 (save-window-excursion, with-output-to-temp-buffer): Turn them
19278 into macros.
7200d79c 19279
03408648
SM
19280 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19281
19282 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19283 than the arglist.
19284 (help-add-fundoc-usage): Don't add `Not documented'.
19285 (help-function-arglist): Handle closures, subroutines, and new
19286 byte-code-functions.
19287 (help-make-usage): Remove leading underscores.
19288 (describe-function-1): Handle closures.
19289 (describe-variable): Use special-variable-p for completion.
19290
19291 * files.el (lexical-binding): Declare safe.
f488fb65 19292
03408648
SM
19293 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19294 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19295 (pcase): Add `let' pattern.
19296 Change memoization so it actually works.
19297 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19298 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19299 <let>: New case.
f488fb65 19300
03408648
SM
19301 * emacs-lisp/macroexp.el: Use lexical binding.
19302 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19303 Don't convert ' to #' without checking that it's indeed quoting
19304 a lambda.
19305
19306 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19307 Use eval-sexp-add-defvars.
03408648
SM
19308 (eval-sexp-add-defvars): New fun.
19309
19310 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19311
19312 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19313 Don't autoload.
19314 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19315 than the internal `byte-compile-lambda'.
19316 (defmethod): Don't hide code under quotes.
19317 (eieio-defmethod): New `code' argument.
19318
19319 * emacs-lisp/eieio-comp.el: Remove.
19320
19321 * emacs-lisp/edebug.el (edebug-eval-defun)
19322 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19323 (edebug-toggle): Avoid `eval'.
19324
19325 * emacs-lisp/disass.el (disassemble-internal): Handle new
19326 `closure' objects.
19327 (disassemble-1): Handle new byte codes.
19328
19329 * emacs-lisp/cl.el (pushnew): Silence warning.
19330
19331 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19332 (cl-byte-compile-throw): Remove.
19333 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19334
19335 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19336 closures.
19337
19338 * emacs-lisp/cconv.el: New file.
19339
19340 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19341 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19342 (byte-compile-initial-macro-environment):
19343 Handle declare-function here.
19344 (byte-compile--lexical-environment): New var.
19345 (byte-stack-ref, byte-stack-set, byte-discardN)
19346 (byte-discardN-preserve-tos): New lap codes.
19347 (byte-interactive-p): Don't use any more.
19348 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19349 New macros.
19350 (byte-compile-lapcode): Use them and handle new lap codes.
19351 (byte-compile-obsolete): Remove.
19352 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19353 (byte-compile-arglist-warn): Check late def of inlinable funs.
19354 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19355 since they should have been expanded by now.
19356 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19357 (byte-compile-from-buffer): Remove unused second arg.
19358 (byte-compile-preprocess): New function.
19359 (byte-compile-toplevel-file-form): New function to distinguish
19360 file-form calls from outside from file-form calls from hunk-handlers.
19361 (byte-compile-file-form): Simplify.
19362 (byte-compile-file-form-defsubst): Remove.
19363 (byte-compile-file-form-defmumble): Simplify now that
19364 byte-compile-lambda always returns a byte-code-function.
19365 (byte-compile): Preprocess.
19366 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19367 Remove, not used any more.
19368 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19369 (byte-compile-make-args-desc): New funs.
19370 (byte-compile-lambda): Handle lexical functions. Always return
19371 a byte-code-function.
19372 (byte-compile-reserved-constants): New var, to make up room for
19373 closed-over variables.
19374 (byte-compile-constants-vector): Obey it.
19375 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19376 (byte-compile-macroexpand-declare-function): New function.
19377 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19378 byte-code-functions.
19379 (byte-compile-form): Check obsolescence here.
19380 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19381 (byte-compile-variable-ref): Remove.
19382 (byte-compile-dynamic-variable-op): New fun.
19383 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19384 (byte-compile-variable-set): New funs.
19385 (byte-compile-discard): Add 2 args.
19386 (byte-compile-stack-ref, byte-compile-stack-set)
19387 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19388 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19389 macroexpand-all instead.
19390 (byte-compile-quote-form): Remove.
19391 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19392 (byte-compile-bind, byte-compile-unbind): New funs.
19393 (byte-compile-let): Handle let* and lexical binding.
19394 (byte-compile-let*): Remove.
19395 (byte-compile-catch, byte-compile-unwind-protect)
19396 (byte-compile-track-mouse, byte-compile-condition-case):
19397 Handle a new :fun-body form, used for lexical scoping.
19398 (byte-compile-save-window-excursion)
19399 (byte-compile-with-output-to-temp-buffer): Remove.
19400 (byte-compile-defun): Simplify.
19401 (byte-compile-stack-adjustment): New fun.
19402 (byte-compile-out): Use it.
19403 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19404
19405 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19406 handler any more.
19407
19408 * emacs-lisp/byte-opt.el: Use lexical binding.
19409 (byte-inline-lapcode): Remove (to bytecomp).
19410 (byte-compile-inline-expand): Pay attention to inlining to/from
19411 lexically bound code.
19412 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19413 any more.
19414 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19415 any more and don't call compiler-macros.
19416 (byte-compile-splice-in-already-compiled-code): Remove.
19417 (byte-code): Don't inline any more.
19418 (disassemble-offset): Receive `bytes' as argument rather than via
19419 dynamic scoping.
19420 (byte-compile-tag-number): Declare before first use.
19421 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19422 `return' even if make-spliceable.
19423 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19424 obsolete interactive-p.
19425 (byte-optimize-lapcode): Optimize new lap-codes.
19426 Don't trip up on new form of `byte-constant' lap code.
19427
19428 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19429
19430 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19431
19432 * custom.el (custom-initialize-default, custom-declare-variable):
19433 Use `defvar'.
19434
19435 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19436 New variables.
19437 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19438 (COMPILE_FIRST): Add macroexp and cconv.
19439 * makefile.w32-in: Mirror changes in Makefile.in.
19440
19441 * vc/cvs-status.el:
19442 * vc/diff-mode.el:
19443 * vc/log-edit.el:
19444 * vc/log-view.el:
19445 * vc/smerge-mode.el:
19446 * textmodes/bibtex-style.el:
090bd7cb 19447 * textmodes/css-mode.el:
03408648
SM
19448 * startup.el:
19449 * uniquify.el:
da91b5f2
CY
19450 * minibuffer.el:
19451 * newcomment.el:
19452 * reveal.el:
19453 * server.el:
19454 * mpc.el:
19455 * emacs-lisp/smie.el:
19456 * doc-view.el:
19457 * dired.el:
03408648
SM
19458 * abbrev.el: Use lexical binding.
19459
0f0c1f27
EZ
194602011-04-01 Eli Zaretskii <eliz@gnu.org>
19461
19462 * info.el (info-display-manual): New function.
19463
c82b2579
SM
194642011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19465
19466 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19467
221ddf68
TH
194682011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19469
19470 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19471 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19472
cba6e77e
GM
194732011-03-31 Glenn Morris <rgm@gnu.org>
19474
e040639f
GM
19475 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19476
cba6e77e
GM
19477 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19478
6d0f1c9e
CS
194792011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19480
19481 * progmodes/python.el (python-default-interpreter)
19482 (python-python-command-args, python-jython-command-args)
19483 (python-which-shell, python-which-args, python-which-bufname)
19484 (python-file-queue, python-comint-output-filter-function)
19485 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19486 variables and functions.
19487
3e2d70fd
SM
194882011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19489
19490 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19491 (completion-in-region-mode): New minor mode.
19492 (completion-in-region): Use it.
19493 (completion-in-region--data, completion-in-region-mode-map): New vars.
19494 (completion-in-region--postch): New function.
19495 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19496 New vars.
19497 (completion--capf-wrapper): New function.
19498 (completion-at-point): Use it to track well-behavedness of
19499 hook functions.
19500 (completion-help-at-point): New command.
19501
f3e4086c
JM
195022011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19503
19504 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19505 syntax class to search for whitespace on a single line
19506 (Message-ID: <4D938140.4030905@redhat.com>).
19507
eb7ffc14
LL
195082011-03-30 Leo Liu <sdl.web@gmail.com>
19509
19510 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19511 New commands.
19512 (edit-abbrevs-map): Bind them here.
19513 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19514
d806ab68
KM
195152011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19516
19517 * allout.el (allout-hide-by-annotation, allout-flag-region):
19518 Reduce possibility of overlay leakage by making them volatile.
19519
19520 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19521 hash is not shared between buffers. Mode initialization is
19522 responsible for giving it a useful starting value.
19523 (allout-item-span): Reduce possibility of overlay leakage by
19524 making them volatile.
19525 (allout-widgets-count-buttons-in-region): Add diagnostic function
19526 for tracking down button overlay leaks.
19527
ea622834
LL
195282011-03-29 Leo Liu <sdl.web@gmail.com>
19529
19530 * ido.el (ido-read-internal): Use the default history var
19531 minibuffer-history if no HISTORY is specified.
19532
b62f8267
G
195332011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19534
03408648
SM
19535 * net/imap.el (imap-shell-open, imap-process-connection-type):
19536 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19537 Kerberos, SSL, other subprocesses.
19538
947b6566
LL
195392011-03-28 Leo Liu <sdl.web@gmail.com>
19540
19541 * abbrev.el (abbrev-table-empty-p): New function.
19542 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19543 nonempty ones. (Bug#5937)
19544
5ffb62aa
JD
195452011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19546
19547 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19548
7a097943
LL
195492011-03-27 Leo Liu <sdl.web@gmail.com>
19550
19551 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19552 for foreground and background colors.
19553 (ansi-color-make-color-map): Adapt.
19554
c5b40130
LL
195552011-03-25 Leo Liu <sdl.web@gmail.com>
19556
1f48f7d2
LL
19557 * midnight.el (midnight-time-float): Remove. Note it calculates
19558 the microsecond component incorrectly and seconds-to-time does the
19559 same job.
625897ec 19560 Remove redundant (require 'timer).
1f48f7d2 19561
c5b40130
LL
19562 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19563 (ido-completions): Remove unused arguments. (Bug#8329)
19564
d86d2721
SM
195652011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19566
19567 * minibuffer.el (completion--flush-all-sorted-completions):
19568 Remove itself from hook.
19569 (completion-at-point): Let the functions perform the completion
19570 immediately and return nil or t.
19571 * comint.el (comint-dynamic-complete-functions): Now identical to
19572 completion-at-point-functions.
19573 (comint-dynamic-list-input-ring): Remove unused var `index'.
19574 (comint--match-partial-filename, comint--unquote&expand-filename):
19575 New funs, split from comint-match-partial-filename.
19576 (comint-dynamic-complete): Use completion-at-point.
19577 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19578
e8974c48
DA
195792011-03-24 Drew Adams <drew.adams@oracle.com>
19580
19581 * thingatpt.el: Support `defun'.
19582
def71b5e
LL
195832011-03-23 Leo Liu <sdl.web@gmail.com>
19584
cb5af48e
LL
19585 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19586
def71b5e
LL
19587 * help-mode.el (help-mode-finish): Tweak regexp.
19588
927c53e7
GM
195892011-03-23 Glenn Morris <rgm@gnu.org>
19590
18d05bed
GM
19591 * eshell/esh-opt.el (eshell-eval-using-options):
19592 Do not bind unused local variable `eshell-option-stub'.
19593
927c53e7
GM
19594 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19595
9d0da923
JB
195962011-03-22 Juanma Barranquero <lekktu@gmail.com>
19597
19598 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19599 keymap variable in `with-no-warnings' to avoid a warning when the
19600 keymap has been already `defconst'ed.
19601
4b978a67
LL
196022011-03-22 Leo Liu <sdl.web@gmail.com>
19603
19604 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19605 encode all chars in abbrevs; otherwise use emacs-mule or
19606 utf-8-emacs. (Bug#8308)
19607
5fd62452
JB
196082011-03-22 Juanma Barranquero <lekktu@gmail.com>
19609
0b1596c6
JB
19610 * simple.el (backward-delete-char-untabify):
19611 Avoid warning about using `delete-backward-char'.
19612
5fd62452
JB
19613 * image.el (image-type-file-name-regexps): Make it variable.
19614 `imagemagick-register-types' modifies it, and the user may want
19615 to add new extensions for known image types.
19616 (imagemagick-register-types): Throw error if not using ImageMagick.
19617
0b4e93f1
LL
196182011-03-22 Leo Liu <sdl.web@gmail.com>
19619
19620 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19621 located before rcirc-prompt-end-marker.
19622 (rcirc-complete): Error if point is not after rcirc prompt.
19623 Handle the case when table is nil.
9882e214 19624 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19625
fccee4ab
CY
196262011-03-22 Chong Yidong <cyd@stupidchicken.com>
19627
19628 * custom.el (custom--inhibit-theme-enable): Make it affect only
19629 custom-theme-set-variables and custom-theme-set-faces.
19630 (provide-theme): Ignore custom--inhibit-theme-enable.
19631 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19632 (custom-enabling-themes): Delete variable.
d86d2721
SM
19633 (enable-theme): Accept only loaded themes as arguments.
19634 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19635 (custom-enabled-themes): Forbid themes from setting this.
19636 Eliminate use of custom-enabling-themes.
19637 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19638
af896da6
LL
196392011-03-21 Leo Liu <sdl.web@gmail.com>
19640
19641 * ido.el (ido-read-internal): Add ido-selected to history instead
19642 of user input.
19643
78f64af0
SM
196442011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19645
19646 * subr.el (deferred-action-list, deferred-action-function):
19647 Mark obsolete.
19648
b16ac1ec
LL
196492011-03-21 Leo Liu <sdl.web@gmail.com>
19650
810f7698
LL
19651 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19652 change on 2011-02-13 (bug#8309).
19653
b16ac1ec
LL
19654 * minibuffer.el (read-file-name-function): Change default value.
19655 (read-file-name--defaults): Rename from read-file-name-defaults.
19656 (read-file-name-default): Rename from read-file-name.
19657 (read-file-name): Call read-file-name-function.
19658
4e05e67e
GM
196592011-03-21 Glenn Morris <rgm@gnu.org>
19660
19661 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19662 Doc fixes.
19663
4359915b
CY
196642011-03-21 Chong Yidong <cyd@stupidchicken.com>
19665
19666 * cus-theme.el: Add missing provide statement.
19667 (customize-create-theme): Extract theme value correctly.
19668 (custom-theme-visit-theme): Autoload.
19669 (customize-create-theme): Prompt before inserting default faces.
19670
1fe275ee
JB
196712011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19672
19673 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19674 units and musical notes.
19675
cd394be1 196762011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19677
19678 * ido.el (ido-read-internal): Use completing-read-default.
19679 (ido-completing-read): Fix compatibility with completing-read.
19680
7d476bde
CO
196812011-03-20 Christian Ohler <ohler@gnu.org>
19682
19683 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19684 (ert-delete-all-tests): Use `called-interactively-p' rather than
19685 `interactive-p'.
19686 (ert--make-xrefs-region): Respect END.
19687
fe0fb33e
CY
196882011-03-19 Chong Yidong <cyd@stupidchicken.com>
19689
ff854b0b
CY
19690 * dired-aux.el (dired-create-directory): Signal an error if the
19691 directory already exists (Bug#8246).
19692
fe0fb33e
CY
19693 * facemenu.el (list-colors-display): Call list-faces-display
19694 inside with-help-window.
19695 (list-colors-print): Use display property to align the final
19696 column, instead of checking window-width.
19697
576bce32
EZ
196982011-03-19 Eli Zaretskii <eliz@gnu.org>
19699
4d61f28d 19700 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19701 windows-nt systems.
19702 (emerge-protect-metachars): Quote correctly for ms-dos and
19703 windows-nt systems.
19704
89c41d68 197052011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19706
19707 * info.el (info-initialize): Replace all uses of `:' with
19708 path-separator for compatibility with non-Unix systems.
19709 Cache quoting of path-separator. (Bug#8258)
19710
b14e3e21 197112011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19712
19713 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19714 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19715 (mouse-avoidance-mode): Fix typos in docstrings.
19716
4525ce3e
CY
197172011-03-19 Chong Yidong <cyd@stupidchicken.com>
19718
19719 * startup.el (package-subdirectory-regexp): Move from package.el.
19720 Omit \\` and \\', and let callers add them.
19721
19722 * emacs-lisp/package.el (package-strip-version)
19723 (package-load-all-descriptors): Add \\` and \\' to
19724 package-subdirectory-regexp before using it.
19725 (package-untar-buffer): New arg DIR; ensure that file untars only
19726 into this expected directory. Remove superfluous delete-region.
19727 (package-unpack): Caller changed.
19728 (package-tar-file-info): Use package-subdirectory-regexp.
19729
a904a09a 197302011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19731
a904a09a
SM
19732 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19733 diff-mode-shared-map (bug#8284).
19734 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19735
197362011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19737
19738 * calendar/time-date.el (format-seconds): Use assoc instead of
19739 assoc-string, since assoc-string doesn't exist in XEmacs.
19740
171fc304
JB
197412011-03-17 Juanma Barranquero <lekktu@gmail.com>
19742
19743 * custom.el (custom-known-themes): Reflow docstring.
19744 (custom-theme-load-path): Fix typo in docstring.
19745 (load-theme): Fix typo in error message.
19746 (custom-available-themes, custom-variable-theme-value):
19747 Use `let', not `let*'.
19748
d71990a1
JB
197492011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19750
19751 * calc/README: Mention inclusion of musical notes.
19752
19753 * calc/calc-units.el (calc-lu-quant): Rename from
19754 `calc-logunits-quantity'.
19755 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19756 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19757 (calc-db): Rename from `calc-dblevel'.
19758 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19759 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19760 (calc-np): Rename from `calc-nplevel'.
19761 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19762 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19763 (calc-lu-plus): Rename from `calc-logunits-add'.
19764 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19765 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19766 (calc-lu-minus): Rename from `calc-logunits-sub'.
19767 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19768 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19769 (calc-lu-times): Rename from `calc-logunits-mul'.
19770 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19771 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19772 (calc-lu-divide): Rename from `calc-logunits-div'.
19773 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19774 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19775
19776 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19777 functions being autoloaded.
19778
19779 * calc/calc.el (calc-lu-power-reference): Rename from
19780 `calc-logunits-power-reference'.
19781 (calc-lu-field-reference): Rename from
19782 `calc-logunits-field-reference'.
19783
7a71b18d
GM
19784 * calc/calc-help.el (calc-l-prefix-help):
19785 Mention musical note functions.
d71990a1 19786
40c2934b
SM
197872011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19788
19789 * minibuffer.el (completion-all-sorted-completions):
19790 Use :completion-cycle-penalty text property if present.
19791
b0911414
KM
197922011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19793
19794 * allout.el (allout-yank-processing): Adjust for new rebulleting
19795 regime so bullet being yanked is used without prompting the user
19796 for a choice.
19797
8a05b668
JB
197982011-03-16 Juanma Barranquero <lekktu@gmail.com>
19799
19800 * startup.el (command-line): Warn the user that _emacs is deprecated.
19801
5ba5fb81
JB
198022011-03-16 Juanma Barranquero <lekktu@gmail.com>
19803
19804 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19805 (delphi-verbose, delphi-comment-face, delphi-string-face)
19806 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19807 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19808 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19809 (delphi-new-comment-line, delphi-font-lock-defaults)
19810 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19811 Fix typos in docstrings.
19812
2dab465b
KM
198132011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19814
5ba5fb81 19815 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19816 Invert the roles of character and string values for INSTEAD, so a
19817 string is used for the more common case of a defaulting prompt.
19818
0adf5618
SM
198192011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19820
19821 * progmodes/ruby-mode.el (ruby-backward-sexp):
19822 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19823 * play/gamegrid.el (gamegrid-make-face):
19824 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19825 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19826 * notifications.el (notifications-notify):
19827 * net/xesam.el (xesam-search-engines):
19828 * net/quickurl.el (quickurl-list-insert):
19829 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19830
d72700e5
CY
198312011-03-15 Chong Yidong <cyd@stupidchicken.com>
19832
19833 * startup.el (command-line): Update package subdirectory regexp.
19834
49c5410a
SM
198352011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19836
c6eee9aa
SM
19837 * allout.el (allout-abbreviate-flattened-numbering)
19838 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19839
49c5410a
SM
19840 * subr.el (read-char-choice): Only show the cursor after the prompt,
19841 not after the answer.
19842
047b2bb9
KR
198432011-03-15 Kevin Ryde <user42@zip.com.au>
19844
19845 * help-fns.el (variable-at-point): Skip leading quotes, if any
19846 (bug#8253).
19847
0a57d256
SM
198482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19849
19850 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19851 warning message.
19852
77c992bc
MA
198532011-03-14 Michael Albinus <michael.albinus@gmx.de>
19854
19855 * shell.el (shell): When called interactively, offer to change the
19856 shell file name on remote hosts.
19857
eebc475d
TZ
198582011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19859
19860 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19861 integration for LDAP parameters. The host, base, user or binddn,
19862 and secret tokens can be specified in a netrc file, for instance.
19863 This is optional because an `auth-source' parameter must be
19864 specified in the search attributes.
19865
9d05d1ba
JB
198662011-03-13 Juanma Barranquero <lekktu@gmail.com>
19867
19868 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19869
09d9db2c
GM
198702011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19871
19872 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19873 into declaration. Remove redundant and harmful binding.
19874
198752011-03-12 Eli Zaretskii <eliz@gnu.org>
19876
19877 * files.el (file-ownership-preserved-p): Pass `integer' as an
19878 explicit 2nd argument to `file-attributes'. If the file's owner
19879 is the Administrators group on Windows, and the current user is
19880 Administrator, consider that a match.
19881
19882 * server.el (server-ensure-safe-dir): Consider server directory
19883 safe on MS-Windows if its owner is the Administrators group while
19884 the current Emacs user is Administrator. Use `=' to compare
19885 numerical UIDs, since they could be integers or floats.
19886
219bd536
JB
198872011-03-12 Juanma Barranquero <lekktu@gmail.com>
19888
19889 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19890
f3afd36b
MA
198912011-03-12 Michael Albinus <michael.albinus@gmx.de>
19892
19893 Sync with Tramp 2.2.1.
19894
19895 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19896
19897 * net/trampver.el: Update release number.
19898
3aaaa6f1
SM
198992011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19900
94642599
SM
19901 * progmodes/compile.el (compilation--previous-directory): Fix up
19902 various nil/dead-marker mismatches (bug#8014).
19903 (compilation-directory-properties, compilation-error-properties):
19904 Don't call it at a position past the one we're about to change.
19905
3aaaa6f1
SM
19906 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19907 Disable obsolescence warnings in the file that declares it.
19908
14239447
KM
199092011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19910
099c39a4
JB
19911 * allout-widgets.el (allout-widgets-tally):
19912 Initialize allout-widgets-tally as a hash table rather than nil to
19913 prevent mode-line redisplay warnings. Also, clarify the module
19914 description and fix a comment typo.
14239447 19915
135e287c
JB
199162011-03-11 Juanma Barranquero <lekktu@gmail.com>
19917
19918 * help-fns.el (describe-variable): Don't complete keywords.
19919 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19920
ffbf300e
CY
199212011-03-10 Chong Yidong <cyd@stupidchicken.com>
19922
ba08b241
CY
19923 * emacs-lisp/package.el (package-version-join): Impose a standard
19924 string representation for pre/alpha/beta version lists.
19925 (package-unpack-single): Standardize the directory name by passing
19926 it through package-version-join.
19927 (package-strip-rcs-id): Accept any version string that does not
19928 signal an error in version-to-list.
ffbf300e 19929
f346fd6b
MA
199302011-03-10 Michael Albinus <michael.albinus@gmx.de>
19931
19932 * simple.el (delete-trailing-whitespace): Return nil for the
19933 benefit of `write-file-functions'.
19934
ccb55d27
GM
199352011-03-10 Glenn Morris <rgm@gnu.org>
19936
5ceaac0c
GM
19937 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19938
02da65ff
GM
19939 * vc/vc-git.el (vc-git-program): New option.
19940 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19941 (vc-git--call): Use it.
19942
b2f603cc
GM
19943 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19944
5772caab
GM
19945 * cus-edit.el (Custom-newline): If no button at point, look
19946 for a subgroup button at start-of-line. (Bug#2298)
19947
ccb55d27
GM
19948 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19949
ec6ecaed
JD
199502011-03-10 Julien Danjou <julien@danjou.info>
19951
19952 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19953 `cursor-type' is nil.
19954
9d5aa01d
JB
199552011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19956
19957 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19958
b6a5875b
KM
199592011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19960
7a71b18d 19961 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19962 preserves the existing header prefix, rebulleting it if necessary,
19963 rather than replacing it. This is necessary for proper operation
19964 of cooperative addons like allout-widgets.
1154d12e
JB
19965 (allout-make-topic-prefix, allout-rebullet-heading):
19966 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19967 value as alternate bullet to be used, instead of prompting the user
19968 for a bullet character.
b6a5875b 19969
ee545c35
MA
199702011-03-09 Michael Albinus <michael.albinus@gmx.de>
19971
d86d2721
SM
19972 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19973 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19974 `tramp-default-port'.
19975
c47971d7
DD
199762011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19977
19978 * net/rcirc.el (rcirc-handler-001): Remove useless
19979 with-rcirc-process-buffer.
19980 (rcirc-check-auth-status): Swap arguments to string-match.
19981
13522cb4
GM
199822011-03-09 Glenn Morris <rgm@gnu.org>
19983
0be6f4f1
GM
19984 * shell.el (shell-mode):
19985 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19986
13522cb4
GM
19987 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19988 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19989
515de2e3
CY
199902011-03-08 Chong Yidong <cyd@stupidchicken.com>
19991
19992 * emacs-lisp/package.el (package-refresh-contents)
19993 (package-menu-execute): Use condition-case-no-debug.
19994
b511b994
MA
199952011-03-08 Michael Albinus <michael.albinus@gmx.de>
19996
19997 * simple.el (shell-command-to-string): Use `process-file'.
19998
19999 * emacs-lisp/package.el (package-tar-file-info): Handle also
20000 remote files.
20001
d86d2721
SM
20002 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20003 Use `equal' for upload base check.
b511b994 20004
25bbfb31
AM
200052011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20006
20007 * textmodes/texinfo.el (texinfo-environments):
20008 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20009
be996521
GM
200102011-03-08 Glenn Morris <rgm@gnu.org>
20011
e9c8529f
GM
20012 * cus-start.el (cursor-in-non-selected-windows):
20013 Fix :set quoting oddness. (Bug#8192)
20014
be996521
GM
20015 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20016 in some setf expressions. (Bug#2159)
20017
2bb5649e
CY
200182011-03-08 Chong Yidong <cyd@stupidchicken.com>
20019
20020 * custom.el (custom-available-themes): Return themes in
20021 alphabetical order.
20022
33383987 20023See ChangeLog.15 for earlier changes.
e3d51b27
MR
20024
20025;; Local Variables:
20026;; coding: utf-8
e3d51b27
MR
20027;; End:
20028
acaf905b 20029 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20030
20031 This file is part of GNU Emacs.
20032
20033 GNU Emacs is free software: you can redistribute it and/or modify
20034 it under the terms of the GNU General Public License as published by
20035 the Free Software Foundation, either version 3 of the License, or
20036 (at your option) any later version.
20037
20038 GNU Emacs is distributed in the hope that it will be useful,
20039 but WITHOUT ANY WARRANTY; without even the implied warranty of
20040 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20041 GNU General Public License for more details.
20042
20043 You should have received a copy of the GNU General Public License
20044 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.