* calendar/todos.el: Implement extended category completions.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a2730169
SB
12013-01-03 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el: Implement extended category completions.
4 (todos-default-todos-file): Change default value to correct custom
5 type.
6 (todos-category-completions-files): New defcustom.
7 (todos-reevaluate-category-completions-files-defcustom)
8 (todos-absolute-file-name, todos-category-completions): New defuns.
9 (todos-reevaluate-filelist-defcustoms):
10 Add todos-category-completions-files and
11 todos-reevaluate-category-completions-files-defcustom.
12 (todos-allcats-file, todos-all-categories-alist)
13 (todos-jump-to-category-other-file, todos-jump-to-any-category)
14 (todos-move-item-to-file): Remove (todos-all-categories-alist both
15 as defvar and as defun).
16 (todos-read-category): Rewrite using extended category completions
17 and better handling of completion against existing or non-existing
18 categories.
19 (todos-validate-name): Correct doc string; use local instead of
20 dynamic variables in function body.
21 (todos-insert-category-line): Adjust use of todos-jump-to-category
22 to new argument list.
23 (todos-key-bindings, todos-menu): Delete entries for removed
24 commands.
25 (todos-show): Get absolute name of todos-default-todos-file;
26 add `nowarn' argument to find-file-noselect; adjust use of
27 todos-add-category to new argument list.
28 (todos-jump-to-category): Rewrite using extended category
29 completions; reverse argument list, adapting FILE argument to new
30 completion mechanism; add autoload cookie; call todos-show if
31 there are no Todos files.
32 (todos-add-category): Rewrite using extended category completions;
33 add FILE argument to accommodate new completion mechanism.
34 (todos-merge-category): Adapt to extended category completions,
35 adding prefix argument.
36 (todos-insert-item): Adapt to extended category completions; use
37 todos-read-category instead of todos-jump-to-category in prefix
38 argument calls; call todos-show if there are no Todos files; if
39 item is inserted at end of category, recenter to ensure the items
40 above it are displayed in the window.
41 (todos-move-item): Adapt to extended category completions, making
42 argument prefix argument; allow moving within category (for the
43 sake of code simplification); add `nowarn' argument to
44 find-file-noselect.
45 (todos-archive-done-item): Prevent error when attempting to
46 archive not-done todo item; adjust use of todos-add-category to
47 new argument list.
48
1754db29
SB
492012-12-15 Stephen Berman <stephen.berman@gmx.net>
50
51 * calendar/todos.el (todos-archive-done-item): Fix archiving of
52 all done items in a category and resulting display of todo file.
53
86ea3fbd
SB
542012-12-14 Stephen Berman <stephen.berman@gmx.net>
55
56 * calendar/todos.el (todos-priorities-rules): Fix customization
57 type to prevent mismatch error.
58 (todos-set-top-priorities): Fix rule construction; fix input check;
59 improve prompt.
60
d9f80d44
SB
612012-12-14 Stephen Berman <stephen.berman@gmx.net>
62
63 * calendar/todos.el (todos-insert-item): If user exits Calendar
64 before choosing a date, cancel item insertion.
65 (todos-set-date-from-calendar): If user exits Calendar before
66 choosing a date, clean up properly.
67
d16da867
SB
682012-12-12 Stephen Berman <stephen.berman@gmx.net>
69
70 * calendar/todos.el: Extend and improve handling of item editing,
71 especially of date/time header.
72 (todos-month-name-array, todos-month-abbrev-array): New defconsts.
73 (todos-date-pattern): Use explicitly numbered groups.
74 (todos-read-date): Optionally read and return just one of the date
75 string components year, month or monthname, day.
76 (todos-key-bindings): Add bindings for new item header editing
77 commands.
78 (todos-edit-item): Exclude date/time header from minibuffer by
79 default; include it by passing a prefix argument.
80 (todos-edit-item-header-1): New function containing the guts of
81 the commands for editing item date/time headers.
82 (todos-edit-item-header): Use it. Condition editing of time
83 string on value of `todos-always-add-time-string'.
84 (todos-edit-item-date-from-calendar): Use todos-edit-item-header-1.
85 (todos-edit-item-date-to-today): Rename from
86 todos-edit-item-date-is-today and use todos-edit-item-header-1.
87 (todos-edit-item-date): Remove.
88 (todos-edit-item-date-day-name, todos-edit-item-date-year)
89 (todos-edit-item-date-month, todos-edit-item-date-day): New commands.
90
bbf95285
SB
912012-12-02 Stephen Berman <stephen.berman@gmx.net>
92
93 * calendar/todos.el (todos-show): Fix a comment.
94 (todos-add-category): Prompt for a new category if passed category
95 is the empty string, not nil.
96
11aa0eef
SB
972012-11-26 Stephen Berman <stephen.berman@gmx.net>
98
99 * calendar/todos.el (todos-make-categories-list)
100 (todos-convert-legacy-files, todos-jump-to-item)
101 (todos-move-category, todos-merge-category)
102 (todos-archive-done-item, todos-unarchive-items): Include end of
103 line in regex searches for beginning of category, in order not to
104 get a category whose name contains the searched for category name.
105
45e4a397
SB
1062012-11-15 Stephen Berman <stephen.berman@gmx.net>
107
108 * calendar/todos.el (todos-forward-category): Fix typo.
109
59ad682f
SB
1102012-10-30 Stephen Berman <stephen.berman@gmx.net>
111
112 * calendar/todos.el (todos-define-insertion-command):
113 Let generated insertion commands accept a prefix argument.
114
fec0fdae
SB
1152012-10-08 Stephen Berman <Stephen.Berman@rub.de>
116
117 * calendar/todos.el (todos-move-item): If user quits before
11aa0eef 118 completing movement, restore display of initial category; if item
fec0fdae
SB
119 is moved to end of target category, make sure the items above it
120 are displayed in the window.
121
57da062d
SB
1222012-10-08 Stephen Berman <stephen.berman@gmx.net>
123
124 * calendar/todos.el: Fixes to todos-move-item and some of its
125 subroutines.
126 (todos-move-item): When there are marked items, point need not be
127 on an item; remove obsolete use of todos-add-category, since this
128 is now already done in todos-read-category; fix typo.
129 (todos-diary-item-p): Exclude empty lines.
130 (todos-read-category): Restore point and narrowing after adding
131 new category, to avoid moving to beginning of file when moving
132 marked items to a new category.
133 (todos-set-item-priority): Prompt for priority only when the
134 category has at least one todo item; only use non-nil priority to
135 calculate insertion location.
136 (todos-read-category): Don't reset todos-categories when a new
137 category is added due to todos-move-item or todos-jump-to-item.
138
fd6c6328
SB
1392012-09-24 Stephen Berman <stephen.berman@gmx.net>
140
bbf95285 141 Changes from 2012-07-14 (revision 110020).
fd6c6328
SB
142 * calendar/todos.el (todos-copy-item): New command.
143 (todos-insertion-map): Add key binding for it.
144
1a9cb339
SB
1452012-09-24 Stephen Berman <stephen.berman@gmx.net>
146
bbf95285 147 Changes from 2012-07-13 (revision 110019).
1a9cb339
SB
148 * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
149 (todos-item-undo): Use it.
150 (todos-allcats-file, todos-all-categories-alist): New variables.
151 (todos-all-categories-alist): New function.
152 (todos-jump-to-any-category): New command.
153 (todos-move-item): Remove mark overlays from buffer items were
154 moved from; update todos-categories-with-marks,
155
36341a66
SB
1562012-09-24 Stephen Berman <stephen.berman@gmx.net>
157
bbf95285 158 Changes from 2012-06-27 (revision 110018).
36341a66
SB
159 * calendar/todos.el: Further code rearrangement; further new and
160 revised comments.
161 (todos-reevaluate-filelist-defcustoms): Rename from
162 todos-reevaluate-defcustoms and adjust callers.
163 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
164 (todos-date-string-start, todos-done-string-start)
165 (todos-item-start): Change from defvar to defconst.
166 (todos-set-top-priorities): Use read-number and simplify.
167 (todos-insert-item): Check whether date-type argument is a string.
168 (todos-set-date-from-calendar): Check whether
169 todos-date-from-calendar is a string; simplify cond clause.
170 (todos-archive-done-item, todos-unarchive-items):
171 Use buffer-substring-no-properties.
172
3160f2eb
SB
1732012-09-23 Stephen Berman <stephen.berman@gmx.net>
174
bbf95285 175 Changes from 2012-06-25 (revision 110017).
3160f2eb
SB
176 * calendar/todos.el (todos-item-undo): Fix restoration on
177 cancelling; use buffer-substring-no-properties; comment out code
178 removing mark overlay; fix insertion of undone items; display any
179 remaining done items.
180
18aef8a3
SB
1812012-09-23 Stephen Berman <stephen.berman@gmx.net>
182
bbf95285 183 Changes from 2012-06-24 (revision 110016).
18aef8a3
SB
184 * calendar/todos.el: Further significant code rearrangement;
185 further comment revision.
186 (todos-mode-display): New defgroup.
187 (todos-prefix, todos-number-priorities)
188 (todos-done-separator-string, todos-done-string)
189 (todos-comment-string, todos-show-with-done)
190 (todos-mode-line-function, todos-skip-archived-categories)
191 (todos-highlight-item, todos-wrap-lines)
192 (todos-line-wrapping-function): Use it.
193 (todos-item-insertion): New defgroup.
194 (todos-include-in-diary, todos-diary-nonmarking)
195 (todos-nondiary-marker, todos-always-add-time-string)
196 (todos-use-only-highlighted-region): Use it.
197 (todos-forward-button, todos-backward-button): New commands.
198 (todos-categories-mode-map): Use them, replacing forward-button
199 and backward-button.
200 (todos-merge-category): Fix and improve implementation; handle
201 archived items.
202 (todos-insert-item, todos-set-date-from-calendar): Handle setting
203 date by calling todos-insert-item-from-calendar.
204 (todos-delete-item): Fix overlay handling.
205 (todos-move-item): Highlight item to be moved.
206 (todos-item-undo): Handle marked items.
207 (todos-insert-item-from-calendar): Rewrite using
208 todos-date-from-calendar.
209
616ffa8b
SB
2102012-09-23 Stephen Berman <stephen.berman@gmx.net>
211
bbf95285 212 Changes from 2012-06-21 (revision 110015).
616ffa8b
SB
213 * calendar/todos.el: Further comment revision.
214 (todos-sorted-column): Change default value, also taking tty into
215 account.
216 (todos-reset-done-separator): Fix faulty variable binding.
217 (todos-reset-and-enable-done-separator): Save match data; comment
218 out code that causes problems for Edebug.
219 (todos-item-start): Handle empty line between todo and done items
220 when done items are hidden.
221 (todos-read-date): Use a leap year for `*' to allow
222 calendar-last-day-of-month to return Feb. 29.
223 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
224 (todos-filtered-items-mode): Delete faulty parentheses.
225 (todos-quit): Save Todos and archive files unconditionally.
226 (todos-forward-item): Accept only positive prefix argument.
227 (todos-backward-item): Accept only positive prefix argument; don't
228 move point to beginning of buffer if it is on the first item.
229 (todos-hide-show-date-time): Remove obsolete interactive spec.
230 (todos-move-category): Improve prompt string; ensure file moved to
231 is different from file moved from.
232 (todos-merge-categories): Remove.
233 (todos-set-category-priority): New command.
234 (todos-raise-category-priority, todos-lower-category-priority):
235 Use it to define these commands.
236 (todos-set-item-priority): Rewrite and generalize.
237 (todos-raise-item-priority, todos-lower-item-priority): Use it to
238 define these commands.
239
d9be0d35
SB
2402012-09-23 Stephen Berman <stephen.berman@gmx.net>
241
bbf95285 242 Changes from 2012-06-15 (revision 110014).
d9be0d35
SB
243 * calendar/todos.el (todos-reset-done-separator)
244 (todos-reset-and-enable-done-separator): New functions.
245 (todos-reset-done-separator-string): Rewrite using
246 todos-reset-done-separator for string longer than 1 character.
247 (todos-mode): Add todos-reset-and-enable-done-separator to
248 window-configuration-change-hook, replacing previous anonymous
249 function.
250 (todos-unload-hook): And remove it.
251
144faf47
SB
2522012-09-23 Stephen Berman <stephen.berman@gmx.net>
253
bbf95285 254 Changes from 2012-06-14 (revision 110013).
144faf47
SB
255 * calendar/todos.el (todos-done-separator-string): New defcustom.
256 (todos-done-separator): New variable replacing defcustom of the
257 same name.
258 (todos-reset-done-separator-string, todos-done-separator):
259 New functions.
260 (todos-mode): Make function added to
261 window-configuration-change-hook do a better job of updating the
262 done items separator string overlay.
263 (todos-unload-hook): Remove it here.
264 (todos-item-undo): Fix search for item's end.
265
a820dfe8
SB
2662012-09-23 Stephen Berman <stephen.berman@gmx.net>
267
bbf95285 268 Changes from 2012-06-03 (revision 110012).
a820dfe8
SB
269 * calendar/todos.el: Further comment revision.
270 (todos-sorted-column): Change default value.
271 (todos-item-start): Handle empty category (needed in
272 todos-filter-items).
273 (todos-read-date): Don't use calendar-read; make code cleaner.
274 (todos-multiple-filter-files): Rename this variable from
275 todos-multiple-files and adjust users.
276 (todos-multiple-filter-files-widget): Rename from
277 todos-multiple-files-widget and adjust users.
278 (todos-multiple-filter-files): Rename this function from
279 todos-multiple-files and adjust callers.
280 (todos-filter-items): Remove unused code.
281 (todos-insert-category-line): Add space so highlighting of last
282 column is consistent with the others; adjust display of column
283 highlighting.
284 (todos-menu): Remove obsolete entry.
285 (todos-categories-mode-map): Add new bindings.
286 (todos-display-categories-alphabetically-or-by-priority): New command.
287 (todos-display-categories-sorted-by-todo)
288 (todos-display-categories-sorted-by-diary)
289 (todos-display-categories-sorted-by-done)
290 (todos-display-categories-sorted-by-archived): Restore and fix
291 implementation.
292
b28872ce
SB
2932012-09-23 Stephen Berman <stephen.berman@gmx.net>
294
bbf95285 295 Changes from 2012-06-02 (revision 110011).
b28872ce
SB
296 * calendar/todos.el: Significant code rearrangement; further
297 comment revision.
298 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
299 adjust users.
300 (todos-filtered-buffer-name): Rename from
301 todos-special-buffer-name and adjust users.
302 (todos-filtered-items-mode-map): Rename from
303 todos-filter-items-mode-map and adjust users.
304 (todos-mode-external-set): Use todos-categories instead of
305 todos-set-categories (and add comment to check if this DTRT).
306 (todos-filtered-items-mode): Rename from todos-filter-items-mode
307 and adjust users.
308 (todos-add-category): Don't call todos-validate-name, since
309 todos-read-category does.
310 (todos-edit-quit): Use todos-repair-categories-sexp.
311 (todos-done-item-add-edit-or-delete-comment): Rename from
312 todos-done-item-add-or-edit-comment and adjust users; add optional
313 argument to prompt to delete comment.
314 (todos-item-undo): Delete done item comment on undoing if user
315 confirms.
316
abe748f5
SB
3172012-09-22 Stephen Berman <stephen.berman@gmx.net>
318
bbf95285 319 Changes from 2012-06-02 (revision 110010).
abe748f5
SB
320 * calendar/todos.el: Further code rearrangement and comment
321 revision.
322 (todos-item-start): Handle empty line between todo and done items
323 when done items are displayed.
324 (todos-key-bindings): Comment out bindings meant only for
325 todos-archive-mode.
326 (todos-archive-mode-map): Fix typo.
327 (todos-archive-mode): Derive from special-mode instead of
328 todos-mode to prevent its key bindings from being available here.
329 (todos-archive-done-item): Remove obsolete code; fix item count
330 updating.
331 (todos-unarchive-items): Simplify; fix unarchiving of all items in
332 category; fix item count updating; fix typo.
333
6be04162
SB
3342012-09-22 Stephen Berman <stephen.berman@gmx.net>
335
bbf95285 336 Changes from 2012-06-01 (revision 110009).
6be04162
SB
337 * calendar/todos.el: Further code rearrangement and comment
338 revision.
339 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
340 (todos-file-buffers): New variable.
341 (todos-reset-global-current-todos-file): Use it to simplify
342 implementation of this function.
343 (todos-filtered): New defgroup.
344 (todos-filter-buffer, todos-top-priorities-buffer)
345 (todos-diary-items-buffer, todos-regexp-items-buffer)
346 (todos-priorities-rules, todos-show-priorities)
347 (todos-filter-files, todos-filter-done-items): Use it.
348 (todos-skip-archived-categories): Rename from
349 todos-ignore-archived-categories and adjust users.
350 (todos-display-as-todos-file): Rename from todos-after-find-file
351 and adjust callers.
352 (todos-reset-highlight-item, todos-mode-external-set)
353 (todos-jump-to-category, todos-jump-to-item)
354 (todos-raise-category-priority, todos-insert-item)
355 (todos-move-item): Use find-file-visiting.
356 (todos-make-categories-list): Use file-truename.
357 (todos-display-categories-1): Adjust title text for archive files;
358 use done label for item counts in archive files.
359 (todos-modes-set-3): Add todos-display-as-todos-file to
360 find-file-hook.
361 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
362 todos-update-buffer-list post-command-hook.
363 (todos-unload-hook): And remove them.
364 (todos-show): Only when interactively invoked from an archive,
365 switch to corresponding Todos file.
366 (todos-archive-done-item): Remove obsolete code; fix handling of
367 marked items; fix search for existing category; check whether
368 archive exists and write to file if not; improve display handling.
369
0833689a
SB
3702012-09-21 Stephen Berman <stephen.berman@gmx.net>
371
bbf95285 372 Changes from 2012-05-29 (revision 110008).
0833689a
SB
373 * calendar/todos.el: Further comment revision.
374 (todos-item-end): Replace use of command todos-forward-item by
375 regexp searches using internal variables.
376 (todos-raise-category-priority): Improve and comment.
377 (todos-insert-item): Fix insertion of empty time string.
378
7464f422
SB
3792012-09-21 Stephen Berman <stephen.berman@gmx.net>
380
bbf95285 381 Changes from 2012-05-29 (revision 110007).
7464f422
SB
382 * calendar/todos.el (todos-ignore-archived-categories):
383 Revert last change; remove :initialize and :set functions; change
384 use and change users accordingly.
385 (todos-reset-categories, todos-categories-full)
386 (todos-truncate-categories-list): Remove.
387 (todos-set-categories, todos-update-categories-sexp):
388 Use todos-categories instead of todos-categories-full; remove use
389 of todos-ignore-archived-categories and
390 todos-truncate-categories-list.
391 (todos-check-format, todos-repair-categories-sexp):
392 Use todos-categories instead of todos-categories-full.
393 (todos-read-category): Improve last change.
394 (todos-validate-name): Use completing-read.
395 (todos-categories-category-number): Rename from
396 todos-category-number and adjust users.
397 (todos-update-categories-display, todos-mode-external-set)
398 (todos-delete-category, todos-move-category, todos-merge-category)
399 (todos-unarchive-items): Remove use of todos-categories-full and
400 todos-ignore-archived-categories.
401 (todos-modes-set-3, todos-add-category): Remove use of
402 todos-categories-full.
403 (todos-edit-mode): Fix typo.
404 (todos-forward-category): Use todos-ignore-archived-categories.
405
4de20201
SB
4062012-09-21 Stephen Berman <stephen.berman@gmx.net>
407
bbf95285 408 Changes from 2012-05-28 (revision 110006).
4de20201
SB
409 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
410 (todos-ignore-archived-categories): Change default value.
411
459c6e93
SB
4122012-09-21 Stephen Berman <stephen.berman@gmx.net>
413
bbf95285 414 Changes from 2012-05-27 (revision 110005).
459c6e93
SB
415 * calendar/todos.el: Further comment revision.
416 (todos-reset-global-current-todos-file):
417 Try to make this not slow down kill-buffer.
418 (todos-update-categories-sexp): Handle the case where there is no
419 categories sexp yet, i.e. after inserting the first item in the
420 file, so todos-display-categories works.
421 (todos-read-file-name): Improve implementation.
422 (todos-validate-name): Use variable todos-files.
423 (todos-category-number): New variable.
424 (todos-insert-category-line, todos-update-categories-display)
425 (todos-raise-category-priority): Use it.
426 (todos-add-file): Remove unused remnant code.
427
2a9e69d6
SB
4282012-09-21 Stephen Berman <stephen.berman@gmx.net>
429
bbf95285 430 Changes from 2012-05-25 (revision 110004).
2a9e69d6
SB
431 * calendar/todos.el: Further comment revision.
432 (todos-set-item-top-priority): New command.
433 (todos-reset-global-current-todos-file):
434 Use todos-files-function instead of todos-files.
435 (todos-read-category): Add optional argument to test whether
436 caller adds new category; if so, don't prompt for new category and
437 don't restore original todos-categories list.
438 (todos-categories-mode-map): Update to renamed commands.
439 (todos-filter-items-mode-map): Add binding for new command.
440 (todos-mode): Fix typo.
441 (todos-show): If called from archive file, show corresponding
442 category in Todos file, if it exists.
443 (todos-jump-to-category): Remove code to add new category, since
444 todos-read-category can do that.
445 (todos-add-file): Remove obsolete code; visit new file in selected
446 window.
447 (todos-add-category): Simplify.
448 (todos-rename-category): Use force-mode-line-update instead of
449 setting mode-line-buffer-identification.
450 (todos-delete-category): Improve logic of prompts; use
451 todos-categories-full and check todos-ignore-archived-categories.
452 (todos-raise-category-priority, todos-lower-category-priority):
453 Rename from todos-{raise,lower}-category and adjust callers.
454 (todos-move-category, todos-merge-category):
455 Set todos-categories-full; on setting todos-categories check
456 todos-ignore-archived-categories.
457 (todos-insert-item): Let-bind use-empty-active-region and use
458 use-region-p instead of transient-mark-mode.
459 (todos-raise-item-priority): Improve implementation.
460 (todos-archive-done-item): Rename from
461 todos-archive-done-item-or-items and adjust callers; confine to
462 Todos mode.
463 (todos-unarchive-items): On setting todos-categories check
464 todos-ignore-archived-categories.
465
47011bed
SB
4662012-09-21 Stephen Berman <stephen.berman@gmx.net>
467
bbf95285 468 Changes from 2012-05-23 (revision 110003).
47011bed
SB
469 * calendar/todos.el (todos-key-bindings): Remove binding of
470 deleted command.
471 (todos-menu): Remove entry of deleted command.
472 (todos-show-archive): Fix last change.
473 (todos-done-item-add-or-edit-comment): Rename from
474 todos-comment-done-item and adjust callers; prompt to edit an
475 existing comment.
476
3af3cd0b
SB
4772012-09-21 Stephen Berman <stephen.berman@gmx.net>
478
bbf95285 479 Changes from 2012-05-22 (revision 110002).
2a9e69d6 480 * calendar/todos.el (todos-set-show-current-file): Rename from
3af3cd0b
SB
481 todos-toggle-show-current-file and adjust callers.
482 (todos-number-priorities): Rename from todos-number-prefix and
483 adjust users.
484 (todos-update-count): Rename from todos-set-count and adjust
485 callers.
486 (todos-hide-show-item-numbering): Rename from
487 todos-toggle-item-numbering and adjust callers.
488 (todos-hide-show-done-items): Rename from
489 todos-toggle-view-done-items and adjust callers.
490 (todos-show-done-only): Rename from todos-toggle-show-done-only.
491 (todos-view-archived-items): Comment out.
492 (todos-show-archive): Prompt to choose another archive file if
493 current Todos file lacks an archive; prompt to visit archive
494 anyway when current category has no archived items.
495
78fe7289
SB
4962012-09-21 Stephen Berman <stephen.berman@gmx.net>
497
bbf95285 498 Changes from 2012-05-21 (revision 110001).
78fe7289
SB
499 * calendar/todos.el: Further comment revision and code
500 rearrangement.
501 (todos-item-end): Revert last change.
502 (todos-key-bindings, todos-menu, todos-archive-mode-map)
503 (todos-filter-items-mode-map): Use renamed commands.
504 (todos-hide-show-date-time): Rename from
505 todos-toggle-display-date-time.
506 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
507 adjust caller.
508 (todos-backward-item): Exempt special handling only from
509 todos-regexp-items-buffer instead of todos-filter-items-mode.
510 (todos-raise-item-priority): Don't allow item reprioritizing in
511 Todos filter items mode except for top priority items.
512
520d912e
SB
5132012-09-21 Stephen Berman <stephen.berman@gmx.net>
514
bbf95285 515 Changes from 2012-05-19 (revision 110000).
520d912e
SB
516 * calendar/todos.el: Add and revise further doc strings and
517 comments.
518 (todos-filter-function, todos-custom-items)
519 (todos-custom-items-multifile): Remove.
520 (todos-filter-done-items): New defcustom.
521 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
522 (todos-filter-items): Check return value of caller first; tag
523 archived items for todos-jump-to-item; delete categories sexp
524 before processing filter; check todos-filter-done-items for
525 whether to leave done items; remove custom filter; fix regexp for
526 file and category tags; don't invoke buffer fontification.
527 (powerset-recursive): Fix typo.
528 (todos-key-bindings): Remove unused bindings.
529 (todos-top-priorities-multifile, todos-diary-items-multifile)
530 (todos-regexp-items-multifile): Use variable todos-multiple-files.
531 (todos-jump-to-item): Fix regexp; handle archive tags; take
532 todos-filter-done-items into account.
533 (todos-insert-item-from-calendar): Relocate to end of file
534 together with key-binding as addition to calendar.el.
535
0e89c3fc
SB
5362012-09-20 Stephen Berman <stephen.berman@gmx.net>
537
bbf95285 538 Changes from 2012-05-17 (revision 109999).
520d912e 539 * calendar/todos.el: Add and revise further doc strings and
0e89c3fc
SB
540 comments; major code rearrangement.
541 (todos-merged-files, todos-prompt-merged-files)
542 (todos-print-priorities, todos-tmp-buffer-name)
543 (todos-top-priorities-widgets, todos-update-merged-files)
544 (todos-merged-top-priorities, todos-merged-diary-items)
545 (todos-merged-regexp-items, todos-merged-custom-items)
546 (todos-raw-mode, todos-change-default-file)
547 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
548 (todos-toggle-diary-nonmarking, todos-validate-category-name):
549 Remove.
550 (todos-category-string-matcher): Comment out.
551 (todos-categories): New defgroup.
552 (todos-initial-file, todos-filter-buffer)
553 (todos-top-priorities-buffer, todos-categories-category-label)
554 (todos-diary-items-buffer, todos-regexp-items-buffer)
555 (todos-custom-items-buffer, todos-filter-files)
556 (todos-highlight-item, todos-todo-mode-date-time-regexp):
557 New defcustoms.
558 (todos-diary-expired): New face.
559 (todos-print-buffer, todos-multiple-files)
560 (todos-multiple-files-widget, todos-key-bindings): New variables.
561 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
562 (todos-special-buffer-name)
563 (todos-reevaluate-filter-files-defcustom)
564 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
565 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
566 (todos-diary-expired-matcher, todos-category-string-matcher-1)
567 (todos-category-string-matcher-2, todos-repair-categories-sexp)
568 (todos-validate-name, todos-multiple-files)
569 (todos-display-categories-1, todos-update-categories-display)
570 (todos-modes-set-3, todos-mode-external-set): New functions.
571 (todos-set-top-priorities-in-file)
572 (todos-set-top-priorities-in-category)
573 (todos-top-priorities-multifile, todos-diary-items-multifile)
574 (todos-regexp-items-multifile, todos-custom-items-multifile)
575 (todos-convert-legacy-files, todos-jump-to-item)
576 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
577 (todos-edit-item-diary-inclusion)
578 (todos-edit-category-diary-inclusion)
579 (todos-edit-item-diary-nonmarking)
580 (todos-edit-category-diary-nonmarking): New commands.
581 (todos, todos-faces): Update :version.
582 (todos-done-separator, todos-completion-ignore-case):
583 Change default value.
584 (todos-done-separator): Change :set function.
585 (todos-indent-to-here): Add :validate function to :type.
586 (todos-prefix-string, todos-mark, todos-button)
587 (todos-sorted-column, todos-archived-only, todos-search)
588 (todos-done, todos-done-sep): Provide full face definitions
589 instead of inheriting.
590 (todos-edit-buffer, todos-categories-buffer): Change from
591 defcustom to defvar.
592 (todos-category-beg, todos-category-done): Change from defvar to
593 defconst.
594 (todos-files): Check if todos-files-directory exists.
595 (todos-default-todos-file, todos-mode-line-control, todos-print):
596 Use todos-short-file-name.
597 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
598 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
599 todos-category-string-matcher-2, todos-diary-expired-matcher.
600 (todos-category-select): Use todos-done-string-start, and
601 condition search on todos-show-with-done; don't make display
602 overlay for done items separator string if there already is one;
603 use todos-highlight-item, require hl-line and activate
604 hl-line-mode here in order to avoid a hang if done in todos-mode
605 or the mode hook.
606 (todos-update-categories-sexp): Use todos-categories-full if set,
607 otherwise todos-categories.
608 (todos-make-categories-list): Don't test for archive file when
609 processing a legacy todo-mode file.
610 (todos-check-format): Add check for todos-categories sexp.
611 (todos-diary-item-p): Use todos-nondiary-start instead of
612 todos-date-pattern.
613 (todos-marked-item-p): Rename from todos-item-marked-p.
614 (todos-read-file-name): Don't accept empty name; validate.
615 (todos-read-category): Validate new name before prompting whether
616 to add new category; force quit if user answers no.
617 (todos-filter-items): Improve implementation.
618 (todos-set-top-priorities): Rewrite as a noninteractive function
619 using minibuffer input instead of widgets.
620 (todos-insert-sort-button): Call todos-display-sorted with
621 argument nil to display categories in numerical order, instead of
622 calling todos-display-categories.
623 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
624 Common Lisp powerset function at
625 http://rosettacode.org/wiki/Power_set#Common_Lisp.
626 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
627 powerset function at http://rosettacode.org/wiki/Power_set#C.
628 (todos-powerset): Defalias to powerset-bitwise.
629 (todos-mode-map): Generate from todos-key-bindings instead of
630 listing each key definition.
631 (todos-categories-mode-map): Add two bindings.
632 (todos-filter-items-mode-map): Add some bindings, remove others.
633 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
634 function setting todos-done-separator to
635 window-configuration-change-hook.
636 (todos-unload-hook): Remove function setting todos-done-separator
637 from window-configuration-change-hook.
638 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
639 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
640 (todos-categories-mode): Derive from special-mode; use
641 todos-mode-external-set.
642 (todos-filter-items-mode): Derive from special-mode.
643 (todos-quit): Save archive file if it hasn't yet been saved.
644 (todos-display-categories): Delegate all functionality to
645 todos-display-categories-1 and todos-update-categories-display.
646 (todos-toggle-view-done-items): Improve implementation.
647 (todos-highlight-item): Require hl-line.
648 (todos-toggle-display-date-time): Remove argument and make it
649 apply only to whole file.
650 (todos-top-priorities, todos-diary-items, todos-regexp-items)
651 (todos-custom-items): Use todos-special-buffer-name.
652 (todos-add-file): Use todos-short-file-name and
653 todos-reevaluate-defcustoms; remove validation, since it's now
654 done in todos-read-file-name.
655 (todos-add-category): Also update todos-categories-full if non-nil.
656 (todos-delete-category): Delete file after confirmation if only
657 category is deleted.
658 (todos-move-category): Use todos-short-file-name and
659 todos-reevaluate-defcustoms.
660 (todos-insert-item): Fix getting date from the calendar and
661 insertion of time string.
662 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
663 display of diary entries.
664 (todos-edit-multiline): Add optional argument to restrict editing
665 buffer to current item, otherwise make entire buffer (i.e. whole
666 file) editable.
667 (todos-edit-quit): When whole file is editable, check file format
668 validity before killing buffer, and if valid, recalculate
669 categories sexp to be safe.
670 (todos-edit-item-header): Allow choosing date from calendar.
671 (todos-item-done): Handle marked items.
672
697bd4a3
SB
6732012-09-19 Stephen Berman <stephen.berman@gmx.net>
674
bbf95285 675 Changes from 2011-12-03 (revision 109998).
697bd4a3
SB
676 * calendar/todos.el (todos-item-start): Restore commented out code
677 to prevent wrongly moving point in widened buffer.
678
58c7641d
SB
6792012-09-19 Stephen Berman <stephen.berman@gmx.net>
680
bbf95285 681 Changes from 2011-12-02 (revision 109997).
58c7641d
SB
682 * calendar/todos.el: Remove old commentary from todo-mode.el; add
683 and revise further doc strings and comments; require cl.el at
684 compile time for remove-duplicates; use function powerset from
685 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
686 code rearrangement. Add adapted version of diary-goto-entry as comment.
687 (todos-file-top, todos-archived-categories-buffer)
688 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
689 (todos-save-top-priorities, todos-reset-separator)
690 (todos-switch-todos-file, todos-item-string-start, todos-counts)
691 (todos-string-count-lines, todos-string-multiline-p)
692 (todos-display-categories-alphabetically): Remove.
693 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
694 (todos-insert-item-ask-date-time-for-diary)
695 (todos-insert-item-ask-date-time-for-diary-here)
696 (todos-insert-item-ask-date-time-here)
697 (todos-insert-item-ask-date-maybe-notime)
698 (todos-insert-item-ask-date-maybe-notime-for-diary)
699 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
700 (todos-insert-item-ask-date-maybe-notime-here)
701 (todos-insert-item-ask-date-for-diary)
702 (todos-insert-item-ask-date-for-diary-here)
703 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
704 (todos-insert-item-ask-dayname-time)
705 (todos-insert-item-ask-dayname-time-for-diary)
706 (todos-insert-item-ask-dayname-time-for-diary-here)
707 (todos-insert-item-ask-dayname-time-here)
708 (todos-insert-item-ask-dayname-maybe-notime)
709 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
710 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
711 (todos-insert-item-ask-dayname-maybe-notime-here)
712 (todos-insert-item-ask-dayname-for-diary)
713 (todos-insert-item-ask-dayname-for-diary-here)
714 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
715 (todos-insert-item-ask-time-for-diary)
716 (todos-insert-item-ask-time-for-diary-here)
717 (todos-insert-item-ask-time-here)
718 (todos-insert-item-maybe-notime)
719 (todos-insert-item-maybe-notime-for-diary)
720 (todos-insert-item-maybe-notime-for-diary-here)
721 (todos-insert-item-maybe-notime-here)
722 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
723 (todos-insert-item-here): Remove; all of these are now generated
724 on loading (some with the same name, most with other names.)
725 (todos-item-counts, todos-display-categories-alphabetically)
726 (todos-display-categories-sorted-by-todo)
727 (todos-display-categories-sorted-by-diary)
728 (todos-display-categories-sorted-by-done)
729 (todos-display-categories-sorted-by-archived): Comment out.
730 (todos-comment-string, todos-mode-line-function)
731 (todos-filter-function, todos-priorities-rules)
732 (todos-visit-files-commands, todos-categories-totals-label)
733 (todos-use-only-highlighted-region, todos-diary-nonmarking):
734 New defcustoms.
735 (todos-mark, todos-comment): New faces.
736 (todos-comment-face): Corresponding new variable.
737 (todos-categories-full, todos-global-current-todos-file)
738 (todos-first-visit, todos-insertion-commands-args-genlist)
739 (todos-insertion-commands-args, todos-insertion-commands-names)
740 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
741 (todos-top-priorities-widgets, todos-date-from-calendar)
742 (todos-item-mark, todos-categories-with-marks): New variables.
743 (todos-mode-line-control, todos-reset-global-current-todos-file)
744 (todos-gen-arglists, todos-insertion-command-name)
745 (todos-insertion-key-bindings, todos-unload-hook)
746 (todos-filter-items, todos-set-date-from-calendar)
747 (todos-comment-string-matcher, todos-after-find-file)
748 (todos-reset-nondiary-marker, todos-reset-done-string)
749 (todos-reset-comment-string, todos-show-current-file)
750 (todos-item-marked-p, todos-total-item-counts): New functions.
751 (todos-define-insertion-command): New macro.
752 (todos-toggle-mark-item, todos-mark-category)
753 (todos-unmark-category, todos-set-top-priorities)
754 (todos-merged-diary-items, todos-regexp-items)
755 (todos-merged-regexp-items, todos-custom-items)
756 (todos-merged-custom-items, todos-comment-done-item)
757 (todos-archive-category-done-items, todos-unarchive-items)
758 (todos-print-to-file): New commands.
759 (todos-done-separator): Change :set function.
760 (todos-done-string): Uncomment :initialize and :set functions.
761 (todos-files): Use file-truename.
762 (todos-show-current-file): Rename from
763 todos-auto-switch-todos-file and change :set function accordingly.
764 (todos-font-lock-keywords): Use todos-comment-string-matcher;
765 change names of other matcher functions to new *-matcher.
766 (todos-category-number): Change initial value.
767 (todos-insertion-map): Use todos-insertion-key-bindings to
768 generate key definitions.
769 (todos-mode-map): Don't suppress digit keys, so they can supply
770 prefix arguments; add new and change some existing bindings.
771 (todos-archive-mode-map): Change a key binding.
772 (todos-categories-mode-map): Comment out a key binding.
773 (todos-filter-items-mode-map): Rename from
774 todos-top-priorities-mode-map.
775 (todos-mode): Make todos-current-todos-file,
776 todos-categories-full, todos-categories, todos-first-visit,
777 todos-category-number, todos-show-done-only,
778 todos-categories-with-marks local variables and set them; add
779 todos-show-current-file to pre-command-hook, todos-after-find-file
780 to post-command-hook and todos-reset-global-current-todos-file to
781 kill-buffer-hook.
782 (todos-archive-mode): Make todos-current-todos-file,
783 todos-categories and todos-category-number local variables and set
784 them; add todos-after-find-file to post-command-hook.
785 (todos-raw-mode): New derived major mode.
786 (todos-categories-mode): Don't set font-lock-defaults and
787 buffer-read-only; make todos-current-todos-file and
788 todos-categories local variables and set them.
789 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
790 (todos-quit): Don't reset todos-categories on quitting
791 todos-categories-mode; handle quitting todos-filter-items-mode.
792 (todos-show): Simplify; when visiting an archive file switch to
793 corresponding Todos file; use todos-first-visit.
794 (todos-view-archived-items): Simplify; call todos-category-number.
795 (todos-show-archive): Rename from todos-switch-to-archive and
796 adjust callers; simplify.
797 (todos-toggle-display-date-time): Add optional argument to toggle
798 display in entire file.
799 (todos-top-priorities): Use todos-filter-items, which now contains
800 the previous core of this command.
801 (todos-merged-top-priorities, todos-diary-items):
802 Use todos-filter-items.
803 (todos-forward-category): Add optional argument to go to the
804 previous category.
805 (todos-backward-category): Use todos-forward-category.
806 (todos-jump-to-category): Refine implementation.
807 (todos-forward-item, todos-backward-item): Fix movement from todo
808 to done item and vice versa.
809 (todos-add-file): Remove argument and simplify.
810 (todos-rename-category): Use todos-current-todos-file and
811 todos-mode-line-function; set todos-categories with
812 todos-set-categories.
813 (todos-delete-category): Ask what to do if category has archived items.
814 (todos-raise-category): Ensure modified todos-categories is added
815 to file's categories sexp.
816 (todos-move-category): Improve implementation, especially handling
817 of archived categories.
818 (todos-merge-category): Tweak; set item counts.
819 (todos-insert-item): Improve handling of various argument values;
820 add new argument values to control marking of diary items and to
821 use region for item body.
822 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
823 (todos-delete-item, todos-edit-item-header): Handle marked items.
824 (todos-edit-item): Incorporate functionality of removed
825 todos-string-multiline-p.
826 (todos-edit-multiline): Use set-window-buffer instead of
827 switch-to-buffer.
828 (todos-edit-quit): Don't save on quitting; use todos-show instead
829 of todos-category-select.
830 (todos-raise-item-priority): Add argument to lower priority;
831 improve handling of top priority items in todos-filter-items-mode;
832 restore marks.
833 (todos-lower-item-priority): Use todos-raise-item-priority.
834 (todos-set-item-priority): Increment maximum number if item is new.
835 (todos-move-item): Handle marked items; delay changing category
836 moved from till after movement to avoid restoring if user cancels
837 before insertion.
838 (todos-item-done): Add optional argument to insert comment; fix
839 item counts and update sexp.
840 (todos-item-undo): Fix item counts and update.
841 (todos-archive-done-item-or-items): Rename from
842 todos-archive-done-items; add optional argument to archive all
843 items in category; handle marked items.
844 (todos-unarchive-category): Use todos-unarchive-items.
845 (todos-toggle-diary-inclusion): Incorporate functionality of
846 removed todos-toggle-item-diary-inclusion; handle marked items.
847 (todos-print): Add optional argument to print to file.
848 (todos-done-string-start): Don't use todos-nondiary-start.
849 (todos-date-string-matcher, todos-time-string-matcher)
850 (todos-done-string-matcher, todos-category-string-matcher): Rename
851 from *-match and adjust callers.
852 (todos-wrap-and-indent): Use set instead of setq for local variables.
853 (todos-prefix-overlays): Improve overlay handling.
854 (todos-reset-categories): Fix and complete implementation.
855 (todos-toggle-show-current-file): Rename from
856 todos-toggle-switch-todos-file-noninteractively.
857 (todos-category-select): Use todos-mode-line-function.
858 (todos-item-start): Comment out code used by removed function.
859 (todos-remove-item): Handle presence of both prefix/number and
860 mark overlays.
861 (todos-get-count): Simplify.
862 (todos-set-count): Change argument list and adjust callers; simplify.
863 (todos-set-categories): Handle new archive files; use
864 todos-categories-full and todos-ignore-archived-categories.
865 (todos-truncate-categories-list): Use todos-categories-full.
866 (todos-update-categories-sexp): Use kill-region instead of
867 kill-line; use todos-categories-full.
868 (todos-read-file-name): Add argument to require existing file and
869 adjust callers; use file-truename.
870 (todos-read-category): Remove argument to require existing
871 category and delegate it to completing-read in function body.
872 (todos-validate-category-name): Make empty string prompt only for
873 initial category name.
874 (todos-read-date): Use = instead of eq for testing if month = 13,
875 and if it is, set monthname to *.
876 (todos-display-categories): Use todos-global-current-todos-file;
877 use set-window-buffer instead of switch-to-buffer; add a line
878 showing item count totals.
879 (todos-padded-string): Use the longest of category name or label.
880 (todos-descending-counts): Rename from
881 todos-descending-counts-store and adjust users.
882 (todos-insert-category-line): Adjust format; use mapconcat; kill
883 buffer after jumping to category.
884
d04d6b95
SB
8852012-09-18 Stephen Berman <stephen.berman@gmx.net>
886
bbf95285 887 Changes from 2011-05-16 (revision 109996).
d04d6b95
SB
888 * calendar/todos.el Add and revise various doc strings, remove
889 further commented out code; add further comments; further code
890 rearrangement.
891 (todos-file-do, todos-archive-file, todos-mode-hook)
892 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
893 (todos-view-archive, todos-search-string)
894 (todos-jump-to-category-noninteractively, todos-initial-setup):
895 Remove.
896 (todos-files): Remove this defcustom.
897 (todos-initial-category, todos-display-categories-first)
898 (todos-auto-switch-todos-file, todos-default-todos-file)
899 (todos-categories-category-label, todos-categories-todo-label)
900 (todos-categories-diary-label, todos-categories-done-label)
901 (todos-categories-archived-label)
902 (todos-categories-number-separator, todos-categories-align)
903 (todos-ignore-archived-categories, todos-nondiary-marker):
904 New defcustoms.
905 (todos-prefix, todos-done-separator, todos-file-top)
906 (todos-categories-buffer, todos-archived-categories-buffer)
907 (todos-edit-buffer, todos-always-add-time-string, todos-button):
908 Change default value.
909 (todos-done-string): Add todos-reset-done-string as :set function,
910 but keep this commented out.
911 (todos-files, todos-archives, todos-insertion-map)
912 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
913 (todos-show-done-only, todos-date-string-start)
914 (todos-done-string-start): New variables.
915 (todos-files-directory, todos-files-function, todos-merged-files)
916 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
917 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
918 (todos-toggle-switch-todos-file-noninteractively)
919 (todos-switch-todos-file, todos-counts, todos-get-count)
920 (todos-set-count, todos-set-categories)
921 (todos-truncate-categories-list, todos-update-categories-sexp)
922 (todos-read-file-name, todos-sort, todos-display-sorted)
923 (todos-label-to-key, todos-insert-sort-button): New functions.
924 (todos-display-categories-sorted-by-todo)
925 (todos-display-categories-sorted-by-diary)
926 (todos-display-categories-sorted-by-done)
927 (todos-display-categories-sorted-by-archived)
928 (todos-update-merged-files, todos-switch-to-archive)
929 (todos-choose-archive, todos-merged-top-priorities)
930 (todos-jump-to-category-other-file, todos-clear-matches)
931 (todos-add-file, todos-change-default-file, todos-move-category)
932 (todos-merge-category, todos-merge-categories)
933 (todos-edit-item-time, todos-move-item-to-file)
934 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
935 (todos-toggle-diary-nonmarking): New commands.
936 (todos-toggle-show-done-only): New command replacing todos-view-archive.
937 (todos-faces): New defgroup; use in all face definitions.
938 (todos-sorted-column, todos-archived-only, todos-search): New faces.
939 (todos-font-lock-keywords): Use subexpression 1 with matcher
940 todos-category-string-match.
941 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
942 (todos-categories-mode-map): Add new key bindings; change some
943 existing bindings.
944 (todos-top-priorities-mode-map): New keymap.
945 (todos-menu): Add submenues and new entries.
946 (auto-mode-alist): Add extension of Todos and Todos archive files.
947 (todos-mode, todos-archive-mode): Make derived mode; use
948 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
949 and todos-switch-todos-file; make todos-show-done-only local
950 variable.
951 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
952 (todos-categories-mode): Make derived mode.
953 (todos-top-priorities-mode): New derived major mode.
954 (todos-save): Remove unused code.
955 (todos-quit): Handle todos-categories-mode; save archive buffer.
956 (todos-show): Add optional argument to prompt for a Todos file; if
957 called interactively or with prefix arg or from an archive, don't
958 make a no-op but reset todos-current-todos-file, todos-categories
959 and todos-category-number; use todos-read-file-name,
960 todos-display-categories-first, todos-ignore-archived-categories.
961 (todos-display-categories): Change argument name; refactor code
962 for inserting table labels and lines, using
963 todos-ignore-archived-categories, todos-sort,
964 todos-categories-number-separator, todos-insert-sort-button,
965 todos-categories-*-labels, and todos-insert-category-line.
966 (todos-display-categories-alphabetically): Use todos-display-sorted.
967 (todos-toggle-view-done-items): Use todos-done-string-start and
968 todos-get-count.
969 (todos-toggle-display-date-time): Use todos-done-string-start.
970 (todos-top-priorities): Remove autoload cookie; partially rewrite:
971 new argument list; allow combining top priorities of multiple
972 Todos files; change display to include category (and file) name as
973 part of item header; use todos-top-priorities-mode.
974 (todos-diary-items): Reimplement using only todos-top-priorities.
58c7641d 975 (todos-forward-category, todos-backward-category): Adjust to
d04d6b95
SB
976 1-based numbering of categories; move point to top of category.
977 (todos-jump-to-category): Rewrite, adding optional arguments to
978 provide a category in non-interactive uses and to prompt for which
979 Todos file to jump to.
980 (todos-search): Reimplement; highlight each match as found, say
981 how many matches remain and prompt whether to go to next one; at
982 end of search prompt whether to remove highlighting.
983 (todos-add-category): Remove autoload cookie; assign new category
984 the highest category number; associate zero-initialized vector of
985 item counts, instead of property list, with new category; use
986 todos-validate-category-name and todos-update-categories-sexp.
987 (todos-rename-category): Use todos-validate-category-name and
988 todos-update-categories-sexp; take archive files into account.
989 (todos-delete-category): Use todos-get-count and
990 todos-update-categories-sexp, let-bind variable that were
991 mistakenly global; use delete-region instead of kill-region;
58c7641d
SB
992 adjust to 1-based numbering of categories; move point to top of
993 category.
d04d6b95
SB
994 (todos-raise-category): Handle item count vectors; use
995 todos-insert-category-line and todos-update-categories-sexp.
996 (todos-insert-item): Use nil time-string argument to omit time
997 string; use todos-nondiary-start and todos-nondiary-end and
998 todos-update-categories-sexp; if category named to insert into
999 does not exist, add it; take new diary items into account.
1000 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1001 (todos-insert-item-ask-date-time-for-diary)
1002 (todos-insert-item-ask-date-time-for-diary-here)
1003 (todos-insert-item-ask-date-time-here)
1004 (todos-insert-item-ask-date-maybe-notime)
1005 (todos-insert-item-ask-date-maybe-notime-for-diary)
1006 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1007 (todos-insert-item-ask-date-maybe-notime-here)
1008 (todos-insert-item-ask-date-for-diary)
1009 (todos-insert-item-ask-date-for-diary-here)
1010 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1011 (todos-insert-item-ask-dayname-time)
1012 (todos-insert-item-ask-dayname-time-for-diary)
1013 (todos-insert-item-ask-dayname-time-for-diary-here)
1014 (todos-insert-item-ask-dayname-time-here)
1015 (todos-insert-item-ask-dayname-maybe-notime)
1016 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1017 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1018 (todos-insert-item-ask-dayname-maybe-notime-here)
1019 (todos-insert-item-ask-dayname-for-diary)
1020 (todos-insert-item-ask-dayname-for-diary-here)
1021 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1022 (todos-insert-item-ask-time-for-diary)
1023 (todos-insert-item-ask-time-for-diary-here)
1024 (todos-insert-item-ask-time-here)
1025 (todos-insert-item-maybe-notime)
1026 (todos-insert-item-maybe-notime-for-diary)
1027 (todos-insert-item-maybe-notime-for-diary-here)
1028 (todos-insert-item-maybe-notime-here)
1029 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
1030 New insertion commands.
1031 (todos-insert-item-from-calendar): Use todos-current-todos-file.
1032 (todos-delete-item): Handle diary items;
1033 use todos-update-categories-sexp.
1034 (todos-edit-item): Check if point is with item string;
1035 use read-string instead of read-from-minibuffer;
1036 use todos-date-string-start; after editing put point at start of
1037 item text.
1038 (todos-edit-multiline): Narrow to item before invoking
1039 todos-edit-mode; show key binding of todos-edit-quit in a message.
1040 (todos-edit-quit): Use todos-save; kill buffer.
1041 (todos-edit-item-header): Add optional argument to prompt for
1042 editing only date string or only time string;
1043 use todos-date-string-start.
1044 (todos-edit-item-date, todos-edit-item-date-is-today)
1045 (todos-raise-item-priority, todos-lower-item-priority): Rename
1046 from todos-{raise, lower}-item and make them DTRT in
1047 todos-top-priorities-mode.
1048 (todos-set-item-priority): Make interactive; use todos-get-count
1049 and todos-insert-with-overlays; interactively, just relocate the
1050 item within its category.
1051 (todos-move-item): Add optional argument to prompt for a category
1052 in another Todos file; handle diary items; fix restoration after
1053 cancelling before inserting.
1054 (todos-item-done): Handle diary items; simplify handling of
1055 insertion in done items section.
1056 (todos-item-undo): Handle diary items.
58c7641d 1057 (todos-archive-done-items): Adjust to new handling of archive
d04d6b95
SB
1058 files (in parallel with Todos files); handle diary items; use
1059 todos-done-string-start.
1060 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
1061 todos-nondiary-end and todos-item-counts.
1062 (todos-toggle-diary-inclusion): Use todos-category-done instead of
1063 todos-category-end.
1064 (todos-print): Remove autoload cookie; rewrite to make overlays,
1065 line wrapping and wrap prefixes printable.
1066 (todos-date-pattern): Make parenthesized groups shy.
1067 (todos-date-string-match): Use todos-date-string-start; make
1068 todos-date-pattern an explicitly numbered group.
1069 (todos-time-string-match): Use todos-date-string-start.
1070 (todos-done-string-match): Use todos-done-string-start.
1071 (todos-category-string-match): Rewrite to match new category and
1072 category+filename patterns in todos-top-priorities-mode.
1073 (todos-prefix-overlays): Use todos-done-string-start and
1074 todos-category-done.
1075 (todos-reset-prefix): Handle archive files; restore point after
1076 changing prefix.
1077 (todos-reset-separator): Handle archive files.
1078 (todos-category-number): Make category number one more than its
1079 list index.
58c7641d 1080 (todos-current-category): Adjust to 1-based numbering of categories.
d04d6b95
SB
1081 (todos-category-select): Simplify handling of done items and done
1082 separator string overlay.
1083 (todos-item-start): Use todos-date-string-start and
1084 todos-done-string-start.
1085 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
1086 (todos-item-string): Restore point after getting item bounds; use
1087 buffer-substring-no-properties.
1088 (todos-done-item-p): Use todos-done-string-start.
1089 (todos-make-categories-list): Add optional argument to force
1090 looping through file to get categories and their item counts,
1091 otherwise set todos-categories from sexp in first line; use
1092 vectors of item counts instead of plists; count diary items.
1093 (todos-item-counts): Use todos-counts, todos-set-counts,
1094 todos-get-counts, and todos-update-categories-sexp instead of
1095 getting and setting properties; handle diary items.
1096 (todos-read-category): Add argument to set prompt; don't offer
1097 default category.
1098 (todos-validate-category-name): Rename from
1099 todos-check-category-name; take into account whether there are
1100 already categories or not.
1101 (todos-read-date): Accept `*' as an unspecified month, day, or year.
1102 (todos-padded-string): Accommodate new structure of
1103 todos-categories as alists; use todos-categories-align.
1104 (todos-descending-counts-store): New variable.
1105 (todos-insert-category-line): Rename from
1106 todos-insert-category-name and reimplement using labels and
1107 todos-get-counts instead of properties; use
1108 todos-ignore-archived-categories; highlight sorted column.
1109
f730d273
SB
11102012-09-14 Stephen Berman <stephen.berman@gmx.net>
1111
bbf95285 1112 Changes from 2010-07-09 (revision 109995).
f730d273
SB
1113 * calendar/todos.el Remove lots of commented out code; add various
1114 comments; further code rearrangement.
1115 (todos-insert-item-here-ask-date-time)
1116 (todos-insert-item-ask-date-time)
1117 (todos-insert-item-ask-dayname-time)
1118 (todos-insert-item-for-diary)
1119 (todos-insert-item-for-diary-ask-date-time)
1120 (todos-make-categories-alist, todos-categories-alist): Remove.
1121 (todos-categories-list): Comment out.
1122 (todos-make-categories-list): New function replacing
1123 todos-make-categories-alist, using category plists to get item
1124 counts and taking archive into account.
1125 (todos-current-todos-file): New variable.
1126 (todos-mode-map): Update key bindings.
1127 (todos-save): Add as comment code to make sure todos-categories
1128 sexp is current on saving.
1129 (todos-quit): Call todos-show on quitting Todos archive buffer.
1130 (todos-show): If todos-current-todos-file is not set to Todos
1131 file, set it as a new file; set todos-categories from
1132 todos-make-categories-alist.
1133 (todos-display-categories): Use a different display format for
1134 archive file; put point initially on the first button.
1135 (todos-toggle-view-done-items): Check the category's `done'
1136 property to determine if there are done items.
1137 (todos-view-archive): Set todos-current-todos-file to the archive
1138 file; jump from the Todos file to the same category in the
1139 archive, if it exists, else jump to the first category; use
1140 message instead of error.
1141 (todos-add-category): Intern a special symbol for the new category
1142 and set its property list to holds counts of the numbers of todo,
1143 done and archived items in the category; assign the new category
1144 the current highest category number.
1145 (todos-rename-category): Don't use todos-categories-alist.
1146 (todos-delete-category): Check the category's `todo' and `done'
1147 properties to determine if it is empty; ensure that the end of the
1148 last category is found; after deleting the category, empty its
1149 plist and unintern its special symbol.
1150 (todos-insert-item-here): Fix argument list of todos-insert-item.
1151 (todos-delete-item, todos-raise-item, todos-lower-item):
1152 Use message instead of error.
1153 (todos-move-item): If the category to be moved to does not exist,
1154 add it as a new category.
1155 (todos-item-done, todos-reset-separator):
1156 Use todos-category-select instead of todos-show.
1157 (todos-archive-done-items): Make buffer writeable; conditionalize
1158 search for end of category; save after adding to archive in case
1159 the file is new, so it can be found.
1160 (todos-category-select): Wrap search in if instead of or+and;
1161 don't hide done items in an archive.
1162 (todos-set-item-priority): Check the category's `todo'
1163 property to determine if there are not done todo items.
1164 (todos-jump-to-category-noninteractively): Just switch to buffer
1165 visiting todos-current-todos-file, since this can be either a
1166 Todos file or an archive.
1167 (todos-item-counts): Use category's plist instead of an alist.
1168 (todos-longest-category-name-length): Argument is now a list of
1169 category names, not an alist, so just test each element, not each
1170 element's the car.
1171 (todos-padded-string): Use todos-categories instead of
1172 todos-categories-alist.
1173 (todos-insert-category-name): Use category plist to get item
1174 counts; take archived items into account.
1175
ee7412e4
SB
11762012-09-13 Stephen Berman <stephen.berman@gmx.net>
1177
bbf95285 1178 Changes from 2010-06-18 (revision 109994).
ee7412e4
SB
1179 * calendar/todos.el: Numerous spelling and comment fixes, doc
1180 string fixes to conform with checkdoc, further rearrangement of
1181 definitions, etc.
1182 (todos-previous-line, todos-previous-answer)
1183 (todos-insert-item-ask-date, todos-change-date)
1184 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1185 (todos-count-items-in-category, todos-count-all-items): Remove.
1186 (todos-update-numbered-prefix, todos-item-start-overlays)
1187 (todos-add-item-non-interactively): Comment out, also in uses.
1188 (todos-done-separator): Change default value.
1189 (todos-always-add-time-string): Rename from todos-add-time-string
1190 and adjust uses.
1191 (todos-read-category): Rename from todos-completing-read and
1192 adjust callers; use todos-current-category.
1193 (todos-make-categories-alist): Rename from function
1194 todos-categories-alist.
1195 (todos-categories-alist): New variable.
1196 (todos-indent-to-here): New defcustom.
1197 (todos-button): New face.
1198 (todos-display-categories-alphabetically, todos-raise-category)
1199 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1200 (todos-insert-item-here-ask-date-time)
1201 (todos-insert-item-ask-date-time)
1202 (todos-insert-item-ask-dayname-time): New commands.
1203 (todos-edit-item-header): New command replacing todos-change-date.
1204 (todos-category-number, todos-indent, todos-item-counts)
1205 (todos-check-category-name, todos-read-date, todos-read-dayname)
1206 (todos-read-time, todos-padded-string)
1207 (todos-insert-category-name): New functions.
1208 (todos-set-item-priority): New function replacing
1209 todos-add-item-non-interactively.
1210 (todos-mode-map): Remap newline to newline-and-indent.
1211 (todos-edit-mode-map): Make sparse keymap; remap newline to
1212 newline-and-indent.
1213 (todos-categories-mode-map): New keymap.
1214 (todos-mode, todos-edit-mode): Make indent-line-function local
1215 variable and set to todos-indent.
1216 (todos-categories-mode): New major mode.
1217 (todos-display-categories): List categories initially in their
1218 numerical order; add optional argument to switch to alphabetical
1219 listing.
1220 (todos-toggle-view-done-items): Simplify implementation.
1221 (todos-toggle-display-date-time): Fix regexp search string.
1222 (todos-backward-item, todos-forward-item): Use variable
1223 todos-item-start.
1224 (todos-add-category): Use todos-check-category-name and
1225 todos-categories-alist.
1226 (todos-rename-category): Use todos-current-category,
1227 todos-check-category-name and todos-categories-alist.
1228 (todos-delete-category): Use todos-check-category-name and
1229 todos-categories-alist and take done items into account.
1230 (todos-insert-item): Use separate arguments to handle insertion of
1231 date/dayname and time strings, add new argument to mark item for
1232 diary inclusion, use new todos-read-* functions,
1233 todos-set-item-priority and todos-item-counts.
1234 (todos-insert-item-here, todos-insert-item-for-diary)
1235 (todos-insert-item-from-calendar): Adapt to new version of
1236 todos-insert-item.
1237 (todos-delete-item, todos-item-done): Use todos-item-counts.
1238 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1239 char follows.
1240 (todos-lower-item): Ensure only not-done items can be lowered.
1241 (todos-move-item): Use todos-current-category, todos-read-category
1242 and todos-item-counts.
1243 (todos-archive-done-items): Use todos-current-category and
1244 todos-item-counts; fix regexp search string.
1245 (todos-item-undo): Use todos-current-category,
1246 todos-set-item-priority, todos-insert-with-overlays and
1247 todos-item-counts; restore if user quits before inserting undone
1248 item.
1249 (todos-date-pattern): Rewrite without using
1250 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1251 (todos-date-string-match): Do not make todos-date-pattern an
1252 unnumbered group.
1253 (todos-time-string-match): Make todos-date-pattern a shy group.
1254 (todos-wrap-and-indent): Use todos-indent-to-here.
1255 (todos-reset-prefix): Revert to using todos-show instead of
1256 todos-category-select.
1257 (todos-prefix-overlays): Fix numbering of done items and updating
1258 of prefix.
1259 (todos-category-select): Use todos-current-category; fix display
1260 of separator string; don't move point to top of category.
1261 (todos-jump-to-category-noninteractively): Use todos-category-number.
1262 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1263 (todos-item-start): New variable.
1264 (todos-item-start): Use it to define this function.
1265 (todos-item-end): Adjust if item is last unfinished one before
1266 displayed done items.
1267 (todos-remove-item): Use todos-item-start and todos-item-end
1268 instead of todos-forward-item and todos-backward-item.
1269 (todos-longest-category-name-length): Add argument for list of
1270 categories.
1271
2c173503
SB
12722012-09-13 Stephen Berman <stephen.berman@gmx.net>
1273
bbf95285 1274 Changes from 2010-05-25 (revision 109993).
2c173503
SB
1275 * calendar/todos.el: Comment out calendar require, since diary-lib
1276 requires calendar. Rearrange file to group definitions according
1277 to their use (types of commands, internal functions, etc.)
1278 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1279 (todos-date-string, todos-time-string, todos-check-overlay)
1280 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1281 Comment out.
1282 (todos-current-date, todos-item-end-overlays)
1283 (todos-list-categories): Remove.
1284 (todos-item-end): Remove (the variable, not the function).
ee7412e4 1285 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
2c173503 1286 callers.
2c173503
SB
1287 (todos-done-separator, todos-done-string, todos-show-with-done)
1288 (todos-files, todos-archive-file, todos-categories-buffer)
1289 (todos-archived-categories-buffer, todos-wrap-lines)
1290 (todos-line-wrapping-function): New defcustoms.
1291 (todos-done, todos-done-sep): New faces.
1292 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1293 (todos-search-string, todos-date-nodayname-pattern)
1294 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1295 (todos-done-string-match, todos-category-string-match)
1296 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1297 (todos-current-category, todos-count-items-in-category)
1298 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1299 (todos-longest-category-name-length): New functions.
1300 (todos-categories-list): New buffer-specific function replacing
1301 todos-list-categories.
1302 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1303 (todos-search, todos-view-archive, todos-diary-items)
1304 (todos-toggle-display-date-time, todos-insert-item-no-time)
1305 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1306 (todos-insert-item-from-calendar, todos-edit-quit)
1307 (todos-change-date, todos-item-done, todos-archive-done-items)
1308 (todos-item-undo): New commands.
ee7412e4 1309 (todos-archive-mode): New major mode.
2c173503
SB
1310 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1311 (todos-category-beg): Change value.
1312 (todos-number-prefix): Change default value.
1313 (todos-edit-buffer): Change from defvar to defcustom.
1314 (todos-font-lock-keywords): Use todos-done-string-match and
1315 todos-category-string-match.
1316 (todos-backward-item, todos-forward-item): Use todos-done-string
1317 and todos-date-pattern.
1318 (todos-display-categories): Reimplement using buttons from
1319 button.el instead of widgets.
1320 (todos-top-priorities): Use with-current-buffer; take done items
1321 into account; ensure buffers gets fontified.
1322 (todos-add-category): Ensure new category does not begin with
1323 empty lines.
1324 (todos-jump-to-category): Use todos-category-select instead of
1325 todos-show.
1326 (todos-rename-category): Prompt for new name in body instead of in
1327 interactive spec.
1328 (todos-insert-item): Don't insert in done items section of
1329 category. Add two optional arguments to control insertion: (i) to
1330 insert near point without prompting for priority; (ii) to use
1331 defaults for date and time strings, to prompt for these, or to
1332 choose date from the Calendar.
1333 (todos-insert-item-here): Reimplement using todos-insert-item.
1334 (todos-delete-item): Don't move point after deleting last item.
1335 (todos-raise-item, todos-lower-item): Take done items into account.
1336 (todos-move-item): Don't move done items; update item numbering;
1337 restore if user quits before inserting moved item.
1338 (todos-print): Prompt for confirmation to print.
1339 (todos-reset-prefix): Search backward from end of file instead of
1340 forward from top.
1341 (todos-jump-to-category-noninteractively): Take Todos archive into
1342 account.
1343 (todos-category-select): Show or hide done items according to
1344 todos-show-with-done; if shown, coordinate separator and prefix
1345 overlays.
1346 (todos-add-item-non-interactively): Replace binary insertion
1347 algorithm with prompting for numerical priority.
1348 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1349 (todos-item-start): Take done items into account; use
1350 todos-date-pattern.
1351 (todos-item-end): Reimplement using todos-forward-item.
1352 (todos-remove-item): Reimplement using todos-forward-item and
1353 todos-backward-item; redo overlay handling.
1354 (todos-mode-map): Add some new key bindings and change numerous
1355 existing bindings; use "i" as prefix key for item insertion
1356 commands.
1357 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1358 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1359 spec; set buffer-read-only to t and consequently let-bind this
1360 variable in all Todos commands that change buffer content.
1361 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1362 (todos-save): Don't save top priorities buffer.
1363 (todos-show): Make a no-op if called interactively in narrowed
1364 Todos mode, since, also to work around item prefix reduplication
1365 bug with show-paren-mode enabled; use todos-categories-list.
1366
b28025ed
SB
13672012-09-12 Stephen Berman <stephen.berman@gmx.net>
1368
bbf95285 1369 Changes from 2009-11-07 (revision 109992).
b28025ed
SB
1370 * calendar/todos.el: Comment out time-stamp require; require
1371 calendar and diary-lib.
1372 (todos-prefix): Change default value and doc string to reflect new
1373 meaning; add :initialize and :set functions.
1374 (todos-time-string-format, todos-entry-prefix-function)
1375 (todos-initials, todos-entry-timestamp-initials)
1376 (todos-prefix-face, todos-category-sep, todos-category-end)
1377 (todos-cp): Comment out.
1378 (todos-prefix-string): Inherit from font-lock-comment-face.
1379 (todos-item-header, todos-item-header-face): Remove.
1380 (todos-date, todos-time): New faces.
1381 (todos-date-face, todos-time-face): Corresponding new variables.
1382 (todos-add-time-string, todos-include-in-diary)
1383 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1384 New defcustoms.
1385 (todos-item-end, todos-item-start-overlays)
1386 (todos-item-end-overlays): New variables.
1387 (todos-date-string-match, todos-time-string-match): New functions.
1388 (todos-font-lock-keywords): Use them.
1389 (todos-current-date, todos-date-string, todos-time-string)
1390 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1391 (todos-reset-prefix, todos-update-numbered-prefix)
1392 (todos-check-overlay, todos-item-overlays)
1393 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1394 (todos-highlight-item): New command.
1395 (todos-category-beg): Change value.
1396 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1397 (todos-backward-item): Add optional count argument; use it and
1398 todos-item-start.
1399 (todos-forward-item): Use todos-check-overlay, todos-item-start
1400 and variable todos-item-end.
1401 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1402 todos-update-numbered-prefix, todos-item-overlays.
1403 (todos-add-category, todos-rename-category)
1404 (todos-list-categories): Use new category format.
1405 (todos-delete-category): Allow deleting non-empty category;
1406 use new category format.
1407 (todos-add-item-non-interactively): Comment out unnecessary
1408 save-excursion; use todos-insert-with-overlays.
1409 (todos-insert-item): Comment out unnecessary save-excursion; use
1410 new item format for date/time header and diary inclusion marking.
1411 (todos-insert-item-here): Use new item format for date/time header
1412 and diary inclusion marking; use todos-insert-with-overlays.
1413 (todos-raise-item): Make a no-op if point is on an empty line; use
1414 todos-insert-with-overlays.
1415 (todos-lower-item): Use todos-insert-with-overlays.
1416 (todos-top-priorities): Move call to todos-show inside
1417 save-excursion; add save-current-buffer after save-restriction.
1418 (todos-item-start): Use variable todos-item-end.
1419 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1420 (todos-remove-item): Take item overlays into account.
1421 (todos-mode): Change calculation of wrap-prefix; make
1422 hl-line-range-function a local variable and set it to highlight
1423 todo item.
1424 (todos-show): Ensure point stays at top of category.
1425
98c97dee
SB
14262012-09-12 Stephen Berman <stephen.berman@gmx.net>
1427
bbf95285 1428 Changes from 2009-07-04 (revision 109991).
98c97dee
SB
1429 * calendar/todos.el (todos-window-configuration): Comment out.
1430 (todos-display-categories): Comment out use of
1431 todos-window-configuration; use switch-to-buffer instead of
1432 pop-to-buffer.
1433 (todos-jump-to-category-noninteractively): Comment out use of
1434 todos-window-configuration.
1435 (todos-edit-item): Don't allow editing of date/time item header.
1436 (todos-insert-item, todos-insert-item-here): Insert date/time
1437 header in front of new item string.
1438 (todos-mode): Tweak wrap-prefix.
1439
1f678911
SB
14402012-09-12 Stephen Berman <stephen.berman@gmx.net>
1441
bbf95285 1442 Changes from 2009-06-26 (revision 109989).
1f678911
SB
1443 * calendar/todos.el (todos-file-do, todos-file-done):
1444 Change default location to directory "~/.emacs.d/".
1445 (todos-completion-ignore-case, todos-categories-buffer):
1446 New defcustoms.
1447 (todos-prefix-string, todos-item-header): New faces.
1448 (todos-prefix-face, todos-item-header-face): Corresponding
1449 new variables.
1450 (todos-rename-category, todos-delete-category)
1451 (todos-display-categories, todos-move-item): New commands.
1452 (todos-mode-map): Add key bindings for new commands and for
1453 todos-add-category, which had no key binding.
1454 (todos-jump-to-category-noninteractively): New function.
1455 (todos-top-priorities): Comment out code using a previously
1456 deleted variable.
1457 (todos-completing-read): Allow SPC to insert a space when entering
1458 a new category name; use todos-completion-ignore-case.
1459 (todos-font-lock-keywords, todos-window-configuration):
1460 New variables.
1461 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1462 word-wrap, and wrap-prefix local variables.
1463
fffe5949
SB
14642012-09-12 Stephen Berman <stephen.berman@gmx.net>
1465
bbf95285 1466 Changes from 2009-02-16 (revision 109988).
fffe5949
SB
1467 * calendar/todos.el (todos-list-categories): Fix typos.
1468 (todos-show): Ensure file is in todos-mode.
1469
1e3d87b3
SB
14702012-09-12 Stephen Berman <stephen.berman@gmx.net>
1471
bbf95285 1472 Changes from 2009-02-12 (revision 109987).
1e3d87b3
SB
1473 * calendar/todos.el (todos-header): Remove defvar.
1474 (todos-add-category): Comment out code that inserts and updates
1475 the file local variables first line of the file todos-file-do.
1476 (todos-list-categories): New function.
1477 (todos-show): Use it; remove use of a previously deleted variable.
1478
3f031767
SB
14792012-09-11 Stephen Berman <stephen.berman@gmx.net>
1480
bbf95285 1481 Changes from 2009-02-12 (revision 109986).
3f031767
SB
1482 * calendar/todos.el: New file. This is a copy of todo-mode.el
1483 from revision 94343 except for the following changes: replace all
1484 occurrences of the namespace prefix "todo-" with "todos-", delete
1485 the defvar todo-cats (the old name of todo-categories) and its use
1486 in todos-add-category, delete all defaliases of old command names.
1487
baa26ea0
BG
14882012-09-11 Bastien Guerry <bzg@gnu.org>
1489
1490 * subr.el (set-temporary-overlay-map): Add a docstring.
1491 (bug#12346)
1492
04e8abfa
BG
14932012-09-11 Bastien Guerry <bzg@gnu.org>
1494
96d03571
BG
1495 * minibuffer.el (completion-table-subvert): Fix docstring.
1496 (bug#12347)
1497
14982012-09-11 Bastien Guerry <bzg@gnu.org>
1499
1500 * help-fns.el (describe-variable): Fix typo. (bug#12346)
04e8abfa 1501
04e082b0
MM
15022012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1503
1504 * progmodes/sql.el: Version 3.1
1505 (sql-db2-escape-newlines): New variable.
1506 (sql-escape-newlines-filter): Use it.
1507
399a361b
JB
15082012-09-10 Juanma Barranquero <lekktu@gmail.com>
1509
1510 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1511
0780c517
DN
15122012-09-10 Dan Nicolaescu <dann@gnu.org>
1513
1514 * vc/diff-mode.el (diff-mode-menu): Bind
1515 diff-remove-trailing-whitespace.
1516
9b851e25
SM
15172012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1520 (emacs-lisp-byte-code-comment)
1521 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1522 New functions.
1523 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1524 (eval-defun-2): Remove bogus interactive spec.
1525 (lisp-indent-line): Remove redundant whole-exp code, now done in
1526 indent-according-to-mode.
1527 (save-match-data): Remove redundant indent data.
1528
1529 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1530 Use `declare'.
1531
3231d532
JL
15322012-09-09 Juri Linkov <juri@jurta.org>
1533
1534 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1535 (replace-lax-whitespace, query-replace-regexp)
1536 (query-replace-regexp-eval, replace-regexp): Doc fix.
1537 (perform-replace, replace-highlight): Let-bind
1538 isearch-lax-whitespace to replace-lax-whitespace and
1539 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1540
1541 * isearch.el (isearch-query-replace): Let-bind
1542 replace-lax-whitespace to isearch-lax-whitespace and
1543 replace-regexp-lax-whitespace to
1544 isearch-regexp-lax-whitespace. (Bug#10885)
1545
70fe8236
SM
15462012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1549
8ed43f15
AM
15502012-09-09 Alan Mackenzie <acm@muc.de>
1551
70fe8236
SM
1552 * progmodes/cc-engine.el (c-state-cache-init):
1553 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1554 (c-record-parse-state-state):
1555 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1556
bfabf70a
AS
15572012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1558
1559 * register.el (register-separator): Rename from
1560 separator-register. All uses changed. Doc fix.
1561 (register): Fix version.
1562
011474aa
CY
15632012-09-09 Chong Yidong <cyd@gnu.org>
1564
1565 * replace.el (query-replace-map): Bind four new symbols for
1566 requesting window scrolling.
1567
1568 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1569 query-replace-map (Bug#8948).
1570
1571 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1572
1573 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1574 since they are now in query-replace-map.
1575
1576 * window.el (scroll-other-window-down): Make the arg optional.
1577
a8b7cd8d
CY
15782012-09-09 Chong Yidong <cyd@gnu.org>
1579
1580 * files.el (hack-local-variables-confirm): Use quit-window to kill
1581 the *Local Variables* buffer.
1582
c3268831
DG
15832012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1584
1585 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1586 not just expect to be at its beginning. Adjust callees.
1587 Succeed when do-end block has no space before the pipe character.
1588 (ruby-brace-to-do-end): When the original block is one-liner,
1589 convert to multiline. Reindent the result.
1590
0979429b
J
15912012-09-08 Jambunathan K <kjambunathan@gmail.com>
1592
1593 * register.el (register): New group.
1594 (register-separator): New user option.
1595 (increment-register): Route it to `append-to-register', if
1596 register contains text. Implication is that `C-x r +' can now be
1597 used for appending to a text register (bug#12217).
1598 (append-to-register, prepend-to-register): Add separator based on
1599 `register-separator.
1600
ace2989a
AM
16012012-09-08 Alan Mackenzie <acm@muc.de>
1602
1603 AWK Mode: make auto-newline work when there's "==" in the pattern.
1604 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1605 correctly.
0979429b
J
1606 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1607 Test more rigorously for "=" token.
ace2989a 1608
616c6c36
DG
16092012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1610
0979429b
J
1611 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1612 Only fail when reached LIMIT.
616c6c36 1613
35d98877
CY
16142012-09-08 Chong Yidong <cyd@gnu.org>
1615
1616 * dired.el (dired-mode-map): Don't bind M-=.
1617
1618 * dired-aux.el (dired-diff): Use backup file as default.
1619
1715f2db
DA
16202012-09-08 Drew Adams <drew.adams@oracle.com>
1621
1622 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1623
6dcef6ec
CY
16242012-09-08 Chong Yidong <cyd@gnu.org>
1625
1626 * subr.el (syntax-after, syntax-class): Doc fix.
1627
fa2bcf43
MR
16282012-09-08 Martin Rudalics <rudalics@gmx.at>
1629
1630 * window.el (display-buffer-in-previous-window): New buffer
1631 display action function.
1632
1633 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1634 (debugger-previous-window): New variable.
1635 (debug): Rewrite using display-buffer-in-previous-window,
1636 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1637
daac280a
SM
16382012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1641
9dd40b00
MM
16422012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1643
daac280a
SM
1644 * progmodes/python.el (python-shell-send-string):
1645 When default-directory is remote, create temp file on remote
9dd40b00
MM
1646 filesystem.
1647 (python-shell-send-file): When file is remote, pass local view of
1648 file paths to remote Python interpreter. (Bug#12340)
1649
145823ec
CY
16502012-09-07 Chong Yidong <cyd@gnu.org>
1651
cee2e90d
CY
1652 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1653
0d7eb2ea
CY
1654 * files.el (after-find-file): Don't fail on a read-only buffer if
1655 require-final-newline is `visit' or `visit-save' (Bug#11156).
1656
145823ec
CY
1657 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1658
daac280a
SM
1659 * userlock.el (ask-user-about-supersession-threat):
1660 Use read-char-choice (Bug#12093).
145823ec 1661
74c582e6
CY
16622012-09-07 Chong Yidong <cyd@gnu.org>
1663
e5c2edf7
CY
1664 * subr.el (buffer-narrowed-p): New function.
1665
1666 * ses.el (ses-widen):
1667 * simple.el (count-words--buffer-message):
1668 * net/browse-url.el (browse-url-of-buffer): Use it
1669
1670 * simple.el (count-words-region): Don't signal an error if there
1671 is a non-nil prefix arg and the mark is not set.
c640e87d 1672
74c582e6
CY
1673 * help.el (describe-key-briefly): Allow the message to be seen
1674 when invoked from the minibuffer (Bug#7014).
1675
d81ceaaf
DG
16762012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1677
1678 * progmodes/ruby-mode.el (ruby-end-of-defun)
1679 (ruby-beginning-of-defun): Simplify, allow indentation before
1680 block beginning and end keywords.
8f06acce
DG
1681 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1682 (ruby-end-of-defun): Expect that the point is at the beginning of
1683 the defun.
d81ceaaf 1684
d458ef98
SM
16852012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1688 (bug#12367).
1689 (cl--make-usage-args): Strip _ from argument names.
1690
20367d28
RS
16912012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1692
1693 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1694 obsolete alias speedbar-key-map.
1695 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1696 (vhdl-index-menu-init): Don't use obsolete variable
1697 font-lock-maximum-size.
1698
3424a4f6
CY
16992012-09-06 Chong Yidong <cyd@gnu.org>
1700
1701 * frame.el (window-system-version): Mark as obsolete.
1702
fcbfbdea
CY
1703 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1704 of obsolete variable speedbar-key-map.
1705
826b3235
JL
17062012-09-06 Juri Linkov <juri@jurta.org>
1707
1708 * replace.el (replace-lax-whitespace): New defcustom.
1709 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1710 (replace-string, replace-regexp): Mention it in docstrings.
1711 (perform-replace, replace-highlight): Let-bind
1712 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1713 to the values of replace-lax-whitespace and regexp-flag.
1714 Don't let-bind search-whitespace-regexp. (Bug#10885)
1715
1716 * isearch.el (isearch-query-replace): Let-bind
1717 replace-lax-whitespace instead of let-binding
1718 replace-search-function and replace-re-search-function.
1719 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1720 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1721 (isearch-toggle-symbol): Set isearch-regexp to nil
1722 in isearch-word mode (like in isearch-toggle-word).
1723
1ec5e41d
JL
17242012-09-06 Juri Linkov <juri@jurta.org>
1725
1726 * replace.el (replace-search-function)
1727 (replace-re-search-function): Set default values to nil.
1728 (perform-replace): Let-bind isearch-related variables based on
1729 replace-related values, call `isearch-search-fun' and let-bind
1730 the result to `search-function'. Remove code that sets
1731 `search-function' and `search-string' separately for
1732 `delimited-flag'.
1733 (replace-highlight): Add new argument `delimited-flag' and
1734 rename other arguments to the names used in `perform-replace'.
1735 Let-bind `isearch-word' to the argument `delimited-flag'.
1736 (Bug#10885, bug#10887)
1737
0ba2d4b6
DG
17382012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1739
1740 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1741 ruby-beginning-of-indent, simplify, allow all keywords to have
1742 indentation before them.
1743 (ruby-beginning-of-indent): Adjust for above. Search until the
1744 found point is not inside a string or comment.
1745 (ruby-font-lock-keywords): Allow symbols to start with "@"
1746 character, give them higher priority than variables.
1747 (ruby-syntax-propertize-function)
1748 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1749 matchers. Expression expansions are not comments when inside a
1750 string, and there comment syntax status is irrelevant.
1751 (ruby-match-expression-expansion): New function. Check that
1752 expression expansion is inside a string, and it's not escaped.
1753 (ruby-font-lock-keywords): Use it.
1754
ef654460
MR
17552012-09-05 Martin Rudalics <rudalics@gmx.at>
1756
1757 * help.el (temp-buffer-max-height): New default value.
1758 (temp-buffer-resize-frames): New option.
1759 (resize-temp-buffer-window): Optionally resize frame.
1760
1761 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1762 (fit-frame-to-buffer): New function.
1763
7e570fbf 17642012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1765
1766 * emulation/cua-rect.el (cua--init-rectangles):
1767 * textmodes/picture.el (picture-mode-map):
1768 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1769 like forward-char and backward-char. (Bug#12317)
1770
7e570fbf 17712012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1772
1773 * progmodes/flymake.el (flymake-warning-re): New variable.
1774 (flymake-parse-line): Use it.
1775
7e570fbf 17762012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1777
1778 * calendar/holidays.el (holiday-christian-holidays):
1779 Rename an entry. (Bug#12289)
1780
7e570fbf 17812012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1782
1783 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1784 (bug#12222).
1785
972debf2
SM
17862012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * loadup.el: Load macroexp. Remove hack.
1789 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1790 (macroexp--expand-all): Use it to get better warnings.
1791 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1792 (internal-macroexpand-for-load): New functions.
1793 (macroexp--pending-eager-loads): New var.
1794 (emacs-startup-hook): New hack to replace one in loadup.el.
1795 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1796 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1797 (cl-psetf): Simplify.
1798 (cl-defstruct): Add indent rule.
1799
8ce192e3
LI
18002012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1801
1802 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1803 over `user-mail-address' for the SMTP MAIL FROM envelope.
1804 (smtpmail-via-smtp): Ditto.
1805
6578b4d8
DG
18062012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1807
1808 * progmodes/ruby-mode.el: Clean up keybindings.
1809 (ruby-mode-map): Don't bind ruby-electric-brace,
1810 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1811 backward-kill-word, reindent-then-newline-and-indent.
1812 (ruby-mark-defun): Remove.
1813 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1814 (ruby-mode): Set local beginning-of-defun-function and
1815 end-of-defun-function values.
1816
c5e28e39
MR
18172012-09-03 Martin Rudalics <rudalics@gmx.at>
1818
1819 * window.el (temp-buffer-window-setup-hook)
1820 (temp-buffer-window-show-hook): New hooks.
1821 (temp-buffer-window-setup, temp-buffer-window-show)
1822 (with-temp-buffer-window): New functions.
972debf2
SM
1823 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1824 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1825
1826 * help.el (temp-buffer-resize-mode): Fix doc-string.
1827 (resize-temp-buffer-window): New optional argument WINDOW.
1828
1829 * files.el (recover-file, save-buffers-kill-emacs):
1830 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1831
73406194
MA
18322012-09-02 Michael Albinus <michael.albinus@gmx.de>
1833
1834 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1835 remote definition of `default-directory', ensure we can connect.
1836
63dd1c6f
JL
18372012-09-02 Juri Linkov <juri@jurta.org>
1838
1839 Toggle whitespace matching mode with M-s SPC.
1840 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1841
1842 * isearch.el (search-whitespace-regexp): Doc fix.
1843 Remove cons cell customization.
1844 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1845 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1846 New variables.
1847 (isearch-forward, isearch-forward-regexp): Doc fix.
1848 (isearch-toggle-lax-whitespace): New command.
1849 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1850 (re-search-forward-lax-whitespace)
1851 (re-search-backward-lax-whitespace): New functions.
1852 (isearch-whitespace-regexp): Remove function.
1853 (isearch-query-replace): Let-bind replace-search-function and
1854 replace-re-search-function.
1855 (isearch-occur): Let-bind search-spaces-regexp according to the
1856 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1857 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1858 condition for C-q SPC.
1859 (isearch-search-fun-default): Use new functions mentioned above.
1860 (isearch-search-forward, isearch-search-backward): Remove functions.
1861 (isearch-search): Don't let-bind search-spaces-regexp.
1862 (isearch-lazy-highlight-space-regexp): Remove variable.
1863 (isearch-lazy-highlight-lax-whitespace)
1864 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1865 (isearch-lazy-highlight-new-loop): Use them.
1866 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1867
af7dda05
CY
18682012-09-02 Chong Yidong <cyd@gnu.org>
1869
1870 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1871
d67d3afd
GM
18722012-09-02 Glenn Morris <rgm@gnu.org>
1873
1874 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1875
69678719
GM
18762012-09-01 Glenn Morris <rgm@gnu.org>
1877
1878 * term.el: Tidy up menu definitions.
1879 (term-mode-map): Use easymenu for In/Out, Complete menus.
1880 (term-pager-break-map): Initialize in the defvar.
1881 (term-terminal-menu, term-signals-menu): Define with easymenu.
1882 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1883 (term-pager-menu): New, extracted from term-process-pager.
1884 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1885 (term-update-mode-line): Propertize line/char and page items.
1886 (term-process-pager): Move keymap initialization elsewhere.
1887
78dd6ab1
MR
18882012-09-01 Martin Rudalics <rudalics@gmx.at>
1889
1890 * window.el (switch-to-prev-buffer): Handle additional values of
1891 BURY-OR-KILL argument. Don't switch in minibuffer window.
1892 (switch-to-next-buffer): Don't switch in minibuffer window.
1893 (quit-restore-window): New function based on quit-window.
1894 Handle additional values of former KILL argument.
1895 (quit-window): Call quit-restore-window with appropriate
1896 interpretation of KILL argument.
1897 (display-buffer-below-selected): New buffer display action
1898 function.
1899
3d10e134
SM
19002012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * minibuffer.el (completion-at-point-functions): Complete docstring
1903 (bug#12254).
1904
0e23ef9d
PE
19052012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1906
1907 Better seed support for (random).
1908 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1909 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1910 * play/mpuz.el, play/tetris.el, play/zone.el:
1911 * calc/calc-comb.el (math-init-random-base):
1912 * play/blackbox.el (bb-init-board):
1913 * play/life.el (life):
1914 * server.el (server-use-tcp):
1915 * type-break.el (type-break):
1916 Remove unnecessary call to (random t).
1917 * net/sasl.el (sasl-unique-id-function):
1918 Change (random t) to (random), now that the latter is more random.
1919 * play/life.el (life-initialized): Remove no-longer-needed var.
1920
862382df
MR
19212012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1922
1923 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1924 Consider frame's buffer predicate when choosing the buffer.
1925 (Bug#12081)
1926
262a66e1
RS
19272012-08-30 Richard Stallman <rms@gnu.org>
1928
1929 * simple.el (special-mode-map): Delete binding for `z'.
1930
f17e1d00
AS
19312012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1932
1933 * progmodes/compile.el (compilation-always-kill): Doc fix.
1934
24777832
CY
19352012-08-30 Chong Yidong <cyd@gnu.org>
1936
1937 * window.el (display-buffer-reuse-frames): Make the obsolescence
1938 message more informative.
1939
69ba1f04
GM
19402012-08-30 Glenn Morris <rgm@gnu.org>
1941
1942 * paren.el (show-paren-delay):
1943 Add a :set function. Doc fix. (Bug#12297)
1944
f0019ede
MB
19452012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1946
1947 * progmodes/compile.el (compilation-always-kill): New var.
1948 (compilation-start): Use it.
1949
35e62fc9
SM
19502012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1951
af070a1c
SM
1952 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1953 * files.el (read-only-mode): Move to simple.el.
1954
35e62fc9
SM
1955 * files.el (read-only-mode): New minor mode.
1956 (toggle-read-only): Use it and mark obsolete.
1957 (find-file--read-only):
1958 * vc/vc.el (vc-next-action, vc-checkout):
1959 * vc/vc-cvs.el (vc-cvs-checkout):
1960 * obsolete/vc-mcvs.el (vc-mcvs-update):
1961 * ffap.el (ffap--toggle-read-only): Update callers.
1962
c2c43c23
MA
19632012-08-29 Michael Albinus <michael.albinus@gmx.de>
1964
1965 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1966 remote shell scripts.
1967 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1968
1969 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1970 "/usr/local/sbin".
1971
9fba804b
SM
19722012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1975
eada0861 19762012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1977
806f0cc7
LL
1978 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1979 completion-at-point. (Bug#12220)
1980
3bb213b9
LL
1981 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1982
22ab32ef
LL
1983 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1984
eada0861 19852012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1986
19c17fc1
CY
1987 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1988 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1989
eada0861 19902012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1991
1992 * progmodes/hideif.el (hif-compress-define-list):
1993 Fix typo. (Bug#11951)
1994
eada0861 19952012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1996
1997 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1998 buffer local setting.
1999
27d6c5a8
LL
2000 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2001 rcirc-encode-coding-system.
2002
eada0861 20032012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2004
2005 * net/rcirc.el (rcirc-split-message): New function.
2006 (rcirc-send-message): Use it. (Bug#12051)
2007
d44688e4
JL
20082012-08-28 Juri Linkov <juri@jurta.org>
2009
2010 * info.el (Info-fontify-node): Hide empty lines at the end of
2011 the node. (Bug#12272)
2012
34f10d41
MR
20132012-08-27 Drew Adams <drew.adams@oracle.com>
2014
2015 * dired.el (dired-pop-to-buffer): Make window start at beginning
2016 of buffer (Bug#12281).
2017
77f1f99c
CY
20182012-08-26 Chong Yidong <cyd@gnu.org>
2019
2020 * window.el (special-display-regexps, special-display-frame-alist)
2021 (special-display-buffer-names, special-display-function)
2022 (display-buffer-reuse-frames): Mark as obsolete.
2023
2024 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2025
2026 * help.el (help-print-return-message): Don't treat
2027 display-buffer-reuse-frames specially.
2028
d97af5a0
CY
20292012-08-26 Chong Yidong <cyd@gnu.org>
2030
9fba804b
SM
2031 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2032 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2033 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2034 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2035 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2036 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2037 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2038 the functions directly with gdb-display-buffer-other-frame-action.
2039 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2040 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2041 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2042 (gdb-display-registers-buffer): Define directly.
2043 (def-gdb-display-buffer): Macro deleted.
2044 (gdb-display-buffer): Remove second and third args, callers don't
2045 use them. Defer to the default display-buffer behavior, apart
2046 from making windows dedicated.
2047 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2048
2049 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2050
2051 * window.el (display-buffer-pop-up-frame): Handle a
2052 pop-up-frame-parameters alist entry.
2053 (display-buffer): Document it.
2054
dd7ffad6
CY
20552012-08-26 Chong Yidong <cyd@gnu.org>
2056
2057 * isearch.el (search-whitespace-regexp): Make string and nil
2058 values apply to both ordinary and regexp search. Allow a cons
2059 cell value to distinguish between the two.
2060 (isearch-whitespace-regexp, isearch-search-forward)
2061 (isearch-search-backward): New functions.
2062 (isearch-occur, isearch-search-fun-default, isearch-search)
2063 (isearch-lazy-highlight-new-loop): Use them.
2064 (isearch-forward, isearch-forward-regexp): Doc fix.
2065
4c47bd1e
CY
20662012-08-26 Chong Yidong <cyd@gnu.org>
2067
2068 * faces.el (help-argument-name): Always inherit from italic
2069 (Bug#12213).
2070
9aba119d
MR
20712012-08-25 Martin Rudalics <rudalics@gmx.at>
2072
2073 * window.el (window--even-window-heights): Even heights when
2074 WINDOW and the selected window form a vertical combination.
2075 (display-buffer-use-some-window): Provide that window used gets
2076 sized back by quit-window. (Bug#11880) and (Bug#12091)
2077
ca5256ad
PE
20782012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2079
2080 Fix file time stamp problem with bzr and CVS (Bug#12001).
2081 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2082 in the file's time stamp, since the version control system loses
2083 that information.
2084
d1c0d176
JL
20852012-08-22 Juri Linkov <juri@jurta.org>
2086
2087 * info.el (Info-fontify-node): Hide the suffix of the
2088 Info file name in the header line. (Bug#12187)
2089
141562ff
GM
20902012-08-22 Glenn Morris <rgm@gnu.org>
2091
2092 * calendar/cal-tex.el (cal-tex-weekly-common):
2093 Restore leading blank page.
2094
61a48e19 20952012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2096
2097 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2098 the region under `shift-select-mode'. (Bug#12231)
2099
21002012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2101
2102 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2103 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2104 gives details on why the space is never needed.
2105
ea95074e
MR
21062012-08-22 Martin Rudalics <rudalics@gmx.at>
2107
9fba804b
SM
2108 * window.el (walk-window-tree, window-with-parameter):
2109 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2110 should run on the minibuffer window.
2111 (window-at-side-list): Don't operate on minibuffer window.
2112 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2113 (window--size-ignore): Rename to window--size-ignore-p.
2114 Update callers.
caceae25
MR
2115 (display-buffer-in-atom-window, window--major-non-side-window)
2116 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2117 (delete-side-window, display-buffer-in-side-window):
2118 New functions.
caceae25
MR
2119 (window--side-check, window-deletable-p, delete-window)
2120 (delete-other-windows, split-window): Handle side windows and
2121 atomic windows appropriately.
2122 (window--display-buffer): Call display-buffer-record-window also
2123 when the window buffer did not change.
ea95074e 2124
80a51fa0
CS
21252012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2126
2127 * help-fns.el (help-fns--key-bindings):
2128 Abbreviate non-symbol remap targets. (Bug#12174)
2129
fbb6300b
MR
21302012-08-22 Martin Rudalics <rudalics@gmx.at>
2131
2132 * dired.el (dired-mark-remembered): Don't clobber point.
2133 (Bug#11795)
2134
2b2c0794
GM
21352012-08-22 Glenn Morris <rgm@gnu.org>
2136
2137 * progmodes/bug-reference.el (bug-reference): New custom group.
2138 (bug-reference-bug-regexp): Make it a defcustom.
2139
37219830
DU
21402012-08-22 Daiki Ueno <ueno@unixuser.org>
2141
2142 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2143 (js-paren-indent-offset, js-square-indent-offset)
2144 (js-curly-indent-offset): Add :safe (Bug#12257).
2145
94e0e559
EC
21462012-08-22 Edward O'Connor <hober0@gmail.com>
2147
2148 * json.el (json-key-format): Add error properties.
2149 (json-encode-key): New function.
2150 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2151 Use json-encode-key.
2152
da485f5e
GM
21532012-08-22 Glenn Morris <rgm@gnu.org>
2154
2155 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2156 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2157 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2158 Update for above change.
2159
c6cc78b8
AS
21602012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2161
2162 * cus-face.el (custom-face-attributes): Fix customize type for the
2163 :underline attribute. (Bug#11805)
2164
5481664a
MR
21652012-08-21 Martin Rudalics <rudalics@gmx.at>
2166
2167 * window.el (window-point-1, set-window-point-1): Remove.
2168 (window-in-direction, record-window-buffer)
2169 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2170 (window--state-get-1, display-buffer-record-window):
2171 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2172 window-point and set-window-point respectively.
2173
6d74698e
GM
21742012-08-21 Glenn Morris <rgm@gnu.org>
2175
b7fa2691
GM
2176 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2177 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2178 Use it.
2179
52f56d5a
GM
2180 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2181 (cal-tex-shortday): New function.
2182 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2183 (cal-tex-cursor-filofax-daily): Use the above.
2184
9f1ee09e
GM
2185 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2186 New functions.
2187 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2188 (cal-tex-cursor-filofax-week): Use them.
2189
79858159
GM
2190 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2191 New constants.
2192 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2193 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2194
d346b2b4
GM
2195 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2196 (cal-tex-end-document): Don't rely on buffer name.
2197
b2403709
GM
2198 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2199 Use cal-tex-vspace.
2200 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2201 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2202 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2203 Use cal-tex-arg.
b2403709 2204
1cebb5c0
GM
2205 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2206 (cal-tex-cursor-week, cal-tex-cursor-week2)
2207 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2208 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2209 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2210 (cal-tex-insert-preamble, cal-tex-b-document)
2211 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2212 Improve cal-tex-cmd usage.
2213
c68cd5d4
GM
2214 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2215 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2216 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2217 (cal-tex-weekly-paper): New function.
2218 (cal-tex-cursor-week, cal-tex-cursor-week2)
2219 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2220 (cal-tex-cursor-day): Use it.
2221
9dca4801
GM
2222 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2223 (cal-tex-cursor-filofax-week): Remove leading blank page.
2224
1941e134
GM
2225 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2226 Add autoload cookie. For now at least, don't use color, since
2227 no other cal-tex function does.
2228
6d74698e
GM
2229 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2230 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2231 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2232
64cde199
JL
22332012-08-21 Juri Linkov <juri@jurta.org>
2234
2235 * info.el (Info-file-attributes): New variable.
2236 (info-insert-file-contents): Add file attributes to
2237 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2238 `Info-toc-nodes' when previous modtime of the Info file is less
2239 than new modtime.
2240 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2241 of info.el. (Bug#12230)
2242
32757648
GM
22432012-08-20 Glenn Morris <rgm@gnu.org>
2244
2245 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2246 * calendar/holidays.el (calendar-holiday-list):
2247 Report errors with display-warning rather than beep'n'sleep.
2248
a32fbbcf
MA
22492012-08-20 Michael Albinus <michael.albinus@gmx.de>
2250
2251 * net/tramp.el (tramp-accept-process-output): Accept only output
2252 from PROC. Otherwise, process filters and sentinels might be
2253 confused. (Bug#12145)
2254
a05731a0
CY
22552012-08-20 Chong Yidong <cyd@gnu.org>
2256
2257 * descr-text.el (describe-text-properties-1): Use overlays-in to
2258 report on empty overlays (Bug#3322).
2259
36e8d1eb
GM
22602012-08-20 Glenn Morris <rgm@gnu.org>
2261
3d300447
GM
2262 * mail/rmailout.el (rmail-output-read-file-name):
2263 Trap and report errors in rmail-output-file-alist elements.
2264
36e8d1eb
GM
2265 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2266 since most non-font-lock faces are not also variables).
2267
b96e5814
ER
22682012-08-20 Edward Reingold <reingold@iit.edu>
2269
2270 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2271 New function. (Bug12160)
2272
7cef3569
GM
22732012-08-19 Glenn Morris <rgm@gnu.org>
2274
2275 * mail/rmailout.el (rmail-output-read-file-name):
2276 Fix previous change (when the alist is nil or does not match).
2277
17975d7f
CY
22782012-08-19 Chong Yidong <cyd@gnu.org>
2279
2280 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2281 (Bug#12228).
2282
2170b1bd
CY
22832012-08-18 Chong Yidong <cyd@gnu.org>
2284
2285 * simple.el (yank-handled-properties): New defcustom.
2286 (yank-excluded-properties): Add font-lock-face and category.
2287 (yank): Doc fix.
2288
9fba804b
SM
2289 * subr.el (remove-yank-excluded-properties):
2290 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2291 and category is now done this way, instead of being hard-coded.
2292 (insert-for-yank-1): Remove font-lock-face handling.
2293 (yank-handle-font-lock-face-property)
2294 (yank-handle-category-property): New function.
2295
ee218151
GM
22962012-08-17 Glenn Morris <rgm@gnu.org>
2297
2298 * mail/rmailout.el (rmail-output-read-file-name):
2299 Check rmail-output-file-alist against the full message body
2300 in the correct rmail buffer. (Bug#12214)
2301
4a6bc3fd
MA
23022012-08-17 Michael Albinus <michael.albinus@gmx.de>
2303
9fba804b
SM
2304 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2305 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2306
383dcbf9
CY
23072012-08-17 Chong Yidong <cyd@gnu.org>
2308
2309 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2310 font spec, set the font directly (Bug#3228).
2311
998c4a6a
MR
23122012-08-17 Martin Rudalics <rudalics@gmx.at>
2313
2314 * window.el (delete-window): Fix last fix.
2315
52162052
MR
23162012-08-16 Martin Rudalics <rudalics@gmx.at>
2317
2318 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2319 (window-child, window-child-count, window-last-child)
2320 (window-normalize-window, window-combined-p)
2321 (window-combinations, window-atom-root, window-min-size)
2322 (window-sizable, window-sizable-p, window-size-fixed-p)
2323 (window-min-delta, window-max-delta, window--resizable)
2324 (window--resizable-p, window-resizable, window-total-size)
2325 (window-full-height-p, window-full-width-p, window-body-size)
2326 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2327 (minimize-window, window-deletable-p, delete-window)
2328 (delete-other-windows, set-window-buffer-start-and-point)
2329 (next-buffer, previous-buffer, split-window, balance-windows-2)
2330 (set-window-text-height, window-buffer-height)
2331 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2332 (truncated-partial-width-window-p): Minor code adjustments.
2333 In doc-strings state whether the argument window has to denote a
85c2386b 2334 live, valid or any window.
52162052 2335
1c308380
PS
23362012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2337
2338 * progmodes/subword.el (subword-forward-function)
2339 (subword-backward-function, subword-forward-regexp)
2340 (subword-backward-regexp): New variables.
2341 (subword-forward, subword-forward-internal, subword-backward-internal):
2342 Use new variables, eg so that different "word" definitions
2343 can be easily used. (Bug#11411)
2344
94c9ece1
SM
23452012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2348 for composite selectors.
2349 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2350 operation just because we can't find a previous revision.
2351
f2045622
CY
23522012-08-15 Chong Yidong <cyd@gnu.org>
2353
2354 * frame.el (set-frame-font): Accept font objects.
2355
582db660
SM
23562012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2359
2f29c200
WJ
23602012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2361
456e62c2
WJ
2362 * man.el (Man-overstrike-face, Man-underline-face)
2363 (Man-reverse-face): Remove variables.
2364 (Man-overstrike, Man-underline, Man-reverse): New faces.
2365 (Man-fontify-manpage): Use them instead of the variables.
2366 (Man-cleanup-manpage): Comment change.
2367 (Man-ansi-color-map): New variable.
2368 (Man-fontify-manpage): Use it.
2369 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2370
2f29c200
WJ
2371 Implement ANSI SGR parameters 22-27 (bug#12146).
2372 * ansi-color.el (ansi-colors): Doc fix.
2373 (ansi-color-context, ansi-color-context-region): Doc fix.
2374 (ansi-color--find-face): New function.
2375 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2376 Rename the local variable `face' to `codes' since it is now a list of
2377 ansi codes. Doc fix.
2378 (ansi-color-get-face): Remove.
2379 (ansi-color-parse-sequence): New function, derived from
2380 ansi-color-get-face.
2381 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2382 codes 22-27.
2383
b4f5e9df
SM
23842012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2385
2386 * subr.el (read-passwd): Allow use from a minibuffer.
2387
ba025fbd
EZ
23882012-08-14 Eli Zaretskii <eliz@gnu.org>
2389
2390 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2391 inside comments and strings as identifiers.
2392
2393 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2394 expression to evaluate. This allows to evaluate expressions with
2395 embedded whitespace.
2396 (gud-tooltip-tips): Add a blank before the newline in the
2397 message-box text, for the benefit of message-box emulation on
2398 MS-Windows.
2399
2400 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2401 messages from GDB, pop them up in a tooltip to give feedback to
2402 user.
b4f5e9df
SM
2403 (gdb-tooltip-print-1): Quote the expression to evaluate.
2404 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2405 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2406 if the TTY name is nil or empty (which happens when communicating
2407 with the inferior via pipes, e.g. on MS-Windows).
2408 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2409 don't send that to the GUD buffer.
2410
c548f821
GM
24112012-08-14 Glenn Morris <rgm@gnu.org>
2412
2413 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2414 Optimize away setq-default with no args, as for setq. (Bug#12195)
2415
55802e4a
CY
24162012-08-14 Chong Yidong <cyd@gnu.org>
2417
4abcdac8
CY
2418 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2419
55802e4a
CY
2420 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2421 (Bug#12085).
2422
3c3cda1a
GM
24232012-08-14 Glenn Morris <rgm@gnu.org>
2424
2425 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2426
e1873bd0
MA
24272012-08-14 Michael Albinus <michael.albinus@gmx.de>
2428
2429 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2430 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2431 Use cached shell name.
2432
925411b4
FEG
24332012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2434
2435 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2436 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2437
e636fafe
DG
24382012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2439
2440 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2441 (ruby-percent-literal-beg-re): New constant.
2442 (ruby-syntax-general-delimiters-goto-beg): Rename to
2443 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2444 (ruby-syntax-propertize-general-delimiters): Rename to
2445 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2446 popular term. Adjust comments everywhere.
2447 (ruby-syntax-propertize-percent-literal): Only propertize when not
2448 inside a simple string or comment. When the literal is unclosed,
2449 leave the text after it unpropertized.
f063063a
DG
2450 (ruby-syntax-methods-before-regexp): New constant.
2451 (ruby-syntax-propertize-function): Use it to recognize regexps.
2452 Don't look at the text after regexp, just use the whitelist.
e636fafe 2453
e5b19827
AS
24542012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2455
2456 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2457 non-nil always load the compiled file if it exists. (Bug#12197)
2458
a9f6f311
CY
24592012-08-14 Chong Yidong <cyd@gnu.org>
2460
2461 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2462 (hi-lock-set-pattern): When deciding whether to use font lock or
2463 overlays, look at font-lock-mode instead of font-lock-fontified
2464 (Bug#12168).
2465 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2466 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2467
7d806b1e
DU
24682012-08-14 Daiki Ueno <ueno@unixuser.org>
2469
2470 * subr.el (internal--after-with-selected-window): Fix typo
2471 (Bug#12193).
2472
5beed586
FEG
24732012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2474
2475 Use `completion-table-dynamic' for completion functions.
2476 * progmodes/python.el
2477 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2478 (python-shell-completion--get-completions):
2479 Remove functions.
5beed586
FEG
2480 (python-shell-completion-complete-at-point): New function.
2481 (python-completion-complete-at-point): Use it.
2482
92cb3b04
J
24832012-08-13 Jambunathan K <kjambunathan@gmail.com>
2484
2485 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2486 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2487
89660017
SM
24882012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2489
3c98c962
SM
2490 * subr.el (function-get): Refine `autoload' arg so it can also
2491 autoload functions for gv.el (bug#12191).
2492 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2493 autoloads macros.
2494
aa7c6dbe
SM
2495 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2496 Prefer pcase-let over destructuring-bind.
2497 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2498 Also, remove whitespace as we go, rather than after accumulating the
2499 various places.
2500
89660017
SM
2501 * subr.el (internal--before-with-selected-window)
2502 (internal--after-with-selected-window): Fix typo seleted->selected.
2503 (with-selected-window): Adjust callers.
2504 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2505
31cd32c9
BG
25062012-08-13 Bastien Guerry <bzg@gnu.org>
2507
0fcd3d9f 2508 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2509 enhancement. (Bug#12172)
2510
1b15d8ad
AS
25112012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2512
31e54db0
AS
2513 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2514 type 1-6.
2515 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2516 extended headers.
2517
1b15d8ad
AS
2518 * files.el (hack-local-variables-filter): Remove useless eval.
2519
35cb9c06
MR
25202012-08-13 Martin Rudalics <rudalics@gmx.at>
2521
2522 * subr.el (with-selected-window): Fix last change.
2523
1439443b
SM
25242012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * subr.el (internal--before-with-seleted-window)
2527 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2528 (with-selected-window): Use them, to replace dependency on
2529 tty-top-frame.
1439443b 2530
0d9e2599
NN
25312012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2532
2533 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2534 binding for `newline'.
2535 (ruby-move-to-block): When moving backward, stop at block opening,
2536 not indentation.
2537 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2538 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2539 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2540 `ruby-toggle-block'.
2541
ba10c48c
SM
25422012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 * ibuffer.el (ibuffer-do-toggle-read-only):
2545 * dired.el (dired-toggle-read-only):
2546 * buff-menu.el (Buffer-menu-toggle-read-only):
2547 * bindings.el (mode-line-toggle-read-only):
2548 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2549
9229c658
AS
25502012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2551
2552 * descr-text.el (describe-char): Put the overlays over the
2553 "displayed as" character.
2554
0fd09128
JB
25552012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2556
2557 * calc/calc-units.el (math-default-units-table): Give an
2558 initial value.
2559 (math-put-default-units): Add options to put composite units and
2560 unit systems in the default units table.
2561 (calc-convert-units): Send composite units to
2562 `math-put-default-units' when appropriate.
2563
9ff9402d 25642012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2565
fbb5e336
GM
2566 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2567
7aacaf15
GM
2568 * tutorial.el (help-with-tutorial):
2569 * emacs-lisp/copyright.el (copyright-update-directory):
2570 * emacs-lisp/autoload.el (autoload-find-generated-file)
2571 (autoload-find-file): Disable local eval: (for insurance).
2572
f40b9f10
GM
2573 * files.el (hack-local-variables-filter): If an eval: form is not
2574 known to be safe, and enable-local-variables is :safe, then ignore
2575 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2576 This is CVE-2012-3479.
f40b9f10 2577
daa9f1a6
SM
25782012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2581 (rx-form): Simplify.
2582
9cd80478
DG
25832012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2584
0d9e2599
NN
2585 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2586 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2587 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2588 (ruby-syntax-propertize-function): Adjust for changes in
2589 `ruby-syntax-propertize-heredoc'.
2590
25912012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2592
9cd80478
DG
2593 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2594 binding (use `M-;' instead).
9cd80478 2595 (ruby-singleton-class-p): New function.
0d9e2599 2596 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2597
d301b413
SM
25982012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2599
2600 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2601
1530c98e
CY
26022012-08-10 Chong Yidong <cyd@gnu.org>
2603
2604 * progmodes/python.el (python-shell-get-process-name): Don't mess
2605 with same-window-buffer-names.
2606
2607 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2608 (eshell-remove-from-window-buffer-names): Make obsolete.
2609 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2610 (eshell): Just use pop-to-buffer-same-window instead.
2611
e1293765
CY
26122012-08-10 Chong Yidong <cyd@gnu.org>
2613
2614 * bindings.el: Bind M-= back to count-words-region.
2615
2616 * simple.el (count-words-region): Accept a prefix arg for acting
2617 on the entire buffer.
2618 (count-words--buffer-message): New helper function.
2619
e1894109
SM
26202012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2623 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2624 (event-start, event-end): Use posn-at-point to return a more
2625 informative posn.
2626 (posnp): New function.
2627 * mouse.el (popup-menu-normalize-position): Use it.
2628
c69f56a2
MY
26292012-08-10 Masatake YAMATO <yamato@redhat.com>
2630
2631 * mouse.el (popup-menu-normalize-position): New function.
2632 (popup-menu): Use `popup-menu-normalize-position' to normalize
2633 the form for POSITION argument.
2634
2635 * term/x-win.el (x-menu-bar-open):
2636 Use the value returend from (posn-at-point) as position
2637 passed to `popup-menu'.
2638
31673780
JB
26392012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2640
2641 * calc/calccomp.el (math-compose-expr): Add extra argument
2642 indicating that parentheses should be put around products in
2643 denominators. Give multiplication precedence over division during
2644 composition.
2645
dab7711b
CY
26462012-08-09 Chong Yidong <cyd@gnu.org>
2647
dee4ef93
CY
2648 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2649 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2650 (Man-untabify-command, manual-program): Convert to defcustom
2651 (Bug#10429).
2652
73e2bbc5
CY
2653 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2654
3e861c8a
CY
2655 * descr-text.el (describe-char): Don't insert extra newlines
2656 (Bug#10127).
2657
a9f5a649
CY
2658 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2659 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2660
dab7711b
CY
2661 * align.el (align-region): Delete temporary markers (Bug#10047).
2662 Plus some code cleanups.
2663
e0cc4efa
FEG
26642012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2665
2666 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2667 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2668 (python-shell-internal-last-output): Use make-local-variable
2669 instead of make-variable-buffer-local.
2670
489af14f
FEG
26712012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2672
2673 * progmodes/python.el: Enhancements to forward-sexp.
2674 (python-nav-forward-sexp): Rename from
2675 python-nav-forward-sexp-function.
c69f56a2
MY
2676 (python-nav--forward-sexp, python-nav--backward-sexp):
2677 New functions.
489af14f 2678
0fc50303
JB
26792012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2680
2681 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2682 modes and simplification modes.
2683
5d65606a
SM
26842012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * delsel.el (delete-selection-pre-hook): Don't propagate the
2687 file-supersession signals (bug#12161).
2688
4250fdf5
SM
26892012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2692 (cl-map-extents): Add compatibility aliases (bug#12135).
2693
d9f9b465
MA
26942012-08-08 Michael Albinus <michael.albinus@gmx.de>
2695
2696 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2697 tests by `ignore-error'.
2698 (tramp-find-shell): Open also a new shell, when cache is already
2699 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2700
ce0fcefa
JL
27012012-08-08 Juri Linkov <juri@jurta.org>
2702
2703 * bookmark.el: Add `defaults' property to the bookmark record.
2704 (bookmark-current-buffer): Doc fix.
2705 (bookmark-make-record): Add `defaults' property with default values
2706 to the bookmark record.
2707 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2708 with `bookmark-insert-current-bookmark'.
2709 (bookmark-set): Get `defaults' property from the bookmark record
2710 and use it in `read-from-minibuffer'.
2711 (bookmark-insert-current-bookmark): Remove function.
2712
2713 * info.el (Info-bookmark-make-record): Add `defaults' property
2714 with values of canonical Info node name, the current Info file
2715 name and the current Info node name. (Bug#12107)
2716
53fa8652
JL
27172012-08-08 Juri Linkov <juri@jurta.org>
2718
2719 * files.el (basic-save-buffer): Use `buffer-name' as the default
2720 of `read-file-name' when buffer is not visiting a file (bug#12128).
2721
242c0a95
JL
27222012-08-08 Juri Linkov <juri@jurta.org>
2723
2724 * info.el (Info-isearch-search): Doc fix.
2725 (Info-search): Change search-failed message from "initial node" to
2726 "end of node" (bug#12078).
2727 (Info-isearch-search): Change `isearch-string-state' to
2728 `isearch--state-string'.
2729
32ac3a6b
GM
27302012-08-08 Glenn Morris <rgm@gnu.org>
2731
2732 * language/persian.el: Remove file.
f8c1afd5 2733 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2734 * loadup.el: Remove language/persian.
2735
2c2d9c9c
OF
27362012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2737
2738 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2739
2d79ec42
FEG
27402012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2741
2742 * progmodes/python.el Fixed defsubst warning.
2743 (python-syntax-context) Rename from python-info-ppss-context.
2744 (python-syntax-context-type): Rename from
2745 python-info-ppss-context-type.
2746 (python-syntax-comment-or-string-p): Rename from
2747 python-info-ppss-comment-or-string-p.
2748
2bd255dd
JB
27492012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2750
2751 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2752
c395097f
AS
27532012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2754
6125983e
AS
2755 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2756 a defcustom that is quoted with backquote.
2757
4250fdf5
SM
2758 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2759 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2760 (math-do-arg-check, math-define-function-body): Use backquote forms.
2761 * calc/calc-ext.el (math-defcache): Likewise.
2762 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2763 * allout.el (allout-new-exposure): Likewise.
2764 * calc/calcalg2.el (math-tracing-integral): Likewise.
2765 * info.el (Info-last-menu-item): Likewise.
2766 * emulation/vip.el (vip-loop): Likewise.
2767 * textmodes/artist.el (artist-funcall): Likewise.
2768 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2769 Construct menu-item directly.
2770
4250fdf5
SM
2771 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2772 Don't declare.
c395097f 2773
5fb50dd3
CY
27742012-08-07 Chong Yidong <cyd@gnu.org>
2775
2776 * simple.el (deactivate-mark): Preserve text properties when
2777 saving the primary selection (Bug#8384).
2778
54eea618
KR
27792012-08-07 Kevin Ryde <user42@zip.com.au>
2780
2781 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2782 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2783 and continue processing (Bug#12110).
2784
638eaeb9
SM
27852012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2788 syntax-propertize-function (bug#10095).
2789
ea376861
SM
27902012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2791
f91b35be
SM
2792 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2793 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2794 describe-function-1.
2795 (describe-function-1): Use them. Move compiler macro after sig.
2796 (help-fns--compiler-macro): Use function-get. Assume we're already in
2797 standard-output. Adjust layout to new call order.
2798
ea376861
SM
2799 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2800 re-binding a symbol that has a symbol-macro (bug#12119).
2801
d5be7bd0
MB
28022012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2803
2804 * language/persian.el: New file. (Bug#11812)
2805 * loadup.el: Add language/persian.el.
2806
90749b53
CY
28072012-08-06 Chong Yidong <cyd@gnu.org>
2808
2809 * window.el (window--maybe-raise-frame): New function.
2810 (window--display-buffer): Split off from here.
2811 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2812 (display-buffer-pop-up-window, display-buffer-use-some-window):
2813 Obey an inhibit-switch-frame action alist entry.
2814 (display-buffer): Update doc.
2815
2816 * replace.el (occur-after-change-function): Avoid losing focus by
2817 using the inhibit-switch-frame display parameter (Bug#12139).
2818
ba7b0154
FEG
28192012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2820
2821 Make internal shell process buffer names start with space.
2822 * progmodes/python.el (python-shell-make-comint): Add optional
2823 argument INTERNAL.
2824 (run-python-internal): Use it.
2825 (python-shell-internal-get-or-create-process): Check for new
2826 internal buffer names.
2827
5eaeacb5
GM
28282012-08-06 Glenn Morris <rgm@gnu.org>
2829
e296d94b 2830 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2831 Do less getting and setting of environment variables.
2832
b7ccbdc2
CY
28332012-08-05 Chong Yidong <cyd@gnu.org>
2834
777fe95e
CY
2835 * proced.el (proced): Add substitution string to docstring to
2836 trigger autoloading of the proced library on C-h f (Bug#1768).
2837
4250fdf5
SM
2838 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2839 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2840
2841 * imenu.el (imenu-generic-expression): Move documentation here
2842 from imenu--generic-function.
2843 (imenu--generic-function): Refer to imenu-generic-expression.
2844
9e3b7800 28452012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
2846
2847 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2848 indentation declaration.
2849 (viper-loop): Add indentation declaration (Bug#7025).
2850
e5d9c0d1
CY
28512012-08-05 Chong Yidong <cyd@gnu.org>
2852
f0422feb
CY
2853 * help-fns.el (describe-variable): Add hyperlink for
2854 directory-local variables files. Improve buffer-local and
2855 permanent-local reporting; suggested by MON KEY (Bug#6644).
2856
2857 * help-mode.el (help-dir-local-var-def): New button type.
2858
e5d9c0d1
CY
2859 * files.el (kill-buffer-hook): Provide a defvar.
2860
a4f2deaa
GM
28612012-08-05 Glenn Morris <rgm@gnu.org>
2862
2863 * eshell/esh-ext.el (eshell/addpath):
2864 Also update eshell-path-env. (Bug#12013)
2865
a9dd5754
CY
28662012-08-05 Chong Yidong <cyd@gnu.org>
2867
a4f2deaa 2868 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2869
d014c740
CY
2870 * fringe.el (fringe-styles): Add docstring.
2871 (fringe--check-mode): New function.
2872 (set-fringe-mode, set-fringe-style): Use it.
2873 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2874
a9dd5754
CY
2875 * files.el (set-auto-mode): Fix invalid setq call.
2876
7c2dc8bd
SM
28772012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * isearch.el: Misc simplification; use defstruct.
2880 (isearch-mode-map): Dense maps now work like sparse ones.
2881 (isearch--state): New defstruct.
2882 (isearch-string-state, isearch-message-state, isearch-point-state)
2883 (isearch-success-state, isearch-forward-state)
2884 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2885 (isearch-wrapped-state, isearch-barrier-state)
2886 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2887 replaced by defstruct's accessors.
2888 (isearch--set-state): Rename from isearch-top-state and change
2889 calling convention.
2890 (isearch-push-state): Use new isearch--get-state.
2891 (isearch-toggle-word): Disable regexp when enabling word.
2892 (isearch-message-prefix): Remove unused arg _c-q-hack.
2893 (isearch-message-suffix): Remove unused arg _ellipsis.
2894
7fcc0070
AS
28952012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2896
2897 * simple.el (list-processes--refresh): For a server use :host or
2898 :local as the address.
97ad0769 2899 (list-processes): Doc fix.
7fcc0070 2900
00340faf
MN
29012012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2902
2903 * lisp/mpc.el: Support password in host argument.
2904 (mpc--proc-connect): Parse and use new password element.
2905 Set mpc-proc variable instead of returning process.
2906 (mpc-proc): Adjust accordingly.
2907
6dad7178
EZ
29082012-08-03 Eli Zaretskii <eliz@gnu.org>
2909
18949c2f
EZ
2910 * whitespace.el (whitespace-display-mappings): Use Unicode
2911 codepoints, instead of emacs-mule codepoints. See
2912 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2913 for the details.
2914
6dad7178
EZ
2915 * files.el (file-truename): Don't skip symlink-chasing part on
2916 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2917 Windows into the loop that recursively chases symlinks.
2918 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2919 MS-DOS.
2920
385b0198
CY
29212012-08-03 Chong Yidong <cyd@gnu.org>
2922
6200f3c4
CY
2923 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2924
385b0198
CY
2925 * sort.el (sort-regexp-fields): Doc fix.
2926
b9e74744
TH
29272012-08-03 Tassilo Horn <tsdh@gnu.org>
2928
2929 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2930 labels regex position point at the expected place.
2931
41013cb4
MK
29322012-08-03 MON KEY <monkey@sandpframing.com>
2933
2934 * net/imap.el (imap-interactive-login, imap-authenticate)
2935 (imap-mailbox-lsub, imap-mailbox-list)
2936 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2937 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2938 (imap-parse-response): Doc fix.
2939
0ffee616
JT
29402012-08-03 João Távora <joaotavora@gmail.com>
2941
2942 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2943 if sexp scanning does not move point (Bug#5734).
2944
cfcc9cc8
TH
29452012-08-02 Tassilo Horn <tsdh@gnu.org>
2946
2947 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2948 Add listings, minted, and ctable packages.
2949 (reftex-label-alist-builtin): Move listings, minted, and ctable
2950 entries before LaTeX.
a01bbb84 2951 (reftex-label-alist): Docfix.
cfcc9cc8 2952
66ec2442
BG
29532012-08-02 Bastien Guerry <bzg@gnu.org>
2954
2955 * replace.el (occur): Fix docstring (bug#12122).
2956
837b365b
GM
29572012-08-02 Glenn Morris <rgm@gnu.org>
2958
2959 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2960
e098de97
PE
29612012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2962
2963 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2964 * international/mule-cmds.el: Create
2965 inactivate-current-input-method-function as an obsolete alias for
2966 deactivate-current-input-method-function. See Katsumi Yamaoka in
2967 <http://bugs.gnu.org/10150#46>.
2968
a0f95636
JB
29692012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2970
2971 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2972 of nested `if's.
2973
0d26d7c4
GM
29742012-08-01 Glenn Morris <rgm@gnu.org>
2975
2976 * progmodes/autoconf.el (autoconf-definition-regexp):
2977 Add AH_TEMPLATE, adjust submatch numbering.
2978 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2979 (autoconf-current-defun-function): Update for above change.
2980 (autoconf-current-defun-function): First skip to end of current word.
2981
b686ba06
RS
29822012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2983
2984 * calendar/cal-html.el (cal-html-insert-agenda-days):
2985 Fix typo. (Bug#12018)
2986
0d49da68
FEG
29872012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2988
2989 Shell processes: enhancements to startup and CEDET compatibility.
2990 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2991 (python-shell-make-comint): accept-process-output at startup.
2992 (run-python-internal): Set inferior-python-mode-hook to nil.
2993 (python-shell-internal-get-or-create-process): call sit-for.
2994 (python-preoutput-result): Add obsolete alias.
2995 (python-shell-internal-send-string): Use it.
2996 (python-shell-send-setup-code): Remove call to
2997 accept-process-output.
2998
f1a71c6e
AS
29992012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3000
3001 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3002 (Bug#12108)
3003
d2605269
JB
30042012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3005
3006 * calc-mode.el (calc-basic-simplification-mode): Rename from
3007 `calc-limited-simplification-mode'.
3008 (calc-alg-simplification-mode): New function.
d66060f8 3009 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3010
d2605269
JB
3011 * calc.el (calc-set-mode-line): Adjust mode line display for
3012 basic simplification mode.
3013
3014 * calc-help.el (calc-m-prefix-help): Update help message.
3015
3016 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3017 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3018
a3827a43
BG
30192012-07-31 Bastien Guerry <bzg@gnu.org>
3020
3021 * man.el (man): Fix comment. (bug#12101)
3022
502e3f89
MR
30232012-07-31 Martin Rudalics <rudalics@gmx.at>
3024
3025 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3026 Don't return a non-nil value when no suitable buffer was found.
3027
d7714961
FEG
30282012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3029
3030 * progmodes/python.el (run-python-internal): Disable font lock for
3031 internal shells.
3032
1f45e27e
SM
30332012-07-30 Stefan Merten <smerten@oekonux.de>
3034
3035 * rst.el: Silence `checkdoc-ispell'.
3036 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3037 (rst-official-version, rst-official-cvs-rev)
3038 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3039 (rst-mode-map): New key binding.
3040
0aee6912
PE
30412012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3042
3043 Update .PHONY listings in makefiles.
3044 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3045 autoloads, update-subdirs, updates, bzr-update, update-authors,
3046 compile-onefile, compile-calc, backup-compiled-files,
3047 compile-after-backup, compile-one-process, mh-autoloads,
3048 bootstrap-clean, distclean, maintainer-clean.
3049
9052f9f0
JB
30502012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3051
1823ac5a
JB
3052 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3053 (calc-set-mode-line): Don't display "AlgSimp ".
3054
3055 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3056 (calc-lim-simplify-mode): New function.
3057 (calc-set-simplify-mode): Default to 'alg.
3058 (calc-default-simplify-mode): Make algebraic simplifications
3059 the default.
3060
3061 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3062 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3063
8d7c7eed 3064 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3065 indicate new simplification modes.
3066
1823ac5a
JB
3067 * calc/README: Mention new default simplification mode.
3068
9052f9f0
JB
3069 * calc/calc.el (math-normalize-error): New variable.
3070 (math-normalize): Set `math-normalize-error' to t
3071 when there's an error.
3072
3073 * calc/calc-alg.el (math-simplify): Don't simplify when
3074 `math-normalize' returns an error.
3075
20ba0cb4
EZ
30762012-07-29 Eli Zaretskii <eliz@gnu.org>
3077
3078 * international/mule-cmds.el (set-locale-environment): Revert last
3079 change, since display-graphic-p returns nil when this function is
3080 called during startup. Instead...
3081
3082 * term/w32console.el (terminal-init-w32console): ...setup the
3083 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3084
a5dcc929
JL
30852012-07-29 Juri Linkov <juri@jurta.org>
3086
3087 * simple.el (goto-line): Don't display default line number in the
3088 prompt because it should be displayed by `read-number' (bug#9952).
3089 Add the current line number to the defaults of `goto-line' to
3090 allow its easier modification by users with `M-n' (bug#9201).
3091
3092 * subr.el (read-number): Support multiple default values like in
3093 other minibuffer reading functions. Replace `read' with
3094 `string-to-number' for consistency with `number-to-string'.
3095
72b255c7
PE
30962012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3097
3098 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3099 * emulation/viper-init.el (viper-deactivate-input-method-action):
3100 Rename from viper-inactivate-input-method-action.
3101 (viper-deactivate-input-method):
3102 Rename from viper-inactivate-input-method.
3103 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3104 * international/mule-cmds.el (deactivate-input-method):
3105 Rename from inactivate-input-method.
3106 Also run input-method-deactivate-hook.
3107 (deactivate-current-input-method-function):
3108 Rename from inactivate-current-input-method-function.
3109 (input-method-deactivate-hook): New hook.
3110 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3111 (inactivate-input-method): Mark obsolete.
3112
72b255c7
PE
3113 * international/quail.el (quail-activate):
3114 Also run quail-deactivate-hook.
3115 (quail-deactivate): Rename from quail-inactivate.
3116 * international/robin.el (robin-activate):
3117 Also run robin-deactivate-hook.
3118 (robin-deactivate): Rename from robin-inactivate.
3119
2549c068
CY
31202012-07-29 Chong Yidong <cyd@gnu.org>
3121
3122 * simple.el (indicate-copied-region): New function.
3123 (kill-ring-save): Split off from here.
3124
3125 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3126 (kill-rectangle): Set deactivate-mark to t on read-only error.
3127
3128 * register.el (copy-to-register, copy-rectangle-to-register):
3129 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
3130 (append-to-register, prepend-to-register):
3131 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3132
3133 * simple.el (async-shell-command-buffer): New defcustom.
3134 (shell-command): Use it. (Bug#4719)
3135
01bd1b0d
EZ
31362012-07-28 Eli Zaretskii <eliz@gnu.org>
3137
3138 * international/mule-cmds.el (set-locale-environment): In a
3139 console session on MS-Windows, set up keyboard and terminal
3140 encoding from the OEM codepage, not the ANSI codepage.
3141 (Bug#12055)
3142
a55739d3
CY
31432012-07-28 Chong Yidong <cyd@gnu.org>
3144
3145 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3146 gdb-get-location.
3147
0e1a094f 31482012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3149
3150 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3151 the alist (bug#12029).
3152
20329d73
EZ
31532012-07-28 Eli Zaretskii <eliz@gnu.org>
3154
3155 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3156 (compile-always, compile-first)
3157 ($(lisp)/calendar/cal-loaddefs.el)
3158 ($(lisp)/calendar/diary-loaddefs.el)
3159 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3160 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3161 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3162 instead of on update-subdirs.
3163 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3164
345a2258
CY
31652012-07-28 Chong Yidong <cyd@gnu.org>
3166
1eee6341
CY
3167 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3168 directory if vc-deduce-backend returns nil (Bug#7350).
3169
345a2258
CY
3170 * simple.el (delete-trailing-lines): New option.
3171 (delete-trailing-whitespace): Obey it (Bug#11879).
3172
049a0936
DE
31732012-07-28 David Engster <deng@randomsample.de>
3174
3175 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3176 Explanation of new 'symbol-qnames feature in doc-strings.
3177 (xml-maybe-do-ns): Return expanded names as plain symbols if
3178 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3179 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3180
aa81af71
FEG
31812012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3182
3183 Consistent completion in inferior python with emacs -nw.
3184 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3185 binding in inferior-python-mode-map with "\t".
3186 (python-shell-completion-complete-at-point)
3187 (python-completion-complete-at-point): Remove interactive spec.
3188
e827b1eb
JB
31892012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3190
3191 * calc/calccomp.el (math-compose-expr): Undo previous change.
3192
a90dfb95
FEG
31932012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3194
4250fdf5 3195 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3196 run-python.
3197 (python-shell-make-comint): Fix pop-to-buffer call.
3198 (run-python): Autoload. New arg SHOW.
3199 (python-shell-get-or-create-process): Do not pop python process
3200 buffer.
3201
32770973 32022012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3203
3204 * notifications.el (notifications-on-action-signal)
3205 (notifications-on-closed-signal): Use also the bus address for the map.
3206 (notifications-notify, notifications-close-notification)
3207 (notifications-get-capabilities): Add optional argument BUS.
3208
86332df2
TH
32092012-07-27 Tassilo Horn <tsdh@gnu.org>
3210
4250fdf5
SM
3211 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3212 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3213 ctable macro.
3214 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3215 labels written in keyvals syntax.
3216
ca1302a4
JB
32172012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3218
3219 * calc/calccomp.el (math-compose-expr): Use parentheses when
3220 there is a product in the denominator of a fraction.
3221
f8b91036
EZ
32222012-07-26 Eli Zaretskii <eliz@gnu.org>
3223
3224 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3225 ($(lisp)/calendar/diary-loaddefs.el)
3226 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3227 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3228 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3229 rewritten while the autoload files are built at the same time,
3230 which needs to load subdirs.el.
3231
c8e5a42c
MR
32322012-07-26 Martin Rudalics <rudalics@gmx.at>
3233
3234 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3235 (mouse-drag-line): Don't exit tracking when a switch-frame or
3236 switch-window event occurs (Bug#12006).
3237
670d85ea
SM
32382012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * mouse.el (popup-menu): Fix last change.
3241
7abaf5cc
SM
32422012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 Autoload from Lisp with more care. Follow aliases when looking for
3245 function properties.
3246 * subr.el (autoloadp): New function.
3247 (symbol-file): Use it.
3248 (function-get): New function.
3249 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3250 autoload-do-load.
3251 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3252 (lisp-indent-function):
3253 * emacs-lisp/gv.el (gv-get):
3254 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3255 * emacs-lisp/byte-opt.el (byte-optimize-form):
3256 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3257 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3258 Use function-get.
3259 * emacs-lisp/cl.el: Don't propagate function properties any more.
3260
3261 * speedbar.el (speedbar-add-localized-speedbar-support):
3262 * emacs-lisp/disass.el (disassemble-internal):
3263 * desktop.el (desktop-load-file):
3264 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3265 (describe-function-1):
3266 * emacs-lisp/find-func.el (find-function-noselect):
3267 * emacs-lisp/elp.el (elp-instrument-function):
3268 * emacs-lisp/advice.el (ad-has-proper-definition):
3269 * apropos.el (apropos-safe-documentation, apropos-macrop):
3270 * emacs-lisp/debug.el (debug-on-entry):
3271 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3272 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3273 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3274
b1364986
AA
32752012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3276
3277 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3278 function, not an obsolete variable (Bug#12046).
3279
67ada220
AS
32802012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3281
3282 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3283
f08088e3
CS
32842012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3285
3286 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3287 window only if it is still live (Bug#12034).
3288
8137e7b3
MR
32892012-07-25 Martin Rudalics <rudalics@gmx.at>
3290
3291 * subr.el (redirect-frame-focus): Add advertised calling
3292 convention (Bug#12030).
3293
09ae5da1
PE
32942012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3295
3296 Prefer typical American spelling for "acknowledgment".
3297 * vc/add-log.el (change-log-acknowledgment): Rename from
3298 change-log-acknowledgement, with an alias for the old name.
3299
3cc5a3a8
JB
33002012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3301
3302 * calc-alg.el (math-simplify-divide): Don't cross multiply
3303 in an equation when the lhs is a variable.
3304
b7af7f62
JD
33052012-07-24 Julien Danjou <julien@danjou.info>
3306
3307 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3308 Remove, unused.
3309
ec1b09b1
EZ
33102012-07-23 Eli Zaretskii <eliz@gnu.org>
3311
3312 * startup.el (command-line): Don't display an empty user name in
3313 the error message about non-existent home directory, when
3314 init-file-user was set to an empty string. See
3315 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3316 for the details and context.
3317
b525fd8a
VB
33182012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3319
3320 * ses.el (ses-cell-formula-aset): New macro.
3321 (ses-cell-references-aset): New macro.
3322 (ses-cell-p): New function.
3323 (ses-rename-cell): Do no longer rely on complex operations like
3324 ses-cell-set-formula or ses-set-cell to change the cell and handle
3325 the undo at the same time, but rather use lower level new macros
3326 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3327 the undo directly. Refresh the mode line.
3328
2c73e345
LL
33292012-07-21 Leo Liu <sdl.web@gmail.com>
3330
670d85ea
SM
3331 * progmodes/cc-cmds.el (c-defun-name):
3332 Use match-string-no-properties instead for consistency.
2c73e345 3333
542dfbde
LL
33342012-07-20 Leo Liu <sdl.web@gmail.com>
3335
3646bcd6
LL
3336 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3337 (Bug#7879)
3338
542dfbde
LL
3339 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3340
25721031
CY
33412012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3342
3343 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3344 * progmodes/bug-reference.el, misearch.el: Provide themselves
3345 (bug#11915).
3346
3347 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3348 of narrowed buffer (bug#11966).
3349
316e68a7
VB
33502012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3351
3352 * ses.el (ses-rename-cell): Set new name also in reference list of
3353 cells of which the renamed cell depends.
3354
bbf0e7d9
MY
33552012-07-20 Masatake YAMATO <yamato@redhat.com>
3356
3357 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3358 to check whether menu-bar is shown or not. If not shown,
3359 show the menu-bar as a popup menu instead of using tmm.
3360 * mouse.el (popup-menu): Accept `point' as `position' argument.
3361
c28662a8
DG
33622012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3363
3364 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3365 up inside string symbol literal (bug#11923).
3366
87ab808f
EZ
33672012-07-20 Eli Zaretskii <eliz@gnu.org>
3368
3369 * startup.el (fancy-startup-text): Read the whole tutorial, not
3370 just its first 256 bytes. Prevents gibberish in display of the
3371 tutorial title.
3372
89dea803
DA
33732012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3374
3375 Drop idle buffer compaction due to an absence of the
3376 proved efficiency.
3377 * compact.el: Remove.
3378
8a4e6db8
SS
33792012-07-19 Sam Steingold <sds@gnu.org>
3380
3381 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3382 vc-bzr-pull & vc-bzr-merge-branch.
3383 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3384 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3385 for consistency with compilation-error-regexp-alist.
3386 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3387 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3388 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3389 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3390
5db81e33
SM
33912012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * emacs-lisp/chart.el: Use lexical-binding.
3394 (chart-emacs-storage): Don't hardcode the list of entries.
3395
5b835e1d
DA
33962012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3397
3398 Next round of tweaks caused by Fgarbage_collect changes.
3399 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3400
9cd47b72
DA
34012012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3402
3403 Compact buffers when idle.
3404 * compact.el: New file.
3405
1d6fc0df
SM
34062012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 * subr.el (eventp): Presume that if it looks vaguely like an event,
3409 it's an event (bug#10190).
3410
1d29cc7d
FEG
34112012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3412
3413 Enhancements to ppss related code (thanks Stefan).
3414 * progmodes/python.el (python-indent-context)
3415 (python-indent-calculate-indentation, python-indent-dedent-line)
3416 (python-indent-electric-colon, python-nav-forward-block)
3417 (python-mode-abbrev-table)
1d6fc0df 3418 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3419 for ppss context.
3420 (python-info-continuation-line-p): Cleanup.
3421 (python-info-ppss-context): Do not catch 'quote.
3422 (python-info-ppss-context-type)
3423 (python-info-ppss-comment-or-string-p): Simplify.
3424
d583cbe6
FEG
34252012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3426
3427 * progmodes/python.el: Enhancements to eldoc support.
3428 (python-info-current-symbol): New function.
3429 (python-eldoc-at-point): Use python-info-current-symbol.
3430 (python-info-current-defun): Fix cornercase on first defun scan.
3431 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3432 and signal error when no inferior python process is available.
3433
eceb6feb
DG
34342012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3435
3436 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3437 assume it's always t.
3438 (vc-git-registered): Remove caching, the function is only called
3439 once.
3440 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3441
4c8ff0fe
CY
34422012-07-18 Chong Yidong <cyd@gnu.org>
3443
19fb7186
CY
3444 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3445
9587c688
CY
3446 * simple.el (count-words): Report on narrowing (Bug#9959).
3447
0fe776a1
CY
3448 * bindings.el: Bind M-= to count-words.
3449
4c8ff0fe
CY
3450 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3451
7f5331cc
MY
34522012-07-18 Masatake YAMATO <yamato@redhat.com>
3453
3454 * progmodes/sh-script.el (sh-imenu-generic-expression):
3455 Capture a function with `function' keyword and without parentheses
3456 like "function FOO" (bug#11856).
3457
2dc2a609
TH
34582012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3459
3460 * window.el (split-window-sensibly): Make WINDOW argument
3461 optional.
3462
439f7677
CY
34632012-07-18 Chong Yidong <cyd@gnu.org>
3464
9aeb25a6
CY
3465 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3466
439f7677
CY
3467 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3468 and make C-x 8 RET exit isearch (Bug#11439).
3469
3470 * international/iso-transl.el: Move isearch-mode-map key
3471 definitions to isearch.el.
3472
12999ea8
SM
34732012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3474
3475 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3476 (eieio-defclass): Use gv-define-setter when possible.
3477
3ab6e069
DA
34782012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3479
3480 Reflect recent changes in Fgarbage_collect.
3481 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3482 reflect new format of data returned by Fgarbage_collect.
3483
0a60bc10
FEG
34842012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3485
3486 New utility functions + python-info-ppss-context fix (Bug#11910).
3487 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3488 (python-info-ppss-comment-or-string-p): New functions.
3489 (python-info-ppss-context): Small fix for string check.
3490
6dafa0d5
JL
34912012-07-17 Juri Linkov <juri@jurta.org>
3492
3493 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3494 (dired-do-async-shell-command): Don't add `*' at the end of the
3495 command (Bug#11815).
3496 (dired-do-shell-command): Doc fix.
3497 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3498 Join the individual commands using either "&" or ";" as the
3499 separator depending on the values of these trailing characters.
3500 At the end re-add the trailing "&". (Bug#10598)
3501
3502 * simple.el (async-shell-command): Sync the interactive spec with
3503 `shell-command'. Doc fix.
3504 (shell-command): Doc fix.
3505
b19dd9d1
JL
35062012-07-17 Juri Linkov <juri@jurta.org>
3507
3508 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3509
bcdc27d7 35102012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3511
bcdc27d7 3512 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3513 * progmodes/python.el (python-nav-beginning-of-statement):
3514 Rename from python-nav-statement-start.
bcdc27d7
FEG
3515 (python-nav-end-of-statement): Rename from
3516 python-nav-statement-end.
3517 (python-nav-beginning-of-block): Rename from
3518 python-nav-block-start.
3519 (python-nav-end-of-block): Rename from python-nav-block-end.
3520
191da00e
FEG
35212012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3522
7f5331cc
MY
3523 * progmodes/python.el (python-shell-send-string-no-output):
3524 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3525 future interactions (Bug#11868).
3526
4dc7c8d5 35272012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3528
88ecaf8f
SM
3529 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3530
ef501ef0
SM
3531 * emacs-lisp/elint.el (elint-find-args-in-code):
3532 Use help-function-arglist, so as to handle lexical byte-code.
3533
aa7aaf8f
SM
3534 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3535 change (bug#11826).
3536
45fd731c
SM
35372012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3538
2143fa32
SM
3539 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3540 Avoid spuriously marking the buffer as modified because of c-is-sws.
3541
efc26dbe
SM
3542 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3543 as not-a-comment (bug#11946).
3544
f5695c9a
SM
3545 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3546 for uninterned vars.
3547
3548 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3549 Use read-event since we don't really want to read chars but bytes.
3550
45fd731c
SM
3551 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3552 $$..$$ but also $..$ using regexps (bug#11953).
3553 Use tex-verbatim for \url and \path.
3554 (tex-font-lock-keywords): Define as defconst like the others.
3555 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3556
ddfc8813
RK
35572012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3558
3559 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3560 alias for insert-char.
3561
758e556a
FEG
35622012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3563
3564 * progmodes/python.el: Simplified imenu implementation.
3565 (python-nav-jump-to-defun): Remove command.
3566 (python-mode-map): Use `imenu' instead.
3567 (python-nav-list-defun-positions-cache)
3568 (python-imenu-include-defun-type, python-imenu-make-tree)
3569 (python-imenu-subtree-root-label, python-imenu-index-alist):
3570 Remove vars.
3571 (python-nav-list-defun-positions, python-nav-read-defun)
3572 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3573 (python-imenu-make-tree, python-imenu-create-index):
3574 Remove functions.
758e556a
FEG
3575 (python-mode): Update to interact with imenu by setting
3576 `imenu-extract-index-name-function' only.
3577
032d23ab
FEG
35782012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3579
3580 * progmodes/python.el: Enhancements to navigation commands.
3581 (python-nav-backward-sentence)
3582 (python-nav-forward-sentence): Remove.
3583 (python-nav-backward-statement, python-nav-forward-statement)
3584 (python-nav-statement-start, python-nav-statement-end)
3585 (python-nav-backward-block, python-nav-forward-block)
3586 (python-nav-block-start, python-nav-block-end)
3587 (python-nav-forward-sexp-function)
3588 (python-info-current-line-comment-p)
3589 (python-info-current-line-empty-p): New functions.
3590 (python-indent-context): Use `python-nav-statement-start'.
3591
01795a1b
MA
35922012-07-16 Michael Albinus <michael.albinus@gmx.de>
3593
9328d9aa
MA
3594 * eshell/em-ls.el (eshell/ls): Use `apply'.
3595
3596 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3597 multi-hops, instead of Tramp internals.
3598
01795a1b
MA
3599 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3600
3601 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3602 when F1 and F2 are located on different hosts.
3603
63408057
CY
36042012-07-14 Chong Yidong <cyd@gnu.org>
3605
3606 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3607 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3608 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3609 (xterm-mouse--read-event-sequence-1000)
3610 (xterm-mouse--read-event-sequence-1006): New functions. For old
3611 mouse protocol, handle M-mouse-X events correctly.
3612 (xterm-mouse-event): New arg specifying mouse protocol.
3613 (turn-on-xterm-mouse-tracking-on-terminal)
3614 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3615 sequence to toggle extended coordinates on newer XTerms.
3616 This appears to be harmless on terminals which do not support this.
63408057 3617
cd276f6e
LL
36182012-07-14 Leo Liu <sdl.web@gmail.com>
3619
28ca98ac
LL
3620 Add fringe bitmap indicators for flymake. (Bug#11253)
3621 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3622 (flymake-make-overlay): New arg BITMAP.
3623 (flymake-error-bitmap, flymake-warning-bitmap)
3624 (flymake-fringe-indicator-position): New user variables.
3625
cd276f6e
LL
3626 * fringe.el: New bitmap exclamation-mark.
3627
04408072
JD
36282012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3629
3630 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3631 also (Bug#7879).
3632
b5cf7fc4
CY
36332012-07-14 Chong Yidong <cyd@gnu.org>
3634
3635 * electric.el (electric-pair-post-self-insert-function): Fix pair
3636 insertion in empty-region case (Bug#11520).
3637
be755c79
RT
36382012-07-14 Chong Yidong <cyd@gnu.org>
3639
45fd731c
SM
3640 * bindings.el: Consolidate ctl-x-r-map bindings.
3641 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3642
3643 * rect.el, register.el: Move bindings to bindings.el.
3644
36452012-07-14 Reuben Thomas <rrt@sc3d.org>
3646
3647 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3648
7f5b3198
AS
36492012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3650
3651 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3652
97662200
JB
36532012-07-13 Juanma Barranquero <lekktu@gmail.com>
3654
80185fed
JB
3655 * bindings.el (top): Use `mapc' instead of `mapcar'.
3656
97662200
JB
3657 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3658
2bb1ae55
MA
36592012-07-13 Michael Albinus <michael.albinus@gmx.de>
3660
3661 * progmodes/sql.el (sql-comint): Suppress the check for program on
3662 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3663 (Bug#11908)
3664
dea31bd3
CY
36652012-07-13 Chong Yidong <cyd@gnu.org>
3666
3667 * bindings.el: Assign a non-nil permanent-local property to
3668 per-buffer variables which lack a default value (Bug#11930).
3669
3670 * help-fns.el (describe-variable): In the "automatically becomes
3671 local" notice, take note of permanent-local variables.
3672
b68b3337
CY
36732012-07-13 Chong Yidong <cyd@gnu.org>
3674
3675 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3676 to allow printing the message when called from Lisp.
3677
3678 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3679 Remove toggle-read-only.
3680
3681 * bs.el (bs-toggle-readonly):
45fd731c
SM
3682 * buff-menu.el (Buffer-menu-toggle-read-only):
3683 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3684
3685 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3686 Remove with-no-warnings around toggle-read-only.
3687 (ffap-read-only, ffap-read-only-other-window)
3688 (ffap-read-only-other-frame): Callers changed.
3689
3690 * help-mode.el: Don't require view package.
3691 (help-mode-finish): Set buffer-read-only instead of calling
3692 toggle-read-only.
3693
3694 * bindings.el (mode-line-toggle-read-only):
3695 * dired.el (dired-toggle-read-only):
3696 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3697 with non-nil second arg.
3698
3699 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3700 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3701 directly.
3702
56bc1586
EZ
37032012-07-12 Eli Zaretskii <eliz@gnu.org>
3704
3705 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3706 not incf.
3707
a464a6c7
SM
37082012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 More CL cleanups and reduction of use of cl.el.
3711 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3712 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3713 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3714 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3715 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3716 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3717 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3718 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3719 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3720 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3721 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3722 * eshell/em-cmpl.el, eshell/em-banner.el:
3723 * calendar/parse-time.el: Use cl-lib.
3724 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3725 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3726 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3727 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3728 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3729 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3730 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3731 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3732 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3733 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3734 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3735 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3736 `lambda' rather than with `quote'.
3737 (eshell-do-opt): Adjust accordingly.
3738 (eshell-process-option): Simplify.
3739 * eshell/esh-var.el:
3740 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3741 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3742 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3743 to `pcase--dontcare'.
3744 * emacs-lisp/cl.el (labels): Mark obsolete.
3745 (cl--letf, letf): Move to cl-lib.
3746 (cl--letf*, letf*): Remove.
3747 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3748 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3749 (cl-progv): Rewrite.
3750 (cl--letf, cl-letf): Move from cl.el.
3751 (cl-letf*): New macro.
3752 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3753
7ad4afe1
MA
37542012-07-11 Michael Albinus <michael.albinus@gmx.de>
3755
3756 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3757
9af57756
CY
37582012-07-11 Chong Yidong <cyd@gnu.org>
3759
3760 * vc/log-edit.el (log-edit-vc-backend): New variable.
3761 (log-edit): Doc fix.
3762
3763 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3764 argument of log-edit to set up all local variables.
3765 (vc-start-logentry): New optional arg specifying VC backend.
3766
3767 * vc/vc.el (vc-checkin): Use it.
3768 (vc-deduce-fileset): Handle Log Edit buffers.
3769 (vc-diff): Make first argument optional too.
3770
3771 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3772
8477cc7a
MA
37732012-07-10 Michael Albinus <michael.albinus@gmx.de>
3774
3775 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3776 command, just in case. The function is not needed anymore.
3777 (eshell-external-command): Do not call `eshell-remote-command'.
3778
19faa8e8
SM
37792012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3780
f58e0fd5
SM
3781 Reduce use of (require 'cl).
3782 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3783 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3784 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3785 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3786 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3787 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3788 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3789 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3790 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3791 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3792 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3793 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3794 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3795 (byte-compile-unfold-bcf, byte-compile-check-variable):
3796 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3797 (byte-compile-nilconstp):
3798 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3799 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3800
2519d43a
SM
3801 * emacs-lisp/gv.el (cond): Make it a valid place.
3802 (if): Simplify slightly.
3803
19faa8e8
SM
3804 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3805 (pcase--self-quoting-p): New function.
3806 (pcase--u1): Use it.
3807
c4907a5e
GM
38082012-07-10 Glenn Morris <rgm@gnu.org>
3809
3810 * emacs-lisp/authors.el (authors-fixed-entries):
3811 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3812
c4444d16
PE
38132012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3814
3815 Rename configure.in to configure.ac (Bug#11603).
3816 * emacs-lisp/authors.el (authors-canonical-file-name):
3817 * progmodes/autoconf.el (autoconf-mode):
3818 Prefer configure.ac to configure.in.
3819
d75be97d
CY
38202012-07-08 Chong Yidong <cyd@gnu.org>
3821
01ac65bd
CY
3822 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3823 Implement the mouse-1-click-follows-link handling properly.
3824
3825 * info.el (Info-link-keymap): Use follow-link mechanism for
3826 header-line links (Bug#374).
3827
d75be97d
CY
3828 * simple.el (deactivate-mark): Do not set the primary selection
3829 if another program has acquired it (Bug#11772).
3830
87a92845 38312012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3832
3833 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3834 (woman-decode-region): Replace escaped-escapes without destroying
3835 bold or underline (Bug#11552).
87a92845 3836 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3837
621b9d6c
CY
38382012-07-07 Chong Yidong <cyd@gnu.org>
3839
3840 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3841 (interprogram-cut-function, interprogram-paste-function):
3842 Mention that we typically mean the clipboard.
621b9d6c 3843
133a11fc
GM
38442012-07-06 Glenn Morris <rgm@gnu.org>
3845
0d27a45e
GM
3846 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3847
133a11fc
GM
3848 * files.el (toggle-read-only): Restrict message to interactive use.
3849
07b151f1
MA
38502012-07-06 Michael Albinus <michael.albinus@gmx.de>
3851
3852 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3853
3854 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3855
211b896b
GM
38562012-07-06 Glenn Morris <rgm@gnu.org>
3857
50394322
GM
3858 * Makefile.in (compile-one-process): Rename from "recompile".
3859
211b896b
GM
3860 * Makefile.in (bzr-update): "compile" is the same as "recompile
3861 autoloads", but parallelizable, so use that instead.
3862
4737eec9
DG
38632012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3864
3865 * window.el (quit-window): Always restore window height when
8137e7b3 3866 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3867
226c3633 38682012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3869
3870 * simple.el (kill-whole-line): Doc tweak.
3871
226c3633 38722012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3873
3874 * files.el (file-relative-name): Compare file names
3875 case-insensitively if on MS-Windows or MS-DOS, or if
3876 read-file-name-completion-ignore-case is non-nil. Don't use
3877 case-fold-search for this purpose. (Bug#11827)
3878
4dc7c8d5
SM
38792012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3880
3881 * calendar/cal-dst.el (calendar-current-time-zone):
3882 Return calendar-current-time-zone-cache if non-nil.
3883
38842012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 38852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3886
19faa8e8
SM
3887 * calendar/cal-dst.el (calendar-current-time-zone):
3888 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3889
60198fc9
GM
38902012-07-06 Glenn Morris <rgm@gnu.org>
3891
3892 * Makefile.in (cvs-update): Remove old alias.
3893
957b3189
MA
38942012-07-05 Michael Albinus <michael.albinus@gmx.de>
3895
3896 Sync with Tramp 2.2.6-pre.
3897
3898 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3899 compatible declaration.
3900
19faa8e8
SM
3901 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3902 Protect `list-load-path-shadows' call.
957b3189
MA
3903
3904 * net/tramp-compat.el (top): Require packages, which aren't
3905 autoloaded anymore for XEmacs. Protect call of
3906 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3907 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3908 it hurts at least for SXEmacs.
3909 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3910 standard-value for `temporary-file-directory'.
3911
3912 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3913 Redirect stderr to /dev/null.
3914 (tramp-sh-handle-write-region): uid and gid can be floats.
3915 Reported by Russell Sim <russell.sim@gmail.com>.
3916 (tramp-sh-handle-vc-registered): Hide errors.
3917 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3918 and `start-file-process'.
3919 (tramp-maybe-open-connection): Check also whether `non-essential'
3920 is bound.
3921
566df3fc
CY
39222012-07-04 Chong Yidong <cyd@gnu.org>
3923
3924 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3925 (xml-parse-tag): Likewise, and avoid changing entity tables.
3926 (xml-syntax-table): Define from scratch, making sure not to give
3927 x2000 and other Unicode spaces whitespace syntax, since those are
3928 not spaces in XML.
3929 (xml-parse-fragment): Delete unused function.
3930 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3931 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3932 (xml-entity-ref, xml-pe-reference-re)
3933 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3934 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3935 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3936 (xml-entity-value-re): Use syntax references in regexps where
3937 possible; no need to define inside a let-binding.
3938 (xml-parse-dtd): Use xml-pe-reference-re.
3939 (xml-entity-or-char-ref-re): New defconst.
3940 (xml-parse-string, xml-substitute-special): Use it.
3941
30eabd7a
SM
39422012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3943
0781098a
SM
3944 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3945 (find-file--read-only): New function.
3946 (find-file-read-only, find-file-read-only-other-window)
3947 (find-file-read-only-other-frame): Use it.
3948 (insert-file-contents-literally): Don't `fset'.
3949 (get-free-disk-space): Use locate-dominating-file.
3950
b5771c0d
SM
3951 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3952 function is already compiled.
3953
30eabd7a
SM
3954 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3955
b4886f6e
MA
39562012-07-03 Michael Albinus <michael.albinus@gmx.de>
3957
3958 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3959 files on the same host.
3960
b9d82339
AS
39612012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3962
3963 * help-fns.el (describe-function-1): Only call
3964 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3965
a76e6535
CY
39662012-07-03 Chong Yidong <cyd@gnu.org>
3967
3968 * xml.el: Protect parser against XML bombs.
3969 (xml-entity-expansion-limit): New variable.
3970 (xml-parse-string, xml-substitute-special): Use it.
3971 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3972
b544fef2
GM
39732012-07-03 Glenn Morris <rgm@gnu.org>
3974
3975 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3976 Allow linking to specific messages in debbugs reports (eg 123#5).
3977
a7aef6f5
CY
39782012-07-02 Chong Yidong <cyd@gnu.org>
3979
3980 * xml.el: Fix entity and character reference expansion, allowing
3981 them to expand into markup as per XML spec.
3982 (xml-default-ns): New variable.
3983 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3984 (xml-parse-region): Make first two arguments optional.
3985 Discard text properties.
3986 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3987 All callers changed.
a7aef6f5
CY
3988 (xml-parse-tag): Call xml-parse-tag-1. For backward
3989 compatibility, this function should not modify buffer contents.
3990 (xml-parse-tag-1): Fix opening-tag regexp.
3991 (xml-parse-string): Rewrite, handling entity and character
3992 references properly.
3993 (xml--entity-replacement-text): Signal an error if a parameter
3994 entity is undefined.
3995
3df31c9f
SM
39962012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3997
2b5208f1
SM
3998 * comint.el (comint-output-filter): Filter out repeated prompts.
3999
3df31c9f
SM
4000 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4001 and file-name-absolute-p.
4002 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4003 internal calls.
4004
e3ac1281
PE
40052012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4006
4007 Spelling fixes.
4008 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4009 Rename from byte-compile--refiy-function. All uses changed.
4010
fbf2e7ad
CY
40112012-07-01 Chong Yidong <cyd@gnu.org>
4012
4013 * xml.el (xml--parse-buffer): New function. Move most of
4014 xml-parse-region here.
4015 (xml-parse-region): Copy region into a temporary buffer, since
4016 parameter entity substitution requires changing buffer contents.
4017 Use xml--parse-buffer.
4018 (xml-parse-file): Use xml--parse-buffer.
4019 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4020 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4021
9bf0aa15
GM
40222012-06-30 Glenn Morris <rgm@gnu.org>
4023
bbce2853
GM
4024 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4025
9bf0aa15
GM
4026 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4027 Remove outdated and unnecessary dbus declarations.
4028
0d23c240
EZ
40292012-06-30 Eli Zaretskii <eliz@gnu.org>
4030
4031 * emacs-lisp/timer.el (timer-until): Subtract results of
4032 float-time, instead of taking float-time of the result of
4033 time-subtract, since float-time signals an error for negative time
4034 arguments.
4035
b3218de1
CY
40362012-06-30 Chong Yidong <cyd@gnu.org>
4037
4038 * xml.el (xml-*-re): Convert defvars into defconsts, and
4039 eval-and-compile them so eval-and-compile works on derivatives.
4040 (xml--entity-replacement-text): Use eval-and-comple.
4041
a40c87a0
MA
40422012-06-30 Michael Albinus <michael.albinus@gmx.de>
4043
4044 * vc/vc-git.el (vc-git-registered): Use cache property
4045 `git-registered'.
4046 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4047 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4048 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4049
ac87de97
DG
40502012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4051
4052 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4053 removed (likely outside Emacs). (Bug#11757)
ac87de97 4054
ac10fe06
SM
40552012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4056
3df31c9f 4057 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4058
7f3fbd5d
CY
40592012-06-30 Chong Yidong <cyd@gnu.org>
4060
4061 * xml.el: Implement XML parameter entities.
4062 (xml-parameter-entity-alist): New variable.
4063 (xml-parse-region, xml-parse-fragment): Preserve previous values
4064 of xml-entity-alist and xml-parameter-entity-alist, so that
4065 repeated calls on different documents do not change them.
4066 (xml-parse-tag): Fix doctype regexp.
4067 (xml--entity-replacement-text): New function.
4068 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4069 properly requires url retrieval which is unimplemented.
4070 (xml-escape-string): Doc fix.
4071
3cfbebba
SM
40722012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4073
4074 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4075
2af3565e
DA
40762012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4077
4078 * fringe.el (fringe-mode): Doc fix.
4079
929df0e7
MA
40802012-06-29 Michael Albinus <michael.albinus@gmx.de>
4081
4082 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4083 is non-nil.
4084 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4085 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4086
c8d3a25c 40872012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4088
c8d3a25c
GM
4089 * calendar/cal-dst.el (calendar-current-time-zone):
4090 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4091
c8d3a25c 40922012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4093
4094 * progmodes/which-func.el (which-func-format):
4095 Add mouse-face. (Bug#11698)
4096
c8d3a25c
GM
40972012-06-29 Leo Liu <sdl.web@gmail.com>
4098
4099 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4100
41012012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 * minibuffer.el (minibuffer-confirm-exit-commands):
4104 Add completion-at-point (bug#11725).
4105
41062012-06-29 Glenn Morris <rgm@gnu.org>
4107
4108 * progmodes/f90.el (f90-font-lock-keywords-2):
4109 Add some preprocessor elements. (Bug#10499)
4110
41112012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4114 Use syntax-propertize (bug#11739).
4115
2badeec4
JB
41162012-06-28 Juanma Barranquero <lekktu@gmail.com>
4117
4118 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4119
ae4969c2
JD
41202012-06-28 Julien Danjou <julien@danjou.info>
4121
4122 * term.el (term-handle-colors-array): Use a set of new faces to
4123 color the terminal. Also uses :inverse-video property.
4124 (term-default-fg-color): Set to nil by default, deprecate in favor
4125 of `term-face'.
4126 (term-default-bg-color): Set to nil by default, deprecate in favor
4127 of `term-face'.
4128 (term-current-face): Use `term-face' by default.
4129 (term-bold-attribute): Variable deleted.
4130
1c9bd870
GM
41312012-06-28 Glenn Morris <rgm@gnu.org>
4132
4133 * simple.el (completion-list-mode-finish):
4134 Don't use toggle-read-only. (Since completion-list-mode has
4135 a special mode-class, it wasn't doing anything extra anyway.)
4136
c207708c
SM
41372012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 Make inlining of other-mode interpreted functions work (bug#11799).
4140 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4141 (byte-compile): Use it to fix compilation of lexical-binding closures.
4142 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4143 function, if needed.
4144
3fd56834
SM
41452012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4146
04901786
SM
4147 * help-mode.el (help-make-xrefs): Don't just withstand
4148 cyclic-variable-indirection but any error in documentation-property.
4149
1ec4b7b2
SM
4150 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4151 memory use.
4152 * bindings.el (bindings--define-key): New function.
4153 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4154 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4155 * bindings.el: Use it to purecopy define-key bindings.
4156
e309e2a5
SM
4157 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4158
d5c6faf9
SM
4159 * emacs-lisp/cl.el (flet): Mark obsolete.
4160 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4161 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4162 * progmodes/js.el (js-c-fill-paragraph):
4163 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4164 (ebrowse-switch-member-buffer-to-derived-class):
4165 * play/5x5.el (5x5-solver): Use cl-flet.
4166
6e9590e2
SM
4167 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4168 (cl--symbol-function): New macro.
4169 (cl--letf, cl--letf*): Use it.
4170
3fd56834
SM
4171 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4172 Strip "toggle-" if any.
4173
35ff222c
GM
41742012-06-27 Glenn Morris <rgm@gnu.org>
4175
1ba6038a
GM
4176 * info.el (Info-default-directory-list): Move here from paths.el.
4177 * paths.el: Remove file, which is now empty.
4178 * loadup.el: No longer load "paths".
4179
0ea0e51b
GM
4180 * custom.el (custom-initialize-delay): Doc fix.
4181
35ff222c
GM
4182 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4183 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4184 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4185 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4186 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4187 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4188 * eshell/eshell.el (eshell-defgroup): Remove alias.
4189
c89926a5
CY
41902012-06-27 Chong Yidong <cyd@gnu.org>
4191
4192 * help.el (help-enable-auto-load): New variable.
4193
4194 * help-fns.el (help-fns--autoloaded-p): New function.
4195 (describe-function-1): Refer to a function as "autoloaded" if it
4196 was autoloaded at any time in the past. Perform autoloading if
4197 help-enable-auto-load is non-nil.
4198
cc06e7e7
EZ
41992012-06-26 Eli Zaretskii <eliz@gnu.org>
4200
4201 * makefile.w32-in (compile, compile-always): Depend on
4202 update-subdirs, not on subdirs.el. Otherwise, several different
4203 sub-targets of 'bootstrap' running in parallel could
4204 simultaneously write to subdirs.el, producing a garbled file.
4205
d2c32364
SS
42062012-06-26 Sam Steingold <sds@gnu.org>
4207
4208 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4209 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4210 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4211 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4212 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4213 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4214 * textmodes/tex-mode.el: Use it.
4215 Did not touch cedet and org because they are maintained elsewhere.
4216
5cf983b2
MR
42172012-06-26 Martin Rudalics <rudalics@gmx.at>
4218
4219 * calendar/calendar.el (calendar-exit): Don't try to delete or
4220 iconify last frame. See:
4221 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4222
8c4f2952
JD
42232012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4224
4225 * server.el (server-process-filter): Remember dir in the
4226 process's `server-client-directory' properties.
4227
772b2e2c
CY
42282012-06-24 Chong Yidong <cyd@gnu.org>
4229
4230 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4231 non-tag text.
4232
711b11e1
JB
42332012-06-23 Juanma Barranquero <lekktu@gmail.com>
4234
4235 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4236
dc5d230c
SM
42372012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * help-fns.el (describe-variable): Don't croak when doc is not found.
4240 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4241 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4242 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4243 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4244 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4245 ((lambda ..) ..).
4246 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4247
136e1c1d
CY
42482012-06-23 Chong Yidong <cyd@gnu.org>
4249
e8c1cabf
CY
4250 * info.el (Info-mouse-follow-link): Accept symbol values of
4251 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4252 (Info-fontify-node): Use Info-link-keymap for all navigation
4253 buttons, with link-args property to perform the desired action.
4254 (Info-link-keymap): Doc fix.
4255 (Info-next-link-keymap, Info-prev-link-keymap)
4256 (Info-up-link-keymap): Delete now-unused keymaps.
4257
0e9e6c6a
CY
42582012-06-23 Chong Yidong <cyd@gnu.org>
4259
05e89fea
CY
4260 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4261
0e9e6c6a
CY
4262 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4263 system abbrevs.
4264
4265 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4266
e33c6771
SM
42672012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4268
b68581e2
SM
4269 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4270 (bug#11719).
4271
e33c6771
SM
4272 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4273 the requote function doesn't work properly (bug#11714).
4274
7117e105
GM
42752012-06-23 Glenn Morris <rgm@gnu.org>
4276
4277 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4278
36cec983
SM
42792012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 Further GV/CL cleanups.
4282 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4283 gv-expander.
4284 (gv--defun-declaration): New function.
4285 (defun-declarations-alist): Use it.
4286 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4287 (gv-place): Autoload.
4288 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4289 original definition of dotimes and dolist.
4290 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4291 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4292 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4293 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4294 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4295 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4296 to the function's definition.
4297 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4298 * window.el:
4299 * files.el:
4300 * faces.el:
4301 * env.el: Don't use CL.
4302
d35af63c
PE
43032012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4304
4305 Support higher-resolution time stamps (Bug#9000).
4306
4307 * calendar/time-date.el (with-decoded-time-value): New arg
4308 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4309 (encode-time-value): New optional arg PICO. New type 3.
4310 (time-to-seconds) [!float-time]: Support the new picoseconds
4311 component if it's used.
4312 (seconds-to-time, time-subtract, time-add):
4313 Support ps-resolution time stamps as well.
4314
4315 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4316 (timerp): Timer vectors now have length 9, not 8.
4317 (timer--time): Support new-style (4-part) time stamps.
4318 (timer-next-integral-multiple-of-time): Time stamps now have
4319 picosecond resolution, so take a bit more care about rounding.
4320 (timer-relative-time, timer-inc-time): New optional arg psecs.
4321 (timer-set-time-with-usecs): Set psecs to 0.
4322 (timer--activate): Check psecs component, too.
4323
4324 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4325
ac77b21a
SM
43262012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4327
f143bfe3
SM
4328 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4329 Move the non-essential binding to the post/pre-command-hook where it is
4330 more obviously correct.
4331
ac77b21a
SM
4332 * subr.el (read-passwd): Don't use a history at all.
4333 * savehist.el (savehist-save): Remove password saved accidentally
4334 because of the above bug.
4335
76386c5a
BG
43362012-06-22 Bastien Guerry <bzg@gnu.org>
4337
4338 * files.el (toggle-read-only): Display a message telling whether
4339 the buffer is read-only or not (bug#11726).
4340
2ee3d7f0
SM
43412012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4342
4343 * emacs-lisp/gv.el: New file.
4344 * subr.el (push, pop): Extend to generalized variables.
4345 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4346 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4347 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4348 gv-define-simple-setter, and gv-define-expander.
4349 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4350 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4351 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4352 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4353 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4354 gv-letplace.
4355 (cl-defstruct): Don't define setf-method any more.
4356 * emacs-lisp/cl.el (flet): Don't autoload.
4357 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4358 (define-setf-expander, defsetf, define-modify-macro)
4359 (cl-struct-setf-expander): Move from cl-lib.el.
4360 * emacs-lisp/syntax.el:
4361 * emacs-lisp/ewoc.el:
4362 * emacs-lisp/smie.el:
4363 * emacs-lisp/cconv.el:
4364 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4365 (timer--time): Use gv-define-simple-setter.
4366 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4367 to avoid coding-system problems in subr.el. Adjust all users.
4368 (macroexp--maxsize, macroexp-small-p): New functions.
4369 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4370 * scroll-bar.el (scroll-bar-mode):
4371 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4372 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4373 * winner.el (winner-configuration, winner-make-point-alist)
4374 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4375 * files.el (locate-file-completion-table): Avoid list*.
4376
c5695d1d
CY
43772012-06-22 Chong Yidong <cyd@gnu.org>
4378
4379 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4380 (dired-create-files): Doc fix (Bug#11329).
4381 (dired-do-copy): Doc fix (Bug#11334).
4382 (dired-mark-read-string): Doc fix (Bug#11553).
4383
2ee3d7f0
SM
4384 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4385 Doc fix (Bug#11326).
c5695d1d
CY
4386 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4387 (dired-dwim-target): Doc fix.
4388
4389 * wdired.el (wdired-mode): Doc fix.
4390
89b5595a
GM
43912012-06-22 Glenn Morris <rgm@gnu.org>
4392
575db3f1
GM
4393 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4394 (pcmpl-rpm-cache-stamp-file): New constant.
4395 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4396 (pcmpl-rpm-packages): Optionally cache list of packages.
4397
a4c8dd51
GM
4398 * pcmpl-rpm.el (pcmpl-rpm): New group.
4399 (pcmpl-rpm-query-options): New option.
4400 (pcmpl-rpm-packages): No need to inline it.
4401 Use pcmpl-rpm-query-options.
4402
89b5595a
GM
4403 * calendar/calendar.el (calendar-in-read-only-buffer):
4404 Avoid some needless mode changes.
4405
e76f0800
CY
44062012-06-21 Chong Yidong <cyd@gnu.org>
4407
4408 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4409 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4410 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4411
297a8f1d
CY
44122012-06-20 Chong Yidong <cyd@gnu.org>
4413
4414 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4415
d34c18b1
DR
44162012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4417
4418 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4419 (bug#11201).
4420
32f7f28e
CY
44212012-06-20 Chong Yidong <cyd@gnu.org>
4422
4423 * term.el (term-window-width): Handle the case of a missing right
4424 fringe (Bug#8837).
4425 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4426 (term-mode): Use define-derived-mode. Minor cleanups.
4427 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4428 (term-move-columns, term-insert-char, term-emulate-terminal)
4429 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4430
493c6688
MA
44312012-06-20 Michael Albinus <michael.albinus@gmx.de>
4432
d34c18b1
DR
4433 * net/ange-ftp.el (ange-ftp-get-passwd):
4434 Bind `enable-recursive-minibuffers'.
493c6688
MA
4435 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4436
3f06ecf4
DR
44372012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4438
4439 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4440
68f12411
GM
44412012-06-19 Glenn Morris <rgm@gnu.org>
4442
4443 * progmodes/python.el (python-mode): Derive from prog-mode.
4444
b3820318
KG
44452012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4446
4447 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4448 (edt-user-menu-bar-update-buffers): New functions.
4449 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4450
c6bf3022
CY
44512012-06-19 Chong Yidong <cyd@gnu.org>
4452
4453 * subr.el (with-selected-window): Preserve the selected window's
4454 terminal's top-frame (Bug#4702).
4455
4456 * window.el (save-selected-window): Likewise.
4457
25f09295
SM
44582012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * progmodes/python.el (python-rx-constituents): Move backquote.
4461 (python-skeleton-define, python-define-auxiliary-skeleton):
4462 Use `declare'.
4463
6b11952a
MA
44642012-06-18 Michael Albinus <michael.albinus@gmx.de>
4465
4466 * minibuffer.el (read-file-name-default): Revert the patch from
4467 2012-06-17.
4468
ee4b1330
SM
44692012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4470
4471 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4472 (pcase--u1, pcase--q1): Don't use apply-partially.
4473
35647f79
GM
44742012-06-18 Glenn Morris <rgm@gnu.org>
4475
4476 * progmodes/python.el (python-proc, python-buffer)
4477 (python-send-receive, python-send-string): Fix obsolete versions.
4478
24b0cff0
MR
44792012-06-18 Martin Rudalics <rudalics@gmx.at>
4480
4481 * window.el (special-display-p): Completely remove stringp
4482 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4483
29855149
MA
44842012-06-17 Michael Albinus <michael.albinus@gmx.de>
4485
4486 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4487
4488 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4489
4490 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4491 * net/tramp-sh.el (tramp-maybe-open-connection):
4492 Throw if `non-essential' is non-nil.
4493
07463363
MR
44942012-06-17 Martin Rudalics <rudalics@gmx.at>
4495
4496 * window.el (special-display-p): Signal an error if BUFFER-NAME
4497 is not a string (Bug#11713).
4498
48d1354e
PE
44992012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4500
4501 * progmodes/python.el (python-info-beginning-of-backslash):
4502 Rename from python-info-beginning-of-backlash, as a spelling fix.
4503
eb4a8a9a
CY
45042012-06-17 Chong Yidong <cyd@gnu.org>
4505
4506 * term.el (term-emulate-terminal): If term-check-size is called,
4507 move point to the process mark without resetting point (Bug#4635).
4508
ddfbf826 45092012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4510
4511 * international/mule-cmds.el (mule-menu-keymap)
4512 (set-language-environment, set-locale-environment): Doc tweaks.
4513
9b0e3eba
AA
45142012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4515
4516 * cus-face.el (custom-face-attributes): Add wave-style underline
4517 attribute.
4518 * faces.el (set-face-attribute): Update docstring to describe
4519 wave-style underline attribute.
4520
771e3eae
CY
45212012-06-16 Chong Yidong <cyd@gnu.org>
4522
4523 * term/xterm.el (terminal-init-xterm): Discard input before
4524 querying background mode (Bug#10959).
4525
7ae2ea10
SM
45262012-06-16 Stefan Merten <smerten@oekonux.de>
4527
4528 * textmodes/rst.el: Added and corrected some comments.
4529 (rst-re-alist-def): Improve symbol syntax.
4530 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4531 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4532 (rst-official-version, rst-official-cvs-rev): Update version
4533 information.
7ae2ea10 4534
b6974efa
JB
45352012-06-15 Juanma Barranquero <lekktu@gmail.com>
4536
4537 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4538 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4539
8826d473
GM
45402012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4541
4542 * progmodes/python.el: New python.el merge.
4543 (python-guess-indent): Obsolete var.
4544 (python-indent-guess-indent-offset): New defcustom.
4545 (python-indent): Obsolete var.
4546 (python-indent-offset): New defcustom.
4547 (python-python-command, python-jython-command): Delete var.
4548 (python-shell-interpreter): New defcustom.
4549 (python-pdbtrack-do-tracking-p): Delete var.
4550 (python-pdbtrack-activate): New defcustom.
4551 (python-use-skeletons): Obsolete var.
4552 (python-skeleton-autoinsert): New defcustom.
4553 (inferior-python-filter-regexp, python-continuation-offset)
4554 (python-honour-comment-indentation, python-indent-string-contents)
4555 (python-jython-packages, python-mode-hook)
4556 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4557 (python-shell-prompt-alist)
4558 (python-source-modes): Delete defcustoms.
4559 (python-check-buffer-name, python-eldoc-setup-code)
4560 (python-eldoc-string-code, python-ffap-setup-code)
4561 (python-ffap-string-code, python-fill-comment-function)
4562 (python-fill-decorator-function, python-fill-paren-function)
4563 (python-fill-string-function, python-imenu-include-defun-type)
4564 (python-imenu-make-tree, python-imenu-subtree-root-label)
4565 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4566 (python-shell-compilation-regexp-alist)
4567 (python-shell-completion-module-string-code)
4568 (python-shell-completion-pdb-string-code)
4569 (python-shell-completion-setup-code)
4570 (python-shell-completion-string-code)
4571 (python-shell-enable-font-lock, python-shell-exec-path)
4572 (python-shell-extra-pythonpaths)
4573 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4574 (python-shell-process-environment)
4575 (python-shell-prompt-block-regexp)
4576 (python-shell-prompt-output-regexp)
4577 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4578 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4579 (python-shell-virtualenv-path): New defcustoms.
4580 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4581 (inferior-python-mode-syntax-table, python--prompt-regexp)
4582 (python-buffer, python-command python-python-command)
4583 (python-default-template, python-imports, python-indent-index)
4584 (python-indent-list, python-indent-list-length)
4585 (python-mode-running, python-pdbtrack-is-tracking-p)
4586 (python-preoutput-continuation, python-preoutput-leftover)
4587 (python-preoutput-result, python-preoutput-skip-next-prompt)
4588 (python-prev-dir/file, python-recursing)
4589 (python-saved-check-command, python-version-checked)
4590 (python-which-func-length-limit)
4591 (view-return-to-alist): Delete vars.
4592 (python-check-custom-command, python-dotty-syntax-table)
4593 (python-imenu-index-alist, python-indent-current-level)
4594 (python-indent-dedenters, python-indent-levels)
4595 (python-nav-beginning-of-defun-regexp)
4596 (python-nav-list-defun-positions-cache)
4597 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4598 (python-shell-internal-buffer)
4599 (python-skeleton-available): New vars.
4600 (def-python-skeleton): Delete macro.
4601 (python-skeleton-define): New macro.
4602 (python-define-auxiliary-skeleton, python-rx): New macros.
4603 (python-insert-class): Delete command.
4604 (python-skeleton-class): New command.
4605 (python-insert-def): Delete command.
4606 (python-skeleton-def): New command.
4607 (python-insert-for): Delete command.
4608 (python-skeleton-for): New command.
4609 (python-insert-if): Delete command.
4610 (python-skeleton-if): New command.
4611 (python-insert-try/except, python-insert-try/finally): Delete commands.
4612 (python-skeleton-try): New command.
4613 (python-insert-while): Delete command.
4614 (python-skeleton-while): New command.
4615 (python-backspace): Delete command.
4616 (python-indent-dedent-line-backspace): New command.
4617 (python-electric-colon): Delete command.
4618 (python-indent-electric-colon): New command.
4619 (python-guess-indent): Delete command.
4620 (python-indent-guess-indent-offset): New command.
4621 (python-shift-left): Delete command.
4622 (python-indent-shift-left): New command.
4623 (python-shift-right): Delete command.
4624 (python-indent-shift-right): New command.
4625 (python-find-function): Delete command.
4626 (python-nav-jump-to-defun): New command.
4627 (python-next-statement): Delete command.
4628 (python-nav-forward-sentence): New command.
4629 (python-previous-statement): Delete command.
4630 (python-nav-backward-sentence): New command.
4631 (python-fill-paragraph): Delete command.
4632 (python-fill-paragraph-function): New command.
4633 (python-send-buffer): Delete command.
4634 (python-shell-send-buffer): New command.
4635 (python-send-defun): Delete command.
4636 (python-shell-send-defun): New command.
4637 (python-send-region, python-send-region-and-go): Delete commands.
4638 (python-shell-send-region)
4639 (python-shell-switch-to-shell): New commands.
4640 (python-send-string): Delete command.
4641 (python-shell-send-string): New command.
4642 (python-switch-to-python): Delete command.
4643 (python-shell-switch-to-shell): New command.
4644 (python-describe-symbol): Delete command.
4645 (python-eldoc-at-point): New command.
4646 (python--set-prompt-regexp, python-args-to-list)
4647 (python-after-info-look, python-check-version)
4648 (python-check-comint-prompt, python-find-imports)
4649 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4650 (python-unload-function, python-expand-template)
4651 (python-maybe-jython, python-preoutput-filter)
4652 (python-pdbtrack-get-source-buffer)
4653 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4654 (python-pdbtrack-toggle-stack-tracking)
4655 (python-pdbtrack-track-stack-file, python-initial-text)
4656 (python-first-word, python-comment-line-p, python-send-command)
4657 (python-setup-brm, python-sentinel, python-set-proc)
4658 (python-skip-out, python-input-filter, python-outdent-p)
4659 (python-outline-level, python-backslash-continuation-line-p)
4660 (python-end-of-block, python-end-of-statement, python-mark-block)
4661 (python-beginning-of-block, python-beginning-of-statement)
4662 (python-blank-line-p, python-beginning-of-string)
4663 (python-open-block-statement-p): Delete functions.
4664 (python-indent-line, python-indent-line-1): Delete functions.
4665 (python-indent-line): New function.
4666 (python-indentation-levels): Delete function.
4667 (python-indent-calculate-levels): New function.
4668 (python-proc): Delete function.
4669 (python-shell-get-process): New function.
4670 (python-send-receive): Delete function.
4671 (python-shell-send-string-no-output): New function.
4672 (python-module-path): Delete function.
4673 (python-ffap-module-path): New function.
4674 (python-completion-at-point)
4675 (python-symbol-completions): Delete functions.
4676 (python-completion-complete-at-point): New function.
4677 (python-load-file): Delete function.
4678 (python-shell-send-file): New function.
4679 (python-calculate-indentation): Delete function.
4680 (python-indent-calculate-indentation): New function.
4681 (python-skip-comments/blanks): Delete function.
4682 (python-util-forward-comment): New function.
4683 (python-continuation-line-p): Delete function.
4684 (python-info-continuation-line-p): New function.
4685 (python-which-func, python-current-defun): Delete function.
4686 (python-info-current-defun): New function.
4687 (python-beginning-of-defun): Delete function.
4688 (python-nav-beginning-of-defun): New function.
4689 (python-close-block-statement-p)
4690 (python-block-end-p): Delete function.
4691 (python-info-closing-block): New function.
4692 (python-comint-output-filter-function)
4693 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4694 (python-fill-comment, python-fill-decorator, python-fill-paren)
4695 (python-fill-string, python-imenu-make-element-tree)
4696 (python-imenu-make-tree, python-imenu-tree-assoc)
4697 (python-indent-context, python-indent-dedent-line)
4698 (python-indent-line-function)
4699 (python-indent-post-self-insert-function)
4700 (python-indent-toggle-levels)
4701 (python-info-assignment-continuation-line-p)
4702 (python-info-beginning-of-backlash)
4703 (python-info-block-continuation-line-p)
4704 (python-info-closing-block-message)
4705 (python-info-line-ends-backslash-p)
4706 (python-info-looking-at-beginning-of-defun)
4707 (python-info-ppss-context, python-info-ppss-context-type)
4708 (python-nav-list-defun-positions, python-nav-read-defun)
4709 (python-nav-sentence-end, python-nav-sentence-start)
4710 (python-pdbtrack-comint-output-filter-function)
4711 (python-pdbtrack-set-tracked-buffer)
4712 (python-shell-calculate-exec-path)
4713 (python-shell-calculate-process-environment)
4714 (python-shell-completion--do-completion-at-point)
4715 (python-shell-completion--get-completions)
4716 (python-shell-completion-complete-at-point)
4717 (python-shell-completion-complete-or-indent)
4718 (python-shell-get-or-create-process)
4719 (python-shell-get-process-name)
4720 (python-shell-internal-get-or-create-process)
4721 (python-shell-internal-get-process-name)
4722 (python-shell-internal-send-string, python-shell-make-comint)
4723 (python-shell-parse-command, python-shell-send-setup-code)
4724 (python-skeleton-add-menu-items)
4725 (python-util-clone-local-variables, python-util-position)
4726 (run-python-internal, python-indentation-levels)
4727 (python-nav-beginning-of-defun)
4728 (python-completion-complete-at-point): New functions.
4729 (run-python): Change arguments. New API requirements.
4730
4302f5ba
SM
47312012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4732
f38ea36d
SM
4733 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4734 (bug#11649).
4735
4736 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4737 (macroexp--expand-all): Use it.
4738
4302f5ba
SM
4739 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4740 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4741 Use `cl-function' instead.
4742
33377562
JB
47432012-06-14 Juanma Barranquero <lekktu@gmail.com>
4744
4745 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4746 Suggested by Stefan Monnier while discussing bug#11657.
4747
54c5ba1a
SS
47482012-06-14 Sam Steingold <sds@gnu.org>
4749
4750 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4751
f9f1b1fe
AS
47522012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4753
4754 * play/doctor.el (doctor-doc): Remove parameter and use
4755 doctor-sent instead of sent.
4756 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4757
a81068ba
SM
47582012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4759
5a315f9c
SM
4760 * files.el: Require cl-lib.
4761 (file-name-non-special): Replace case -> cl-case.
4762
4763 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4764
a81068ba
SM
4765 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4766 mapping from #' to function*.
4767
8cca9703
CY
47682012-06-13 Chong Yidong <cyd@gnu.org>
4769
4770 * mouse.el (mouse-drag-track): Do not set the mark if the user
4771 releases the mouse without selecting anything (Bug#11588).
4772
a12ac9d7
SM
47732012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4774
ccf1dc18
SM
4775 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4776 as well (bug#11646).
4777
ef62b23d
SM
4778 * loadup.el: Count byte-code functions as well.
4779
c4c8444a
SM
4780 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4781 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4782
a12ac9d7
SM
4783 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4784 (bug#11649). Add cl-defun and cl-defmacro.
4785
87e6e64f
DA
47862012-06-13 Drew Adams <drew.adams@oracle.com>
4787
4788 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4789 Fix last change.
4790
682cefaf
MA
47912012-06-13 Michael Albinus <michael.albinus@gmx.de>
4792
4793 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4794 Otherwise, it blocks in batch mode.
4795
773e1f08
JB
47962012-06-13 Juanma Barranquero <lekktu@gmail.com>
4797
4798 * help-mode.el (bookmark-make-record-default): Declare.
4799
60057926
CY
48002012-06-13 Chong Yidong <cyd@gnu.org>
4801
4802 * emacs-lisp/package.el (list-packages): Compute a list of
4803 packages that are newly-available since the last list-packages
4804 invocation.
4805 (package-menu--new-package-list): New var.
4806 (package-menu--generate, package-menu--print-info)
4807 (package-menu--status-predicate, package-menu-mark-install):
4808 Handle new status label "new".
4809
ad4d226c
SM
48102012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4813 conversion to backquotes.
4814
f1a4e679
CY
48152012-06-12 Chong Yidong <cyd@gnu.org>
4816
4817 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4818 Rename from gud-inhibit-global-bindings.
4819
4820 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4821
4822 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4823 hook from nxml-glyph-set-hook.
4824
4825 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4826 declaration.
4827
4828 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4829
4830 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4831 Convert to defcustom.
4832
0c9e42b5
DA
48332012-06-12 Drew Adams <drew.adams@oracle.com>
4834
4835 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4836 New functions.
4837 (help-mode): Use them.
4838
09e06855
GM
48392012-06-11 Glenn Morris <rgm@gnu.org>
4840
4841 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4842 Use preprocessor face for directives.
4843 (fortran-directive-re): Doc fix.
4844
71adb94b
SM
48452012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4846
2eb87922
SM
4847 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4848 conversion to backquotes (bug#11652).
4849
71adb94b
SM
4850 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4851 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4852 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4853 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4854 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4855 (cl-ninth, cl-tenth): Mark them as inlinable.
4856 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4857 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4858 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4859 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4860 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4861 (cl-list*, cl-adjoin): Don't put an autoload manually.
4862 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4863 (cl--compiler-macro-list*): Add autoload cookie.
4864 (cl--compiler-macro-cXXr): New function.
2eb87922 4865
71adb94b
SM
4866 * help-fns.el (help-fns--compiler-macro): New function extracted from
4867 describe-function-1; follow aliases and use `compiler-macro' property.
4868 (describe-function-1): Use it.
4869
a6674402
CY
48702012-06-11 Chong Yidong <cyd@gnu.org>
4871
4872 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4873 is uninstalled, if imagemagick is installed.
4874
bb3faf5b
SM
48752012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * emacs-lisp/cl-lib.el: Use lexical-binding.
4878 (cl-map-extents, cl-maclisp-member): Remove.
4879 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4880 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4881 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4882 * emacs-lisp/cl-extra.el: Use lexical-binding.
4883 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4884 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4885 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4886 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4887 * emacs-lisp/cl-seq.el: Use lexical-binding.
4888 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4889 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4890 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4891 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4892 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4893 CL's internals.
4894
2fe4b125
MA
48952012-06-11 Michael Albinus <michael.albinus@gmx.de>
4896
4897 Sync with Tramp 2.2.6-pre.
4898
4899 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4900 `print-length' and `print-level' to nil, in order to avoid
4901 truncation. Reported by Christopher Schmidt
4902 <christopher@ristopher.com>.
4903
4904 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4905
4906 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4907 New defmacro.
4908 (tramp-compat-copy-directory): Add optional argument
4909 COPY-CONTENTS. It is not handled yet.
4910
4911 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4912 (tramp-ftp-file-name-p): Simplify.
4913
4914 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4915 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4916 connection vector.
4917
4918 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4919 (tramp-methods): Do not use `tramp-password-end-of-line'.
4920 (tramp-completion-function-alist-putty): Handle UNIX case.
4921 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4922 (tramp-do-file-attributes-with-stat)
4923 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4924 gid as real numbers. They could run out of integer range on cygwin.
4925 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4926 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4927 (tramp-open-connection-setup-interactive-shell):
4928 Use `tramp-cleanup'. Move check for busyboxes ...
4929 (tramp-find-shell): ... here. Simplify implementation.
4930 Set "remote-shell" property also for alternative shells.
4931 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4932 If failing, a regular file would be written otherwise.
4933 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4934 (tramp-find-inline-encoding): Cache the coding commands in the
4935 process cache. Apply test command on the remote side, if defined.
4936 (tramp-find-inline-compress): Cache the compress commands in the
4937 process cache.
4938 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4939 when requested. Handle hops.
4940 (tramp-current-connection): New defvar.
87e6e64f
DA
4941 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4942 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4943 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4944 (tramp-get-inline-compress, tramp-get-inline-coding):
4945 Read connection properties from the process cache.
2fe4b125
MA
4946
4947 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4948 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4949 New defconsts.
2fe4b125
MA
4950 (tramp-smb-prompt): Extend for powershell prompt.
4951 (tramp-smb-file-name-handler-alist): Add handlers for
4952 `process-file', `shell-command' and `start-file-process'.
4953 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4954 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4955 (tramp-smb-file-name-p): Simplify.
4956 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4957 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4958 (tramp-smb-shell-quote-argument): New defuns.
4959 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4960 Implement using "tar". By this, time-stamps are preserved.
4961 (tramp-smb-handle-copy-file): Handle also the case of directories.
4962 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4963 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4964 Use `tramp-get-connection-buffer').
2fe4b125
MA
4965 (tramp-smb-handle-rename-file): Use "rename", when source and
4966 target are on the same share.
87e6e64f
DA
4967 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4968 Use `tramp-smb-server-version'.
2fe4b125
MA
4969 (tramp-smb-wait-for-output): Remove prompt.
4970
4971 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4972 (tramp-methods, tramp-rsh-end-of-line):
4973 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4974 (tramp-save-ad-hoc-proxies): New defcustom.
4975 (tramp-completion-function-alist): Adapt docstring.
4976 (tramp-default-password-end-of-line): Remove defcustom.
4977 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4978 (tramp-user-regexp, tramp-file-name-regexp-unified)
4979 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4980 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4981 (tramp-remote-file-name-spec-regexp): New defconst.
4982 (tramp-file-name-structure): Extend structure for hops.
4983 (tramp-get-method-parameter): Move up.
4984 (tramp-file-name-p, tramp-dissect-file-name)
4985 (with-parsed-tramp-file-name): Handle hops.
4986 (tramp-file-name-hop): New defun.
4987 (tramp-make-tramp-file-name): New optional arg HOP.
4988 (tramp-message-show-progress-reporter-message): New defvar.
4989 (tramp-with-progress-reporter): Use it. We cannot use
4990 `tramp-message-show-message' here, because this suppresses also
4991 error buffers.
4992 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4993 `tramp-message-show-message' is nil.
4994 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4995 (tramp-cleanup): New defun.
4996 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4997 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4998 an error unchanged.
4999 (tramp-completion-handle-file-name-all-completions): Handle hops.
5000 Fix an error when called from ido.
5001 (tramp-completion-dissect-file-name): Use better local variable
5002 name. Add hop to the vector.
5003 (tramp-handle-insert-file-contents): Use progress-reporter for the
5004 whole scenario.
5005 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5006 to `t'.
5007 (tramp-check-for-regexp): Simplify search.
5008 (tramp-enter-password): Remove it. Move implementation ...
5009 (tramp-action-password): ... here.
5010 (tramp-mode-string-to-int, tramp-local-host-p)
5011 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5012 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5013 Set tramp-autoload cookie.
2fe4b125
MA
5014
5015 * net/trampver.el: Update release number.
5016
50172012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5018 Michael Albinus <michael.albinus@gmx.de>
5019
5020 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5021 (tramp-parse-group, tramp-parse-file)
5022 (tramp-parse-shostkeys-sknownhosts): New defuns.
5023 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5024 (tramp-parse-shosts-group, tramp-parse-sconfig)
5025 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5026 (tramp-parse-sknownhosts, tramp-parse-hosts)
5027 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5028 Use them.
5029 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5030 (tramp-parse-putty-group): Don't narrow.
5031 (tramp-parse-putty): Make a loop.
5032 (tramp-file-name-handler): Catch the `suppress' signal.
5033
72834e10
CY
50342012-06-11 Chong Yidong <cyd@gnu.org>
5035
5036 * image.el (imagemagick-register-types): Put the ImageMagick entry
5037 at the end of image-type-file-name-regexps.
5038
a4712e11
JB
50392012-06-11 Johan Bockgård <bojohan@gnu.org>
5040
5041 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5042 (pcase, pcase-let*, pcase-dolist): Use them.
5043
82ad98e3
SM
50442012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5045
5046 * emacs-lisp/pcase.el (pcase--let*): New function.
5047 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5048 (pcase--expand): Use macroexp-let².
5049
f80efb86
SM
50502012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5053 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5054 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5055 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5056 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5057 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5058
31ca4639 50592012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5060
31ca4639
CY
5061 * mail/rmail.el (rmail-yank-current-message): Leave point at
5062 correct position. (Bug#11660)
94f0aa34 5063
31ca4639 50642012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5065
31ca4639 5066 * allout-widgets.el: Fix code header.
9e1b8ec4 5067
31ca4639 50682012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5069
f80efb86
SM
5070 * cus-edit.el (customize-changed-options-previous-release):
5071 Bump to 24.1.
31ca4639 5072
642b6d30
AS
50732012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5074
5075 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5076
4f5d2ba1
CY
50772012-06-09 Chong Yidong <cyd@gnu.org>
5078
5079 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5080
e75852fd
MR
50812012-06-09 Martin Rudalics <rudalics@gmx.at>
5082
5083 * window.el (special-display-popup-frame): Don't use
5084 window--display-buffer (Bug#11651).
5085
1e48e282
EZ
50862012-06-09 Eli Zaretskii <eliz@gnu.org>
5087
8a26b487
EZ
5088 Fix parallel builds: make sure loaddefs.el is not being written
5089 while Lisp files are compiled.
5090 (compile): Don't depend on 'mh-autoloads'.
5091 (compile-CMD, compile-SH): Depend on 'autoloads'.
5092 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5093
1e48e282
EZ
5094 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5095
6175e34b
CY
50962012-06-09 Chong Yidong <cyd@gnu.org>
5097
5098 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5099 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5100 Doc fixes (Bug#11225).
5101
d9857e53
SM
51022012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5105 a function if there's a clear indication that it has a compiler-macro.
5106 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5107 (macro-declarations-alist): Add arglist to declaration functions.
5108 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5109 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5110 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5111 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5112 Also add autoload to find the compiler macro.
5113 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5114 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5115 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5116 (cl--compiler-macro-get): New functions, replacing calls to
5117 cl-define-compiler-macro.
5118 (cl-typep) [compiler-macro]: Use macroexp-let².
5119
f81298f8 51202012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5121
5122 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5123 string properly, fixes Bug#11473.
5124
4b56d0fe
CY
51252012-06-08 Chong Yidong <cyd@gnu.org>
5126
5127 * faces.el (set-face-attribute): Doc fix.
5128 (modify-face): Don't use :bold and :italic.
5129 (error, warning, success): Tweak definitions.
5130
5131 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5132 (custom-modified, custom-set, custom-changed, custom-themed)
5133 (custom-saved, custom-button, custom-button-mouse)
5134 (custom-button-pressed, custom-state, custom-comment-tag)
5135 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5136 (custom-group-subtitle): Use new-style face specs.
5137 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5138 (custom-set-face, custom-changed-face, custom-saved-face)
5139 (custom-button-face, custom-button-pressed-face)
5140 (custom-documentation-face, custom-state-face)
5141 (custom-comment-face, custom-comment-tag-face)
5142 (custom-variable-tag-face, custom-variable-button-face)
5143 (custom-face-tag-face, custom-group-tag-face-1)
5144 (custom-group-tag-face): Remove obsolete face alias.
5145
5146 * epa.el (epa-validity-high, epa-validity-medium)
5147 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5148 (epa-field-name, epa-field-body):
5149 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5150 (font-lock-keyword-face, font-lock-builtin-face)
5151 (font-lock-function-name-face, font-lock-variable-name-face)
5152 (font-lock-type-face, font-lock-constant-face):
5153 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5154 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5155 * speedbar.el (speedbar-button-face, speedbar-file-face)
5156 (speedbar-directory-face, speedbar-tag-face)
5157 (speedbar-selected-face, speedbar-highlight-face)
5158 (speedbar-separator-face):
5159 * whitespace.el (whitespace-newline, whitespace-space)
5160 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5161 (whitespace-line, whitespace-space-before-tab)
5162 (whitespace-space-after-tab, whitespace-indentation)
5163 (whitespace-empty):
5164 * emulation/cua-base.el (cua-global-mark):
5165 * eshell/em-prompt.el (eshell-prompt):
5166 * net/newst-plainview.el (newsticker-new-item-face)
5167 (newsticker-old-item-face, newsticker-immortal-item-face)
5168 (newsticker-obsolete-item-face, newsticker-date-face)
5169 (newsticker-statistics-face, newsticker-default-face):
5170 * net/newst-reader.el (newsticker-feed-face)
5171 (newsticker-extra-face, newsticker-enclosure-face):
5172 * net/newst-treeview.el (newsticker-treeview-face)
5173 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5174 (newsticker-treeview-immortal-face)
5175 (newsticker-treeview-obsolete-face)
5176 (newsticker-treeview-selection-face):
5177 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5178 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5179 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5180 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5181 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5182 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5183 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5184 (mpuz-text):
5185 * progmodes/vera-mode.el (vera-font-lock-number)
5186 (vera-font-lock-function, vera-font-lock-interface):
5187 * textmodes/table.el (table-cell): Use new-style face specs, and
5188 don't use the old :bold and :italic attributes.
5189
5190 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5191 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5192 (ebrowse-member-class, ebrowse-progress): Likewise.
5193 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5194 (ebrowse-file-name-face, ebrowse-default-face)
5195 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5196 (ebrowse-progress-face): Remove obsolete faces.
5197
5198 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5199 Inherit from error and warning faces respectively.
5200
5201 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5202 Likewise.
f80efb86
SM
5203 (flyspell-incorrect-face, flyspell-duplicate-face):
5204 Remove obsolete aliases.
4b56d0fe 5205
03310646
MA
52062012-06-08 Michael Albinus <michael.albinus@gmx.de>
5207
5208 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5209 Avoid infloop.
5210
513749ee
SM
52112012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * startup.el (argv, argi): Make lexically scoped.
5214 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5215 * emacs-lisp/cl-macs.el: Use lexical-binding.
5216 Rename cl-bind-* to cl--bind-*.
5217 * files.el: Don't require `cl' since it doesn't use it.
5218 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5219
595ef4ad
JB
52202012-06-08 Juanma Barranquero <lekktu@gmail.com>
5221
5222 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5223 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5224 instead of calling external sort utility.
5225 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5226
e9f66fcb
EZ
52272012-06-08 Eli Zaretskii <eliz@gnu.org>
5228
5229 * descr-text.el (describe-char): Mention how to insert the
5230 character, if the current input method doesn't support it.
5231 See the discussion in this thread for the details:
5232 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5233
3d10db47
SS
52342012-06-08 Sam Steingold <sds@gnu.org>
5235
5236 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5237 XF86Back to previous-buffer.
5238 (minibuffer-local-map): Bind them to next-history-element and
5239 previous-history-element respectively.
5240 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5241 help-go-back respectively.
5242 * info.el (Info-mode-map): Bind them to Info-history-forward and
5243 Info-history-back respectively.
5244 These are the keys next to Up on the ThinkPad keyboard.
5245
de7e2b36
SM
52462012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5249 * emacs-lisp/cl-macs.el: Provide itself.
5250 (cl--labels-convert-cache): New var.
5251 (cl--labels-convert): New function.
5252 (cl-flet, cl-labels): New implementation with new semantics, relying on
5253 lexical-binding.
5254 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5255 (cl-closure-vars, cl--function-convert-cache)
5256 (cl--function-convert): Move from cl-macs.el.
5257 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5258 rename by removing the "cl-" prefix.
5259 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5260
6fa6c4ae
SM
52612012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5264 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5265 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5266 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5267 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5268 (cl-hash-table-count): Add old compatibility aliases.
5269
5270 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5271 Use macroexpand-all-environment instead.
5272 (cl--old-macroexpand): New var.
5273 (cl--sm-macroexpand): New function.
5274 (cl-symbol-macrolet): Use it during macro expansion.
5275 (cl--function-convert-cache): New var.
5276 (cl--function-convert): New function, extracted from
5277 cl-macroexpand-all.
5278 (cl-lexical-let): Use it.
5279
5280 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5281 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5282 (cl-member): Remove old alias.
5283
5284 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5285 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5286 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5287 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5288 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5289 (cl-macroexpand-cmacs): Remove var.
5290 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5291 Use macroexpand-all instead.
5292
4dd1c416
SM
52932012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5294
5295 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5296 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5297 (macroexp-copyable-p): New functions and macros.
5298 * emacs-lisp/edebug.el (edebug-unwrap):
5299 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5300 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5301 (pcase--let*): Remove.
5302 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5303 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5304 macroexp-const-p instead.
5305 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5306
5307 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5308 instead of "cl-" for internal definitions. Use macroexp-const-p.
5309 (cl-old-bc-file-form): Remove var.
5310 (cl-const-exprs-p): Remove fun.
5311 (cl-labels, cl-macrolet): Use backquote.
5312 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5313 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5314 (cl-define-setf-expander): Rename from cl-define-setf-method.
5315 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5316
5317 * international/mule-cmds.el: Don't require CL.
5318 (view-hello-file): Don't use `letf'.
5319
ed8bd4d7
SM
53202012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5321
7287f2f3
SM
5322 * tmm.el (tmm-prompt): Use string-prefix-p.
5323 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5324 (tmm-add-prompt): Use minibuffer-completion-help.
5325 (tmm-delete-map): Remove.
5326
ed8bd4d7
SM
5327 * subr.el (kbd): Make it its own function.
5328
7b4cdbf4
SM
53292012-06-07 Stefan Merten <smerten@oekonux.de>
5330
5331 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5332 Silence compiler warnings. Fix versions.
ed8bd4d7 5333 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5334 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5335 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5336 (rst-package-emacs-version-alist): Correct Emacs version to
5337 represent major merge with upstream.
ed8bd4d7 5338 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5339
2b48d721
GM
53402012-06-06 Glenn Morris <rgm@gnu.org>
5341
5342 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5343 Only print environment variables if set.
5344
fa779ab0
SM
53452012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5346
5347 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5348 (macroexp--cons): Rename from maybe-cons.
5349 (macroexp--accumulate): Rename from macroexp-accumulate.
5350 (macroexp--all-forms): Rename from macroexpand-all-forms.
5351 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5352 (macroexp--expand-all): Rename from macroexpand-all-1.
5353
628299e0
SS
53542012-06-06 Sam Steingold <sds@gnu.org>
5355
5356 * calendar/calendar.el (calendar-in-read-only-buffer):
5357 Call `special-mode' to enable the standard read-only keybindings.
5358
b7bb5838
SM
53592012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5362 with "loading" messages (bug#11635).
5363
dfb308ba
MA
53642012-06-06 Michael Albinus <michael.albinus@gmx.de>
5365
5366 * files.el (enable-remote-dir-locals): New option.
5367 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5368
0372ee92
MA
5369 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5370 Ensure, that the temp directory is local.
5371
5372 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5373 `temporary-file-directory'.
5374
eed0bb91
MA
5375 * progmodes/python.el (python-send-region): Ensure, that the
5376 temporary file is created also in the remote case.
5377
7a58f64d
GM
53782012-06-06 Glenn Morris <rgm@gnu.org>
5379
f7dd4e98
GM
5380 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5381 (vc-rcs-update-changelog): Use it.
5382
090bd7cb 5383 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5384
7a58f64d
GM
5385 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5386 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5387 (vc-sccs-diff): Replace use of the external vcdiff script.
5388
daed4003
GM
53892012-06-05 Glenn Morris <rgm@gnu.org>
5390
5391 * ledit.el: Move to obsolete/.
5392
48c455c7
SS
53932012-06-05 Sam Steingold <sds@gnu.org>
5394
ed9265fc 5395 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5396 patch (Bug#11140).
5397
57a7d507
SM
53982012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5399
090bd7cb 5400 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5401
53aacf21
SM
5402 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5403 compiler-macro expansion.
5404
57a7d507
SM
5405 Add native compiler-macro support.
5406 * emacs-lisp/macroexp.el (macroexpand-all-1):
5407 Support compiler-macros directly. Properly follow aliases and apply
5408 the compiler macros more thoroughly.
5409 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5410 macroexpand now properly follows aliases.
5411 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5412 (cl-compiler-macroexpand): Use new prop.
5413 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5414
5415 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5416
51a5f9d8
MR
54172012-06-05 Martin Rudalics <rudalics@gmx.at>
5418
5419 * window.el (get-lru-window, get-mru-window, get-largest-window):
5420 New argument NOT-SELECTED to avoid picking the selected window.
5421 (window--display-buffer-1, window--display-buffer-2): Replace by
5422 new function window--display-buffer
5423 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5424 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5425 Use window--display-buffer.
51a5f9d8
MR
5426 (display-buffer-use-some-window): Remove temporary dedication
5427 hack by calling get-lru-window and get-largest-window with
5428 NOT-SELECTED argument non-nil. Call window--display-buffer.
5429
08f9f738
GM
54302012-06-05 Glenn Morris <rgm@gnu.org>
5431
5432 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5433 Replace external vcdiff script.
5434
e364a2b7
SM
54352012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5438
041df390
CY
54392012-06-04 Chong Yidong <cyd@gnu.org>
5440
e364a2b7
SM
5441 * image.el (imagemagick-types-inhibit): Revert last change.
5442 Add INFO and M.
47b36b94 5443 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5444
7c1898a7
SM
54452012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 * emacs-lisp/cl-lib.el: Rename from cl.el.
5448 * emacs-lisp/cl.el: New compatibility file.
5449 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5450 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5451 to obey the "cl-" prefix.
5452 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5453
0c3461de
GM
54542012-06-03 Glenn Morris <rgm@gnu.org>
5455
1e266c88
GM
5456 * emacs-lisp/authors.el (authors-aliases): Addition.
5457
0c3461de
GM
5458 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5459 Fix :version.
5460
d8a52e15
SM
54612012-06-03 Stefan Merten <smerten@oekonux.de>
5462
5463 * textmodes/rst.el: Add comments.
5464 (rst-transition, rst-adornment): New faces.
5465 (rst-adornment-faces-alist): Make default safe to reevaluate.
5466 Fixes
5467 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5468 Improve customization tags.
5469 (rst-define-level-faces): Clarify meaning.
5470
5205d6f6
CY
54712012-06-03 Chong Yidong <cyd@gnu.org>
5472
5473 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5474 (compilation-mode-line-run, compilation-mode-line-exit):
5475 New faces.
5205d6f6
CY
5476 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5477
757ee657
JD
54782012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5479
7c1898a7
SM
5480 * progmodes/which-func.el (which-func-update-ediff-windows):
5481 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5482
5f2c76c6
CY
54832012-06-03 Chong Yidong <cyd@gnu.org>
5484
5485 * bindings.el: Remove explicit help text from format-mode-line.
5486 It is now supplied by mode-line-default-help-echo.
5487 (mode-line-front-space, mode-line-end-spaces)
5488 (mode-line-misc-info): New variables.
5489 (mode-line-modes, mode-line-position): Move the default value to
5490 the variable definition.
5491 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5492 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5493 (mode-line-modified-help-echo): New functions.
5494 (mode-line-mule-info, mode-line-modified): Use them.
5495 (mode-line-eol-desc, propertized-buffer-identification):
5496 Consistency fixes for help text.
cbe46e5f
CY
5497 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5498 set-buffer-file-coding-system (Bug#289).
5499 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5500
f2d6a3df
SM
55012012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * simple.el (execute-extended-command): Set real-this-command
5504 (bug#11506).
5505
37269466
CY
55062012-06-02 Chong Yidong <cyd@gnu.org>
5507
5508 Remove incorrect uses of "modeline" in comments, docstrings, and
5509 function/variable names (Bug#10329).
5510
5511 * cus-edit.el (mode-line):
5512 * dframe.el (dframe-mouse-hscroll):
5513 * emacs-lisp/re-builder.el:
5514 * emacs-lisp/easy-mmode.el (define-minor-mode):
5515 * frame.el (set-frame-name):
5516 * help.el (lookup-minor-mode-from-indicator):
5517 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5518 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5519 (c-toggle-hungry-state):
5520 * progmodes/antlr-mode.el (antlr-language-alist):
5521 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5522 * progmodes/vhdl-mode.el (vhdl-mode):
5523 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5524 * term/ns-win.el (ns-face-at-pos):
5525 * term/sup-mouse.el (sup-mouse-report):
5526 * textmodes/flyspell.el (flyspell-mode-line-string):
5527 * textmodes/ispell.el (ispell-highlight-face):
5528 * textmodes/reftex-global.el:
5529 * vc/vc-arch.el (vc-arch-mode-line-string):
5530 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5531 * vc/vc-git.el (vc-git-mode-line-string):
5532 * vc/vc-hooks.el (vc-display-status)
5533 (vc-default-mode-line-string):
5534 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5535
5536 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5537
5538 * dired.el (dired-sort-set-mode-line): Rename from
5539 dired-sort-set-modeline. All callers changed.
5540
5541 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5542 eshell-status-in-modeline.
5543
5544 * foldout.el (foldout-mode-line-string): Rename from
5545 foldout-modeline-string. All callers changed.
5546 (foldout-update-mode-line): Rename from foldout-update-modeline.
5547
5548 * subr.el (redraw-modeline): Make into obsolete alias.
5549
5550 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5551 timeclock-modeline-display. Make old name an alias.
5552 (timeclock-update-mode-line): Likewise. All callers changed.
5553 (timeclock-mode-line-display): No need to check before using
5554 add-hook.
5555 (timeclock-relative, timeclock-day-over-hook)
5556 (timeclock-use-elapsed, timeclock-mode-string)
5557 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5558
5559 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5560 crisp-mode-modeline-string.
5561
5562 * play/solitaire.el (solitaire-build-mode-line): Rename from
5563 solitaire-build-modeline. All callers changed.
5564
5565 * play/zone.el (zone-hiding-mode-line): Rename from
5566 zone-hiding-modeline. All callers changed.
5567 (zone): Remove unusued `modeline-hidden-level' property.
5568
5569 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5570 xscheme-modeline-initialize. All callers changed.
5571
5572 * strokes.el (strokes-lighter): Rename from
5573 strokes-modeline-string.
5574
5575 * textmodes/sgml-mode.el (html-face-tag-alist)
5576 (html-tag-face-alist): Use mode-line face instead of obsolete
5577 alias modeline.
5578
42152ee4
SM
55792012-06-02 Stefan Merten <smerten@oekonux.de>
5580
5581 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5582 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5583
95f520b5
CY
55842012-06-02 Chong Yidong <cyd@gnu.org>
5585
5586 * image.el (imagemagick-enabled-types): Rename from
5587 imagemagick-types-enable. Add many more types.
5588 (imagemagick-types-inhibit): Change default to nil.
5589 (imagemagick-filter-types): Caller changed.
5590
4a5f187a
SM
55912012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5592
03fef3e6
SM
5593 * emacs-lisp/cl-macs.el: Use backquotes.
5594 (cl-transform-function-property): Use eval-and-compile rather than
5595 abusing `require'.
5596 (defstruct): Use declare-function instead of with-no-warnings.
5597
4a5f187a
SM
5598 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5599 (byte-compile-output-docform): Re-add the print-circle bindings.
5600 (byte-compile-fix-header): Use #$ just because it's shorter.
5601 (byte-compile-output-file-form): Remove defun/defmacro.
5602
bd56924f
MR
56032012-06-01 Martin Rudalics <rudalics@gmx.at>
5604
5605 * simple.el (choose-completion): Remove now obsolete binding for
5606 owindow.
5607
046e38ce
MA
56082012-06-01 Michael Albinus <michael.albinus@gmx.de>
5609
5610 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5611 in order to avoid "Stack overflow in regexp matcher".
5612
32d72c2f
GM
56132012-05-31 Glenn Morris <rgm@gnu.org>
5614
5615 * image.el: For clarity, call imagemagick-register-types at
5616 top-level, rather than relying on a custom :initialize.
5617 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5618 (imagemagick-filter-types): New function. (Bug#7406)
5619 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5620 If disabling support, remove elements altogether rather
5621 than using an impossible regexp.
5622 (imagemagick-types-inhibit): Give it the default init function.
5623
dd41169b
SM
56242012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5625
4a5f187a
SM
5626 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5627 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5628
efc00ab1 56292012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5630
5631 * desktop.el (desktop-read): Clear previous and next buffers for
5632 all windows and bury *Messages* buffer (bug#11556).
5633
500fcedc
SM
56342012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 Add `declare' for `defun'. Align `defmacro's with it.
5637 * emacs-lisp/easy-mmode.el (define-minor-mode)
5638 (define-globalized-minor-mode): Don't autoload the var definitions.
5639 * emacs-lisp/byte-run.el: Use lexical-binding.
5640 (defun-declarations-alist, macro-declarations-alist): New vars.
5641 (defmacro, defun): Use them.
5642 (make-obsolete, define-obsolete-function-alias)
5643 (make-obsolete-variable, define-obsolete-variable-alias):
5644 Use `declare'.
5645 (macro-declaration-function): Mark obsolete.
5646 * emacs-lisp/autoload.el: Use lexical-binding.
5647 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5648
6e8a1786
AM
56492012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5650
5651 * textmodes/ispell.el (ispell-with-no-warnings):
5652 Define as a macro.
500fcedc
SM
5653 (ispell-kill-ispell, ispell-change-dictionary):
5654 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5655 `interactive-p'.
5656
61b108cc
SM
56572012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5660 (macro-declaration-function): Move var from C code.
5661 (macro-declaration-function): Define function with defalias.
5662 * emacs-lisp/macroexp.el (macroexpand-all-1):
5663 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5664 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5665 defun/defmacro any more.
5666 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5667 Provide fallback for unknown arglist.
5668 (byte-compile-arglist-warn): Change calling convention.
5669 (byte-compile-output-file-form): Move print-vars binding.
5670 (byte-compile-output-docform): Simplify accordingly.
5671 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5672 (byte-compile-defmacro-declaration): Remove.
5673 (byte-compile-file-form-defmumble): Generalize to defalias.
5674 (byte-compile-output-as-comment): Return byte-positions.
5675 Simplify callers accordingly.
5676 (byte-compile-lambda): Use `assert'.
5677 (byte-compile-defun, byte-compile-defmacro): Remove.
5678 (byte-compile-file-form-defalias):
5679 Use byte-compile-file-form-defmumble.
5680 (byte-compile-defalias-warn): Remove.
5681
6d3f7c2f
SM
56822012-05-29 Stefan Merten <smerten@oekonux.de>
5683
5684 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5685 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5686
5687 (rst-mode-abbrev-table): Merge definition.
5688 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5689 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5690
6dbaa1c7
UJ
56912012-05-29 Ulf Jasper <ulf.jasper@web.de>
5692
5693 * calendar/icalendar.el
5694 (icalendar-export-region): Export UID properly.
5695
d209e2fb 56962012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5697 * calendar/icalendar.el (icalendar-import-format):
5698 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5699 (icalendar-import-format-uid): New.
5700 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5701 Export UID.
5702
6876a58d
SM
57032012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5704
5705 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5706 different alternative patterns.
5707 (pcase-codegen): Be more careful to preserve identity.
5708 (pcase--u1): Don't forget to mark vars as used.
5709
5710 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5711 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5712 (byte-compile-from-buffer): ...rather than here.
5713
5714 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5715 functions from byte-compile-function-environment.
5716
46b7967e
TN
57172012-05-29 Troels Nielsen <bn.troels@gmail.com>
5718
5719 * window.el (window-deletable-p): Avoid deleting the root window
5720 of a frame with an active minibuffer.
5721
69d565e2
MR
57222012-05-29 Martin Rudalics <rudalics@gmx.at>
5723
5724 * simple.el (choose-completion): Use quit-window (Bug#11567).
5725
a149fa51
CY
57262012-05-29 Chong Yidong <cyd@gnu.org>
5727
5728 * whitespace.el (whitespace-cleanup): Fix usage of
5729 whitespace-empty-at-bob-regexp (Bug#11492).
5730
2b311310
AH
57312012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5732
5733 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5734 revert (Bug#11488).
5735
b9cb2387
JL
57362012-05-29 Juri Linkov <juri@jurta.org>
5737
5738 * isearch.el (isearch-mode-map): Bind `M-s _' to
5739 `isearch-toggle-symbol'. Bind `M-s c' to
5740 `isearch-toggle-case-fold'.
5741 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5742 (isearch-forward): Add `M-s _' to the docstring.
5743 (isearch-forward-symbol, isearch-toggle-case-fold)
5744 (isearch-symbol-regexp): New functions. (Bug#11381)
5745
d5e61c1c
JL
57462012-05-29 Juri Linkov <juri@jurta.org>
5747
5748 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5749 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5750 a function, call it to get the regexp.
5751 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5752 property `isearch-message-prefix' instead of the string "word ".
5753 (isearch-search-fun-default): For the case of `isearch-word',
5754 return a lambda that calls re-search-forward/re-search-backward
5755 with a regexp returned by `word-search-regexp' or by the function
5756 in `isearch-word'.
5757
8cbd80f7
JL
57582012-05-29 Juri Linkov <juri@jurta.org>
5759
5760 * isearch.el (isearch-search-fun-default): New function.
5761 (isearch-search-fun): Move default part to the new function
5762 `isearch-search-fun-default'.
5763 (isearch-search-fun-function): Set the default value to
5764 `isearch-search-fun-default'. (Bug#11381)
5765
5766 * comint.el (comint-history-isearch-end):
5767 Use `isearch-search-fun-default'.
5768 (comint-history-isearch-search): Use `isearch-search-fun-default'
5769 and remove spacial case for `isearch-word'.
5770 (comint-history-isearch-wrap): Remove spacial case for
5771 `isearch-word'.
5772
5773 * hexl.el (hexl-isearch-search-function):
5774 Use `isearch-search-fun-default'.
5775
5776 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5777 Use `word-search-regexp' for `isearch-word'.
5778
5779 * misearch.el (multi-isearch-search-fun):
5780 Use `isearch-search-fun-default'.
5781
5782 * simple.el (minibuffer-history-isearch-search):
5783 Use `isearch-search-fun-default' and remove spacial case for
5784 `isearch-word'.
5785 (minibuffer-history-isearch-wrap): Remove spacial case for
5786 `isearch-word'.
5787
5788 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5789 Remove spacial case for `isearch-word'.
5790 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5791
85c8c5b6
AM
57922012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5793
5794 Decrease XEmacs incompatibilities.
5795 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5796 Use `string-match'.
5797 (flyspell-delete-region-overlays): Use alternative definition for
5798 XEmacs.
5799 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5800 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5801 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5802 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5803 `define-obsolete-face-alias' under XEmacs, but old method.
5804
5805 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5806 `with-no-warnings' definition or Emacs alias.
5807 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5808 (ispell-word): Do not use `region-p' if XEmacs.
5809
8cab9efc
AM
58102012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5811
5812 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5813 Check for `ispell-dictionary-base-alist' instead of full
5814 `ispell-dictionary-alist'.
5815 (ispell-init-process): Show spellchecker when starting new Ispell
5816 process.
5817
fda91268
RZ
58182012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5819
5820 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5821 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5822
694ea8e3
JB
58232012-05-27 Juanma Barranquero <lekktu@gmail.com>
5824
5825 * version.el (motif-version-string, gtk-version-string)
5826 (ns-version-string): Declare.
5827
e4d4f539
JL
58282012-05-27 Juri Linkov <juri@jurta.org>
5829
5830 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5831 after the `eval-defun-1' specialcaseing
5832 like in `edebug-eval-defun' (bug#10181).
5833
5834 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5835 like in `eval-defun-1'.
5836
33017faf 58372012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5838
fda91268
RZ
5839 * mail/sendmail.el (mail-yank-region):
5840 Recognize rmail-yank-current-message in addition to insert-buffer.
5841 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5842 a *mail* buffer created through rmail-start-mail with sendmail as
5843 mail-user-agent.
5844
33017faf
GM
58452012-05-27 Chong Yidong <cyd@gnu.org>
5846
5847 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5848 Default to 256 (Bug#11267).
5849
5850 * help.el (describe-mode): Doc fix.
5851
04188bb9
GM
58522012-05-26 Glenn Morris <rgm@gnu.org>
5853
38264cc9
GM
5854 * w32-fns.el (w32-init-info): Remove.
5855 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5856
eb7afdad
GM
5857 * info.el (info-initialize): For self-contained NS builds, put the
5858 included info/ directory at the front. (Bug#2791)
5859
04188bb9
GM
5860 * paths.el (Info-default-directory-list): Make it a defcustom,
5861 mainly so that we can use custom-initialize-delay.
5862
a179e3f7
SM
58632012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5864
43416392
SM
5865 * subr.el (buffer-has-markers-at): Mark obsolete.
5866
a179e3f7 5867 * subr.el (lambda): Use declare.
43416392 5868
a179e3f7
SM
5869 * emacs-lisp/lisp-mode.el (lambda):
5870 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5871
34a008d9
AH
58722012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5873
5874 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5875
0a3b289f
GM
58762012-05-26 Glenn Morris <rgm@gnu.org>
5877
5878 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5879
758c81e8
GM
58802012-05-25 Glenn Morris <rgm@gnu.org>
5881
f9f334f0
GM
5882 * paths.el: Remove no-byte-compile.
5883 * loadup.el: No need to load paths.el uncompiled.
5884
87eb79c2
GM
5885 * image.el (imagemagick-types-inhibit): Doc fix.
5886
758c81e8
GM
5887 * version.el: Remove no-byte-compile and associated formatting.
5888 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5889 is ancient code from when there was an "inc-vers.el".
5890
e7e85dc0
SM
58912012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * progmodes/gdb-mi.el: Minor style changes.
5894 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5895 Turn into minor modes.
5896 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5897 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5898 (gdb-shell): Remove unneeded let-binding.
5899 (gdb-get-many-fields): Eliminate O(n²) behavior.
5900
f31237a4
EZ
59012012-05-25 Eli Zaretskii <eliz@gnu.org>
5902
5903 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5904 platforms that don't link in fontset.c.
5905
bc1b21bb
JL
59062012-05-25 Juri Linkov <juri@jurta.org>
5907
5908 Use the same diff color scheme as in modern VCSes (bug#10181).
5909
5910 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5911 to avoid confusion with `diff-added' that now uses green colors.
5912 (diff-removed): Use shades of red.
5913 (diff-added): Use shades of green.
5914 (diff-changed): Leave just the yellow color.
5915 (diff-use-changed-face): New variable.
5916 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5917 how to highlight context diff changes.
5918 (diff-refine-change): Use shades of yellow.
5919 (diff-refine-removed): New face that uses shades of red.
5920 (diff-refine-added): New face that uses shades of green.
5921 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5922 `diff-refine-removed' in the call to `smerge-refine-subst'
5923 depending on the value of `diff-use-changed-face'.
5924
5925 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5926 (smerge-other): Use shades of green.
5927 (smerge-base): Use shades of yellow.
5928 (smerge-refined-change): Empty face.
5929 (smerge-refined-removed): New face that uses shades of red.
5930 (smerge-refined-added): New face that uses shades of green.
5931 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5932 args `props-r' and `props-a', and use them. Doc fix.
5933 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5934 on its value use different faces `smerge-refined-change',
5935 `smerge-refined-removed', `smerge-refined-added' in the call to
5936 `smerge-refine-subst'.
5937
5938 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5939 Add face condition `min-colors 88' with shades of red.
5940 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5941 `min-colors 88' with shades of green.
5942 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5943 `min-colors 88' with shades of yellow.
5944
6df9112c
GM
59452012-05-24 Glenn Morris <rgm@gnu.org>
5946
ead5edc0
GM
5947 * paths.el (prune-directory-list, remote-shell-program): Move to...
5948 * files.el (prune-directory-list, remote-shell-program): ...here.
5949 For the latter, delay initialization, prefer ssh, just search PATH.
5950
f18b81e6
GM
5951 * paths.el (term-file-prefix): Move to faces.el (the only user).
5952 * faces.el (term-file-prefix): Move here, make it a defcustom.
5953
ee2f89a6
GM
5954 * paths.el (news-directory, news-path, news-inews-program):
5955 Move to gnus/nnspool.el.
61a583ca 5956
f8815e4c
GM
5957 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5958
c8f3b42c
GM
5959 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5960 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5961 Make the latter a defcustom, with a delayed initialization.
5962
6df9112c
GM
5963 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5964 These were deleted from Gnus itself late 2010.
5965
5dadff36
JB
59662012-05-22 Juanma Barranquero <lekktu@gmail.com>
5967
9e1701c6
JB
5968 * progmodes/which-func.el (which-func-ff-hook):
5969 Check against user-error, not error.
5970
bd7239f5 5971 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5972 cl-specs.el, which no longer exists.
5973
3290526d
GM
59742012-05-22 Glenn Morris <rgm@gnu.org>
5975
5976 * info.el (info-emacs-bug): New command.
5977 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5978 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5979
ff0c3cfb
GM
59802012-05-21 Glenn Morris <rgm@gnu.org>
5981
5982 * makefile.w32-in (update-subdirs-SH):
5983 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5984
5814f126
SM
59852012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5986
a52c0aa0
SM
5987 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5988
5814f126
SM
5989 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5990 Simplify Maven regexp, and make sure the file can't start with a space
5991 (bug#11517).
5992
b847032c
GM
59932012-05-21 Glenn Morris <rgm@gnu.org>
5994
5995 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5996 Scrap superfluous subshells.
5997
3858bfe7
SM
59982012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5999
6000 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6001 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6002
d14b0029
JB
60032012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6004
6005 * calc/calc.el (calc-ensure-consistent-units): New variable.
6006
a52c0aa0
SM
6007 * calc/calc-units.el (math-consistent-units-p)
6008 (math-check-unit-consistency): New functions.
6009 (calc-quick-units, calc-convert-units):
6010 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6011 is non-nil.
d14b0029
JB
6012 (calc-extract-units): Fix typo.
6013
60c4db3a
SM
60142012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6015
77f3b62e
SM
6016 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6017
60c4db3a
SM
6018 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6019 (flyspell-default-deplacement-commands): Don't spell check after
6020 repeated window/frame switches (e.g. triggered by mouse-movement).
6021 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6022 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6023 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6024 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6025 Remove unused vars.
6026 (flyspell-get-casechars, flyspell-get-not-casechars):
6027 Simplify; Don't bother removing a ] just to add it back.
6028 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6029
d209e2fb 60302012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6031
6032 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6033 New functions.
bd7239f5 6034 (math-function-table): Add support for more C functions.
b1a10716 6035
3f1b25b5
AM
60362012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6037
090bd7cb
JB
6038 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6039 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6040 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6041
b581bb5c
SM
60422012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6045 their respective macro declarations.
6046 * skeleton.el (define-skeleton):
6047 * progmodes/compile.el (define-compilation-mode):
6048 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6049 (define-ibuffer-filter):
6050 * emacs-lisp/generic.el (define-generic-mode):
6051 * emacs-lisp/easy-mmode.el (define-minor-mode)
6052 (define-globalized-minor-mode):
6053 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6054 * emacs-lisp/byte-run.el (defsubst):
6055 * custom.el (deftheme): Add doc-string metadata.
6056
70b8ef8f
SM
60572012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6058
6059 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6060
b1198e17
SM
60612012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6062
9abdc45d
SM
6063 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6064
b1198e17
SM
6065 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6066 * emacs-lisp/cl-macs.el: Idem.
6067 * emacs-lisp/cl-specs.el: Remove.
6068
4735906a
SM
60692012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 Minor renaming of internal CL functions and variables.
6072 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6073 (cl--position): Rename from cl-position.
6074 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6075 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6076 (cl--random-state): Rename from *random-state*.
6077
ac348012
SM
60782012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6079
6080 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6081 parens around the arg list (bug#11499).
6082
a0a79cde
JL
60832012-05-17 Juri Linkov <juri@jurta.org>
6084
6085 * isearch.el (word-search-regexp, word-search-backward)
6086 (word-search-forward, word-search-backward-lax)
6087 (word-search-forward-lax): Move functions from search.c
6088 (bug#10145, bug#11381).
6089
65034a51
AM
60902012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6091
090bd7cb
JB
6092 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6093 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6094 Delay for otherchars as for normal word components.
65034a51 6095
1a72a195
SM
60962012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6097
6098 * minibuffer.el (completion--sifn-requote): Fix last change.
6099 (minibuffer-local-must-match-filename-map):
6100 Move define-obsolete-variable-alias before its var.
6101
fdb058c2
SM
61022012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6103
c41045e6
SM
6104 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6105
036dfb8b
SM
6106 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6107 behavior.
6108 (completion--string-equal-p): New function.
6109 (completion--twq-all): Use it to get better assertion failure data.
6110
2473256d
SM
6111 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6112 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6113 (shell--requote-argument): New functions.
6114 (shell-completion-vars): Use them.
6115 (shell--parse-pcomplete-arguments): Rename from
6116 shell-parse-pcomplete-arguments.
6117 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6118 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6119 Obey comint-file-name-quote-list.
6120
fdb058c2
SM
6121 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6122 (smie-indent-keyword): Use it.
6123
51fa99f1
SM
61242012-05-14 Stefan Merten <smerten@oekonux.de>
6125
6126 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6127
e18afed7 61282012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6129
6130 * net/rlogin.el (rlogin-mode-map): Fix last change.
6131
e18afed7 61322012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6133
6134 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6135 the following \r\n using a single `process-send-string', since the
6136 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6137 with two `process-send-string's (Bug#11444).
8633b1f4 6138
e18afed7 61392012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6140
fdb058c2
SM
6141 * shell.el (shell-parse-pcomplete-arguments):
6142 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6143
2d21d7f6
WJ
61442012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6145
e18afed7 6146 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6147 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6148 (image-transform-width, image-transform-fit-width): New functions.
6149 (image-transform-properties): Use them.
6150 (image-transform-check-size): New function.
6151 (image-toggle-display-image): Use it (for testing).
6152 (image-transform-set-rotation): Reduce angle mod 360.
6153 Delete obsolete comment.
6154
7102e6d0
WJ
61552012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6156
6157 * image-mode.el: Fix scaling (bug#11399).
6158 (image-transform-resize): Doc fix.
6159 (image-transform-properties): Default scale is 1 and height should
6160 be an integer.
6161
06bc5e6e
SM
61622012-05-13 Johan Bockgård <bojohan@gnu.org>
6163
6164 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6165 than hard-coding `car', to fix misbehavior when moving forward.
6166
0ae03b6a
CY
61672012-05-13 Chong Yidong <cyd@gnu.org>
6168
6169 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6170 (tabulated-list-entries, tabulated-list-padding)
6171 (tabulated-list-sort-key): Make permanent-local.
6172
6173 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6174 (electric-buffer-list): Put electric buffer menu
6175 command descriptions in this docstring, instead of the docstring
6176 of electric-buffer-menu-mode. Code cleanups.
6177 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6178 Electric-buffer-menu-mode.
6179 (electric-buffer-update-highlight): Minor code cleanup.
6180
205a7391
MA
61812012-05-13 Michael Albinus <michael.albinus@gmx.de>
6182
6183 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6184 (Bug#11447)
6185
e5bd0a28
SM
61862012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 Move define-obsolete-variable-alias before the var's definition.
6189 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6190 * tooltip.el (tooltip-hook):
6191 * textmodes/reftex-toc.el (reftex-toc-map):
6192 * textmodes/reftex-sel.el (reftex-select-label-map)
6193 (reftex-select-bib-map):
6194 * textmodes/reftex-index.el (reftex-index-map)
6195 (reftex-index-phrases-map):
6196 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6197 * progmodes/meta-mode.el (meta-mode-map):
6198 * novice.el (disabled-command-hook):
6199 * loadhist.el (unload-hook-features-list):
6200 * frame.el (blink-cursor):
6201 * files.el (find-file-not-found-hooks, write-file-hooks)
6202 (write-contents-hooks):
6203 * emulation/tpu-edt.el (GOLD-map):
6204 * emacs-lock.el (emacs-lock-from-exiting):
6205 * emacs-lisp/generic.el (generic-font-lock-defaults):
6206 * emacs-lisp/chart.el (chart-map):
6207 * dos-fns.el (register-name-alist):
6208 * dired-x.el (dired-omit-files-p):
6209 * desktop.el (desktop-enable):
6210 * cus-edit.el (custom-mode-hook):
6211 * buff-menu.el (buffer-menu-mode-hook):
6212 * bookmark.el (bookmark-read-annotation-text-func)
6213 (bookmark-exit-hooks):
6214 * allout.el (allout-mode-deactivate-hook)
6215 (allout-exposure-change-hook, allout-structure-added-hook)
6216 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6217 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6218 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6219 comes before the corresponding variable's definition.
6220
ac59c2f6
CY
62212012-05-12 Chong Yidong <cyd@gnu.org>
6222
6223 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6224 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6225 (Buffer-menu-mode-map): Bind it.
6226 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6227
dee6c9a3
SM
62282012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6229
2171cea5
SM
6230 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6231 (prolog-upper-case-string, prolog-lower-case-string)
6232 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6233 (prolog-use-smie, prolog-smie-grammar): New vars.
6234 (prolog-smie-forward-token, prolog-smie-backward-token)
6235 (prolog-smie-rules): New funs.
6236 (prolog-comment-indent): Remove.
6237 (prolog-mode-variables): Use default comment indentation instead.
6238 Setup SMIE.
6239 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6240 (prolog-mode): Don't call them any more.
6241 (prolog-electric-colon, prolog-electric-dash)
6242 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6243
aa0382bd
SM
6244 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6245
dbacb4bd
SM
6246 * minibuffer.el (completion--twq-all): Again, allow case differences.
6247
13bdd94c
SM
6248 * term.el: Move keymap initialization code to be more idiomatic.
6249 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6250 (term-terminal-menu): Move initialization into declaration.
6251 (term-escape-char): Let the user set it in her .emacs.
6252
ff46c759
SM
6253 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6254 Provide SMIE-based indentation (not enabled by default yet).
6255 (sh-mode-map): Don't bind electric keys.
6256 Use electric-pair-mode instead of skeleton-pair.
6257 (sh-assignment-regexp): Fit within 80 columns.
6258 (sh-indent-supported): Specify actual shell name instead of boolean.
6259 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6260 (sh-maybe-here-document): Use it. Make obsolete.
6261 (sh-electric-here-document-mode) New minor mode.
6262 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6263 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6264 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6265 (sh-smie-rc-grammar, sh-use-smie): New vars.
6266 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6267 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6268 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6269 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6270 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6271 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6272 (sh-set-shell): Use smie-setup if requested.
6273
dee6c9a3
SM
6274 * term.el (term-set-escape-char): Properly set term-escape-char.
6275 See http://stackoverflow.com/questions/10524656.
6276
9f9aa044
CY
62772012-05-10 Chong Yidong <cyd@gnu.org>
6278
6279 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6280 Use url-generic-parse-url, and handle host names and Windows
6281 filenames properly.
6282 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6283 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6284 URL schemes to work on.
6285 (ffap--toggle-read-only): New function.
6286 (ffap-read-only, ffap-read-only-other-window)
6287 (ffap-read-only-other-frame): Use it.
6288 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6289 necessary for ffap-url-unwrap-remote.
6290
836d29b3
DA
62912012-05-10 Dave Abrahams <dave@boostpro.com>
6292
6293 * cus-start.el (create-lockfiles): Add it.
6294
00fd78ed
CY
62952012-05-09 Chong Yidong <cyd@gnu.org>
6296
6297 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6298 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6299
666b903b 63002012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6301
6302 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6303
666b903b 63042012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6305
6306 * ansi-color.el (ansi-color-process-output): Check for validity of
6307 comint-last-output-start before using it. This avoids a bad
6308 interaction with gdb-mi's input/output buffer.
6309
666b903b 63102012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6311
6312 * files.el (dir-locals-read-from-file):
6313 Mention dir-locals in any error message.
6314
666b903b 63152012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6316
6317 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6318 package (Bug#11410).
6319
f677562b
CY
6320 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6321 variables into description.
6322
666b903b 63232012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6324
6325 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6326 shell-delimiter-argument-list (bug#11348).
6327 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6328
b499d8d0
JB
63292012-05-09 Juanma Barranquero <lekktu@gmail.com>
6330
8f6b6da8
JB
6331 * textmodes/rst.el: Silence byte-compiler warnings.
6332 (rst-re-alist, rst-reset-section-caches): Move around.
6333 (rst-re): Use `characterp', not `char-valid-p'.
6334 (font-lock-beg, font-lock-end): Declare.
6335
4824146a
JB
6336 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6337 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6338
b499d8d0
JB
6339 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6340
ad89bb83
GM
63412012-05-08 Glenn Morris <rgm@gnu.org>
6342
6343 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6344
8bba5a75
SM
63452012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6346
49ed9c8e
SM
6347 * vc/log-edit.el: Add GNU coding standards highlighting.
6348 (log-edit-font-lock-gnu-style)
6349 (log-edit-font-lock-gnu-keywords): New vars.
6350 (log-edit-font-lock-keywords): New fun.
6351 (log-edit-mode): Don't fold case in font-lock.
6352 (log-edit-font-lock-keywords): Do not assume case-folding.
6353
07d00b56
SM
6354 * imenu.el: Misc cleanup. Make docstrings out of comments.
6355 Use lexical-binding.
6356 (imenu--index-alist, imenu--last-menubar-index-alist)
6357 (imenu-menubar-modified-tick): Use defvar-local.
6358 (imenu--split-menu): Remove unused var.
6359 (imenu--cleanup-seen): Declare as global.
6360 (imenu--cleanup): Use dolist.
6361
8bba5a75
SM
6362 * subr.el (defvar-local): Add debug spec and doc-string position.
6363
5075bdb5
GM
63642012-05-08 Glenn Morris <rgm@gnu.org>
6365
090bd7cb 6366 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6367 * language/english.el, language/georgian.el, language/greek.el:
6368 * language/japanese.el, language/khmer.el, language/korean.el:
6369 * language/lao.el, language/misc-lang.el, language/romanian.el:
6370 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6371 * language/thai.el, language/utf-8-lang.el:
6372 Remove no-byte-compile setting.
6373
5075bdb5
GM
6374 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6375
06f679a7
AH
63762012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6377
6378 * progmodes/make-mode.el (makefile-browse):
6379 Remove unnecessary interactive. (Bug#11324)
6380
03794570
GM
63812012-05-07 Glenn Morris <rgm@gnu.org>
6382
af8630f4
GM
6383 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6384
03794570
GM
6385 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6386
f0809a9d
SM
63872012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6388
28be5ce7
SM
6389 * loadup.el: Preload newcomment.el.
6390 * newcomment.el: Move autoload-only code to toplevel.
6391
f0809a9d
SM
6392 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6393 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6394 Handle new :right-align column property.
6395 (tabulated-list-print-col): Idem, plus use `display' text-property to
6396 try and preserve alignment for variable pitch fonts.
6397
1241b724
CY
63982012-05-07 Chong Yidong <cyd@gnu.org>
6399
6400 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6401 (tabulated-list-use-header-line): New var.
6402 (tabulated-list-init-header): Use it.
6403 (tabulated-list-print-fake-header): New function.
6404 (tabulated-list-print): Use it.
6405 (tabulated-list-sort-button-map): Add non-header-line commands.
6406 (tabulated-list-init-header): Add column name property to basic
6407 labels as well.
6408 (tabulated-list-col-sort): Handle non-header-line button case.
6409 (tabulated-list--sort-by-column-name): Fix a corner case.
6410
f0809a9d
SM
6411 * buff-menu.el (list-buffers--refresh):
6412 Handle Buffer-menu-use-header-line.
1241b724 6413
e5f9458f
CY
64142012-05-06 Chong Yidong <cyd@gnu.org>
6415
6416 * buff-menu.el: Convert to Tabulated List mode.
6417 (Buffer-menu-buffer+size-width): Make obsolete.
6418 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6419 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6420 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6421 documentation into docstring of buffer-menu.
6422 (Buffer-menu-toggle-files-only): Add an informative message.
6423 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6424 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6425 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6426 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6427 (Buffer-menu-execute, Buffer-menu-select)
6428 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6429 (Buffer-menu-bury): Use Tabulated List machinery.
6430 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6431 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6432 Delete.
e5f9458f
CY
6433 (list-buffers--refresh): New function.
6434 (list-buffers-noselect): Use it.
6435 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6436 (Buffer-menu--pretty-file-name): New helper functions.
6437
6438 * loadup.el: Preload tabulated-list.
6439
6440 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6441 tabulated-list-sort-column.
6442 (tabulated-list-init-header): Add the initial aligning space even
6443 if tabulated-list-padding is zero.
6444
e129292c
CS
64452012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6446
6447 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6448 whose cdr is not a cons cell correctly (bug#11038).
6449
6632d361
CY
64502012-05-06 Chong Yidong <cyd@gnu.org>
6451
e129292c
CS
6452 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6453 Accept additional plist in column descriptors.
6632d361
CY
6454 (tabulated-list-init-header): Obey it.
6455 (tabulated-list-get-entry): New function.
6456 (tabulated-list-put-tag): Use it. Use string-width instead of
6457 length.
6458 (tabulated-list--column-number): New function.
6459 (tabulated-list-print): Use it.
e129292c
CS
6460 (tabulated-list-print-col): New function.
6461 Set `tabulated-list-column-name' property on each column's text.
6632d361 6462 (tabulated-list-print-entry): Use it.
e129292c
CS
6463 (tabulated-list-delete-entry, tabulated-list-set-col):
6464 New functions.
6632d361
CY
6465 (tabulated-list-sort-column): New command (Bug#11337).
6466
3cc99f68
CY
6467 * buff-menu.el (list-buffers): Move C-x C-b binding from
6468 buff-menu.el to bindings.el.
6469
6470 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6471 :advertised-binding feature.
6472
52b61776
TN
64732012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6474
6475 * progmodes/compile.el (compilation-internal-error-properties):
6476 Calculate start position correctly when end-col is set but
6477 end-line is not (Bug#11382).
6478
ebfe2597
WJ
64792012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6480
6481 * man.el (Man-unindent): Use text-property-default-nonsticky to
6482 prevent untabify from inheriting face properties (Bug#11408).
6483
6d3f7c2f
SM
64842012-05-05 Stefan Merten <smerten@oekonux.de>
6485
6486 * textmodes/rst.el: Major merge with upstream development up to
6487 Docutils SVN r7399 / rst.el V1.2.1.
6488
6489 Clarify maintainership and authors.
6490
6491 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6492 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6493 (rst-official-version, rst-official-cvs-rev, rst-version)
6494 (rst-package-emacs-version-alist): New functions and variables
6495 for version information.
6496
6497 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6498 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6499 (rst-mode-syntax-table, rst-mode): New and corrected functions
6500 and variables representing reStructuredText features.
6501
6502 (rst-re): New function for reStructuredText regexes. Use in
6503 many places.
6504
6505 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6506 (rst-mode-map): Rebind keys.
6507
6508 (rst-mode-lazy, rst-font-lock-keywords)
6509 (rst-font-lock-extend-region)
6510 (rst-font-lock-extend-region-internal)
6511 (rst-font-lock-extend-region-extend)
6512 (rst-font-lock-find-unindented-line-limit)
6513 (rst-font-lock-find-unindented-line-match)
6514 (rst-adornment-level, rst-font-lock-adornment-level)
6515 (rst-font-lock-adornment-match)
6516 (rst-font-lock-handle-adornment-pre-match-form)
6517 (rst-font-lock-handle-adornment-matcher): Major revision of
6518 font-locking. Integrate with other code. Use `jit-lock-mode'.
6519
6520 (rst-preferred-adornments, rst-adjust-hook)
6521 (rst-new-adornment-down, rst-preferred-bullets)
6522 (rst-preferred-bullets, rst-indent, rst-indent-width)
6523 (rst-indent-field, rst-indent-literal-normal)
6524 (rst-indent-literal-minimized, rst-indent-comment): Change,
6525 extend and improve customization.
6526
6527 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6528 (rst-normalize-cursor-position, rst-get-decoration)
6529 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6530 (rst-rstrip, rst-toc-insert-find-delete-contents)
6531 (rst-shift-fill-region, rst-compute-bullet-tabs)
6532 (rst-debug-print-tabs, rst-debug-mark-found)
6533 (rst-shift-region-guts, rst-shift-region-right)
6534 (rst-shift-region-left, rst-use-char-classes)
6535 (rst-font-lock-keywords-function)
6536 (rst-font-lock-indentation-point)
6537 (rst-font-lock-find-unindented-line-begin)
6538 (rst-font-lock-find-unindented-line-end)
6539 (rst-font-lock-find-unindented-line)
6540 (rst-font-lock-adornment-point, rst-font-lock-level)
6541 (rst-adornment-level-alist): Remove functions and variables.
6542
6543 (rst-compare-adornments, rst-get-adornment-match)
6544 (rst-suggest-new-adornment, rst-get-adornments-around)
6545 (rst-adornment-complete-p, rst-get-next-adornment)
6546 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6547 (rst-straighten-adornments): Standardize function names to
6548 use "adornment" instead of "decoration". Correct callers.
6549 Similar standardizing in many places.
6550
6551 (rst-update-section, rst-adjust, rst-promote-region)
6552 (rst-enumerate-region, rst-bullet-list-region)
6553 (rst-repeat-last-character): Correct use of `interactive'.
6554
6555 (rst-classify-adornment, rst-find-all-adornments)
6556 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6557 (rst-find-leftmost-column, rst-repeat-last-character):
6558 Refactor functions.
6559
6560 (rst-find-title-line, rst-reset-section-caches)
6561 (rst-get-adornments-around, rst-adjust-adornment-work)
6562 (rst-arabic-to-roman, rst-roman-to-arabic)
6563 (rst-insert-list-pos, rst-insert-list-new-item)
6564 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6565 New functions.
6566
6567 (rst-all-sections, rst-section-hierarchy)
6568 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6569 New variables.
6570
6571 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6572 configuration instead of only buffer. Change where necessary.
6573
6574 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6575 (rst-shift-region, rst-adaptive-fill): New functions for
6576 indentation and filling.
6577
6578 (rst-comment-line-break, rst-comment-indent)
6579 (rst-comment-insert-comment, rst-comment-region)
6580 (rst-uncomment-region): New functions for handling comments.
6581
6582 (rst-compile): Quote shell arguments.
6583
6584 (rst-compile-pdf-preview, rst-compile-slides-preview):
6585 Delete temporary files after use.
6586
a43f98b3
GM
65872012-05-05 Glenn Morris <rgm@gnu.org>
6588
48176e8b
GM
6589 * calendar/cal-html.el: Optionally include holidays in the output.
6590 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6591 (cal-html-holidays): New option.
6592 (cal-html-css-default): Add holiday entry.
6593 (holiday-in-range): Autoload it.
6594 (cal-html-htmlify-entry): Add optional class argument.
6595 (cal-html-htmlify-list): Add optional holidays argument.
6596 (cal-html-insert-agenda-days): Include holidays in the output.
6597 (cal-html-one-month): Maybe include holidays.
6598
a43f98b3
GM
6599 * calendar/holidays.el (holiday-in-range):
6600 Move here from cal-tex-list-holidays.
6601 * calendar/cal-tex.el (cal-tex-list-holidays):
6602 Make it an obsolete alias for holiday-in-range. Update all callers.
6603
fef9d149 66042012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6605
6606 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6607 Nextstep.
6608
248da2f4
RW
66092012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6610
6611 * files.el (file-auto-mode-skip): New var.
6612 (set-auto-mode-1): Use it.
6613
f95e9344
SM
66142012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6615
df96ab1e
SM
6616 * repeat.el: Use lexical-binding.
6617 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6618 (repeat-undo-count): Remove.
6619 (repeat):
6620 * progmodes/octave-mod.el (octave-abbrev-start):
6621 * progmodes/f90.el (f90-abbrev-start):
6622 * face-remap.el (text-scale-adjust):
6623 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6624
5342bb06
SM
6625 * emacs-lisp/pcase.el (pcase--let*): New function.
6626 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6627 a bit more.
6628 (pcase--split-pred): Be more clever about ruling out overlap between
6629 a predicate and some constant pattern.
6630 (pcase--q1): Use `null' instead of (eq foo nil).
6631
f95e9344
SM
6632 * subr.el (setq-local, defvar-local): New macros.
6633 (kbd): Redefine as an alias.
6634 (with-selected-window): Leave unrelated frames alone.
6635 (set-temporary-overlay-map): New function.
6636
71873e2b
SM
66372012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * subr.el (user-error): New function.
6640 * window.el (switch-to-buffer):
6641 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6642 (smerge-match-conflict):
6643 * simple.el (previous-matching-history-element)
6644 (next-matching-history-element, goto-history-element, undo-more)
6645 (undo-start):
6646 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6647 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6648 (next-file, tags-loop-scan, list-tags, complete-tag):
6649 * progmodes/compile.el (compilation-loop):
6650 * mouse.el (mouse-minibuffer-check):
6651 * man.el (Man-bgproc-sentinel, Man-goto-page):
6652 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6653 (Info-history-forward, Info-follow-reference, Info-menu)
6654 (Info-extract-menu-item, Info-extract-menu-counting)
6655 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6656 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6657 (Info-next-reference, Info-prev-reference, Info-index)
6658 (Info-index-next, Info-follow-nearest-node)
6659 (Info-copy-current-node-name):
6660 * imenu.el (imenu--make-index-alist)
6661 (imenu-default-create-index-function, imenu-add-to-menubar):
6662 * files.el (basic-save-buffer, recover-file):
6663 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6664 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6665 (checkdoc-message-text, checkdoc-defun):
6666 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6667 * cus-edit.el (customize-changed-options, customize-rogue)
6668 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6669 (custom-variable-mark-to-reset-standard)
6670 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6671 (custom-file):
6672 * completion.el (check-completion-length):
6673 * comint.el (comint-search-arg)
6674 (comint-previous-matching-input-string-position)
6675 (comint-previous-matching-input)
6676 (comint-replace-by-expanded-history-before-point, comint-send-input)
6677 (comint-copy-old-input, comint-backward-matching-input)
6678 (comint-goto-process-mark, comint-set-process-mark):
6679 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6680 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6681
8a61ee22
SM
66822012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6683
66408d1e
SM
6684 * dabbrev.el (dabbrev--ignore-case-p): New function.
6685 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6686 Use it.
6687
8a61ee22
SM
6688 * files.el (automount-dir-prefix): Mark as obsolete.
6689
3c74813a
GM
66902012-05-04 Glenn Morris <rgm@gnu.org>
6691
6692 * patcomp.el, play/bruce.el: Move to obsolete/.
6693
0bfcf5c5
PE
66942012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6695
6696 Fix minor Y10k bugs.
6697 * arc-mode.el (archive-unixdate):
6698 * autoinsert.el (auto-insert-alist):
6699 * calc/calc-forms.el (math-this-year):
6700 * emacs-lisp/copyright.el (copyright-current-year)
6701 (copyright-update-year, copyright):
6702 * tar-mode.el (tar-clip-time-string):
6703 * time.el (display-time-update):
6704 Don't assume years have 4 digits.
6705
78f3273a
CY
67062012-05-04 Chong Yidong <cyd@gnu.org>
6707
6708 * dos-w32.el (file-name-buffer-file-type-alist)
6709 (direct-print-region-use-command-dot-com):
6710 * ffap.el (ffap-menu-regexp):
6711 * find-file.el (ff-special-constructs):
6712 * follow.el (follow-debug):
6713 * forms.el (forms--debug):
6714 * iswitchb.el (iswitchb-all-frames):
6715 * ido.el (ido-all-frames):
6716 * emacs-lisp/timer.el (timer-max-repeats):
6717 * mail/feedmail.el (feedmail-mail-send-hook)
6718 (feedmail-mail-send-hook-queued):
6719 * mail/footnote.el (footnote-signature-separator):
6720 * mail/mailabbrev.el (mail-alias-separator-string)
6721 (mail-abbrev-mode-regexp):
6722 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6723 * progmodes/idlwave.el (idlwave-libinfo-file)
6724 (idlwave-default-completion-case-is-down)
6725 (idlwave-library-routines): Convert defvars to defcustoms.
6726
6727 * mail/rmail.el (rmail-decode-mime-charset):
6728 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6729 (idlwave-shell-fix-inserted-breaks)
6730 (idlwave-shell-activate-alt-keybindings)
6731 (idlwave-shell-use-breakpoint-glyph):
6732 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6733
f7ae6719
SM
67342012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6737
47086495
WS
67382012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6739
6740 * progmodes/verilog-mode.el (font-lock-keywords):
6741 Fix mis-highligting auto. Reported by Craig Barner.
6742 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6743 defines from global name space. Reported by Dan Dever.
6744 (verilog-auto-reset, verilog-auto-reset-widths)
6745 (verilog-auto-tieoff): Support using unbased numbers for
6746 AUTORESET and AUTOTIEOFF.
6747 (verilog-submit-bug-report): Update variable list.
6748 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6749 parenthesis from not matching. Reported by Michael Rytting.
6750 (verilog-auto-template-lint): Fix hash error when linting modules
6751 with no used templates.
6752 (verilog-warn, verilog-warn-error)
6753 (verilog-warn-fatal): When non-interactive report multiple
6754 warnings before exiting. Suggested by Brad Dobbie.
6755 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6756 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6757 to report unused template errors. Reported by Brad Dobbie.
6758 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6759 nets, bug438. Reported by Vns Blore.
6760 (verilog-auto-inout-module, verilog-auto-reg)
6761 (verilog-read-decls, verilog-read-sub-decls-sig)
6762 (verilog-signals-edit-wire-reg, verilog-signals-with):
6763 Fix passing of Verilog data types in ANSI input/output ports
6764 such as "output logic" into the AUTOs. Special case "wire" and
6765 "reg" for backwards compatibility presuming Verilog 2001.
6766 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6767 (verilog-preprocess): Fix replication of preprocess output.
6768 Reported by Brad Dobbie.
6769 (verilog-auto-inst-interfaced-ports):
6770 Create verilog-auto-inst-interfaced-ports, bug429.
6771 Reported by Julian Gorfajn.
6772 (verilog-after-save-font-hook)
6773 (verilog-before-save-font-hook): New variable.
6774 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6775 (verilog-save-font-mods): Wrap disabling fontification, reported
6776 by David Rogoff.
6777 (verilog-do-indent, verilog-pretty-declarations-auto)
6778 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6779 Reported by Pierre-David Pfister.
6780 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6781 of class declarations, bug292. Reported by Kevin Heilman.
6782 (verilog-read-decls): Fix 'parameter type' not appearing in
6783 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6784 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6785 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6786 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6787 Reported by David Kravitz.
6788
67892012-05-03 Michael McNamara <mac@mail.brushroad.com>
6790
6791 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6792 assignment with tests in ifs and for loops.
6793 (verilog-extended-complete-re, verilog-complete-reg): Change so
6794 that DPI inport functions don't look like fuction declarations.
6795 (verilog-pretty-expr): Don't line up assignment
6796 operations to the test and increment in if and for loops
6797 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6798 that DPI inport functions don't look like fuction declarations.
47086495 6799
2e51d4b5
KH
68002012-05-03 Kenichi Handa <handa@m17n.org>
6801
6802 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6803 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6804 (Bug#11282).
6805
2bd785a2
SM
68062012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * emacs-lisp/bytecomp.el
6809 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6810 since cconv.el might have introduced :fun-body, internal-make-closure,
6811 and friends for bytecomp to handle (bug#11391).
6812 * custom.el (defcustom): Avoid ((λ ..) ..).
6813
99d27583
SM
68142012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6817
55a71479
JB
68182012-05-02 Juanma Barranquero <lekktu@gmail.com>
6819
6820 * notifications.el (dbus-debug):
6821 * term/linux.el (gpm-mouse-enable):
6822 * term/screen.el (xterm-register-default-colors): Declare.
6823
7b97c764
CY
68242012-05-02 Chong Yidong <cyd@gnu.org>
6825
2bc356d7
CY
6826 * cus-start.el (gc-cons-percentage, exec-suffixes)
6827 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6828 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6829 (make-cursor-line-fully-visible, void-text-area-pointer)
6830 (font-list-limit): Add customization data.
6831
7b97c764
CY
6832 * allout.el (allout-exposure-change-functions)
6833 (allout-structure-added-functions)
6834 (allout-structure-deleted-functions)
6835 (allout-structure-shifted-functions): Rename abnormal hooks from
6836 *-hook, and convert to defcustoms.
5d3385a0
JB
6837 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6838 Convert to defcustoms.
7b97c764
CY
6839 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6840
6841 * allout-widgets.el: Hook callers changed.
6842
90207a15 68432012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6844
6845 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6846 the yanked message in preference to the default value of
6847 buffer-file-coding-system.
6848
90207a15 68492012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6850
5d3385a0
JB
6851 * window.el (display-buffer--action-function-custom-type):
6852 Fix entry.
d9558cad 6853
90207a15 68542012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6855
6856 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6857
d80ac57b
GM
68582012-05-01 Glenn Morris <rgm@gnu.org>
6859
976f7668
GM
6860 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6861
beb83b5a
GM
6862 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6863
d80ac57b
GM
6864 * cus-edit.el (custom-variable-documentation): Simplify with format.
6865
b593d6a9 68662012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6867 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6868
6869 * simple.el (suggest-key-bindings, execute-extended-command):
6870 Move from keyboard.c.
6871
782fbf2a
CY
68722012-05-01 Chong Yidong <cyd@gnu.org>
6873
6874 * follow.el: Eliminate advice.
6875 (set-process-filter, process-filter, sit-for): Advice deleted.
6876 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6877 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6878 Vars deleted.
782fbf2a
CY
6879 (follow-auto): Use a :set function.
6880 (follow-mode): Rewritten. Don't advise process filters.
6881 (follow-switch-to-current-buffer-all, follow-scroll-up)
6882 (follow-scroll-down): Assume follow-mode is bound.
6883 (follow-comint-scroll-to-bottom)
6884 (follow-align-compilation-windows): New functions.
6885 (follow--window-sorter): New function.
6886 (follow-all-followers): Use it to explicitly sort windows by their
6887 positions; don't make assumptions about next-window order.
6888 (follow-windows-start-end, follow-delete-other-windows-and-split)
6889 (follow-calc-win-start): Doc fix.
6890 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6891 vertical-motion unnecessarily.
6892 (follow-adjust-window): New function.
6893 (follow-post-command-hook): Use it.
6894 (follow-call-set-process-filter, follow-call-process-filter)
6895 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6896 (follow-stop-intercept-process-output, follow-generic-filter):
6897 Functions deleted.
6898 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6899 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6900 New functions, replacing advice on scroll-bar-* commands.
87233a14 6901 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6902
6903 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6904 (comint-postoutput-scroll-to-bottom): Use it.
6905 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6906
290af740
GM
69072012-05-01 Glenn Morris <rgm@gnu.org>
6908
6909 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6910 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6911 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6912 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6913 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6914 Remove no-byte-compile setting.
6915
6eac8dc9
SM
69162012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6919 all-completions code to not return a number in the last cdr.
6920
9cc7819c
LL
69212012-04-30 Leo Liu <sdl.web@gmail.com>
6922
6923 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6924 read-only error.
6925
c93b886f
CY
69262012-04-29 Chong Yidong <cyd@gnu.org>
6927
6928 * follow.el (follow-calc-win-end): Rewrite to handle partial
6929 screen lines correctly (Bug#8390).
6930 (follow-avoid-tail-recenter): Minor cleanup.
6931
8b6c19f4
SM
69322012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 Avoid the obsolete `assoc' package.
6935 * speedbar.el (speedbar-refresh): Avoid adelete.
6936 (speedbar-file-lists): Simplify and avoid aput.
6937 * man.el (Man--sections, Man--refpages): New vars, replacing
6938 Man-sections-alist and Man-refpages-alist.
6939 (Man-build-section-alist, Man-build-references-alist):
6940 Use them; avoid aput.
6941 (Man--last-section, Man--last-refpage): New vars.
6942 (Man-follow-manual-reference): Use them.
6943 Use the `default' arg of completing-read.
6944 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6945
c5bb7569
CY
69462012-04-27 Chong Yidong <cyd@gnu.org>
6947
d1d2e2e8
CY
6948 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6949
15cd8efd
CY
6950 * startup.el (x-apply-session-resources): New function.
6951
6952 * term/ns-win.el (ns-initialize-window-system):
6953 * term/w32-win.el (w32-initialize-window-system):
6954 * term/x-win.el (x-initialize-window-system): Use it to properly
6955 set menu-bar-mode and other vars from X resources, even if the
6956 initial frame is not a window-system frame (Bug#2299).
6957
c5bb7569
CY
6958 * subr.el (read-key): Avoid running filter function when setting
6959 up temporary tool bar entries (Bug#9922).
6960
a8e7d6d7 69612012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6962
6963 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6964 (Bug#11344)
6965
a8e7d6d7 69662012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6967
6968 * select.el (xselect--encode-string): New function, split from
6969 xselect-convert-to-string.
6970 (xselect-convert-to-string): Use it.
6971 (xselect-convert-to-filename, xselect-convert-to-os)
6972 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6973 returned strings are properly encoded (Bug#11315).
6974
a8e7d6d7 69752012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6976
6977 * simple.el (delete-active-region): Move to killing custom group.
6978
a8e7d6d7 69792012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6980
6981 * progmodes/which-func.el (which-func-current): Quote %
6982 characters for mode-line processing.
6983
578c1d4b 69842012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6985
6986 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6987 reaching eob (Bug#11286).
6988
a8e7d6d7 69892012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6990
6991 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6992 (gdb): Make it buffer-local and init to zero.
6993 (gdb-control-commands-regexp): New variable.
6994 (gdb-send): Don't wrap in "-interpreter-exec console" if
6995 gdb-control-level is positive. Increment gdb-control-level
6996 whenever the command matches gdb-control-commands-regexp, and
6997 decrement it each time the command is "end". (Bug#11279)
6998
a8e7d6d7 69992012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7000
7001 * window.el (adjust-window-trailing-edge, enlarge-window)
7002 (shrink-window, window-resize):
7003 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7004 windows (Bug#11276).
7005
b3608390
CY
70062012-04-27 Chong Yidong <cyd@gnu.org>
7007
7008 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7009 fix "missing prefix" warning. All callers changed.
b3608390 7010
797e6e88
SM
70112012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * emacs-lisp/assoc.el: Move to obsolete/.
7014
e95a67dc
SM
70152012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7016
657c21e4 7017 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7018
7019 * term/ns-win.el (ns-define-service):
7020 * progmodes/pascal.el (pascal-goto-defun):
7021 * progmodes/js.el (js--read-tab):
7022 * progmodes/etags.el (tags-lazy-completion-table):
7023 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7024 * emacs-lisp/ewoc.el (ewoc--wrap):
7025 * emacs-lisp/assoc.el (aput, adelete, amake):
7026 * doc-view.el (doc-view-convert-current-doc):
7027 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7028
cb3e7ae0
CY
70292012-04-26 Chong Yidong <cyd@gnu.org>
7030
dce04f7f
CY
7031 * image.el (image-type-from-buffer): Only return supported image
7032 type (Bug#9045).
7033
cb3e7ae0
CY
7034 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7035 value, for symmetry with diff-end-of-hunk.
7036 (diff-split-hunk, diff-find-source-location)
7037 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7038 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7039 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7040 compute the relevant hunk or file properly (Bug#6005).
7041 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7042
0d42eb3e
SM
70432012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * vc/vc-mtn.el:
7046 * vc/vc-hg.el:
7047 * vc/vc-git.el:
7048 * vc/vc-dir.el:
7049 * vc/vc-cvs.el:
7050 * vc/vc-bzr.el:
7051 * vc/vc-arch.el:
7052 * vc/vc.el: Replace lexical-let by lexical-binding.
7053 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7054 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7055 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7056
f08ae1c9
CY
70572012-04-26 Chong Yidong <cyd@gnu.org>
7058
8b71081d
CY
7059 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7060 (diff-mode-shared-map): Bind it to / and [remap undo].
7061
f08ae1c9
CY
7062 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7063 (ediff-window-setup-function): Use it as the default, to set up
7064 windows based on whether the current frame is graphical (Bug#2138).
7065 (ediff-choose-window-setup-function-automatically): Make obsolete.
7066
7067 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7068
ef24141c
SM
70692012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7070
cc356a5d
SM
7071 * ffap.el: Remove old code for obsolete package.
7072 (ffap-complete-as-file-p): Remove.
7073
b4ff4f1f
SM
7074 Use completion-table-with-quoting for comint and pcomplete.
7075 * comint.el (comint--unquote&requote-argument)
7076 (comint--unquote-argument, comint--requote-argument): New functions.
7077 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7078 (comint-quote-filename): Use regexp-opt-charset.
7079 (comint--common-suffix, comint--common-quoted-suffix)
7080 (comint--table-subvert): Remove.
7081 (comint-unquote-function, comint-requote-function): New vars.
7082 (comint--complete-file-name-data): Use them with
7083 completion-table-with-quoting.
7084 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7085 * pcomplete.el (pcomplete-arg-quote-list)
7086 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7087 (pcomplete-unquote-argument-function): Default to non-nil.
7088 (pcomplete-unquote-argument): Simplify.
7089 (pcomplete--common-quoted-suffix): Remove.
7090 (pcomplete-requote-argument-function): New var.
7091 (pcomplete--common-suffix): New function.
7092 (pcomplete-completions-at-point): Use completion-table-with-quoting
7093 and completion-table-subvert.
7094
79c4eeb4
SM
7095 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7096 (minibuffer--double-dollars): Preserve properties.
7097 (completion--sifn-requote): New function.
7098 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7099
ef24141c
SM
7100 * minibuffer.el: Add support for completion of quoted/escaped data.
7101 (completion-table-with-quoting, completion-table-subvert): New funs.
7102 (completion--twq-try, completion--twq-all): New functions.
7103 (completion--nth-completion): New function.
7104 (completion-try-completion, completion-all-completions): Use it.
7105
784e7d6e
LL
71062012-04-25 Leo Liu <sdl.web@gmail.com>
7107
dd2ac746
SM
7108 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7109 Use compilation-message if available to find real filename.
784e7d6e 7110
07875ee7
CY
71112012-04-25 Chong Yidong <cyd@gnu.org>
7112
7113 * vc/diff-mode.el (diff-setup-whitespace): New function.
7114 (diff-mode): Use it.
7115
7116 * vc/diff.el (diff-sentinel):
7117 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7118 Whitespace mode variables based on diff style (Bug#8612).
7119
5055880d
LL
71202012-04-25 Leo Liu <sdl.web@gmail.com>
7121
daf75653
LL
7122 * progmodes/python.el (python-send-region): Add suffix .py to the
7123 temp file.
7124
5055880d
LL
7125 * files.el (auto-mode-alist): Use javascript-mode instead.
7126
db9b177b
AH
71272012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7128
ef24141c 7129 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7130
090bd7cb 7131 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7132 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7133 references, see Bug#9.
ef24141c 7134 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7135 when receiving a fault reply.
ef24141c 7136 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7137
090bd7cb 7138 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7139 (soap-inspect-simple-type): New function.
db9b177b 7140
090bd7cb 7141 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7142 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7143 (soap-decode-basic-type, soap-encode-basic-type):
7144 support unsignedInt and double basic types.
db9b177b 7145 (soap-resolve-references-for-simple-type)
ef24141c
SM
7146 (soap-parse-simple-type, soap-encode-simple-type): New function.
7147 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7148
090bd7cb 7149 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7150 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7151 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7152 the local name of "soapenc:Array".
7153 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7154 decoding integer, byte and anyURI xsd types.
7155
1fc6097b
CY
71562012-04-25 Chong Yidong <cyd@gnu.org>
7157
7158 * cus-edit.el (custom-buffer-create-internal): Update header text.
7159
afc6df87
EZ
71602012-04-25 Eli Zaretskii <eliz@gnu.org>
7161
7162 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7163 settings on 'system-type', not on 'window-system'. On MS-Windows,
7164 set interactive-mode on in GDB.
7165
dfbd787f
SM
71662012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7169 (ruby-syntax-propertize-regexp): Remove.
7170 (ruby-syntax-propertize-function): Split regexp into chunks.
7171 Match following code directly.
7172
85222d44
DG
71732012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7174
51a8ea2a
DG
7175 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7176 (ruby-syntax-propertize-regexp): New function.
7177 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7178 by a special keyword.
7179
85222d44
DG
7180 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7181 (ruby-syntax-general-delimiters-goto-beg)
7182 (ruby-syntax-propertize-general-delimiters): New functions.
7183 (ruby-syntax-propertize-function): Use them to handle GDL.
7184 (ruby-font-lock-keywords): Move old handling of GDL...
7185 (ruby-font-lock-syntactic-keywords): .. to here.
7186 (ruby-calculate-indent): Adjust indentation for GDL.
7187
b613912b
MA
71882012-04-24 Michael Albinus <michael.albinus@gmx.de>
7189
b5380639
MA
7190 * notifications.el (top): Remove unneeded declarations.
7191 (notifications-specification-version): Change to "1.2".
e43042fe 7192 (notifications-interface, notifications-notify-method)
b613912b
MA
7193 (notifications-close-notification-method): Fix docstring.
7194 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7195 (notifications-notify): Add :action-items, :resident and
7196 :transient hints. Change "image_data" to "image-data" and
7197 "image_path" to "image-path".
b613912b
MA
7198 (notifications-get-capabilities): New defun.
7199
257440aa
LL
72002012-04-24 Leo Liu <sdl.web@gmail.com>
7201
7202 * progmodes/python.el: Move hideshow setup to the end.
7203
b1bac16e
MR
72042012-04-24 Martin Rudalics <rudalics@gmx.at>
7205
7206 * window.el (handle-select-window): Clear echo area since this is
7207 no more done by read_char (Bug#11304).
7208
d81bd059
SM
72092012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7212 and `/ M' to filter-derived-mode.
7213 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7214 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7215 (ibuffer-mark-by-mode): Use default rather than initial-input.
7216 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7217
c4cf6d91
IA
72182012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7219
7220 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7221 (ibuffer-filter-by-derived-mode): New filter.
7222 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7223
7511ded8
CY
72242012-04-23 Andreas Politz <politza@fh-trier.de>
7225
7226 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7227
775c916b
CY
72282012-04-23 Chong Yidong <cyd@gnu.org>
7229
7230 * cus-edit.el (customize-apropos, customize-apropos-options):
7231 Disable matching of non-option variables (Bug#11176).
7232 (customize-option, customize-option-other-window)
7233 (customize-changed-options): Doc fix.
7234 (customize-apropos-options, customize-apropos-faces)
7235 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7236
7237 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7238 Fix word list splitting (Bug#11132).
46c71e23
CY
7239 (apropos-symbol, apropos-keybinding, apropos-label)
7240 (apropos-property, apropos-function-button)
7241 (apropos-variable-button, apropos-misc-button): New faces.
7242 (apropos-symbol-face, apropos-keybinding-face)
7243 (apropos-label-face, apropos-property-face, apropos-match-face):
7244 Variables removed (Bug#8396).
7245 (apropos-library-button, apropos-format-plist, apropos-print)
7246 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7247
2df41f9c
MA
72482012-04-23 Michael Albinus <michael.albinus@gmx.de>
7249
7250 * net/xesam.el (xesam-mode-map): Use let-bound map in
7251 initialization. (Bug#11292)
7252
da00640a
AM
72532012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7254
7255 Preserve ispell session localwords when switching back to
7256 original buffer.
7257
090bd7cb
JB
7258 * textmodes/ispell.el (ispell-buffer-session-localwords):
7259 New buffer-local variable to hold buffer session localwords.
ed9265fc 7260 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7261 localwords.
7262 (ispell-command-loop, ispell-change-dictionary)
7263 (ispell-buffer-local-words): Preserve session localwords when
7264 needed.
7265
090bd7cb
JB
7266 * textmodes/flyspell.el (flyspell-process-localwords)
7267 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7268
f621ccf5
AM
72692012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7270
090bd7cb
JB
7271 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7272 using obsolete `translation-table-for-input'.
ef24141c
SM
7273 (ispell-word, ispell-process-line, ispell-complete-word):
7274 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7275
c2d1019e
CY
72762012-04-22 Chong Yidong <cyd@gnu.org>
7277
7278 * cus-edit.el (custom-variable-menu)
7279 (custom-variable-reset-saved, custom-face-menu)
7280 (custom-face-reset-saved): If there is no saved value, make the
7281 "reset-saved" operation bring back the default (Bug#9509).
7282 (custom-face-state): Properly detect themed faces.
7283
eeddc531
CY
7284 * faces.el (face-spec-set): Stop supporting deprecated form of
7285 third arg.
7286
dcbf5805
MA
72872012-04-22 Michael Albinus <michael.albinus@gmx.de>
7288
7289 Move functions from C to Lisp. Make non-blocking method calls
7290 the default. Implement further D-Bus standard interfaces.
7291
ef24141c
SM
7292 * net/dbus.el (dbus-message-internal): Declare function.
7293 Remove unneeded function declarations.
dcbf5805
MA
7294 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7295 (dbus-message-type-method-return, dbus-message-type-error)
7296 (dbus-message-type-signal): Declare variables. Remove local
7297 definitions.
7298 (dbus-interface-dbus, dbus-interface-peer)
7299 (dbus-interface-introspectable, dbus-interface-properties)
7300 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7301 Adapt docstring.
7302 (dbus-interface-objectmanager): New defconst.
7303 (dbus-call-method, dbus-call-method-asynchronously)
7304 (dbus-send-signal, dbus-method-return-internal)
7305 (dbus-method-error-internal, dbus-register-service)
7306 (dbus-register-signal, dbus-register-method): New defuns, moved
7307 from dbusbind.c
7308 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7309 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7310 New defuns.
dcbf5805
MA
7311 (dbus-call-method-non-blocking): Make it an obsolete function.
7312 (dbus-unregister-object, dbus-unregister-service)
7313 (dbus-handle-event, dbus-register-property)
7314 (dbus-property-handler): Obey the new structure of
7315 `bus-registered-objects'.
7316 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7317 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7318 Use `dbus-call-method'.
7319
cf20dee0
CY
73202012-04-22 Chong Yidong <cyd@gnu.org>
7321
7322 * cus-edit.el (custom-commands, custom-reset-menu)
7323 (Custom-reset-standard): Tweak labels.
7324 (custom-reset-button-menu): Change default to t.
7325 (custom-buffer-create-internal): For the custom-reset-button-menu
7326 case, put the revert button first.
7327 (custom-group-subtitle): New face.
7328 (custom-group-value-create): Align docstring to a specific column.
7329
7330 * wid-edit.el (widget-documentation-link-add): Don't handle
7331 indentation in this function.
7332 (widget-documentation-string-indent-to): New function.
7333 (widget-documentation-string-value-create): Use it.
7334
7335 * autorevert.el (auto-revert):
7336 * epg-config.el (epg):
7337 * ibuffer.el (ibuffer):
7338 * mpc.el (mpc):
7339 * ses.el (ses):
7340 * eshell/eshell.el (eshell):
7341 * net/ange-ftp.el (ange-ftp):
7342 * progmodes/ebnf2ps.el (postscript):
7343 * progmodes/flymake.el (flymake):
7344 * progmodes/prolog.el (prolog):
7345 * progmodes/verilog-mode.el (verilog-mode):
7346 * progmodes/which-func.el (which-func):
7347 * term/xterm.el (xterm):
7348 * textmodes/picture.el (picture):
7349 * textmodes/tildify.el (tildify):
7350 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7351 customization buffers.
7352
583e23bd
AM
73532012-04-22 Alan Mackenzie <acm@muc.de>
7354
7355 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7356 Adding a ) can hide the resulting (..) from searches. Fix it.
7357 Bound the backward search to the position of the existing (.
7358
7dd51bf1
JB
73592012-04-21 Juanma Barranquero <lekktu@gmail.com>
7360
7361 * progmodes/verilog-mode.el (verilog-mode): Check whether
7362 which-func-modes is t before adding verilog-mode.
7363 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7364
d64a438f
LL
73652012-04-21 Leo Liu <sdl.web@gmail.com>
7366
7dd51bf1 7367 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7368
081e8d65
MV
73692012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7370
7371 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7372 filling of the last column of a table (Bug#5635).
7373 (woman-find-next-control-line): New arg, specifying an additional
7374 regexp component for the control line.
7375 (woman2-roff-buffer): Use it.
7376 (woman-break-table): New function.
7377 (woman2-TS): Use it.
7378
73792012-04-21 Chong Yidong <cyd@gnu.org>
7380
7381 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7382 (woman-horizontal-escapes, woman-negative-vertical-space)
7383 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7384 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7385
ed571ccb
SM
73862012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * minibuffer.el (completion-file-name-table): Complete user names.
7389
39773899
LL
73902012-04-20 Leo Liu <sdl.web@gmail.com>
7391
7392 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7393 and pcase-let*.
7394
de6ff46d
CY
73952012-04-20 Chong Yidong <cyd@gnu.org>
7396
7397 * server.el (server-execute): Respect initial-buffer-choice if it
7398 is a string and there are no files to open (Bug#2825).
7399 (server-create-window-system-frame, server-create-tty-frame):
7400 Don't switch buffers here.
2d0e8e61
CY
7401 (server-process-filter): Only try to open a window system frame if
7402 compiled with graphical support (Bug#8314).
de6ff46d 7403
54071013
DN
74042012-04-20 Dan Nicolaescu <dann@gnu.org>
7405
7406 * battery.el (battery-echo-area-format): Display remaining time
7407 for sysfs backend too (Bug#11269).
7408 (battery-linux-sysfs): Fix conditional for the charge.
7409
f30d612a
CY
74102012-04-20 Chong Yidong <cyd@gnu.org>
7411
c07a4c0b 7412 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7413 (gdb-inferior-io--init-proc): New function.
7414 (gdb-init-1): Use it.
7415 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7416 responsible for allocating a new pty and hooking it to gdb when
7417 the old pty gets an EIO due to process exit.
7418 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7419 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7420 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7421
2116e93c
EZ
74222012-04-20 Eli Zaretskii <eliz@gnu.org>
7423
7424 * window.el (window-min-size, window-sizable, window-min-delta)
7425 (window-max-delta, window--resizable, window-resizable)
7426 (window-total-size, window-full-height-p, window-full-width-p)
7427 (window-in-direction, window--resize-mini-window, window-resize)
7428 (window--resize-child-windows-normal)
7429 (window--resize-child-windows, window--resize-siblings)
7430 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7431 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7432
c07a4c0b 74332012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7434
ef24141c
SM
7435 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7436 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7437 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7438 pty process (Bug#11273).
7439 (gdb-update): New arg to suppress talking to the gdb process.
7440 (gdb-done-or-error): Use it.
7441 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7442 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7443 sentinel not being called.
7444
7445 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7446
d02766ab
CY
7447 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7448
c07a4c0b 74492012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7450
7451 * net/network-stream.el (open-network-stream): Doc fix.
7452
c07a4c0b 74532012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7454
7455 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7456
c07a4c0b 74572012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7458
7459 Ensure searching for keywords is case sensitive.
7460
7461 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7462 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7463 (c-defun-name, c-mark-function, c-cpp-define-name)
7464 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7465 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7466
ef24141c
SM
7467 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7468 Bind case-fold-search to nil.
f0f6bc35 7469
c07a4c0b 74702012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7471
7472 * mail/sendmail.el (mail-bury): Call return action with the right
7473 Rmail buffer (Bug#11242).
7474
9a864fa2
CY
7475 * server.el (server-process-filter): Handle corner case where both
7476 tty and nowait options are present (Bug#11102).
7477
539aa513
EZ
74782012-04-20 Eli Zaretskii <eliz@gnu.org>
7479
7480 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7481 (top level): Put into the executable the ident-style '$Id:' tag on
7482 windows-nt as well.
539aa513 7483
cfc7d5da
SM
74842012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * electric.el (electric-indent-post-self-insert-function): Check that
7487 electric-indent-mode is enabled in current buffer.
7488
5b01685c
JB
74892012-04-19 Juanma Barranquero <lekktu@gmail.com>
7490
7491 * imenu.el (imenu-progress-message): Restore; it is "used" in
7492 erc/erc-imenu.el and net/snmp-mode.el.
7493
4d6769e1
JB
74942012-04-19 Juanma Barranquero <lekktu@gmail.com>
7495
7496 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7497 (mouse-avoidance-nudge-mouse): Remove unused binding.
7498
7499 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7500
7501 * descr-text.el (describe-char):
7502 * progmodes/python.el (python-describe-symbol):
7503 Don't call `toggle-read-only', set `buffer-read-only'.
7504
7505 * imenu.el (imenu-default-goto-function): Mark unused args.
7506 (imenu-progress-message): Remove obsolete macro; all callers changed.
7507
7508 * subr.el (keymap-canonicalize): Remove unused binding.
7509 (read-passwd): Mark unused arg.
7510
7511 * tutorial.el (tutorial--display-changes): Remove unused binding.
7512 (tutorial--save-tutorial-to): Remove unused variable.
7513
7514 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7515 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7516 (package-generate-autoloads, package-menu--generate)
7517 (package-menu--find-upgrades): Remove unused bindings.
7518
7519 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7520 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7521 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7522 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7523 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7524 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7525 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7526 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7527 (cua-delete-char-rectangle): Mark unused args.
7528 (cua-align-rectangle): Remove unused binding.
7529
7530 * mail/rmail.el (compilation--message->loc)
7531 (epa--find-coding-system-for-mime-charset): Declare.
7532
7533 * net/dbus.el (dbus-register-service): Declare.
7534 (dbus-name-owner-changed-handler): Remove unused binding.
7535
7536 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7537 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7538 (nxml-scan-backward-within): Mark unused arg.
7539 (nxml-dynamic-markup-word): Remove unused binding.
7540
7541 * mouse.el (mouse-menu-major-mode-map):
7542 * emacs-lisp/authors.el (authors-scan-change-log)
7543 (authors-add-to-author-list):
7544 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7545 * emacs-lisp/smie.el (smie-auto-fill):
7546 * mail/sendmail.el (mail-bury):
7547 * mail/unrmail.el (unrmail):
7548 * net/tls.el (open-tls-stream):
7549 * textmodes/picture.el (picture-mouse-set-point):
7550 Remove unused bindings.
7551
8c8fc5df
MA
75522012-04-19 Michael Albinus <michael.albinus@gmx.de>
7553
7554 * net/tramp.el (tramp-action-password): Let-bind
7555 `enable-recursive-minibuffers' to t.
7556
a77b0ac9
SS
75572012-04-18 Sam Steingold <sds@gnu.org>
7558
7559 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7560 instead of 'string to accommodate values like [f11].
7561 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7562 * progmodes/gdb-mi.el: Likewise.
7563
12a106a9
LL
75642012-04-18 Leo Liu <sdl.web@gmail.com>
7565
7566 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7567 current buffer.
7568 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7569 LOCAL is nil.
7570
bc6494ef
CY
75712012-04-18 Chong Yidong <cyd@gnu.org>
7572
7573 * simple.el (line-move): Use forward-line if in batch mode
7574 (Bug#11053).
7575
c09c46b2
CS
75762012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7577
7578 * files.el (after-find-file): Do not try to add a final newline if
7579 the buffer is read-only (Bug#11156).
7580
5f6530ea
RS
75812012-04-17 Richard Stallman <rms@gnu.org>
7582
7583 * mail/rmail.el (rmail-start-mail):
7584 Pass (rmail-mail-return...) for the return-action.
7585 Pass (rmail-yank-current-message...) for the yank-action.
7586 (rmail-yank-current-message): New function.
7587 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7588 (rmail-reply): Likewise.
7589 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7590
7591 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7592 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7593 buffer, not newbuf.
7594
197b6f3c
JB
75952012-04-17 Juanma Barranquero <lekktu@gmail.com>
7596
7597 * server.el (server-ensure-safe-dir): Simplify.
7598
2311d8e5 75992012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7600
2311d8e5
GM
7601 * emacs-lisp/smie.el: Provide smarter auto-filling.
7602 (smie-auto-fill): New function.
7603 (smie-setup): Use it.
98fb480e 7604
2311d8e5
GM
7605 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7606
76072012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7608
7609 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7610 (comment-indent): Use it.
7611
2311d8e5 76122012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7613
7614 * ses.el: The overall change is to add cell renaming, that is
7615 setting fancy names for cell symbols other than name matching
7616 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7617 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7618 (ses-create-cell-variable): New defun.
2311d8e5 7619 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7620 (ses-relocate-formula): Relocate formulas only for cells the
7621 symbols of which are not renamed, i.e. symbols whose names do not
7622 match regexp "\\`[A-Z]+[0-9]+\\'".
7623 (ses-relocate-all): Relocate values only for cells the symbols of
7624 which are not renamed.
7625 (ses-load): Create cells variables as the (ses-cell ...) are read,
7626 in order to check row col consistency with cell symbol name only
7627 for cells that are not renamed.
7628 (ses-replace-name-in-formula): New defun.
7629 (ses-rename-cell): New defun.
4bdf2ad2 7630
fc72b15c
PO
76312012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7632
7633 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7634 New option (bug#11118).
7635 (perl-calculate-indent): Respect it.
7636
12e10e61
GM
76372012-04-17 Glenn Morris <rgm@gnu.org>
7638
7639 * dired-aux.el (dired-mark-read-string): Doc fix.
7640
30009afd
DA
76412012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7642
7643 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7644 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7645
41f03f4d
GM
76462012-04-17 Glenn Morris <rgm@gnu.org>
7647
7648 * mouse.el (mouse-drag-track):
7649 * speedbar.el (speedbar-frame-mode):
7650 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7651
f45f90f3
LL
76522012-04-16 Leo Liu <sdl.web@gmail.com>
7653
7654 * progmodes/python.el: Trivial cleanup.
7655
94ee8db5
GM
76562012-04-16 Glenn Morris <rgm@gnu.org>
7657
121b8917
GM
7658 * vc/vc.el (vc-string-prefix-p):
7659 * vc/pcvs-util.el (cvs-string-prefix-p):
7660 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7661 * mpc.el (mpc-string-prefix-p):
7662 Make all of these into obsolete aliases for string-prefix-p.
7663 Update callers.
7664 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7665
1197ecfa
GM
7666 * textmodes/two-column.el: Move custom options to the start.
7667 (frame-width): Remove compat definition.
7668 (2C-associate-buffer, 2C-dissociate):
7669 Use with-current-buffer rather than save-excursion.
7670 (2C-dissociate): Force a mode-line update.
7671 (2C-autoscroll): Use ignore-errors.
7672
099e7202
GM
7673 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7674 Autoload trivia.
7675
bf350d6a
GM
7676 * emacs-lisp/cl-extra.el (*random-state*):
7677 Remove unnecessary declaration.
7678
0e829eab
GM
7679 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7680
e3ad7552
GM
7681 * play/cookie1.el (cookie-snarf):
7682 Give an explicit error if input file cannot be read.
7683
68892d27
GM
7684 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7685
20f0c46d
GM
7686 * progmodes/perl-mode.el (c-macro-expand):
7687 Remove unnecessary autoload (it is in loaddefs.el).
7688
5a0978ce
GM
7689 * textmodes/picture.el (picture-desired-column)
7690 (picture-update-desired-column): Convert comments to doc-strings.
7691 (picture-substitute): Remove function.
7692 (picture-mode-map): Initialize in the defvar.
7693
6b955486
GM
7694 * woman.el: Remove eval-after-load for tar-mode.
7695 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7696 (woman-tar-extract-file): Autoload it.
7697
94ee8db5
GM
7698 * frame.el (automatic-hscrolling): Make this alias obsolete.
7699
177eca34
AM
77002012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7701
090bd7cb 7702 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7703 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7704 (ispell-dictionary-base-alist): Revert to original XEmacs
7705 friendly version for default. [:alpha:] will be added in
090bd7cb 7706 `ispell-set-spellchecker-params' if needed.
177eca34 7707
c505aaeb
CY
77082012-04-16 Chong Yidong <cyd@gnu.org>
7709
b19dd9d1 7710 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7711 (imagemagick-register-types): Use it.
7712 (imagemagick-types-inhibit): Add :set function. Allow new value
7713 of t to inhibit all types.
7714
7715 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7716 so we can preload it.
7717
7718 * loadup.el (fboundp): Preload regexp-opt, needed by
7719 imagemagick-register-types.
7720
60efac0f
CY
77212012-04-15 Chong Yidong <cyd@gnu.org>
7722
7723 * frame.el (scrolling): Remove nearly unused customization group.
7724
7725 * scroll-all.el (scroll-all-mode): Move to windows group.
7726
5dd1713e
CY
77272012-04-15 Chong Yidong <cyd@gnu.org>
7728
7729 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7730
e6fd457e
CY
77312012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7734 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7735
e153c136
GM
77362012-04-15 Glenn Morris <rgm@gnu.org>
7737
7738 * simple.el (process-file-side-effects): Doc fix.
7739
e6fd457e 77402012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7741
7742 * international/mule-cmds.el (set-language-environment): Doc fix.
7743
3603c3b1
JB
77442012-04-14 Juanma Barranquero <lekktu@gmail.com>
7745
7746 * server.el (server-auth-key, server-generate-key): Doc fixes.
7747 (server-get-auth-key): Doc fix. Use `string-match-p'.
7748 (server-start): Reflow docstring.
7749
e6de100c
LI
77502012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7751
7752 * server.el (server-generate-key): `called-interactively-p'
7753 requires a parameter.
7754
29734c21
MN
77552012-04-14 Michal Nazarewicz <mina86@mina86.com>
7756
7757 * server.el (server-auth-key): New variable.
75f1671a 7758 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7759 (server-start): Use the new variable and functions to allow
7760 setting a permanent server key (bug#9423).
7761
d65c9521
LL
77622012-04-14 Leo Liu <sdl.web@gmail.com>
7763
7764 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7765
5ae255c7
PE
77662012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7767
7768 Spelling fixes.
7769 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7770 Emacs uses American spelling.
7771
d5e6342e
JB
77722012-04-14 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7775 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7776 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7777 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7778
ab036cd7
SM
77792012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * progmodes/which-func.el (which-func-modes): Change default.
7782
35dc09a1 77832012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7784
7785 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7786 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7787
35dc09a1 77882012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7789
7790 * custom.el (custom-theme-set-variables): Doc fix.
7791
35dc09a1 77922012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7793
7794 * international/mule.el (set-auto-coding-for-load): Doc fix.
7795
35dc09a1 77962012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7797
35dc09a1
GM
7798 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7799 imenu work again for Objective C Mode. Correct the *-index values,
7800 these having been disturbed by a previous change in 2011-08.
57f845ee 7801
0de3da9f
AM
7802 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7803 Correct two search limits.
7804
35dc09a1 78052012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7806
7807 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7808
35dc09a1 78092012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7810
7811 * international/characters.el: Fix sorting.
7812
35dc09a1 78132012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7814
7815 * international/characters.el: Add more missing Latin case pairs.
7816
35dc09a1 78172012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7818
7819 * files.el (dir-locals-set-class-variables): Doc fix.
7820
35dc09a1 78212012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7822
3f1b5bf8
EZ
7823 * international/characters.el: Add set-case-syntax-pair call for
7824 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7825 counterpart. (Bug#11209)
7826
9f847f41
EZ
7827 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7828
35dc09a1 78292012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7830
7831 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7832
35dc09a1 78332012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7834
35dc09a1
GM
7835 * textmodes/ispell.el (ispell-dictionary-base-alist):
7836 Add data for Hebrew.
e2627d21 7837
35dc09a1 78382012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7839
35dc09a1
GM
7840 * net/rcirc.el (rcirc-cmd-quit):
7841 Revert 2012-03-18 change (Bug#11192).
5c14e333 7842
35dc09a1 78432012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7844
7845 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7846
35dc09a1 78472012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7848
4517fe3a
SM
7849 * minibuffer.el (completion-in-region-mode-map):
7850 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7851
b472a594
VD
78522012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7853
7854 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7855
09b95ce3
MY
78562012-04-13 Masatake YAMATO <yamato@redhat.com>
7857
7858 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7859 to allow `C-M-f' and `C-M-b' to move to the nearest path
7860 separator (bug#9511).
7861
4b63a9ca
LI
78622012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7863
7864 * avoid.el: Require cl when compiling. And also move the
7865 `provide' to the end.
7866
7b55b8bf
TV
78672012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7868
7869 * avoid.el (mouse-avoidance-banish-position): New variable.
7870 (mouse-avoidance-banish-destination): Use it (bug#10165).
7871
adedaa1f
LL
78722012-04-13 Leo Liu <sdl.web@gmail.com>
7873
7874 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7875
70e74021
KB
78762012-04-13 Ken Brown <kbrown@cornell.edu>
7877
7878 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7879 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7880 (browse-url-filename-alist): For the same reason, don't modify
7881 file:// URLs on Cygwin.
7882
e75e89ba
SM
78832012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7886 the region on shift if the binding is already shifted (bug#11221).
7887
82f289a4
GM
78882012-04-12 Glenn Morris <rgm@gnu.org>
7889
7890 * mail/mailpost.el: Move to obsolete/.
7891
d333dc4c
DA
78922012-04-12 Drew Adams <drew.adams@oracle.com>
7893
7894 * imenu.el (imenu--generic-function): Ignore invisible definitions
7895 (bug#10123).
7896
0d15b5ba
VD
78972012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7898
7899 * hexl.el (hexl-bits): New variable.
7900 (hexl-options): Mention the variable in the doc string.
75f1671a 7901 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7902 (hexl-mode): Mention the new variable.
75f1671a
JB
7903 (hexl-mode, hexl-current-address, hexl-current-address):
7904 Use the displen.
0d15b5ba
VD
7905 (hexl-ascii-start-column): New function.
7906 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7907 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7908
64a440db
AM
79092012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7910
7911 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7912 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7913 the encoding, as expected by hunspell.
7914
6decb6c2
SM
79152012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7916
7917 * battery.el (battery--linux-sysfs-regexp): New const.
7918 (battery-status-function): Use it. Remove yeeloong special case.
7919 (battery-yeeloong-sysfs): Remove.
7920 (battery-echo-area-format): Remove yeeloong special case.
7921
088be6fb
SM
79222012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7923
6622e416
SM
7924 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7925 Reported by Noah Friedman.
7926
088be6fb
SM
7927 * subr.el (read-passwd): Use read-string.
7928
b49f886e
LMI
79292012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7930
7931 * vcursor.el (vcursor-move): Increase the priority of the overlay
7932 (bug#9663).
7933
a63067fc
DD
79342012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7935
7936 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7937 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7938
ac3cf14a
WS
79392012-04-11 William Stevenson <yhvh2000@gmail.com>
7940
7941 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7942 define-minor-mode (bug#10760).
7943
c4fc691b 79442012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7945
4d6769e1 7946 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7947 that directories matching `grep-find-ignored-files' won't be
7948 pruned (bug#10351).
7949
af23e2e5
CY
79502012-04-11 Chong Yidong <cyd@gnu.org>
7951
7952 * startup.el (command-line): Remove support for long-obsolete
7953 variable font-lock-face-attributes.
7954
ab7ce8c1
GM
79552012-04-11 Glenn Morris <rgm@gnu.org>
7956
7957 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7958
de8c03dc
SM
79592012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * window.el (window--state-get-1): Obey window-point-insertion-type.
7962
050cc68b
LB
79632012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7964
7965 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7966 to previous function when point is on the first character of a
75f1671a 7967 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7968
a38c310c
GM
79692012-04-11 Glenn Morris <rgm@gnu.org>
7970
effed0c2
GM
7971 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7972 not just file-errors.
7973
a38c310c
GM
7974 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7975 (vc-bzr-sha1): Use internal sha1.
7976
0221e323
SM
79772012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7980
43956923
SG
79812012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7982
7983 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7984 that start in the middle of the line (bug#10496).
7985
6a8c9eaf
DN
79862012-04-10 Dan Nicolaescu <dann@gnu.org>
7987
7988 * battery.el (battery-linux-proc-acpi): Only one battery is
7989 discharged at a time, but that seems to confuse battery.el when
7990 computing `rate-type' for the battery not being discharged
7991 (bug#10332).
7992
1930bf5d
SM
79932012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7994
2a718f6f
SM
7995 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7996
599430d0
SM
7997 * international/quail.el: Use dolist and simplify.
7998 (quail-define-package, quail-update-keyboard-layout)
7999 (quail-define-rules): Use dolist.
8000 (quail-insert-kbd-layout, quail-get-translation): CSE.
8001
a2754b6c
SM
8002 * tmm.el: Use dolist, remove left over hook.
8003 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8004 Use dolist.
8005 (calendar-load-hook): Don't mess with it.
8006
1930bf5d
SM
8007 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8008 Use derived-mode-p. Run the diff asynchronously.
8009
9f67961c
LMI
80102012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8011
8012 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8013
2a8ce227
JB
80142012-04-10 Juanma Barranquero <lekktu@gmail.com>
8015
8016 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8017 (list-dynamic-libraries--loaded): New function.
8018 (list-dynamic-libraries--refresh): Use it.
8019
8f33b5f8
NW
80202012-04-10 Nathan Weizenbaum <nweiz@google.com>
8021
1930bf5d
SM
8022 * progmodes/python.el (python-fill-paragraph):
8023 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8024 disabled (bug#7018).
8025
b12f0439
L
80262012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8027
1930bf5d 8028 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8029 DOS/MS Windows for the Baltic languages. There are still plenty
8030 of texts written in this encoding/codepage (bug#6519).
b12f0439 8031
57c3bd01
GM
80322012-04-10 Glenn Morris <rgm@gnu.org>
8033
8034 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8035 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8036
6c3eab30
FA
80372012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8038
1930bf5d 8039 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8040 next-line "n" and previous-line "p" in order to make recentf more
8041 consistent with ibuffer, dired or org-mode (bug#9387).
8042
24d78a88
LMI
80432012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8044
bc72b5d9
LMI
8045 * image.el (put-image): Return the overlay created instead of the
8046 optional input string (bug#7834). Note that this may break code
8047 that is (for some reason or other) depending on `put-image'
8048 returning the string.
8049
bd2dba5a
LMI
8050 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8051
74beb59f
LMI
8052 * simple.el (zap-to-char): Allow zapping using input methods
8053 (bug#1580).
8054
24d78a88
LMI
8055 * textmodes/fill.el (fill-region): Leave point and mark where they
8056 were before filling (bug#5399).
8057
263f20cd
GM
80582012-04-09 Glenn Morris <rgm@gnu.org>
8059
8060 * version.el (emacs-bzr-get-version):
8061 Handle lightweight checkouts of local branches.
8062
58d1f797
AS
80632012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8064
263f20cd 8065 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8066
b4d3bc10
CY
80672012-04-09 Chong Yidong <cyd@gnu.org>
8068
8069 * custom.el (custom-variable-p): Return nil for non-symbol
8070 arguments instead of signaling an error.
8071 (user-variable-p): Obsolete alias for custom-variable-p.
8072
8073 * apropos.el (apropos-variable):
8074 * files-x.el (read-file-local-variable):
8075 * simple.el (set-variable):
8076 * woman.el (woman-mini-help):
8077 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8078
fd06db5d
GM
80792012-04-09 Glenn Morris <rgm@gnu.org>
8080
e5fcdb5e
GM
8081 * startup.el (normal-top-level): Don't look for leim-list.el
8082 in places where it will not be found. (Bug#910)
8083
fd06db5d
GM
8084 * international/mule-cmds.el (set-default-coding-systems):
8085 * files.el (normal-mode):
8086 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8087 This function was removed with ucs-tables.el in 2008.
8088
b39bb7e1
EZ
80892012-04-08 Eli Zaretskii <eliz@gnu.org>
8090
8091 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8092 ispell-encoding8-command to "-i", without a trailing space.
8093 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8094 separate command-line arguments, to specify the encoding, since
8095 that's how hunspell expects it.
8096
5c5b8e23
GM
80972012-04-08 Glenn Morris <rgm@gnu.org>
8098
8099 * loadup.el: Load bindings before cus-start.
8100 This reduces somewhat the number of "rogue" settings in emacs -Q.
8101
a1ed8b05
GM
81022012-04-07 Glenn Morris <rgm@gnu.org>
8103
8104 * version.el (emacs-bzr-get-version): New function.
dfae128a 8105 (emacs-bzr-version): New variable.
a1ed8b05
GM
8106 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8107 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8108
b142f158
EZ
81092012-04-07 Eli Zaretskii <eliz@gnu.org>
8110
dfae128a
GM
8111 * international/uni-bidi.el, international/uni-category.el:
8112 * international/uni-combining.el, international/uni-decimal.el:
8113 * international/uni-decomposition.el, international/uni-digit.el:
8114 * international/uni-lowercase.el, international/uni-mirrored.el:
8115 * international/uni-name.el, international/uni-numeric.el:
8116 * international/uni-titlecase.el, international/uni-uppercase.el:
8117 Update for Unicode 6.1.
b142f158 8118
9078ead6
EZ
81192012-04-07 Eli Zaretskii <eliz@gnu.org>
8120
8121 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8122
f23d2c7d
LMI
81232012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8124
8125 * window.el (shrink-window): Mention the `window-min-height'
8126 variable in the doc string.
8127
0a0a3573
BG
81282012-04-05 Bastien Guerry <bzg@altern.org>
8129
8130 * color.el (color-lighten-name): Fix typo.
8131
e5248ac9
SM
81322012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8133
8134 * server.el (server--on-display-p): New function.
8135 (server--on-display-p): Use it.
8136
b4243e22
GV
81372012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8138
8139 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8140 (bug#11145).
8141
305d9f44
SM
81422012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * comint.el (comint--common-quoted-suffix): Check string boundary
8145 before comparing (bug#11158).
8146 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8147
3d439cd1
CY
81482012-04-04 Chong Yidong <cyd@gnu.org>
8149
321cc491
CY
8150 * minibuffer.el (completion-extra-properties): Doc fix.
8151
3d439cd1
CY
8152 * subr.el (delayed-warnings-hook): Doc fix.
8153
2d562c0f
DU
81542012-04-04 Daiki Ueno <ueno@unixuser.org>
8155
8156 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8157 selection (Bug#11159).
8158 (epa-insert-keys): Inform that the default public key will be
8159 exported if no key is selected.
8160
4443f204
RS
81612012-04-04 Richard Stallman <rms@gnu.org>
8162
8163 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8164
529c06b6
CY
81652012-04-03 Chong Yidong <cyd@gnu.org>
8166
8167 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8168 mail-insert-file, not its obsolete alias mail-attach-file.
8169
66b907dc
MA
81702012-04-03 Michael Albinus <michael.albinus@gmx.de>
8171
8172 * notifications.el (notifications-notify): Fix docstring.
8173
c0ea195d
GM
81742012-04-02 Glenn Morris <rgm@gnu.org>
8175
8176 * emacs-lisp/authors.el (authors-aliases): Another addition.
8177
5ca64e00
MA
81782012-04-02 Michael Albinus <michael.albinus@gmx.de>
8179
8180 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8181 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8182 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8183
42ee526b
CY
81842012-04-01 Chong Yidong <cyd@gnu.org>
8185
8186 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8187 Handle root directory properly.
8188 (copy-directory): Caller changed.
8189
8190 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8191 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8192
0b021094
GM
81932012-03-31 Glenn Morris <rgm@gnu.org>
8194
40f86458
GM
8195 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8196
7019c177
GM
8197 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8198
a1daddd6
GM
8199 * calendar/calendar.el (calendar-window-list)
8200 (calendar-hide-window): Restore. (Bug#11140)
8201 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8202
0b021094
GM
8203 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8204
40311efc
TV
82052012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8206
8207 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8208 Check if file is a symlink (Bug#10489).
8209
8210 * files.el (copy-directory): Likewise.
8211
5319014e
CY
82122012-03-30 Chong Yidong <cyd@gnu.org>
8213
8214 * image.el (imagemagick-types-inhibit)
8215 (imagemagick-register-types): Doc fix.
8216
935d1290
AM
82172012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8218
090bd7cb 8219 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8220 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8221 and treats ~word as ordinary words in pipe mode.
935d1290 8222
61c6e8fd
GM
82232012-03-30 Glenn Morris <rgm@gnu.org>
8224
8225 * tutorial.el (help-with-tutorial): Ensure local variables don't
8226 happen to make the buffer read-only. (Bug#11127)
8227
81fdff00
SM
82282012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8231 (perl-calculate-indent): Return `noindent' in strings.
8232
6e7a6ec0
SS
82332012-03-28 Sam Steingold <sds@gnu.org>
8234
8235 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8236 instead of the broken adhockery which does not prevent calendar
8237 buffers from being displayed at random after exit.
8238 (calendar-window-list, calendar-hide-window): Remove the broken
8239 adhockery.
8240
fee88ca0
GM
82412012-03-28 Glenn Morris <rgm@gnu.org>
8242
8243 * replace.el (query-replace-map): Doc fix.
8244
38de3354
AS
82452012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8246
8247 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8248 contents. (Bug#11109)
8249
b973155e
SM
82502012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8251
8252 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8253 (bug#11077).
8254 (avl-tree--check, avl-tree--check-node): New funs.
8255
dcb6e7b3
MR
82562012-03-27 Martin Rudalics <rudalics@gmx.at>
8257
8258 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8259 (switch-to-prev-buffer, switch-to-next-buffer):
8260 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8261 showing a buffer already is done on the same frame.
8262
b4fa35fa
GM
82632012-03-27 Glenn Morris <rgm@gnu.org>
8264
8265 * startup.el (mail-host-address): Doc fix.
8266
f9210e18
SM
82672012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8270 than 197 variables.
8271
c0bf7753
AF
82722012-03-26 Ami Fischman <ami@fischman.org>
8273
8274 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8275
33da7b16
GM
82762012-03-26 Glenn Morris <rgm@gnu.org>
8277
02243d9d
GM
8278 * files.el (save-buffers-kill-emacs): Doc fix.
8279
33da7b16
GM
8280 * startup.el (normal-top-level, command-line, command-line-1):
8281 Give them doc strings.
8282
e5a69fd0
EZ
82832012-03-25 Eli Zaretskii <eliz@gnu.org>
8284
8285 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8286 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8287
9a69676a
CY
82882012-03-25 Chong Yidong <cyd@gnu.org>
8289
4125cb8b
CY
8290 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8291 theme if it was previously enabled before (Bug#11031).
8292
dd470960
CY
8293 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8294 spec with custom-face-get-current-spec if its :shown-value is not
8295 determined yet (Bug#9337).
4125cb8b 8296 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8297
9a69676a
CY
8298 * button.el (button-at): Minor addition to docstring.
8299
6e7e90fa
SL
83002012-03-24 Simon Leinen <simon.leinen@gmail.com>
8301
8302 * vc/vc.el (vc-merge): Fix a prompt.
8303
f06e2758
CY
83042012-03-24 Chong Yidong <cyd@gnu.org>
8305
8306 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8307 point (Bug#9623).
8308
6e7e90fa
SL
8309 * button.el (button-at): Minor addition to docstring.
8310
b9d0879b
SM
83112012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8312
8313 * newcomment.el (comment-choose-indent): No space after BOL.
8314
e71cebb3
SS
83152012-03-22 Sam Steingold <sds@gnu.org>
8316
8317 * window.el (switch-to-prev-buffer): Revert last patch because the
8318 bug turned out to be an advertised feature (Elisp manual 28.14).
8319
335aff35
GM
83202012-03-22 Glenn Morris <rgm@gnu.org>
8321
8322 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8323 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8324
c676576a
LMI
83252012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8326
8327 * net/network-stream.el (network-stream-open-starttls): Make error
8328 message under Windows be less misleading.
8329
126f3d39
LW
83302012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8331
8332 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8333 understands (bug#9942).
8334
64fee311
CY
83352012-03-22 Chong Yidong <cyd@gnu.org>
8336
8337 * simple.el (end-of-visible-line): Handle return value of
8338 next-single-property-change properly (Bug#9371).
8339
a640d29a
KH
83402012-03-22 Kenichi Handa <handa@m17n.org>
8341
8342 * international/quail.el (quail-insert-kbd-layout): Fix previous
8343 change. To avoid unwanted bidi reordering, use
8344 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8345
39675016
DG
83462012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8347
8348 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8349 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8350 (ruby-beginning-of-indent): Be more careful with the difference
8351 between word-boundary and symbol boundary.
8352 (ruby-mode-syntax-table): Make : a symbol constituent.
8353
0a6934fc 83542012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8355
3d008e4f
SM
8356 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8357
0a6934fc
SM
83582012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8359
af67c9d7
SM
8360 * progmodes/etags.el (tags-completion-at-point-function):
8361 Improve last fix.
8362
1acad97c
SM
8363 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8364
e298b5da
SS
83652012-03-21 Sam Steingold <sds@gnu.org>
8366
8367 * progmodes/etags.el (tags-completion-at-point-function):
8368 Avoid the error when point is inside the pattern.
8369
91d82a70
JY
83702012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8371
8372 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8373 line (Bug#10855).
8374
69188b79
CY
83752012-03-21 Drew Adams <drew.adams@oracle.com>
8376
8377 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8378
99fc91fe
AK
83792012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8380
8381 * ido.el (ido-set-current-directory, ido-read-internal)
8382 (ido-choose-completion-string, ido-completion-help): Handle nil
8383 value of ido-completion-buffer (Bug#11008).
8384
087bbb4c
SS
83852012-03-21 Sam Steingold <sds@gnu.org>
8386
8387 * window.el (switch-to-prev-buffer): Do not switch to a visible
8388 window previous buffer, just like with the frame previous buffers.
8389
fb5b8aca
CY
83902012-03-21 Chong Yidong <cyd@gnu.org>
8391
8392 * faces.el (make-face, make-empty-face, copy-face):
8393 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8394 Doc fixes.
8395
dc9924b8
SM
83962012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8397
8398 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8399 (widget-complete): Remove broken use of it.
8400
f0bcceb9
CY
84012012-03-20 Chong Yidong <cyd@gnu.org>
8402
dc9924b8
SM
8403 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8404 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8405 characters.
8406
ee52ebf3
TH
84072012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8408
8409 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8410 to draw rectangles, not squares. (Regression introduced by revno
8411 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8412
4c5779ab
CY
84132012-03-18 Chong Yidong <cyd@gnu.org>
8414
8415 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8416 it is not yet defined (for temacs).
8417
15360934
LL
84182012-03-18 Leo Liu <sdl.web@gmail.com>
8419
dc9924b8 8420 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 8421
d9a8eb66
EZ
84222012-03-17 Eli Zaretskii <eliz@gnu.org>
8423
8424 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8425 (ispell-choices-win-default-height, ispell-silently-savep)
8426 (ispell-dictionary-alist, ispell-encoding8-command)
8427 (ispell-check-version, ispell-aspell-find-dictionary)
8428 (ispell-valid-dictionary-list, ispell-words-keyword)
8429 (ispell-get-word, ispell-internal-change-dictionary)
8430 (ispell-region, ispell-skip-region-list)
8431 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8432 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8433 (ispell-message-text-end, ispell-message)
8434 (ispell-buffer-local-parsing): Doc fix.
8435
f02ff80d
J
84362012-03-13 Jambunathan K <kjambunathan@gmail.com>
8437
8438 * htmlfontify.el: Add support for code block fontification for ODT
8439 export (Bug #9914).
8440 (hfy-optimisations): Define new option
8441 `body-text-only'
8442 (hfy-fontify-buffer): Honor above setting.
8443 (hfy-begin-span, hfy-end-span): New routines factored out form
8444 `hfy-fontify-buffer'.
8445 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8446 that permit insertion of custom tags.
8447 (hfy-fontify-buffer): Use above handlers.
8448 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8449 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8450 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8451 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8452 bind a special variable `hfy-user-sheet-assoc'.
8453 (htmlfontify-string): New defun.
8454 (hfy-compile-face-map): Make sure that the last char in the
8455 buffer is correctly fontified.
8456 (hfy-face-resolve-face): Whitespace only change.
8457
9ac7a13f
EZ
84582012-03-17 Eli Zaretskii <eliz@gnu.org>
8459
8460 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8461 message more clear.
8462
e2b5bdd7
LL
84632012-03-16 Leo Liu <sdl.web@gmail.com>
8464
8465 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8466
2e492df3
AM
84672012-03-16 Alan Mackenzie <acm@muc.de>
8468
8469 Further optimise the handling of large macros.
8470
8471 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8472 limit to a call of `c-literal-limits'.
8473 (c-determine-+ve-limit): New function.
dc9924b8
SM
8474 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8475 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8476 In CASE 5B, restrict a search limit to 500.
8477 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8478
8479 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8480 Restrict macro bounds to +-500 from after-change's BEG END.
8481
50e94f0c
LL
84822012-03-16 Leo Liu <sdl.web@gmail.com>
8483
8484 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8485
6f09f6ed
AH
84862012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8487
8488 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8489 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8490
c7e73d51
GM
84912012-03-16 Glenn Morris <rgm@gnu.org>
8492
da986230
GM
8493 * view.el (view-buffer, view-buffer-other-window)
8494 (view-buffer-other-frame): Doc fixes re special mode-class.
8495
0835f01e
GM
8496 * subr.el (eval-after-load): If named feature is provided not from
8497 a file, run after-load forms. (Bug#10946)
8498
c7e73d51
GM
8499 * calendar/calendar.el (calendar-insert-at-column):
8500 Handle non-unit-width characters a bit better. (Bug#10978)
8501
3f2eafd1
CY
85022012-03-15 Chong Yidong <cyd@gnu.org>
8503
8504 * emacs-lisp/ring.el (ring-extend): New function.
8505 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8506
8507 * comint.el (comint-read-input-ring)
8508 (comint-add-to-input-history): Grow comint-input-ring lazily.
8509
103af3fe
SM
85102012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8511
663b1677
SM
8512 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8513 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8514
103af3fe
SM
8515 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8516 (imenu-add-to-menubar): Don't add a redundant index.
8517 (imenu-update-menubar): Handle a dynamically composed keymap.
8518
899cb7cb
KY
85192012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8520
8521 * mail/sendmail.el (mail-encode-header):
8522 Bind rfc2047-encode-encoded-words to nil.
8523
3809f91d
GM
85242012-03-13 Glenn Morris <rgm@gnu.org>
8525
8526 * calendar/calendar.el (calendar-string-spread):
8527 Handle non-unit-width characters a bit better. (Bug#10978)
8528
9e345a01
LL
85292012-03-13 Leo Liu <sdl.web@gmail.com>
8530
8531 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8532 directory and file as argument (Bug#10822).
8533
4a07df36
KS
85342012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8535
8536 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8537 For dynamically generated code, follow $PC.
8538 (gdb-disassembly-handler-custom): Handle no function name case.
8539
4aaa9356
TL
85402012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8541
8542 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8543 * emulation/ws-mode.el (ws-query-replace):
8544 * sort.el (sort-regexp-fields):
8545 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8546
225979da
SM
85472012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8548
8549 * dabbrev.el: Fix cycle completion order (bug#10963).
8550 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8551 (dabbrev-completion): Don't use an obarray; provide
8552 a cycle-sort-function.
8553
e2f1fdab
LL
85542012-03-12 Leo Liu <sdl.web@gmail.com>
8555
dc9924b8 8556 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8557 (kill-do-not-save-duplicates): Doc fix.
8558
b19490ed
SM
85592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * dabbrev.el: Fix cycle completion (bug#10963).
8562 Use lexical binding and wrap to 80 columns.
8563 (dabbrev-completion): Delay computing the list of completions.
8564
4b05d722
KH
85652012-03-12 Kenichi Handa <handa@m17n.org>
8566
8567 * international/quail.el (quail-insert-kbd-layout): Surround each
8568 row by LRO and PDF instead of inserting many LRMs. Pad the left
8569 and right of each non-spacing marks. Insert invisible space
8570 between lower and upper characters to prevent composition.
8571
dbbc2e69
SM
85722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * minibuffer.el (minibuffer-complete): Don't get confused when the
8575 function is run twice via different commands (bug#10958).
8576 (complete-with-action): Fix docstring.
8577
292112ed
CY
85782012-03-12 Chong Yidong <cyd@gnu.org>
8579
5d1ac394
CY
8580 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8581 (nxml-completion-at-point-function): New function.
8582 (nxml-mode): Use it.
8583 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8584
292112ed
CY
8585 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8586 Load generated autoloads file before byte compiling (Bug#10970).
8587 (package--make-autoloads-and-compile): New helper fun.
8588
4098f8f7
CS
85892012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8590
8591 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8592
8f754691
MA
85932012-03-11 Michael Albinus <michael.albinus@gmx.de>
8594
8595 * autorevert.el (auto-revert-handler): Ensure, that
8596 file-readable-p is applied only for local files or in
8597 auto-revert-tail-mode.
8598
e29ab36b
AS
85992012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8600
dbbc2e69
SM
8601 * server.el (server-eval-at): Handle non-tcp connections.
8602 Decode result string.
ad0bf5b6 8603
e29ab36b
AS
8604 * server.el (server-msg-size): New constant.
8605 (server-reply-print): New function.
8606 (server-eval-and-print): Use it.
8607 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8608 Handle -print-nonl.
8609
de5939ba
CS
86102012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8611
8612 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8613 (Bug#10987).
8614
0c93eabf
CY
86152012-03-11 Chong Yidong <cyd@gnu.org>
8616
397a688f
CY
8617 * simple.el (goto-line): Doc fix (Bug#9938).
8618
2cc775f9
CY
8619 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8620
0c93eabf
CY
8621 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8622 when finished (Bug#10963).
8623
c491fa41
MR
86242012-03-11 Martin Rudalics <rudalics@gmx.at>
8625
8626 * window.el (split-window-below): Fix bug in case where
8627 split-window-keep-point is nil (Bug#10971).
8628
300e8fa5
JL
86292012-03-11 Juri Linkov <juri@jurta.org>
8630
8631 * replace.el (replace-highlight): Set isearch-word to nil
8632 unconditionally. (Bug#10887)
8633
dbf6c5a1
EZ
86342012-03-10 Eli Zaretskii <eliz@gnu.org>
8635
8636 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8637 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8638 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8639 (mairix-widget-create-query): Add usage information about mairix
8640 search forms: negating words, searching for substrings, etc.
8641
b9e501de
JP
86422012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8643
8644 * international/fontset.el (font-encoding-alist): Add an entry for
8645 ksx1001 (Bug#5667).
8646
92795c91
RS
86472012-03-10 Richard Stallman <rms@gnu.org>
8648
1694e6c1
RS
8649 * mail/sendmail.el (mail-encode-header):
8650 Set rfc2047-encode-encoded-words.
8651
607e8555
RS
8652 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8653
de3bc99a
RS
8654 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8655 view buffer means not swapped.
8656 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8657 (rmail-write-region-annotate): Error if real text has disappeared.
8658
92795c91
RS
8659 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8660
699bd04e
CY
86612012-03-10 Chong Yidong <cyd@gnu.org>
8662
8663 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8664 * emulation/cua-base.el (cua--init-keymaps):
8665 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8666
570a1714
MR
86672012-03-10 Martin Rudalics <rudalics@gmx.at>
8668
dbbc2e69
SM
8669 * speedbar.el (speedbar-unhighlight-one-tag-line):
8670 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8671
82dcf4e4
CY
86722012-03-10 Chong Yidong <cyd@gnu.org>
8673
7a2c7ca7
CY
8674 * minibuffer.el (completion-in-region, completion-help-at-point):
8675 Give the completion field overlay a high priority (Bug#6830).
8676
82dcf4e4
CY
8677 * dired.el (dired-goto-file): Recognize absolute file name
8678 listings (Bug#7126).
8679 (dired-goto-file-1): New helper function.
8680 (dired-toggle-read-only): Inhibit warnings.
8681
052e28ac
MA
86822012-03-09 Michael Albinus <michael.albinus@gmx.de>
8683
75f1671a 8684 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8685 there are no properties.
8686
95d5e396
LL
86872012-03-09 Leo Liu <sdl.web@gmail.com>
8688
8689 * savehist.el (savehist-printable): Stricter check for string
8690 value (Bug#10937).
8691
3f018d6d
EZ
86922012-03-09 Eli Zaretskii <eliz@gnu.org>
8693
dbbc2e69
SM
8694 * mail/smtpmail.el (smtpmail-send-it):
8695 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8696 valid mbox format.
8697
f7fd3d79
GM
86982012-03-09 Glenn Morris <rgm@gnu.org>
8699
8700 * files.el (dir-locals-find-file):
8701 Don't check result is regular, readable.
8702 (dir-locals-read-from-file): Demote errors.
8703
6ff6e72f
EZ
87042012-03-08 Eli Zaretskii <eliz@gnu.org>
8705
dbbc2e69
SM
8706 * international/quail.el (quail-insert-kbd-layout):
8707 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8708 layout cell, to prevent their reordering by bidi display engine.
8709 For details, see the discussion in
8710 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8711
9cec7834
AM
87122012-03-08 Alan Mackenzie <acm@muc.de>
8713
8714 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8715 the starting position; make it extend the marked region when
8716 invoked repeatedly - all under appropriate circumstances.
8717 Fixes bugs #5525, #10906.
8718
9a40b8d4
GM
87192012-03-08 Glenn Morris <rgm@gnu.org>
8720
8721 * files.el (locate-dominating-file, dir-locals-find-file):
8722 Undo 2012-03-06 change.
8723
7a08ed35
EZ
87242012-03-07 Eli Zaretskii <eliz@gnu.org>
8725
dbbc2e69
SM
8726 * international/quail.el (quail-help):
8727 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8728 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8729 for the reason.
8730
5aca4f71 87312012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8732
8733 Avoid superfluous registering of signals. (Bug#10807)
8734
8735 * notifications.el (notifications-on-action-object)
8736 (notifications-on-close-object): New defvars.
8737 (notifications-on-action-signal, notifications-on-closed-signal):
8738 Unregister the signal if not needed any longer.
8739 (notifications-notify): Register `notifications-action-signal' or
8740 `notifications-closed-signal', if :on-action or :on-close has been
8741 passed as argument.
8742
78e8b10a
CY
87432012-03-07 Chong Yidong <cyd@gnu.org>
8744
8745 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8746 non-X platforms.
8747
69481eb8
GM
87482012-03-06 Glenn Morris <rgm@gnu.org>
8749
8750 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8751 (x-disown-selection-internal, x-get-selection-internal):
8752 Doc fix (add arglist signatures). (Bug#10783)
8753
133b8e11
KS
87542012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8755
8756 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8757 Handle breakpoints with no "type".
8758
99a83064
GM
87592012-03-06 Glenn Morris <rgm@gnu.org>
8760
8761 * files.el (locate-dominating-file): Add optional predicate argument.
8762 (dir-locals-find-file): Make use of above change.
8763
17798e78
TTN
87642012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8765
8766 * info.el (Info-insert-dir): Also try "dir.gz".
8767
eb182446
GM
87682012-03-06 Glenn Morris <rgm@gnu.org>
8769
8f2114ee
GM
8770 * files.el (dir-locals-find-file):
8771 Ignore non-readable or non-regular files. (Bug#10928)
8772
eb182446
GM
8773 * files.el (locate-dominating-file): Doc fix.
8774
24679323
AS
87752012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8776
8777 * calendar/calendar.el (calendar-set-mode-line):
8778 `getenv' returns a string. (Bug#10951)
8779
01d972a9
LL
87802012-03-05 Leo Liu <sdl.web@gmail.com>
8781
109aa8a9
LL
8782 * simple.el (backward-delete-char-untabify): Constrain point to
8783 field (Bug#10939).
8784
01d972a9
LL
8785 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8786
10607bea
CY
87872012-03-05 Chong Yidong <cyd@gnu.org>
8788
8789 * simple.el (count-words): If called from Lisp, return the word
8790 count, for symmetry with `count-lines'. Arglist changed.
8791 (count-words--message): Args changed. Consolidate counting code
8792 from count-words and count-words-region.
8793 (count-words-region): Caller changed.
8794 (count-lines-region): Make it an obsolete alias.
8795
5dd11cfe
TH
87962012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8797
8798 * saveplace.el (save-place-to-alist)
8799 (save-place-ignore-files-regexp): Allow value nil to disable this
8800 feature.
8801
c349f4e6
CY
88022012-03-04 Chong Yidong <cyd@gnu.org>
8803
8804 * faces.el (face-spec-reset-face): For the default face, reset the
8805 attributes to default values (Bug#10748).
8806
e627be4c
LMI
88072012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8808
8809 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8810 previous patch: Check `message-send-mail-function', and not the
8811 default function (bug#10897).
8812
ebeabff4
MA
88132012-03-04 Michael Albinus <michael.albinus@gmx.de>
8814
a41a6cf4
MA
8815 * notifications.el (notifications-on-action-signal)
8816 (notifications-on-closed-signal): Check for unique service name of
8817 incoming event. Fix error in removing entry.
ebeabff4 8818 (top): Register for signals with wildcard service name.
a41a6cf4 8819 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8820
c1ca42b4
CY
88212012-03-04 Chong Yidong <cyd@gnu.org>
8822
dc9924b8 8823 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8824
ea16568d
GM
88252012-03-04 Glenn Morris <rgm@gnu.org>
8826
8827 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8828 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8829 (expand-abbrev, define-abbrev-table): Doc fixes.
8830
fbae4637
LMI
88312012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8832
8833 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8834 `message-default-send-mail-function' and not `send-mail-function'
8835 when doing the prompting for `sendmail-query-once' before sending
8836 in Message buffers (bug#10897).
8837
a1e7225c
LMI
8838 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8839 This is inconsistent with all the other stream functions, which leave
8840 the setting up to the higher levels (if so wanted) (bug#10931).
8841
56d093a9
AM
88422012-03-02 Alan Mackenzie <acm@muc.de>
8843
8844 Depessimize the handling of very large macros.
8845
8846 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8847 (c-macro-cache-syntactic): New variables to implement a one
8848 element macro cache.
8849 (c-invalidate-macro-cache): New function.
8850 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8851 Adapt to use the new cache.
8852 (c-state-safe-place): Use better the cache of safe positions.
8853 (c-state-semi-nonlit-pos-cache)
8854 (c-state-semi-nonlit-pos-cache-limit):
8855 New variables for...
8856 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8857 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8858 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8859 Use c-state-semi-safe-place.
56d093a9 8860
dbbc2e69
SM
8861 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8862 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8863
817e5c3d
MA
88642012-03-02 Michael Albinus <michael.albinus@gmx.de>
8865
dbbc2e69
SM
8866 * jka-compr.el (jka-compr-call-process):
8867 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8868 not remote.
8869
a032a702
MA
88702012-03-01 Michael Albinus <michael.albinus@gmx.de>
8871
8872 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8873 access of FILE2, if FILE1 does not exist.
8874
99a54f21
MA
8875 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8876 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8877
8878 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8879 Add "PAGER=" to `process-environment'.
8880
f6561e1f
MM
88812012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8882
8883 * progmodes/sql.el: Bug fix
8884 (sql-get-login-ext): Save login values in globals.
8885 (sql-get-login): Use new version of `sql-get-login-ext'.
8886 (sql-interactive-mode): Set global `sql-connection' to nil.
8887 (sql-connect): Set global values for connection.
8888 (sql-product-interactive): Save global values as buffer local.
8889
2d44d9cc
LL
88902012-02-29 Leo Liu <sdl.web@gmail.com>
8891
8892 * abbrev.el (define-abbrevs): Reset sys to nil.
8893
96b49301 88942012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8895
bf7f9bc5
JB
8896 * files.el (file-equal-p): Rename from `files-equal-p'.
8897 Return nil when one or both files don't exist.
96b49301 8898 (file-subdir-of-p): Now only top directory must exists,
8899 return nil if it doesn't.
bf7f9bc5
JB
8900 (copy-directory): No need to test with `file-subdir-of-p' after
8901 creating dir.
8902 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8903 to `file-equal-p'.
96b49301 8904
44e97401
GM
89052012-02-28 Glenn Morris <rgm@gnu.org>
8906
8907 * shell.el (shell-mode):
8908 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8909 * play/landmark.el (landmark-font-lock-face-O):
8910 * play/handwrite.el (handwrite):
8911 * play/gomoku.el (gomoku-O):
8912 * net/browse-url.el (browse-url-browser-display):
8913 * international/mule.el (define-charset):
8914 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8915 * filesets.el (filesets-find-file-delay):
8916 * eshell/em-xtra.el (eshell-xtra):
8917 * eshell/em-unix.el (eshell-grep):
8918 * emulation/viper.el (viper-mode):
8919 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8920 * emacs-lisp/easymenu.el (easy-menu-define):
8921 * calendar/timeclock.el (timeclock-use-display-time):
8922 * bs.el (bs-mode):
8923 * bookmark.el (bookmark-save-flag):
8924 Doc fix (standardize possessive apostrophe usage).
8925
c98c6276
CY
89262012-02-27 Chong Yidong <cyd@gnu.org>
8927
bf7f9bc5
JB
8928 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8929 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8930
c98c6276
CY
8931 * font-lock.el (font-lock-specified-p): Rename from
8932 font-lock-spec-present. Callers changed.
8933
9c62cd04 89342012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8935
bf7f9bc5
JB
8936 * emacs-lisp/package.el (package-compute-transaction):
8937 Handle holding a package version to t in package-load-list.
8ac9e529 8938
530739c9
MA
89392012-02-26 Michael Albinus <michael.albinus@gmx.de>
8940
8941 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8942 (tramp-get-inode, tramp-get-device): Use cached values.
8943
487915d7
AM
89442012-02-26 Alan Mackenzie <acm@muc.de>
8945
8946 Check there is a font-lock specification before doing initial
8947 fontification.
8948
8949 * font-core.el (font-lock-mode): Move the conditional from
8950 :after-hook to font-lock-initial-fontify.
8951 (font-lock-default-function): Move the check for a specification
8952 to font-lock-spec-present.
8953
dc9924b8 8954 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8955 (font-lock-spec-present): New function.
8956
4fd96557
JB
89572012-02-26 Jim Blandy <jimb@red-bean.com>
8958
8959 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8960 (gdb-send): Apply it to the operand of the '-interpreter-exec
8961 console' command, so that we can pass arguments with (say) quotes
8962 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8963
9a4888c0
CY
89642012-02-26 Chong Yidong <cyd@gnu.org>
8965
07498861
CY
8966 * help-fns.el (describe-function-1): Clarify description of
8967 remapping (Bug#10844).
8968
9a4888c0
CY
8969 * files.el (files-equal-p): Doc fix.
8970 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8971 and quit the loop once a mismatch is found.
8972
ea8fb88d
JB
89732012-02-25 Juanma Barranquero <lekktu@gmail.com>
8974
8975 * bs.el (bs--show-with-configuration): Don't throw an error
8976 if the window cannot be split; otherwise, subsequent calls to
8977 bs-show fail, restoring a stale window config. (Bug#10882)
8978
525795c1
JD
89792012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8980
8981 * term/ns-win.el (global-map): Bind ns-drag-file to
8982 ns-find-file (Bug#5855, Bug#10050).
8983
f008086f
AS
89842012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8985
8986 * calendar/parse-time.el (parse-time-string): Allow extractor to
8987 return nil.
8988
a3fcfa99
MA
89892012-02-25 Michael Albinus <michael.albinus@gmx.de>
8990
91027d08
JB
8991 * net/tramp.el (tramp-file-name-for-operation):
8992 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8993
8994 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8995 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8996 Add COPY-CONTENTS argument.
a3fcfa99 8997
67b0de11
CY
89982012-02-25 Chong Yidong <cyd@gnu.org>
8999
9000 Add custom groups for VC backends, for consistency with vc-bzr.
9001
9002 * vc/vc-arch.el (vc-arch):
9003 * vc/vc-cvs.el (vc-cvs):
9004 * vc/vc-git.el (vc-git):
9005 * vc/vc-hg.el (vc-hg):
9006 * vc/vc-mtn.el (vc-mtn):
9007 * vc/vc-rcs.el (vc-rcs):
9008 * vc/vc-sccs.el (vc-sccs):
9009 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9010 All relevant defcustoms reassigned.
9011
3c9dfce6
CY
90122012-02-25 Chong Yidong <cyd@gnu.org>
9013
1339bf43
CY
9014 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9015
3c9dfce6
CY
9016 * term/x-win.el (x-initialize-window-system): Reduce default for
9017 x-selection-timeout to 5 seconds (Bug#8869).
9018
25b2e303 90192012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9020
ec70a47d
GM
9021 * files.el (files-equal-p, file-subdir-of-p): New functions.
9022 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9023 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9024 * dired-aux.el (dired-copy-file-recursive): Same.
9025 (dired-create-files): Modify destination when source is equal to
9026 dest when copying files.
53a46cd0 9027 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9028
914260cd
MA
90292012-02-24 Michael Albinus <michael.albinus@gmx.de>
9030
9031 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9032 (Bug#10874)
9033
2cb228f7
AM
90342012-02-23 Alan Mackenzie <acm@muc.de>
9035
9036 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9037 parameter "after-hook:" to allow the expansion to run code after
9038 the execution of the mode hooks.
9039
9040 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9041 from font-lock-mode-internal.
2cb228f7 9042
91027d08 9043 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9044 :after-hook.
9045
8f0fde21
SM
90462012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9047
3e88618b
SM
9048 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9049 (completion--cache-all-sorted-completions): New function.
9050 (completion-all-sorted-completions): Use it.
9051 (completion--do-completion, minibuffer-force-complete):
9052 Use it to re-instate the flush hook.
9053
8f0fde21
SM
9054 * icomplete.el (icomplete-completions): Replace last fix with a better
9055 one (bug#10850).
9056
8e911f6f
DG
90572012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9058
9059 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9060 when it might call us back infinitely (bug#10797).
9061
49fe4321
GM
90622012-02-23 Glenn Morris <rgm@gnu.org>
9063
9064 * minibuffer.el (completion-category-overrides): Doc fix.
9065
b291b572
SM
90662012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9069 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9070
31a9ef2e
GM
90712012-02-23 Glenn Morris <rgm@gnu.org>
9072
5e6e6794 9073 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9074 (authors-obsolete-files-regexps, authors-ignored-files)
9075 (authors-ambiguous-files, authors-renamed-files-alist):
9076 Add more entries.
9077
0bd1e074
JL
90782012-02-23 Juri Linkov <juri@jurta.org>
9079
9080 * isearch.el (isearch-occur): Sync interactive spec with occur's
9081 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9082
b617673c
JL
9083 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9084
19e9789e
JL
90852012-02-22 Juri Linkov <juri@jurta.org>
9086
9087 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9088 (ucs-insert): Doc fix. Check for hex digits in the string.
9089 Don't display `nil' in the error message. (Bug#10857)
9090
f41ce09d
AM
90912012-02-22 Alan Mackenzie <acm@muc.de>
9092
7a71b18d 9093 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9094
ac2eceee
GM
90952012-02-22 Glenn Morris <rgm@gnu.org>
9096
9097 * ffap.el (ffap-c-path):
9098 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9099
abd1f678
CY
91002012-02-22 Chong Yidong <cyd@gnu.org>
9101
9102 * custom.el (load-theme): Doc fix.
9103
f25aef2e
GM
91042012-02-22 Glenn Morris <rgm@gnu.org>
9105
9106 * dired-x.el (dired-guess-shell-alist-default):
9107 Remove escape sequences from nroff output. (Bug#172)
9108
5f8dc2ca
GM
91092012-02-21 Glenn Morris <rgm@gnu.org>
9110
6ff86ec4
GM
9111 * vc/emerge.el (emerge-defvar-local):
9112 Set `permanent-local' property rather than unused `preserved'.
9113
be3223a3 9114 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9115 (picture-mode-map): Use it. (Bug#10860)
9116 (picture-mode): Doc fix.
9117
3fe58f4f
JB
91182012-02-21 Juanma Barranquero <lekktu@gmail.com>
9119
9120 * newcomment.el (uncomment-region-default): Remove unused binding.
9121
f9a998c3
GM
91222012-02-21 Glenn Morris <rgm@gnu.org>
9123
9124 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9125 (picture-self-insert, picture-tab-chars): Doc fix.
9126 (picture-mode-map): Fix C-a, C-e.
9127
c6029348
GM
91282012-02-20 Glenn Morris <rgm@gnu.org>
9129
9130 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9131
ab1ce9d7
LL
91322012-02-20 Leo Liu <sdl.web@gmail.com>
9133
9134 * icomplete.el (icomplete-completions): Check FROM arg before
9135 passing to substring (Bug#10850).
9136
0fd40f89
CY
91372012-02-19 Chong Yidong <cyd@gnu.org>
9138
9139 * comint.el: Require ansi-color.
9140 (comint-output-filter-functions): Add ansi-color-process-output.
9141
9142 * ansi-color.el: Don't set comint-output-filter-functions; it is
9143 now in the initial value defined in comint.el.
9144 (ansi-color-apply-face-function): New variable.
9145 (ansi-color-apply-on-region): Use it.
9146 (ansi-color-apply-overlay-face): New function.
9147
9148 * shell.el (shell): No need to require ansi-color.
9149 (shell-mode): Use ansi-color-apply-face-function to highlight
9150 color escapes using font-lock-face property (Bug#10835).
9151
20af2394
CY
91522012-02-19 Chong Yidong <cyd@gnu.org>
9153
9154 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9155 mode-line formats (Bug#10839).
9156
e23a3fbe
GM
91572012-02-18 Glenn Morris <rgm@gnu.org>
9158
b474519e
GM
9159 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9160
9161 * mail/undigest.el (unforward-rmail-message): Doc fix.
9162
e23a3fbe
GM
9163 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9164
57939ff4
EZ
91652012-02-18 Eli Zaretskii <eliz@gnu.org>
9166
9167 * international/characters.el (script-list): Sync with the latest
9168 Unicode Character Database.
9169
0c23686e
AS
91702012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9171
9172 * international/titdic-cnv.el: Remove duplicate coding tag.
9173 * language/cham.el: Likewise.
9174 * language/tai-viet.el: Likewise.
9175
6818b449
GM
91762012-02-18 Glenn Morris <rgm@gnu.org>
9177
9178 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9179 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9180 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9181 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9182 * calendar/holidays.el (holiday-bahai-holidays)
9183 (calendar-holidays, list-holidays):
9184 Use utf-8 Bahá'í in doc-strings, menus, etc.
9185
0311a3fc
TH
91862012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9187
9188 * saveplace.el (save-place-ignore-files-regexp): New variable
9189 allowing for excluding files from saving their location of point.
9190 The default value matches the temporary commit message editing
9191 files from Git, SVN, Bazaar, and Mercurial.
9192 (save-place-to-alist): Use it.
9193
d209e2fb 91942012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9195 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9196
9197 * newcomment.el (uncomment-region-default): Don't leave extra space
9198 when an arg is provided (bug#8150).
9199
ee0ce425
TZ
92002012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9201
eb864a71 9202 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9203
95ddf442
GM
92042012-02-17 Glenn Morris <rgm@gnu.org>
9205
9206 * net/socks.el: Require network-stream. (Bug#10599)
9207
48dd1e39 92082012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9209
9210 * international/charprop.el:
9211 * international/uni-name.el:
9212 * international/uni-old-name.el:
9213 * international/uni-comment.el: Regenerate.
9214
d68cd087
GM
92152012-02-16 Glenn Morris <rgm@gnu.org>
9216
9217 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9218 Interactively in calendar buffer, give an error if not on a date.
9219
13932042
GM
92202012-02-15 Glenn Morris <rgm@gnu.org>
9221
9222 * shell.el (shell-delimiter-argument-list):
9223 Revert 2011-02-17 change. (Bug#8027)
9224
c3a70e2b
CY
92252012-02-15 Chong Yidong <cyd@gnu.org>
9226
60236b0d
CY
9227 * minibuffer.el (completion-at-point-functions): Doc fix.
9228
c3a70e2b
CY
9229 * custom.el (defcustom): Doc fix; note use of defvar.
9230
9f26dc24
GM
92312012-02-15 Glenn Morris <rgm@gnu.org>
9232
9233 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9234 Doc fixes.
9235
6546b134
GM
92362012-02-14 Glenn Morris <rgm@gnu.org>
9237
9238 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9239
d29b2b4c
LI
92402012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9241
9242 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9243 way the ports list is computed.
835bdcba
LI
9244 (smtpmail-query-smtp-server): Prompt the user for a port number if
9245 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9246
08dcdbc9
TZ
92472012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9248
9249 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9250
2605051a
GM
92512012-02-13 Glenn Morris <rgm@gnu.org>
9252
9253 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9254
7ee99f32
TZ
92552012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9256
9257 * net/gnutls.el (gnutls-trustfiles): New variable.
9258 (gnutls-negotiate): Use it.
9259
5f0af64f
LI
92602012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9261
9262 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9263 does its stuff if Gnus is running.
9264
c14fcc95
AM
92652012-02-13 Alan Mackenzie <acm@muc.de>
9266
9267 Fix a loop in c-set-fl-decl-start.
9268
7a71b18d 9269 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9270 c-backward-syntactic-ws actually moves backwards.
9271
142b4d90
LL
92722012-02-13 Leo Liu <sdl.web@gmail.com>
9273
9274 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9275 beginning so that all \C-o chars are removed.
9276
fa9958a6
TZ
92772012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9278
dc9924b8 9279 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9280
0bc5886a
AM
92812012-02-12 Alan Mackenzie <acm@muc.de>
9282
9283 Fix infinite loop with long macros.
4d6769e1 9284 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9285
d4bd55e7
CY
92862012-02-12 Chong Yidong <cyd@gnu.org>
9287
9288 * window.el (display-buffer): Doc fix (Bug#10785).
9289
66f3fe22
GM
92902012-02-12 Glenn Morris <rgm@gnu.org>
9291
bd7da63e
GM
9292 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9293 (x-disown-selection-internal, x-get-selection-internal):
9294 Sync docs with the xselect.c versions.
9295
66f3fe22
GM
9296 * allout-widgets.el: Add missing license notice.
9297
3e0d2fa7
GM
92982012-02-11 Glenn Morris <rgm@gnu.org>
9299
cfecdf09
GM
9300 * select.el (x-get-selection-internal, x-own-selection-internal)
9301 (x-disown-selection-internal):
9302 * x-dnd.el (x-get-selection-internal): Update declarations.
9303
6d216d7f
GM
9304 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9305
2bed3f04
GM
9306 * window.el (window-sides-slots):
9307 * tool-bar.el (tool-bar-position):
9308 * term/xterm.el (xterm-extra-capabilities):
9309 * ses.el (ses-self-reference-early-detection):
9310 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9311 (verilog-auto-wire-type)
9312 (verilog-auto-delete-trailing-whitespace)
9313 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9314 (verilog-auto-tieoff-declaration):
9315 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9316 (sql-oracle-statement-starters, sql-oracle-scan-on):
9317 * progmodes/prolog.el (prolog-align-comments-flag)
9318 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9319 (prolog-left-indent-regexp, prolog-paren-indent-p)
9320 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9321 (prolog-types, prolog-mode-specificators)
9322 (prolog-determinism-specificators, prolog-directives)
9323 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9324 (prolog-electric-dot-flag)
9325 (prolog-electric-dot-full-predicate-template)
9326 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9327 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9328 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9329 (prolog-program-switches, prolog-prompt-regexp)
9330 (prolog-debug-on-string, prolog-debug-off-string)
9331 (prolog-trace-on-string, prolog-trace-off-string)
9332 (prolog-zip-on-string, prolog-zip-off-string)
9333 (prolog-use-standard-consult-compile-method-flag)
9334 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9335 (prolog-imenu-max-lines, prolog-info-predicate-index)
9336 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9337 (prolog-char-quote-workaround):
9338 * progmodes/cc-vars.el (c-defun-tactic):
9339 * net/tramp.el (tramp-encoding-command-interactive)
9340 (tramp-local-end-of-line):
9341 * net/soap-client.el (soap-client):
9342 * net/netrc.el (netrc-file):
9343 * net/gnutls.el (gnutls):
9344 * minibuffer.el (completion-category-overrides)
9345 (completion-cycle-threshold)
9346 (completion-pcm-complete-word-inserts-delimiters):
9347 * man.el (Man-name-local-regexp):
9348 * mail/feedmail.el (feedmail-display-full-frame):
9349 * international/characters.el (glyphless-char-display-control):
9350 * eshell/em-ls.el (eshell-ls-date-format):
9351 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9352 (lisp-lambda-list-keyword-parameter-indentation)
9353 (lisp-lambda-list-keyword-parameter-alignment):
9354 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9355 * dired-x.el (dired-omit-verbose):
9356 * cus-theme.el (custom-theme-allow-multiple-selections):
9357 * calc/calc.el (calc-highlight-selections-with-faces)
9358 (calc-lu-field-reference, calc-lu-power-reference)
9359 (calc-note-threshold):
9360 * battery.el (battery-mode-line-limit):
9361 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9362 (archive-7z-update):
9363 * allout.el (allout-prefixed-keybindings)
9364 (allout-unprefixed-keybindings)
9365 (allout-inhibit-auto-fill-on-headline)
9366 (allout-flattened-numbering-abbreviation):
9367 * allout-widgets.el (allout-widgets-auto-activation)
9368 (allout-widgets-icons-dark-subdir)
9369 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9370 (allout-widgets-theme-dark-background)
9371 (allout-widgets-theme-light-background)
9372 (allout-widgets-item-image-properties-emacs)
9373 (allout-widgets-item-image-properties-xemacs)
9374 (allout-widgets-run-unit-tests-on-load)
9375 (allout-widgets-time-decoration-activity)
9376 (allout-widgets-hook-error-post-time)
9377 (allout-widgets-track-decoration):
9378 Add missing :version tags to new defcustoms and defgroups.
9379
5fec1b8e
GM
9380 * progmodes/sql.el (sql-ansi-statement-starters)
9381 (sql-oracle-statement-starters): Add custom type.
9382
3e0d2fa7
GM
9383 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9384 (prolog-system-version): Give it a type.
9385
90b671e2
EZ
93862012-02-11 Eli Zaretskii <eliz@gnu.org>
9387
9388 * term/pc-win.el (x-select-text, x-selection-owner-p)
9389 (x-own-selection-internal, x-disown-selection-internal)
9390 (x-get-selection-internal): Sync doc strings and argument lists
9391 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9392
5eac0c02
LL
93932012-02-11 Leo Liu <sdl.web@gmail.com>
9394
9395 * progmodes/python.el (python-end-of-statement): Fix infinite
9396 loop. (Bug#10788)
9397
f82cb659
GM
93982012-02-10 Glenn Morris <rgm@gnu.org>
9399
9400 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9401 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9402
cc26d239
LI
94032012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9404
9405 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9406 about SMTP before checking the From header.
9407
91027d08 9408 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9409 into own function for reuse by emacsbug.el.
9410
1be3ca5a
LL
94112012-02-10 Leo Liu <sdl.web@gmail.com>
9412
9413 * subr.el (condition-case-unless-debug): Rename from
9414 condition-case-no-debug. All callers changed.
9415 (with-demoted-errors): Fix caller.
9416
9417 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9418 * nxml/rng-valid.el (rng-do-some-validation):
9419 * emacs-lisp/package.el (package-refresh-contents)
9420 (package-menu-execute):
9421 * desktop.el (desktop-create-buffer):
91027d08 9422 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9423
b011fbfe
GM
94242012-02-10 Glenn Morris <rgm@gnu.org>
9425
b2096d72
GM
9426 * textmodes/bibtex.el:
9427 Add missing :version tags for new/changed defcustoms.
9428
b011fbfe
GM
9429 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9430
4c7e65bf
LI
94312012-02-09 Lars Ingebrigtsen <larsi@rusty>
9432
9433 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9434 (smtpmail-via-smtp): Use it, or fall back on the From address.
9435 (smtpmail-send-it): Ditto.
9436
f3934f6f
SM
94372012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9440 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9441 (byte-compile-tmp-var): New const.
9442 (byte-compile-defvar): Use it to minimize .elc size.
9443 Just use `defvar' rather than simulate it (bug#10761).
9444
a075a2c5
GM
94452012-02-09 Glenn Morris <rgm@gnu.org>
9446
cf3aa21b
GM
9447 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9448
354998cd
GM
9449 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9450 Add :version tags.
9451
dc9924b8
SM
9452 * progmodes/compile.el (compilation-error-screen-columns)
9453 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9454
dab3703d
GM
9455 * vc/log-view.el (log-view-toggle-entry-display):
9456 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9457
3f88cd72
GM
9458 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9459 (report-emacs-bug-can-use-xdg-email):
9460 (report-emacs-bug-insert-to-mailer): Doc fixes.
9461 (report-emacs-bug): Message fix.
9462
d95b247d
GM
9463 * net/browse-url.el (browse-url-can-use-xdg-open)
9464 (browse-url-xdg-open): Doc fixes.
9465
a075a2c5
GM
9466 * electric.el (electric-indent-mode, electric-pair-mode)
9467 (electric-layout-rules, electric-layout-mode): Doc fixes.
9468 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9469
ffb6157e
MR
94702012-02-08 Martin Rudalics <rudalics@gmx.at>
9471
9472 * server.el (server-unselect-display): Don't inadvertently kill
9473 the current buffer. (Bug#10729)
9474
e1ac4066
GM
94752012-02-08 Glenn Morris <rgm@gnu.org>
9476
34e8a2da
GM
9477 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9478 (sql-list-table): Doc fixes.
9479
b4ac6e8c
GM
9480 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9481 Comment out (does nothing).
9482
e1ac4066
GM
9483 * completion.el (dynamic-completion-mode):
9484 * dirtrack.el (dirtrack-debug-mode):
9485 * electric.el (electric-layout-mode):
9486 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9487 * face-remap.el (text-scale-mode, buffer-face-mode):
9488 * iimage.el (iimage-mode):
9489 * image-mode.el (image-transform-mode):
9490 * minibuffer.el (completion-in-region-mode):
9491 * scroll-lock.el (scroll-lock-mode):
9492 * simple.el (next-error-follow-minor-mode):
9493 * tar-mode.el (tar-subfile-mode):
9494 * tooltip.el (tooltip-mode):
9495 * vcursor.el (vcursor-use-vcursor-map):
9496 * wid-browse.el (widget-minor-mode):
9497 * emulation/tpu-edt.el (tpu-edt-mode):
9498 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9499 * international/iso-ascii.el (iso-ascii-mode):
9500 * language/thai-util.el (thai-word-mode):
9501 * mail/supercite.el (sc-minor-mode):
9502 * net/goto-addr.el (goto-address-mode):
9503 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9504 * progmodes/cwarn.el (cwarn-mode):
9505 * progmodes/flymake.el (flymake-mode):
9506 * progmodes/glasses.el (glasses-mode):
9507 * progmodes/hideshow.el (hs-minor-mode):
9508 * progmodes/pascal.el (pascal-outline-mode):
9509 * textmodes/enriched.el (enriched-mode):
9510 * vc/smerge-mode.el (smerge-mode):
9511 Doc fixes (minor mode argument).
9512
5e0d957f
EZ
95132012-02-07 Eli Zaretskii <eliz@gnu.org>
9514
9515 * ls-lisp.el (ls-lisp-sanitize): New function.
9516 (ls-lisp-insert-directory): Use it to fix or remove any elements
9517 in file-alist with missing attributes. (Bug#4673)
9518
98d7371e
AM
95192012-02-07 Alan Mackenzie <acm@muc.de>
9520
9521 Fix spurious recognition of c-in-knr-argdecl.
9522
9523 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9524 putative K&R region.
9525
667ced3a
AM
95262012-02-07 Alan Mackenzie <acm@muc.de>
9527
eb864a71
LM
9528 * progmodes/cc-engine.el (c-forward-objc-directive):
9529 Prevent looping in "#pragma mark @implementation".
667ced3a 9530
5b77774d
MA
95312012-02-07 Michael Albinus <michael.albinus@gmx.de>
9532
9533 * notifications.el (notifications-on-closed-signal): Make `reason'
9534 optional. (Bug#10744)
9535
af008560
GM
95362012-02-07 Glenn Morris <rgm@gnu.org>
9537
60d47423
GM
9538 * emacs-lisp/easy-mmode.el (define-minor-mode):
9539 Doc fixes for the macro and the mode it defines.
9540
dd605cc4
GM
9541 * image.el (imagemagick-types-inhibit): Doc fix.
9542
af008560
GM
9543 * cus-start.el (imagemagick-render-type): Add it.
9544
5cc59a37
LI
95452012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9546
4d6769e1
JB
9547 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9548 Set the default at load time, too, so that `font-lock-fontify-buffer'
9549 can be called without setting up the entire mode first. This fixes
9550 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9551
9a6dd747
CY
95522012-02-06 Chong Yidong <cyd@gnu.org>
9553
2d16b285
CY
9554 * simple.el (list-processes--refresh): Delete exited processes
9555 (Bug#8094).
9556
171e9b6e
CY
9557 * comint.el (comint-next-prompt): next-single-char-property-change
9558 and prev-single-char-property-change never return nil (Bug#8657).
9559
9a6dd747
CY
9560 * custom.el (defcustom): Doc fix (Bug#9711).
9561
aa4589a7
CY
95622012-02-05 Chong Yidong <cyd@gnu.org>
9563
5c2a252f
CY
9564 * cus-edit.el (custom-variable-reset-backup): Quote the value
9565 before storing it in the customized-value property (Bug#6712).
4aab9006 9566 (custom-display): Add a customization type tag.
983b9602 9567 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9568
aa4589a7
CY
9569 * wid-edit.el (widget-field-value-get): New optional arg to
9570 suppress trailing whitespace truncation.
9571 (character): Use it (Bug#2689).
9572
1ff980ae
AS
95732012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9574
9575 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9576 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9577
03988c98
CY
95782012-02-05 Chong Yidong <cyd@gnu.org>
9579
eeb6cc88
CY
9580 * cus-edit.el (custom-variable-value-create): For mismatched
9581 types, show the current value (Bug#7600).
9582
03988c98
CY
9583 * custom.el (defcustom): Doc fix.
9584
f8cdeef0
GM
95852012-02-05 Glenn Morris <rgm@gnu.org>
9586
9587 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9588
0696d255
JB
95892012-02-05 Juanma Barranquero <lekktu@gmail.com>
9590
9591 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9592 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9593 (pp-last-sexp): Use `looking-at-p'.
9594
34c99998
GM
95952012-02-04 Glenn Morris <rgm@gnu.org>
9596
8f05da42
GM
9597 * files.el (revert-buffer):
9598 Doc fix (mention revert-buffer-in-progress-p).
9599
f160676e
GM
9600 * emacs-lisp/ert-x.el (ert-simulate-command):
9601 Check deferred-action-list (which is obsolete) is bound.
9602
c7291ad9
GM
9603 * subr.el (with-wrapper-hook): Doc fixes.
9604
34c99998
GM
9605 * simple.el (filter-buffer-substring-functions)
9606 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9607
6283a7d3
LL
96082012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9609
9610 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9611 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9612
e96e3013
LL
96132012-02-04 Leo Liu <sdl.web@gmail.com>
9614
9615 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9616
8ded50f2
GM
96172012-02-04 Glenn Morris <rgm@gnu.org>
9618
82ff1d13
GM
9619 * image.el (image-extension-data): Add obsolete alias.
9620
987a0a16
GM
9621 * isearch.el (isearch-update): Doc fix.
9622
ea32ef46
GM
9623 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9624
8ded50f2
GM
9625 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9626
eea14f31
GM
96272012-02-03 Glenn Morris <rgm@gnu.org>
9628
9629 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9630 (image-animate-timeout): Doc fix.
9631
9632 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9633
12f381b7
GM
96342012-02-02 Glenn Morris <rgm@gnu.org>
9635
953cebf5
GM
9636 * server.el (server-auth-dir): Doc fix.
9637 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9638
12f381b7
GM
9639 * subr.el (run-mode-hooks): Doc fix.
9640
953a8c3b
JL
96412012-02-02 Juri Linkov <juri@jurta.org>
9642
9643 * image-mode.el (image-toggle-display-image): Remove tautological
9644 `major-mode' from the `derived-mode-p' test.
9645
c5d3843c
KH
96462012-02-02 Kenichi Handa <handa@m17n.org>
9647
9f6e692e 9648 * composite.el (compose-region): Cancel previous change.
c5d3843c 9649
159462d4 96502012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9651
9652 * composite.el (compose-region, compose-string): Signal error for
9653 a null string component (Bug#6988).
9654
9f562668
CY
96552012-02-01 Chong Yidong <cyd@gnu.org>
9656
e2cef717
CY
9657 * view.el (view-buffer-other-window, view-buffer-other-frame):
9658 Handle special modes like view-buffer (Bug#10650).
9659 (view-buffer): Simplify.
9660
9f562668
CY
9661 * frame.el (set-frame-font): Tweak meaning of third argument.
9662
9f6e692e
JB
9663 * dynamic-setting.el (font-setting-change-default-font):
9664 Use set-frame-font (Bug#9982).
9f562668 9665
781acb9f
GM
96662012-02-01 Glenn Morris <rgm@gnu.org>
9667
6035be52
GM
9668 * progmodes/compile.el (compilation-internal-error-properties):
9669 Respect compilation-first-column in the "*compilation*" buffer.
9670
781acb9f
GM
9671 * emacs-lisp/easy-mmode.el (define-minor-mode):
9672 Relax :variable's test for a named function.
9673
abbceb00
AM
96742012-01-31 Alan Mackenzie <acm@muc.de>
9675
9676 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9677 off by one error.
9678
fce3fdeb
CY
96792012-01-31 Chong Yidong <cyd@gnu.org>
9680
9681 * frame.el (set-frame-font): New arg ALL-FRAMES.
9682
9683 * menu-bar.el (menu-set-font): Use set-frame-font.
9684
9685 * faces.el (face-spec-reset-face): Don't apply unspecified
9686 attribute values to the default face.
9687
47893581
JB
96882012-01-31 Juanma Barranquero <lekktu@gmail.com>
9689
9690 * progmodes/cwarn.el (cwarn): Remove dead link.
9691 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9692 Remove * from defcustom docstrings.
9693 (turn-on-cwarn-mode): Make obsolete.
9694 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9695 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9696
e58e988a
GM
96972012-01-31 Glenn Morris <rgm@gnu.org>
9698
60dc2671 9699 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9700 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9701 Allow named functions to be used as the cdr of :variable.
e58e988a 9702
7a3f511d
GM
97032012-01-30 Glenn Morris <rgm@gnu.org>
9704
9705 * emacs-lisp/authors.el (authors-fixed-entries):
9706 Remove reference to deleted file rnewspost.el.
9707
cb882333
JB
97082012-01-29 Juanma Barranquero <lekktu@gmail.com>
9709
9710 * window.el (window-with-parameter): Remove unused variable `windows'.
9711 (window--side-check): Remove unused variable `code'.
9712 (window--resize-siblings): Remove unused variable `first'.
9713 (adjust-window-trailing-edge): Remove unused variable `failed'.
9714 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9715 Use `let', not `let*'.
9716 (balance-windows-2): Remove unused variable `found'.
9717 (window--state-put-2): Remove unused variable `splits'.
9718 (window-state-put): Remove unused variable `selected'.
9719 (same-window-p): Use `string-match-p'.
9720 (display-buffer-assq-regexp): Remove unused variable `value'.
9721 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9722 Mark argument ALIST as ignored.
9723 (pop-to-buffer): Remove unused variable `old-window'.
9724
907201af
EZ
97252012-01-29 Eli Zaretskii <eliz@gnu.org>
9726
9727 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9728 and .lzma compressed files.
9729
ea162670
CY
97302012-01-29 Chong Yidong <cyd@gnu.org>
9731
5b95ee8a
CY
9732 * frame.el (window-system-default-frame-alist): Doc fix.
9733
ea162670
CY
9734 * dynamic-setting.el (font-setting-change-default-font): Don't
9735 change the default face if SET-FONT argument is non-nil (Bug#9982).
9736
d6e6f4b1
SB
97372012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9738
9739 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9740
0f29fa41 97412012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9742
9743 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9744 breakpoints in files outside current directory (Bug#6098).
9745
db174434
CY
97462012-01-29 Chong Yidong <cyd@gnu.org>
9747
6b25e4e2
SE
9748 * progmodes/python.el: Require ansi-color at top-level.
9749
6df6ae42
JB
9750 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9751 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9752 (lisp-mode-abbrev-table): Add doc.
9753 (lisp-mode-variables): Don't set local-abbrev-table.
9754 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9755
e70ee681
RW
97562012-01-28 Roland Winkler <winkler@gnu.org>
9757
9758 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9759
ace88aa2
RW
97602012-01-28 Roland Winkler <winkler@gnu.org>
9761
9762 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9763 (bibtex-set-dialect): Use it. Either set global values of
9764 dialect-dependent variables or bind these variables buffer-locally
9765 (Bug#10254).
9766 (bibtex-mode): Call bibtex-set-dialect via
9767 hack-local-variables-hook.
eb864a71
LM
9768 (bibtex-dialect): Update docstring.
9769 Add safe-local-variable predicate.
ace88aa2
RW
9770 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9771 bibtex-set-dialect.
9772 (bibtex-mode-map): Define menu for each dialect.
9773 (bibtex-entry): Fix docstring.
9774
93376c5b
CY
97752012-01-28 Chong Yidong <cyd@gnu.org>
9776
9777 * eshell/esh-arg.el (eshell-quote-argument): New function.
9778
9779 * eshell/esh-ext.el (eshell-invoke-batch-file):
9780 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9781 first arg to eshell-parse-command (Bug#10523).
9782
4372494f
DA
97832012-01-28 Drew Adams <drew.adams@oracle.com>
9784
9785 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9786 `default-directory' is non-nil.
9787
4d4ec1f8
EZ
97882012-01-28 Eli Zaretskii <eliz@gnu.org>
9789
9790 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9791 line that displays system-configuration-options. (Bug#9924)
9792
7c188927
DA
97932012-01-28 Drew Adams <drew.adams@oracle.com>
9794
9795 * descr-text.el (describe-char): Show information about POS, in
9796 addition to information about the character at POS. Improve and
9797 update the doc string. Change "code point" to "code point in
9798 charset", to avoid confusion with the character's Unicode code
9799 point shown above that. (Bug#10129)
9800
e0da685a
EZ
98012012-01-28 Eli Zaretskii <eliz@gnu.org>
9802
9803 * descr-text.el (describe-char): Show the raw character, not only
9804 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9805 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9806 for the reasons.
9807
70550acf
PH
98082012-01-28 Phil Hagelberg <phil@hagelb.org>
9809
eb864a71
LM
9810 * emacs-lisp/package.el (package-install):
9811 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9812
0ce8e868
CY
98132012-01-28 Chong Yidong <cyd@gnu.org>
9814
cb882333
JB
9815 * emacs-lisp/package.el (package-maybe-load-descriptor):
9816 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9817 (package-maybe-load-descriptor): Use it.
9818 (package-download-transaction): Fully load required packages
9819 inside the loop, so that `require' calls work (Bug#10593).
9820 (package-install): No need to call package-initialize now.
9821
2e7f3bea
CY
98222012-01-28 Chong Yidong <cyd@gnu.org>
9823
6e9bad14
CY
9824 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9825
f823b8ca
CY
9826 * tooltip.el (tooltip-mode): Doc fix.
9827 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9828
2680c309
CY
9829 * frame.el (set-cursor-color): Doc fix (Bug#352).
9830
d7a9e63b
CY
9831 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9832 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9833
2e7f3bea
CY
9834 * cus-edit.el (custom-buffer-create-internal): Fix search button
9835 action (Bug#10542).
2ae01800 9836 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9837
fc4f7a23
EW
98382012-01-27 Eduard Wiebe <usenet@pusto.de>
9839
9840 * dired.el (dired-mark-files-regexp):
9841 Include any subdirectory components. (Bug#10445)
9842
7dd37071
ML
98432012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9844
9845 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9846 Handle [host]:port syntax. (Bug#10533)
9847
a268160b
AH
98482012-01-27 Alex Harsanyi <harsanyi@mac.com>
9849
9850 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9851
e43273ef
GM
98522012-01-26 Glenn Morris <rgm@gnu.org>
9853
9854 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9855 * term.el (term-raw-escape-map): Use Control-X-prefix.
9856 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9857
1edf595d
MR
98582012-01-25 Martin Rudalics <rudalics@gmx.at>
9859
9860 * window.el (window-state-get, window--state-get-1): Don't deal
9861 with fixed-sizeness of windows. Simplify code.
9862
fa8eafef
JC
98632012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9864
6df6ae42
JB
9865 * window.el (window--state-get-1, window--state-put-2):
9866 Don't save and restore the mark.
fa8eafef 9867
0b21c100
CY
98682012-01-25 Chong Yidong <cyd@gnu.org>
9869
9870 * custom.el (custom-variable-p): Doc fix.
9871
5ae1a6c8
GM
98722012-01-25 Glenn Morris <rgm@gnu.org>
9873
40047858
GM
9874 * dired.el (dired-goto-file): Handle some of the more common
9875 characters that `ls -b' escapes. (Bug#10596)
9876
5ddce96c
GM
9877 * progmodes/compile.el (compilation-next-error-function):
9878 Respect compilation-first-column in the "*compilation*" buffer.
9879 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9880
5ae1a6c8
GM
9881 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9882
b559f1a9
GM
98832012-01-24 Glenn Morris <rgm@gnu.org>
9884
9885 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9886
6725d21a
JD
98872012-01-24 Julien Danjou <julien@danjou.info>
9888
9889 * color.el (color-rgb-to-hsl): Fix value computing.
9890 (color-hue-to-rgb): New function.
9891 (color-hsl-to-rgb): New function.
9892 (color-clamp, color-saturate-hsl, color-saturate-name)
9893 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9894 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9895
70df4bbe
GM
98962012-01-24 Glenn Morris <rgm@gnu.org>
9897
9898 * vc/vc-rcs.el (vc-rcs-create-tag):
9899 * vc/vc-sccs.el (vc-sccs-create-tag):
9900 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9901
802a2ae2
ML
99022012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9903
9904 * eshell/esh-util.el (eshell-read-hosts-file):
9905 Skip comment lines. (Bug#10549)
9906
d7128bb1
ML
9907 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9908
d1a5c3b4
JB
99092012-01-23 Juanma Barranquero <lekktu@gmail.com>
9910
2724d9c7
JB
9911 * subr.el (display-delayed-warnings): Doc fix.
9912 (collapse-delayed-warnings): New function to collapse identical
9913 adjacent warnings.
9914 (delayed-warnings-hook): Add it.
d1a5c3b4 9915
a5509865
MA
99162012-01-22 Michael Albinus <michael.albinus@gmx.de>
9917
9918 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9919
a5509865
MA
9920 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9921 (tramp-default-user-alist): Don't add "pscp".
9922 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9923 property "login-as", if set. (Bug#10530)
9924
cc6d5805
MA
99252012-01-21 Michael Albinus <michael.albinus@gmx.de>
9926
9927 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9928 "plink1" and "psftp". (Bug#10530)
9929
99302012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9931
9932 * international/mule-cmds.el (prefer-coding-system): Show a
9933 warning message if the default value of file-name-coding-system
9934 was not changed.
9935
f0960428
JC
99362012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9937
cb882333
JB
9938 * windmove.el (windmove-reference-loc):
9939 Fix windmove-reference-loc miscalculation.
f0960428 9940
dd6f2a63
JB
99412012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9942
9943 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9944 default unit.
9945
7b447e9b
GM
99462012-01-21 Glenn Morris <rgm@gnu.org>
9947
117a9ea1
GM
9948 * international/mule.el (auto-coding-alist): Add .tbz.
9949
7b447e9b
GM
9950 * files.el (local-enable-local-variables): Doc fix.
9951 (inhibit-local-variables-regexps): Rename from
9952 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9953 Doc fix. Add some extensions from auto-coding-alist.
9954 (inhibit-local-variables-suffixes):
9955 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9956 (inhibit-local-variables-p):
9957 New function, extracted from set-auto-mode-1.
9958 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9959 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9960 (hack-local-variables): Doc fix. Make the mode-only case
9961 respect enable-local-variables and friends.
9962 Respect inhibit-local-variables-regexps for file-locals, but
9963 not for directory-locals.
9964 (set-visited-file-name):
9965 Take account of inhibit-local-variables-regexps.
9966 Whether it applies may change as the file name is changed.
9967 * jka-cmpr-hook.el (jka-compr-install):
9968 * jka-compr.el (jka-compr-uninstall):
9969 Update for inhibit-first-line-modes-suffixes name change.
9970
dd6e3cdd
MR
99712012-01-20 Martin Rudalics <rudalics@gmx.at>
9972
9973 * help-macro.el (make-help-screen): Temporarily restore original
9974 binding for minor-mode-map-alist (Bug#10454).
9975
0d0deb38
JD
99762012-01-19 Julien Danjou <julien@danjou.info>
9977
9978 * color.el (color-name-to-rgb): Use the white color to find the max
9979 color component value and return correctly computed values.
9980 (color-name-to-rgb): Add missing float conversion for max value.
9981
34a02f46
MR
99822012-01-19 Martin Rudalics <rudalics@gmx.at>
9983
9984 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9985 special state value for window-persistent-parameters.
9986 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9987 (window--state-put-2): Reset all window parameters to nil before
9988 assigning values of persistent parameters.
9989
606c44c4
AM
99902012-01-18 Alan Mackenzie <acm@muc.de>
9991
9992 Eliminate sluggishness and hangs in fontification of "semicolon
9993 deserts".
9994
cb882333
JB
9995 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9996 Change value 10000 -> 3000.
606c44c4
AM
9997 (c-state-safe-place): Reformulate so it doesn't stack up an
9998 infinite number of wrong entries in c-state-nonlit-pos-cache.
9999 (c-determine-limit-get-base, c-determine-limit): New functions to
10000 determine backward search limits disregarding literals.
10001 (c-find-decl-spots): Amend commenting.
10002 (c-cheap-inside-bracelist-p): New function which detects "={".
10003
10004 * progmodes/cc-fonts.el
10005 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10006 backward search.
10007 (c-font-lock-declarations): Fix an occurrence of point being
10008 undefined. Check additionally for point being in a bracelist or
10009 near a macro invocation without a semicolon so as to avoid a
10010 fruitless time consuming search for a declarator. Give a more
10011 precise search limit for declarators using the new
10012 c-determine-limit.
10013
f3860cea
GM
100142012-01-18 Glenn Morris <rgm@gnu.org>
10015
10016 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10017 (set-auto-mode): Doc fixes.
10018
1db03b16
GM
100192012-01-17 Glenn Morris <rgm@gnu.org>
10020
0e6038be
GM
10021 * isearch.el (search-nonincremental-instead): Fix doc typo.
10022
1db03b16
GM
10023 * dired.el (dired-insert-directory): Handle newlines in directory name.
10024 (dired-build-subdir-alist): Unescape newlines in directory name.
10025
4cb0aa75
MA
100262012-01-17 Michael Albinus <michael.albinus@gmx.de>
10027
10028 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10029 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10030 (tramp-action-terminal): Use it. (Bug#10530)
10031
1d00653d
SM
100322012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10035
6a6ee00d
MR
100362012-01-16 Martin Rudalics <rudalics@gmx.at>
10037
10038 * window.el (window-state-ignored-parameters): Remove variable.
10039 (window--state-get-1): Rename argument MARKERS to IGNORE.
10040 Handle persistent window parameters. Make copy of clone-of
10041 parameter only if requested. (Bug#10348)
10042 (window--state-put-2): Install a window parameter only if it has
10043 a non-nil value or an existing parameter shall be overwritten.
10044
97912def
MA
100452012-01-15 Michael Albinus <michael.albinus@gmx.de>
10046
10047 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10048
688070a5
EZ
100492012-01-14 Eli Zaretskii <eliz@gnu.org>
10050
10051 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10052 don't pass the (nil) value of `upnode' to string-match.
10053
301afadc
CY
100542012-01-14 Chong Yidong <cyd@gnu.org>
10055
10056 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10057 Fix values recognized by the cursorBlink resource.
301afadc 10058
9e5788aa
PE
100592012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10060
10061 * epg.el (epg--make-temp-file): Avoid permission race condition
10062 when running on old Emacs versions (bug#10403).
10063
3cdb7f5a
GM
100642012-01-14 Glenn Morris <rgm@gnu.org>
10065
10066 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10067
8c82b1b4
AM
100682012-01-13 Alan Mackenzie <acm@muc.de>
10069
10070 Fix filling for when filladapt mode is enabled.
10071
10072 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10073 c-mask-paragraph, pass in `fill-paragraph' rather than
10074 `fill-region-as-paragraph'. (This is a reversion of a previous
10075 change.)
eb864a71
LM
10076 * progmodes/cc-mode.el (c-basic-common-init):
10077 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10078
e517eda4
GM
100792012-01-13 Glenn Morris <rgm@gnu.org>
10080
1498536e
GM
10081 * dired.el (dired-switches-escape-p): New function.
10082 (dired-insert-directory): Use dired-switches-escape-p.
10083 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10084
e517eda4
GM
10085 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10086
328f984d
GM
100872012-01-12 Glenn Morris <rgm@gnu.org>
10088
10089 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10090 changes in adaptive-fill-regexp. (Bug#10276)
10091
2cc769a8
AM
100922012-01-11 Alan Mackenzie <acm@muc.de>
10093
10094 Fix Emacs bug #10463 - put `widen's around the critical spots.
10095
1d00653d 10096 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10097 widen around each invocation of c-state-pp-to-literal. Remove an
10098 unused let variable.
10099
e52c37fa
GM
101002012-01-11 Glenn Morris <rgm@gnu.org>
10101
10102 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10103 Doc fix.
e52c37fa 10104
96f8741e
CY
101052012-01-10 Chong Yidong <cyd@gnu.org>
10106
1d00653d
SM
10107 * net/network-stream.el (network-stream-open-starttls):
10108 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10109 response to the capability command.
10110
b09a806e
GM
101112012-01-10 Glenn Morris <rgm@gnu.org>
10112
10113 * mail/unrmail.el (unrmail): Tweak previous change.
10114
7655cb66
CY
101152012-01-09 Chong Yidong <cyd@gnu.org>
10116
10117 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10118
9d5a8f0b
AM
101192012-01-08 Alan Mackenzie <acm@muc.de>
10120
10121 Optimise font locking in long enum definitions.
10122
10123 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10124 arm to a cond form to handle enums.
10125 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10126 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10127
9a0115ab 101282012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10129
10130 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10131 (Bug#10401)
6bb72cbd 10132
f186bb95
LMI
101332012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10134
29232a68
LMI
10135 * faces.el (set-face-attribute): Clarify the meaning of the nil
10136 frame (bug#10294).
10137
4e5d086d
LMI
10138 * subr.el (with-selected-frame): Mention that the selected frame
10139 is restored (bug#9980).
10140
8e66aebe
LMI
10141 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10142 (bug#9759).
10143
cd394be1 10144 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10145 (password-read): Don't autoload unused function.
10146
adf4e762
JB
101472012-01-07 Juanma Barranquero <lekktu@gmail.com>
10148
10149 * progmodes/which-func.el (which-func-mode): Turn into a
10150 non-interactive function and mark as obsolete (bug#10428).
10151
89bd9ccd
CY
101522012-01-06 Chong Yidong <cyd@gnu.org>
10153
10154 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10155 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10156 functions, along with 1 and -1.
10157
4afee9d5
EZ
101582012-01-06 Eli Zaretskii <eliz@gnu.org>
10159
10160 * time.el (display-time-load-average)
10161 (display-time-default-load-average): Doc fixes. See the thread
10162 starting at
10163 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10164 for the details.
10165
536aea70
GM
101662012-01-06 Glenn Morris <rgm@gnu.org>
10167
665ae865
GM
10168 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10169 has no messages. (Bug#10377)
10170
c869783d
GM
10171 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10172 than Info-edit. (Bug#10385)
10173
2bb4227e
GM
10174 * time.el (display-time-load-average, display-time-next-load-average):
10175 Doc fixes.
10176
7d5944b9
GM
10177 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10178 local setting of buffer-read-only to the input buffer. (Bug#10419)
10179
536aea70
GM
10180 * calendar/calendar.el (calendar-mode):
10181 Locally set scroll-margin to 0. (Bug#10379)
10182
7dccca16
UM
101832012-01-06 Ulrich Mueller <ulm@gentoo.org>
10184
10185 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10186
afbb7930
GM
101872012-01-05 Glenn Morris <rgm@gnu.org>
10188
10189 * eshell/em-unix.el (diff-no-select): Autoload it.
10190 (eshell/diff): Use diff-no-select. (Bug#10420)
10191
04482335
CY
101922012-01-05 Chong Yidong <cyd@gnu.org>
10193
7baca3bc
CY
10194 * shell.el (shell-dynamic-complete-functions): Revert last change.
10195 (shell-command-completion-function): New function.
10196 (shell-completion-vars): Use it to implement
10197 shell-completion-execonly (Bug#10417).
10198
04482335
CY
10199 * custom.el (enable-theme): Don't set custom-safe-themes.
10200
1d00653d
SM
10201 * cus-theme.el (custom-theme-merge-theme):
10202 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10203
bb5aa5d6
MM
102042012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10205
10206 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10207 first prompt in `sql-interacive-mode'.
10208 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10209 keywords.
6df6ae42 10210 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10211 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10212 context of original buffer. Invoke `sql-login-hook'.
10213
a7183d7c
EZ
102142012-01-04 Eli Zaretskii <eliz@gnu.org>
10215
10216 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10217 letters in cite-prefix.
10218
a1eacd1e
LMI
102192012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10220
10221 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10222
787cdb34
CY
102232012-01-03 Chong Yidong <cyd@gnu.org>
10224
1d00653d
SM
10225 * shell.el (shell-dynamic-complete-functions):
10226 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10227 comint-filename-completion first (Bug#10417).
10228
30710442
RS
102292012-01-02 Richard Stallman <rms@gnu.org>
10230
10231 * battery.el (battery-status-function):
10232 Detect when to use battery-yeeloong-sysfs.
10233 (battery-echo-area-format): Add string for Yeeloong.
10234 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10235 (battery-yeeloong-sysfs): New function.
10236
f75bfc33
CY
102372012-01-02 Chong Yidong <cyd@gnu.org>
10238
10239 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10240 (dirtrack): Merge code for handling relative filenames in prompt
10241 from shell-dir-cookie-watcher.
10242 (dirtrack-debug-message): New arg to avoid excess format calls.
10243
10244 * shell.el (shell-dir-cookie-re): Variable deleted.
10245 (shell-dir-cookie-watcher): Function deleted.
10246 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10247 with dirtrack-mode.
10248
651e947e
EZ
102492012-01-01 Eli Zaretskii <eliz@gnu.org>
10250
1d00653d
SM
10251 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10252 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10253 libgnutls-26.dll.
10254
94d4c7dc
AS
102552011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10256
10257 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10258
8d43f3cd
EZ
102592011-12-31 Eli Zaretskii <eliz@gnu.org>
10260
10261 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10262 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10263
98c8795a
MA
102642011-12-29 Michael Albinus <michael.albinus@gmx.de>
10265
10266 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10267 also for alternative shells.
10268 (tramp-open-connection-setup-interactive-shell): Check, whether
10269 the shell is a busybox.
10270 (tramp-send-command): Don't suppress multiple prompts for
10271 busyboxes, it hurts.
10272
51281b32
CY
102732011-12-28 Chong Yidong <cyd@gnu.org>
10274
10275 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10276 (gdb-get-source-file): Move mode line update to
10277 gdb-get-source-file (Bug#10087).
10278
2170cb53
CY
102792011-12-25 Chong Yidong <cyd@gnu.org>
10280
10281 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10282 gud-gdb-marker-filter without taking it as an argument.
10283 (gud-gdb-run-command-fetch-lines): Caller changed.
10284 (gud-gdb-completion-function): New variable.
10285 (gud-gdb-completion-at-point): Use it.
10286 (gud-gdb-completions-1): Split from gud-gdb-completions.
10287
10288 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10289 function as separate arguments.
10290 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10291 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10292 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10293 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10294 (gdb-stopped, def-gdb-auto-update-trigger)
10295 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10296 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10297 Callers changed.
2170cb53
CY
10298 (gud-gdbmi-completions): New function.
10299 (gdb): Use it for generating the completion table.
10300
be8b11bb
AM
103012011-12-24 Alan Mackenzie <acm@muc.de>
10302
10303 Introduce a mechanism to widen the region used in context font
1d00653d 10304 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10305
1d00653d
SM
10306 * progmodes/cc-langs.el (c-before-font-lock-functions):
10307 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10308 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10309 functions to be run just before context (etc.) font locking.
10310
10311 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10312 New, functionality extracted from
be8b11bb 10313 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10314 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10315 (c-after-change): Set c-in-after-change-fontification.
10316 (c-set-fl-decl-start): Rejig its interface, so it can be called
10317 from both after-change and context fontifying.
b81d40f0
JB
10318 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10319 New functions.
10320 (c-standard-font-lock-fontify-region-function): New variable.
10321 (c-font-lock-fontify-region): New function.
be8b11bb 10322
341cf6ac
JL
103232011-12-24 Juri Linkov <juri@jurta.org>
10324
10325 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10326 (Bug#10348)
10327
bffcee0a
MA
103282011-12-23 Michael Albinus <michael.albinus@gmx.de>
10329
10330 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10331 existence of source file. (Bug#10325)
10332
cb5e207c
AM
103332011-12-23 Alan Mackenzie <acm@muc.de>
10334
10335 Fix unstable fontification inside templates.
10336
b81d40f0
JB
10337 * progmodes/cc-langs.el (c-before-font-lock-functions):
10338 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10339 additionally has c-set-fl-decl-start. The other languages (apart
10340 from AWK) have that as a single entry.
10341
b81d40f0
JB
10342 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10343 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10344 c-set-fl-decl-start.
10345
b81d40f0
JB
10346 * progmodes/cc-mode.el (c-common-init, c-after-change):
10347 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10348 (c-set-fl-decl-start): New function, extracted from
10349 c-font-lock-enclosing-decls and enhanced.
10350
60ff536c
JB
103512011-12-23 Juanma Barranquero <lekktu@gmail.com>
10352
10353 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10354
1c4757d6
JL
103552011-12-22 Juri Linkov <juri@jurta.org>
10356
10357 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10358
d031f2c7
CY
103592011-12-22 Chong Yidong <cyd@gnu.org>
10360
10361 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10362
bace743a
DA
103632011-12-21 Drew Adams <drew.adams@oracle.com>
10364
10365 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10366
728a1f2b
JC
103672011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10368
10369 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10370
0d373f73
TZ
103712011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10372
fec0aaa4
TZ
10373 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10374 highlighting and support. Fix up comments for capitalization.
10375 (cfengine-mode-debug): New var.
10376 (cfengine3-mode): Change the modeline indicator to "CFE3".
10377 (cfengine3-font-lock-keywords): Improve defun highlighting.
10378 (cfengine2-actions): Rename from `cfengine-actions'.
10379 (cfengine2-font-lock-keywords): Rename from
10380 `cfengine-font-lock-keywords'.
10381 (cfengine2-imenu-expression): Rename from
10382 `cfengine-imenu-expression'.
10383 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10384 (cfengine2-beginning-of-defun): Rename from
10385 `cfengine-beginning-of-defun'.
10386 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10387 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10388 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10389 modeline indicator to "CFE2".
10390 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10391 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10392
bc86f573
CY
103932011-12-21 Chong Yidong <cyd@gnu.org>
10394
10395 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10396 filename argument.
10397
d45ba96b
MR
103982011-12-20 Martin Rudalics <rudalics@gmx.at>
10399
10400 * window.el (window-normalize-buffer-to-display): Remove.
10401 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10402
a6198c90
CY
104032011-12-19 Chong Yidong <cyd@gnu.org>
10404
10405 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10406 Don't signal an error in a predicate function; return non-nil.
10407 (vc-dir-mark-file): Move the error here.
10408 (vc-dir-mark-unmark): If acting on the region, keep going if one
10409 of the entries cannot be marked/unmarked.
10410 (vc-dir-mark-all-files): If current entry is a directory, mark
10411 only child files, as documented.
10412
34c5fb55
VB
104132011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10414
10415 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10416 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10417 addition.
10418
c803b2b7
JD
104192011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10420
10421 * term/ns-win.el (ns-get-selection-internal)
10422 (ns-store-selection-internal): Declare.
1154d12e
JB
10423 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10424 Declare as obsolete.
10425 (ns-get-pasteboard, ns-paste-secondary):
10426 Use ns-get-selection-internal.
10427 (ns-set-pasteboard, ns-copy-including-secondary):
10428 Use ns-store-selection-internal.
c803b2b7 10429
9cff91f8 104302011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10431
10432 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10433 (vc-deduce-fileset): Doc fix.
99a289d9 10434
f16c898a
AS
104352011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10436
10437 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10438
763237c4
SS
104392011-12-13 Sam Steingold <sds@gnu.org>
10440
10441 * man.el (Man-getpage-in-background): When running under a
10442 window-system, ignore $MANWIDTH and $COLUMNS.
10443
5fc1c122
KH
104442011-12-15 Kenichi Handa <handa@m17n.org>
10445
10446 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10447 (setup-ethiopic-environment-internal): Comment out key-binding for
10448 ethio-toggle-punctuation.
10449
13d49cbb
AM
104502011-12-13 Alan Mackenzie <acm@muc.de>
10451
898169a2
AM
10452 Add the switch statement to AWK Mode.
10453
7a71b18d 10454 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10455 "default" to the keywords regexp.
10456
7a71b18d 10457 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10458 expression as the rest.
1d00653d
SM
10459 (c-nonlabel-token-key): Allow string literals for AWK.
10460 Refactor for the other modes.
898169a2 10461
13d49cbb 10462 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10463 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10464 routines. Limit backward searching in c-font-lock-enclosing.decl.
10465
10466 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10467 pp-state and literal type in addition to the limits.
1d00653d 10468 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10469 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10470 (c-slow-in-literal, c-fast-in-literal): Remove.
10471 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10472
10473 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10474 being in a literal. Add a limit for backward searching.
10475
10476 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10477 c-slow-in-literal.
10478
15e0efc7
SM
104792011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10480
10481 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10482
454592a6
MR
104832011-12-13 Martin Rudalics <rudalics@gmx.at>
10484
10485 * window.el (delete-other-windows): Use correct frame in call to
10486 window-with-parameter.
10487
87393f26
DP
104882011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10489
10490 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10491 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10492 (makefile-gmake-statements, makefile-makepp-statements):
10493 Use it and add new makepp keywords.
10494 (makefile-makepp-font-lock-keywords): Add new patterns.
10495 (makefile-match-function-end): Match new [...] and [[...]].
10496
11636b22
JB
104972011-12-11 Juanma Barranquero <lekktu@gmail.com>
10498
10499 * ses.el (ses-call-printer-return, ses-cell-property-get)
10500 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10501 (ses-create-cell-variable, ses-reset-header-string)
10502 (ses-cell-set-formula, ses-repair-cell-reference-all)
10503 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10504 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10505 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10506 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10507 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10508 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10509 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10510 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10511 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10512 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10513 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10514 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10515
cf018193
VB
105162011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10517
10518 * ses.el: The overall change is to add cell renaming, that is
10519 setting fancy names for cell symbols other than name matching
10520 "\\`[A-Z]+[0-9]+\\'" regexp .
10521 (ses-create-cell-variable): New defun.
10522 (ses-relocate-formula): Relocate formulas only for cells the
10523 symbols of which are not renamed, i.e. symbols whose names do not
10524 match regexp "\\`[A-Z]+[0-9]+\\'".
10525 (ses-relocate-all): Relocate values only for cells the symbols of
10526 which are not renamed.
10527 (ses-load): Create cells variables as the (ses-cell ...) are read,
10528 in order to check row col consistency with cell symbol name only
10529 for cells that are not renamed.
10530 (ses-replace-name-in-formula): New defun.
10531 (ses-rename-cell): New defun.
10532
ee957461
CY
105332011-12-11 Chong Yidong <cyd@gnu.org>
10534
10535 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10536 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10537
9a9e9ef0
MR
105382011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10539
10540 * window.el (other-window): Fix docstring.
10541
92a8eba5
EZ
105422011-12-10 Eli Zaretskii <eliz@gnu.org>
10543
10544 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10545 `from' or `to' address before taking its substring.
10546 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10547 encoded name is chopped in the middle of the encoded string, and
10548 thus displayed encoded.
10549
e152e577
JB
105502011-12-10 Juanma Barranquero <lekktu@gmail.com>
10551
10552 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10553
e5d84bfe
EZ
105542011-12-10 Eli Zaretskii <eliz@gnu.org>
10555
10556 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10557 to use texinfo-update-node and commands that call it if the
10558 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10559 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10560 (texinfo-all-menus-update, texinfo-master-menu)
10561 (texinfo-update-node, texinfo-every-node-update)
10562 (texinfo-multiple-files-update): Doc fix. Warn against updating
10563 all the @node lines.
10564 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10565 argument is numeric. Explain better in the doc string what the
10566 function really does.
10567 (texinfo-insert-master-menu-list): Improve the error message
10568 displayed if there's no menu in the Top node.
10569 (Bug#2975) See also this thread:
e5d84bfe
EZ
10570 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10571
1d84e9bb
MG
105722011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10573
10574 * speedbar.el (speedbar-supported-extension-expressions):
10575 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10576
382c953b
JB
105772011-12-09 Juanma Barranquero <lekktu@gmail.com>
10578
10579 * printing.el (pr-mode-alist):
10580 * simple.el (filter-buffer-substring-functions)
10581 (completion-list-insert-choice-function):
10582 * window.el (window-with-parameter, window-atom-root)
10583 (window-sides-slots, window-size-fixed, window-min-delta)
10584 (window-max-delta, window--resize-mini-window)
10585 (window--resize-child-windows-normal, window-tree)
10586 (delete-other-windows, quit-window, split-window)
10587 (display-buffer-record-window, special-display-buffer-names)
10588 (special-display-regexps, special-display-popup-frame)
10589 (same-window-p, split-window-sensibly)
10590 (display-buffer-overriding-action, display-buffer-alist)
10591 (display-buffer-base-action, display-buffer, switch-to-buffer)
10592 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10593 (fit-window-to-buffer, recenter-positions)
10594 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10595 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10596 and remove unneeded backslashes in docstrings.
10597
39c9faef
SM
105982011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10599
98449af8
SM
10600 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10601
39c9faef
SM
10602 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10603 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10604 end in ".mk".
10605 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10606 when reading the makefile (bug#10116).
10607
86ed9fdc
SM
106082011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10611 (bug#10116).
10612
5580f89d
GM
106132011-12-06 Glenn Morris <rgm@gnu.org>
10614
10615 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10616
28d3917c
CY
106172011-12-06 Chong Yidong <cyd@gnu.org>
10618
10619 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10620
a98edce9
JB
106212011-12-06 Juanma Barranquero <lekktu@gmail.com>
10622
10623 * textmodes/table.el (table-shorten-cell): Fix typo.
10624
e65adfac
CG
106252011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10626
10627 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10628
71cc0b74
EZ
106292011-12-05 Eli Zaretskii <eliz@gnu.org>
10630
10631 * descr-text.el (describe-char): Fix display of strong
10632 right-to-left characters and directional embeddings and overrides.
10633
10634 * simple.el (what-cursor-position): Fix display of codepoints of
10635 strong right-to-left characters.
10636
315bc30d
CY
106372011-12-05 Chong Yidong <cyd@gnu.org>
10638
10639 * faces.el (read-color): Doc fix.
10640
58a70b94
GM
106412011-12-05 Glenn Morris <rgm@gnu.org>
10642
10643 * align.el (align--set-marker): Add doc-string.
10644 Don't try to move something that is not a marker. (Bug#10216)
10645
5158face
GM
106462011-12-04 Glenn Morris <rgm@gnu.org>
10647
10648 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10649 overly zealous deletion of trailing whitespace.
10650
520fca41
JB
106512011-12-04 Juanma Barranquero <lekktu@gmail.com>
10652
10653 * server.el (server-delete-client): On Windows, do not try to delete
10654 the only terminal.
10655 (server-process-filter): On Windows, treat requests for a tty frame as
10656 if they were for a GUI frame if the running server is in GUI mode.
10657
5e605a2e
GM
106582011-12-03 Glenn Morris <rgm@gnu.org>
10659
10660 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10661
5c3fe83f
SM
106622011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10663
6f5e57e7
SM
10664 * electric.el: Streamline electric-indent's hook.
10665 (electric-indent-chars): Revert to simple list.
10666 (electric-indent-functions): New var.
10667 (electric-indent-post-self-insert-function): Use it.
10668
5c3fe83f
SM
10669 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10670 there's no inferior buffer (bug#10196).
10671 (prolog-consult-compile): Don't use toggle-read-only.
10672
6bdac736
MA
106732011-12-02 Michael Albinus <michael.albinus@gmx.de>
10674
10675 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10676 interrupt. (Bug#10187)
10677
6131ba7f
SM
106782011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10679
99c79fee
SM
10680 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10681 (bug#9160).
10682
6131ba7f
SM
10683 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10684 (bug#10191).
10685
cb0a02ea
JL
106862011-12-02 Juri Linkov <juri@jurta.org>
10687
10688 * info.el (Info-search): Display "end of manual" when Isearch
10689 reaches the end of single-file Info manual. (Bug#9918)
10690
66e0570c
EZ
106912011-12-02 Eli Zaretskii <eliz@gnu.org>
10692
10693 * isearch.el (isearch-message-prefix): Run the input method part
10694 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10695
02b16839
JL
106962011-12-02 Juri Linkov <juri@jurta.org>
10697
10698 * isearch.el (isearch-occur): Use `word-search-regexp' for
10699 `isearch-word'.
10700 (isearch-search-and-update): Add condition for `isearch-word' and
10701 call `word-search-regexp'. (Bug#10145)
10702
0b950688
GM
107032011-12-01 Glenn Morris <rgm@gnu.org>
10704
10705 * eshell/em-hist.el (eshell-hist-initialize):
10706 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10707 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10708
9505c3c7
SM
107092011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10712
1bbe96b2 107132011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10714
a1beca85
SM
10715 * progmodes/verilog-mode.el (verilog-pretty-expr):
10716 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10717 verilog, such as += *= and the like.
10718 (verilog-assignment-operator-re): Regular expression to find the
10719 assigment operator in a verilog assignment.
10720 (verilog-assignment-operation-re): Regular expression to find an
10721 assignment statement for pretty-expr.
10722 (verilog-in-attribute-p): Query returns true if point is in an
10723 attribute context; used to skip these for expression line up from
10724 pretty-expr.
10725 (verilog-in-parameter-p): Query returns true if point is in an
10726 parameter definition context; used to skip these for expression
10727 line up from pretty-expr.
10728 (verilog-in-parenthesis-p): Query returns true if point is in a
10729 parenthetical expression, specifically ( ) but not [ ] or { };
10730 used by pretty-expr.
10731 (verilog-just-one-space): If there is no space, don't add one.
10732 (verilog-get-lineup-indent-2): Specifically skip just attribute
10733 contexts for expression lineup, rather than skipping all
10734 parenthetical expressions.
10735 (verilog-calculate-indent): Fix comment, and fix indent.
10736 (verilog-do-indent): Indent declarations in lists (suggested by
10737 Joachim Lechner).
10738 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10739 skeleton items.
10740 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10741 by Alain Mellan).
10742
1bbe96b2 107432011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10744
10745 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10746 parameters with embedded comments. Reported by Ray Stevens.
10747 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10748 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10749 Reported by Tim Holt.
10750 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10751 instantiated by upper module causing wrong expansion until AUTOed a
10752 second time. Reported by K C Buckenmaier.
10753 (verilog-diff-auto): Fix showing .* as a difference when
10754 `verilog-auto-star-save' off. Reported by Dan Dever.
10755 (verilog-auto-reset, verilog-read-always-signals)
10756 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10757 temporary signals in reset list if
10758 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10759 style to each signal's assignment type, bug381.
10760 Reported by Thomas Esposito.
6288f0ca
WS
10761 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10762 (verilog-uvm-statement-re): Support UVM indentation and
10763 highlighting, with old OVM keywords only.
a1beca85 10764 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10765 Support AUTOTIEOFF creating non-wire data types.
10766 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10767 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10768 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10769 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10770 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10771 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10772 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10773 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10774 non-numeric vector width. Reported by Alex Reed.
10775 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10776 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10777 (verilog-auto-delete-trailing-whitespace):
10778 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10779 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10780 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10781 Fix verilog-scan-cache corruption when running user AUTO expansion
10782 hooks that call indentation routines.
10783 (verilog-simplify-range-expression): Fix typo ignoring lower case
10784 identifiers.
10785 (verilog-delete-auto): Fix delete-autos to also remove user created
10786 automatics, as long as they start with AUTO.
10787 (verilog-batch-diff-auto, verilog-diff-auto)
10788 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10789 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10790 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10791 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10792 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10793 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10794 is disabled and its cache will get corrupt, causing AUTOS not to
10795 expand. Instead use only -quick functions.
10796 (verilog-scan-region): Fix scanning over escaped quotes.
10797 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10798 (verilog-re-search-backward-quick)
10799 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10800 related functions now ignore strings, to fix misparsing of strings
10801 with magic comments embedded in them.
a1beca85
SM
10802 (verilog-read-auto-template):
10803 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10804 Reported by Brad Dobbie.
10805 (verilog-read-auto-template):
10806 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10807 Reported by Brad Dobbie.
6288f0ca
WS
10808 (verilog-auto-inst, verilog-auto-inst-param)
10809 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10810 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10811 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10812 debugging templates without merge conflicts, bug357.
10813 Reported by Brad Dobbie.
10814 (verilog-read-auto-template):
10815 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10816 Reported by Brad Dobbie.
10817 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10818 abbrevs so user won't be asked to save.
10819 (verilog-read-auto-lisp-present): Fix to start at beginning of
10820 buffer in case called outside of verilog-auto.
10821 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10822 to "X-2". Reported by Matthew Myers.
10823 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10824 all inputs from module templates. Reported by Leith Johnson.
10825 (verilog-module-inside-filename-p): Fix locating programs as with
10826 modules.
10827 (verilog-auto-inst-port): Fix vl-width expressions when using
10828 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10829 (verilog-decls-get-regs, verilog-decls-get-signals,
10830 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10831 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10832 verilog-read-decls): Combine reg and wire structures into one var
10833 structure to represent SystemVerilog concepts.
10834 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10835 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10836 (verilog-auto-wire-type, verilog-insert-definition):
10837 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10838 SystemVerilog "logic" keyword instead of "wire"/"reg".
10839 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10840 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10841 ifdef or generate if so there's not a driver conflict).
10842 Reported by Matthew Myers.
10843 (verilog-auto-declare-nettype, verilog-insert-definition):
10844 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10845 `default_nettype none. Reported by Julian Gorfajn.
10846 (verilog-read-always-signals-recurse, verilog-read-decls)
10847 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10848 malformed end statement, bug325. Reported by Joshua Wise and
10849 Andrew Drake.
10850 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10851 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10852 when expanding .* in interfaces, bug320.
10853 Reported by Pierre-David Pfister.
6288f0ca 10854 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10855 name and open parenthesis, bug317.
10856 Reported by Pierre-David Pfister.
6288f0ca
WS
10857 (verilog-simplify-range-expression): Fix simplification of
10858 multiplications inside AUTOWIRE connections, bug303.
10859 (verilog-auto-inst-port): Support parameter expansion in
10860 multidimensional arrays.
10861 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10862 after "assert property". Reported by Julian Gorfajn.
10863 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10864 with multiplication, bug303.
10865 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10866 Reported by Jan Frode Lonnum.
10867
1bbe96b2
GM
108682011-11-30 Juanma Barranquero <lekktu@gmail.com>
10869
10870 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10871 (hfy-shell-file-name, hfy-shell):
10872 * international/fontset.el (x-decompose-font-name): Fix typos.
10873
108742011-11-29 Ken Brown <kbrown@cornell.edu>
10875
10876 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10877 (gdb-version): Remove defvar.
10878 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10879 (gdb-gud-context-command, gdb-non-stop-handler)
10880 (gdb-current-context-command, gdb-stopped): Use it.
10881 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10882 (gdb-non-stop-handler): Don't enable pretty-printing here.
10883 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10884 non-stop mode. Use the following.
10885 (gdb-check-target-async): New defun.
10886 (gud-watch, gdb-stopped): Fix whitespace.
10887 (gdb-get-source-file): Don't try to display the source file if
10888 `gdb-main-file' is nil.
10889
108902011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * align.el: Try to generate fewer markers (bug#10047).
10893 (align--set-marker): New macro.
10894 (align-region): Use it.
10895
c935221f
SM
108962011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10899
e70b5064
CY
109002011-11-29 Chong Yidong <cyd@gnu.org>
10901
10902 * indent.el (indent-for-tab-command, indent-according-to-mode):
10903 Doc fix.
10904 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10905
f3af92b7
MA
109062011-11-29 Michael Albinus <michael.albinus@gmx.de>
10907
10908 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10909 aware of remote file names. (Bug#10124)
10910
ed472be9
CY
109112011-11-29 Chong Yidong <cyd@gnu.org>
10912
10913 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10914
24510c22
SM
109152011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * files.el (find-file): Don't use force-same-window (bug#10144).
10918 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10919 use pop-to-buffer if the selected window can't be used.
10920 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10921
c60c3703
EZ
109222011-11-28 Eli Zaretskii <eliz@gnu.org>
10923
10924 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10925 special-mode-map.
10926
e95def75
CY
109272011-11-28 Chong Yidong <cyd@gnu.org>
10928
10929 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10930
c3f1c606
NR
109312011-11-27 Nick Roberts <nickrob@snap.net.nz>
10932
10933 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10934 gdb-get-source-file-list on gdb-create-source-file-list.
10935
00db469c
EZ
109362011-11-26 Eli Zaretskii <eliz@gnu.org>
10937
10938 * whitespace.el (whitespace-newline): Use a different foreground
10939 color for 16-color light-background displays.
10940
4ad3bc2a
CY
109412011-11-24 Chong Yidong <cyd@gnu.org>
10942
10943 * window.el (display-buffer--special-action): Doc fix.
10944
e9fce1ac
JB
109452011-11-25 Juanma Barranquero <lekktu@gmail.com>
10946
10947 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10948 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10949 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10950 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10951 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10952 (avl-tree-stack-first):
10953 * emacs-lisp/cconv.el (cconv--analyse-use):
10954 * net/gnutls.el (gnutls-negotiate): Fix typos.
10955
cb825e5d
GM
109562011-11-24 Glenn Morris <rgm@gnu.org>
10957
3adbe224
GM
10958 * lpr.el (lpr-windows-system, lpr-lp-system):
10959 * mail/binhex.el (binhex-begin-line):
10960 * progmodes/grep.el (grep-history, grep-find-history):
10961 * textmodes/flyspell.el:
10962 * vc/pcvs-defs.el (cvs-global-menu):
10963 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10964 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10965 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10966
321decc8
GM
10967 * net/tls.el: Fix case of "GnuTLS".
10968
420b63ad
GM
10969 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10970
cb825e5d
GM
10971 * version.el (emacs-build-system): Give it a doc-string.
10972
a0649f08
JL
109732011-11-24 Juri Linkov <juri@jurta.org>
10974
10975 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10976
c0bc0fd4
GM
109772011-11-24 Glenn Morris <rgm@gnu.org>
10978
10979 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10980 if called on a non-mime message just toggle the headers. (Bug#8006)
10981
20db1522
JB
109822011-11-24 Juanma Barranquero <lekktu@gmail.com>
10983
10984 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10985 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10986 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10987 (allout-rebullet-heading, allout-open-sibtopic)
10988 (allout-toggle-current-subtree-encryption)
10989 (allout-toggle-subtree-encryption, allout-encrypt-string)
10990 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10991 (allout-distinctive-bullets-string, allout-auto-activation):
10992 * window.el (window-normalize-buffer-to-display):
10993 * progmodes/verilog-mode.el (verilog-batch-indent):
10994 * textmodes/bibtex.el (bibtex-field-braces-opt)
10995 (bibtex-field-strings-opt):
10996 * vc/cvs-status.el (cvs-tree-merge):
10997 Fix typos.
10998
7262a87c
MA
109992011-11-23 Michael Albinus <michael.albinus@gmx.de>
11000
11001 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11002 `non-essential' to t, in order to avoid remote connections.
11003
283430a1
EZ
110042011-11-23 Eli Zaretskii <eliz@gnu.org>
11005
a1beca85
SM
11006 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11007 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11008 case-insensitively.
11009
d2992a38
ML
110102011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11011
11012 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11013
50419064
GM
110142011-11-23 Glenn Morris <rgm@gnu.org>
11015
da94eca1
GM
11016 * paths.el (rmail-file-name): Reformat the doc-string so that it
11017 is picked up.
11018
9aac4de2
GM
11019 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11020 (rmail-auto-file): Ignore case in the "special" field names,
11021 as mail-fetch-field does for all others.
11022
8038d2d2
GM
11023 * mail/rmail.el (rmail-forward):
11024 * mail/rmailkwd.el (rmail-set-label):
11025 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11026 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11027
f3fe222a
GM
11028 * mail/rmail.el (rmail-current-message): Doc fix.
11029
50419064
GM
11030 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11031
28109f49
SM
110322011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11033
11034 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11035
394c65f1
GM
110362011-11-22 Glenn Morris <rgm@gnu.org>
11037
11038 * mail/rmailmm.el (test-rmail-mime-handler)
11039 (test-rmail-mime-bulk-handler)
11040 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11041
f2a0aa3a
JL
110422011-11-21 Juri Linkov <juri@jurta.org>
11043
1154d12e
JB
11044 * calc/calc.el (calc-read-key-sequence):
11045 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11046
9c34a344
LMI
110472011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11048
11049 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11050 Tell the caller that the next line needs recomputation, even
11051 though it doesn't start a sexp (bug#10094).
11052
f04a3be9
SM
110532011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11056
7978747f
SM
110572011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11058
f04a3be9
SM
11059 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11060 Use force-same-window.
7978747f 11061
fe7a3057
JB
110622011-11-20 Juanma Barranquero <lekktu@gmail.com>
11063
11064 * descr-text.el (describe-char-unicode-data):
11065 * json.el (json-string-escape):
11066 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11067 (Footnote-unicode, Footnote-style-p):
11068 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11069
24901d61
CY
110702011-11-20 Chong Yidong <cyd@gnu.org>
11071
11072 * window.el (replace-buffer-in-windows): Restore interactive spec.
11073
bac7ff22
SM
110742011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11075
24f3d7b9
SM
11076 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11077
bac7ff22
SM
11078 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11079 (byte-compile-global-not-obsolete-vars): New var.
11080 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11081 Use it.
11082 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11083
cd1181db
JB
110842011-11-20 Juanma Barranquero <lekktu@gmail.com>
11085
11086 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11087 * progmodes/pascal.el (electric-pascal-equal):
11088 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11089 * xml.el (xml-substitute-special): Fix typos.
11090
7fb18e9e
GM
110912011-11-20 Glenn Morris <rgm@gnu.org>
11092
11093 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11094 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11095 Doc fixes.
11096 (rmail-decode-mime-charset): Mark as obsolete.
11097
11098 * mail/rmailsum.el (rmail-message-regexp-p-1):
11099 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11100 Before using mime functions, check they are set. (Bug#10077)
11101
d5a6b3ba
JL
111022011-11-19 Juri Linkov <juri@jurta.org>
11103
11104 * info.el (Info-finder-find-node): Use `package--builtins' instead
11105 of `package-alist'. Use node names formed by the pattern "Keyword "
11106 and the keyword name.
11107
e981b61f
AS
111082011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11109
1d00653d 11110 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11111
3ffbc301
JL
111122011-11-19 Juri Linkov <juri@jurta.org>
11113
11114 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11115 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11116 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11117 `old-history', `old-history-forward'. Add let-binding
11118 `window-selected'. Remove calls to `kill-buffer',
11119 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11120 before calling `Info-find-node', so `Info-find-node-2' will reread
11121 the Info file. Restore window positions only when `window-selected'
11122 is non-nil.
11123
30c62133
JL
111242011-11-19 Juri Linkov <juri@jurta.org>
11125
11126 * isearch.el (isearch-lazy-highlight-new-loop):
11127 Remove condition `(not isearch-error)'. (Bug#9918)
11128
11129 * misearch.el (multi-isearch-search-fun): Add condition
11130 `(not bound)' to ignore lazy-highlighting search.
11131 Add the search-failed message "end of multi" when the end of
11132 multi-sequence is reached. Uncapitalize the search-failed
11133 message "Repeat for next buffer".
11134
11135 * info.el (Info-search): Add the search-failed message
11136 "end of the manual" when the end of the manual is reached
11137 in Isearch mode.
11138
645ca9cf
JL
111392011-11-19 Juri Linkov <juri@jurta.org>
11140
11141 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11142 Use non-destructive `remove' instead of `delete' because
11143 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11144 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11145
df754f66
JL
111462011-11-19 Juri Linkov <juri@jurta.org>
11147
11148 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11149 to nil instead of binding `search-ring' and `regexp-search-ring'.
11150 (Bug#9185)
11151
0e23d96a
EZ
111522011-11-19 Eli Zaretskii <eliz@gnu.org>
11153
11154 * simple.el (line-move): Force movement by logical lines for any
11155 hscrolled window, not only when auto-hscroll-mode is on.
11156 (line-move-visual): Update doc string to that effect. (Bug#10076)
11157
8a6ccb66
AS
111582011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11159
11160 * language/european.el (macintosh): Define as alias for mac-roman.
11161
49ae5b39
EZ
111622011-11-19 Eli Zaretskii <eliz@gnu.org>
11163
11164 * mail/rmailmm.el (rmail-mime-display-header)
11165 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11166 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11167 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11168 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11169 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11170 of a raw aref.
11171 (rmail-mime-entity-segment): To get past the tagline, move forward
11172 2 more lines, to account for the 2 empty lines that precede and
11173 follow the line with the buttons.
11174 (rmail-mime-update-tagline): Move one more line, to get past the
11175 empty line that follows the buttons in the tagline. (Bug#9520)
11176
c56cad4a
MR
111772011-11-19 Martin Rudalics <rudalics@gmx.at>
11178
11179 * window.el (window-max-delta-1, window-min-delta-1)
11180 (window-min-size-1, window-state-get-1, window-state-put-1)
11181 (window-state-put-2): Use "window--" prefix.
11182
cbe71af3
SM
111832011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11184
2ad52c60
SM
11185 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11186 (smie-warning-count): New var.
11187 (smie-set-prec2tab): Use it.
11188 (smie-bnf->prec2): Improve warnings. Add docstring.
11189 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11190 (smie-bnf--set-class): New function.
11191 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11192 corner case.
11193
6944dbc1
SM
11194 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11195 (compilation-error-properties, compilation-move-to-column):
11196 Handle compilation-first-column while in the target buffer.
11197
c400c4d7
SM
11198 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11199 Don't hardcode point-min==1.
11200
6dbe3e96
SM
11201 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11202 (eshell-rewrite-for-command): Remove workaround.
11203 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11204 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11205 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11206
cbe71af3
SM
11207 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11208
a8e1496d
GM
112092011-11-17 Glenn Morris <rgm@gnu.org>
11210
11211 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11212 Ignore buffer-local generated-autoload-file if it is the same
11213 as the global value. (Bug#10049)
11214
df85d315
JB
112152011-11-17 Juanma Barranquero <lekktu@gmail.com>
11216
11217 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11218 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11219 (reftex-toc-previous-heading, reftex-toc-max-level)
11220 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11221 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11222 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11223 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11224 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11225 (reftex-toc-rename-label, reftex-toc-visit-location)
11226 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11227 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11228 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11229 leaving "*toc*" only for references to the buffer.
11230
a0c2d0ae
MR
112312011-11-17 Martin Rudalics <rudalics@gmx.at>
11232
11233 * window.el (window-resize, delete-window, split-window):
11234 Replace window-splits by window-combination-resize.
1d00653d 11235 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11236
35c0bac8
GM
112372011-11-17 Glenn Morris <rgm@gnu.org>
11238
11239 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11240 Make bash entry derive from sh entry, not shell entry.
11241
d0c8fc8a
MA
112422011-11-16 Michael Albinus <michael.albinus@gmx.de>
11243
7262a87c
MA
11244 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11245 local file name.
11246
7877f373
JB
112472011-11-16 Juanma Barranquero <lekktu@gmail.com>
11248
11249 * menu-bar.el (menu-bar-file-menu):
11250 * printing.el (pr-ps-utility):
11251 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11252 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11253 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11254 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11255 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11256 (icalendar--convert-cyclic-to-ical)
11257 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11258 (icalendar--convert-ical-to-diary)
11259 (icalendar--convert-recurring-to-diary)
11260 (icalendar--convert-non-recurring-all-day-to-diary)
11261 (icalendar-import-format-sample):
11262 * progmodes/idlw-shell.el (idlwave-shell-mode):
11263 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11264 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11265 (vhdl-ps-print-init): Fix typos.
11266
10649b82
KM
112672011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11268
9d0cfcd6
GM
11269 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11270 FSF and collapse date sequence, obscure author/maintainer email address
11271 better, remove extra version line, track relocation of author's webpage.
10649b82 11272
9d0cfcd6
GM
11273 * progmodes/python.el (python-pdbtrack-input-prompt)
11274 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11275 regular python pdb prompts. Adjustments shamelessly taken exactly as
11276 suggested in EmacsWiki page (tiny change):
11277 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11278
58179cce
JB
112792011-11-16 Juanma Barranquero <lekktu@gmail.com>
11280
11281 * expand.el (expand-pos, expand-index, expand-point):
11282 Remove redundant info from docstring.
11283 (expand-add-abbrevs): Doc fix.
11284 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11285 (expand-sample-perl-mode-expand-list): Fix typos.
11286
11287 * net/dbus.el (dbus-event-member-name):
11288 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11289 * term/pc-win.el (msdos-create-frame-with-faces):
11290 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11291
b6f67890
MR
112922011-11-16 Martin Rudalics <rudalics@gmx.at>
11293
11294 * window.el (split-window, window-state-get-1)
11295 (window-state-put-1, window-state-put-2): Rename occurrences of
11296 window-nest to window-combination-limit.
1d00653d 11297 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11298
ce7ddba0
CY
112992011-11-16 Chong Yidong <cyd@gnu.org>
11300
11301 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11302 regexp (Bug#10033).
11303
3ae704f4
SM
113042011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11307 `completing-read' will remove *Completions* and will preserve
11308 current-buffer for us.
11309 (tmm-add-prompt): Users of *Completions* will always (re)set its
11310 major mode.
11311 (tmm-old-comp-map): Remove.
11312
6ad1cdde
GM
113132011-11-16 Glenn Morris <rgm@gnu.org>
11314
11315 * mail/rmailedit.el: Require rmailmm when compiling.
11316 (rmail-old-mime-state): New declaration.
11317 (rmail-edit-current-message): If editing a mime message,
11318 edit the "raw" message from the mbox buffer.
11319 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11320
d20faa20
GM
113212011-11-15 Glenn Morris <rgm@gnu.org>
11322
11323 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11324 which wasn't being used. Add optional arg to force given state.
11325 (rmail-mime): Add optional arg to force given state.
11326
c7015153
JB
113272011-11-15 Juanma Barranquero <lekktu@gmail.com>
11328
11329 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11330 * frame.el (display-mm-dimensions-alist):
11331 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11332 (outline-move-subtree-down):
11333 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11334 (newsticker--treeview-do-get-node):
11335 * net/quickurl.el (quickurl-list-buffer-name):
11336 * progmodes/dcl-mode.el (dcl-mode):
11337 * progmodes/gdb-mi.el (gdb-mapcar*):
11338 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11339
45261b50
GM
113402011-11-15 Glenn Morris <rgm@gnu.org>
11341
11342 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11343 in a boolean sense, so just make it a boolean, and fix the doc.
11344 (rmail-show-mime-function, rmail-mime-feature)
11345 (rmail-require-mime-maybe): Doc fixes.
11346 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11347
11348 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11349
0d26e0b6
JB
113502011-11-15 Juanma Barranquero <lekktu@gmail.com>
11351
11352 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11353 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11354 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11355 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11356
447f30f6
GM
113572011-11-15 Glenn Morris <rgm@gnu.org>
11358
672b871d
GM
11359 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11360 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11361 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11362 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11363 (rmail-mime, rmail-show-mime): Doc fixes.
11364
f6aa5bb1
GM
11365 * term/ns-win.el (mode-line-frame-identification):
11366 Leave it alone. (Bug#10051)
11367
947cd66b
GM
11368 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11369
447f30f6
GM
11370 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11371 Handle empty buffers. (Bug#9978)
11372
0b381c7e
JB
113732011-11-14 Juanma Barranquero <lekktu@gmail.com>
11374
11375 * international/mule.el (define-charset):
11376 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11377 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11378 * progmodes/verilog-mode.el (verilog-backward-token):
11379 * textmodes/ispell.el (lookup-words):
11380 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11381
71e027ac
GM
113822011-11-14 Glenn Morris <rgm@gnu.org>
11383
56632ce4
GM
11384 * progmodes/executable.el
11385 (executable-make-buffer-file-executable-if-script-p):
11386 Handle file-modes returning nil.
11387
40500957
GM
11388 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11389 message - not necessary, and causes problems. (Bug#9831)
11390
071c2340
GM
11391 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11392
d3cfca60
GM
11393 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11394
71e027ac
GM
11395 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11396 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11397 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11398
89d61221
MR
113992011-11-12 Martin Rudalics <rudalics@gmx.at>
11400
11401 * window.el (window-resize, delete-window): Use window-splits
11402 variable instead of function.
11403 (window-state-get-1, window-state-put-2, window-state-put):
11404 Don't deal with windows' splits status.
11405
98282f6f
GM
114062011-11-12 Glenn Morris <rgm@gnu.org>
11407
11408 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11409 (apropos-documentation): Doc fixes.
11410
40a8bdf6
JB
114112011-11-11 Juanma Barranquero <lekktu@gmail.com>
11412
11413 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11414 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11415
65bd19ff
SM
114162011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * electric.el (electric-indent-post-self-insert-function): Make it
11419 possible for a char to only indent in some circumstances.
11420 (electric-indent-mode): Simplify.
11421
54f9154c
MR
114222011-11-11 Martin Rudalics <rudalics@gmx.at>
11423
11424 * window.el (windows-with-parameter): Remove unused function.
11425 (windows-at-side): Rename to window-at-side-list.
11426 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11427 (window-side-check, window-size-ignore, window-size-fixed-1)
11428 (window-in-direction-2): Prefix with "window--".
11429 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11430
68cbc58b
GM
114312011-11-11 Glenn Morris <rgm@gnu.org>
11432
11433 * subr.el (eval-after-load): If FILE is already loaded,
11434 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11435
b2621720
GM
114362011-11-10 Glenn Morris <rgm@gnu.org>
11437
9a4de110
GM
11438 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11439 Call svn via vc-svn-command rather than vc-do-command.
11440 (vc-svn-command): Add --non-interactive. (Bug#9993)
11441 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11442
b2621720
GM
11443 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11444 Add toggle-read-only. (Bug#7292)
11445 * files.el (toggle-read-only): Mention that it should only
11446 be used interactively. (Bug#10006)
11447
1dce7193
SM
114482011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11449
d9ac1a1e
SM
11450 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11451 Adjust regexp for OCaml warnings.
11452
0c325082
SM
11453 * electric.el (electric-pair-post-self-insert-function): Let user
11454 turn it off buffer-locally (bug#9932).
11455
90132c14
SM
11456 * progmodes/python.el (python-beginning-of-statement):
11457 Rewrite (bug#2703).
11458
1dce7193
SM
11459 * progmodes/compile.el: Better handle TABs (bug#9749).
11460 (compilation-internal-error-properties)
11461 (compilation-next-error-function): Obey the target buffer's
11462 compilation-error-screen-columns.
11463
c4e7c63a
JB
114642011-11-09 Juanma Barranquero <lekktu@gmail.com>
11465
11466 * progmodes/meta-mode.el: Remove obsolete comments.
11467 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11468 Fix typos in docstrings.
11469
2cffd681
MR
114702011-11-09 Martin Rudalics <rudalics@gmx.at>
11471
11472 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11473 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11474 (window--resizable): New function. Make all callers of
11475 window-resizable call window--resizable instead.
11476 (window-resizable): Rewrite in terms of window--resizable.
11477
0edcba87
GM
114782011-11-08 Glenn Morris <rgm@gnu.org>
11479
11480 * progmodes/delphi.el (delphi-mode-syntax-table):
11481 Let define-derived-mode define a proper syntax table. (Bug#9994)
11482
4b0d61e3
SM
114832011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * window.el: Stay away from defsubst.
11486 (window-list-no-nils): Remove.
11487 (window-state-get-1, window-state-get): Use backquote instead.
11488
cd394be1 114892011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11490
4b0d61e3 11491 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11492 Fix incorrect use of default argument in `completing-read'.
11493
e1c2c6f2
MR
114942011-11-08 Martin Rudalics <rudalics@gmx.at>
11495
11496 * window.el (display-buffer-function, special-display-function):
11497 Mention display-buffer-record-window but do not mention
11498 help-setup parameter in doc-strings.
b3f4a882 11499 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11500
105216ed
CY
115012011-11-08 Chong Yidong <cyd@gnu.org>
11502
11503 * window.el (window-total-height, window-total-width): Doc fix.
11504 (window-body-size): Move from C.
11505 (window-body-height, window-body-width): Move to C.
11506
0a9f9ab5
SM
115072011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11508
11509 * window.el: Make special-display like display-buffer-alist (bug#9532).
11510 (display-buffer--special-action): New function, morphed
11511 from display-buffer--special.
11512 (display-buffer): Use it to handle special-display-buffers at higher
11513 priority (just after display-buffer-alist).
11514 (display-buffer-fallback-action, display-buffer--other-frame-action)
11515 (pop-to-buffer-same-window): Remove display-buffer--special.
11516
a769dd15
GM
115172011-11-07 Glenn Morris <rgm@gnu.org>
11518
11519 * calendar/cal-menu.el (cal-menu-set-date-title):
11520 Do nothing if not in a calendar. (Bug#9976)
11521
05a61ee3
SM
115222011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * files.el (find-file): Always use selected-window.
11525
be7f5545
MR
115262011-11-07 Martin Rudalics <rudalics@gmx.at>
11527
11528 * window.el (window-combinations): Make WINDOW argument
11529 mandatory. Rewrite doc-string.
11530 (walk-window-subtree, window-atom-check, window-min-delta)
11531 (window-max-delta, window--resize-this-window)
11532 (window--resize-root-window-vertically, window-tree)
11533 (balance-windows, window-state-put): Rewrite doc-strings as to
11534 not mention the term "subwindow".
11535 (window--resize-subwindows-skip-p): Rename to
11536 window--resize-child-windows-skip-p.
11537 (window--resize-subwindows-normal): Rename to
11538 window--resize-child-windows-normal.
11539 (window--resize-subwindows): Rename to
11540 window--resize-child-windows.
11541 (window-or-subwindow-p): Rename to window--in-subtree-p.
11542
3c6702ef
ML
115432011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11544
11545 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11546 Ensure that mbox format messages end in two newlines (Bug#9974).
11547
49745b39
CY
115482011-11-06 Chong Yidong <cyd@gnu.org>
11549
11550 * window.el (window-combination-p): Function deleted; its
11551 side-effect is not used in any existing code.
11552 (window-combinations, window-combined-p): Call window-*-child
11553 directly.
11554
24300f5f
CY
115552011-11-05 Chong Yidong <cyd@gnu.org>
11556
11557 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11558 (window-size-ignore, window-state-get): Callers changed.
11559 (window-normalize-window): Rename from window-normalize-any-window.
11560 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11561 (window-normalize-live-window): Delete.
447f16b8
CY
11562 (window-combination-p, window-combined-p, window-combinations)
11563 (walk-window-subtree, window-atom-root, window-min-size)
11564 (window-sizable, window-sizable-p, window-size-fixed-p)
11565 (window-min-delta, window-max-delta, window-resizable)
11566 (window-resizable-p, window-full-height-p, window-full-width-p)
11567 (window-current-scroll-bars, window-point-1, set-window-point-1)
11568 (window-at-side-p, window-in-direction, window-resize)
11569 (adjust-window-trailing-edge, maximize-window, minimize-window)
11570 (window-deletable-p, delete-window, delete-other-windows)
11571 (record-window-buffer, unrecord-window-buffer)
11572 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11573 (quit-window, split-window, window-state-put)
11574 (set-window-text-height, fit-window-to-buffer)
11575 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11576
89bd5ee1
EZ
115772011-11-04 Eli Zaretskii <eliz@gnu.org>
11578
53479029
EZ
11579 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11580 rfc2047-decode-string.
11581 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11582 warnings.
11583
89bd5ee1
EZ
11584 * window.el (window-body-height, window-body-width): Mention in
11585 the doc string that the return values are in frame's canonical
11586 units. (Bug#9949)
11587
bd17fdee
AM
115882011-11-03 Alan Mackenzie <acm@muc.de>
11589
11590 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11591 change in cc-engine.el.
11592
acc825c5
SM
115932011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11594
11595 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11596
1885e5b8
MR
115972011-11-02 Martin Rudalics <rudalics@gmx.at>
11598
11599 * window.el (quit-window): Call unrecord-window-buffer after
11600 showing another buffer in the window. (Bug#9937)
acc825c5 11601 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11602
ebe06da9
JB
116032011-11-02 Juanma Barranquero <lekktu@gmail.com>
11604
11605 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11606 Accept status with more than 9 shelves. (Bug#9935)
11607 Reported by Colin D Bennett <colin@gibibit.com>.
11608
4ee88440
MR
116092011-11-01 Martin Rudalics <rudalics@gmx.at>
11610
11611 * help.el (with-help-window): Don't reference
11612 temp-buffer-show-specifiers in doc-string.
11613
08e1d82c
AS
116142011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11615
11616 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11617 menu-item.
11618
84bd6e9e
VJL
116192011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11620
11621 * whitespace.el: New version 13.2.2.
11622 (whitespace-newline-mode): Disable properly. Reported by Sarah
11623 <EmacsWiki>.
11624
dba0634a
UJ
116252011-10-30 Ulf Jasper <ulf.jasper@web.de>
11626
11627 * net/newst-treeview.el: Remove "Time-stamp".
11628 (newsticker--group-manage-orphan-feeds): Do not call
11629 newsticker--treeview-tree-update.
db22a3c2
JB
11630 (newsticker-treeview-update, newsticker-treeview):
11631 Call newsticker--treeview-tree-update if necessary.
dba0634a 11632
3d8daefe
MR
116332011-10-30 Martin Rudalics <rudalics@gmx.at>
11634
11635 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11636 (window-iso-combinations): Remove "iso-" infix.
11637 Suggested by Chong Yidong.
3d8daefe
MR
11638 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11639 (window-max-delta-1, window-resize, window--resize-siblings)
11640 (window--resize-this-window, adjust-window-trailing-edge)
11641 (split-window, balance-windows-1)
11642 (shrink-window-if-larger-than-buffer):
11643 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11644 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11645
1bc4c3ae
SM
116462011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11649 in place (bug#9907).
11650 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11651 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11652 (eshell-structure-basic-command, eshell-rewrite-while-command)
11653 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11654 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11655 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11656 (eshell-do-pipelines-synchronously, eshell-eval-command):
11657 Use backquotes and prefer setq to set.
11658 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11659 (eshell-macrop): Use functionp.
c1e2f5fa 11660 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11661
30b65d9c
CY
116622011-10-30 Chong Yidong <cyd@gnu.org>
11663
11664 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11665 instead of set-mark (Bug#9810).
11666
2d197ffb
CY
116672011-10-30 Chong Yidong <cyd@gnu.org>
11668
11669 * window.el (split-window-below, split-window-right): Rename from
11670 split-window-above-each-other and split-window-side-by-side
11671 respectively. All callers changed.
11672 (split-window-sensibly, split-window-sensibly): Use them.
11673 (split-window-keep-point): Doc fix.
11674
11675 * isearch.el: Add isearch-scroll property to split-window-below
11676 and split-window-right.
11677
11678 * follow.el (follow-mode):
11679 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11680 * progmodes/ada-xref.el (ada-gdb-application):
11681 * emulation/vip.el (vip-buffer-in-two-windows):
11682 * image-dired.el (image-dired-dired-with-window-configuration):
11683 * dired-x.el (dired-do-find-marked-files):
11684 * dired.el (dired-pop-to-buffer):
11685 * bs.el (bs--show-with-configuration):
11686 * vc/emerge.el (emerge-setup-windows):
11687 * textmodes/two-column.el (2C-two-columns):
11688 * textmodes/reftex-toc.el (reftex-toc):
11689 * progmodes/gdb-mi.el (gdb-setup-windows):
11690 * progmodes/fortran.el (fortran-window-create):
11691 * net/newst-treeview.el (newsticker--treeview-window-init):
11692 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11693 * emulation/tpu-edt.el (tpu-gold-map):
11694 * emulation/crisp.el (crisp-mode-map):
11695 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11696
38bb2ca8
CY
116972011-10-29 Chong Yidong <cyd@gnu.org>
11698
aa4de341
CY
11699 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11700
e1eb5385
CY
11701 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11702
5d2ece3c
CY
11703 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11704 forged Ispell output (Bug#7904).
11705
38bb2ca8
CY
11706 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11707
d0af9f77
SM
117082011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11709
11710 * doc-view.el: Avoid ugly errors about not finding nil.
11711 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11712 (doc-view-dvipdf-program, doc-view-unoconv-program)
11713 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11714 Avoid nil or absolute file name as default value.
11715 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11716
52bedd34
AM
117172011-10-28 Alan Mackenzie <acm@muc.de>
11718
db22a3c2 11719 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11720
7e43cfa5
AM
117212011-10-28 Alan Mackenzie <acm@muc.de>
11722
11723 Amend the handling of c-beginning/end-of-defun in nested declaration
11724 scopes.
11725
52bedd34
AM
11726 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11727 cc-langs.el. Change it to a defcustom.
7e43cfa5 11728
52bedd34
AM
11729 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11730 cc-vars.el.
7e43cfa5 11731
d0af9f77
SM
11732 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11733 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11734
52bedd34 11735 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11736 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11737 (c-widen-to-enclosing-decl-scope): New function.
11738 (c-while-widening-to-decl-block): New macro.
11739 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11740 outward for defun boundaries, and correspondingly change symbol
11741 `respect-enclosure' to `go-outward'.
11742 (c-declaration-limits): Change algorithm to report only the "innermost"
11743 defun's boundaries.
11744
1a2ce9ee
DD
117452011-10-28 Deniz Dogan <deniz@dogan.se>
11746
11747 * net/rcirc.el (rcirc-mode): Use hard newlines.
11748
bc97a826
AM
117492011-10-28 Alan Mackenzie <acm@muc.de>
11750
11751 Amend to indent and fontify macros "which include their own semicolon"
11752 correctly, using the "virtual semicolon" mechanism.
11753
52bedd34 11754 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11755
d0af9f77 11756 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11757 Recode to scan one line at a time rather than having \n and \r
58179cce 11758 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11759 (c-forward-label): Amend for virtual semicolons.
58179cce 11760 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11761
52bedd34
AM
11762 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11763 of the new C macros.
bc97a826 11764
52bedd34 11765 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11766 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11767 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11768 (c-opt-cpp-macro-define): Make into a full language variable.
11769 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11770 AWK Mode (including \n, \r) removed, no longer needed.
11771
d0af9f77
SM
11772 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11773 Invoke c-make-macro-with-semi-re.
bc97a826 11774
52bedd34
AM
11775 * progmodes/cc-vars.el (c-macro-with-semi-re):
11776 (c-macro-names-with-semicolon): New variables.
58179cce 11777 (c-make-macro-with-semi-re): New function.
bc97a826 11778
7a6c0941
SM
117792011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * vc/log-edit.el: Fill empty field rather than adding new one.
11782 (log-edit-add-field): New function.
11783 (log-edit-insert-changelog): Use it.
11784
b0c4cdcf
ML
117852011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11786
11787 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11788
ee1f1da9
SM
117892011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11792 (gdb--check-interpreter): New function.
11793 (gdb): Use it.
11794
51bc5f8b
GM
117952011-10-27 Glenn Morris <rgm@gnu.org>
11796
416a2c45
GM
11797 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11798 (least-positive-float, least-negative-float)
11799 (least-positive-normalized-float, least-negative-normalized-float)
11800 (float-epsilon, float-negative-epsilon):
11801 Remove unnecessary declarations.
11802
11803 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11804 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11805 (least-positive-float, least-negative-float)
11806 (least-positive-normalized-float, least-negative-normalized-float)
11807 (float-epsilon, float-negative-epsilon): Add doc-strings,
11808 based on those in cl.texi.
11809
51bc5f8b
GM
11810 * files.el (set-visited-file-name): If the major-mode changed,
11811 reload the local variables. (Bug#9796)
11812
15de15c6
CY
118132011-10-27 Chong Yidong <cyd@gnu.org>
11814
11815 * subr.el (change-major-mode-after-body-hook): New hook.
11816 (run-mode-hooks): Run it.
11817
ee1f1da9
SM
11818 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11819 Use change-major-mode-before-body-hook.
15de15c6
CY
11820
11821 * simple.el (fundamental-mode):
11822 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11823 change introducing fundamental-mode-hook.
11824
5430d399
JB
118252011-10-26 Juanma Barranquero <lekktu@gmail.com>
11826
acc825c5 11827 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11828
ad74a69e
MA
118292011-10-26 Michael Albinus <michael.albinus@gmx.de>
11830
11831 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11832 tramp.el explicitly. (Bug#7583)
ad74a69e 11833
71d4c2a5
SM
118342011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * progmodes/octave-mod.el:
11837 * progmodes/octave-inf.el: Update maintainer.
11838
b1f6fa26
CY
118392011-10-26 Chong Yidong <cyd@gnu.org>
11840
11841 * subr.el (with-wrapper-hook): Rewrite doc.
11842
3f04efd6
MA
118432011-10-25 Michael Albinus <michael.albinus@gmx.de>
11844
11845 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11846 filenames "/method:foo:". (Bug#9793)
3f04efd6 11847
410488d3
SM
118482011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11849
11850 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11851 (bug#9865).
11852
c1ebb47e
GM
118532011-10-24 Glenn Morris <rgm@gnu.org>
11854
11855 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11856
7f5c46c7
MA
118572011-10-24 Michael Albinus <michael.albinus@gmx.de>
11858
11859 * notifications.el: Add the requirement of a running D-Bus session
11860 bus to the Commentary.
11861
db2440b6
JL
118622011-10-24 Juri Linkov <juri@jurta.org>
11863
11864 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11865 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11866 (Bug#9364)
11867
feecf435
JL
118682011-10-24 Juri Linkov <juri@jurta.org>
11869
11870 * info.el (Info-following-node-name-re): Add newline to the list
11871 of allowed characters for leading space. (Bug#9824)
11872
a3839de2
SM
118732011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11874
acc825c5
SM
11875 * progmodes/octave-inf.el (inferior-octave-mode-map):
11876 Fix C-c C-h binding.
a3839de2
SM
11877 * progmodes/octave-mod.el (octave-help): Remove.
11878
09388e76
MA
118792011-10-23 Michael Albinus <michael.albinus@gmx.de>
11880
11881 Sync with Tramp 2.2.3.
11882
11883 * net/tramp-cache.el (top): Pacify byte-compiler using
11884 `init-file-user' and `site-run-file'.
11885
11886 * net/trampver.el: Update release number.
11887
86c60681
CY
118882011-10-23 Chong Yidong <cyd@gnu.org>
11889
11890 * files.el (toggle-read-only): Remove obsolete comment about
11891 version control.
11892
11893 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11894 for toggle-read-only. Note that this hasn't called vc-next-action
11895 since 2008-05-02, though it wasn't documented at the time.
11896
a3839de2
SM
11897 * vc/ediff-init.el (ediff-toggle-read-only-function):
11898 Use toggle-read-only.
86c60681 11899
cd5495ff
AM
119002011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11901
11902 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11903 of c-parse-state.
11904
00b77525 11905 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11906 correct faulty logical expression.
cd5495ff
AM
11907 (c-parse-state-state, c-record-parse-state-state):
11908 (c-replay-parse-state-state): New defvar/defuns.
11909 (c-debug-parse-state): Use new functions.
11910
42ee24ed
MR
119112011-10-22 Martin Rudalics <rudalics@gmx.at>
11912
11913 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11914 last fix. Use window-in-direction correctly.
42ee24ed 11915
a7dee7e7
CY
119162011-10-21 Chong Yidong <cyd@gnu.org>
11917
11918 * progmodes/idlwave.el (idlwave-mode):
11919 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11920 require-final-newline; that's done in prog-mode.
11921 Suggested by Stefan Monnier.
a7dee7e7 11922
e07b9a6d
MR
119232011-10-21 Martin Rudalics <rudalics@gmx.at>
11924
11925 * mouse.el (mouse-drag-window-above)
11926 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11927 (mouse-drag-mode-line-1, mouse-drag-header-line)
11928 (mouse-drag-vertical-line-rightward-window): Remove.
11929 (mouse-drag-line): New function.
11930 (mouse-drag-mode-line, mouse-drag-header-line)
11931 (mouse-drag-vertical-line): Call mouse-drag-line.
11932 * window.el (window-at-side-p, windows-at-side): New functions.
11933
7e1361d9
UM
119342011-10-21 Ulrich Mueller <ulm@gentoo.org>
11935
11936 * tar-mode.el (tar-grind-file-mode):
11937 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11938
30fcaf3a
CY
119392011-10-21 Chong Yidong <cyd@gnu.org>
11940
11941 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11942 * progmodes/vera-mode.el (vera-mode):
11943 Use mode-require-final-newline.
30fcaf3a 11944
516eddb0
GM
119452011-10-20 Glenn Morris <rgm@gnu.org>
11946
db22a3c2 11947 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11948
10d5f513
CS
119492011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11950
11951 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11952
ac6c8639
CY
119532011-10-20 Chong Yidong <cyd@gnu.org>
11954
11955 * emulation/cua-base.el (cua-mode):
11956 * mail/footnote.el (footnote-mode):
11957 * mail/mailabbrev.el (mail-abbrevs-mode):
11958 * net/xesam.el (xesam-minor-mode):
11959 * progmodes/bug-reference.el (bug-reference-mode):
11960 * progmodes/cap-words.el (capitalized-words-mode):
11961 * progmodes/compile.el (compilation-minor-mode)
11962 (compilation-shell-minor-mode):
11963 * progmodes/gud.el (gud-tooltip-mode):
11964 * progmodes/hideif.el (hide-ifdef-mode):
11965 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11966 * progmodes/subword.el (subword-mode):
11967 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11968 * progmodes/which-func.el (which-function-mode):
11969 * term/tvi970.el (tvi970-set-keypad-mode):
11970 * term/vt100.el (vt100-wide-mode):
11971 * textmodes/flyspell.el (flyspell-mode):
11972 * textmodes/ispell.el (ispell-minor-mode):
11973 * textmodes/nroff-mode.el (nroff-electric-mode):
11974 * textmodes/paragraphs.el (use-hard-newlines):
11975 * textmodes/refill.el (refill-mode):
11976 * textmodes/reftex.el (reftex-mode):
11977 * textmodes/rst.el (rst-minor-mode):
11978 * textmodes/sgml-mode.el (html-autoview-mode)
11979 (sgml-electric-tag-pair-mode):
11980 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11981 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11982 * emulation/crisp.el (crisp-mode):
11983 * emacs-lisp/eldoc.el (eldoc-mode):
11984 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11985 minor mode behavior.
11986
aa42ab43
JL
119872011-10-19 Juri Linkov <juri@jurta.org>
11988
11989 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11990 the list of hard-coded chars with escape-glyph face.
11991
89400f1d
SM
119922011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11995
305c07f6
MA
119962011-10-19 Michael Albinus <michael.albinus@gmx.de>
11997
11998 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11999 running process.
12000
13754b54
GM
120012011-10-19 Glenn Morris <rgm@gnu.org>
12002
12003 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12004 Ignore ignored files. (Bug#9726)
12005
06e21633
CY
120062011-10-19 Chong Yidong <cyd@gnu.org>
12007
12008 Doc fix for minor modes, stating that an omitted argument enables
12009 the mode unconditionally when called from Lisp.
12010
12011 * abbrev.el (abbrev-mode):
12012 * allout.el (allout-mode):
12013 * autoinsert.el (auto-insert-mode):
12014 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12015 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12016 (global-auto-revert-mode):
12017 * battery.el (display-battery-mode):
12018 * composite.el (global-auto-composition-mode)
12019 (auto-composition-mode):
12020 * delsel.el (delete-selection-mode):
12021 * desktop.el (desktop-save-mode):
12022 * dired-x.el (dired-omit-mode):
12023 * dirtrack.el (dirtrack-mode):
12024 * doc-view.el (doc-view-minor-mode):
12025 * double.el (double-mode):
12026 * electric.el (electric-indent-mode, electric-pair-mode):
12027 * emacs-lock.el (emacs-lock-mode):
12028 * epa-hook.el (auto-encryption-mode):
12029 * follow.el (follow-mode):
12030 * font-core.el (font-lock-mode):
12031 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12032 * help.el (temp-buffer-resize-mode):
12033 * hilit-chg.el (highlight-changes-mode)
12034 (highlight-changes-visible-mode):
12035 * hi-lock.el (hi-lock-mode):
12036 * hl-line.el (hl-line-mode, global-hl-line-mode):
12037 * icomplete.el (icomplete-mode):
12038 * ido.el (ido-everywhere):
12039 * image-file.el (auto-image-file-mode):
12040 * image-mode.el (image-minor-mode):
12041 * iswitchb.el (iswitchb-mode):
12042 * jka-cmpr-hook.el (auto-compression-mode):
12043 * linum.el (linum-mode):
12044 * longlines.el (longlines-mode):
12045 * master.el (master-mode):
12046 * mb-depth.el (minibuffer-depth-indicate-mode):
12047 * menu-bar.el (menu-bar-mode):
12048 * minibuf-eldef.el (minibuffer-electric-default-mode):
12049 * mouse-sel.el (mouse-sel-mode):
12050 * msb.el (msb-mode):
12051 * mwheel.el (mouse-wheel-mode):
12052 * outline.el (outline-minor-mode):
12053 * paren.el (show-paren-mode):
12054 * recentf.el (recentf-mode):
12055 * reveal.el (reveal-mode, global-reveal-mode):
12056 * rfn-eshadow.el (file-name-shadow-mode):
12057 * ruler-mode.el (ruler-mode):
12058 * savehist.el (savehist-mode):
12059 * scroll-all.el (scroll-all-mode):
12060 * scroll-bar.el (scroll-bar-mode):
12061 * server.el (server-mode):
12062 * shell.el (shell-dirtrack-mode):
12063 * simple.el (auto-fill-mode, transient-mark-mode)
12064 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12065 (line-number-mode, column-number-mode, size-indication-mode)
12066 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12067 * strokes.el (strokes-mode):
12068 * time.el (display-time-mode):
12069 * t-mouse.el (gpm-mouse-mode):
12070 * tool-bar.el (tool-bar-mode):
12071 * tooltip.el (tooltip-mode):
12072 * type-break.el (type-break-mode-line-message-mode)
12073 (type-break-query-mode):
12074 * view.el (view-mode):
12075 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12076 (global-whitespace-mode, global-whitespace-newline-mode):
12077 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12078
a3839de2
SM
12079 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12080 Fix autogenerated docstring.
06e21633 12081
5214e501
JL
120822011-10-19 Juri Linkov <juri@jurta.org>
12083
12084 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12085 by checking environment variables "DESKTOP_SESSION" and
12086 "XDG_CURRENT_DESKTOP". (Bug#9779)
12087
195f8db9
JL
120882011-10-19 Juri Linkov <juri@jurta.org>
12089
12090 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12091 (browse-url-chromium-program, browse-url-chromium-arguments):
12092 New defcustoms.
12093 (browse-url-default-browser): Check for `browse-url-chromium' and
12094 call `browse-url-chromium-program'.
12095 (browse-url-chromium): New command. (Bug#9779)
12096
343a34ff
JB
120972011-10-18 Juanma Barranquero <lekktu@gmail.com>
12098
12099 * facemenu.el (list-colors-duplicates): On Windows, detect more
12100 duplicates by assuming that only colors matching "^System" are
12101 special "system colors". (Bug#9722)
12102
6978a151
SM
121032011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12104
12105 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12106 to distinguish the author from the committer.
12107
6a80b297
MA
121082011-10-18 Michael Albinus <michael.albinus@gmx.de>
12109
12110 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12111
b31a5677
JK
121122011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12113
12114 * international/mule.el (sgml-html-meta-auto-coding-function):
12115 Add support for detecting encoding in HTML5 specified only as
12116 <meta charset="UTF-8">. Implementation just makes http-equiv and
12117 content-type parts from HTML4 encoding string optional. (Bug#9716)
12118
80c6d77f
GM
121192011-10-18 Glenn Morris <rgm@gnu.org>
12120
12121 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12122
08b0fee8
CY
121232011-10-18 Chong Yidong <cyd@gnu.org>
12124
12125 * faces.el (cursor): Doc fix.
12126
67e729a5
CY
121272011-10-17 Chong Yidong <cyd@gnu.org>
12128
12129 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12130
343a34ff 121312011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12132
12133 * dirtrack.el (dirtrack): Support shell buffers with path
12134 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12135
0bc06380
TZ
121362011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12137
12138 * json.el: Bump version to 1.3 and note change in History.
12139 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12140
8b79f3e0
SM
121412011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12142
5a7c536b
SM
12143 * comint.el (comint-insert-input, comint-send-input)
12144 (comint-get-old-input-default, comint-backward-matching-input)
12145 (comint-next-prompt): Use nil instead of `input' for field property of
12146 past user input (bug#114).
12147
96a8a0df
SM
12148 * minibuffer.el (completion--replace): Inherit surrounding properties
12149 (bug#114).
12150 (minibuffer-complete-and-exit): Use it.
12151
8b79f3e0
SM
12152 * comint.el (comint--table-subvert): Quote the all-completions output
12153 (bug#9160).
12154
b8f7ff0d
MR
121552011-10-17 Martin Rudalics <rudalics@gmx.at>
12156
8b79f3e0 12157 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12158
b8f7ff0d 12159 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12160 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12161 entries and separate them from frame entries.
12162
c235b555
GM
121632011-10-15 Glenn Morris <rgm@gnu.org>
12164
12165 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12166 Doc fixes.
12167
6bbfa6e1
CY
121682011-10-15 Chong Yidong <cyd@stupidchicken.com>
12169
8b79f3e0
SM
12170 * net/network-stream.el (network-stream-open-starttls):
12171 Improve detection of failure due to lack of TLS support.
ec5c990d 12172
6bbfa6e1
CY
12173 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12174 putting the input text in front and in bold.
12175
98488977
SM
121762011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12177
3d1337be
SM
12178 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12179
ee0b45e4
SM
12180 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12181 empty buffer.
12182
98488977
SM
12183 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12184 unread-command-events rather than pushing yet-another event.
12185
186f4720
EZ
121862011-10-14 Eli Zaretskii <eliz@gnu.org>
12187
12188 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12189 the explanation of the possible choices. Make the options passed
12190 to completing-read shorter.
12191
8b7a997c
AM
121922011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12193
12194 * textmodes/flyspell.el (flyspell-large-region): Make sure
12195 extended character mode is used if defined (Bug#1339).
12196
12587bbb
EZ
121972011-10-13 Eli Zaretskii <eliz@gnu.org>
12198
12199 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12200 character info for LRE, LRO, RLE, and RLO characters by appending
12201 an invisible PDF.
12587bbb 12202
bad41229
SM
122032011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12204
12205 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12206 even in case of error; add debug spec; simplify data flow.
12207 (with-timeout-handler): Remove.
12208
28dbc92f
MA
122092011-10-12 Michael Albinus <michael.albinus@gmx.de>
12210
12211 Fix Bug#6019, Bug#9315.
12212
12213 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12214 complete `buffer-file-name', the local file name part could look
12215 remotely (for example on VMS).
12216
12217 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12218 `tramp-run-real-handler'.
12219 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12220 already quoted by '"'.
12221
12222 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12223 Let `file-name-handler-alist' be nil, the local file name part
12224 could look remotely (for example on VMS).
12225
e1b0b23a
SM
122262011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12229 from here...
12230 (flyspell-post-command-hook): ...to here.
12231
a120bde9
SM
122322011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12233
12234 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12235 if not needed.
12236 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12237 using completion. Protect against "slow" callers.
12238 Remove the "message hack".
12239
7ce7717b
JL
122402011-10-11 Juri Linkov <juri@jurta.org>
12241
12242 * isearch.el (isearch-lazy-highlight-word): New variable.
12243 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12244 Use it. (Bug#9727)
12245
c02ee9d6
GM
122462011-10-11 Glenn Morris <rgm@gnu.org>
12247
12248 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12249 like f90-previous-statement does.
12250
93e616fd 122512011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12252
1f190e73 12253 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12254 only in interactive use, to avoid error.
12255
af7b6078
SM
122562011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * minibuffer.el (completion-file-name-table): Fix last change,
12259 i.e. ignore normal errors but not the other ones.
12260
0563dae9
MR
122612011-10-10 Martin Rudalics <rudalics@gmx.at>
12262
12263 * window.el (special-display-buffer-names)
12264 (special-display-regexps): Remove some remnants of earlier
12265 changes from doc-strings.
366ca7f3
MR
12266 (quit-windows-on): New function.
12267
12268 * vc/vc.el (vc-revert, vc-rollback):
12269 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12270 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12271 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12272
49677495
MR
122732011-10-09 Martin Rudalics <rudalics@gmx.at>
12274
12275 * window.el (frame-auto-hide-function): Add version tag.
12276 (Bug#9699)
12277
56f2d1e1
MA
122782011-10-09 Michael Albinus <michael.albinus@gmx.de>
12279
12280 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12281 condition.
12282
112a6592
LL
122832011-10-09 Leo Liu <sdl.web@gmail.com>
12284
12285 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12286 (Bug#9701)
12287
0812589b
GM
122882011-10-08 Glenn Morris <rgm@gnu.org>
12289
12290 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12291 before the first code statement zero indent. (Bug#9690)
12292
b2b0776e
CY
122932011-10-08 Chong Yidong <cyd@stupidchicken.com>
12294
12295 * simple.el (count-words-region): Always count in the region.
12296 Report the number of lines and characters too.
12297 (count-words): New command, which counts in the buffer if the
12298 region is inactive, as count-words-region used to.
12299 (count-words--message): New function. Handle plurals.
12300 (count-lines-region): Make it an alias for count-words-region.
12301
12302 * bindings.el (esc-map): Replace count-lines-region with
12303 count-words-region.
12304
c557cd6b
MR
123052011-10-08 Martin Rudalics <rudalics@gmx.at>
12306
12307 * window.el (window--delete): Delete dedicated frame
12308 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12309 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12310
61a57ef4 123112011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12312
3a7d293b 12313 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12314
c3833279
CY
123152011-10-07 Chong Yidong <cyd@stupidchicken.com>
12316
12317 * bindings.el ([M-left],[M-right]): Bind to left-word and
12318 right-word respectively.
12319
21ce8245
GM
123202011-10-07 Glenn Morris <rgm@gnu.org>
12321
12322 * cus-start.el (debug-on-quit): Fix custom type.
12323
6d823bb2
LMI
123242011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12325
0181e193
LMI
12326 * subr.el (define-key-after): Clarify that the function is not
12327 useful for non-menu keymaps.
12328
6d823bb2
LMI
12329 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12330
8e3459ce 123312011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12332
21ce8245 12333 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12334 in current minibuffer (Fix bug with recursive minibuffers).
12335
a1c2d21e
CY
123362011-10-06 Chong Yidong <cyd@stupidchicken.com>
12337
12338 * progmodes/gdb-mi.el (gdb): Doc fix.
12339
5a4cf282
MR
123402011-10-05 Martin Rudalics <rudalics@gmx.at>
12341
12342 * window.el (frame-auto-hide-function): New option replacing
12343 frame-auto-delete. Suggested by Stefan Monnier.
12344 (window--delete): Call frame-auto-hide-function instead of
12345 investigating frame-auto-delete.
c96111ea
MR
12346 (window-point-1, set-window-point-1): New functions.
12347 (window-in-direction, record-window-buffer, window-state-get-1)
12348 (display-buffer-record-window): Use window-point-1 instead of
12349 window-point.
12350 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12351
9854542e
SM
123522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12353
12354 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12355
8943cfb0
GM
123562011-10-05 Glenn Morris <rgm@gnu.org>
12357
12358 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12359 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12360
647ab967
LL
123612011-10-05 Leo Liu <sdl.web@gmail.com>
12362
12363 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12364 works with buffer object.
12365
3ddfbced
SM
123662011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * mpc.el (mpc-tool-bar-map): Add labels.
12369
bdfa5dd2
GM
123702011-10-04 Glenn Morris <rgm@gnu.org>
12371
12372 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12373
0e2070b5
MR
123742011-10-04 Martin Rudalics <rudalics@gmx.at>
12375
12376 * window.el (window--delete): New function.
12377 (frame-auto-delete): Resuscitate option.
12378 (bury-buffer, replace-buffer-in-windows)
12379 (quit-window): Rewrite using window--delete.
12380 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12381 Pass display-buffer-mark-dedicated to window--display-buffer-2
12382 (Bug#9639).
12383
3dc61a09
SM
123842011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12385
915a9b64
SM
12386 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12387 returns a list (bug#9554). Add remote file name completion.
12388 * comint.el (comint--table-subvert): Curry and get quote&unquote
12389 functions as arguments.
12390 (comint--complete-file-name-data): Adjust call accordingly.
12391 * pcomplete.el (pcomplete--table-subvert): Remove.
12392 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12393
3dc61a09
SM
12394 * minibuffer.el (completion-table-case-fold): Use currying.
12395 (completion--styles-type, completion--cycling-threshold-type):
12396 New constants.
12397 (completion-styles, completion-category-overrides)
12398 (completion-cycle-threshold): Use them.
12399 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12400 completion-table-case-fold.
12401
8ea0a993
SB
124022011-10-03 Stephen Berman <stephen.berman@gmx.net>
12403
12404 * minibuffer.el (completion-category-overrides): Fix type of styles
12405 and add more user friendly tags (bug#9660).
12406
8c24b7f6
SM
124072011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12408
12409 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12410 (mule-input-method-string): New widget.
12411 (default-input-method, language-info-custom-alist): Use it.
12412
428fe61a
SM
124132011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12414
32c1fffd
SM
12415 * pcomplete.el: Require comint.
12416 (pcomplete--common-suffix): Remove.
12417 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12418 (pcomplete--table-subvert): Sync with comint--table-subvert.
12419 (pcomplete--entries): Use comint-completion-file-name-table.
12420 * comint.el (comint-unquote-filename): Simplify.
12421 (comint-completion-file-name-table): New function (bug#9616).
12422 (comint--complete-file-name-data): Use it.
12423
428fe61a
SM
12424 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12425 (pcmpl-gnu-tar-buffer): Remove.
12426 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12427 around. Make sure pcomplete-suffix-list is only changed temporarily.
12428 Don't look inside the tar's file if it's too large.
428fe61a 12429
04c52e2f
CY
124302011-10-01 Chong Yidong <cyd@stupidchicken.com>
12431
ce3cefcc
CY
12432 * cus-edit.el (custom-mode-map):
12433 * epa.el (epa-key-list-mode-map):
12434 * man.el (Man-mode-map):
12435 * startup.el (splash-screen-keymap):
12436 * simple.el (special-mode-map): Use scroll-up-command and
12437 scroll-down-command.
12438
12439 * progmodes/idlw-help.el (idlwave-help-mode-map):
12440 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12441 * net/newst-plainview.el (newsticker-mode-map):
12442 * emulation/ws-mode.el (wordstar-mode-map):
12443 * emulation/vi.el (vi-com-map):
12444 * calc/calc-graph.el (calc-graph-show-dumb):
12445 * term/sun.el (terminal-init-sun):
12446 * term/ns-win.el (global-map):
12447 * progmodes/grep.el (grep-mode-map):
12448 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12449 * mail/rmail.el (rmail-mode-map):
12450 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12451
04c52e2f
CY
12452 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12453 custom-safe-themes as special.
12454
79adf8c8
JD
124552011-10-01 Julien Danjou <julien@danjou.info>
12456
12457 * notifications.el (notifications-notify): Fix docstring.
12458
63bd50d3
PS
124592011-10-01 Per Starbäck <per@starback.se>
12460
12461 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12462
199e4c7e
MR
124632011-09-30 Martin Rudalics <rudalics@gmx.at>
12464
12465 * startup.el (command-line-1): Fix last fix by inserting
12466 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12467 (Bug#9605) and (Bug#9636)
199e4c7e 12468
fe5f08dd
EZ
124692011-09-29 Eli Zaretskii <eliz@gnu.org>
12470
12471 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12472 window is hscrolled, move by logical lines. (Bug#9607)
12473 (line-move-visual): Update the doc string to the above effect.
12474
b5516bbd
MR
124752011-09-29 Martin Rudalics <rudalics@gmx.at>
12476
ccee00c0
MR
12477 * window.el (display-buffer-record-window): When WINDOW is the
12478 selected window use `point' instead of `window-point'. (Bug#9626)
12479
b5516bbd
MR
12480 * startup.el (command-line-1): Use insert-before-markers when
12481 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12482
b5516bbd
MR
12483 * help.el (help-window): Remove variable.
12484
52aa0014
GM
124852011-09-29 Glenn Morris <rgm@gnu.org>
12486
12487 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12488
df9a7357
JB
124892011-09-29 Juanma Barranquero <lekktu@gmail.com>
12490
12491 * descr-text.el (describe-char-categories): Accept category
12492 descriptions more than one line long.
12493
a8406c20
SM
124942011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12495
88d9610c
SM
12496 * simple.el (delete-trailing-whitespace): Fix last change.
12497
a5daf810
SM
12498 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12499 Don't confuse "y => 3" as the beginning of a `y' operation.
12500
a8406c20
SM
12501 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12502 object has more than 4 slots (bug#9613).
12503
a239d4e9
JB
125042011-09-28 Juanma Barranquero <lekktu@gmail.com>
12505
12506 * subr.el (with-output-to-temp-buffer):
12507 * net/quickurl.el (quickurl, quickurl-browse-url):
12508 Fix typos in docstrings.
12509
693fbdb6
EZ
125102011-09-27 Eli Zaretskii <eliz@gnu.org>
12511
12512 * minibuffer.el (completion-styles)
12513 (completion-category-overrides): Cross reference each other in doc
12514 strings.
12515
8b457e28
GM
125162011-09-27 Glenn Morris <rgm@gnu.org>
12517
12518 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12519 to split-string. (Bug#9606)
12520
85a16208
LMI
125212011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12522
12523 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12524 (bug#9615).
12525
502f9ebd
CY
125262011-09-27 Chong Yidong <cyd@stupidchicken.com>
12527
12528 * emacs-lisp/package.el (list-packages): Fix echo area message.
12529
7690bdea
LL
125302011-09-27 Leo Liu <sdl.web@gmail.com>
12531
12532 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12533
e2ee6f30
MA
125342011-09-25 Michael Albinus <michael.albinus@gmx.de>
12535
12536 * net/dbus.el (dbus-unregister-object): Don't release services for
12537 registered signals. (Bug#9581)
12538
f3f98342
TZ
125392011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12540
12541 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12542 function that picks between cfengine 2 and 3 support
12543 automatically. Update docs accordingly.
12544
dd7aa8dd
KH
125452011-09-22 Kenichi Handa <handa@m17n.org>
12546
12547 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12548 ZERO.
12549 (indian-itrans-v5-table-for-tamil): New variable.
12550 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12551
3f2b07f8
KM
125522011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12553
12554 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12555 that's true if the current command involved collapsing of text.
12556 It's reset to false at the beginning of the next command.
12557 (allout-post-command-business): Move the cursor to the beginning
12558 of entry if the cursor is hidden and collapsing activity just
12559 happened.
12560
371d6a61
CY
125612011-09-24 Chong Yidong <cyd@stupidchicken.com>
12562
12563 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12564 tracking (Bug#9541).
12565
2ac2721a
UJ
125662011-09-24 Ulf Jasper <ulf.jasper@web.de>
12567
12568 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12569 (newsticker-show-news): Automatically load html rendering package
12570 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12571 because w3m-fill-column is let-bound" and the error "Symbol's value
12572 as variable is void: w3m-fill-column".
2ac2721a 12573
fac7ae53
MA
125742011-09-24 Michael Albinus <michael.albinus@gmx.de>
12575
12576 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12577 Release services only if they are defined. (Bug#9581)
12578
e08b633b
RS
125792011-09-23 Richard Stallman <rms@gnu.org>
12580
e488d29c
RS
12581 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12582 distinguish start of paragraph from start of its text.
12583
19c38752
RS
12584 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12585
e08b633b
RS
12586 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12587 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12588 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12589
0a39f27e
AS
125902011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12591
12592 * international/mule-diag.el (mule-diag): Insert a newline after
12593 each fontset description.
12594
db4e950d
SM
125952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12596
12597 * simple.el (delete-trailing-whitespace):
12598 Document last change; simplify.
12599
eca3f3ea
PW
126002011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12601
d68e189a
PW
12602 * simple.el (delete-trailing-whitespace): Also delete
12603 extra newlines at the end of the buffer.
12604
eca3f3ea
PW
12605 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12606 (picture-newline): Use forward-line so as to ignore fields.
12607
01c157cc
SM
126082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * subr.el (with-wrapper-hook): Fix edebug spec.
12611
022de23e
LMI
126122011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12613
12614 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12615 (bug#4538).
12616
91683089
MA
126172011-09-23 Michael Albinus <michael.albinus@gmx.de>
12618
eca3f3ea
PW
12619 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12620 Fix nasty bug using wrong cached values.
91683089 12621
5bdd6fa4
AM
126222011-09-23 Alan Mackenzie <acm@muc.de>
12623
12624 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12625
97adfb97
CY
126262011-09-23 Chong Yidong <cyd@stupidchicken.com>
12627
12628 * window.el (pop-to-buffer): Ensure right window is selected if we
12629 chose another frame.
12630
d4ef2b50
EZ
126312011-09-22 Eli Zaretskii <eliz@gnu.org>
12632
12633 * simple.el (what-cursor-position): Use get-char-property-change
12634 and next-single-char-property-change, to be able to show display
12635 properties that come from overlays as well as text properties.
12636
72258fe5
CY
126372011-09-22 Chong Yidong <cyd@stupidchicken.com>
12638
12639 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12640
12641 * cmuscheme.el (run-scheme, switch-to-scheme):
12642 * cus-edit.el (customize-group, custom-buffer-create)
12643 (customize-browse):
12644 * info.el (info):
12645 * shell.el (shell):
12646 * mail/sendmail.el (mail):
12647 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12648
8f098516
RS
126492011-09-22 Richard Stallman <rms@gnu.org>
12650
12651 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12652 move back only to line beg, don't move back over blank lines.
12653
e74f1bb6
MA
126542011-09-22 Michael Albinus <michael.albinus@gmx.de>
12655
12656 * files.el (copy-directory): Set directory attributes only in case
12657 they could be retrieved from the source directory. (Bug#9565)
12658
bfeef8b6
DK
126592011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12660
12661 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12662 (hs-find-block-beginning, hs-hide-level-recursive):
12663 Ignore strings as well as comments. (Bug#9502)
12664
7e423bb8
AS
126652011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12666
12667 * progmodes/sql.el (sql-comint-postgres):
12668 Convert port number to a string. (Bug#9566)
12669
b4d72fcf
MR
126702011-09-22 Martin Rudalics <rudalics@gmx.at>
12671
12672 * window.el (quit-window): Undedicate window when switching to
12673 previous buffer. Reported by Thierry Volpiatto
12674 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12675 (special-display-popup-frame): When popping up a new frame reset
12676 its previous buffers to nil. Simplify code.
b4d72fcf 12677
a7b88dc6
MA
126782011-09-21 Michael Albinus <michael.albinus@gmx.de>
12679
12680 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12681 and process filter, as done also in `shell-command'.
12682
cf4eacfd
MR
126832011-09-21 Martin Rudalics <rudalics@gmx.at>
12684
eca3f3ea 12685 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12686 Call set-window-start with NOFORCE argument t.
12687 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12688 (quit-window): Reword doc-string. Handle new format of
12689 quit-restore parameter. Don't delete window if it has a
12690 previous buffer we can show instead of the present one.
12691 (display-buffer-record-window): Rewrite using a new format for
12692 the quit-restore window parameter
12693 (special-display-popup-frame, display-buffer-same-window)
12694 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12695 (display-buffer-pop-up-window, display-buffer-use-some-window):
12696 Adapt symbol passed to display-buffer-record-window.
12697 * help.el (help-window-setup): Handle new format of quit-restore
12698 parameter.
12699
8d28cb95
SM
127002011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12701
94ab793f
SM
12702 * faces.el (face-list): Fix docstring (bug#9564).
12703
8d28cb95
SM
12704 * window.el (display-buffer--action-function-custom-type):
12705 Don't include internal functions in the Custom interface.
12706
3820edeb
JL
127072011-09-20 Juri Linkov <juri@jurta.org>
12708
12709 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12710 (Info-forward-node, Info-backward-node, Info-next-preorder)
12711 (Info-last-preorder): Use it. (Bug#9528)
12712
5147931d
JL
127132011-09-20 Juri Linkov <juri@jurta.org>
12714
12715 * info.el (Info-last-preorder): Visit last menu item only when
12716 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12717
cf499a1a
JD
127182011-09-20 Julien Danjou <julien@danjou.info>
12719
12720 * password-cache.el (password-cache-remove): Remove entries even if the
12721 value is nil, so that password with a nil value (negative caching) is
12722 possible to invalidate.
12723
f84e2fe2
LM
127242011-09-20 Lawrence Mitchell <wence@gmx.li>
12725
12726 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12727 all whitespace around breakpoint. (Bug#9553)
12728 (f90-find-breakpoint): Only break at whitespace inside a comment.
12729
78054a46
SM
127302011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12731
12732 * minibuffer.el (completion-file-name-table): Keep track of errors.
12733 (completion-table-with-predicate): Handle the case where pred1 is nil.
12734 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12735
345083b2
SM
127362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12737
e24e27be
SM
12738 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12739 (debugger-return-value): Signal an error if the debugging context does
12740 not await any return value.
12741
345083b2
SM
12742 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12743 * image-mode.el (image-toggle-display-text)
12744 (image-toggle-display-image): Stay away from evil `intangible'.
12745
08d355e3
LL
127462011-09-19 Leo Liu <sdl.web@gmail.com>
12747
12748 * replace.el (occur-revert-arguments): Make it permanent-local.
12749 (occur-mode): Don't call font-lock-defontify.
12750
f01da43f
CY
127512011-09-19 Chong Yidong <cyd@stupidchicken.com>
12752
12753 * net/ldap.el (ldap-search-internal): Don't push empty search
12754 result (Bug#9508).
12755
b6072fa6
SM
127562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12757
12758 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12759
443d6696
MA
127602011-09-19 Michael Albinus <michael.albinus@gmx.de>
12761
12762 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12763 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12764
7cc6e154
JL
127652011-09-18 Juri Linkov <juri@jurta.org>
12766
12767 * buff-menu.el (Buffer-menu-mode-map):
12768 * dired.el (dired-mode-map):
12769 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12770 (lisp-interaction-mode-map):
12771 * emacs-lisp/package.el (package-menu-mode-map):
12772 * epa.el (epa-key-list-mode-map):
12773 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12774 (menu-bar-options-menu):
12775 * outline.el (outline-mode-menu-bar-map):
12776 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12777 * vc/vc-dir.el (vc-dir-menu-map):
12778 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12779 Capitalize non-function content words in menu item strings.
12780
12781 * dired.el (dired-mode-map): Add menu item for
12782 `image-dired-dired-toggle-marked-thumbs'.
12783
80302a81
JL
127842011-09-18 Juri Linkov <juri@jurta.org>
12785
12786 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12787 to `isearch-case-fold-search' and restore its original value
12788 after the `isearch-mode' call.
12789
46c5cf66
JL
127902011-09-18 Juri Linkov <juri@jurta.org>
12791
12792 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12793 because `zgrep' returns 1 for successful matches (bug#9226).
12794
d18b513b
JL
127952011-09-18 Juri Linkov <juri@jurta.org>
12796
12797 * info.el (Info-extract-menu-node-name): Check the second match
12798 for empty string (second test-case of bug#9528).
12799 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12800 intermediate nodes to the history (first test-case of bug#9528).
12801
72753f87
JL
128022011-09-18 Juri Linkov <juri@jurta.org>
12803
12804 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12805 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12806
c9384295
JL
128072011-09-18 Juri Linkov <juri@jurta.org>
12808
1154d12e
JB
12809 * info.el (Info-file-supports-index-cookies):
12810 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12811 outputs one more line for long file names (bug#4142).
c9384295 12812
d473dce8
CY
128132011-09-18 Chong Yidong <cyd@stupidchicken.com>
12814
12815 * newcomment.el (comment-normalize-vars): If prompting for
12816 comment-start, set comment-start-skip too (Bug#8424).
12817
2176854d
JB
128182011-09-18 Johan Bockgård <bojohan@gnu.org>
12819
12820 * icomplete.el: Fix previous fix of Bug#5849.
12821 (icomplete-mode): Don't set completion-show-inline-help.
12822 (icomplete-minibuffer-setup): Set completion-show-inline-help
12823 locally during icompletion.
12824
3aace4e4
CY
128252011-09-18 Chong Yidong <cyd@stupidchicken.com>
12826
c940224f
CY
12827 * woman.el (woman2-process-escapes): Don't delete unrecognized
12828 escapes (Bug#7843).
12829
3aace4e4
CY
12830 * files.el (inhibit-first-line-modes-regexps): Add image files.
12831 (hack-local-variables-prop-line): Return nil for malformed
12832 prop-lines (Bug#9044).
12833
710dec63
MA
128342011-09-18 Michael Albinus <michael.albinus@gmx.de>
12835
12836 * net/tramp.el (top): Don't require 'shell.
12837 (tramp-methods): Fix docstring.
12838 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12839 Return complete remote file name. Handle "smb" case.
12840 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12841 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12842
12843 * net/tramp-compat.el (top): Require 'shell.
12844
12845 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12846 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12847 `tramp-current-host'.
12848 (tramp-get-remote-tmpdir): Remove.
12849
12850 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12851 `tramp-tmpdir' entries.
12852 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12853 (tramp-smb-handle-file-attributes): Ignore errors.
12854 (tramp-smb-wait-for-output): Check also for process end.
12855
5d5ac8ec
LMI
128562011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12857
12858 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12859 when sending QUIT (bug#9312).
12860
8c0f49f0
CY
128612011-09-17 Chong Yidong <cyd@stupidchicken.com>
12862
12863 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12864 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12865 occur-mode-display-occurrence.
12866 (occur-edit-mode): Add usage message.
12867 (occur-cease-edit): New command.
12868 (occur-after-change-function): Use text properties to find the
12869 position of the prefix text.
12870 (occur-engine): Set stickiness of prefix text properties.
12871
8f1383f7
GM
128722011-09-17 Glenn Morris <rgm@gnu.org>
12873
12874 * progmodes/etags.el (complete-tag):
12875 Fix call to completion-in-region. (Bug#9526)
12876
744ba0e3
JL
128772011-09-17 Juri Linkov <juri@jurta.org>
12878
12879 * textmodes/ispell.el (ispell-word): Add to the error message
12880 the word, ispell program name and current dictionary (bug#9121).
12881 (ispell-tex-arg-end): Capitalize "error" in the error message.
12882
d9bbf400
AS
128832011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12884
12885 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12886 check. (Bug#4251)
12887
8da11505
JL
128882011-09-17 Juri Linkov <juri@jurta.org>
12889
12890 * window.el (window-safe-min-height, window-safe-min-width):
12891 Fix typos (followup to bug#9522).
12892
a91adc7e
SJ
128932011-09-17 Sven Joachim <svenjoac@gmx.de>
12894
12895 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12896
064f328a
EZ
128972011-09-16 Eli Zaretskii <eliz@gnu.org>
12898
12899 * simple.el (line-move): If goal-column is set, move by logical
12900 lines, not by display lines. (Bug#971)
12901 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12902 to reflect the above change.
12903
e69df516
SM
129042011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12905
12906 * image.el (imagemagick-register-types): Use regexp-opt.
12907
cbb0f9ab
CY
129082011-09-15 Chong Yidong <cyd@stupidchicken.com>
12909
12910 * window.el (display-buffer-base-action): Rename from
12911 display-buffer-default-action. Make default value empty.
12912 (display-buffer-overriding-action): Convert to defvar.
12913 (display-buffer-fallback-action): New var.
12914
25322144
CY
129152011-09-15 Chong Yidong <cyd@stupidchicken.com>
12916
12917 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12918 declaration.
12919 (package--add-to-archive-contents): If there is a duplicate entry
12920 with an older version, remove it.
12921 (package-menu-mark-delete, package-menu-mark-install)
12922 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12923 (package-menu-mark-obsolete-for-deletion):
12924 Use package-menu-get-status instead of a regexp search.
25322144
CY
12925 (package-menu-get-status): Use tabulated-list-entry.
12926 (package-menu-mark-upgrades): New command.
d770725a 12927 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12928 (package-menu-execute): Do installation before deletion.
12929 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12930 instead of checking major-mode.
12931 (package-menu--find-upgrades): New function.
12932
7520339c
LMI
129332011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12934
12935 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12936 passwords in the log buffer.
65a046c4
LMI
12937 (smtpmail-process-filter): Update the process marker so that the
12938 "broken by peer" status message is inserted in the right place.
7520339c 12939
d3c30954
SM
129402011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12941
3fe48822
SM
12942 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12943 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12944 bibtex-completion-at-point-function.
12945 (bibtex-completion-at-point-function): Use them.
12946
1b8b3954
SM
12947 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12948
d3c30954
SM
12949 * mpc.el (mpc-constraints-tag-lookup): New function.
12950 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12951 also to browser "album|playlist".
12952
72779976
JL
129532011-09-14 Juri Linkov <juri@jurta.org>
12954
12955 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12956 (isearch-edit-string): Use length of `isearch-string' when
12957 `isearch-fail-pos' returns nil.
12958 (isearch-message): Remove duplicate code and call
12959 `isearch-fail-pos' with arg `t'.
12960
a0bf2bcd
CY
129612011-09-14 Chong Yidong <cyd@stupidchicken.com>
12962
17bb0a2d
CY
12963 * replace.el (occur-mode-goto-occurrence): Don't force using other
12964 window (Bug#9499).
12965
a0bf2bcd
CY
12966 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12967
f678e0b6
MR
129682011-09-14 Martin Rudalics <rudalics@gmx.at>
12969
12970 * window.el (display-buffer-window): Remove.
12971 (display-buffer-record-window): Use help-setup window parameter
12972 instead of variable display-buffer-window.
12973 (display-buffer-function, special-display-buffer-names)
12974 (special-display-function): Mention help-setup parameter instead
12975 of display-buffer-window in doc-string.
d3c30954
SM
12976 * help.el (help-window-setup): New argument help-window.
12977 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12978 Reword some messages.
12979 (with-help-window): Pass window used for displaying the buffer
12980 to help-window-setup. Don't set display-buffer-window.
12981
8e39b2e8
GM
129822011-09-13 Glenn Morris <rgm@gnu.org>
12983
12984 * emacs-lisp/debug.el (debugger-make-xrefs):
12985 Preserve point. (Bug#9462)
12986
85e9c04b
CY
129872011-09-13 Chong Yidong <cyd@stupidchicken.com>
12988
12989 * window.el (window-deletable-p): Use next-frame.
12990
1b36ed6a
MR
129912011-09-13 Martin Rudalics <rudalics@gmx.at>
12992
12993 * window.el (window-auto-delete): Remove.
12994 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12995 dedication and previous buffers.
1b36ed6a
MR
12996 (switch-to-prev-buffer): Don't delete window.
12997 (delete-windows-on): Delete a window's frame if and only if the
12998 window is dedicated.
12999 (replace-buffer-in-windows): Delete buffer's window or frame if
13000 and only if window is dedicated.
13001 (quit-window): Handle quit-restore as before last change.
4d61f28d 13002 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13003
ef8ef9fb
CY
130042011-09-13 Chong Yidong <cyd@stupidchicken.com>
13005
13006 * window.el (window-deletable-p): Never delete the last frame on a
13007 given terminal.
13008
b2cba41e
GM
130092011-09-13 Glenn Morris <rgm@gnu.org>
13010
13011 * help.el (describe-key-briefly): Copy previous standard-output change.
13012
51553db6 130132011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13014
13015 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13016
b7556719
GM
130172011-09-13 Glenn Morris <rgm@gnu.org>
13018
13019 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13020 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13021
64b51947
CY
130222011-09-12 Chong Yidong <cyd@stupidchicken.com>
13023
13024 * dired-aux.el (dired-mark-read-string): Don't return default
13025 value on empty input (Bug#9361).
13026 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13027 Omit initial minibuffer contents.
13028 (dired-do-chmod): Signal an error on empty input.
13029 (dired-mark-read-string): Don't return default on empty input.
13030
13031 * files.el (file-modes-symbolic-to-number): Doc fix.
13032
393a301e
SM
130332011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13034
13035 * international/mule-cmds.el (ucs-completions): Remove.
13036 (read-char-by-name): Use complete-with-action instead; add metadata.
13037
fa5660f9
CY
130382011-09-11 Chong Yidong <cyd@stupidchicken.com>
13039
13040 * window.el (display-buffer--action-function-custom-type)
13041 (display-buffer--action-custom-type): New vars.
13042 (display-buffer-alist, display-buffer-default-action)
13043 (display-buffer-overriding-action): Add defcustom types.
13044
4a592f66
CY
13045 * frame.el (delete-other-frames): Doc fix (Bug#276).
13046
73d56dbd
LMI
130472011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13048
13049 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13050
37ac18a3
CY
130512011-09-11 Chong Yidong <cyd@stupidchicken.com>
13052
13053 Change modes that used same-window-* vars to use switch-to-buffer.
13054
13055 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13056 Use switch-to-buffer.
13057
13058 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13059 (customize-browse, custom-buffer-create-other-window):
13060 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13061
13062 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13063 (Info-prev, Info-up, Info-speedbar-goto-node)
13064 (info-display-manual): Use switch-to-buffer.
13065 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13066
13067 * mail/sendmail.el (mail): Use switch-to-buffer.
13068 (mail-recover): Use switch-to-buffer-other-window.
13069
13070 * cmuscheme.el (run-scheme, switch-to-scheme):
13071 * ielm.el (ielm):
13072 * shell.el (shell):
13073 * net/rlogin.el (rlogin):
13074 * net/telnet.el (telnet, rsh):
13075 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13076
10195bd6
AS
130772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13078
13079 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13080
b322f63a
LMI
130812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13082
39d7fed6
LMI
13083 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13084 so don't mention it (bug#9301).
ba5a81f1 13085 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13086
ee0e9f11
LMI
13087 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13088 match `x', `w32' and `ns', like the manual says (bug#9029).
13089
0b1c89c1 13090 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13091 (process-kill-buffer-query-function): Mention the buffer name in
13092 the query.
0b1c89c1 13093
77549ea8
LMI
13094 * image-mode.el (image-next-line): The line parameter is mandatory
13095 (bug#9258).
13096
803ef892
LMI
13097 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13098 which can be useful (bug#9301).
13099
12980837
LMI
13100 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13101
91054f8f
LMI
13102 * subr.el (match-string): Mention that the current buffer should
13103 be the same as the search was done in (bug#9282).
13104
b322f63a
LMI
13105 * facemenu.el: Disable the remove-* commands if the mark isn't
13106 active (bug#9162).
13107
3199b96f
CY
131082011-09-10 Chong Yidong <cyd@stupidchicken.com>
13109
13110 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13111 of display-buffer.
13112 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13113
13114 * replace.el (occur-mode-goto-occurrence)
13115 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13116 and display-buffer.
13117
13118 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13119 display-buffer.
13120
13121 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13122 special-display and same-window variables.
13123 (mail-other-window): Use switch-to-buffer-other-window.
13124 (mail-other-frame): USe switch-to-buffer-other-frame.
13125
393a301e
SM
13126 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13127 Use display-buffer-other-frame.
3199b96f
CY
13128 (gdb-display-gdb-buffer): Use pop-to-buffer.
13129
13130 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13131
13132 * progmodes/python.el: Don't set same-window-buffer-names.
13133
13134 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13135
13136 * window.el (display-buffer-alist): Add *Python*.
13137
8319e0bf
CY
131382011-09-10 Chong Yidong <cyd@stupidchicken.com>
13139
13140 * window.el (display-buffer-alist): Add entry for buffers
13141 previously handled same-window-*.
13142 (display-buffer-alist, display-buffer-default-action)
13143 (display-buffer-overriding-action): Mark as risky.
13144 (display-buffer-alist): Document action function changes.
13145 (display-buffer--same-window-action)
13146 (display-buffer--other-frame-action): New variables.
13147 (switch-to-buffer, display-buffer-other-frame): Use them.
13148 (display-buffer): Rename reuse-frame entry to reusable-frames.
13149 (display-buffer-reuse-selected-window): Function deleted.
13150 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13151 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13152 (display-buffer-special): New function.
13153 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13154 display-buffer-reuse-or-pop-window. Split off special-display
13155 part into display-buffer-special.
13156 (display-buffer-use-some-window): Don't perform any special
13157 pop-up-frames handling.
13158 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13159 (display-buffer--maybe-same-window): Rename from
0d3ff375 13160 display-buffer-maybe-same-window.
8319e0bf 13161
919a69aa
CY
13162 * info.el: Don't set same-window-regexps.
13163 (info-setup): New function.
13164 (info-other-window, info): Call it.
13165
13166 * cus-edit.el: Don't set same-window-regexps.
13167 (customize-group): New argument.
13168 (customize-group-other-window): Use it.
13169 (customize-face, customize-face-other-window): Likewise.
13170 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13171
8319e0bf
CY
13172 * net/rlogin.el:
13173 * net/telnet.el:
13174 * progmodes/gud.el: Don't set same-window-regexps.
13175
13176 * cmuscheme.el:
13177 * ielm.el:
13178 * shell.el:
13179 * mail/sendmail.el:
13180 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13181
25173000
JL
131822011-09-10 Juri Linkov <juri@jurta.org>
13183
13184 * isearch.el (isearch-edit-string): Remove obsolete mention of
13185 `C-w' (`isearch-yank-word-or-char') from docstring.
13186 (isearch-query-replace): Fix typo in docstring (bug#9466).
13187
056e44ef
JL
131882011-09-10 Juri Linkov <juri@jurta.org>
13189
13190 * paren.el (show-paren-function): Don't show escaped parens.
13191 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13192
c3760c17
EZ
131932011-09-10 Eli Zaretskii <eliz@gnu.org>
13194
13195 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13196 (mm-default-file-encoding): Remove autoload forms, they are
13197 replaced with autoload cookies in mml.el and mm-encode.el.
13198 (mail-add-attachment): New command.
13199 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13200 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13201 the doc string.
13202 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13203
fece895e
RT
132042011-09-10 Reuben Thomas <rrt@sc3d.org>
13205
e69df516
SM
13206 * simple.el (count-words-region): Use buffer if there's no region
13207 (bug#9429).
fece895e 13208
5e68ce4a
JL
132092011-09-09 Juri Linkov <juri@jurta.org>
13210
13211 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13212 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13213 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13214
0a6b9622
AM
132152011-09-09 Alan Mackenzie <acm@muc.de>
13216
13217 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13218 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13219
14a29deb
EZ
132202011-09-09 Eli Zaretskii <eliz@gnu.org>
13221
13222 Fix for Savannah bug#9392.
13223 * simple.el (mail-encode-mml): New defvar.
13224
13225 * mail/rmail.el (mail-encode-mml): Add a defvar.
13226 (rmail-enable-mime-composing): Default to t.
13227 (rmail-forward): Use MIME method of forwarding only if both
13228 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13229 Set mail-encode-mml non-nil if the MIME method was used.
13230
13231 * mail/sendmail.el (mml-to-mime): Add autoload form.
13232 (mail-encode-mml): Add a defvar.
13233 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13234 to nil.
13235 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13236 message through mml-to-mime, and reset mail-encode-mml to nil.
13237
28c45130
GM
132382011-09-09 Glenn Morris <rgm@gnu.org>
13239
13240 * woman.el (woman-if-body): When processing an .el block,
13241 do not delete the next .el block as well. (Bug#9447)
69f4b618 13242 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13243
9b1c252e
MR
132442011-09-08 Martin Rudalics <rudalics@gmx.at>
13245
13246 * window.el (window-deletable-p): Make sure window is live before
13247 invoking window-prev-buffers.
13248
567457e3
LL
132492011-09-08 Leo Liu <sdl.web@gmail.com>
13250
13251 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13252
97f05794
JL
132532011-09-08 Juri Linkov <juri@jurta.org>
13254
13255 * progmodes/compile.el (compilation-environment): Make it
13256 a defcustom (bug#8340).
13257
8b0874b5
MR
132582011-09-08 Martin Rudalics <rudalics@gmx.at>
13259
13260 * window.el (frame-auto-delete): Rename to window-auto-delete.
13261 Make it control auto-deletion of windows and/or frames.
13262 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13263 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13264 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13265 Rewrite handling of case when window/frame can be deleted.
13266 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13267 argument t. (Bug#9456)
8b0874b5 13268
4feb6e73
CY
132692011-09-07 Chong Yidong <cyd@stupidchicken.com>
13270
13271 * help-mode.el (help-mode): Restore autoload.
13272
91ab9c13
JL
132732011-09-07 Juri Linkov <juri@jurta.org>
13274
13275 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13276 `compilation-environment'. Set buffer-local
13277 `compilation-environment' to `thisenv' later after (funcall mode).
13278 (Bug#8340)
13279
13280 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13281 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13282 instead of replacing its value. (Bug#8340)
13283
0527e251
JL
132842011-09-07 Juri Linkov <juri@jurta.org>
13285
13286 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13287 based on text properties put by `grep-filter' instead of matching
13288 escape sequences.
13289 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13290 to the value of `grep-error-screen-columns' (bug#9438).
13291
249f792c
JL
132922011-09-07 Juri Linkov <juri@jurta.org>
13293
13294 * simple.el (next-error-highlight, next-error-highlight-no-select):
13295 Doc fix (bug#9432).
13296
ff7271b9
OT
132972011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13298
13299 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13300 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13301
183fc730
LL
133022011-09-07 Leo Liu <sdl.web@gmail.com>
13303
13304 * net/rcirc.el (rcirc-mode): Conditionally initialize
13305 rcirc-input-ring.
13306
77694924
SM
133072011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13308
13309 * emacs-lisp/find-func.el (find-function-C-source): Only set
13310 find-function-C-source-directory after checking that we found a source
13311 file there (bug#9440).
13312
d809b8eb
AM
133132011-09-06 Alan Mackenzie <acm@muc.de>
13314
13315 * isearch.el (isearch-other-meta-char): Wherever a key list is
13316 unread, "unread" the prefix arg, too. This fixes bug #8901.
13317
453de99f
OG
133182011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13319
13320 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13321
90439906
JL
133222011-09-05 Juri Linkov <juri@jurta.org>
13323
13324 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13325
f62bd846
JL
133262011-09-05 Juri Linkov <juri@jurta.org>
13327
13328 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13329 keeping point where processing of grep matches begins, and
13330 continue to delete remaining escape sequences from the same point.
13331 (grep-filter): Make leading zero optional in "0?1;31m" because
13332 git-grep emits "\033[1;31m" escape sequences unlike expected
13333 "\033[01;31m" as GNU Grep does (bug#9408).
13334 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13335
045820ec
JL
133362011-09-05 Juri Linkov <juri@jurta.org>
13337
13338 * subr.el (y-or-n-p): Capitalize "yes".
13339
f5e29b9b
MA
133402011-09-04 Michael Albinus <michael.albinus@gmx.de>
13341
13342 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13343 `tramp-cache-unload-hook' where appropriate.
13344 (tramp-methods): Rename `tramp-remote-sh' to
13345 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13346 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13347
13348 * net/tramp-sh.el (top): Don't require 'shell.
13349 (tramp-methods): Add `tramp-remote-shell' and
13350 `tramp-remote-shell-args' entries.
13351 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13352 (tramp-sh-handle-shell-command): Remove.
13353 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13354 Use `tramp-remote-shell'.
13355
2784c434
CY
133562011-09-03 Chong Yidong <cyd@stupidchicken.com>
13357
393a301e 13358 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13359 (sendmail-query-once): Save directly to send-mail-function.
13360 Update message-send-mail-function too.
13361
13362 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13363
464cdf56
CS
133642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13365
13366 * progmodes/python.el (python-mode-map): Use correct function to
13367 start python interpreter from menu-bar (as reported by Geert
13368 Kloosterman).
13369 (inferior-python-mode-map): Fix typo.
393a301e 13370 (python-shell-map): Remove.
464cdf56 13371
d37e5c87
DD
133722011-09-03 Deniz Dogan <deniz@dogan.se>
13373
13374 * net/rcirc.el (rcirc-print): Simplify code for
13375 rcirc-scroll-show-maximum-output. There is no need to walk
13376 through all windows to find the right one.
13377
f3ada0ee
CS
133782011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13379
13380 * help.el (help-return-method): Doc fix.
13381
1f3c99ca
MR
133822011-09-03 Martin Rudalics <rudalics@gmx.at>
13383
13384 * window.el (window-deletable-p): Don't return a non-nil value
13385 when there's a buffer that was shown in the window before.
13386 (Bug#9419)
393a301e
SM
13387 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13388 Set window's previous buffers to nil.
1f3c99ca 13389
a3cf097f
EZ
133902011-09-03 Eli Zaretskii <eliz@gnu.org>
13391
13392 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13393 newline before and after the tag line, so it doesn't interfere
13394 with determining the paragraph direction of bidirectional text.
13395
3d03de90
LL
133962011-09-03 Leo Liu <sdl.web@gmail.com>
13397
13398 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13399
c3313451
CY
134002011-09-02 Chong Yidong <cyd@stupidchicken.com>
13401
393a301e 13402 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13403 (pop-to-buffer): Change interactive spec. Pass second argument
13404 directly to display-buffer.
13405 (display-buffer): Fix interactive spec. Use functionp to
13406 distinguish between a function and a list of functions.
13407
13408 * abbrev.el (edit-abbrevs):
13409 * arc-mode.el (archive-extract):
13410 * autoinsert.el (auto-insert):
13411 * bookmark.el (bookmark-bmenu-list):
13412 * files.el (find-file):
13413 * view.el (view-buffer):
13414 * progmodes/compile.el (compilation-goto-locus):
13415 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13416
89894cd8
CY
134172011-09-02 Chong Yidong <cyd@stupidchicken.com>
13418
13419 * window.el (display-buffer-alist): Doc fix.
13420 (display-buffer): Add docstring. Don't treat
13421 display-buffer-default specially.
13422 (display-buffer-reuse-selected-window)
13423 (display-buffer-same-window, display-buffer-maybe-same-window)
13424 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13425 (display-buffer-pop-up-window)
13426 (display-buffer-reuse-or-pop-window)
13427 (display-buffer-use-some-window): New functions.
13428 (display-buffer-default-action): Use them.
393a301e 13429 (display-buffer-default): Delete.
89894cd8
CY
13430 (pop-to-buffer-1): Fix choice of actions.
13431
ae0bc9fb
SM
134322011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13433
13434 * minibuffer.el (completion--insert-strings): Don't get confused by
13435 completion entries that end with an LF char.
13436
e9d90883
EZ
134372011-09-01 Eli Zaretskii <eliz@gnu.org>
13438
13439 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13440
437014c8
CY
134412011-09-01 Chong Yidong <cyd@stupidchicken.com>
13442
13443 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13444 (display-buffer-same-window, display-buffer-other-window):
13445 New functions.
437014c8
CY
13446 (pop-to-buffer-1): New function. Use the above.
13447 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13448 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13449
13450 * view.el (view-buffer-other-window, view-buffer-other-frame):
13451 Just use pop-to-buffer.
13452
a5e063d5
TV
134532011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13454
13455 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13456
793d32bb
WH
134572011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13458
13459 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13460
d65e4c15
RS
134612011-08-31 Richard Stallman <rms@gnu.org>
13462
13463 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13464 of the separation of rmail-view-buffer from rmail-buffer.
13465 If you say no to "replace original", the decrypt is in the
13466 view buffer. If you say yes, the decrypt goes into the
13467 rmail buffer also.
13468
f818cd2a
MR
134692011-08-31 Martin Rudalics <rudalics@gmx.at>
13470
13471 * window.el (display-buffer-window): Rewrite doc-string.
13472 (display-buffer-record-window): New function.
13473 (display-buffer-macro-specifiers)
13474 (display-buffer-even-window-sizes, display-buffer-set-height)
13475 (display-buffer-set-width, display-buffer-in-window)
13476 (display-buffer-reuse-window, display-buffer-split-specifiers)
13477 (display-buffer-side-specifiers, display-buffer-split-window-1)
13478 (display-buffer-split-window, display-buffer-split-atom-window)
13479 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13480 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13481 (display-buffer-other-window-means-other-frame)
13482 (display-buffer-normalize-special)
13483 (display-buffer-normalize-default)
13484 (display-buffer-normalize-argument)
13485 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13486 (display-buffer-normalize-specifiers, display-buffer-frame)
13487 (display-buffer-same-window, display-buffer-same-frame)
13488 (display-buffer-other-window)
13489 (display-buffer-same-frame-other-window)
13490 (display-buffer-other-frame, pop-to-buffer-same-window)
13491 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13492 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13493 (switch-to-buffer-same-frame)
13494 (switch-to-buffer-other-window-same-frame)
13495 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13496 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13497 (display-buffer-alist-set): Remove.
13498 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13499 (special-display-regexps, special-display-function):
13500 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13501 parameter.
13502 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13503 (special-display-frame-alist, special-display-popup-frame)
13504 (same-window-buffer-names, same-window-regexps, same-window-p)
13505 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13506 (split-window-preferred-function, split-height-threshold)
13507 (split-width-threshold, window-splittable-p)
13508 (split-window-sensibly, window--try-to-split-window)
13509 (window--frame-usable-p, even-window-heights)
13510 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13511 (window--display-buffer-2, display-buffer-other-frame):
13512 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13513 (display-buffer-default, display-buffer-assq-regexp): New functions.
13514 (display-buffer-alist): Rewrite doc-string.
13515 (display-buffer-default-action)
13516 (display-buffer-overriding-action): New variables.
13517 (display-buffer, switch-to-buffer): Rewrite.
13518 (pop-to-buffer): Restore Emacs 23 behavior but use
13519 window-normalize-buffer-to-display.
13520 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13521 Restore Emacs 23 behavior but use
13522 window-normalize-buffer-to-switch-to.
13523 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13524 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13525 Rewrite using Emacs 23 options.
f818cd2a 13526
5bc3b51d
MA
135272011-08-31 Michael Albinus <michael.albinus@gmx.de>
13528
13529 * net/tramp.el (tramp-root-regexp): Remove.
13530 (tramp-completion-file-name-regexp-unified)
13531 (tramp-completion-file-name-regexp-separate)
13532 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13533 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13534 (tramp-drop-volume-letter): Simplify definition.
13535 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13536
b1a4f8e1
SM
135372011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13538
13539 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13540 (bug#9356).
13541
5664fa7b
RT
135422011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13543
b1a4f8e1 13544 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13545
9a45d6c3
JL
135462011-08-29 Juri Linkov <juri@jurta.org>
13547
13548 * isearch.el (isearch-done): Don't display message "Mark saved"
13549 when arg `edit' is non-nil to prevent its flicker in the echo area.
13550
fb87e0fb
CY
135512011-08-28 Chong Yidong <cyd@stupidchicken.com>
13552
13553 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13554 obsolete packages for deletion.
13555
09ac1c2a
CS
135562011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13557
13558 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13559 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13560 view-mode from help-mode.
13561 (help-xref-override-view-map): Remove.
13562 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13563 view-mode is not used anymore.
13564
7a1ff57f
CY
135652011-08-28 Chong Yidong <cyd@stupidchicken.com>
13566
13567 * server.el (server-port): Doc fix.
13568
b9696605
CY
13569 * cus-theme.el (custom-theme-choose-mode): Inherit from
13570 special-mode (Bug#9124).
13571 (custom-theme-choose-mode-map): Add special-mode to parent.
13572
ef8cdf8c
AM
135732011-08-28 Alan Mackenzie <acm@muc.de>
13574
13575 * progmodes/cc-fonts.el
13576 (c-make-font-lock-BO-decl-search-function): New function.
13577 (c-basic-matchers-after - "Fontify the clauses after various
13578 keywords"): Extract the three keyword lists for the 3 erroneous
13579 constructs from the list of four, and use the new function above
13580 in place of an old one.
13581
27de4e20
DD
135822011-08-28 Deniz Dogan <deniz@dogan.se>
13583
13584 * net/rcirc.el (rcirc-insert-prev-input)
13585 (rcirc-insert-next-input): Remove unused argument.
13586
356a3681
SM
135872011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13588
13589 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13590
3fc9b218
AM
135912011-08-27 Alan Mackenzie <acm@muc.de>
13592
13593 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13594 handle function pointer parameters properly.
13595
538a061c
MR
135962011-08-27 Martin Rudalics <rudalics@gmx.at>
13597
13598 * window.el (display-buffer-reuse-window): Fix case where
13599 selected window was reused with non-nil OTHER-WINDOW argument.
13600 (Bug#9381)
13601
35b1c40c
DD
136022011-08-27 Deniz Dogan <deniz@dogan.se>
13603
13604 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13605 oftc's NickServ messages.
13606
2f6a3e79
GM
136072011-08-27 Glenn Morris <rgm@gnu.org>
13608
13609 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13610
7254299e
CY
136112011-08-26 Chong Yidong <cyd@stupidchicken.com>
13612
13613 * emacs-lisp/package.el (package-install): Call package-initialize
13614 if called interactively.
13615
f8ccf167
LL
136162011-08-26 Leo Liu <sdl.web@gmail.com>
13617
13618 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13619
3e8cd5ce
JL
136202011-08-25 Juri Linkov <juri@jurta.org>
13621
13622 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13623 `search-whitespace-regexp' (bug#9364).
13624
93eb7113
JL
136252011-08-25 Juri Linkov <juri@jurta.org>
13626
13627 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13628 `regexp-search-ring' to their global values to protect from
13629 updating by `read-from-minibuffer' (bug#9185).
13630
f65d1611
JL
136312011-08-25 Juri Linkov <juri@jurta.org>
13632
13633 * textmodes/ispell.el (ispell-command-loop): Add newline
13634 at the end of the "Use option `i'..." line.
13635
f1cf7a31
JL
136362011-08-25 Juri Linkov <juri@jurta.org>
13637
13638 * battery.el (display-battery-mode): If `battery-status-function'
13639 or `battery-mode-line-format' is nil, display the message and set
13640 `display-battery-mode' to nil (bug#9363).
13641
0c95fcf7
EZ
136422011-08-25 Eli Zaretskii <eliz@gnu.org>
13643
13644 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13645 bidi-string-mark-left-to-right; they are unnecessary now.
13646
a2ebe600
DD
136472011-08-25 Deniz Dogan <deniz@dogan.se>
13648
13649 * net/quickurl.el: Documentation typo fixes.
13650
e4ed06f1
CY
136512011-08-25 Chong Yidong <cyd@stupidchicken.com>
13652
13653 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13654
e5f1c99e
GM
136552011-08-25 Glenn Morris <rgm@gnu.org>
13656
b2948976
GM
13657 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13658
e5f1c99e
GM
13659 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13660 (smtpmail-via-smtp): Handle nil response from smtp.
13661
f22f4808
JL
136622011-08-24 Juri Linkov <juri@jurta.org>
13663
13664 * proced.el (proced-marked): Inherit from `error' instead of
13665 `font-lock-warning-face'.
13666
13667 * ibuffer.el (ibuffer-marked-face): Change default face from
13668 `font-lock-warning-face' to `warning'.
13669 (ibuffer-deletion-face): Change default face from
13670 `font-lock-type-face' to `error'.
13671
13672 * battery.el (battery-update): Use the face `error' instead of
13673 `font-lock-warning-face' (bug#6117).
13674
6a93965e
JL
136752011-08-24 Juri Linkov <juri@jurta.org>
13676
13677 * faces.el (success): Change face color from "Green3" to
13678 "ForestGreen" on light background (bug#9353).
13679
1ed43b09
CY
136802011-08-24 Chong Yidong <cyd@stupidchicken.com>
13681
5664fa7b
RT
13682 * window.el (quit-window): Rename from quit-restore-window.
13683 Use same arglist as old quit-window.
1ed43b09
CY
13684 (frame-auto-delete): Doc fix.
13685
13686 * view.el (view-mode-exit): Use quit-window.
13687
11dcdbb2
JL
136882011-08-24 Juri Linkov <juri@jurta.org>
13689
13690 * isearch.el (isearch-ring-adjust1): Start visiting previous
13691 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13692 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13693 for empty search string (when the last search string is reused
13694 automatically) to adjust the isearch ring to the last element and
13695 prepare the correct index for further M-p commands (bug#9185).
13696
de62b4df
KH
136972011-08-24 Kenichi Handa <handa@m17n.org>
13698
13699 * international/ucs-normalize.el: If decomposition property of
13700 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13701 nil.
13702 (nfd, nfkd): Likewise.
13703
963b492b
SM
137042011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13705
13706 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13707 from process filters aren't reliably transmitted to the surrounding
13708 accept-process-output.
13709 (mpc-proc-check): New function.
13710 (mpc-proc-sync): Use it (bug#8293)
13711
93b6b5e1
SM
137122011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13713
13714 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13715 Add compatibility functions (bug#9313).
13716
bca633fb
EZ
137172011-08-23 Eli Zaretskii <eliz@gnu.org>
13718
b177498a
EZ
13719 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13720
6df6ae42 13721 * international/uni-bidi.el: Regenerate.
bca633fb 13722
0902a04e
KH
137232011-08-23 Kenichi Handa <handa@m17n.org>
13724
13725 * international/charprop.el:
13726 * international/uni-bidi.el:
13727 * international/uni-category.el:
13728 * international/uni-combining.el:
13729 * international/uni-comment.el:
13730 * international/uni-decimal.el:
13731 * international/uni-decomposition.el:
13732 * international/uni-digit.el:
13733 * international/uni-lowercase.el:
13734 * international/uni-mirrored.el:
13735 * international/uni-name.el:
13736 * international/uni-numeric.el:
13737 * international/uni-old-name.el:
13738 * international/uni-titlecase.el:
13739 * international/uni-uppercase.el: Regenerate.
13740
3bbf23bc
MR
137412011-08-23 Martin Rudalics <rudalics@gmx.at>
13742
13743 * help.el (help-window-setup): Fix message displayed when other
13744 window is reused. (Bug#9341)
13745
b3fd59bd
SM
137462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13747
1802e444
SM
13748 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13749 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13750
b3fd59bd
SM
13751 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13752 Mark obsolete.
13753 * shell.el (shell-parse-pcomplete-arguments): New function.
13754 (shell-completion-vars): Use it instead (bug#9160).
13755
4eb61348
SM
137562011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13757
867cab74
SM
13758 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13759 strings and comments (bug#9333).
13760
4eb61348
SM
13761 * emacs-lisp/debug.el (debug-arglist): New function.
13762 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13763 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13764
262a1439
JL
137652011-08-22 Juri Linkov <juri@jurta.org>
13766
56ee679c
JL
13767 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13768 Revert regexp that highlights output switches to its old
13769 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13770
262a1439
JL
13771 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13772 to check for empty output (bug#9226).
13773
f13f86fb
CY
137742011-08-22 Chong Yidong <cyd@stupidchicken.com>
13775
13776 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13777 symbol-constituent as the default, as that stops font-lock from
13778 working properly (Bug#8843).
13779
c65c9622
LMI
137802011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13781
13782 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13783 `coding-system-for-*' around the process open call to avoid
13784 auth-source side effects.
e7f2c178 13785 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13786 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13787 probe hangs.
c65c9622 13788
23a8a5ab
CY
137892011-08-21 Chong Yidong <cyd@stupidchicken.com>
13790
ff98b2dd
CY
13791 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13792
23a8a5ab
CY
13793 * emacs-lisp/find-func.el (find-function-noselect): New arg
13794 lisp-only.
13795
13796 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13797 signal an error for built-in functions (Bug#6664).
13798
f5e3c598
LMI
137992011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13800
13801 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13802 (smtpmail-try-auth-methods): Use it.
13803
a3f2468a
CY
138042011-08-21 Chong Yidong <cyd@stupidchicken.com>
13805
2c34e8da
CY
13806 * font-lock.el (font-lock-fontify-region)
13807 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13808 (font-lock-default-unfontify-buffer)
13809 (font-lock-default-fontify-region)
13810 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13811
b3fd59bd
SM
13812 * progmodes/compile.el (compilation-error-properties):
13813 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13814 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13815 `ant' regexp.
ee31aabc 13816
a3f2468a
CY
13817 * net/browse-url.el (browse-url-firefox): Don't call
13818 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13819
8e999f70
GM
138202011-08-20 Glenn Morris <rgm@gnu.org>
13821
c21a496a
GM
13822 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13823
59ee0542
GM
13824 * tutorial.el (tutorial--default-keys): Update some default bindings.
13825
8e999f70
GM
13826 * files.el (hack-local-variables): Fully ignore case for "mode:".
13827
e3715033
AM
138282011-08-20 Alan Mackenzie <acm@muc.de>
13829
13830 Resolve invalid use of a regexp in regexp-opt.
13831
4d61f28d
JB
13832 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13833 detection for a java annotation.
e3715033 13834
4d61f28d 13835 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13836 detection for a java annotation.
13837
4d61f28d
JB
13838 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13839 handling for java.
e3715033
AM
13840 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13841
04ed2e9c
CY
138422011-08-20 Chong Yidong <cyd@stupidchicken.com>
13843
13844 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13845 (Bug#9274).
13846
826cee64
AM
138472011-08-20 Alan Mackenzie <acm@muc.de>
13848
58179cce 13849 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13850 such a construct. Mainly for when jit-lock etc. starts a chunk
13851 here.
13852
58179cce 13853 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13854 variable.
58179cce 13855 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13856 c-make-font-lock-search-function.
13857 (c-make-font-lock-search-function): Use the above function.
13858 (c-make-font-lock-context-search-function): New function.
13859 (c-cpp-matchers): Enhance the preprocessor expression case with
13860 the above function
13861 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13862 which takes an expression.
13863
13864 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13865
13009bd8
MR
138662011-08-20 Martin Rudalics <rudalics@gmx.at>
13867
13868 * window.el (display-buffer-reuse-window)
13869 (display-buffer-pop-up-window): Don't reuse or split a side
13870 window.
13871
9234ff7f
GM
138722011-08-19 Glenn Morris <rgm@gnu.org>
13873
13874 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13875 Downcase "Mode:". (Bug#9331)
9234ff7f 13876
f635daa1
CY
138772011-08-18 Chong Yidong <cyd@stupidchicken.com>
13878
13879 * international/characters.el: Add L and R categories.
13880
13881 * subr.el (bidi-string-mark-left-to-right): Rename from
13882 string-mark-left-to-right. Use category search.
13883
13884 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13885
bc987f8b
JL
138862011-08-18 Juri Linkov <juri@jurta.org>
13887
13888 * faces.el (error, warning, success): New faces with definitions
13889 copied from old default values of `font-lock-warning-face',
13890 `compilation-warning', `compilation-info' (bug#6117).
13891
13892 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13893
13894 * progmodes/compile.el (compilation-error): Inherit from `error'.
13895 (compilation-warning): Inherit from `warning'.
13896 (compilation-info): Inherit from `success'.
13897
13898 * dired.el (dired-marked): Inherit from `warning'.
13899 (dired-flagged): Inherit from `error'.
13900
57173b96
LMI
139012011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13902
3e79eb87
LMI
13903 * mail/smtpmail.el (auth-source): Require to avoid problems with
13904 binding variables (bug#9298). Also clean up some unused
13905 autoloads.
13906
b3fd59bd
SM
13907 * net/network-stream.el (network-stream-open-starttls):
13908 Support using starttls.el without using gnutls-cli.
57173b96 13909
02b404de
JL
139102011-08-17 Juri Linkov <juri@jurta.org>
13911
13912 * progmodes/grep.el (rgrep): Handle the case when
13913 `grep-find-command' is a cons cell (bug#9278).
13914
8c9177f2
MR
139152011-08-17 Martin Rudalics <rudalics@gmx.at>
13916
13917 * window.el (display-buffer-pop-up-frame): Run frame creation
13918 function with BUFFER current (as special-display-popup-frame
13919 does). Reported by Drew Adams.
13920
3644a0ab
DU
139212011-08-17 Daiki Ueno <ueno@unixuser.org>
13922
13923 * epa-mail.el: Simplify GnuPG group expansion using
13924 epg-expand-group.
13925 (epa-mail-group-alist, epa-mail-group-modtime)
13926 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13927 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13928 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13929 Remove.
13930
5e617bc2 139312011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13932
13933 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13934
9c4aeabf
AM
139352011-08-16 Alan Mackenzie <acm@muc.de>
13936
13937 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13938 Correct, to avoid the inside of macros.
13939
3a99bf64
RS
139402011-08-16 Richard Stallman <rms@gnu.org>
13941
04963aa8
RS
13942 * epa-mail.el: Handle GnuPG group definitions.
13943 (epa-mail-group-alist, epa-mail-group-modtime)
13944 (epa-mail-gnupg-conf-file): New variables.
13945 (epa-mail-parse-groups, epa-mail-sync-groups)
13946 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13947 (epa-mail-expand-recipients): New functions.
13948 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13949
177549d0
RS
13950 * mail/rmail.el (rmail-epa-decrypt): New command.
13951
fe38beef
RS
13952 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13953 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13954 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13955 (epa-decrypt-armor-in-region): Make error message clearer.
13956
934eacb9
SM
139572011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13958
13959 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13960 and "a2b" to "ab" for `prefix'.
13961
d024fb4e
CY
139622011-08-14 Chong Yidong <cyd@stupidchicken.com>
13963
13964 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13965 filter groups.
de148fee
CY
13966 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13967 Fourquet (Bug#8804).
d024fb4e 13968
62f1ca49
JB
139692011-08-12 Juanma Barranquero <lekktu@gmail.com>
13970
13971 * startup.el (argi): Declare as global variable (bug#9275).
13972
9ccaaa4b
CY
139732011-08-12 Chong Yidong <cyd@stupidchicken.com>
13974
13975 * subr.el (string-mark-left-to-right): Search the entire string
13976 for RTL script, not just the terminating character. Doc fix.
13977
a3dae87a
SM
139782011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13979
6cd18349
SM
13980 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13981 New function.
13982 (js--regexp-literal, js-syntax-propertize-function): Remove.
13983 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13984 (js-mode-map): Don't rebind electric keys.
13985 (js-insert-and-indent): Remove.
13986 (js-mode): Setup electric-layout and electric-indent instead.
13987
a3dae87a
SM
13988 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13989
9d5cb631
DU
139902011-08-12 Daiki Ueno <ueno@unixuser.org>
13991
13992 * epa.el (epa-progress-callback-function): Fix the logic of
13993 displaying progress.
13994 * epa-file.el (epa-file-insert-file-contents): Make progress
13995 display more user-friendly.
13996 (epa-file-write-region): Ditto.
13997
3e26a4a2
CY
139982011-08-10 Chong Yidong <cyd@stupidchicken.com>
13999
14000 * subr.el (string-mark-left-to-right): New function.
14001
14002 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14003 Use string-mark-left-to-right.
14004 (list-buffers-noselect): Caller changed.
14005
a3dae87a
SM
14006 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14007 Use string-mark-left-to-right.
3e26a4a2
CY
14008 (tabulated-list-print): Recenter after moving point.
14009
ac8cf6e6
JL
140102011-08-10 Juri Linkov <juri@jurta.org>
14011
14012 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14013 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14014 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14015
8d96c9a4
CY
140162011-08-09 Chong Yidong <cyd@stupidchicken.com>
14017
14018 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14019 (Bug#7554).
14020
7be1c708 140212011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14022
14023 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14024 character. (Bug#6594)
14025
37e11a63
CY
140262011-08-08 Chong Yidong <cyd@stupidchicken.com>
14027
839dde57
CY
14028 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14029 (image-dired--with-db-file): New macro.
14030 (image-dired-write-tags, image-dired-remove-tag)
14031 (image-dired-create-gallery-lists, image-dired-write-comments)
14032 (image-dired-get-comment, image-dired-mark-tagged-files)
14033 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14034 (image-dired-gallery-generate): Use insert-file-contents.
14035
37e11a63
CY
14036 * time.el (display-time-world-list, display-time-world-display):
14037 * time-stamp.el (time-stamp-string):
14038 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14039 set-time-zone-rule (Bug#7337).
14040
0b4946c4
DU
140412011-08-08 Daiki Ueno <ueno@unixuser.org>
14042
14043 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14044 (epg-error-to-string, epg-errors-to-string): New function.
14045 (epg-wait-for-completion): Reverse errors list.
14046 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14047 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14048 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14049 (epg-sign-keys, epg-generate-key-from-file)
14050 (epg-generate-key-from-string): Format errors by using
14051 epg-errors-to-string (bug#9255).
14052 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14053
75bfc667
JL
140542011-08-07 Juri Linkov <juri@jurta.org>
14055
14056 * faces.el (list-faces-display): Remove extra angle bracket
14057 from `help-mode-map'.
14058
14059 * info.el (Info-history-toc-nodes): Doc fix.
14060
14061 * longlines.el (longlines-mode): Doc fix.
14062
673e08bb
SM
140632011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14064
4640dd88
SM
14065 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14066 of statements and in a few more cases (bug#9183).
14067
673e08bb
SM
14068 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14069 New functions.
14070 (cl-transform-lambda): Use them (bug#9239).
14071
89b3f019
MR
140722011-08-05 Martin Rudalics <rudalics@gmx.at>
14073
14074 * window.el (display-buffer-same-window)
14075 (display-buffer-same-frame, display-buffer-other-window)
14076 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14077 (pop-to-buffer-other-window)
14078 (pop-to-buffer-same-frame-other-window)
14079 (pop-to-buffer-other-frame): Make them defuns.
14080 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14081
640c8776
SM
140822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14083
14084 * subr.el (make-composed-keymap): Move from C. Change calling
14085 convention, and improve docstring to bring attention to a subtle point.
14086 * minibuffer.el (completing-read-default): Adjust accordingly.
14087
63648a95
MA
140882011-08-03 Michael Albinus <michael.albinus@gmx.de>
14089
14090 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14091 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14092
14093 * net/trampver.el: Update release number.
14094
b796c9b7
SM
140952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14096
14097 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14098 "in" (bug#9190).
14099
2239d7d5
LMI
141002011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14101
e07dd7c3
LMI
14102 * mail/sendmail.el (sendmail-query-once): Restore the current
14103 buffer after querying (bug#9074).
14104
0e6a2bd7
LMI
14105 * dired.el (dired-flagged): Use different faces for marked and
14106 flagged files (bug#6117).
14107
ce887515
LMI
14108 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14109 (bug#4433).
14110
92f2affc
LMI
14111 * ido.el (ido-mode): Switch off the message if called
14112 non-interactively.
14113
57d5aff0
LMI
14114 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14115 before 587, since it appears that that's more likely to work for
14116 more people.
14117
98cd6c18 14118 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14119 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14120 exist.
14121
b96dec83
LMI
14122 * info.el: Remove the `Info-beginning-of-buffer' function
14123 (bug#8325).
14124
b796c9b7
SM
14125 * net/network-stream.el (network-stream-open-starttls):
14126 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14127
d90e2ea0
MR
141282011-08-01 Martin Rudalics <rudalics@gmx.at>
14129
14130 * window.el (display-buffer-in-window): Don't set dedicated status
14131 of window here (Bug#9215).
14132 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14133 (display-buffer-pop-up-side-window)
b796c9b7 14134 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14135
cca09170
SM
141362011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14137
14138 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14139 before binding generated-autoload-file.
14140
027b979c
DD
141412011-08-01 Deniz Dogan <deniz@dogan.se>
14142
14143 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14144
3c7ee4f3
MA
141452011-07-30 Michael Albinus <michael.albinus@gmx.de>
14146
14147 Sync with Tramp 2.2.2.
14148
14149 * net/trampver.el: Update release number.
14150
2cc8e51a
JL
141512011-07-30 Juri Linkov <juri@jurta.org>
14152
14153 * dired-aux.el (dired-touch-initial): Remove function.
14154 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14155 current time, and `default' to the last modification time of the
14156 current marked file (bug#6887).
14157
a514d856
JM
141582011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14159
14160 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14161 numeric argument to read-number (bug#9163).
a514d856 14162
8a7eddd7
MA
141632011-07-27 Michael Albinus <michael.albinus@gmx.de>
14164
14165 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14166 connection process, it could be nil.
14167
1ddd96f5
LL
141682011-07-27 Leo Liu <sdl.web@gmail.com>
14169
14170 Simplify url handling in rcirc-mode.
14171
14172 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14173 (rcirc-browse-url-at-mouse): Remove.
14174 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14175
b248a85d
AM
141762011-07-26 Alan Mackenzie <acm@muc.de>
14177
14178 Fontify bitfield declarations properly.
14179
14180 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14181 (c-symbol-chars): Now exported as a lang variable.
14182 (c-not-primitive-type-keywords): New lang variable.
14183
14184 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14185 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14186 parsed as a bitfield declaration.
b248a85d 14187
b796c9b7
SM
14188 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14189 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14190 (c-punctuation-in): New function.
14191 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14192 declarations properly.
14193
68575ab0
UJ
141942011-07-26 Ulf Jasper <ulf.jasper@web.de>
14195
14196 * calendar/icalendar.el (icalendar--all-events): Take care of
14197 multiple vcalendars in a single file.
b796c9b7 14198 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14199
0f0a88b9
DD
142002011-07-25 Deniz Dogan <deniz@dogan.se>
14201
14202 * image.el (insert-image): Clarifying docstring.
14203
0b3f36df
MA
142042011-07-24 Michael Albinus <michael.albinus@gmx.de>
14205
14206 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14207 `tramp-send-command-and-check' if there is no error.
14208 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14209
a9901f61
AM
142102011-07-22 Alan Mackenzie <acm@muc.de>
14211
14212 Prevent cc-langs.elc being loaded at run time.
14213
14214 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14215 cc-langs.
14216
4d61f28d 14217 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14218 "(require 'cc-langs)". Quote a form so it will evaluate at
14219 (cc-mode's) compilation time.
14220
11d074b2
MA
142212011-07-22 Michael Albinus <michael.albinus@gmx.de>
14222
14223 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14224 loading. (Bug#9114)
14225
938b94c8
MR
142262011-07-21 Martin Rudalics <rudalics@gmx.at>
14227
14228 * window.el (display-buffer-pop-up-window)
14229 (display-buffer-pop-up-side-window)
14230 (display-buffer-in-side-window): Call display-buffer-set-height
14231 and display-buffer-set-width after setting the new window's
b796c9b7 14232 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14233
bfa4f190
SS
142342011-07-20 Sam Steingold <sds@gnu.org>
14235
14236 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14237 (etags-tags-included-tables): Call `convert-standard-filename' on
14238 the file names contained in TAGS so that windows Emacs can handle
14239 TAGS files created by cygwin ctags.
14240
8ca42262
LMI
142412011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14242
14243 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14244 which apparently didn't work.
14245
5db2afd2 142462011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14247
5db2afd2
RW
14248 * proced.el (proced-send-signal): For *Marked Processes* buffer
14249 put point at beginning of buffer.
14250
92e15d10
SB
142512011-07-19 Stephen Berman <stephen.berman@gmx.net>
14252
14253 * proced.el (proced-format): Make header lines align with the text
14254 (bug#1779).
14255
1bfd59e5
LMI
142562011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14257
14258 * view.el (view-buffer): Allow running in `special' modes if we're
14259 visiting a file (bug#8615).
14260
f5aae37c
MR
142612011-07-19 Martin Rudalics <rudalics@gmx.at>
14262
14263 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14264 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14265 New functions.
f5aae37c
MR
14266 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14267 more accurately.
14268
bf2c1571
AM
142692011-07-18 Alan Mackenzie <acm@muc.de>
14270
14271 Fontify declarators properly when, e.g., a jit-lock chunk begins
14272 inside a declaration.
14273
14274 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14275
b796c9b7
SM
14276 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14277 New function.
bf2c1571
AM
14278 (c-complex-decl-matchers): Insert reference to
14279 c-font-lock-enclosing-decls.
14280
14281 * progmodes/cc-engine.el (c-backward-single-comment):
14282 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14283 to nil around calls to (forward-comment -1).
14284
4e190b80
LMI
142852011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14286
12dc863d
LMI
14287 * image.el (put-image): Doc typo fix.
14288
a762e966
LMI
14289 * progmodes/etags.el (tags-search): Doc typo fix.
14290
4e190b80
LMI
14291 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14292 password if we get errors 550 to 554.
14293
f019fb21
LMI
142942011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14295
b796c9b7 14296 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14297
81746738
LMI
14298 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14299 indentation character (bug#6380).
14300
3ee3a1b5
LMI
14301 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14302
c82f64de
LMI
14303 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14304 to clarify what the problem is (bug#4291).
14305
f019fb21
LMI
14306 * simple.el (current-kill): Clarify what
14307 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14308 (auto-fill-mode): Document `auto-fill-function' in relation to
14309 `auto-fill-mode' (bug#2470).
f019fb21 14310
0794775d
LM
143112011-07-16 Lawrence Mitchell <wence@gmx.li>
14312
14313 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14314 method if slot is read-only (bug#9035).
14315
be39b8cc
MR
143162011-07-16 Martin Rudalics <rudalics@gmx.at>
14317
b796c9b7 14318 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14319 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14320 selected before, see discussion of (Bug#8615), (Bug#6954).
14321 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14322
6ccf7859
GM
143232011-07-15 Glenn Morris <rgm@gnu.org>
14324
14325 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14326 Respect help-form.
6ccf7859 14327
87e86684
LM
143282011-07-09 Lawrence Mitchell <wence@gmx.li>
14329
14330 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14331 (gnutls-negotiate): Use it.
14332
d6066239
LMI
143332011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14334
b796c9b7
SM
14335 * net/gnutls.el (gnutls-negotiate):
14336 Upcase `gnutls-algorithm-priority'.
d6066239 14337
bd23ebc0
GM
143382011-07-15 Glenn Morris <rgm@gnu.org>
14339
c65bca65
GM
14340 * jka-compr.el (jka-compr-verbose): Move from here...
14341 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14342 Add missing :version tag.
14343 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14344
478615cc
LMI
143452011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14346
7b41decb
LMI
14347 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14348 (gnutls-negotiate): Use it.
14349
dbc44fcd
LMI
14350 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14351
06789f97
LMI
14352 * info.el (Info-beginning-of-buffer): New command.
14353 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14354 announcing `b' as the key (bug#8325).
ab896c37 14355 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14356
c39da690
LMI
14357 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14358
3aa5f34b
LMI
14359 * international/mule-cmds.el
14360 (describe-specified-language-support): Make the error message
14361 clearer (bug#8905).
14362
4bf0979f
LMI
14363 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14364
478615cc
LMI
14365 * isearch.el (isearch-barrier): Add a doc string, since it's
14366 mentioned in a function doc string (bug#8678).
14367
75c68aa1
MR
143682011-07-15 Martin Rudalics <rudalics@gmx.at>
14369
14370 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14371 buffer argument (Bug#9083) and self-identifying label argument.
14372
a7c33da2
GM
143732011-07-15 Glenn Morris <rgm@gnu.org>
14374
14375 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14376
2f5c6024
LMI
143772011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14378
14379 * man.el (Man-fontify-manpage): Fix message when formatting the
14380 man page (bug#7929).
14381
0bb23927 143822011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14383
14384 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14385 argument LRM; if non-nil, append an invisible LRM character to the
14386 buffer name.
14387 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14388 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14389 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14390 paragraph direction.
cce4b0a7 14391
621ef9ab
LMI
143922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14393
d1583c48
LMI
14394 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14395 the man page name (bug#7929).
14396
6a57fb5f
LMI
14397 * image.el (put-image): Mention the `put-image' overlay property
14398 (bug#7834).
14399
d7956b14
LMI
14400 * scroll-bar.el (set-scroll-bar-mode): Mention that
14401 `scroll-bar-mode' lists the values (bug#7772).
14402
5b2d4a66
LMI
14403 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14404 command (bug#7729).
14405
7509a874
LMI
14406 * rect.el (apply-on-rectangle): Return the point after the last
14407 operation.
14408 (string-rectangle): Go to the point after the last operation
14409 (bug#7522).
14410
4fe74b19
LMI
14411 * printing.el (pr-toggle-region): Clarify the documentation
14412 slightly (bug#7493).
14413
b796c9b7
SM
14414 * time.el (display-time-update):
14415 Allow `display-time-mail-function' to return nil (bug#7158).
14416 Fix suggested by Detlev Zundel.
ab283561 14417
fc233c9d
LMI
14418 * vc/diff.el (diff): Clarify the order the file names are read
14419 (bug#7111).
14420
43f5740b
LMI
14421 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14422 the doc string (bug#7015).
14423
f2182a76
LMI
14424 * font-lock.el (font-lock-maximum-decoration): Mention what
14425 numeric levels mean (bug#6935).
14426
621ef9ab
LMI
14427 * startup.el (initial-buffer-choice): Don't mention the `none'
14428 selection, which is against policy.
14429
adc47434
MR
144302011-07-14 Martin Rudalics <rudalics@gmx.at>
14431
b796c9b7
SM
14432 * window.el (display-buffer-normalize-special):
14433 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14434
7e5bfb8f
EZ
144352011-07-14 Eli Zaretskii <eliz@gnu.org>
14436
14437 * subr.el (version<, version<=, version=): Mention "-CVS" and
14438 "-12345" alpha version numbers.
14439
27fa387a
CY
144402011-07-14 Chong Yidong <cyd@stupidchicken.com>
14441
14442 * bindings.el: Add advertised binding for set-mark-command
14443 (Bug#5772).
14444
8bdfa064
CY
144452011-07-14 Chong Yidong <cyd@stupidchicken.com>
14446
14447 * bindings.el (mode-line-other-buffer):
14448 * bookmark.el (bookmark-bmenu-2-window):
14449 * bs.el (bs-cycle-next, bs-cycle-previous):
14450 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14451 switch-to-buffer.
14452
14453 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14454 Delete.
8bdfa064 14455
5eba16a3
JB
144562011-07-14 Juanma Barranquero <lekktu@gmail.com>
14457
14458 * follow.el (follow-debug-message, follow-redisplay):
14459 * jka-cmpr-hook.el (with-auto-compression-mode):
14460 Fix typos in docstrings.
14461
15853710
LMI
144622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14463
a28e4607
LMI
14464 * subr.el (with-silent-modifications): Clarify somewhat what the
14465 macro inhibits (bug#6525).
14466
15853710
LMI
14467 * simple.el (eval-expression): Note what it does if called
14468 interactively (bug#6495).
14469
bee0fcef
CY
144702011-07-13 Chong Yidong <cyd@stupidchicken.com>
14471
b796c9b7
SM
14472 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14473 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14474
14475 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14476 Remove switch-to-buffer.
14477
58274504
LMI
144782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14479
bd2fcc8d
LMI
14480 * files.el (make-directory): Clarify that an error will be raised
14481 if there's an error (bug#6397).
14482
0f04b32c
LMI
14483 * startup.el (initial-buffer-choice): Add `none' as a choice
14484 (bug#6234).
14485
465c5fc8
LMI
14486 * subr.el (add-hook): Clarify section about buffer-local hooks
14487 (bug#6218).
14488
58274504
LMI
14489 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14490
bead9a43
JB
144912011-07-13 Juanma Barranquero <lekktu@gmail.com>
14492
14493 * tabify.el (untabify): Preserve the current column so that point
14494 doesn't move (bug#6032).
14495
3af98a7b
LMI
144962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14497
b796c9b7
SM
14498 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14499 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14500
6240145a
GM
145012011-07-13 Glenn Morris <rgm@gnu.org>
14502
14503 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14504 (dired-insert-directory): Give a message the first time
14505 if ls is found not to support --dired.
14506
1d8c2ccc
LMI
145072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14508
14509 * simple.el (toggle-truncate-lines): Clarify what is toggled
14510 (bug#5580). Text by Drew Adams.
14511
5fc4038e
CY
145122011-07-13 Chong Yidong <cyd@stupidchicken.com>
14513
14514 * simple.el (blink-matching-open): Make the error message from the
14515 last change less verbose.
14516
bf6012e5
DN
145172011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14518
14519 * font-lock.el (font-lock-comment-face): Use the high contrast
14520 "yellow" color for font-lock-comment-face on low color terminals
14521 using a dark background color (bug#4221).
14522
343c3b5a
LMI
145232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14524
7e9505c5
LMI
14525 * dired.el (dired-insert-set-properties): Make the doc string
14526 reflect what it does now (bug#5325).
14527
c26fdcf5
LMI
14528 * simple.el (blink-matching-open): Say that we were unable to find
14529 the match within the limit, if we're limited (bug#5122).
14530
bb388cc5
LMI
14531 * international/mule-cmds.el (prefer-coding-system): Add an
14532 example (bug#4869).
14533
343c3b5a
LMI
14534 * progmodes/etags.el (tags-search): Document `file-list-form'
14535 (bug#4731).
14536
2a517d45
LM
145372011-07-13 Lawrence Mitchell <wence@gmx.li>
14538
14539 * net/browse-url.el (browse-url-default-browser)
14540 (browse-url-browser-function): Make the default browser choice a
14541 bit more logical (bug#4300). Also clean up the doc string.
14542
b6c78ef2
JB
145432011-07-13 Juanma Barranquero <lekktu@gmail.com>
14544
14545 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14546 binary endings (bug#4440).
14547
1c4dd947
LMI
145482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14549
a2014063
LMI
14550 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14551 which can be pretty annoying (bug#8971).
14552
9c9c2d88
LMI
14553 * jka-compr.el (jka-compr-verbose): New variable, and use
14554 throughout (bug#8971).
14555
1c4dd947
LMI
14556 * info.el (Info-find-file): Fall back on the installation
14557 directory if we can't find the info node anywhere else.
14558
a1c9f41b
SO
145592011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14560
14561 * vc/vc.el (vc-revert-file):
14562 Don't set file time-stamp in the past. (Bug#5181)
14563
536f3d36
LMI
145642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14565
7152b011
LMI
14566 * files.el (after-find-file): Give a better error message when
14567 trying to find a symlink that points to a file that doesn't exist
14568 (bug#4398).
14569
536f3d36
LMI
14570 * progmodes/cc-vars.el: Remove (probably) misleading comment
14571 (bug#4396).
14572
460c0fba
JB
145732011-07-12 Johan Bockgård <bojohan@gnu.org>
14574
14575 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14576
7a6bda45
CY
145772011-07-12 Chong Yidong <cyd@stupidchicken.com>
14578
14579 * mouse-sel.el: Hack restoring functionality, while keeping
14580 compatibility with 2010-07-03 changes to mouse selection.
14581 (mouse-sel-primary-overlay): New var.
14582 (mouse-sel-selection-alist): Use it.
14583 (mouse-sel-mode): Doc fix; remove points that are default features
14584 of mouse.el.
14585
c79598ef
JB
145862011-07-12 Johan Bockgård <bojohan@gnu.org>
14587
14588 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14589 Fix previous fix (bug#2490).
14590
ff8be6ef
RW
145912011-07-12 Roland Winkler <winkler@gnu.org>
14592
b796c9b7
SM
14593 * textmodes/bibtex.el (bibtex-initialize):
14594 Use pop-to-buffer-same-window.
ff8be6ef
RW
14595 (bibtex-search-entries): Fix interactive call.
14596
296ba3ee
LMI
145972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14598
f5242a02 14599 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14600 Fontise bytecomp Error lines more correctly (bug#2490).
14601 Fix suggested by Johan Bockgård.
f5242a02 14602
296ba3ee
LMI
14603 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14604
14605 * dired-x.el (dired-guess-default): Use `delete-dups'.
14606
f69fd0d2
CY
146072011-07-12 Chong Yidong <cyd@stupidchicken.com>
14608
14609 * dired.el (dired-mark-prompt):
14610 * dired-aux.el (dired-read-shell-command): Doc fix.
14611
eab5dc07
LMI
146122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14613
b796c9b7
SM
14614 * mail/sendmail.el (sendmail-query-once):
14615 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14616 emacs -Q.
14617
14618 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14619
eab5dc07
LMI
14620 * cus-edit.el (custom-file): Take an optional no-error variable.
14621 (customize-save-variable): Set the variable, and give a warning if
14622 running under "emacs -q".
14623
a1e65d42
JB
146242011-07-11 Juanma Barranquero <lekktu@gmail.com>
14625
14626 * loadhist.el (unload-feature-special-hooks):
14627 Add `auto-coding-functions', `fill-nobreak-predicate' and
14628 `find-directory-functions' (bug#5327).
14629
1d52da10
LMI
146302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14631
be958f1d
LMI
14632 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14633
5bedb26c
LMI
14634 * cus-edit.el (custom-guess-name-alist): -alist variables should
14635 use the `alist' type (bug#3120). Suggested by Drew Adams.
14636
1d52da10
LMI
14637 * printing.el: Add documentation to all the `pr-toggle-' commands.
14638
cd394be1 146392011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14640
14641 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14642 backends where it makes sense (bug#2623).
14643
dcc88d8a
LMI
146442011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14645
c3de9feb
LMI
14646 * dired-x.el (dired-guess-default): Remove duplicate shell command
14647 entries (bug#2028).
8a93078b 14648 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14649 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14650
dcc88d8a
LMI
14651 * subr.el (remove-duplicates): New conveniency function.
14652
505e3645
LMI
146532011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14654
14655 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14656 (bug#1526).
14657
146582011-07-10 Martin Rudalics <rudalics@gmx.at>
14659
14660 * window.el (display-buffer-normalize-default): Don't invert
14661 meaning of even-window-heights. Reported by Eli Zaretskii
14662 <eliz@gnu.org>.
14663
455e4fa1
BR
146642011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14665
14666 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14667
8e0bc3e9
CY
146682011-07-10 Chong Yidong <cyd@stupidchicken.com>
14669
14670 * window.el (display-buffer): Fix arguments to
14671 display-buffer-reuse-window in last change.
14672
fa7c3228
CY
14673 * faces.el (link): Use a less saturated blue on light backgrounds.
14674
14675 * startup.el (fancy-startup-text, fancy-about-text)
14676 (fancy-startup-tail): Use font-lock faces, for background safety.
14677
c0a7f300
BN
146782011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14679
b796c9b7
SM
14680 * emulation/viper-cmd.el (viper-change-state-to-vi):
14681 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14682
4dc2a129
MR
146832011-07-09 Martin Rudalics <rudalics@gmx.at>
14684
14685 * window.el (display-buffer-default-specifiers): Remove.
14686 (display-buffer-macro-specifiers): Remove default specifiers.
14687 (display-buffer-alist): Default to nil.
b796c9b7 14688 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14689 (display-buffer-pop-up-window): Allow splitting internal
14690 windows. Check whether a live window was created.
14691 (display-buffer-other-window-means-other-frame)
14692 (display-buffer-normalize-arguments): Rename to
14693 display-buffer-normalize-argument and rewrite. Set the
14694 other-window specifier.
14695 (display-buffer-normalize-special): New function.
14696 (display-buffer-normalize-options): Rename to
14697 display-buffer-normalize-default and rewrite.
14698 (display-buffer-normalize-options-inhibit): Remove.
14699 (display-buffer-normalize-specifiers): Rewrite.
14700 (display-buffer): Process other-window specifier and call
14701 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14702 more faithfully.
b796c9b7 14703 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14704 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14705 (display-buffer-in-window, display-buffer-alist-set):
14706 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14707 <tassilo@member.fsf.org>.
14708
2d43b8c9
LL
147092011-07-09 Leo Liu <sdl.web@gmail.com>
14710
14711 * register.el (insert-register): Restore accidental change on
14712 2011-06-26. (Bug#9028)
14713
7f9b7c53
GM
147142011-07-09 Glenn Morris <rgm@gnu.org>
14715
14716 * subr.el (remq): Handle the empty list. (Bug#9024)
14717
f042cfd8
AS
147182011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14719
14720 * mail/sendmail.el (send-mail-function): No longer delay custom
14721 initialization.
14722 * custom.el (custom-initialize-delay): Doc fix.
14723
856b2f11
SM
147242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14725
14726 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14727
afae1d68
MA
147282011-07-08 Michael Albinus <michael.albinus@gmx.de>
14729
14730 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14731 human-friendly prompt.
14732
0757af94
SM
147332011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14734
14735 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14736 provided by a particular plugin.
14737
d760b731
LMI
147382011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14739
14740 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14741 save customizations (with "emacs -Q"), just set the variable
14742 instead of erroring out.
14743
14744 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14745
cd79ce90
JL
147462011-07-08 Juri Linkov <juri@jurta.org>
14747
14748 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14749 (archive-zip-update-case): Use 7z if found by `executable-find'.
14750 The order of searching the available programs is the same as in
14751 `archive-zip-extract' (bug#8968).
14752
14cc04aa
CY
147532011-07-07 Chong Yidong <cyd@stupidchicken.com>
14754
14755 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14756 (menu-bar-options-menu): Tweak descriptions.
14757
0a1848ec
LMI
147582011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14759
14760 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14761 menu items into verb phrases (bug#1421). Also refill to fit under
14762 80 columns.
14763
f5bd0689
CY
147642011-07-07 Chong Yidong <cyd@stupidchicken.com>
14765
538e85c6
CY
14766 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14767 (Info-read-node-name): Doc fix (Bug#1084).
14768
f5bd0689
CY
14769 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14770 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14771 (end-of-sexp, beginning-of-sexp)
14772 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14773 (forward-symbol, forward-same-syntax, word-at-point)
14774 (sentence-at-point): Doc fix (Bug#1144).
14775
56ec5115
LMI
147762011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14777
f3f8e37f
LMI
14778 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14779 should cover it (bug#1281).
14780
0757af94 14781 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14782
e9fce1ac 14783 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14784 negotiation fails, then possibly try again with a non-encrypted
14785 connection (bug#9017).
14786
56ec5115
LMI
14787 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14788 be used.
14789
c2f9aec8
RS
147902011-07-07 Richard Stallman <rms@gnu.org>
14791
14792 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14793 property, and handle its changed format.
14794 Look for the correct line number.
14795 Use file's line contents (but not past first =) to find
14796 correct line in message.
14797
ef7b981d 147982011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14799
14800 * international/characters.el (build-unicode-category-table):
14801 Delete it.
0757af94 14802 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14803
0757af94 14804 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14805 to src/chartab.c.
14806 (get-char-code-property): Call unicode-property-table-internal to
14807 load a file. Call get-unicode-property-internal where necessary.
14808 (put-char-code-property): Call unicode-property-table-internal to
14809 load a file. Call put-unicode-property-internal where necessary.
14810 put-unicode-property-internal where necessary.
0757af94
SM
14811 (char-code-property-description):
14812 Call unicode-property-table-internal to load a file.
c805dec0
KH
14813
14814 * international/charprop.el:
14815 * international/uni-bidi.el:
14816 * international/uni-category.el:
14817 * international/uni-combining.el:
14818 * international/uni-comment.el:
14819 * international/uni-decimal.el:
14820 * international/uni-decomposition.el:
14821 * international/uni-digit.el:
14822 * international/uni-lowercase.el:
14823 * international/uni-mirrored.el:
14824 * international/uni-name.el:
14825 * international/uni-numeric.el:
14826 * international/uni-old-name.el:
14827 * international/uni-titlecase.el:
14828 * international/uni-uppercase.el: Regenerate.
14829
14830 * loadup.el: Load international/charprop.el before
14831 international/characters.
14832
e14b388a
CY
148332011-07-07 Chong Yidong <cyd@stupidchicken.com>
14834
14835 * window.el (next-buffer, previous-buffer): Signal an error if
14836 called from a minibuffer window.
14837
14838 * bindings.el: Revert 2011-07-04 change.
14839
354cf0ba
RS
148402011-07-06 Richard Stallman <rms@gnu.org>
14841
14842 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14843 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14844 Treat markers like ints.
14845 (rmail-mime-entity): Doc fix.
14846
a48868a7
LMI
148472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14848
4906cd3d
LMI
14849 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14850 defcustom again for backwards compatibility.
14851
e0457abe
LMI
14852 * simple.el (shell-command-on-region): Fill.
14853
d67f7e1f
LMI
14854 * dired-aux.el (dired-kill-line): Add a doc string.
14855
fe204702
LMI
14856 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14857 to "\\sw\\|\\s_" (bug#358).
14858
a48868a7
LMI
14859 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14860 (dired-unmark-backward): Ditto.
14861 (dired-flag-backup-files): Ditto.
14862
14863 * dired-x.el (dired-mark-sexp): Ditto.
14864
aa8a705c
RS
148652011-07-06 Richard Stallman <rms@gnu.org>
14866
14867 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14868 (rmail-mime-entity): New arg TRUNCATED.
14869 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14870 New functions.
14871 (rmail-mime-save): Warn if entity is truncated.
14872 (rmail-mime-toggle-hidden): Likewise, for showing.
14873 (rmail-mime-process-multipart): Record when an entity is truncated.
14874
a9a936b9
RS
14875 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14876 if ENTITY is a string.
14877
1f2b92cb
LMI
148782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14879
f4f73198 14880 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14881 of faces when `M-C-x'-ing their definitions (bug#8378).
14882 Also clean up the code slightly.
f4f73198 14883
12b16734 14884 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14885 because that makes the colors go away.
12b16734 14886
f0691d22
LMI
14887 * mail/sendmail.el (send-mail-function): Change the default to
14888 `sendmail-query-once'.
9e87df06 14889 (sendmail-query-once): Add an autoload cookie.
f0691d22 14890
1f2b92cb
LMI
14891 * net/network-stream.el (network-stream-open-starttls): Try using
14892 a plain connection even if the server offered STARTTLS, and we
14893 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14894 capability. This should make smtpmail.el work in slightly more
14895 configurations.
14896
1cdd2a1b
MA
148972011-07-06 Michael Albinus <michael.albinus@gmx.de>
14898
14899 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14900 New defun.
14901 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14902
fbcc67e2
MM
149032011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14904
14905 * progmodes/sql.el: Version 3.0
0757af94 14906 (sql-product-alist): Add product :completion-object,
fbcc67e2 14907 :completion-column, and :statement attributes.
0757af94 14908 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14909 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14910 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14911 ansi keywords.
14912 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14913 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14914 (sql-oracle-show-reserved-words): New function for development.
14915 (sql-product-font-lock): Simplify for source code buffers.
14916 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14917 New functions.
14918 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14919 (sql-mode-map): Add statement movement functions.
14920 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14921 New variable.
fbcc67e2
MM
14922 (sql-statement-regexp, sql-beginning-of-statement)
14923 (sql-end-of-statement, sql-signum): New functions.
0757af94 14924 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14925 (sql-show-sqli-buffer): Bug fix.
14926 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14927 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14928 with sql-interactive-mode.
14929 (sql-save-connection): Save buffer local settings.
0757af94 14930 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14931 (sql-product-interactive): Bug fix.
14932 (sql-preoutput-hold): New variable.
14933 (sql-interactive-remove-continuation-prompt): Bug fixes.
14934 (sql-debug-redirect): New variable.
14935 (sql-str-literal): New function.
14936 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14937 Redesign.
fbcc67e2
MM
14938 (sql-oracle-save-settings, sql-oracle-restore-settings)
14939 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14940 (sql-completion-object, sql-completion-column)
14941 (sql-completion-sqlbuf): New variables.
14942 (sql-build-completions-1, sql-build-completions)
14943 (sql-try-completion): New functions.
14944 (sql-read-table-name): Use them.
14945 (sql-contains-names): New buffer local variable.
14946 (sql-list-all, sql-list-table): Use it.
14947 (sql-oracle-completion-types): New variable.
14948 (sql-oracle-completion-object, sql-sqlite-completion-object)
14949 (sql-postgres-completion-object): New functions.
14950
d4eaeab1
GM
149512011-07-06 Glenn Morris <rgm@gnu.org>
14952
14953 * window.el (pop-to-buffer): Doc fix.
14954
322b7dab 149552011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14956
14957 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14958
322b7dab 149592011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14960
322b7dab 14961 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14962
322b7dab 14963 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14964
605dd5bf
CY
149652011-07-05 Chong Yidong <cyd@stupidchicken.com>
14966
14967 * button.el (button): Inherit from link face. Suggested by Dan
14968 Nicolaescu.
14969
7dbfa719
SM
149702011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14971
3db614b0
SM
14972 * progmodes/gdb-mi.el: Fit in 80 columns.
14973 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14974 switch-to-buffer.
14975
7dbfa719
SM
14976 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14977 if imenu is simply not configured (bug#8941).
14978
919d884a
KM
149792011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14980
14981 * allout.el (allout-post-undo-hook): New allout outline-change
14982 event hook to signal undo activity.
14983 (allout-post-command-business): Run allout-post-undo-hook if an
14984 undo just occurred.
7dbfa719
SM
14985 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14986 * allout-widgets.el (allout-widgets-after-undo-function):
14987 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14988 in the vicinity of an undo.
14989 (allout-widgets-mode): Include allout-widgets-after-undo-function
14990 on the new allout-post-undo-hook.
14991
450a0f09
SM
149922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14993
14994 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14995 Let define-derived-mode define it.
14996 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14997 cycles of abbrev-table inheritance (bug#8998).
14998
2de69e00
RW
149992011-07-05 Roland Winkler <winkler@gnu.org>
15000
15001 * textmodes/bibtex.el: Add support for biblatex.
15002 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15003 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15004 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15005 (bibtex-entry-alist, bibtex-field-alist): New variables.
15006 (bibtex-entry-field-alist): Obsolete alias for
15007 bibtex-BibTeX-entry-alist.
15008 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15009 (bibtex-set-dialect): New command.
15010 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15011 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15012 Bind via bibtex-set-dialect.
2de69e00
RW
15013 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15014 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15015 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15016 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15017 Define via bibtex-set-dialect.
450a0f09
SM
15018 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15019 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15020 (bibtex-vec-push, bibtex-vec-incr): New functions.
15021 (bibtex-format-entry, bibtex-field-list)
15022 (bibtex-print-help-message, bibtex-validate)
15023 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15024
2dcdbdd9
SM
150252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15026
15027 * progmodes/compile.el (compilation-goto-locus):
15028 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15029 * bs.el (bs-cycle-next, bs-cycle-previous):
15030 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15031 * bindings.el (mode-line-other-buffer):
15032 * autoinsert.el (auto-insert):
15033 * arc-mode.el (archive-extract):
15034 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15035
b27640fe
JB
150362011-07-05 Juanma Barranquero <lekktu@gmail.com>
15037
15038 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15039 Fix check of `emacs-lock-unlockable-modes'.
15040 Coerce true values of `emacs-lock--try-unlocking' to t.
15041
53bbe3ad
JB
150422011-07-05 Juanma Barranquero <lekktu@gmail.com>
15043
15044 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15045 * emacs-lock.el: New file.
15046
1d3cdbc7
JD
150472011-07-05 Julien Danjou <julien@danjou.info>
15048
15049 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15050 than `boundp' to check if face is set.
15051
9173deec
JB
150522011-07-05 Juanma Barranquero <lekktu@gmail.com>
15053
15054 * register.el (registerv-make):
15055 * window.el (window-min-height): Fix typos in docstrings.
15056
869795d6
JD
150572011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15058
9173deec 15059 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15060 Update doc string.
15061
b768cdcd
JB
150622011-07-04 Juanma Barranquero <lekktu@gmail.com>
15063
15064 * server.el (server-execute): Catch quit and call
15065 `server-return-error' to pass the error back to emacsclient and
15066 close the connection (bug#8942).
15067
13aa217b
KM
150682011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15069
15070 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15071 insecure exception for current topic. Also note that auto-saves
15072 are handled differently.
15073
5d3385a0 15074 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15075 State variables for tracking auto-save inhibition situation.
15076
15077 (allout-write-contents-hook-handler): Rename from
15078 'allout-write-file-hook-handler', and describe how it depends on
15079 write-contents-functions sensitivity to non-nil value to prevent
15080 file write.
15081
15082 (allout-auto-save-hook-handler): Remove. auto-save does not check
15083 this in individual buffers, only in the starting buffer, so this
15084 is not the right way for us to inhibit auto-save in a buffer
15085 according to its condition.
15086
15087 (allout-mode): Use new allout-write-contents-hook-handler, and
15088 only with write-contents-functions. Remove auto-save provisions -
15089 they're implemented elsewhere.
15090
15091 (allout-before-change-handler): If undo is in progress, note that
15092 for attention of allout-post-command-business.
15093
15094 (allout-post-command-business): If the command we're following was
15095 an undo, check for change in the status of encrypted items and
15096 adjust auto-save inhibitions accordingly.
15097
15098 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15099 according to whether there are or aren't any plain-text topics
15100 pending encryption.
15101
2dcdbdd9 15102 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15103 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15104 if there are plain-text topics pending encryption.
13aa217b
KM
15105
15106 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15107 buffer-saved-size and some allout state to not inhibit auto-saves
15108 if there are no longer any plain-text topics pending encryption.
15109
0757af94
SM
15110 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15111 No longer provide for exemption of the current topic.
13aa217b 15112
ac89b32c
JL
151132011-07-04 Juri Linkov <juri@jurta.org>
15114
15115 Add 7z operations to delete and save changed members (bug#8968).
15116 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15117 New defcustoms.
15118 (archive-7z-write-file-member): New function.
15119 (archive-7z-summarize): Fix the number of dashes in the
15120 listing output.
15121
8fa39615
SM
151222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15123
15124 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15125 (bug#8958).
15126
2f11b3f1
CY
151272011-07-04 Chong Yidong <cyd@stupidchicken.com>
15128
d66fef2b
CY
15129 * bindings.el: Ignore next-buffer and previous-buffer in
15130 minibuffer-local-map.
15131
2f11b3f1
CY
15132 * font-lock.el (font-lock-builtin-face): Change light background
15133 color to dark slate blue (Bug#6693).
15134
f932a347
WD
151352011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15136
15137 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15138
c8af70e1
SM
151392011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15140
15141 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15142 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15143 Add switch-to-buffer.
15144
f158badc
LMI
151452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15146
15147 * isearch.el (isearch-search-fun-function): Clarify further the
15148 meaning of the function returned.
15149
6d95bd46
MA
151502011-07-04 Michael Albinus <michael.albinus@gmx.de>
15151
15152 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15153
15154 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15155 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15156 Use it.
15157 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15158 `tramp-default-remote-path' does not exist.
15159 (tramp-send-command-and-read): New optional argument NOERROR.
15160 (tramp-open-connection-setup-interactive-shell)
15161 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15162 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15163 (tramp-process-sentinel): Flush also process' connection property.
15164 (tramp-sh-handle-start-file-process): Do not set process
15165 sentinel. It is done now ...
15166 (tramp-maybe-open-connection): ... here. (Bug#8929)
15167
909e6b67
MK
151682011-07-04 MON KEY <monkey@sandpframing.com>
15169
15170 * play/animate.el (animate-string): Doc fixes and allow changing
15171 the buffer name (bug#5417).
15172
151732011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15174
c8af70e1 15175 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15176
f34755dc
PE
151772011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15178
396cec72
PE
15179 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15180 This is simpler and helps future-proof the code.
15181 (timer-until): Use time-subtract and float-time.
08235028 15182 (timer--time-less-p): Use time-less-p.
f34755dc 15183
56e6cc31
JB
151842011-07-04 Juanma Barranquero <lekktu@gmail.com>
15185
3abb79e5
JB
15186 * type-break.el (timep): Use the value of `float-time' to avoid a
15187 byte-compiler warning.
15188
56e6cc31
JB
15189 * server.el (server-eval-and-print): Return any result, even nil.
15190
7b9430b4
PE
151912011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15192
15193 * type-break.el: Accept time formats that the builtins accept.
15194 (timep, type-break-time-difference): Accept any format that
15195 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15196 This is simpler and helps future-proof the code.
15197 (type-break-time-difference): Round rather than ignoring
15198 subseconds components.
15199
3034e9e7
LMI
152002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15201
15202 * info.el (Info-apropos-matches): Make non-interactive, since it
15203 doesn't seem to do anything useful as a command (bug#8829).
15204
1485f4c0
CY
152052011-07-03 Chong Yidong <cyd@stupidchicken.com>
15206
15207 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15208 Move from faces.el.
1485f4c0
CY
15209 (frame-default-terminal-background): New function.
15210
15211 * custom.el (custom-push-theme): Don't record faces in `changed'
15212 theme; this doesn't work correctly for per-frame face settings.
15213 (disable-theme): Use face-set-after-frame-default to reset faces.
15214 (custom--frame-color-default): New function.
15215
9fa3dd45
LMI
152162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15217
c8af70e1 15218 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15219 (bug#8769).
15220
6cbbc20c
KR
152212011-03-29 Kevin Ryde <user42@zip.com.au>
15222
15223 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15224 `perl-Test2' extend to match possible "fail #N" rep count
15225 (bug#8377).
15226
c7f98048
LMI
152272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15228
65676592
LMI
15229 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15230 `smtpmail-via-smtp' now returns the error instead of nil.
15231
c7f98048
LMI
15232 * isearch.el (isearch-search-fun-function): Clarify the doc string
15233 (bug#8101).
15234
56e6cc31 152352011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15236
15237 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15238 unnecessary spaces (bug#8987).
15239
2b216704
LMI
152402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15241
15242 * net/network-stream.el (open-network-stream): Use the
15243 :end-of-capability command thoughout.
15244
152452011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15246
15247 * net/network-stream.el (open-network-stream): Add the
15248 :end-of-capability command parameter, used by pop3.el.
15249
36adf6ce
LMI
152502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15251
1ca0da0e
LMI
15252 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15253
fc00f69c
LMI
15254 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15255 for list)" (bug#6475).
15256
28fd8759 15257 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15258 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15259 an error (bug#6297).
15260
0dd8b6da
LMI
15261 * man.el (Man-reference-regexp): Allow matching possible
15262 word-wrapped references (bug#6289).
15263
ce1438d6
LMI
15264 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15265 for consistency with the other vc buffers (bug#6197).
15266 (vc-checkin): Ditto.
15267
15268 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15269
36adf6ce
LMI
15270 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15271
e83cc1f7
LMI
152722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15273
8a20ca4c
LMI
15274 * custom.el (defcustom): Clarify that :set is only used in the
15275 Customize user interface (bug#6089).
15276
83319045
LMI
15277 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15278 associated with a file, refuse to run instead of erroring out
15279 (bug#6084).
15280
a8392169
LMI
15281 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15282 the doc string, since it appears that using `fill-column' always
15283 controls the width (bug#7845).
15284
e83cc1f7
LMI
15285 * simple.el (shell-command-on-region): Say where the error output
15286 went if `shell-command-default-error-buffer' is set (bug#6857).
15287
e47ca23b
KM
152882011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15289
15290 * allout.el (allout-yank-processing): Adjust cursor position for
15291 backwards-deleted space.
15292
15293 (allout-rebullet-heading): Register changes with
15294 allout-exposure-changed-hook, so the modified topic is properly
15295 decorated.
15296
5cf56143
LMI
152972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15298
08549772
LMI
15299 * minibuffer.el (completion-in-region): Document PREDICATE
15300 (bug#7136).
15301
48e96771
LMI
15302 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15303 of keyword/argument pairs (bug#6904).
15304
c8af70e1
SM
15305 * replace.el (multi-occur):
15306 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15307
e17d05e2
LMI
153082011-07-02 Drew Adams <drew.adams@oracle.com>
15309
15310 * dired.el (dired-mark-if): Make the message about whether it's
15311 marking or unmarking clearer (bug#8523).
15312
063b0e45
LMI
153132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15314
15315 * disp-table.el (display-table-print-array): New function.
15316 (describe-display-table): Use it to print the vectors more pretty
15317 (Bug#8859).
15318
28545e04
MR
153192011-07-02 Martin Rudalics <rudalics@gmx.at>
15320
15321 * window.el (window-state-get-1): Don't assign clone numbers.
15322 Add clone-of item to list of window parameters.
15323 (window-state-put-2): Don't process clone numbers.
15324 (display-buffer-alist): Fix doc-string.
15325
3349e122
SM
153262011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15327
15328 * subr.el (remq): Don't allocate if it's not needed.
15329 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15330 (keymap--merge-bindings): New functions.
15331 (keymap-canonicalize): Use them to refine the canonicalization.
15332 * minibuffer.el (minibuffer-local-completion-map)
15333 (minibuffer-local-must-match-map): Move initialization from C.
15334 (minibuffer-local-filename-completion-map): Move initialization from C;
15335 don't inherit from anything here.
15336 (minibuffer-local-filename-must-match-map): Make obsolete.
15337 (completing-read-default): Use make-composed-keymap to combine
15338 minibuffer-local-filename-completion-map with either
15339 minibuffer-local-must-match-map or
15340 minibuffer-local-filename-completion-map.
15341
d224ac83
GM
153422011-07-01 Glenn Morris <rgm@gnu.org>
15343
3de63bf8
GM
15344 * type-break.el (type-break-time-sum): Use dolist.
15345
d224ac83
GM
15346 * textmodes/flyspell.el (flyspell-word-search-backward):
15347 Replace CL function.
15348
1a1e3f32
SM
153492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15350
fe3f64d5
SM
15351 * mouse.el (mouse--strip-first-event): New function.
15352 (function-key-map): Use it to map fringe clicks to normal clicks
15353 by default.
15354
eb604e34
SM
15355 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15356 (vc-bzr-revision-completion-table): Add support for annotate and date.
15357
1a1e3f32
SM
15358 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15359 inherit from parent.
15360
5bd35902
LMI
153612011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15362
ace6c69c 15363 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15364 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15365
191e2bed
LMI
15366 * dired.el (dired-mode): Fix up the doc string as suggested by
15367 Drew Adams (bug#8817).
15368
5bd35902
LMI
15369 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15370 cookie, since the manual says that it should be possible to add
15371 this function to `find-file-hook' (bug#8709).
15372
eee8207a
TZ
153732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15374
15375 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15376 here. Noted Ted Zlatanov as the maintainer.
15377 (cfengine-common-settings, cfengine-common-syntax): New functions
15378 to set up common things between `cfengine-mode' and
15379 `cfengine3-mode'.
15380 (cfengine3-mode): New mode.
15381 (cfengine3-defuns cfengine3-defuns-regex
15382 (cfengine3-class-selector-regex cfengine3-category-regex)
15383 (cfengine3-vartypes cfengine3-font-lock-keywords)
15384 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15385 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15386
36b148cf
MA
153872011-07-01 Michael Albinus <michael.albinus@gmx.de>
15388
15389 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15390
15391 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15392
0bf4ba9a
MR
153932011-07-01 Martin Rudalics <rudalics@gmx.at>
15394
15395 * window.el (same-window-buffer-names, same-window-regexps)
15396 (same-window-p, special-display-frame-alist)
15397 (special-display-popup-frame, special-display-function)
15398 (special-display-buffer-names, special-display-regexps)
15399 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15400 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15401 (split-window-preferred-function, split-height-threshold)
15402 (split-width-threshold, even-window-heights)
15403 (display-buffer-mark-dedicated, window-splittable-p)
15404 (split-window-sensibly, window-safely-shrinkable-p):
15405 Un-obsolete.
15406 (display-buffer): Don't spread args with function specifier
15407 because special-display-popup-frame won't like it.
15408
35837f51
PE
154092011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15410
d0672f86
PE
15411 Time-stamp simplifications and fixes.
15412 These improve accuracy slightly, and future-proof the code
15413 against some potential changes to current-time format.
15414
b9444d97
PE
15415 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15416 by using time-since and float-time.
15417
0ef923dc
PE
15418 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15419 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15420 + NNN microseconds".
15421
2f81380d
PE
15422 * type-break.el (type-break-time-sum): Rewrite using time-add.
15423
845b5c3e
PE
15424 * play/hanoi.el (hanoi-current-time-float): Remove.
15425 All uses replaced by float-time.
15426
ee6f1be0
PE
15427 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15428 This yields a more-accurate answer.
15429 (rng-time-to-float): Remove; no longer needed.
15430
fe955043
PE
15431 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15432
5777162a
PE
15433 * calendar/timeclock.el (timeclock-seconds-to-time):
15434 Defalias to seconds-to-time, since they're the same thing.
15435
3103f8b6 15436 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15437 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15438 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15439
0e61a35f
SM
154402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15441
15442 * window.el (bury-buffer): Don't iconify the only frame.
15443 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15444 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15445
ddd63a1e
CY
154462011-07-01 Chong Yidong <cyd@stupidchicken.com>
15447
0e61a35f
SM
15448 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15449 Add mouse-yank-primary.
ddd63a1e 15450
055f4923
TZ
154512011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15452
15453 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15454
6a2fb145
SM
154552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15456
15457 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15458 (find-library-name): Use it to find relative load names when provided
15459 absolute file name (bug#8803).
15460
fd4983f2
LMI
154612011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15462
887d14ad
LMI
15463 * textmodes/flyspell.el (flyspell-word): Consider words that
15464 differ only in case as potential doublons (bug#5687).
15465
c53dc7fc
LMI
15466 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15467 Remove two rather uninteresting debugging-like messages to make
15468 debbugs.el more silent.
15469
fd4983f2
LMI
15470 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15471 a password-like phrase.
15472
7a71b18d 154732011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15474
15475 * progmodes/cc-guess.el: New file.
15476
6a2fb145 15477 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15478
15479 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15480 derived from `c-basic-common-init'.
15481
15482 * progmodes/cc-mode.el (top-level): Require cc-guess.
15483 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15484
1fa280a3
LM
154852011-06-30 Lawrence Mitchell <wence@gmx.li>
15486
15487 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15488
e6597158
AM
154892011-06-30 Alan Mackenzie <acm@muc.de>
15490
1fa280a3
LM
15491 * progmodes/cc-engine.el (c-guess-continued-construct):
15492 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15493 lock is disabled. Name this case as "CASE G".
15494
68ba37fb
KM
154952011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15496
15497 * allout.el (allout-yank-processing): Fix injection of extra space
15498 between bullet and non-whitespace character in first topic when
15499 pasting, ensuring that the actual spacing in the pasted topic
15500 following the bullet char is preserved. This extra space was
15501 causing pasted encrypted topics to get a decrypted status even
15502 when the content was actually still encrypted. Now the decryption
15503 status from before the paste is preserved.
15504
15505 (allout-flag-region): Set all allout overlays so they evaporate
15506 when reduced to zero length (evanescent), to prevent overlay
15507 leakage.
15508
887a0b34
GM
155092011-06-30 Glenn Morris <rgm@gnu.org>
15510
94b9acce
GM
15511 * w32-fns.el (w32-charset-info-alist): Declare.
15512
1d9b46d4
GM
15513 * find-dired.el (find-grep-options): Simplify.
15514
cc232200
GM
15515 * term/ns-win.el (ns-set-resource): Declare.
15516
28e77c46
GM
15517 * ses.el (row, col): Declare dynamic variables honestly.
15518
887a0b34
GM
15519 * textmodes/reftex-parse.el (index-tags): Declare.
15520
658d8eb8
CY
155212011-06-30 Chong Yidong <cyd@stupidchicken.com>
15522
15523 * cus-edit.el (customize-push-and-save): New function.
15524
15525 * files.el (hack-local-variables-confirm): Use it.
15526
1fa280a3
LM
15527 * custom.el (load-theme): New arg NO-CONFIRM.
15528 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15529 (custom-enabled-themes): Doc fix.
15530
15531 * cus-theme.el (customize-create-theme)
15532 (custom-theme-merge-theme): Callers to load-theme changed.
15533
bb617717
LMI
155342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15535
d61bdd5d
LMI
15536 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15537 short URLs have at least one dot in them (bug #7614).
15538
bb617717
LMI
15539 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15540 nil, because using a pty is apparently too slow (bug #895).
15541
2f31f37a
LMI
155422011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15543
15544 * mail/sendmail.el (sendmail-query-once): New function.
15545 (sendmail-query-once-function): New variable.
15546
3076b24e
GM
155472011-06-29 Glenn Morris <rgm@gnu.org>
15548
faf2a174
GM
15549 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15550
3076b24e
GM
15551 * ses.el (top-level): Require cl when compiling.
15552 (ses-set-localvars): Fix error statement.
15553 Call it at compile time to silence a storm of warnings.
15554
5386012d
MR
155552011-06-29 Martin Rudalics <rudalics@gmx.at>
15556
15557 * window.el (normalize-live-buffer): Rename to
15558 window-normalize-buffer.
15559 (normalize-live-frame): Rename to window-normalize-frame.
15560 (normalize-any-window): Rename to window-normalize-any-window.
15561 (normalize-live-window): Rename to window-normalize-live-window.
15562 (make-window-atom): Rename to window-make-atom.
15563 (window-resize-reset): Rename to window--resize-reset.
15564 (window-resize-reset-1): Rename to window--resize-reset-1.
15565 (resize-mini-window): Rename to window--resize-mini-window.
15566 (resize-subwindows-skip-p): Rename to
15567 window--resize-subwindows-skip-p.
15568 (resize-subwindows-normal): Rename to
15569 window--resize-subwindows-normal.
15570 (resize-subwindows): Rename to window--resize-subwindows.
15571 (resize-other-windows): Rename to window--resize-siblings.
15572 (resize-this-window): Rename to window--resize-this-window.
15573 (resize-root-window): Rename to window--resize-root-window.
15574 (resize-root-window-vertically): Rename to
15575 window--resize-root-window-vertically.
15576 (normalize-buffer-to-display): Rename to
15577 window-normalize-buffer-to-display.
15578 (normalize-buffer-to-switch-to): Rename to
15579 window-normalize-buffer-to-switch-to.
15580 Correspondingly update all callers of the functions listed
15581 above.
15582 (display-buffer-alist, display-buffer-normalize-arguments)
15583 (display-buffer-normalize-options, display-buffer)
15584 (display-buffer-alist-set): Use "function" instead of
15585 "fun-with-args".
15586
1176868d
CY
155872011-06-28 Chong Yidong <cyd@stupidchicken.com>
15588
15589 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15590 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15591 debbugs.gnu.org. Mention acknowledgment email.
15592
20a7a65f
LMI
155932011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15594
15595 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15596 buffer multibyteness, since it shouldn't matter.
15597
5f45cca5
MR
155982011-06-28 Martin Rudalics <rudalics@gmx.at>
15599
15600 * window.el (display-buffer-in-side-window): Handle dedicated
15601 windows as in display-buffer-reuse-window.
15602 (display-buffer-normalize-alist): Use value of override
15603 specifier.
15604 (display-buffer-normalize-specifiers): Use value of
15605 other-window-means-other-frame specifier.
15606 (display-buffer-alist): Rewrite some texts in widgets.
15607 (display-buffer): Spread arguments when calling function
15608 specified by fun-with-args.
15609
ad85fe1f
DD
156102011-06-28 Deniz Dogan <deniz@dogan.se>
15611
1fa280a3
LM
15612 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15613 Unnest `let'.
da68c4c8 15614
ad85fe1f
DD
15615 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15616 selectors (Bug#5732).
ec49bd31 15617 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15618
a08cc025
JA
156192011-06-27 Jari Aalto <jari.aalto@cante.net>
15620
15621 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15622 (eshell-ls-date-format): New defcustom.
15623 (eshell-ls-file): Use it.
15624
e2b551c5
SM
156252011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15626
15627 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15628
8982b231
KY
156292011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15630
15631 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15632 (ange-ftp-make-tmp-name): New arg.
15633 (ange-ftp-file-local-copy): Use it.
15634
36c9fa27
J
156352011-06-27 Jambunathan K <kjambunathan@gmail.com>
15636
15637 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15638 no-conversion (Bug#8870).
15639
d68443dc
MR
156402011-06-27 Martin Rudalics <rudalics@gmx.at>
15641
15642 * window.el (window-right, window-left, window-child)
15643 (window-child-count, window-last-child)
15644 (window-iso-combination-p, walk-window-tree-1)
15645 (window-atom-check-1, window-tree-1, delete-window)
15646 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15647 new naming conventions - window-vchild, window-hchild,
15648 window-next and window-prev are now called window-top-child,
15649 window-left-child, window-next-sibling and window-prev-sibling
15650 respectively.
d615d6d2
MR
15651 (resize-window-reset): Rename to window-resize-reset.
15652 (resize-window-reset-1): Rename to window-resize-reset-1.
15653 (resize-window): Rename to window-resize.
15654 (window-min-height, window-min-width)
15655 (resize-mini-window, resize-this-window, resize-root-window)
15656 (resize-root-window-vertically, adjust-window-trailing-edge)
15657 (enlarge-window, shrink-window, maximize-window)
15658 (minimize-window, delete-window, quit-restore-window)
15659 (split-window, balance-windows, balance-windows-area-adjust)
15660 (balance-windows-area, window-state-put-2)
15661 (display-buffer-even-window-sizes, display-buffer-set-height)
15662 (display-buffer-set-width, set-window-text-height)
15663 (fit-window-to-buffer): Rename all "resize-window" prefixed
15664 calls to use the "window-resize" prefix convention.
15665 (display-buffer-alist): Fix symbol for label specifier.
15666 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15667 corresponding specifier.
15668 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15669
b6458526
VB
156702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15671
15672 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15673 convention.
15674 (ses-call-printer): Does not pass an empty string to formatter when the
15675 cell is empty to keep from barking printer Calc math-format-value.
15676
d31fd9ac
RS
156772011-06-27 Richard Stallman <rms@gnu.org>
15678
43d5bf84
RS
15679 * battery.el (battery-mode-line-limit): New variable.
15680 (battery-update): Handle it.
15681
d31fd9ac
RS
15682 * mail/rmailmm.el (rmail-mime-process-multipart):
15683 Handle truncated messages.
15684
819a6054
GM
156852011-06-27 Glenn Morris <rgm@gnu.org>
15686
15687 * progmodes/flymake.el (flymake-err-line-patterns):
15688 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15689
cedc73f2
VB
156902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15691
819a6054 15692 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15693 (ses--clean-!, ses--clean-_): New functions.
15694 (ses-range): Add configurability of readout order, and conversion
15695 to Calc vector.
15696
5e5d49b6
VB
15697 * ses.el (ses-repair-cell-reference-all): New function.
15698 (ses-cell-symbol): Set macro as safe, so that it can be used in
15699 formulas.
15700
56e6cc31 15701 * ses.el: Update cycle detection algorithm.
90ca8b49 15702 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15703 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15704 (ses-set-localvars): New function.
15705 (ses-make-cell): Add property-list as a cell element.
15706 (ses-cell-property-get-fun, ses-cell-property-get)
15707 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15708 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15709 New functions.
90ca8b49
VB
15710 (ses-cell-property-set, ses-cell-property-pop)
15711 (ses-cell-property-get-handle): New macro.
15712 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15713 New aliases, used for code readability.
15714 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15715 cycle detection.
15716 (ses-self-reference-early-detection): New defcustom.
fac916bf 15717 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15718 (ses-mode): Use ses-set-localvars.
15719 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15720 before lauching the update processing.
15721 (ses-initialize-Dijkstra-attempt): New function.
15722 (ses-recalculate-cell): Update for cycle detection based on
15723 Dijkstra algorithm.
15724
2bb63e81
VB
15725 * ses.el: Fix commenting and indenting convention.
15726
c9d29fb8
SM
157272011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15728
15729 * bs.el (bs-cycle-next): Complete last change.
15730
d8e4b68b
JB
157312011-06-27 Drew Adams <drew.adams@oracle.com>
15732
15733 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15734
40098786
LMI
157352011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15736
c9d29fb8
SM
15737 * net/network-stream.el (network-stream-open-starttls):
15738 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15739 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15740
40098786
LMI
15741 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15742 to binary to possibly avoid line encoding issues on Windows (among
15743 other things).
15744
468d09d4
LMI
157452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15746
15747 * net/network-stream.el (open-network-stream): Return an :error
15748 saying what the problem was, if possible.
15749
15750 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15751 server.
15752
15753 * net/network-stream.el (network-stream-open-starttls): If we
15754 wanted to use STARTTLS, and the server offered it, but we weren't
15755 able to because we had no STARTTLS support, then close the connection.
15756 (open-network-stream): Return an :error element, if present.
15757
16f07dd7
CY
157582011-06-26 Chong Yidong <cyd@stupidchicken.com>
15759
88821ca0
CY
15760 * hl-line.el (hl-line-sticky-flag): Doc fix.
15761 (global-hl-line-sticky-flag): New option (Bug#8323).
15762 (global-hl-line-highlight): Obey it.
15763
16f07dd7
CY
15764 * vc/vc.el (vc-revert-show-diff): Default to t.
15765
6b5ccddf
KM
157662011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15767
c9d29fb8
SM
15768 * allout-widgets.el (allout-widgets-post-command-business):
15769 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15770 undecorated when an isearch is continued past, and isearch
15771 automatically collapses them. This leads to "widget leaks", where
15772 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15773 hidden widgets can slow down cursor travel, substantially.
15774 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15775 so we're doing without this nicety.
15776
15777 (allout-widgets-tally-string): Don't try to do a hash-table-count
15778 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15779 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15780 *Messages* when allout-widgets-maintain-tally is t.
15781
355f2e07
MR
157822011-06-26 Martin Rudalics <rudalics@gmx.at>
15783
15784 * window.el (display-buffer-normalize-argument): Rename to
15785 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15786 LABEL argument. Respect special-display-function when popping up
15787 a new frame. Fix code searching for a window showing the buffer
15788 on another frame.
c9d29fb8
SM
15789 (display-buffer-normalize-specifiers):
15790 Call display-buffer-normalize-arguments.
355f2e07
MR
15791 (display-buffer-in-window): Don't undedicate the window if its
15792 buffer remains the same.
15793 Reported by Drew Adams <drew.adams@oracle.com>.
15794 (display-buffer-alist): Add choice for same-window macro
15795 specfier.
15796 (display-buffer): Mention special meaning of LABEL argument in
15797 doc-string. Fix quoting. Don't pop up a new frame even as
15798 fallback.
15799
7ca8fc42
JB
158002011-06-26 Juanma Barranquero <lekktu@gmail.com>
15801
15802 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15803 avoid deleting the current window in some cases (bug#8911).
15804
bc312254
AS
158052011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15806
15807 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15808 (Bug#8934)
15809
2db18f3f
LMI
158102011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15811
c9d29fb8
SM
15812 * net/network-stream.el (network-stream-open-starttls):
15813 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15814 (network-stream-open-tls): Ditto.
15815
6302e0d3
LL
158162011-06-26 Leo Liu <sdl.web@gmail.com>
15817
15818 * register.el (registerv): New struct.
15819 (registerv-make): New function.
c9d29fb8
SM
15820 (jump-to-register, describe-register-1, insert-register):
15821 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15822 struct. (Bug#8415)
15823
5fdd4046
CY
158242011-06-26 Chong Yidong <cyd@stupidchicken.com>
15825
2afef60a
CY
15826 * vc/vc.el (vc-revert-show-diff): New defcustom.
15827 (vc-diff-internal): New arg specifying diff buffer.
15828 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15829 reuse an existing *vc-diff* buffer (Bug#8927).
15830
5fdd4046
CY
15831 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15832
e93db24a
GM
158332011-06-26 Glenn Morris <rgm@gnu.org>
15834
15835 * progmodes/f90.el (f90-critical-indent): New option.
15836 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15837 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15838 (f90-mode): Doc fix.
15839 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15840 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15841 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15842 (f90-match-end): Handle block, critical.
15843
eefff499
GM
158442011-06-25 Glenn Morris <rgm@gnu.org>
15845
f6ba4cc9
GM
15846 * calendar/diary-lib.el (diary-included-files): Doc fix.
15847 (diary-include-files): New function, extracted from
15848 diary-include-other-diary-files and diary-mark-included-diary-files.
15849 (diary-include-other-diary-files, diary-mark-included-diary-files):
15850 Just call diary-include-files.
15851 (diary-mark-entries): Reset diary-included-files on first call.
15852
16712304
GM
15853 * calendar/diary-lib.el (diary-mark-entries)
15854 (diary-mark-included-diary-files):
15855 Visit included diary-files in temp buffers.
15856
5d8e0d43
GM
15857 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15858 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15859 (f90-start-block-re, f90-imenu-generic-expression)
15860 (f90-looking-at-program-block-start, f90-no-block-limit):
15861 Add support for submodules.
15862
ccf7a5d5
GM
15863 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15864 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15865
11fdef7d 158662011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15867
15868 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15869 buffer-file-type before setting its value, to avoid disastrous
eefff499 15870 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15871
74f53697
JB
158722011-06-25 Juanma Barranquero <lekktu@gmail.com>
15873
15874 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15875
15876 * ses.el (ses-unload-function):
15877 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15878
15879 * proced.el (proced-unload-function):
15880 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15881
18a4ce5e
AR
158822011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15883
15884 * server.el (server-create-window-system-frame): Add parameters arg.
15885 (server-process-filter): Doc fix. Handle frame-parameters.
15886
519d22cc
JB
158872011-06-25 Juanma Barranquero <lekktu@gmail.com>
15888
15889 Fix bug#8730, bug#8781.
15890
15891 * loadhist.el (unload--set-major-mode): New function.
15892 (unload-feature): Use it.
15893
15894 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15895 (python-unload-function): New function.
15896
c206f5b0
SM
158972011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15898
15899 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15900
f9ad64f3
GS
159012011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15902
15903 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15904 the candidates list.
15905
7d0da90e
JB
159062011-06-24 Juanma Barranquero <lekktu@gmail.com>
15907
15908 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15909
14b4e83d
RS
159102011-06-23 Richard Stallman <rms@gnu.org>
15911
15912 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15913 (rmail-variables): Set next-error-move-function.
15914 (rmail-what-message): Take argument POS.
15915 (rmail-next-error-move): New function.
15916
273d2baf
SM
159172011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15918
15919 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15920 messages for adjacent non-terminals.
15921
56c2cc9a
RS
159222011-06-23 Richard Stallman <rms@gnu.org>
15923
15924 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15925 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15926 (rmail-start-mail): Don't specify use of rmail-mail-return;
15927 that's done by mail-bury now.
15928 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15929
d59eb518
MA
159302011-06-23 Michael Albinus <michael.albinus@gmx.de>
15931
15932 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15933 SIZE is a number.
15934
02cfc6d6
MR
159352011-06-23 Martin Rudalics <rudalics@gmx.at>
15936
15937 * window.el (get-lru-window, get-mru-window)
15938 (get-largest-window): Never return a minibuffer window.
15939 (display-buffer-pop-up-window): Fix a bug that could lead to
15940 reusing the minibuffer window.
15941 (display-buffer): Pass original specifier argument to
15942 display-buffer-function instead of the normalized one.
15943 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15944
4e323265
LL
159452011-06-22 Leo Liu <sdl.web@gmail.com>
15946
15947 * minibuffer.el (completing-read-function)
15948 (completing-read-default): Move from minibuf.c
15949
7a70468f
RS
159502011-06-22 Richard Stallman <rms@gnu.org>
15951
50718fc2
RS
15952 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15953 to Rmail even if not started by a special Rmail command.
15954
7a70468f
RS
15955 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15956 Copy the buffer currently showing just one message.
15957
297dde5a
RW
159582011-06-22 Roland Winkler <winkler@gnu.org>
15959
15960 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15961 (bibtex-clean-entry): First delete the old key so that a
15962 customized algorithm for generating the new key does not get
15963 confused by the old key.
15964 (bibtex-url): Obey regexp of first step.
15965 (bibtex-search-entries): Do not use add-to-list with local
15966 list-var.
15967
97bb1093
LMI
159682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15969
15970 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15971 stored a user name, then query for the password first, instead of
15972 waiting for SMTP to give an error message and the trying again.
15973
1c0f1a19
JD
159742011-06-22 Lawrence Mitchell <wence@gmx.li>
15975
15976 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15977 BUFFER in call-process.
15978
396f7c9d
LMI
159792011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15980
15981 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15982 QUIT twice.
ddb7ffee
LMI
15983 (smtpmail-try-auth-methods): Require user name and password from
15984 auth-source.
396f7c9d 15985
8998d1b3
MR
159862011-06-22 Martin Rudalics <rudalics@gmx.at>
15987
15988 * window.el (display-buffer-default-specifiers)
15989 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15990 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15991 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15992
15993 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15994 (special-display-frame-alist, special-display-popup-frame):
15995 Remove duplicate declarations. These are now in window.el.
15996
4ea31e07
LMI
159972011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15998
c9d29fb8
SM
15999 * mail/smtpmail.el (smtpmail-via-smtp):
16000 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16001 server supports it. SMTP servers that support STARTTLS commonly
16002 require it.
16003
16004 * net/network-stream.el (network-stream-open-starttls): Support
16005 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16006 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16007
95f41d9a
LMI
16008 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16009 upgrades with `open-network-stream', and rely solely on
16010 auth-source for all credentials. Big changes throughout the file,
16011 but in particular:
c9d29fb8
SM
16012 (smtpmail-auth-credentials): Remove.
16013 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16014 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16015 MAIL FROM, too.
95f41d9a 16016
c9d29fb8
SM
16017 * net/network-stream.el (network-stream-open-starttls):
16018 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16019 STARTTLS.
16020 (auth-source): Require.
16021 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16022 (network-stream-certificate): Change cert-cert to cert and
16023 cert-key to key.
4ea31e07 16024
065ec2c7
MA
160252011-06-21 Michael Albinus <michael.albinus@gmx.de>
16026
16027 * net/tramp-cache.el (top): Don't load the persistency file when
16028 "emacs -Q" has been called.
16029
cd93b359
DR
160302011-06-21 Tim Harper <timcharper@gmail.com>
16031
d8e4b68b
JB
16032 * term/ns-win.el (ns-initialize-window-system):
16033 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16034 resource to NO as it is not yet supported by the NS port.
16035
ae9c0411
JB
160362011-06-21 Juanma Barranquero <lekktu@gmail.com>
16037
16038 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16039 (list-dynamic-libraries): ...not here.
16040
7f3f739f
LL
160412011-06-21 Leo Liu <sdl.web@gmail.com>
16042
16043 * subr.el (sha1): Implement sha1 using secure-hash.
16044
327c8fb1
MR
160452011-06-21 Martin Rudalics <rudalics@gmx.at>
16046
16047 * window.el (display-buffer-alist): In default value do not
16048 enforce searching a window on any but the selected frame.
16049 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16050 (display-buffer-select-window): Remove function.
16051 (display-buffer-in-window): When a window on another frame gets
16052 reused, do not select it any more but just raise its frame if
16053 necessary (Bug#8851) and (Bug#8856).
16054 (display-buffer-normalize-options): Handle pop-up-frames related
16055 options more faithfully.
16056 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16057 window if it is on another frame.
c9d29fb8
SM
16058 (display-buffer-alist, display-buffer-default-specifiers):
16059 Don't make new frame unsplittable by default.
9e9de014
MR
16060 (display-buffer-normalize-argument): Fix doc-string typo and use
16061 'same-frame-other-window instead of 'other-window when associating
16062 with display-buffer-macro-specifiers.
327c8fb1 16063
7cf3f556
VB
160642011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16065
16066 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16067 New functions.
16068 (5x5-mode-map, 5x5-mode-menu): Bind them.
16069 (5x5-draw-grid): Tweak the solver's rendering.
16070
60a406cf
SM
160712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16072
16073 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16074 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16075
d8e4b68b 160762011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16077
16078 * menu-bar.el: Use function variable instead of switch-to-buffer.
16079 (menu-bar-select-buffer-function): New variable.
60a406cf 16080 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16081
478d6f95
SM
160822011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16083
16084 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16085 variable's status.
16086
ca530739
JD
160872011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16088
16089 * x-dnd.el (x-dnd-version-from-flags)
16090 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16091 and long as number (Bug#8899).
16092 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16093
bcd70d97
SM
160942011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16095
60a406cf 16096 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16097 (completion-try-completion, completion-all-completions): Compute the
16098 metadata argument if it's missing; make it optional (bug#8795).
16099
60a406cf 16100 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16101 (widget-complete): Use new :completion-function property.
16102 (widget-completions-at-point): New function.
16103 (default): Use :completion-function instead of :complete.
60a406cf
SM
16104 (widget-default-completions): Rename from widget-default-complete;
16105 Rewrite.
bcd70d97
SM
16106 (widget-string-complete, widget-file-complete, widget-color-complete):
16107 Remove functions.
16108 (file, symbol, function, variable, coding-system, color):
16109 * international/mule-cmds.el (default-input-method, charset)
16110 (language-info-custom-alist):
16111 * cus-edit.el (face): Use new property :completions.
16112
16113 * progmodes/pascal.el (pascal-completions-at-point): New function.
16114 (pascal-mode): Use it.
16115 (pascal-mode-map): Use completion-at-point.
16116 (pascal-toggle-completions): Make obsolete.
16117 (pascal-complete-word, pascal-show-completions):
16118 * progmodes/octave-mod.el (octave-complete-symbol):
16119 Redefine as obsolete alias.
16120 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16121 Signal absence of completion info for old Octave,
16122 (inferior-octave-complete): Redefine as obsolete alias.
16123 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16124 (meta-completions-at-point): Rename from meta-complete-symbol and
16125 adapt it for use on completion-at-point-functions.
16126 (meta-common-mode): Use it.
16127 (meta-looking-at-backward, meta-match-buffer): Remove.
16128 (meta-complete-symbol): Redefine as obsolete alias.
16129 (meta-common-mode-map): Use completion-at-point.
16130 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16131 (makefile-mode-map): Use completion-at-point.
16132 (makefile-completions-at-point): Rename from makefile-complete and
16133 adapt it for use on completion-at-point-functions.
16134 (makefile-mode): Use it.
16135 (makefile-complete): Redefine as obsolete alias.
16136
aebf69c8
DD
161372011-06-20 Deniz Dogan <deniz@dogan.se>
16138
16139 * net/rcirc.el: Delete trailing whitespaces once and for all.
16140
bfbbb27d
DC
161412011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16142
16143 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16144
d264a46b
CY
161452011-06-19 Chong Yidong <cyd@stupidchicken.com>
16146
4ca009e5
CY
16147 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16148
d264a46b
CY
16149 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16150
fbf5b3ce
MR
161512011-06-19 Martin Rudalics <rudalics@gmx.at>
16152
16153 * window.el (display-buffer-other-window-means-other-frame):
16154 Call display-buffer-normalize-alist.
16155 (display-buffer-normalize-specifiers-1): Rename to
16156 display-buffer-normalize-argument. New argument other-frame.
16157 Rewrite.
16158 (display-buffer-normalize-specifiers-2): Rename to
16159 display-buffer-normalize-options.
16160 (display-buffer-normalize-alist-1): New function.
16161 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16162 display-buffer-normalize-alist.
16163 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16164 (display-buffer-normalize-options-inhibit): New variable.
16165 (display-buffer-normalize-specifiers): Rewrite calling
16166 display-buffer-normalize-alist,
16167 display-buffer-normalize-argument, and
16168 display-buffer-normalize-options. Don't call the latter if
16169 display-buffer-normalize-options-inhibit is non-nil.
16170 (frame-auto-delete): New option.
16171 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16172 (window-list-no-nils, window-state-ignored-parameters)
16173 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16174 (window-state-put-1, window-state-put-2, window-state-put):
16175 New functions.
9a028c23
MR
16176 (display-buffer-normalize-options): Move special-display-p group
16177 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16178
6d10d800
CY
161792011-06-18 Chong Yidong <cyd@stupidchicken.com>
16180
6420d28b
CY
16181 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16182 groups (Bug#8776).
16183 (rx-submatch-n): New function.
16184 (rx): Document it.
16185
ddb8b596
CY
16186 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16187 (Bug#8768).
16188
16189 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16190
77080289
CY
16191 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16192
61dfb316
CY
16193 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16194 anytime existing face settings are present (Bug#8889).
16195
6d10d800
CY
16196 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16197 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16198 Remove unused argument.
16199
be3fb2b8
MR
162002011-06-18 Martin Rudalics <rudalics@gmx.at>
16201
bcd70d97
SM
16202 * window.el (display-buffer-default-specifiers):
16203 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16204 pop-up-window-min-width, and another reuse-window specifier
16205 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16206 (display-buffer-normalize-specifiers-2):
16207 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16208 pop-up-windows is unset. Add a reuse-window specifier for the
16209 case popping up a new window fails.
16210 (special-display-popup-frame): Remove double quoting.
28dec25a 16211 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16212
1c6d8c76
SM
162132011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16214
16215 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16216 according to comint-completion-addsuffix.
16217
16218 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16219 (pcomplete-suffix-list): Mark as obsolete.
16220 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16221 pcomplete-seen in the closure.
16222 (pcomplete-comint-setup): Setup completion-at-point as well.
16223 (pcomplete--entries): New function.
16224 (pcomplete--env-regexp): New var.
16225 (pcomplete-entries): Rewrite to work with partial-completion and
16226 without relying on pcomplete-suffix-list.
16227 (pcomplete-pare-list): Remove, unused.
16228
25aef8b8
MR
162292011-06-17 Martin Rudalics <rudalics@gmx.at>
16230
16231 * window.el (display-buffer-alist): Set pop-up-window-min-height
16232 and pop-up-window-min-width in default value. Reported by
16233 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16234 other-window-means-other-frame.
16235 (display-buffer-macro-specifiers): Comment out entry for
16236 other-window specifier.
16237 (display-buffer-other-window-means-other-frame): New function.
16238 (display-buffer-normalize-specifiers-1): New arguments
16239 buffer-name and label. Treat other-window case specially.
16240 (display-buffer-normalize-specifiers-2): Treat other-window case
16241 specially.
16242 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16243 (display-buffer-normalize-specifiers):
16244 Call display-buffer-normalize-specifiers-3.
25aef8b8 16245
dbad4f69
MR
162462011-06-17 Martin Rudalics <rudalics@gmx.at>
16247
16248 * window.el (same-window-p): Fix two typos introduced when
16249 adding with-no-warnings.
d1067961
MR
16250 (display-buffer-normalize-specifiers-1): Don't check
16251 pop-up-frames for 'unset initialization.
16252 (display-buffer-normalize-specifiers-2): Major rewrite using
16253 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16254 (pop-up-frames, display-buffer-reuse-frames)
16255 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16256 Suggested by David Engster <deng@randomsample.de>.
16257 (even-window-heights): Initialize to 'unset.
16258 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16259 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16260 other window case.
dbad4f69 16261
9b9c9e3a
MR
162622011-06-16 Martin Rudalics <rudalics@gmx.at>
16263
bcd70d97
SM
16264 * window.el (display-buffer-normalize-specifiers-1):
16265 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16266 second argument of display-buffer (Bug#8865).
981d5c09
MR
16267 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16268 (switch-to-buffer-other-window-same-frame)
16269 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16270 Adams (Bug#8875).
9c2755e9
MR
16271 (display-buffer): Don't check noninteractive when calling
16272 display-buffer-pop-up-frame.
16273 (display-buffer-pop-up-frame): Never pop up a frame in
16274 noninteractive mode (Bug#8857).
67222e1d
MR
16275 (enlarge-window, shrink-window): Don't report an error when the
16276 window can't be resized as requested (Bug#8862).
9b9c9e3a 16277
2b75be67
SM
162782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16279
9ffdd3ba
SM
16280 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16281
cb581a67
SM
16282 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16283
2b75be67
SM
16284 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16285
8c0e3589
AM
162862011-06-15 Alan Mackenzie <acm@muc.de>
16287
cb581a67
SM
16288 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16289 for declarators, disable knr checking to speed up for normal files.
16290 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16291
b96e6cde
LMI
162922011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16293
4bba86e6
LMI
16294 * net/network-stream.el (open-network-stream): Add the keyword
16295 :always-query-capabilities for the case where you want to force a
16296 `plain' network connection, but the protocol still requires the
16297 capabilitiy command (i.e., SMTP and EHLO).
16298
2b75be67 16299 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16300 consistency with other `-live-p' functions.
16301
efdcdbf8
SM
163022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16303
16304 * window.el (same-window-buffer-names, same-window-regexps)
16305 (special-display-frame-alist, special-display-popup-frame)
16306 (special-display-function, special-display-buffer-names)
16307 (special-display-regexps, pop-up-frame-alist)
16308 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16309 (pop-up-windows, split-window-preferred-function)
16310 (split-height-threshold, split-width-threshold, even-window-heights)
16311 (display-buffer-mark-dedicated): Don't encourage the use of
16312 display-buffer-alist from Elisp code.
16313
c5cde042
DN
163142011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16315
16316 * progmodes/python.el (python-mode): Derive from prog-mode.
16317 * progmodes/ps-mode.el (ps-mode):
16318 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16319 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16320 * progmodes/ld-script.el (ld-script-mode): Likewise.
16321
baa1c9ab
MR
163222011-06-15 Martin Rudalics <rudalics@gmx.at>
16323
16324 * window.el (display-buffer-alist): Trim default value to avoid
16325 popping up a new frame (Bug#8857) or reusing an arbitrary window
16326 on another frame.
16327 (display-buffer): Do not fall back on popping up a new frame in
16328 batch mode (Bug#8857).
16329
c5dd5a51
CY
163302011-06-14 Chong Yidong <cyd@stupidchicken.com>
16331
16332 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16333 (custom-theme-summary): New function.
16334 (customize-themes): Use it.
16335
d647b7c4
GM
163362011-06-13 Glenn Morris <rgm@gnu.org>
16337
16338 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16339
9481c002
MR
163402011-06-13 Martin Rudalics <rudalics@gmx.at>
16341
357f93d2
MR
16342 * help.el (help-window): Remove variable.
16343 (help-window-point-marker, temp-buffer-max-height)
16344 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16345 (help-print-return-message): Don't set help-window.
16346 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16347 (help-window-setup-finish): Remove.
16348 (help-window-display-message, help-window-setup)
16349 (with-help-window): Major rewrite based on new
16350 display-buffer-window variable.
16351
16352 * help-mode.el (help-mode-finish): Remove help-window related
16353 code.
16354
16355 * view.el (view-exits-all-viewing-windows): Remove reference to
16356 view-return-to-alist in doc-string.
16357 (view-return-to-alist): Make obsolete.
16358 (view-buffer): Call pop-to-buffer-same-window and remove
16359 undo-window code.
16360 (view-buffer-other-window): Call pop-to-buffer-other-window and
16361 simplify code. Ignore second argument.
16362 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16363 simplify code. Ignore second argument.
16364 (view-return-to-alist-update): Make obsolete.
16365 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16366 Rewrite using quit-restore window parameters.
2b75be67
SM
16367 (view-mode-exit): Rename second argument to EXIT-ONLY.
16368 Rewrite using quit-restore-window.
357f93d2
MR
16369 (View-exit, View-exit-and-edit, View-leave, View-quit)
16370 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16371 appropriate arguments.
16372 (view-end-message): Use quit-restore window parameter.
16373
9481c002
MR
16374 * window.el (display-buffer-function): Rewrite doc-string.
16375 (display-buffer-window, display-buffer-alist): New variables.
16376 (display-buffer-split-specifiers)
16377 (display-buffer-side-specifiers)
16378 (display-buffer-macro-specifiers): New constants.
16379 (display-buffer-even-window-sizes, display-buffer-set-height)
16380 (display-buffer-set-width, display-buffer-select-window)
16381 (display-buffer-in-window, display-buffer-reuse-window)
16382 (display-buffer-split-window-1, display-buffer-split-window)
16383 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16384 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16385 (display-buffer-in-side-window, normalize-buffer-to-display)
16386 (display-buffer-normalize-specifiers-1)
16387 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16388 (display-buffer-normalize-specifiers, display-buffer-frame):
16389 New functions.
9481c002
MR
16390 (display-buffer): Major rewrite.
16391 (display-buffer-other-window, display-buffer-other-frame)
16392 (pop-to-buffer, switch-to-buffer-other-window)
16393 (switch-to-buffer-other-frame): Rewrite.
16394 (display-buffer-same-window, display-buffer-same-frame)
16395 (display-buffer-same-frame-other-window)
16396 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16397 (pop-to-buffer-other-window)
16398 (pop-to-buffer-same-frame-other-window)
16399 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16400 (switch-to-buffer-other-window-same-frame): New functions.
16401 (same-window-p, special-display-p): Rewrite disabling warnings.
16402 Make obsolete.
16403 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16404 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16405 Make obsolete
16406 (same-window-buffer-names, same-window-regexps)
16407 (special-display-frame-alist, special-display-popup-frame)
16408 (special-display-function, special-display-buffer-names)
16409 (special-display-regexps, pop-up-frame-alist)
16410 (pop-up-frame-function, split-window-preferred-function)
16411 (split-height-threshold, split-width-threshold)
16412 (even-window-heights): Make obsolete.
16413
9db51aca
GM
164142011-06-12 Glenn Morris <rgm@gnu.org>
16415
16416 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16417 Misc simplifications.
9db51aca 16418
39cffb44
MR
164192011-06-12 Martin Rudalics <rudalics@gmx.at>
16420
16421 * window.el (window-safely-shrinkable-p): Restore function which
16422 was inadvertently removed in change from 2011-06-11. Declare as
16423 obsolete.
16424
2b75be67
SM
16425 * calendar/calendar.el (calendar-generate-window):
16426 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16427 window-safely-shrinkable-p.
16428
a8955be7
GM
164292011-06-12 Glenn Morris <rgm@gnu.org>
16430
16431 * progmodes/fortran.el (fortran-mode-syntax-table):
16432 * progmodes/f90.el (f90-mode-syntax-table):
16433 Set % to punctuation. (Bug#8820)
16434 (f90-find-tag-default): Remove, no longer needed.
16435
f0d4059d
DC
164362011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16437
16438 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16439
1100a63c
CY
164402011-06-11 Chong Yidong <cyd@stupidchicken.com>
16441
16442 * image.el (image-animated-p): Return animation delay in seconds.
16443 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16444 (image-animate-timeout): Remove DELAY argument. Don't assume
16445 every subimage has the same delay; get it from image-animated-p.
16446 (image-animate): Caller changed.
16447
def722bf
MA
164482011-06-11 Michael Albinus <michael.albinus@gmx.de>
16449
16450 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16451 to ignored backtrace functions.
16452
0a2bb1a9
GM
164532011-06-11 Glenn Morris <rgm@gnu.org>
16454
16455 * calendar/appt.el (appt-disp-window-function): Doc fix.
16456 (appt-check): Handle overlapping appointments. (Bug#8337)
16457
6198ccd0
MR
164582011-06-11 Martin Rudalics <rudalics@gmx.at>
16459
16460 * window.el (window-tree-1, window-tree): New functions, moving
16461 the latter to window.el.
16462 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16463 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16464 (bw-refresh-edges): Remove.
16465 (balance-windows-1, balance-windows-2): New functions.
16466 (balance-windows): Rewrite in terms of window tree functions,
16467 balance-windows-1 and balance-windows-2.
16468 (bw-adjust-window): Remove.
16469 (balance-windows-area-adjust): New function with functionality of
16470 bw-adjust-window but using resize-window.
2b75be67
SM
16471 (set-window-text-height): Rewrite doc-string.
16472 Use normalize-live-window and resize-window.
16473 (enlarge-window-horizontally, shrink-window-horizontally):
16474 Rename argument to DELTA.
6198ccd0
MR
16475 (window-buffer-height): New function.
16476 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16477 Rewrite using new window resize routines.
2b75be67
SM
16478 (kill-buffer-and-window, mouse-autoselect-window-select):
16479 Use ignore-errors instead of condition-case.
6198ccd0
MR
16480 (quit-window): Call delete-frame instead of delete-windows-on
16481 for the only buffer on frame.
16482
9397e56f
MR
164832011-06-10 Martin Rudalics <rudalics@gmx.at>
16484
16485 * loadup.el (top-level): Load window before files for the sake
16486 of replace-buffer-in-windows.
16487
16488 * files.el (read-buffer-to-switch)
16489 (switch-to-buffer-other-window)
2b75be67
SM
16490 (switch-to-buffer-other-frame, display-buffer-other-frame):
16491 Move to window.el.
9397e56f
MR
16492
16493 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16494 (previous-buffer): Move to window.el.
16495
16496 * bindings.el (unbury-buffer): Move to window.el.
16497
16498 * window.el (delete-other-windows-vertically): Move after
16499 definition of delete-other-windows.
16500 (other-window, delete-windows-on, replace-buffer-in-windows):
16501 Move here from window.c.
16502 (record-window-buffer, unrecord-window-buffer)
16503 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16504 (switch-to-next-buffer): New functions.
16505 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16506 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16507 (previous-buffer): Move here from simple.el.
16508 Call switch-to-prev-buffer.
9397e56f
MR
16509 (bury-buffer): Move here from buffer.c. Switch to previous
16510 buffer when window cannot be deleted.
16511 (unbury-buffer): Move here from bindings.el.
16512 (ctl-x-map): Move binding for other-window from window.c to
16513 here.
16514 (read-buffer-to-switch, switch-to-buffer-other-window)
16515 (switch-to-buffer-other-frame): Move here from files.el.
16516 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16517 (switch-to-buffer): Move here from buffer.c.
16518 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16519
562dd5e9
MR
165202011-06-10 Martin Rudalics <rudalics@gmx.at>
16521
16522 * window.el (window-min-height, window-min-width): Move here
16523 from window.c. Add defcustoms and rewrite doc-strings.
16524 (resize-mini-window, resize-window): New functions.
16525 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16526 Move here from window.c.
16527 (maximize-window, minimize-window): New functions.
16528 (delete-window, delete-other-windows, split-window): Move here
16529 from window.c.
16530 (window-split-min-size): New function.
16531 (split-window-keep-point): Mention split-window-above-each-other
16532 instead of split-window-vertically.
2b75be67 16533 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16534 Rename split-window-vertically to split-window-above-each-other
16535 and provide defalias for old definition.
16536 (split-window-side-by-side, split-window-horizontally):
16537 Rename split-window-horizontally to split-window-side-by-side
16538 and provide defalias for the old definition.
562dd5e9
MR
16539 (ctl-x-map): Move bindings for delete-window,
16540 delete-other-windows and enlarge-window here from window.c.
16541 Replace bindings for split-window-vertically and
16542 split-window-horizontally by bindings for
16543 split-window-above-each-other and split-window-side-by-side.
16544
16545 * cus-start.el (all): Remove entries for window-min-height and
16546 window-min-width. Add entries for window-splits and
16547 window-nest.
16548
f0da764a
GM
165492011-06-09 Glenn Morris <rgm@gnu.org>
16550
80675c21
GM
16551 * calendar/appt.el (appt-mode-line): New function.
16552 (appt-check, appt-disp-window): Use it.
16553
f0da764a
GM
16554 * files.el (hack-one-local-variable-eval-safep):
16555 Allow minor-modes with explicit +/-1 arguments.
16556
59f623b7
TZ
165572011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16558
16559 * term/xterm.el (xterm): Add defgroup.
16560 (xterm-extra-capabilities): Add defcustom to supply known xterm
16561 capabilities, skip querying them, or query them (default).
16562 (terminal-init-xterm): Use it.
16563 (terminal-init-xterm-modify-other-keys): New function to set up
16564 modifyOtherKeys support to simplify `terminal-init-xterm'.
16565
9aab8e0d
MR
165662011-06-09 Martin Rudalics <rudalics@gmx.at>
16567
16568 * window.el (resize-window-reset, resize-window-reset-1)
16569 (resize-subwindows-skip-p, resize-subwindows-normal)
16570 (resize-subwindows, resize-other-windows, resize-this-window)
16571 (resize-root-window, resize-root-window-vertically)
16572 (window-deletable-p, window-or-subwindow-p)
16573 (frame-root-window-p): New functions.
16574
e8b08aee
GM
165752011-06-09 Glenn Morris <rgm@gnu.org>
16576
16577 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16578 (ange-ftp-get-files): Use it.
16579
254c37a5
AK
165802011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16581
16582 * mail/sendmail.el (mail-recover-1, mail-recover):
16583 * files.el (recover-file, recover-session):
16584 Handle dired-listing-switches not being just a single short option.
16585
35d7dbd3
GM
165862011-06-09 Glenn Morris <rgm@gnu.org>
16587
16588 * calendar/appt.el (appt-display-message, appt-disp-window):
16589 Handle lists of appointments.
16590
387522b2
MR
165912011-06-08 Martin Rudalics <rudalics@gmx.at>
16592
2b75be67
SM
16593 * window.el (one-window-p): Move down in code.
16594 Rewrite doc-string.
16595 (window-current-scroll-bars): Rewrite doc-string.
16596 Normalize live window argument.
387522b2
MR
16597 (walk-windows, get-window-with-predicate, count-windows):
16598 Rewrite doc-string. Use window-list-1.
16599 (window-in-direction-2, window-in-direction, get-mru-window):
16600 New functions.
16601
d8e4b68b 166022011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16603
16604 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16605 Doc fix (Bug#8713).
16606
166072011-06-08 Chong Yidong <cyd@stupidchicken.com>
16608
16609 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16610
166112011-06-08 Juanma Barranquero <lekktu@gmail.com>
16612
16613 * loadhist.el (unload-feature-special-hooks):
16614 Add `comint-output-filter-functions'.
16615
0de12c52
IK
166162011-06-08 Ivan Kanis <gnu@kanis.fr>
16617
16618 * calendar/appt.el (appt-check): Move some initializations into the let.
16619
f3d1777e
MR
166202011-06-08 Martin Rudalics <rudalics@gmx.at>
16621
16622 * window.el (window-height): Defalias to window-total-height.
16623 (window-width): Defalias to window-body-width.
16624
18af70d0
CY
166252011-06-07 Chong Yidong <cyd@stupidchicken.com>
16626
16627 * image-mode.el (image-toggle-animation): New command.
16628 (image-mode-map): Bind it to RET.
16629 (image-mode): Update message.
16630 (image-toggle-display-image): Avoid a spurious cache flush.
16631 (image-transform-rotation): Doc fix.
16632 (image-transform-properties): Return quickly in the normal case.
16633 (image-animate-loop): Rename from image-animate-max-time.
16634
2b75be67 16635 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16636 (create-animated-image): Remove unnecessary function.
16637 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16638 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16639 (image-animate-timer): Use car-safe.
16640 (image-animate-timeout): Rename argument.
16641
190b47e6
MR
166422011-06-07 Martin Rudalics <rudalics@gmx.at>
16643
16644 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16645 window.c. Rename first argument to ALL-FRAMES.
16646 Rephrase doc-strings.
16647 (get-buffer-window-list): Rewrite using window-list-1.
16648 Rephrase doc-string.
a1511caf
MR
16649 (window-safe-min-height, window-safe-min-width): New constants.
16650 (window-size-ignore, window-min-size, window-min-size-1)
16651 (window-sizable, window-sizable-p, window-size-fixed-1)
16652 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16653 (window-max-delta-1, window-max-delta, window-resizable)
16654 (window-resizable-p, window-total-height, window-total-width)
16655 (window-body-width): New functions.
16656 (window-full-height-p, window-full-width-p): Rewrite using
16657 window-total-size.
16658 (window-body-height): Rewrite using window-body-size.
190b47e6 16659
85cc1f11
MR
166602011-06-06 Martin Rudalics <rudalics@gmx.at>
16661
16662 * window.el (window-right, window-left, window-child)
16663 (window-child-count, window-last-child, window-any-p)
16664 (normalize-live-buffer, normalize-live-frame)
16665 (normalize-any-window, normalize-live-window)
16666 (window-iso-combination-p, window-iso-combined-p)
16667 (window-iso-combinations)
16668 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16669 (windows-with-parameter, window-with-parameter)
16670 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16671 (window-atom-check, window-side-check, window-check):
16672 New functions.
85cc1f11
MR
16673 (ignore-window-parameters, window-sides, window-sides-vertical)
16674 (window-sides-slots): New variables.
16675 (window-size-fixed): Move down in code. Minor doc-string fix.
16676
e7156492
AS
166772011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16678
16679 * comint.el (comint-dynamic-complete-as-filename)
16680 (comint-dynamic-complete-filename): Correctly call
16681 completion-in-region.
16682
7e821d0d
DD
166832011-06-05 Deniz Dogan <deniz@dogan.se>
16684
16685 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16686 in last change.
16687
ac09b8a1
DD
166882011-06-05 Deniz Dogan <deniz@dogan.se>
16689
16690 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16691 (rcirc): Use it to prompt for encryption.
16692
34699b85
RW
166932011-06-05 Roland Winkler <winkler@gnu.org>
16694
16695 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16696 (bibtex-search-entries): New command bound to C-c C-a.
16697 (bibtex-display-entries): New function.
16698
004dedd3
RW
166992011-06-05 Roland Winkler <winkler@gnu.org>
16700
16701 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16702 (bibtex-insert-kill): After yanking insert newline if necessary.
16703 (bibtex-initialize): Call bibtex-string-files-init only once.
16704 (bibtex-mode): Do not call easy-menu-add.
16705 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16706 (bibtex-yank): Set arg properly if nil.
16707
022fe7ce
RW
167082011-06-05 Roland Winkler <winkler@gnu.org>
16709
2b75be67
SM
16710 * textmodes/bibtex.el (bibtex-search-entry-globally):
16711 New variable.
022fe7ce
RW
16712 (bibtex-search-entry): Use it.
16713
b7c3692a
RW
167142011-06-05 Roland Winkler <winkler@gnu.org>
16715
16716 * textmodes/bibtex.el (bibtex-entry-format): New option
16717 sort-fields.
16718 (bibtex-format-entry, bibtex-reformat): Honor this option.
16719 (bibtex-parse-entry): Return fields in proper order.
16720
8eda563d
JB
167212011-06-05 Juanma Barranquero <lekktu@gmail.com>
16722
16723 * doc-view.el (doc-view-remove-if): Move computation of result out
16724 of `dolist' to silence misleading lexical-binding warning.
16725
7dbe3dbc
CY
167262011-06-04 Chong Yidong <cyd@stupidchicken.com>
16727
16728 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16729 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16730
0c33dd17
MA
167312011-06-04 Michael Albinus <michael.albinus@gmx.de>
16732
16733 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16734 "SunOS 5.10".
16735
f8f91c2b
MA
167362011-06-04 Michael Albinus <michael.albinus@gmx.de>
16737
16738 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16739 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16740 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16741 (tramp-parse-putty):
16742 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16743 (tramp-completion-function-alist-ssh)
16744 (tramp-completion-function-alist-telnet)
16745 (tramp-completion-function-alist-su)
16746 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16747 cookie.
16748
16749 * net/tramp-ftp.el:
16750 * net/tramp-sh.el:
16751 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16752 load "tramp.el" `tramp-set-completion-function'.
16753
e17d9003
SM
167542011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16755
16756 * shell.el: Require and use pcomplete.
16757 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16758 (shell-completion-vars): Set pcomplete-default-completion-function.
16759
6c4cab03
DD
167602011-06-04 Deniz Dogan <deniz@dogan.se>
16761
16762 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16763 `memq' (Bug#8799).
16764
ea9fafe0
SM
167652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16766
16767 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16768
b3e945d3
JB
167692011-06-02 Juanma Barranquero <lekktu@gmail.com>
16770
16771 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16772 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16773 * vc/log-view.el (log-view-beginning-of-defun):
16774 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16775 (smerge-refine-forward, smerge-refine-chopup-region):
16776 Silence warning for unused `dotimes' counter variables.
16777
7d520089
SM
167782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16779
16780 * net/tramp.el (tramp-with-progress-reporter): Rename from
16781 with-progress-reporter. Use `declare'.
16782 * net/tramp-smb.el:
16783 * net/tramp-sh.el:
16784 * net/tramp-gvfs.el: Update all uses.
16785
a1c2400f
JB
167862011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16787
16788 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16789 buffer isn't killed before making it current.
16790
2403c841
SM
167912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16792
16793 Silence various byte-compiler warnings.
16794 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16795 `access-type' and new obsolescence format.
16796 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16797 new format.
16798 (byte-compile-check-variable): New `access-type' argument.
16799 Only warn if the access-type is obsolete.
16800 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16801 (byte-compile-variable-set): Adjust callers.
16802 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16803 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16804 setting it as obsolete.
16805 * simple.el (minibuffer-completing-symbol):
16806 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16807 access as obsolete.
16808 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16809 obsolete yet.
16810 * international/quail.el (quail-mouse-choose-completion): Remove unused
16811 code referring to obsolete var.
16812 (quail-choose-completion-string): Remove.
16813 * server.el (server-clients-with, server-kill-buffer-query-function)
16814 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16815 * proced.el (proced-send-signal):
16816 * emacs-lisp/lisp.el (lisp-complete-symbol):
16817 Replace completion-annotate-function with completion-extra-properties.
16818
2462470b
SM
168192011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16820
fb5b2591
SM
16821 * simple.el (goto-line): Use read-number.
16822 (overriding-map-is-bound): Remove.
16823 (saved-overriding-map): Change default.
16824 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16825 Take the map as argument.
16826 (universal-argument, negative-argument, digit-argument): Use it.
16827 (restore-overriding-map): Adjust.
16828 (do-auto-fill): Use fill-forward-paragraph.
16829 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16830
fd6fa53f
SM
16831 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16832 (minibuffer-inactive-mode): New major mode.
16833 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16834 the *Messages* buffer" hack.
16835 (mouse-popup-menubar): Don't burp if the event is a normal key.
16836
2462470b
SM
16837 Miscellaneous tweaks.
16838 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16839 lexical scoping as in subr.el's dolist and dotimes.
16840 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16841 Silence compiler warning.
16842 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16843 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16844 * international/ccl.el (ccl-compile): Trivial simplification.
16845 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16846 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16847 `printflag' argument.
16848 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16849 Purecopy the whole obsolescence data.
16850
108bf785
LL
168512011-06-01 Leo Liu <sdl.web@gmail.com>
16852
16853 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16854 improve doc-string as suggested by Marco Pessotto
16855 <melmothx@gmail.com>.
16856 (rcirc-print): Fix last change.
16857
30a23501
SM
168582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16859
16860 * minibuffer.el (complete-with-action): Return nil for the metadata and
16861 boundaries of non-functional tables.
16862 (completion-table-dynamic): Return nil for the metadata.
16863 (completion-table-with-terminator): Add default case, using
16864 complete-with-action.
16865 (completion--metadata): New function.
16866 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16867 to try and avoid pathological performance problems.
16868 (completion--embedded-envvar-table): Return `category' metadata.
16869
bcd54f83
LMI
168702011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16871
16872 * subr.el (process-alive-p): New tiny convenience function.
16873
e227544d
SM
168742011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16875
16876 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16877 content but also its previous major mode.
16878
e8296fdc
HE
168792011-05-31 Helmut Eller <eller.helmut@gmail.com>
16880
4d61f28d 16881 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16882 *Backtrace* buffer when we exit with C-M-c.
16883
620c53a6
SM
168842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16885
16886 * minibuffer.el: Add metadata method to completion tables.
16887 (completion-category-overrides): New defcustom.
16888 (completion-metadata, completion--field-metadata)
16889 (completion-metadata-get, completion--styles)
16890 (completion--cycle-threshold): New functions.
16891 (completion-try-completion, completion-all-completions):
16892 Add `metadata' argument to choose completion-styles.
16893 (completion--do-completion): Use metadata to choose cycling.
16894 (completion-all-sorted-completions): Use metadata for sorting.
16895 Remove :completion-cycle-penalty which is not needed any more.
16896 (completion--try-word-completion): Add `metadata' argument.
16897 (minibuffer-completion-help): Check metadata for annotation function
16898 and sorting.
16899 (completion-file-name-table): Return `category' metadata.
16900 (minibuffer-completing-file-name): Make obsolete.
16901 * simple.el (minibuffer-completing-symbol): Make obsolete.
16902 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16903 completion-try-completion.
16904
1257e755
SM
169052011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16906
16907 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16908
3767e706
LL
169092011-05-30 Leo Liu <sdl.web@gmail.com>
16910
16911 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16912 (rcirc-print): Decode all incoming messages (bug#8744).
16913 (rcirc-decode-coding-system): Allow value nil for automatic coding
16914 system detection.
3767e706 16915
d1a5d56a
GM
169162011-06-01 Glenn Morris <rgm@gnu.org>
16917
16918 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16919
e8cbec34
CY
169202011-05-29 Chong Yidong <cyd@stupidchicken.com>
16921
16922 * image.el (image-animate-max-time): Allow nil and t values.
16923 Default to nil.
16924 (create-animated-image): Doc fix.
16925 (image-animate-start): Remove second arg; just use
16926 image-animate-max-time.
16927 (image-animate-timeout): Doc fix. Args changed.
16928
16929 * image-mode.el (image-toggle-display-image): Ensure that the
16930 image spec passed to the animate timer is the same object as in
58179cce 16931 the buffer's display property (Bug#6981).
e8cbec34
CY
16932 (image-transform-properties): Doc fix.
16933
16934 * image.el (image-animate-max-time): Default to nil.
16935
159daf87
MR
169362011-05-29 Martin Rudalics <rudalics@gmx.at>
16937
16938 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16939 entire buffer list (Bug#8184).
16940
d66c4c7c
CY
169412011-05-29 Chong Yidong <cyd@stupidchicken.com>
16942
16943 * image.el (imagemagick-types-inhibit)
16944 (imagemagick-register-types): Doc fix.
16945
80aec780
DD
169462011-05-29 Deniz Dogan <deniz@dogan.se>
16947
16948 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16949 default.
16950
1dd3c2d9
CY
169512011-05-29 Chong Yidong <cyd@stupidchicken.com>
16952
16953 * select.el: Don't perform clipboard-manager saving in hooks;
16954 leave the hooks empty.
16955
60e56523
LL
169562011-05-28 Leo Liu <sdl.web@gmail.com>
16957
16958 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16959 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16960 (occur-edit-mode): New major mode (Bug#8463).
16961 (occur-after-change-function): New function.
16962 (occur-engine): Give Occur tags a read-only property.
16963
2b1e1a22
KR
169642011-05-28 Kevin Ryde <user42@zip.com.au>
16965
16966 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16967
5d344e88
CY
169682011-05-28 Chong Yidong <cyd@stupidchicken.com>
16969
8e6ca83d
CY
16970 * bindings.el (help-echo): Make the initial non-indicator dash
16971 empty on graphical terminals (Bug#7295).
16972
5d344e88
CY
16973 * files.el (auto-mode-alist): Move config rule after the
16974 in-stripping one (Bug#8547).
16975
bfbbace7
CY
16976 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16977
fbeba6e2
CY
16978 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16979 setting (Bug#8740).
16980
60ed8c72
AA
169812011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16982
4ac619f0
AA
16983 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16984 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16985 (Bug#8539).
60ed8c72 16986
23db196e
CY
169872011-05-28 Chong Yidong <cyd@stupidchicken.com>
16988
16989 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16990
5012f24c
DK
169912011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16992
16993 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16994 (hs-hide-block-at-point, hs-find-block-beginning)
16995 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16996 (Bug#8279).
16997
6a639b16
GM
169982011-05-28 Glenn Morris <rgm@gnu.org>
16999
17000 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17001
d43eaf2c
CY
170022011-05-28 Chong Yidong <cyd@stupidchicken.com>
17003
5199bde1
CY
17004 * help-fns.el (describe-function-1): If the function is a derived
17005 major mode, print the parent mode.
17006
d43eaf2c
CY
17007 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17008 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17009
423428a8
SM
170102011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17011
0ff8e1ba 17012 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17013 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17014 * progmodes/etags.el (tags-completion-at-point-function):
17015 * info-look.el (info-lookup-completions-at-point): Mark as
17016 non-exclusive.
17017 (info-complete): Adjust accordingly.
17018
423428a8
SM
17019 * info-look.el: Convert to lexical-binding and completion-at-point.
17020 (info-lookup-completions-at-point): New function.
17021 (info-complete): Use it and completion-in-region.
17022
b74aa22b
DA
170232011-05-28 Drew Adams <drew.adams@oracle.com>
17024
17025 * isearch.el: Let M-e start with point at the first mismatched char.
17026 (isearch-fail-pos): New function.
17027 (isearch-edit-string): Use it.
17028
66e2e71d
DK
170292011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17030
17031 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17032
b1890b0f 170332011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17034
17035 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17036 traversal functions for avl-trees.
17037 (avl-tree--stack): New struct.
17038 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17039 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17040 (avl-tree--do-enter): Add optional `updatefun' arg.
17041 Change return value.
eb95d01d 17042 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17043 (avl-tree--do-delete): Add `test' and `nilflag' args.
17044 Change return value.
eb95d01d
TC
17045 (avl-tree-member): Add optional `nilflag'
17046 (avl-tree-member-p): New function.
17047 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17048 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17049 (avl-tree-stack-empty-p): New functions.
17050
3769ddcf
TC
17051 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17052 avl-tree--del-balance1 and make it work both ways.
17053 (avl-tree--del-balance2): Remove.
17054 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17055 make it work both ways.
17056 (avl-tree--enter-balance2): Remove.
17057 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17058 New macros.
17059 (avl-tree--mapc, avl-tree-map): Add direction argument.
17060
eb95d01d 170612011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17062
17063 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17064
a9f737ee
CY
170652011-05-27 Chong Yidong <cyd@stupidchicken.com>
17066
17067 * select.el: Support clipboard managers with built-in function
17068 x-clipboard-manager-save, via delete-frame-functions and
17069 kill-emacs-hook.
17070 (xselect-convert-to-targets): Add MULTIPLE target to list.
17071 (xselect-convert-to-save-targets): New function.
17072
c92a1e54
KH
170732011-05-27 Kenichi Handa <handa@m17n.org>
17074
17075 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17076 let-binding rfc2047-encode-encoded-words to nil.
17077
e145f188
GM
170782011-05-27 Glenn Morris <rgm@gnu.org>
17079
5ec8a862
GM
17080 * mail/emacsbug.el: Don't require url-util.
17081
4b29d9fb
GM
17082 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17083
e145f188
GM
17084 * files.el (set-auto-mode):
17085 Also respect mode: entries at the end of the file. (Bug#8586)
17086
7d15102b
GM
170872011-05-26 Glenn Morris <rgm@gnu.org>
17088
98f593b8
GM
17089 * files.el (hack-local-variables-prop-line, hack-local-variables):
17090 Downcase mode names, as seems to be traditional.
27b48e63 17091 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17092
7d15102b
GM
17093 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17094 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17095
51d5b4ec
JD
170962011-05-25 Julien Danjou <julien@danjou.info>
17097
17098 * textmodes/rst.el (rst-define-level-faces): Do not define face
17099 symbol if it is already defined.
17100
91513f63
VB
171012011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17102
17103 * play/5x5.el (5x5-new-game, 5x5-randomize):
17104 Reset 5x5-solver-output to nil when a new grid is cast.
17105 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17106 these debugging traces, as defmacro breaks the compiled code.
17107
4d90d6d0
DK
171082011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17109
17110 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17111
e1b90ef6
LL
171122011-05-24 Leo Liu <sdl.web@gmail.com>
17113
17114 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17115 (vc-bzr-sha1): Adapt.
17116
d8e4b68b 17117 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17118
17119 * bindings.el: Provide sha1 feature.
17120
db0406bb 171212011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17122
17123 * mail/sendmail.el: Require `rfc2047'.
17124 (mail-insert-from-field): Do not perform RFC2047 encoding.
17125 (mail-encode-header): New function.
17126 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17127 buffer to the return value of select-message-coding-system.
17128 Call mail-encode-header.
b8d747b9
KH
17129
17130 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17131
db0406bb 171322011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17133
4d90d6d0
DK
17134 * mail/supercite.el (sc-default-cite-frame):
17135 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17136
eb8a5e9b
GM
171372011-05-24 Glenn Morris <rgm@gnu.org>
17138
f8630703
GM
17139 * progmodes/python.el (brm-menu): Declare.
17140
8831bbed
GM
17141 * emulation/viper.el (viper-set-hooks): Declare.
17142
eb8a5e9b
GM
17143 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17144 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17145 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17146 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17147 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17148 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17149
a2a25d24
SM
171502011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17151
17152 Add an :exit-function for completion-at-point.
17153
17154 * minibuffer.el (completion--done): New fun.
17155 (completion--do-completion): Use it. New arg `expect-exact'.
17156 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17157 since completion--do-completion does it for us now.
17158 (minibuffer-force-complete): Use completion--done and
17159 completion--replace. Handle sole-completion case with more care.
17160 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17161 (completion-extra-properties): New var.
17162 (completion-annotate-function): Make obsolete.
17163 (minibuffer-completion-help): Adjust accordingly.
17164 Use completion-list-insert-choice-function.
17165 (completion-at-point, completion-help-at-point):
17166 Bind completion-extra-properties.
17167 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17168 * simple.el (completion-list-insert-choice-function): New var.
17169 (completion-setup-function): Preserve it.
17170 (choose-completion): Pay attention to it, shuffle the code a bit.
17171 (choose-completion-string): New arg `insert-function'.
17172
17173 * textmodes/bibtex.el: Convert to lexical binding.
17174 (bibtex-mode-map): Use completion-at-point.
17175 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17176 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17177 (bibtex-complete): Define as obsolete alias.
17178 (bibtex-complete-internal): Remove.
17179 (bibtex-format-entry): Remove unused sub-group in regexp.
17180 * shell.el (shell--command-completion-data)
17181 (shell-environment-variable-completion):
17182 * pcomplete.el (pcomplete-completions-at-point):
17183 * comint.el (comint--complete-file-name-data): Use :exit-function
17184 instead of completion-table-with-terminator so it also works for
17185 choose-completion.
17186
e44e373d
SM
171872011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17188
4f91a816
SM
17189 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17190
782fc819
SM
17191 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17192 (bug#8710).
17193
e44e373d
SM
17194 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17195
381987c3
KM
171962011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17197
17198 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17199 customization variable and implement: If non-nil, auto-fill will
17200 be inhibited while on topic's header line.
17201
b776bc70
VB
172022011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17203
17204 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17205 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17206 always have a solution in grid size = 5 cases.
17207 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17208 (5x5-solver-output, 5x5-log-buffer): New vars.
17209 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17210 Make these variables buffer local to achieve 5x5 multi-session-ness.
17211 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17212 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17213 (5x5-solve-suggest): New funs.
17214 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17215 randomize a grid so that we ensure that there is always a solution.
17216 (5x5-make-random-grid): Allow other movement than flipping.
17217
7de88b6e
KR
172182011-05-23 Kevin Ryde <user42@zip.com.au>
17219
17220 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17221 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17222 advice and passes PREDICATE.
17223
b1ef1257
SM
172242011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17225
bbca48fe
SM
17226 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17227 byte-compile-lambda if it's actually a lambda.
17228
b1ef1257
SM
17229 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17230 Fix function quoting. Use backquote better.
17231
92a9cc65
YS
172322011-05-22 Yuanle Song <sylecn@gmail.com>
17233
17234 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17235 matching (Bug#8516).
17236
f0fb8059
JA
172372011-01-22 Jari Aalto <jari.aalto@cante.net>
17238
17239 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17240 different face (Bug#8178).
17241
d5b44c93
CY
172422011-05-22 Chong Yidong <cyd@stupidchicken.com>
17243
17244 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17245 defface (Bug#8144).
17246
79106a44
SM
172472011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17248
9c848d8a
SM
17249 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17250 funcall as well (bug#8712). Warn when performing those conversions.
17251 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17252
79106a44
SM
17253 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17254
88dfa756
GM
172552011-05-22 Glenn Morris <rgm@gnu.org>
17256
17257 * files.el (hack-local-variables-prop-line): Small simplifications.
17258 (hack-local-variables, hack-local-variables-prop-line):
17259 If MODE-ONLY, return the mode, rather than just `t'.
17260
b7cf2c79
SM
172612011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17262
17263 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17264
3f1a8558
GM
172652011-05-21 Glenn Morris <rgm@gnu.org>
17266
7e4ccca3
GM
17267 * files.el (hack-local-variables-prop-line, hack-local-variables):
17268 If only interested in the mode, don't bother doing the other stuff.
17269
637d46ca
GM
17270 * image-mode.el (image-after-revert-hook):
17271 Redraw all frames on which the image is visible. (Bug#8567)
17272
973d955b
GM
17273 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17274
3f1a8558
GM
17275 * wid-edit.el (widget-checklist-match-inline):
17276 Fix 2011-04-19 change. (Bug#8649)
17277
96479927
SM
172782011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17279
1dcf791f
SM
17280 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17281 Also allow singlespace after single-letter capitals followed by a dot.
17282
96479927
SM
17283 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17284 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17285
35fd0881
N
172862011-05-20 Nix <nix@esperi.org.uk>
17287
17288 * files.el (basic-save-buffer-2):
17289 Fix handling of break-hardlink-on-save with non-existent files.
17290
82745640
DD
172912011-05-19 Deniz Dogan <deniz@dogan.se>
17292
17293 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17294 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17295
4a720484
GM
172962011-05-19 Glenn Morris <rgm@gnu.org>
17297
d1f21341
GM
17298 * progmodes/f90.el (f90-type-def-re):
17299 Handle "type, bind(c)". (Bug#8691)
17300
4a720484
GM
17301 * emacs-lisp/autoload.el (batch-update-autoloads):
17302 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17303
2fb0a219
MA
173042011-05-18 Michael Albinus <michael.albinus@gmx.de>
17305
17306 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17307 property for the correct connection in case of multihops.
17308
e565dd37
GM
173092011-05-18 Glenn Morris <rgm@gnu.org>
17310
c2571358 17311 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17312 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17313
e565dd37
GM
17314 Rationalize calendar handling of day and month abbrev-arrays.
17315 * calendar/calendar.el (calendar-customized-p): New function.
17316 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17317 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17318 Add :set function.
17319 (calendar-abbrev-length, calendar-day-abbrev-array)
17320 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17321 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17322 Elements may no longer be nil.
17323 (calendar-day-name, calendar-month-name):
17324 Update for changed nature of abbrev arrays.
17325 * calendar/diary-lib.el (diary-name-pattern):
17326 Update for changed nature of abbrev arrays.
17327 (diary-mark-entries-1): Update calendar-make-alist calls.
17328 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17329 * calendar/cal-html.el (cal-html-day-abbrev-array):
17330 Simply inherit from calendar-day-abbrev-array.
17331
1d99a745
SM
173322011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17333
17334 * progmodes/grep.el (grep-mode): Disable default
17335 compilation-directory-matcher setting (bug#8684).
17336
7c1d9aa0
MA
173372011-05-17 Michael Albinus <michael.albinus@gmx.de>
17338
17339 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17340 instead of "head" and "tail". There were problems with SunOS 5.9,
17341 and it performs better.
17342
3952e9d8
GM
173432011-05-17 Glenn Morris <rgm@gnu.org>
17344
2dd12e7f
GM
17345 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17346
e4157b9c
GM
17347 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17348 Replace obsolete function.
17349
8e249bbd
GM
17350 * shell.el (pcomplete-parse-arguments-function): Declare.
17351
3952e9d8
GM
17352 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17353 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17354 (appt-check): Doc fixes.
17355 (appt-disp-window-function, appt-delete-window-function):
17356 Remove needless special case in custom :type.
17357 (appt-display-count): Default to 0, not nil.
17358 (appt-check): Reset appt-display-count to 0, not nil.
17359
c71a0d48 173602011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17361
c71a0d48
GM
17362 * progmodes/python.el (python-font-lock-keywords):
17363 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17364
31d55be9
SM
173652011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17366
17367 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17368
3bfacb2f
KR
173692011-05-16 Kevin Ryde <user42@zip.com.au>
17370
17371 * info-look.el (makefile-automake-mode): New setups, looking in
17372 automake manual, then makefile-mode.
17373 (makefile-mode): Remove automake manual, have it just in
17374 makefile-automake-mode since there's various things different or
17375 not relevant to plain make.
17376 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17377 believe a hypothetical automake-mode would go to makefile-mode,
17378 not the other way around.
17379
c8e83751
CY
173802011-05-15 Chong Yidong <cyd@stupidchicken.com>
17381
5e9e35cd
CY
17382 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17383 hunk-end tags (Bug#8672).
17384
c8e83751
CY
17385 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17386 vc-annotate-show-diff-revision-at-line (Bug#8671).
17387
50b23e5a
GM
173882011-05-14 Glenn Morris <rgm@gnu.org>
17389
7210a739
GM
17390 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17391 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17392 (change-log-font-lock-keywords): Also handle multiple author lines
17393 with leading tabs. (Bug#8644)
7210a739 17394
4691905a
GM
17395 * calendar/appt.el (appt-check): Rename some local variables.
17396 Some simplification/reordering.
17397
50b23e5a
GM
17398 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17399 (feedmail-sendmail-f-doesnt-sell-me-out)
17400 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17401 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17402 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17403 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17404 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17405 (feedmail-binmail-gnulinuxish-template):
17406 Rename from feedmail-binmail-linuxish-template.
17407 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17408 Use insert-buffer-substring.
17409
215cda7c
BC
174102011-05-14 Bill Carpenter <bill@carpenter.org>
17411
17412 * mail/feedmail.el (feedmail-patch-level): Increase.
17413 (feedmail-debug): New custom group.
17414 (feedmail-confirm-outgoing-timeout)
17415 (feedmail-sendmail-f-doesnt-sell-me-out)
17416 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17417 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17418 (feedmail-sender-line, feedmail-from-line)
17419 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17420 (feedmail-spray-this-address)
215cda7c
BC
17421 (feedmail-spray-address-fiddle-plex-list)
17422 (feedmail-queue-use-send-time-for-date)
17423 (feedmail-queue-use-send-time-for-message-id)
17424 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17425 (feedmail-buffer-eating-function):
17426 Doc fixes.
17427 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17428 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17429 (feedmail-message-action-scroll-down): New functions.
17430 (feedmail-queue-directory, feedmail-queue-draft-directory):
17431 Use expand-file-name.
17432 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17433 Remove C-v help entry.
17434 (feedmail-queue-buffer-file-name): New variable.
17435 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17436 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17437 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17438 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17439 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17440 (feedmail-message-action-toggle-spray)
17441 (feedmail-run-the-queue-no-prompts)
17442 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17443 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17444 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17445 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17446 (feedmail-envelope-deducer, feedmail-fiddle-from)
17447 (feedmail-fiddle-sender, feedmail-default-date-generator)
17448 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17449 (feedmail-fiddle-spray-address)
17450 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17451 (feedmail-fiddle-list-of-fiddle-plexes)
17452 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17453 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17454 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17455 Change default. Doc fix.
17456 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17457 (feedmail-binmail-linuxish-template): New constant.
17458 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17459 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17460 (feedmail-send-it): Add debug call.
17461 Use feedmail-queue-buffer-file-name, and
17462 feedmail-send-it-immediately-wrapper.
17463 (feedmail-message-action-send): Add debug call.
17464 Use feedmail-send-it-immediately-wrapper.
17465 (feedmail-queue-express-to-queue): Add debug call.
17466 Run feedmail-queue-express-hook.
17467 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17468 (feedmail-message-action-help-blat):
17469 Rename from feedmail-queue-send-edit-prompt-help-first.
17470 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17471 Check line-endings. Handle errors better.
17472 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17473 Doc fix. Add debug call.
17474 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17475 Use feedmail-queue-send-edit-prompt-inner.
17476 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17477 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17478 from feedmail-queue-send-edit-prompt.
17479 (feedmail-queue-send-edit-prompt-help)
17480 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17481 (feedmail-tidy-up-slug): Add debug call.
17482 Respect feedmail-queue-slug-suspect-regexp.
17483 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17484 (feedmail-dump-message-to-queue): Add debug call.
17485 Expand queue-directory.
17486 (feedmail-dump-message-to-queue): Change message slightly.
17487 Use feedmail-say-chatter.
17488 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17489 (feedmail-send-it-immediately-wrapper): New function.
17490 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17491 Insert empty string rather than newline. Handle full-frame case.
17492 Use catch/throw. Use feedmail-say-chatter.
17493 (feedmail-fiddle-from): Try mail-host-address.
17494 (feedmail-default-message-id-generator): Doc fix.
17495 Bind system-time-locale. Handle missing end.
17496 (feedmail-fiddle-x-mailer): Add debug call.
17497 Handle feedmail-x-mailer-line being nil.
17498 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17499 Add debug call. Use buffer-substring-no-properties.
17500 (feedmail-say-debug, feedmail-say-chatter): New functions.
17501 (feedmail-find-eoh): Give an explicit error.
17502
42c7e61e
UJ
175032011-05-13 Ulf Jasper <ulf.jasper@web.de>
17504
c2571358 17505 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17506 family from helvetica to sans.
c2571358 17507 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17508 etc/images/newsticker.
17509
c2571358 17510 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17511 family from helvetica to sans.
17512
17513 * net/newst-plainview.el (newsticker-new-item-face)
17514 (newsticker-old-item-face, newsticker-immortal-item-face)
17515 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17516 (newsticker-statistics-face): Change default family from
42c7e61e 17517 helvetica to sans.
c2571358 17518 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17519 etc/images/newsticker.
17520
5d3385a0
JB
17521 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17522 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17523 auto-marking.
17524
8497a297
DV
175252011-05-13 Didier Verna <didier@xemacs.org>
17526
17527 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17528 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17529 TODO entries.
8497a297
DV
17530 (lisp-lambda-list-keyword-parameter-indentation)
17531 (lisp-lambda-list-keyword-parameter-alignment)
17532 (lisp-lambda-list-keyword-alignment): New customizable user options.
17533 (lisp-indent-defun-method): Improve docstring.
17534 (extended-loop-p): Fix comment.
17535 (lisp-indent-lambda-list-keywords-regexp): New variable.
17536 (lisp-indent-lambda-list): New function.
17537 (lisp-indent-259): Use it.
17538 (lisp-indent-defmethod): Support for more than one
17539 method qualifier and properly indent methods lambda-lists.
17540 (defgeneric): Provide a missing common-lisp-indent-function property.
17541
f278f87f
SM
175422011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17543
17544 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17545 bounds for the empty string (bug#8667).
17546
5233edd7
GM
175472011-05-13 Glenn Morris <rgm@gnu.org>
17548
5237a44f
GM
17549 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17550
8340026c 17551 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17552 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17553
5233edd7 17554 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17555 (appt-time-msg-list): Doc fix.
a5464014 17556 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17557
92d10796
AS
175582011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17559
17560 * progmodes/ld-script.el (ld-script-keywords)
17561 (ld-script-builtins): Update keywords list.
17562
914a0ae1
SM
175632011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17564
c89be45f
SM
17565 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17566
914a0ae1
SM
17567 * shell.el (shell-completion-vars): New function.
17568 (shell-mode):
17569 * simple.el (read-shell-command): Use it.
17570 (blink-matching-open): No need for " [...]" in minibuffer-message.
17571
98dc3df3
GM
175722011-05-12 Glenn Morris <rgm@gnu.org>
17573
17574 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17575 (appt-check): Simplify.
17576
d2fc7e3d 175772011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17578
4d61f28d 17579 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17580 literal "/dev/null".
17581
d2fc7e3d 175822011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17583
17584 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17585 Fix typo.
17586
d2fc7e3d 175872011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17588
3f254caa
SM
17589 * progmodes/which-func.el (which-function):
17590 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17591 which might not be defined (Bug#8260).
17592
d45885f7
GM
175932011-05-12 Glenn Morris <rgm@gnu.org>
17594
17595 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17596 Let byte-compile-initial-macro-environment always take precedence.
17597
488086f4
SM
175982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17599
17600 * net/rcirc.el: Add support for SSL/TLS connections.
17601 (rcirc-server-alist): New field `encryption'.
17602 (rcirc): Check `encryption' settings.
17603 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17604 Merge make-local-variable into `set'.
17605 (rcirc--connection-open-p): New function.
17606 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17607 the process is not a network process (e.g. running gnutls-cli).
17608 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17609 Make rcirc-(en|de)code-coding-system local here.
17610 (rcirc-mode): Merge make-local-variable into `set'.
17611 (rcirc-parent-buffer): Make permanent buffer-local.
17612 (rcirc-multiline-minor-mode): Don't do it here.
17613 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17614 there's no server buffer.
17615
7d3b9d44
GM
176162011-05-11 Glenn Morris <rgm@gnu.org>
17617
f64049c6
GM
17618 * newcomment.el (comment-kill): Prefix "unused" local.
17619
93c9df73
GM
17620 * term/w32console.el (get-screen-color): Declare.
17621
7d3b9d44
GM
17622 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17623 Handle symbol elements of byte-compile-initial-macro-environment.
17624
9e2dd53f
LL
176252011-05-10 Leo Liu <sdl.web@gmail.com>
17626
488086f4
SM
17627 * bookmark.el (bookmark-bmenu-mode-map):
17628 Bind bookmark-bmenu-search to `/'.
8b340240 17629
9e2dd53f 17630 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17631 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17632 (Footnote-unicode): New function.
17633 (footnote-style-alist): Add unicode style to the list.
17634 (footnote-style): Doc fix.
9e2dd53f 17635
79b70037
GM
176362011-05-10 Jim Meyering <meyering@redhat.com>
17637
17638 Fix doubled-word typos.
17639 * international/quail.el (quail-insert-kbd-layout): and and -> and
17640 * kermit.el: and and -> and
17641 * net/ldap.el (ldap-search-internal): to to -> to
17642 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17643 * progmodes/js.el (js-mode): and and -> and
17644 * textmodes/artist.el (artist-move-to-xy): at at -> at
17645 (artist-draw-region-trim-line-endings): if if -> if
17646 And Safetyc -> Safety.
17647 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17648
b8f82dc1 176492011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17650 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17651
17652 * files.el (hack-one-local-variable-eval-safep):
17653 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17654
4f99f44b
GM
176552011-05-10 Glenn Morris <rgm@gnu.org>
17656
17657 * calendar/diary-lib.el (diary-list-entries-hook)
17658 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17659 (diary-nongregorian-marking-hook, diary-list-entries)
17660 (diary-include-other-diary-files, diary-mark-entries)
17661 (diary-mark-included-diary-files): Doc fixes.
17662
84f29e6b
JB
176632011-05-09 Juanma Barranquero <lekktu@gmail.com>
17664
17665 * misc.el: Require tabulated-list.el during compilation.
17666
9bedd73a
CY
176672011-05-09 Chong Yidong <cyd@stupidchicken.com>
17668
488086f4
SM
17669 * progmodes/compile.el (compilation-start):
17670 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17671 (compilation-filter-hook): Doc fix.
17672
797c735c
DD
176732011-05-09 Deniz Dogan <deniz@dogan.se>
17674
17675 * wdired.el: Remove outdated installation comment. Fix usage
17676 comment.
17677
5f4b1dfe
JB
176782011-05-09 Juanma Barranquero <lekktu@gmail.com>
17679
17680 * misc.el: Implement new command `list-dynamic-libraries'.
17681 (list-dynamic-libraries--loaded-only-p): New variable.
17682 (list-dynamic-libraries--refresh): New function.
17683 (list-dynamic-libraries): New command.
17684
4c44026c
CY
176852011-05-09 Chong Yidong <cyd@stupidchicken.com>
17686
488086f4
SM
17687 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17688 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17689 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17690 higher priority to avoid clobbering by gnu.
17691
027f966d
CY
176922011-05-08 Chong Yidong <cyd@stupidchicken.com>
17693
17694 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17695 if the face has existing theme settings (Bug#8454).
17696
085f5d7d
CY
176972011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17698
488086f4
SM
17699 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17700 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17701
2a86a00c
RS
17702 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17703 special file names `.' and `..' (Bug#8259).
17704
d9c54a06
CY
177052011-05-08 Chong Yidong <cyd@stupidchicken.com>
17706
488086f4
SM
17707 * progmodes/grep.el (grep-mode-font-lock-keywords):
17708 Remove buffer-changing entries.
d9c54a06
CY
17709 (grep-filter): New function.
17710 (grep-mode): Add it to compilation-filter-hook.
17711
17712 * progmodes/compile.el (compilation-filter-hook)
17713 (compilation-filter-start): New defvars.
17714 (compilation-filter): Call compilation-filter-hook prior to
17715 updating the process mark.
17716
c4662635
SM
177172011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17718
17719 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17720
b0512a1d
EZ
177212011-05-07 Eli Zaretskii <eliz@gnu.org>
17722
605c9376
EZ
17723 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17724 mailclient-send-it even if window-system is nil. (Bug#8595)
17725
c4662635
SM
17726 * term/w32console.el (terminal-init-w32console):
17727 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17728 background-mode. (Bug#8597)
17729
d1dc2cc2
SM
177302011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17731
17732 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17733 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17734 New functions.
17735 (defgeneric, eieio--defmethod): Use them.
17736 (eieio-defgeneric): Remove.
17737 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17738
915d1300
GM
177392011-05-07 Glenn Morris <rgm@gnu.org>
17740
a3961c3e
GM
17741 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17742 Use let rather than let*.
17743 (timeclock-find-discrep): Remove unused local.
17744
314347b9
GM
17745 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17746
915d1300
GM
17747 * calendar/appt.el (appt-time-msg-list): Doc fix.
17748
275b59b0
NF
177492011-05-06 Noah Friedman <friedman@splode.com>
17750
17751 * apropos.el (apropos-print-doc): Only use
17752 emacs-lisp-docstring-fill-column when it is bound to an integer,
17753 per that variable's documentation.
17754
6c19f744
SM
177552011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17756
17757 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17758 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17759
60f884b2
GM
177602011-05-06 Glenn Morris <rgm@gnu.org>
17761
5006e634
GM
17762 * calendar/appt.el (appt-message-warning-time): Doc fix.
17763 (appt-warning-time-regexp): New option.
17764 (appt-make-list): Respect appt-message-warning-time.
17765
548d0a63
GM
17766 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17767 New options.
17768 (diary-add-to-list): Strip comments from the displayed string.
17769 (diary-mode): Set comment-start and comment-end.
17770
60f884b2
GM
17771 * vc/diff-mode.el (smerge-refine-subst): Declare.
17772 (diff-refine-hunk): Don't require smerge-mode when compiling.
17773
989681bb
JB
177742011-05-06 Juanma Barranquero <lekktu@gmail.com>
17775
17776 * simple.el (list-processes): Return nil as the docstring says.
17777
a6bc05e1
MA
177782011-05-05 Michael Albinus <michael.albinus@gmx.de>
17779
17780 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17781 to "".
17782 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17783 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17784 determining of binary transfer. (Bug#7383)
17785
23c22e9a
MA
177862011-05-05 Michael Albinus <michael.albinus@gmx.de>
17787
c4662635
SM
17788 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17789 Fix port computation bug. (Bug#8618)
23c22e9a 17790
0bff894f
GM
177912011-05-05 Glenn Morris <rgm@gnu.org>
17792
b8296902
GM
17793 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17794
1f522ce8
GM
17795 * simple.el (shell-dynamic-complete-functions)
17796 (comint-dynamic-complete-functions): Declare.
17797
cf5bee67
GM
17798 * net/network-stream.el (gnutls-negotiate):
17799 * simple.el (tabulated-list-print): Fix declarations.
17800
17801 * progmodes/gud.el (syntax-symbol, syntax-point):
17802 Remove unnecessary and incorrect declarations.
17803
0bff894f
GM
17804 * emacs-lisp/check-declare.el (check-declare-scan):
17805 Handle byte-compile-initial-macro-environment in bytecomp.el
17806
9869b3ae
SM
178072011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17808
17809 Fix earlier half-done eieio-defmethod change (bug#8338).
17810 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17811 Streamline and change calling convention.
17812 (defmethod): Adjust accordingly and simplify.
17813 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17814 new eieio--defmethod.
17815 (slot-boundp): Minor CSE simplification.
17816
9c1d5ac5
MZ
178172011-05-05 Milan Zamazal <pdm@zamazal.org>
17818
17819 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17820 (glasses-make-readable): Use glasses-separate-capital-groups.
17821
455c834e
JB
178222011-05-05 Juanma Barranquero <lekktu@gmail.com>
17823
17824 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17825 (warning-series): Doc fix.
17826 (display-warning): Don't try to create the buffer if we just found it.
17827
9ed7c8cb
CY
178282011-05-04 Chong Yidong <cyd@stupidchicken.com>
17829
17830 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17831 (autoload-find-generated-file): New function.
17832 (generate-file-autoloads): Bind generated-autoload-file to
17833 buffer-file-name.
9869b3ae
SM
17834 (update-file-autoloads, update-directory-autoloads):
17835 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17836 output file (Bug#7989).
17837 (batch-update-autoloads): Doc fix.
17838
0898ca10
JB
178392011-05-04 Juanma Barranquero <lekktu@gmail.com>
17840
17841 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17842
31dfb76c
GM
178432011-05-04 Glenn Morris <rgm@gnu.org>
17844
f330b642
GM
17845 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17846 function, so it follows changes in calendar-date-style.
17847 (diary-fancy-date-matcher): New function.
17848 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17849 (diary-fancy-font-lock-fontify-region-function):
17850 Use diary-fancy-date-pattern as a function.
17851
31dfb76c
GM
17852 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17853 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17854
48e79d6a
TZ
178552011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17856
17857 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17858 instead of positional arguments. Allow :keylist and :crlfiles
17859 arguments.
17860 (open-gnutls-stream): Call it.
17861
17862 * net/network-stream.el (network-stream-open-starttls): Adjust to
17863 call `gnutls-negotiate' with :process and :hostname arguments.
17864
dd5a5ee0
SM
178652011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17866
ef80fc09
SM
17867 * minibuffer.el (completion--message): New function.
17868 (completion--do-completion, minibuffer-complete)
17869 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17870 (completion--do-completion): Don't ignore completion-auto-help when in
17871 icomplete-mode.
17872
dd5a5ee0
SM
17873 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17874 internal encoding (e.g. tibetan zero is not whitespace).
17875 (global-whitespace-mode): Prefer save-current-buffer.
17876 (whitespace-trailing-regexp): Remove useless save-match-data.
17877 (whitespace-empty-at-bob-regexp): Minor simplification.
17878
b7d22a83
CY
178792011-05-03 Chong Yidong <cyd@stupidchicken.com>
17880
17881 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17882
5192af46
AM
178832011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17884
17885 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17886 Use `concat' to create string for insertion.
5192af46 17887
5767d190
SM
178882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17889
17890 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17891 Avoid open-line which runs post-self-insert-hook.
17892 (bibtex-fill-entry): Remove unused `end' var.
17893
bf242939
AM
178942011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17895
5767d190
SM
17896 * textmodes/ispell.el (ispell-add-per-file-word-list):
17897 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17898
25666126
LL
178992011-05-03 Leo Liu <sdl.web@gmail.com>
17900
17901 * isearch.el (isearch-yank-pop): New command.
5767d190 17902 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17903 (isearch-forward): Mention it.
17904
52d3c2d0
SM
179052011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17906
1bcace58
SM
17907 * simple.el (minibuffer-complete-shell-command): Remove.
17908 (minibuffer-local-shell-command-map): Use completion-at-point.
17909 (read-shell-command): Setup completion vars here instead.
17910 (read-expression-map): Bind TAB to symbol completion.
17911
52d3c2d0
SM
17912 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17913 error directly rather via storing it into `results'.
17914
35813471
LL
179152011-05-02 Leo Liu <sdl.web@gmail.com>
17916
17917 * vc/diff.el: Fix description.
17918
e793a940
LMI
179192011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17920
17921 * server.el (server-eval-at): New function.
17922
8de66e05
LMI
179232011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17924
17925 * net/network-stream.el (open-network-stream): Take a :nowait
17926 parameter and pass it on to `make-network-process'.
17927 (network-stream-open-plain): Ditto.
17928
dcb79f20
AS
179292011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17930
17931 * faces.el (face-spec-set-match-display): Don't match toolkit
17932 options on terminal frames.
17933
14a7fbd8
SM
179342011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17935
7eabc1be
SM
17936 * progmodes/pascal.el: Use lexical binding.
17937 (pascal-mode-map): Remove author preferences.
17938
14a7fbd8
SM
17939 * pcomplete.el (pcomplete-std-complete): Don't abuse
17940 completion-at-point.
17941
50f84510
JB
179422011-04-28 Juanma Barranquero <lekktu@gmail.com>
17943
6e087a44
JB
17944 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17945 removing code that has been dead since 1991 or so.
17946
50f84510
JB
17947 * startup.el (command-line): When warning about "_emacs", use a
17948 delayed warning to allow the user to filter it out.
17949
0ba690bd
DD
179502011-04-28 Deniz Dogan <deniz@dogan.se>
17951
17952 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17953 user has not joined.
17954
08abfaad
SM
179552011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17956
17957 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17958 aren't any completions at point.
17959
638f053a
JB
179602011-04-28 Juanma Barranquero <lekktu@gmail.com>
17961
17962 * subr.el (display-delayed-warnings): New function.
17963 (delayed-warnings-hook): New variable.
17964
8fff8daa
SM
179652011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17966
08abfaad
SM
17967 * minibuffer.el (completion-at-point, completion-help-at-point):
17968 Don't presume that a given completion-at-point-function will always
17969 use the same calling convention.
17970
8fff8daa
SM
17971 * pcomplete.el (pcomplete-completions-at-point):
17972 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17973 pcomplete-seen is non-nil.
17974 (pcomplete-comint-setup): Also recognize the new comint/shell
17975 completion functions.
17976 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17977 pcomplete-seen is non-nil.
17978
841a1577 179792011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17980
841a1577 17981 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17982 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17983 the first character in the entry. This allows for code to add its
211ec907
UJ
17984 own uid to the entry.
17985 (icalendar--convert-float-to-ical): Add export of
17986 `diary-float'-entries save for those with the optional DAY
17987 argument.
17988
2a782793
DC
179892011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17990
17991 * subr.el (shell-quote-argument): Use alternate escaping strategy
17992 when we spot a variable reference in a string.
17993
0438ce91
DC
179942011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17995
17996 * cus-start.el (all): Define customization for debug-on-event.
17997
841a1577 179982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17999
18000 * subr.el (shell-quote-argument): Escape correctly under Windows.
18001
d090ed6c
SM
180022011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18003
18004 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18005
bfd31217
MA
180062011-04-25 Michael Albinus <michael.albinus@gmx.de>
18007
d090ed6c
SM
18008 * net/tramp.el (tramp-process-actions): Add POS argument.
18009 Delete region between POS and (pos).
bfd31217 18010
d090ed6c
SM
18011 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18012 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18013 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18014
18015 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18016 position in `tramp-process-actions' call.
18017
18018 * net/trampver.el: Update release number.
18019
e92f3bd3
SM
180202011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18021
850256b5
SM
18022 * custom.el (defcustom): Obey lexical-binding.
18023
e92f3bd3
SM
18024 Fix octave-inf completion problems reported by Alexander Klimov.
18025 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18026 Inherit from octave-mode-syntax-table.
18027 (inferior-octave-mode): Set info-lookup-mode.
18028 (inferior-octave-completion-at-point): New function.
18029 (inferior-octave-complete): Use it and completion-in-region.
18030 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18031 comint-filename-completion.
18032 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18033 symbol elements which shouldn't be word elements.
18034 (octave-font-lock-keywords, octave-beginning-of-defun)
18035 (octave-function-header-regexp): Adjust regexps accordingly.
18036 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18037
cd22b309
JB
180382011-04-25 Juanma Barranquero <lekktu@gmail.com>
18039
18040 * net/gnutls.el (gnutls-errorp): Declare before first use.
18041
8b492194
TZ
180422011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18043
18044 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18045 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18046 default trustfile exists before going to use it. Add missing
5a5fa834 18047 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18048 Reported by Claudio Bley <claudio.bley@gmail.com>.
18049 (open-gnutls-stream): Add usage example.
18050
18051 * net/network-stream.el (network-stream-open-starttls): Give host
18052 parameter to `gnutls-negotiate'.
18053 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18054 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18055
841a1577 180562011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18057
cd22b309
JB
18058 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18059 Use correct match group (bug#8438).
05842630 18060
3ba7869c
CY
180612011-04-24 Chong Yidong <cyd@stupidchicken.com>
18062
512e3ae1
CY
18063 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18064 (package-menu--generate): New arg specifying packages to show.
18065 (package-menu-refresh, package-menu-execute, list-packages):
18066 Callers changed.
18067 (package-show-package-list): New function, replacing deleted
18068 package--list-packages (renamed because it is non-internal).
18069
18070 * finder.el (finder-list-matches): Use package-show-package-list
18071 instead of deleted package--list-packages.
18072
e92f3bd3
SM
18073 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18074 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18075 (vc-annotate-mode-map): Bind it to RET.
18076
7031be6d
UR
180772011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18078
18079 * progmodes/etags.el (next-file): Don't use set-buffer to change
18080 buffers (Bug#8478).
18081
4ef177aa
CY
180822011-04-24 Chong Yidong <cyd@stupidchicken.com>
18083
c8d173eb
CY
18084 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18085
4ef177aa
CY
18086 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18087 (apropos-accumulator): Doc fix.
18088 (apropos-function, apropos-macro, apropos-command)
18089 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18090 (apropos-plist): Add face property.
18091 (apropos-symbols-internal): Fix indentation.
18092 (apropos-print): Simplify help, and recognize apropos-multi-type.
18093 (apropos-print-doc): Use button-type-get to extract the button's
18094 face property. Fill docstring (Bug#8352).
18095
4ffd0d6b 180962011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18097
18098 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18099
c6c32125 18100 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18101 (mpuz-mode-map): Use mapc.
c6c32125
JB
18102 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18103 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18104 Fix typos in docstrings.
18105
58d468b4
JB
18106 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18107 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18108
6470c3c6
JB
18109 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18110
4ffd0d6b 181112011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18112
18113 * minibuffer.el (completion--do-completion): Avoid the "Next char
18114 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18115
3ad8bad0
CY
18116 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18117 mouse-2 into unread-command-events, it is interpreted correctly.
18118
71d73c9c 18119 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18120 (image-toggle-display): Doc fix.
71d73c9c 18121
841a1577 181222011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18123
4ffd0d6b
GM
18124 * textmodes/page.el (what-page): Use line-number-at-pos to
18125 calculate line number (Bug#6825).
6e1dbaa9 18126
c2fb1b60
JB
181272011-04-22 Juanma Barranquero <lekktu@gmail.com>
18128
18129 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18130 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18131 Pass argument NO-DEFAULT to `find-tag-interactive'.
18132
e02f48d7
JB
181332011-04-22 Juanma Barranquero <lekktu@gmail.com>
18134
18135 Lexical-binding cleanup.
18136
18137 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18138 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18139 * progmodes/ada-prj.el (ada-prj-initialize-values)
18140 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18141 (ada-prj-show-value):
18142 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18143 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18144 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18145 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18146 * progmodes/bug-reference.el (bug-reference-push-button):
18147 * progmodes/fortran.el (fortran-line-length):
18148 * progmodes/glasses.el (glasses-change):
18149 * progmodes/octave-mod.el (octave-fill-paragraph):
18150 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18151 (python-pdbtrack-grub-for-buffer, python-sentinel):
18152 * progmodes/sql.el (sql-save-connection):
18153 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18154 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18155 Mark unused parameters.
18156
18157 * progmodes/compile.el (compilation--flush-directory-cache)
18158 (compilation--flush-parse, compile-internal): Mark unused parameters.
18159 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18160 (compilation-next-error-function): Remove unused variable `timestamp'.
18161
18162 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18163 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18164
18165 * progmodes/dcl-mode.el (dcl-end-of-command):
18166 Remove unused variable `start'.
18167 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18168 (dcl-option-value-basic, dcl-option-value-offset)
18169 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18170 Mark unused parameters.
18171 (dcl-save-local-variable): Remove unused variable `val'.
18172 (mode): Declare.
18173
18174 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18175 Mark unused parameters.
18176 (delphi-ignore-changes): Move before first use.
18177 (delphi-charset-token-at): Remove unused variable `start'.
18178 (delphi-else-start): Remove unused variable `if-count'.
18179 (delphi-comment-block-start, delphi-comment-block-end):
18180 Remove unused variable `kind'.
18181 (delphi-indent-line): Remove unused variable `new-point'.
18182
18183 * progmodes/ebrowse.el (ebrowse-files-list)
18184 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18185 Mark unused parameters. Don't quote `lambda'.
18186 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18187 Don't quote `lambda'.
18188 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18189 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18190 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18191 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18192 Use `ignore-errors'.
18193 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18194 (ebrowse-view/find-file-and-search-pattern)
18195 (ebrowse-view/find-member-declaration/definition):
18196 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18197 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18198 Rename parameter PREFIX-ARG to PREFIX.
18199 (ebrowse-tags-read-name): Remove unused variables `start' and
18200 `member-info'.
18201 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18202 to `tags-file'.
18203
18204 * progmodes/etags.el (local-find-tag-hook): Declare.
18205 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18206 Mark unused parameters.
18207
18208 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18209 (executable-interpret): Mark unused parameter.
18210
18211 * progmodes/flymake.el (flymake-process-sentinel)
18212 (flymake-after-change-function)
18213 (flymake-create-temp-with-folder-structure)
18214 (flymake-get-include-dirs-dot): Mark unused parameters.
18215 (flymake-safe-delete-directory): Remove unused variable `err'.
18216
18217 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18218 (speedbar-timer-fn, speedbar-line-text)
18219 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18220 (speedbar-center-buffer-smartly): Declare functions.
18221 (gdb-find-watch-expression): Remove unused variable `array'.
18222 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18223 (gdb-starting): Mark unused parameters.
18224 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18225 (gdb-table-string): Remove unused variable `res'.
18226 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18227 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18228 (gdb-display-buffer): Remove unused variable `cur-size'.
18229
18230 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18231 allow lexical-binding compilation.
18232 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18233 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18234 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18235 Mark unused parameters.
18236 (gud-gdb-marker-filter): Remove unused variable `match'.
18237 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18238 lambda expressions and funcall them, instead of using `fset'.
18239
18240 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18241 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18242
18243 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18244 variable `header-beg'; use `let'.
18245
18246 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18247 `restart', `last-sexp' and `at-do'.
18248
18249 * progmodes/js.el (js--debug): Mark unused parameter.
18250 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18251 (js--splice-into-items): Remove unused variable `item'.
18252 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18253
18254 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18255 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18256 (makefile-complete): Remove unused variable `try'.
18257 (makefile-fill-paragraph, makefile-match-function-end):
18258 Mark unused parameters.
18259
18260 * progmodes/octave-inf.el (inferior-octave-complete):
18261 Remove unused variable `proc'.
18262 (inferior-octave-output-digest): Mark unused parameter.
18263
18264 * progmodes/perl-mode.el (perl-calculate-indent):
18265 Remove unused variable `err'.
18266
18267 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18268 (prolog-indent-line): Mark unused parameters.
18269 (prolog-indent-line): Remove unused variable `beg'.
18270
18271 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18272 (reporter-dont-compact-list): Declare.
18273
18274 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18275 Remove unused variable `char'.
18276 (sh-debug): Mark unused parameter.
18277 (sh-get-indent-info): Remove unused variable `start'.
18278 (sh-calculate-indent): Remove unused variable `var'.
18279
18280 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18281 (simula-electric-keyword): Remove unused variable `null'.
18282 (simula-search-backward, simula-search-forward): Remove unused
18283 variables `begin' and `end'.
18284
18285 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18286 Remove unused variable `pos'.
18287 (vera-electric-tab, vera-comment-uncomment-region):
18288 Mark unused parameters.
18289 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18290
7ede3b65
CY
182912011-04-22 Chong Yidong <cyd@stupidchicken.com>
18292
18293 * emacs-lisp/package.el (package--builtins, package-alist)
18294 (package-load-descriptor, package-built-in-p, package-activate)
18295 (define-package, package-installed-p)
18296 (package-compute-transaction, package-buffer-info)
18297 (package--push): Doc fix. Distinguish more clearly between
18298 version strings and version lists.
18299
121656e9
JB
183002011-04-21 Juanma Barranquero <lekktu@gmail.com>
18301
18302 Lexical-binding cleanup.
18303
18304 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18305 (5x5-make-mutate-best):
18306 * play/fortune.el (fortune-in-buffer):
18307 * play/gomoku.el (gomoku-init-display):
18308 * play/solitaire.el (solitaire, solitaire-do-check):
18309 * play/tetris.el (tetris-default-update-speed-function):
18310 Mark unused parameters.
18311
18312 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18313 (bubbles--shift): Remove unused variable `char-org'.
18314 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18315 (bubbles--show-images): Remove unused variable `char'.
18316
18317 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18318 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18319 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18320 (decipher-analyze-buffer): Use ?\s.
18321 (decipher-make-checkpoint): Remove unused variable `mapping'.
18322
18323 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18324
18325 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18326 Remove unused variable `result'; use `let'.
18327
18328 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18329 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18330 (gametree-children-shown-p, gametree-compute-reduced-score):
18331 Use `ignore-errors'.
18332
18333 * play/handwrite.el (ps-lpr-switches): Declare.
18334 (handwrite): Remove unused variables `pmin' and `lastp'.
18335
18336 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18337
18338 * play/landmark.el (landmark-init-display)
18339 (landmark-update-naught-weights): Mark unused parameters.
18340 (landmark-y): Remove unused variable `noise'. Simplify.
18341 (landmark-human-plays): Remove unused variable `score'.
18342
18343 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18344 (mpuz-try-proposal): Remove unused variable `game'.
18345
18346 * play/zone.el (life-patterns): Declare.
18347
80f499c7
JB
183482011-04-20 Juanma Barranquero <lekktu@gmail.com>
18349
18350 * vc/vc.el (ediff-vc-internal): Declare function.
18351
024ff170
SM
183522011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18353
c0a193ea
SM
18354 * shell.el: Use lexical-binding and std completion UI.
18355 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18356 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18357 comint-preoutput-filter-functions rather than on
18358 comint-output-filter-functions.
18359 (shell-command-completion, shell--command-completion-data)
18360 (shell-filename-completion, shell-environment-variable-completion)
18361 (shell-c-a-p-replace-by-expanded-directory): New functions.
18362 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18363 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18364 (shell-dynamic-complete-environment-variable): Use them.
18365 (shell-dynamic-complete-as-environment-variable)
18366 (shell-dynamic-complete-as-command): Remove.
18367 (shell-match-partial-variable): Match past point.
18368 * comint.el: Clean up use of completion-at-point-functions.
18369 (comint-completion-at-point): New function.
18370 (comint-mode): Use it completion-at-point-functions.
18371 (comint-dynamic-complete): Make it obsolete.
18372 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18373 (comint-c-a-p-replace-by-expanded-history): New function.
18374 (comint-dynamic-complete-functions)
18375 (comint-replace-by-expanded-history): Use it.
18376 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18377 termination strings. Try harder to avoid second try-completion.
18378 (completion-in-region-mode-map): Disable bindings that don't work yet.
18379
2dbaa080
SM
18380 * comint.el: Use lexical-binding. Require CL.
18381 (comint-dynamic-complete-functions): Use comint-filename-completion.
18382 (comint-completion-addsuffix): Tweak custom type.
18383 (comint-filename-completion, comint--common-suffix)
18384 (comint--common-quoted-suffix, comint--table-subvert)
18385 (comint--complete-file-name-data): New functions.
18386 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18387 (comint-dynamic-list-filename-completions): Use them.
18388 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18389
2dbaa080
SM
18390 * minibuffer.el (completion-in-region-mode):
18391 Keep completion-in-region-mode--predicate global.
18392 (completion-in-region--postch):
18393 Assume completion-in-region-mode--predicate is not null.
18394
c79a6f38
SM
18395 * progmodes/flymake.el (flymake-start-syntax-check-process):
18396 Obey `dir'. Simplify.
18397
024ff170
SM
18398 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18399 we're in VC after all.
18400
1c6c854e
CS
184012011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18402
18403 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18404 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18405 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18406
bed7f140
SM
184072011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18408
332e62ab
SM
18409 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18410 add sanity check.
18411
bed7f140
SM
18412 * obsolete/erc-hecomplete.el: Make obsolete.
18413 * obsolete/: Standardize obsolescence info in the header.
18414
f195c582
GM
184152011-04-20 Glenn Morris <rgm@gnu.org>
18416
18417 * calendar/solar.el (solar-horizontal-coordinates):
18418 Use the longitude argument rather than `calendar-longitude'.
18419 (solar-date-next-longitude): Remove unused locals.
18420
cb79b8c0
VJL
184212011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18422
18423 * whitespace.el: New version 13.2.1.
18424
184252011-04-20 felix <EmacsWiki> (tiny change)
18426
d8e4b68b 18427 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18428 switching between major modes on a file.
18429
602ea69d
SM
184302011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18431
18432 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18433 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18434 multi-line comments as well.
18435
06b60517
JB
184362011-04-19 Juanma Barranquero <lekktu@gmail.com>
18437
18438 Lexical-binding cleanup.
18439
18440 * arc-mode.el (archive-mode-revert):
18441 * cmuscheme.el (scheme-interactively-start-process):
18442 * custom.el (custom-initialize-delay):
18443 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18444 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18445 * emacs-lock.el (emacs-lock-clear-sentinel):
18446 * ezimage.el (defezimage):
18447 * follow.el (follow-avoid-tail-recenter):
18448 * fringe.el (set-fringe-mode-1):
18449 * generic-x.el (bat-generic-mode-compile):
18450 * help-mode.el (help-info-variable, help-do-xref)
18451 (help-mode-revert-buffer):
18452 * help.el (view-emacs-todo):
18453 * iswitchb.el (iswitchb-completion-help):
18454 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18455 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18456 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18457 * locate.el (locate-update):
18458 * longlines.el (longlines-encode-region)
18459 (longlines-after-change-function):
18460 * outline.el (outline-isearch-open-invisible):
18461 * ps-def.el (declare-function, charset-dimension, char-width)
18462 (encode-char):
18463 * ps-mule.el (ps-mule-plot-string):
18464 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18465 (recentf-edit-list-select, recentf-edit-list-validate)
18466 (recentf-open-files-action):
18467 * rect.el (delete-whitespace-rectangle-line)
18468 (rectangle-number-line-callback):
18469 * register.el (window-configuration-to-register)
18470 (frame-configuration-to-register):
18471 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18472 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18473 (xselect-convert-to-targets, xselect-convert-to-delete)
18474 (xselect-convert-to-filename, xselect-convert-to-charpos)
18475 (xselect-convert-to-lineno, xselect-convert-to-colno)
18476 (xselect-convert-to-os, xselect-convert-to-host)
18477 (xselect-convert-to-user, xselect-convert-to-class)
18478 (xselect-convert-to-name, xselect-convert-to-integer)
18479 (xselect-convert-to-atom, xselect-convert-to-identity):
18480 * subr.el (declare, ignore, process-kill-without-query)
18481 (text-clone-maintain):
18482 * terminal.el (te-get-char, te-tic-sentinel):
18483 * tool-bar.el (tool-bar-make-keymap):
18484 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18485 * type-break.el (type-break-mode, type-break-noninteractive-query):
18486 * view.el (View-back-to-mark):
18487 * wid-browse.el (widget-browse-action, widget-browse-widget)
18488 (widget-browse-widgets, widget-browse-sexp):
18489 * widget.el (define-widget-keywords):
18490 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18491 Mark unused parameters.
18492
18493 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18494 (align-areas): Remove unused variable `look'.
18495 (align-region): Remove unused variables `real-end' and `pos-list'.
18496
18497 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18498
18499 * bindings.el (mode-line-modified, mode-line-remote):
18500 Mark unused parameters.
18501 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18502
18503 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18504 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18505
18506 * comint.el (comint-history-isearch-pop-state)
18507 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18508 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18509 (comint-substitute-in-file-name): Doc fix.
18510
18511 * completion.el (cmpl-statistics-block): Mark unused parameter.
18512 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18513 (save-completions-to-file, load-completions-from-file):
18514 Remove unused local variable `e'.
18515
18516 * composite.el (compose-chars): Remove unused variable `len'.
18517 (lgstring-insert-glyph): Remove unused variable `g'.
18518 (compose-glyph-string): Remove unused variables `ascent',
18519 `descent', `lbearing' and `rbearing'.
18520 (compose-glyph-string-relative): Remove unused variables
18521 `lbearing', `rbearing' and `wadjust'.
18522 (compose-gstring-for-graphic): Remove unused variables `header',
18523 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18524 (compose-gstring-for-terminal): Remove unused variables `header'
18525 and `nchars'. Use `let', not `let*'.
18526
18527 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18528 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18529 (Custom-buffer-done, custom-buffer-create-internal)
18530 (custom-browse-visibility-action, custom-browse-group-tag-action)
18531 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18532 (widget-magic-mouse-down-action, custom-toggle-parent)
18533 (custom-add-parent-links, custom-toggle-hide-variable)
18534 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18535 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18536 (custom-face-menu-create, custom-variable-menu-create, get)
18537 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18538 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18539 (customize-apropos): Remove unused variable `tests'.
18540 (custom-group-value-create): Remove unused variable `hidden-p'.
18541 (sort-fold-case): Declare.
18542
18543 * cus-theme.el (custom-reset-standard-faces-list)
18544 (custom-reset-standard-variables-list): Declare.
18545 (customize-create-theme, custom-theme-revert, custom-theme-write)
18546 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18547 Mark unused parameters.
18548
18549 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18550
18551 * delim-col.el (delimit-columns-max): Move defvar before first use.
18552
18553 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18554 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18555
18556 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18557 (auto-insert): Declare.
18558 (desktop-restore-file-buffer): Rename desktop-* parameters;
18559 mark unused ones.
18560 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18561 (desktop-buffer): Rename desktop-* parameters.
18562
18563 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18564 (dframe-reposition-frame-xemacs, dframe-help-echo)
18565 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18566 Mark unused parameters.
18567
18568 * dired-aux.el (backup-extract-version-start, overwrite-query)
18569 (overwrite-backup-query, rename-regexp-query)
18570 (rename-non-directory-query): Declare.
18571 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18572 (dired-add-entry): Remove unused variable `orig-file-name'.
18573 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18574 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18575 `dired-copy-preserve-time' directly.
18576 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18577 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18578
18579 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18580 (dired-virtual-revert, dired-make-relative-symlink):
18581 Mark unused parameters.
18582 (manual-program): Declare.
18583 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18584 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18585 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18586
18587 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18588
18589 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18590
18591 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18592 Declare.
18593
18594 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18595
18596 * electric.el (Electric-command-loop): Rename parameter
18597 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18598
18599 * expand.el (expand-in-literal): Remove unused variable `here'.
18600
18601 * facemenu.el (facemenu-add-new-color):
18602 Remove unused variable `docstring'.
18603
18604 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18605 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18606 (face-attr-construct): Mark unused parameter. Doc fix.
18607 (read-color): Remove unused variable `hex-string'.
18608
18609 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18610 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18611 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18612 (display-buffer-other-frame): Remove unused variable `old-window'.
18613 (kill-buffer-hook): Declare.
18614 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18615 Mark unused parameters.
18616 (after-find-file): Pass 1 to `auto-save-mode', not t.
18617
18618 * files-x.el (auto-insert): Declare.
18619 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18620
18621 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18622 variable `buf'. Mark unused parameter.
06b60517
JB
18623 (find-lisp-insert-directory): Mark unused parameter.
18624
18625 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18626 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18627 (format-common-tail): Remove, unused.
18628 (format-deannotate-region): Remove unused variable `loc'.
18629 (format-annotate-region): Remove unused variable `p'.
18630 (format-annotate-single-property-change): Remove unused variables
18631 `default' and `tail'.
18632
18633 * forms.el (read-file-filter): Declare.
18634 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18635
18636 * frame.el (frame-creation-function-alist): Mark unused parameter.
18637 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18638
18639 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18640 Remove unused parameters.
18641 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18642 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18643
18644 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18645 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18646 (hfy-prepare-tag-map): Mark unused parameters.
18647 (htmlfontify-buffer): Use `called-interactively-p'.
18648
18649 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18650 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18651 (ibuffer-do-occur): Mark unused parameters.
18652 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18653 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18654
18655 * ibuffer.el: Don't quote `lambda'.
18656 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18657 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18658 Mark unused parameters.
18659
18660 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18661 (ido-completing-read): Mark unused parameters.
18662 (ido-copy-current-word): Mark unused parameters;
18663 remove unused variable `name'.
18664 (ido-sort-merged-list): Remove unused parameter `dirs'.
18665
18666 * ielm.el (ielm-input-sender): Mark unused parameter.
18667 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18668 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18669 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18670 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18671 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18672
18673 * image-dired.el (image-dired-display-thumbs): Remove unused
18674 variables `curr-file' and `count'.
18675 (image-dired-remove-tag): Remove unused variable `start'.
18676 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18677 variable `curr-file'
18678 (image-dired-rotate-original): Remove unused variable `temp-file'.
18679 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18680 Remove unused variable `file'.
18681 (image-dired-gallery-generate): Remove unused variable `curr'.
18682 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18683
18684 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18685
18686 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18687
18688 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18689
18690 * isearch.el (minibuffer-history-symbol): Declare.
18691 (isearch-edit-string): Remove unused variable `err'.
18692 (isearch-message-prefix, isearch-message-suffix):
18693 Mark unused parameters.
18694
18695 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18696
18697 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18698
18699 * makesum.el (double-column): Remove unused variable `cnt'.
18700
18701 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18702 (ido-ignore-item-temp-list): Declare.
18703
18704 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18705 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18706 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18707 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18708 `mouse-col-delta'.
18709
18710 * mouse-sel.el (mouse-extend-internal):
18711 Remove unused variable `orig-window-frame'.
18712
18713 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18714 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18715 Move declarations before first use.
18716 (pcomplete-opt): Mark unused parameters; doc fix.
18717
18718 * proced.el (proced-revert): Mark unused parameter.
18719 (proced-send-signal): Remove unused variable `err'.
18720
18721 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18722 Rename parameter PREFIX-ARG to ARG.
18723 (ps-basic-plot-string, ps-basic-plot-whitespace):
18724 Mark unused parameters.
18725
18726 * replace.el (replace-count): Define.
18727 (occur-revert-function): Mark unused parameters.
18728 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18729 (isearch-case-fold-search, isearch-string): Declare.
18730 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18731 bind `case-fold-search'. Remove unused variables `beg' and `end',
18732 and simplify.
18733 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18734 COUNT and bind `replace-count'.
18735 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18736 to COUNT.
18737
18738 * savehist.el (print-readably, print-string-length): Declare.
18739
18740 * shadowfile.el (shadow-expand-cluster-in-file-name):
18741 Remove unused variable `cluster'.
18742 (shadow-copy-file): Remove unused variable `i'.
18743 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18744 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18745 (shadow-define-literal-group, shadow-define-regexp-group)
18746 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18747
18748 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18749 (shell): Use `called-interactively-p'.
18750 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18751
18752 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18753 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18754 (delete-backward-char): Remove unused variable `ocol'.
18755 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18756 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18757 (event-apply-hyper-modifier, event-apply-shift-modifier)
18758 (event-apply-control-modifier, event-apply-meta-modifier):
18759 Mark unused parameters.
18760 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18761 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18762
18763 * speedbar.el (speedbar-ignored-directory-expressions)
18764 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18765 (speedbar-find-file, speedbar-dir-follow)
18766 (speedbar-directory-buttons-follow, speedbar-tag-find)
18767 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18768 (speedbar-buffers-line-directory, speedbar-buffer-click):
18769 Mark unused parameters.
18770 (speedbar-tag-file): Remove unused variable `mode'.
18771 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18772
18773 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18774
18775 * talk.el (talk): Remove unused variable `display'.
18776
18777 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18778 (tar-write-region-annotate): Mark unused parameter.
18779
18780 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18781 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18782 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18783 warning by another.
18784
18785 * time-stamp.el (time-stamp-string-preprocess):
18786 Remove unused variable `require-padding'.
18787
18788 * tree-widget.el (widget-glyph-enable): Declare.
18789 (tree-widget-action): Mark unused parameter.
18790
18791 * w32-fns.el (x-get-selection): Mark unused parameter.
18792 (autoload-make-program, generated-autoload-file): Declare.
18793
18794 * wdired.el (wdired-revert): Mark unused parameters.
18795 (wdired-xcase-word): Remove unused variable `err'.
18796
18797 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18798 (whitespace-help-scroll): Remove unused variable `data-help'.
18799
18800 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18801 (widget-image-insert, widget-after-change, default)
18802 (widget-default-format-handler, widget-default-notify)
18803 (widget-default-prompt-value, widget-info-link-action)
18804 (widget-url-link-action, widget-function-link-action)
18805 (widget-variable-link-action, widget-file-link-action)
18806 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18807 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18808 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18809 (widget-insert-button-action, widget-delete-button-action, visibility)
18810 (widget-documentation-link-action, widget-documentation-string-action)
18811 (widget-const-prompt-value, widget-regexp-match, symbol)
18812 (widget-coding-system-prompt-value)
18813 (widget-key-sequence-value-to-external, sexp)
18814 (widget-sexp-value-to-internal, character, vector, cons)
18815 (widget-choice-prompt-value, widget-boolean-prompt-value)
18816 (widget-color--choose-action): Mark unused parameters.
18817 (widget-item-match-inline, widget-choice-match-inline)
18818 (widget-checklist-match, widget-checklist-match-inline)
18819 (widget-group-match): Rename parameter VALUES to VALS.
18820 (widget-field-value-set): Remove unused variable `size'.
18821 (widget-color-action): Remove unused variables `value' and `start'.
18822
18823 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18824 variable `dir'. Doc fix.
06b60517
JB
18825 (windmove-find-other-window): Don't pass it.
18826
18827 * window.el (count-windows): Mark unused parameter.
18828 (bw-adjust-window): Remove unused variable `err'.
18829
18830 * woman.el (woman-file-name): Remove unused variable `default'.
18831 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18832 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18833 (global-font-lock-mode): Declare.
18834 (woman-decode-region): Mark unused parameter.
18835 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18836
18837 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18838 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18839 (x-dnd-handle-moz-url): Remove unused variable `title'.
18840 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18841
18842 * xml.el (xml-parse-tag, xml-parse-attlist):
18843 Remove unused variable `pos'.
18844
bc4f7f3d
GM
188452011-04-19 Glenn Morris <rgm@gnu.org>
18846
18847 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18848 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18849 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18850 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18851 * calendar/cal-html.el (cal-html-insert-minical):
18852 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18853 (calendar-mark-date-pattern):
18854 Prefix "unused" locals.
18855
18856 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18857 optional argument `style'.
18858
18859 * calendar/appt.el (appt-make-list):
18860 * calendar/cal-china.el (calendar-chinese-date-string):
18861 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18862 (diary-hebrew-yahrzeit):
18863 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18864 * calendar/calendar.el (calendar-generate-window):
18865 * calendar/time-date.el (time-to-days):
18866 Remove unused local variables.
18867
16a43933
CY
188682011-04-18 Chong Yidong <cyd@stupidchicken.com>
18869
18870 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18871 glyphless-char-display table.
18872 (tabulated-list-glyphless-char-display): New var.
18873
7eed1860
SS
188742011-04-18 Sam Steingold <sds@gnu.org>
18875
18876 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18877 to acknowledgments.
18878
4d2d1ccd
GM
188792011-04-17 Glenn Morris <rgm@gnu.org>
18880
18881 * calendar/diary-lib.el (diary-sexp-entry):
18882 * calendar/holidays.el (holiday-sexp):
18883 Set debug-on-error rather than the removed stack-trace-on-error.
18884
239da61d
GM
188852011-04-16 Glenn Morris <rgm@gnu.org>
18886
18887 * progmodes/f90.el: Use lexical-binding.
18888 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18889
8b05752a
SM
188902011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18891
daca8ba5
SM
18892 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18893 (mail-mode): Setup mailalias completion here instead.
18894 * mail/mailalias.el: Use lexical-binding.
18895 (pattern, mailalias-done): Declare dynamic.
18896 (mail-completion-at-point-function): New function, from mail-complete.
18897 (mail-complete): Use it.
18898 (mail-completion-expand): New function.
18899 (mail-get-names): Use it.
18900 (mail-directory, mail-directory-process, mail-directory-stream):
18901 Don't use `pattern' for lexically bound arg.
18902
6f542485
SM
18903 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18904
037e7c3f
SM
18905 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18906 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18907 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18908
8b05752a
SM
18909 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18910 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18911 (byte-interactive-p): Define them again, for use when inlining
18912 old code.
18913
49093f60
JB
189142011-04-15 Juanma Barranquero <lekktu@gmail.com>
18915
18916 * loadup.el: Use `string-to-number', not `string-to-int'.
18917
b5b8e7de
SM
189182011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18919
18920 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18921 gud-gdb-complete-command.
18922 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18923 (gud-gdb-completion-at-point): New function.
18924 (gud-gdb-completions): Remove.
18925
f42efeb5
MA
189262011-04-14 Michael Albinus <michael.albinus@gmx.de>
18927
49093f60
JB
18928 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18929 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18930 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18931 whether `executable-find' is bound.
f42efeb5
MA
18932
18933 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18934
e240cc21
SM
189352011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18936
18937 * minibuffer.el (completion-in-region-mode-predicate)
18938 (completion-in-region-mode--predicate): New vars.
18939 (completion-in-region, completion-in-region--postch)
18940 (completion-in-region-mode): Use them.
18941 (completion--capf-wrapper): Also return the hook function.
18942 (completion-at-point, completion-help-at-point):
18943 Adjust and provide a predicate.
c2bd2ab0
SM
18944
18945 Preserve arg names for advice of subr and lexical functions (bug#8457).
18946 * help-fns.el (help-function-arglist): Consolidate the subr and
18947 new-byte-code cases. Add argument `preserve-names' to extract names
18948 from the docstring when needed.
18949 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18950 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18951 (ad-arglist): Use help-function-arglist's new arg.
18952 (ad-definition-type): Use cond.
18953
c183f693
JB
189542011-04-13 Juanma Barranquero <lekktu@gmail.com>
18955
06641a47
JB
18956 * autorevert.el (auto-revert-handler):
18957 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18958 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18959 Don't quote lambda.
18960
c183f693
JB
18961 * image-mode.el (image-transform-set-scale):
18962 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18963
1e3b6001
G
189642011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18965
18966 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18967 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18968 Upgrades via gnutls-cli are too slow to be done opportunistically.
18969
2d6af8dd
JB
189702011-04-12 Juanma Barranquero <lekktu@gmail.com>
18971
18972 * dframe.el (dframe-current-frame): Remove spurious quote.
18973
c0749a51
GM
189742011-04-12 Glenn Morris <rgm@gnu.org>
18975
088d0d61
GM
18976 * calendar/cal-tex.el (cal-tex-end-document):
18977 Try to automatically use latin1 input if needed.
18978
c0749a51
GM
18979 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18980 Don't try to cons a mark onto an empty element.
18981
5c90fde0
LL
189822011-04-11 Leo Liu <sdl.web@gmail.com>
18983
18984 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18985 buffers.
18986 (ido-kill-buffer-at-head): Support killing virtual buffers.
18987
369e974d
CY
189882011-04-10 Chong Yidong <cyd@stupidchicken.com>
18989
18990 * minibuffer.el (completion-show-inline-help): New var.
18991 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18992 (minibuffer-force-complete, minibuffer-complete-word):
18993 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18994
18995 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18996 to avoid interference from inline help (Bug#5849).
18997
37f1c930
LL
189982011-04-10 Leo Liu <sdl.web@gmail.com>
18999
099c39a4
JB
19000 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19001 Fix typo.
37f1c930 19002
a32d4040
CY
190032011-04-09 Chong Yidong <cyd@stupidchicken.com>
19004
19005 * image-mode.el (image-toggle-display-image): Signal an error if
19006 not in Image mode.
19007 (image-transform-mode, image-transform-resize)
19008 (image-transform-set-rotation): Doc fix.
daca8ba5 19009 (image-transform-set-resize): Delete.
a32d4040
CY
19010 (image-transform-set-scale, image-transform-fit-to-height)
19011 (image-transform-fit-to-width): Handle image-toggle-display-image
19012 and image-transform-resize directly.
19013
099c39a4 190142011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19015
19016 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19017 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19018 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19019 (doc-view-mode-map): Add bindings for the new functions.
19020
099c39a4 190212011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19022
4d61f28d 19023 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19024 Fix typo in docstring.
19025
3726838a
EZ
190262011-04-08 Eli Zaretskii <eliz@gnu.org>
19027
04f33f1e
EZ
19028 * files.el (file-size-human-readable): Produce one digit after
19029 decimal, like "ls -lh" does.
19030
19031 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19032 the file size representation.
19033
3726838a
EZ
19034 * simple.el (list-processes): If async subprocesses are not
19035 available, error out with a clear error message.
19036
cbb59342
CY
190372011-04-08 Chong Yidong <cyd@stupidchicken.com>
19038
19039 * help.el (help-form-show): New function, to be called from C.
19040 Put help-form output in a buffer named differently than *Help*.
19041
e3971c44
EZ
190422011-04-08 Eli Zaretskii <eliz@gnu.org>
19043
19044 * files.el (file-size-human-readable): New function.
19045
19046 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19047 computing the representation inline. Don't require `cl'.
19048
12544bbe
GM
190492011-04-08 Glenn Morris <rgm@gnu.org>
19050
a1de6c6a
GM
19051 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19052
3c4671f4
GM
19053 * net/browse-url.el (browse-url-firefox):
19054 Test system-type, not system-configuration.
19055
b605679c
GM
19056 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19057 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19058 Use log-edit-empty-buffer-p. (Bug#7598)
19059
56442f0c
GM
19060 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19061 (rlogin-mode-map): Initialize in the defvar.
19062 (rlogin): Use ignore-errors.
19063
12544bbe
GM
19064 * replace.el (occur-mode-map): Some fixes for menu items.
19065
eb237b0f
AH
190662011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19067
19068 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19069
7d668f2c
CY
190702011-04-06 Chong Yidong <cyd@stupidchicken.com>
19071
e67a13ab
CY
19072 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19073 issuing unused warnings.
19074
19075 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19076 macro directly.
19077
7d668f2c
CY
19078 * simple.el: Lisp reimplement of list-processes. Based on an
19079 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19080 (process-menu-mode): New major mode.
19081 (list-processes--refresh, list-processes):
19082 (process-menu-visit-buffer): New functions.
19083
19084 * files.el (save-buffers-kill-emacs): Don't assume any return
19085 value of list-processes, which is undocumented anyway.
19086
a83ec3c9
CY
190872011-04-06 Chong Yidong <cyd@stupidchicken.com>
19088
19089 * emacs-lisp/tabulated-list.el: New file.
19090
e91a96fe
CY
19091 * emacs-lisp/package.el: Use Tabulated List mode.
19092 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19093 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19094 table format using Tabulated List mode variables.
19095 (package--push): New macro, replacing package-list-maybe-add.
19096 (package-menu--generate): Use package--push. Renamed from
19097 package--generate-package-list.
19098 (package-menu-refresh, list-packages): Use it.
daca8ba5 19099 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19100 Return insertion data instead of inserting it directly.
099c39a4
JB
19101 (package-menu-describe-package, package-menu-execute):
19102 Use tabulated-list-get-id.
e91a96fe
CY
19103 (package-menu-mark-delete, package-menu-mark-install)
19104 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19105 (package-menu-mark-obsolete-for-deletion):
19106 Use tabulated-list-put-tag.
e91a96fe
CY
19107 (package--list-packages, package-menu-revert)
19108 (package-menu-get-package, package-menu-get-version)
19109 (package-menu-sort-by-column): Functions deleted.
19110 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19111 (package-menu--status-predicate, package-menu--version-predicate)
19112 (package-menu--name-predicate)
19113 (package-menu--description-predicate): Handle arguments in the
19114 Tabulated List format.
19115 (package-list-packages-no-fetch): Call list-packages.
19116
3e214b50
JB
191172011-04-06 Juanma Barranquero <lekktu@gmail.com>
19118
19119 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19120 (after-find-file): Don't bind it.
3e214b50
JB
19121 (revert-buffer-in-progress-p): New variable.
19122 (revert-buffer): Bind it.
19123 Pass nil for `after-find-file-from-revert-buffer'.
19124
19125 * saveplace.el (save-place-find-file-hook): Use new variable
19126 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19127
3f0f1700
GM
191282011-04-06 Glenn Morris <rgm@gnu.org>
19129
c0274801
GM
19130 * Makefile.in (AUTOGEN_VCS): New variable.
19131 (autoloads): Use $AUTOGEN_VCS.
19132
3f0f1700
GM
19133 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19134 * calendar/calendar.el (calendar-mode-map):
19135 Check for toolkit scroll bars. (Bug#8305)
19136
41ea9e48
CY
191372011-04-05 Chong Yidong <cyd@stupidchicken.com>
19138
19139 * minibuffer.el (completion-in-region--postch)
19140 (completion-in-region-mode): Remove unnecessary messages.
19141
6194c800
JB
191422011-04-05 Juanma Barranquero <lekktu@gmail.com>
19143
33256f14
JB
19144 * font-lock.el (font-lock-refresh-defaults):
19145 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19146 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19147
6194c800
JB
19148 * info.el (Info-directory-list, Info-read-node-name-2)
19149 (Info-split-parameter-string): Doc fixes.
19150 (Info-virtual-nodes): Reflow docstring.
19151 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19152 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19153 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19154 Fix typos in docstrings.
19155 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19156 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19157 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19158 (Info-restore-desktop-buffer): Mark unused parameters.
19159 (Info-directory-find-file, Info-directory-find-node)
19160 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19161 (Info-virtual-index-find-node, Info-apropos-find-file)
19162 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19163 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19164 (Info-virtual-index): Remove unused local variable `nodename'.
19165
b87a8200 191662011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19167
b87a8200
DD
19168 * net/rcirc.el: Update my e-mail address.
19169 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19170
3b2ff876
CY
191712011-04-05 Chong Yidong <cyd@stupidchicken.com>
19172
19173 * startup.el (command-line): Save the cursor's theme-face
19174 directly, instead of using face-override-spec.
19175
19176 * custom.el (load-theme): Minor optimization in assigning faces.
19177
8d17e7ca
JB
191782011-04-04 Juanma Barranquero <lekktu@gmail.com>
19179
19180 * help-fns.el (describe-variable): Complete all variables having
19181 documentation, including keywords.
19182 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19183
2fbc1934
JB
191842011-04-04 Juanma Barranquero <lekktu@gmail.com>
19185
19186 Convert to lexical-binding.
19187
19188 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19189 (bs--get-marked-string, bs--get-modified-string)
19190 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19191 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19192 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19193
19194 * ehelp.el (electric-help-execute-extended)
19195 (electric-help-ctrl-x-prefix):
19196 * hexl.el (hexl-revert-buffer-function):
19197 * linum.el (linum-after-change, linum-after-scroll):
19198 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19199
19200 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19201
74f50695
DU
192022011-04-04 Daiki Ueno <ueno@unixuser.org>
19203
19204 * epa-dired.el:
19205 * epa-mail.el:
19206 * epa-hook.el:
19207 * epa-file.el:
19208 * epa.el:
19209 * epg.el: Use lexical binding.
19210
c11325f7
CY
192112011-04-03 Chong Yidong <cyd@stupidchicken.com>
19212
0d9e9a12
CY
19213 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19214
c11325f7 19215 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19216 dictionary case for flyspell-mark-duplications-exceptions.
19217 Use regexp matching for languages.
c11325f7
CY
19218 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19219 default dictionary (Bug#7926).
19220
da91b5f2
CY
192212011-04-02 Chong Yidong <cyd@stupidchicken.com>
19222
099c39a4
JB
19223 * emacs-lisp/package.el (package--with-work-buffer):
19224 Recognize https URLs.
da91b5f2 19225
099c39a4
JB
19226 * net/network-stream.el: Move from gnus/proto-stream.el.
19227 Change prefix to network-stream throughout.
da91b5f2
CY
19228 (open-protocol-stream): Merge into open-network-stream, leaving
19229 open-protocol-stream as an alias. Handle nil BUFFER args.
19230
19231 * subr.el (open-network-stream): Move to net/network-stream.el.
19232
afa8e9f6
GM
192332011-04-02 Glenn Morris <rgm@gnu.org>
19234
1d2e369d
GM
19235 * find-dired.el (find-exec-terminator): New option.
19236 (find-ls-option): Test for -ls support.
19237 (find-ls-subdir-switches): Test for -b in find-ls-option.
19238 (find-dired, find-grep-dired): Doc fixes.
19239 (find-dired): Use find-exec-terminator.
19240
8abb7da8 19241 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19242 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19243 (find-name-arg): Remove purecopy.
8abb7da8 19244
f3ca7378
GM
19245 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19246 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19247 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19248 accordingly. Don't add the null-device if not needed.
19249
afa8e9f6
GM
19250 * files.el (save-some-buffers): Doc fix.
19251
35eae264
EZ
192522011-04-02 Eli Zaretskii <eliz@gnu.org>
19253
19254 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19255
26b51db5
JB
192562011-04-01 Juanma Barranquero <lekktu@gmail.com>
19257
19258 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19259 Use `dolist' rather than `mapcar'.
19260
7200d79c
SM
192612011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19262
03408648 19263 Add lexical binding.
7200d79c 19264
03408648
SM
19265 * subr.el (apply-partially): Use new closures rather than CL.
19266 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19267 (dolist, dotimes): Use slightly different expansion for lexical code.
19268 (functionp): Move to C.
19269 (letrec): New macro.
19270 (with-wrapper-hook): Use it and apply-partially instead of CL.
19271 (eval-after-load): Preserve lexical-binding.
19272 (save-window-excursion, with-output-to-temp-buffer): Turn them
19273 into macros.
7200d79c 19274
03408648
SM
19275 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19276
19277 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19278 than the arglist.
19279 (help-add-fundoc-usage): Don't add `Not documented'.
19280 (help-function-arglist): Handle closures, subroutines, and new
19281 byte-code-functions.
19282 (help-make-usage): Remove leading underscores.
19283 (describe-function-1): Handle closures.
19284 (describe-variable): Use special-variable-p for completion.
19285
19286 * files.el (lexical-binding): Declare safe.
f488fb65 19287
03408648
SM
19288 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19289 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19290 (pcase): Add `let' pattern.
19291 Change memoization so it actually works.
19292 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19293 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19294 <let>: New case.
f488fb65 19295
03408648
SM
19296 * emacs-lisp/macroexp.el: Use lexical binding.
19297 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19298 Don't convert ' to #' without checking that it's indeed quoting
19299 a lambda.
19300
19301 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19302 Use eval-sexp-add-defvars.
03408648
SM
19303 (eval-sexp-add-defvars): New fun.
19304
19305 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19306
19307 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19308 Don't autoload.
19309 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19310 than the internal `byte-compile-lambda'.
19311 (defmethod): Don't hide code under quotes.
19312 (eieio-defmethod): New `code' argument.
19313
19314 * emacs-lisp/eieio-comp.el: Remove.
19315
19316 * emacs-lisp/edebug.el (edebug-eval-defun)
19317 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19318 (edebug-toggle): Avoid `eval'.
19319
19320 * emacs-lisp/disass.el (disassemble-internal): Handle new
19321 `closure' objects.
19322 (disassemble-1): Handle new byte codes.
19323
19324 * emacs-lisp/cl.el (pushnew): Silence warning.
19325
19326 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19327 (cl-byte-compile-throw): Remove.
19328 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19329
19330 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19331 closures.
19332
19333 * emacs-lisp/cconv.el: New file.
19334
19335 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19336 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19337 (byte-compile-initial-macro-environment):
19338 Handle declare-function here.
19339 (byte-compile--lexical-environment): New var.
19340 (byte-stack-ref, byte-stack-set, byte-discardN)
19341 (byte-discardN-preserve-tos): New lap codes.
19342 (byte-interactive-p): Don't use any more.
19343 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19344 New macros.
19345 (byte-compile-lapcode): Use them and handle new lap codes.
19346 (byte-compile-obsolete): Remove.
19347 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19348 (byte-compile-arglist-warn): Check late def of inlinable funs.
19349 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19350 since they should have been expanded by now.
19351 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19352 (byte-compile-from-buffer): Remove unused second arg.
19353 (byte-compile-preprocess): New function.
19354 (byte-compile-toplevel-file-form): New function to distinguish
19355 file-form calls from outside from file-form calls from hunk-handlers.
19356 (byte-compile-file-form): Simplify.
19357 (byte-compile-file-form-defsubst): Remove.
19358 (byte-compile-file-form-defmumble): Simplify now that
19359 byte-compile-lambda always returns a byte-code-function.
19360 (byte-compile): Preprocess.
19361 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19362 Remove, not used any more.
19363 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19364 (byte-compile-make-args-desc): New funs.
19365 (byte-compile-lambda): Handle lexical functions. Always return
19366 a byte-code-function.
19367 (byte-compile-reserved-constants): New var, to make up room for
19368 closed-over variables.
19369 (byte-compile-constants-vector): Obey it.
19370 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19371 (byte-compile-macroexpand-declare-function): New function.
19372 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19373 byte-code-functions.
19374 (byte-compile-form): Check obsolescence here.
19375 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19376 (byte-compile-variable-ref): Remove.
19377 (byte-compile-dynamic-variable-op): New fun.
19378 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19379 (byte-compile-variable-set): New funs.
19380 (byte-compile-discard): Add 2 args.
19381 (byte-compile-stack-ref, byte-compile-stack-set)
19382 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19383 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19384 macroexpand-all instead.
19385 (byte-compile-quote-form): Remove.
19386 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19387 (byte-compile-bind, byte-compile-unbind): New funs.
19388 (byte-compile-let): Handle let* and lexical binding.
19389 (byte-compile-let*): Remove.
19390 (byte-compile-catch, byte-compile-unwind-protect)
19391 (byte-compile-track-mouse, byte-compile-condition-case):
19392 Handle a new :fun-body form, used for lexical scoping.
19393 (byte-compile-save-window-excursion)
19394 (byte-compile-with-output-to-temp-buffer): Remove.
19395 (byte-compile-defun): Simplify.
19396 (byte-compile-stack-adjustment): New fun.
19397 (byte-compile-out): Use it.
19398 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19399
19400 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19401 handler any more.
19402
19403 * emacs-lisp/byte-opt.el: Use lexical binding.
19404 (byte-inline-lapcode): Remove (to bytecomp).
19405 (byte-compile-inline-expand): Pay attention to inlining to/from
19406 lexically bound code.
19407 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19408 any more.
19409 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19410 any more and don't call compiler-macros.
19411 (byte-compile-splice-in-already-compiled-code): Remove.
19412 (byte-code): Don't inline any more.
19413 (disassemble-offset): Receive `bytes' as argument rather than via
19414 dynamic scoping.
19415 (byte-compile-tag-number): Declare before first use.
19416 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19417 `return' even if make-spliceable.
19418 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19419 obsolete interactive-p.
19420 (byte-optimize-lapcode): Optimize new lap-codes.
19421 Don't trip up on new form of `byte-constant' lap code.
19422
19423 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19424
19425 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19426
19427 * custom.el (custom-initialize-default, custom-declare-variable):
19428 Use `defvar'.
19429
19430 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19431 New variables.
19432 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19433 (COMPILE_FIRST): Add macroexp and cconv.
19434 * makefile.w32-in: Mirror changes in Makefile.in.
19435
19436 * vc/cvs-status.el:
19437 * vc/diff-mode.el:
19438 * vc/log-edit.el:
19439 * vc/log-view.el:
19440 * vc/smerge-mode.el:
19441 * textmodes/bibtex-style.el:
090bd7cb 19442 * textmodes/css-mode.el:
03408648
SM
19443 * startup.el:
19444 * uniquify.el:
da91b5f2
CY
19445 * minibuffer.el:
19446 * newcomment.el:
19447 * reveal.el:
19448 * server.el:
19449 * mpc.el:
19450 * emacs-lisp/smie.el:
19451 * doc-view.el:
19452 * dired.el:
03408648
SM
19453 * abbrev.el: Use lexical binding.
19454
0f0c1f27
EZ
194552011-04-01 Eli Zaretskii <eliz@gnu.org>
19456
19457 * info.el (info-display-manual): New function.
19458
c82b2579
SM
194592011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19460
19461 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19462
221ddf68
TH
194632011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19464
19465 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19466 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19467
cba6e77e
GM
194682011-03-31 Glenn Morris <rgm@gnu.org>
19469
e040639f
GM
19470 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19471
cba6e77e
GM
19472 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19473
6d0f1c9e
CS
194742011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19475
19476 * progmodes/python.el (python-default-interpreter)
19477 (python-python-command-args, python-jython-command-args)
19478 (python-which-shell, python-which-args, python-which-bufname)
19479 (python-file-queue, python-comint-output-filter-function)
19480 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19481 variables and functions.
19482
3e2d70fd
SM
194832011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19484
19485 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19486 (completion-in-region-mode): New minor mode.
19487 (completion-in-region): Use it.
19488 (completion-in-region--data, completion-in-region-mode-map): New vars.
19489 (completion-in-region--postch): New function.
19490 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19491 New vars.
19492 (completion--capf-wrapper): New function.
19493 (completion-at-point): Use it to track well-behavedness of
19494 hook functions.
19495 (completion-help-at-point): New command.
19496
f3e4086c
JM
194972011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19498
19499 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19500 syntax class to search for whitespace on a single line
19501 (Message-ID: <4D938140.4030905@redhat.com>).
19502
eb7ffc14
LL
195032011-03-30 Leo Liu <sdl.web@gmail.com>
19504
19505 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19506 New commands.
19507 (edit-abbrevs-map): Bind them here.
19508 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19509
d806ab68
KM
195102011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19511
19512 * allout.el (allout-hide-by-annotation, allout-flag-region):
19513 Reduce possibility of overlay leakage by making them volatile.
19514
19515 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19516 hash is not shared between buffers. Mode initialization is
19517 responsible for giving it a useful starting value.
19518 (allout-item-span): Reduce possibility of overlay leakage by
19519 making them volatile.
19520 (allout-widgets-count-buttons-in-region): Add diagnostic function
19521 for tracking down button overlay leaks.
19522
ea622834
LL
195232011-03-29 Leo Liu <sdl.web@gmail.com>
19524
19525 * ido.el (ido-read-internal): Use the default history var
19526 minibuffer-history if no HISTORY is specified.
19527
b62f8267
G
195282011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19529
03408648
SM
19530 * net/imap.el (imap-shell-open, imap-process-connection-type):
19531 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19532 Kerberos, SSL, other subprocesses.
19533
947b6566
LL
195342011-03-28 Leo Liu <sdl.web@gmail.com>
19535
19536 * abbrev.el (abbrev-table-empty-p): New function.
19537 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19538 nonempty ones. (Bug#5937)
19539
5ffb62aa
JD
195402011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19541
19542 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19543
7a097943
LL
195442011-03-27 Leo Liu <sdl.web@gmail.com>
19545
19546 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19547 for foreground and background colors.
19548 (ansi-color-make-color-map): Adapt.
19549
c5b40130
LL
195502011-03-25 Leo Liu <sdl.web@gmail.com>
19551
1f48f7d2
LL
19552 * midnight.el (midnight-time-float): Remove. Note it calculates
19553 the microsecond component incorrectly and seconds-to-time does the
19554 same job.
625897ec 19555 Remove redundant (require 'timer).
1f48f7d2 19556
c5b40130
LL
19557 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19558 (ido-completions): Remove unused arguments. (Bug#8329)
19559
d86d2721
SM
195602011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19561
19562 * minibuffer.el (completion--flush-all-sorted-completions):
19563 Remove itself from hook.
19564 (completion-at-point): Let the functions perform the completion
19565 immediately and return nil or t.
19566 * comint.el (comint-dynamic-complete-functions): Now identical to
19567 completion-at-point-functions.
19568 (comint-dynamic-list-input-ring): Remove unused var `index'.
19569 (comint--match-partial-filename, comint--unquote&expand-filename):
19570 New funs, split from comint-match-partial-filename.
19571 (comint-dynamic-complete): Use completion-at-point.
19572 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19573
e8974c48
DA
195742011-03-24 Drew Adams <drew.adams@oracle.com>
19575
19576 * thingatpt.el: Support `defun'.
19577
def71b5e
LL
195782011-03-23 Leo Liu <sdl.web@gmail.com>
19579
cb5af48e
LL
19580 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19581
def71b5e
LL
19582 * help-mode.el (help-mode-finish): Tweak regexp.
19583
927c53e7
GM
195842011-03-23 Glenn Morris <rgm@gnu.org>
19585
18d05bed
GM
19586 * eshell/esh-opt.el (eshell-eval-using-options):
19587 Do not bind unused local variable `eshell-option-stub'.
19588
927c53e7
GM
19589 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19590
9d0da923
JB
195912011-03-22 Juanma Barranquero <lekktu@gmail.com>
19592
19593 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19594 keymap variable in `with-no-warnings' to avoid a warning when the
19595 keymap has been already `defconst'ed.
19596
4b978a67
LL
195972011-03-22 Leo Liu <sdl.web@gmail.com>
19598
19599 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19600 encode all chars in abbrevs; otherwise use emacs-mule or
19601 utf-8-emacs. (Bug#8308)
19602
5fd62452
JB
196032011-03-22 Juanma Barranquero <lekktu@gmail.com>
19604
0b1596c6
JB
19605 * simple.el (backward-delete-char-untabify):
19606 Avoid warning about using `delete-backward-char'.
19607
5fd62452
JB
19608 * image.el (image-type-file-name-regexps): Make it variable.
19609 `imagemagick-register-types' modifies it, and the user may want
19610 to add new extensions for known image types.
19611 (imagemagick-register-types): Throw error if not using ImageMagick.
19612
0b4e93f1
LL
196132011-03-22 Leo Liu <sdl.web@gmail.com>
19614
19615 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19616 located before rcirc-prompt-end-marker.
19617 (rcirc-complete): Error if point is not after rcirc prompt.
19618 Handle the case when table is nil.
9882e214 19619 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19620
fccee4ab
CY
196212011-03-22 Chong Yidong <cyd@stupidchicken.com>
19622
19623 * custom.el (custom--inhibit-theme-enable): Make it affect only
19624 custom-theme-set-variables and custom-theme-set-faces.
19625 (provide-theme): Ignore custom--inhibit-theme-enable.
19626 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19627 (custom-enabling-themes): Delete variable.
d86d2721
SM
19628 (enable-theme): Accept only loaded themes as arguments.
19629 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19630 (custom-enabled-themes): Forbid themes from setting this.
19631 Eliminate use of custom-enabling-themes.
19632 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19633
af896da6
LL
196342011-03-21 Leo Liu <sdl.web@gmail.com>
19635
19636 * ido.el (ido-read-internal): Add ido-selected to history instead
19637 of user input.
19638
78f64af0
SM
196392011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19640
19641 * subr.el (deferred-action-list, deferred-action-function):
19642 Mark obsolete.
19643
b16ac1ec
LL
196442011-03-21 Leo Liu <sdl.web@gmail.com>
19645
810f7698
LL
19646 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19647 change on 2011-02-13 (bug#8309).
19648
b16ac1ec
LL
19649 * minibuffer.el (read-file-name-function): Change default value.
19650 (read-file-name--defaults): Rename from read-file-name-defaults.
19651 (read-file-name-default): Rename from read-file-name.
19652 (read-file-name): Call read-file-name-function.
19653
4e05e67e
GM
196542011-03-21 Glenn Morris <rgm@gnu.org>
19655
19656 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19657 Doc fixes.
19658
4359915b
CY
196592011-03-21 Chong Yidong <cyd@stupidchicken.com>
19660
19661 * cus-theme.el: Add missing provide statement.
19662 (customize-create-theme): Extract theme value correctly.
19663 (custom-theme-visit-theme): Autoload.
19664 (customize-create-theme): Prompt before inserting default faces.
19665
1fe275ee
JB
196662011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19667
19668 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19669 units and musical notes.
19670
cd394be1 196712011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19672
19673 * ido.el (ido-read-internal): Use completing-read-default.
19674 (ido-completing-read): Fix compatibility with completing-read.
19675
7d476bde
CO
196762011-03-20 Christian Ohler <ohler@gnu.org>
19677
19678 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19679 (ert-delete-all-tests): Use `called-interactively-p' rather than
19680 `interactive-p'.
19681 (ert--make-xrefs-region): Respect END.
19682
fe0fb33e
CY
196832011-03-19 Chong Yidong <cyd@stupidchicken.com>
19684
ff854b0b
CY
19685 * dired-aux.el (dired-create-directory): Signal an error if the
19686 directory already exists (Bug#8246).
19687
fe0fb33e
CY
19688 * facemenu.el (list-colors-display): Call list-faces-display
19689 inside with-help-window.
19690 (list-colors-print): Use display property to align the final
19691 column, instead of checking window-width.
19692
576bce32
EZ
196932011-03-19 Eli Zaretskii <eliz@gnu.org>
19694
4d61f28d 19695 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19696 windows-nt systems.
19697 (emerge-protect-metachars): Quote correctly for ms-dos and
19698 windows-nt systems.
19699
89c41d68 197002011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19701
19702 * info.el (info-initialize): Replace all uses of `:' with
19703 path-separator for compatibility with non-Unix systems.
19704 Cache quoting of path-separator. (Bug#8258)
19705
b14e3e21 197062011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19707
19708 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19709 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19710 (mouse-avoidance-mode): Fix typos in docstrings.
19711
4525ce3e
CY
197122011-03-19 Chong Yidong <cyd@stupidchicken.com>
19713
19714 * startup.el (package-subdirectory-regexp): Move from package.el.
19715 Omit \\` and \\', and let callers add them.
19716
19717 * emacs-lisp/package.el (package-strip-version)
19718 (package-load-all-descriptors): Add \\` and \\' to
19719 package-subdirectory-regexp before using it.
19720 (package-untar-buffer): New arg DIR; ensure that file untars only
19721 into this expected directory. Remove superfluous delete-region.
19722 (package-unpack): Caller changed.
19723 (package-tar-file-info): Use package-subdirectory-regexp.
19724
a904a09a 197252011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19726
a904a09a
SM
19727 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19728 diff-mode-shared-map (bug#8284).
19729 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19730
197312011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19732
19733 * calendar/time-date.el (format-seconds): Use assoc instead of
19734 assoc-string, since assoc-string doesn't exist in XEmacs.
19735
171fc304
JB
197362011-03-17 Juanma Barranquero <lekktu@gmail.com>
19737
19738 * custom.el (custom-known-themes): Reflow docstring.
19739 (custom-theme-load-path): Fix typo in docstring.
19740 (load-theme): Fix typo in error message.
19741 (custom-available-themes, custom-variable-theme-value):
19742 Use `let', not `let*'.
19743
d71990a1
JB
197442011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19745
19746 * calc/README: Mention inclusion of musical notes.
19747
19748 * calc/calc-units.el (calc-lu-quant): Rename from
19749 `calc-logunits-quantity'.
19750 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19751 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19752 (calc-db): Rename from `calc-dblevel'.
19753 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19754 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19755 (calc-np): Rename from `calc-nplevel'.
19756 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19757 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19758 (calc-lu-plus): Rename from `calc-logunits-add'.
19759 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19760 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19761 (calc-lu-minus): Rename from `calc-logunits-sub'.
19762 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19763 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19764 (calc-lu-times): Rename from `calc-logunits-mul'.
19765 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19766 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19767 (calc-lu-divide): Rename from `calc-logunits-div'.
19768 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19769 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19770
19771 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19772 functions being autoloaded.
19773
19774 * calc/calc.el (calc-lu-power-reference): Rename from
19775 `calc-logunits-power-reference'.
19776 (calc-lu-field-reference): Rename from
19777 `calc-logunits-field-reference'.
19778
7a71b18d
GM
19779 * calc/calc-help.el (calc-l-prefix-help):
19780 Mention musical note functions.
d71990a1 19781
40c2934b
SM
197822011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19783
19784 * minibuffer.el (completion-all-sorted-completions):
19785 Use :completion-cycle-penalty text property if present.
19786
b0911414
KM
197872011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19788
19789 * allout.el (allout-yank-processing): Adjust for new rebulleting
19790 regime so bullet being yanked is used without prompting the user
19791 for a choice.
19792
8a05b668
JB
197932011-03-16 Juanma Barranquero <lekktu@gmail.com>
19794
19795 * startup.el (command-line): Warn the user that _emacs is deprecated.
19796
5ba5fb81
JB
197972011-03-16 Juanma Barranquero <lekktu@gmail.com>
19798
19799 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19800 (delphi-verbose, delphi-comment-face, delphi-string-face)
19801 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19802 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19803 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19804 (delphi-new-comment-line, delphi-font-lock-defaults)
19805 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19806 Fix typos in docstrings.
19807
2dab465b
KM
198082011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19809
5ba5fb81 19810 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19811 Invert the roles of character and string values for INSTEAD, so a
19812 string is used for the more common case of a defaulting prompt.
19813
0adf5618
SM
198142011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19815
19816 * progmodes/ruby-mode.el (ruby-backward-sexp):
19817 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19818 * play/gamegrid.el (gamegrid-make-face):
19819 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19820 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19821 * notifications.el (notifications-notify):
19822 * net/xesam.el (xesam-search-engines):
19823 * net/quickurl.el (quickurl-list-insert):
19824 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19825
d72700e5
CY
198262011-03-15 Chong Yidong <cyd@stupidchicken.com>
19827
19828 * startup.el (command-line): Update package subdirectory regexp.
19829
49c5410a
SM
198302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19831
c6eee9aa
SM
19832 * allout.el (allout-abbreviate-flattened-numbering)
19833 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19834
49c5410a
SM
19835 * subr.el (read-char-choice): Only show the cursor after the prompt,
19836 not after the answer.
19837
047b2bb9
KR
198382011-03-15 Kevin Ryde <user42@zip.com.au>
19839
19840 * help-fns.el (variable-at-point): Skip leading quotes, if any
19841 (bug#8253).
19842
0a57d256
SM
198432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19844
19845 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19846 warning message.
19847
77c992bc
MA
198482011-03-14 Michael Albinus <michael.albinus@gmx.de>
19849
19850 * shell.el (shell): When called interactively, offer to change the
19851 shell file name on remote hosts.
19852
eebc475d
TZ
198532011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19854
19855 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19856 integration for LDAP parameters. The host, base, user or binddn,
19857 and secret tokens can be specified in a netrc file, for instance.
19858 This is optional because an `auth-source' parameter must be
19859 specified in the search attributes.
19860
9d05d1ba
JB
198612011-03-13 Juanma Barranquero <lekktu@gmail.com>
19862
19863 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19864
09d9db2c
GM
198652011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19866
19867 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19868 into declaration. Remove redundant and harmful binding.
19869
198702011-03-12 Eli Zaretskii <eliz@gnu.org>
19871
19872 * files.el (file-ownership-preserved-p): Pass `integer' as an
19873 explicit 2nd argument to `file-attributes'. If the file's owner
19874 is the Administrators group on Windows, and the current user is
19875 Administrator, consider that a match.
19876
19877 * server.el (server-ensure-safe-dir): Consider server directory
19878 safe on MS-Windows if its owner is the Administrators group while
19879 the current Emacs user is Administrator. Use `=' to compare
19880 numerical UIDs, since they could be integers or floats.
19881
219bd536
JB
198822011-03-12 Juanma Barranquero <lekktu@gmail.com>
19883
19884 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19885
f3afd36b
MA
198862011-03-12 Michael Albinus <michael.albinus@gmx.de>
19887
19888 Sync with Tramp 2.2.1.
19889
19890 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19891
19892 * net/trampver.el: Update release number.
19893
3aaaa6f1
SM
198942011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19895
94642599
SM
19896 * progmodes/compile.el (compilation--previous-directory): Fix up
19897 various nil/dead-marker mismatches (bug#8014).
19898 (compilation-directory-properties, compilation-error-properties):
19899 Don't call it at a position past the one we're about to change.
19900
3aaaa6f1
SM
19901 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19902 Disable obsolescence warnings in the file that declares it.
19903
14239447
KM
199042011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19905
099c39a4
JB
19906 * allout-widgets.el (allout-widgets-tally):
19907 Initialize allout-widgets-tally as a hash table rather than nil to
19908 prevent mode-line redisplay warnings. Also, clarify the module
19909 description and fix a comment typo.
14239447 19910
135e287c
JB
199112011-03-11 Juanma Barranquero <lekktu@gmail.com>
19912
19913 * help-fns.el (describe-variable): Don't complete keywords.
19914 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19915
ffbf300e
CY
199162011-03-10 Chong Yidong <cyd@stupidchicken.com>
19917
ba08b241
CY
19918 * emacs-lisp/package.el (package-version-join): Impose a standard
19919 string representation for pre/alpha/beta version lists.
19920 (package-unpack-single): Standardize the directory name by passing
19921 it through package-version-join.
19922 (package-strip-rcs-id): Accept any version string that does not
19923 signal an error in version-to-list.
ffbf300e 19924
f346fd6b
MA
199252011-03-10 Michael Albinus <michael.albinus@gmx.de>
19926
19927 * simple.el (delete-trailing-whitespace): Return nil for the
19928 benefit of `write-file-functions'.
19929
ccb55d27
GM
199302011-03-10 Glenn Morris <rgm@gnu.org>
19931
5ceaac0c
GM
19932 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19933
02da65ff
GM
19934 * vc/vc-git.el (vc-git-program): New option.
19935 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19936 (vc-git--call): Use it.
19937
b2f603cc
GM
19938 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19939
5772caab
GM
19940 * cus-edit.el (Custom-newline): If no button at point, look
19941 for a subgroup button at start-of-line. (Bug#2298)
19942
ccb55d27
GM
19943 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19944
ec6ecaed
JD
199452011-03-10 Julien Danjou <julien@danjou.info>
19946
19947 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19948 `cursor-type' is nil.
19949
9d5aa01d
JB
199502011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19951
19952 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19953
b6a5875b
KM
199542011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19955
7a71b18d 19956 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19957 preserves the existing header prefix, rebulleting it if necessary,
19958 rather than replacing it. This is necessary for proper operation
19959 of cooperative addons like allout-widgets.
1154d12e
JB
19960 (allout-make-topic-prefix, allout-rebullet-heading):
19961 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19962 value as alternate bullet to be used, instead of prompting the user
19963 for a bullet character.
b6a5875b 19964
ee545c35
MA
199652011-03-09 Michael Albinus <michael.albinus@gmx.de>
19966
d86d2721
SM
19967 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19968 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19969 `tramp-default-port'.
19970
c47971d7
DD
199712011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19972
19973 * net/rcirc.el (rcirc-handler-001): Remove useless
19974 with-rcirc-process-buffer.
19975 (rcirc-check-auth-status): Swap arguments to string-match.
19976
13522cb4
GM
199772011-03-09 Glenn Morris <rgm@gnu.org>
19978
0be6f4f1
GM
19979 * shell.el (shell-mode):
19980 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19981
13522cb4
GM
19982 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19983 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19984
515de2e3
CY
199852011-03-08 Chong Yidong <cyd@stupidchicken.com>
19986
19987 * emacs-lisp/package.el (package-refresh-contents)
19988 (package-menu-execute): Use condition-case-no-debug.
19989
b511b994
MA
199902011-03-08 Michael Albinus <michael.albinus@gmx.de>
19991
19992 * simple.el (shell-command-to-string): Use `process-file'.
19993
19994 * emacs-lisp/package.el (package-tar-file-info): Handle also
19995 remote files.
19996
d86d2721
SM
19997 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19998 Use `equal' for upload base check.
b511b994 19999
25bbfb31
AM
200002011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20001
20002 * textmodes/texinfo.el (texinfo-environments):
20003 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20004
be996521
GM
200052011-03-08 Glenn Morris <rgm@gnu.org>
20006
e9c8529f
GM
20007 * cus-start.el (cursor-in-non-selected-windows):
20008 Fix :set quoting oddness. (Bug#8192)
20009
be996521
GM
20010 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20011 in some setf expressions. (Bug#2159)
20012
2bb5649e
CY
200132011-03-08 Chong Yidong <cyd@stupidchicken.com>
20014
20015 * custom.el (custom-available-themes): Return themes in
20016 alphabetical order.
20017
33383987 20018See ChangeLog.15 for earlier changes.
e3d51b27
MR
20019
20020;; Local Variables:
20021;; coding: utf-8
e3d51b27
MR
20022;; End:
20023
acaf905b 20024 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20025
20026 This file is part of GNU Emacs.
20027
20028 GNU Emacs is free software: you can redistribute it and/or modify
20029 it under the terms of the GNU General Public License as published by
20030 the Free Software Foundation, either version 3 of the License, or
20031 (at your option) any later version.
20032
20033 GNU Emacs is distributed in the hope that it will be useful,
20034 but WITHOUT ANY WARRANTY; without even the implied warranty of
20035 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20036 GNU General Public License for more details.
20037
20038 You should have received a copy of the GNU General Public License
20039 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.