* calendar/todos.el (todos-priorities-rules): Fix customization
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
86ea3fbd
SB
12012-12-14 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el (todos-priorities-rules): Fix customization
4 type to prevent mismatch error.
5 (todos-set-top-priorities): Fix rule construction; fix input check;
6 improve prompt.
7
d9f80d44
SB
82012-12-14 Stephen Berman <stephen.berman@gmx.net>
9
10 * calendar/todos.el (todos-insert-item): If user exits Calendar
11 before choosing a date, cancel item insertion.
12 (todos-set-date-from-calendar): If user exits Calendar before
13 choosing a date, clean up properly.
14
d16da867
SB
152012-12-12 Stephen Berman <stephen.berman@gmx.net>
16
17 * calendar/todos.el: Extend and improve handling of item editing,
18 especially of date/time header.
19 (todos-month-name-array, todos-month-abbrev-array): New defconsts.
20 (todos-date-pattern): Use explicitly numbered groups.
21 (todos-read-date): Optionally read and return just one of the date
22 string components year, month or monthname, day.
23 (todos-key-bindings): Add bindings for new item header editing
24 commands.
25 (todos-edit-item): Exclude date/time header from minibuffer by
26 default; include it by passing a prefix argument.
27 (todos-edit-item-header-1): New function containing the guts of
28 the commands for editing item date/time headers.
29 (todos-edit-item-header): Use it. Condition editing of time
30 string on value of `todos-always-add-time-string'.
31 (todos-edit-item-date-from-calendar): Use todos-edit-item-header-1.
32 (todos-edit-item-date-to-today): Rename from
33 todos-edit-item-date-is-today and use todos-edit-item-header-1.
34 (todos-edit-item-date): Remove.
35 (todos-edit-item-date-day-name, todos-edit-item-date-year)
36 (todos-edit-item-date-month, todos-edit-item-date-day): New commands.
37
bbf95285
SB
382012-12-02 Stephen Berman <stephen.berman@gmx.net>
39
40 * calendar/todos.el (todos-show): Fix a comment.
41 (todos-add-category): Prompt for a new category if passed category
42 is the empty string, not nil.
43
11aa0eef
SB
442012-11-26 Stephen Berman <stephen.berman@gmx.net>
45
46 * calendar/todos.el (todos-make-categories-list)
47 (todos-convert-legacy-files, todos-jump-to-item)
48 (todos-move-category, todos-merge-category)
49 (todos-archive-done-item, todos-unarchive-items): Include end of
50 line in regex searches for beginning of category, in order not to
51 get a category whose name contains the searched for category name.
52
45e4a397
SB
532012-11-15 Stephen Berman <stephen.berman@gmx.net>
54
55 * calendar/todos.el (todos-forward-category): Fix typo.
56
59ad682f
SB
572012-10-30 Stephen Berman <stephen.berman@gmx.net>
58
59 * calendar/todos.el (todos-define-insertion-command):
60 Let generated insertion commands accept a prefix argument.
61
fec0fdae
SB
622012-10-08 Stephen Berman <Stephen.Berman@rub.de>
63
64 * calendar/todos.el (todos-move-item): If user quits before
11aa0eef 65 completing movement, restore display of initial category; if item
fec0fdae
SB
66 is moved to end of target category, make sure the items above it
67 are displayed in the window.
68
57da062d
SB
692012-10-08 Stephen Berman <stephen.berman@gmx.net>
70
71 * calendar/todos.el: Fixes to todos-move-item and some of its
72 subroutines.
73 (todos-move-item): When there are marked items, point need not be
74 on an item; remove obsolete use of todos-add-category, since this
75 is now already done in todos-read-category; fix typo.
76 (todos-diary-item-p): Exclude empty lines.
77 (todos-read-category): Restore point and narrowing after adding
78 new category, to avoid moving to beginning of file when moving
79 marked items to a new category.
80 (todos-set-item-priority): Prompt for priority only when the
81 category has at least one todo item; only use non-nil priority to
82 calculate insertion location.
83 (todos-read-category): Don't reset todos-categories when a new
84 category is added due to todos-move-item or todos-jump-to-item.
85
fd6c6328
SB
862012-09-24 Stephen Berman <stephen.berman@gmx.net>
87
bbf95285 88 Changes from 2012-07-14 (revision 110020).
fd6c6328
SB
89 * calendar/todos.el (todos-copy-item): New command.
90 (todos-insertion-map): Add key binding for it.
91
1a9cb339
SB
922012-09-24 Stephen Berman <stephen.berman@gmx.net>
93
bbf95285 94 Changes from 2012-07-13 (revision 110019).
1a9cb339
SB
95 * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
96 (todos-item-undo): Use it.
97 (todos-allcats-file, todos-all-categories-alist): New variables.
98 (todos-all-categories-alist): New function.
99 (todos-jump-to-any-category): New command.
100 (todos-move-item): Remove mark overlays from buffer items were
101 moved from; update todos-categories-with-marks,
102
36341a66
SB
1032012-09-24 Stephen Berman <stephen.berman@gmx.net>
104
bbf95285 105 Changes from 2012-06-27 (revision 110018).
36341a66
SB
106 * calendar/todos.el: Further code rearrangement; further new and
107 revised comments.
108 (todos-reevaluate-filelist-defcustoms): Rename from
109 todos-reevaluate-defcustoms and adjust callers.
110 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
111 (todos-date-string-start, todos-done-string-start)
112 (todos-item-start): Change from defvar to defconst.
113 (todos-set-top-priorities): Use read-number and simplify.
114 (todos-insert-item): Check whether date-type argument is a string.
115 (todos-set-date-from-calendar): Check whether
116 todos-date-from-calendar is a string; simplify cond clause.
117 (todos-archive-done-item, todos-unarchive-items):
118 Use buffer-substring-no-properties.
119
3160f2eb
SB
1202012-09-23 Stephen Berman <stephen.berman@gmx.net>
121
bbf95285 122 Changes from 2012-06-25 (revision 110017).
3160f2eb
SB
123 * calendar/todos.el (todos-item-undo): Fix restoration on
124 cancelling; use buffer-substring-no-properties; comment out code
125 removing mark overlay; fix insertion of undone items; display any
126 remaining done items.
127
18aef8a3
SB
1282012-09-23 Stephen Berman <stephen.berman@gmx.net>
129
bbf95285 130 Changes from 2012-06-24 (revision 110016).
18aef8a3
SB
131 * calendar/todos.el: Further significant code rearrangement;
132 further comment revision.
133 (todos-mode-display): New defgroup.
134 (todos-prefix, todos-number-priorities)
135 (todos-done-separator-string, todos-done-string)
136 (todos-comment-string, todos-show-with-done)
137 (todos-mode-line-function, todos-skip-archived-categories)
138 (todos-highlight-item, todos-wrap-lines)
139 (todos-line-wrapping-function): Use it.
140 (todos-item-insertion): New defgroup.
141 (todos-include-in-diary, todos-diary-nonmarking)
142 (todos-nondiary-marker, todos-always-add-time-string)
143 (todos-use-only-highlighted-region): Use it.
144 (todos-forward-button, todos-backward-button): New commands.
145 (todos-categories-mode-map): Use them, replacing forward-button
146 and backward-button.
147 (todos-merge-category): Fix and improve implementation; handle
148 archived items.
149 (todos-insert-item, todos-set-date-from-calendar): Handle setting
150 date by calling todos-insert-item-from-calendar.
151 (todos-delete-item): Fix overlay handling.
152 (todos-move-item): Highlight item to be moved.
153 (todos-item-undo): Handle marked items.
154 (todos-insert-item-from-calendar): Rewrite using
155 todos-date-from-calendar.
156
616ffa8b
SB
1572012-09-23 Stephen Berman <stephen.berman@gmx.net>
158
bbf95285 159 Changes from 2012-06-21 (revision 110015).
616ffa8b
SB
160 * calendar/todos.el: Further comment revision.
161 (todos-sorted-column): Change default value, also taking tty into
162 account.
163 (todos-reset-done-separator): Fix faulty variable binding.
164 (todos-reset-and-enable-done-separator): Save match data; comment
165 out code that causes problems for Edebug.
166 (todos-item-start): Handle empty line between todo and done items
167 when done items are hidden.
168 (todos-read-date): Use a leap year for `*' to allow
169 calendar-last-day-of-month to return Feb. 29.
170 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
171 (todos-filtered-items-mode): Delete faulty parentheses.
172 (todos-quit): Save Todos and archive files unconditionally.
173 (todos-forward-item): Accept only positive prefix argument.
174 (todos-backward-item): Accept only positive prefix argument; don't
175 move point to beginning of buffer if it is on the first item.
176 (todos-hide-show-date-time): Remove obsolete interactive spec.
177 (todos-move-category): Improve prompt string; ensure file moved to
178 is different from file moved from.
179 (todos-merge-categories): Remove.
180 (todos-set-category-priority): New command.
181 (todos-raise-category-priority, todos-lower-category-priority):
182 Use it to define these commands.
183 (todos-set-item-priority): Rewrite and generalize.
184 (todos-raise-item-priority, todos-lower-item-priority): Use it to
185 define these commands.
186
d9be0d35
SB
1872012-09-23 Stephen Berman <stephen.berman@gmx.net>
188
bbf95285 189 Changes from 2012-06-15 (revision 110014).
d9be0d35
SB
190 * calendar/todos.el (todos-reset-done-separator)
191 (todos-reset-and-enable-done-separator): New functions.
192 (todos-reset-done-separator-string): Rewrite using
193 todos-reset-done-separator for string longer than 1 character.
194 (todos-mode): Add todos-reset-and-enable-done-separator to
195 window-configuration-change-hook, replacing previous anonymous
196 function.
197 (todos-unload-hook): And remove it.
198
144faf47
SB
1992012-09-23 Stephen Berman <stephen.berman@gmx.net>
200
bbf95285 201 Changes from 2012-06-14 (revision 110013).
144faf47
SB
202 * calendar/todos.el (todos-done-separator-string): New defcustom.
203 (todos-done-separator): New variable replacing defcustom of the
204 same name.
205 (todos-reset-done-separator-string, todos-done-separator):
206 New functions.
207 (todos-mode): Make function added to
208 window-configuration-change-hook do a better job of updating the
209 done items separator string overlay.
210 (todos-unload-hook): Remove it here.
211 (todos-item-undo): Fix search for item's end.
212
a820dfe8
SB
2132012-09-23 Stephen Berman <stephen.berman@gmx.net>
214
bbf95285 215 Changes from 2012-06-03 (revision 110012).
a820dfe8
SB
216 * calendar/todos.el: Further comment revision.
217 (todos-sorted-column): Change default value.
218 (todos-item-start): Handle empty category (needed in
219 todos-filter-items).
220 (todos-read-date): Don't use calendar-read; make code cleaner.
221 (todos-multiple-filter-files): Rename this variable from
222 todos-multiple-files and adjust users.
223 (todos-multiple-filter-files-widget): Rename from
224 todos-multiple-files-widget and adjust users.
225 (todos-multiple-filter-files): Rename this function from
226 todos-multiple-files and adjust callers.
227 (todos-filter-items): Remove unused code.
228 (todos-insert-category-line): Add space so highlighting of last
229 column is consistent with the others; adjust display of column
230 highlighting.
231 (todos-menu): Remove obsolete entry.
232 (todos-categories-mode-map): Add new bindings.
233 (todos-display-categories-alphabetically-or-by-priority): New command.
234 (todos-display-categories-sorted-by-todo)
235 (todos-display-categories-sorted-by-diary)
236 (todos-display-categories-sorted-by-done)
237 (todos-display-categories-sorted-by-archived): Restore and fix
238 implementation.
239
b28872ce
SB
2402012-09-23 Stephen Berman <stephen.berman@gmx.net>
241
bbf95285 242 Changes from 2012-06-02 (revision 110011).
b28872ce
SB
243 * calendar/todos.el: Significant code rearrangement; further
244 comment revision.
245 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
246 adjust users.
247 (todos-filtered-buffer-name): Rename from
248 todos-special-buffer-name and adjust users.
249 (todos-filtered-items-mode-map): Rename from
250 todos-filter-items-mode-map and adjust users.
251 (todos-mode-external-set): Use todos-categories instead of
252 todos-set-categories (and add comment to check if this DTRT).
253 (todos-filtered-items-mode): Rename from todos-filter-items-mode
254 and adjust users.
255 (todos-add-category): Don't call todos-validate-name, since
256 todos-read-category does.
257 (todos-edit-quit): Use todos-repair-categories-sexp.
258 (todos-done-item-add-edit-or-delete-comment): Rename from
259 todos-done-item-add-or-edit-comment and adjust users; add optional
260 argument to prompt to delete comment.
261 (todos-item-undo): Delete done item comment on undoing if user
262 confirms.
263
abe748f5
SB
2642012-09-22 Stephen Berman <stephen.berman@gmx.net>
265
bbf95285 266 Changes from 2012-06-02 (revision 110010).
abe748f5
SB
267 * calendar/todos.el: Further code rearrangement and comment
268 revision.
269 (todos-item-start): Handle empty line between todo and done items
270 when done items are displayed.
271 (todos-key-bindings): Comment out bindings meant only for
272 todos-archive-mode.
273 (todos-archive-mode-map): Fix typo.
274 (todos-archive-mode): Derive from special-mode instead of
275 todos-mode to prevent its key bindings from being available here.
276 (todos-archive-done-item): Remove obsolete code; fix item count
277 updating.
278 (todos-unarchive-items): Simplify; fix unarchiving of all items in
279 category; fix item count updating; fix typo.
280
6be04162
SB
2812012-09-22 Stephen Berman <stephen.berman@gmx.net>
282
bbf95285 283 Changes from 2012-06-01 (revision 110009).
6be04162
SB
284 * calendar/todos.el: Further code rearrangement and comment
285 revision.
286 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
287 (todos-file-buffers): New variable.
288 (todos-reset-global-current-todos-file): Use it to simplify
289 implementation of this function.
290 (todos-filtered): New defgroup.
291 (todos-filter-buffer, todos-top-priorities-buffer)
292 (todos-diary-items-buffer, todos-regexp-items-buffer)
293 (todos-priorities-rules, todos-show-priorities)
294 (todos-filter-files, todos-filter-done-items): Use it.
295 (todos-skip-archived-categories): Rename from
296 todos-ignore-archived-categories and adjust users.
297 (todos-display-as-todos-file): Rename from todos-after-find-file
298 and adjust callers.
299 (todos-reset-highlight-item, todos-mode-external-set)
300 (todos-jump-to-category, todos-jump-to-item)
301 (todos-raise-category-priority, todos-insert-item)
302 (todos-move-item): Use find-file-visiting.
303 (todos-make-categories-list): Use file-truename.
304 (todos-display-categories-1): Adjust title text for archive files;
305 use done label for item counts in archive files.
306 (todos-modes-set-3): Add todos-display-as-todos-file to
307 find-file-hook.
308 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
309 todos-update-buffer-list post-command-hook.
310 (todos-unload-hook): And remove them.
311 (todos-show): Only when interactively invoked from an archive,
312 switch to corresponding Todos file.
313 (todos-archive-done-item): Remove obsolete code; fix handling of
314 marked items; fix search for existing category; check whether
315 archive exists and write to file if not; improve display handling.
316
0833689a
SB
3172012-09-21 Stephen Berman <stephen.berman@gmx.net>
318
bbf95285 319 Changes from 2012-05-29 (revision 110008).
0833689a
SB
320 * calendar/todos.el: Further comment revision.
321 (todos-item-end): Replace use of command todos-forward-item by
322 regexp searches using internal variables.
323 (todos-raise-category-priority): Improve and comment.
324 (todos-insert-item): Fix insertion of empty time string.
325
7464f422
SB
3262012-09-21 Stephen Berman <stephen.berman@gmx.net>
327
bbf95285 328 Changes from 2012-05-29 (revision 110007).
7464f422
SB
329 * calendar/todos.el (todos-ignore-archived-categories):
330 Revert last change; remove :initialize and :set functions; change
331 use and change users accordingly.
332 (todos-reset-categories, todos-categories-full)
333 (todos-truncate-categories-list): Remove.
334 (todos-set-categories, todos-update-categories-sexp):
335 Use todos-categories instead of todos-categories-full; remove use
336 of todos-ignore-archived-categories and
337 todos-truncate-categories-list.
338 (todos-check-format, todos-repair-categories-sexp):
339 Use todos-categories instead of todos-categories-full.
340 (todos-read-category): Improve last change.
341 (todos-validate-name): Use completing-read.
342 (todos-categories-category-number): Rename from
343 todos-category-number and adjust users.
344 (todos-update-categories-display, todos-mode-external-set)
345 (todos-delete-category, todos-move-category, todos-merge-category)
346 (todos-unarchive-items): Remove use of todos-categories-full and
347 todos-ignore-archived-categories.
348 (todos-modes-set-3, todos-add-category): Remove use of
349 todos-categories-full.
350 (todos-edit-mode): Fix typo.
351 (todos-forward-category): Use todos-ignore-archived-categories.
352
4de20201
SB
3532012-09-21 Stephen Berman <stephen.berman@gmx.net>
354
bbf95285 355 Changes from 2012-05-28 (revision 110006).
4de20201
SB
356 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
357 (todos-ignore-archived-categories): Change default value.
358
459c6e93
SB
3592012-09-21 Stephen Berman <stephen.berman@gmx.net>
360
bbf95285 361 Changes from 2012-05-27 (revision 110005).
459c6e93
SB
362 * calendar/todos.el: Further comment revision.
363 (todos-reset-global-current-todos-file):
364 Try to make this not slow down kill-buffer.
365 (todos-update-categories-sexp): Handle the case where there is no
366 categories sexp yet, i.e. after inserting the first item in the
367 file, so todos-display-categories works.
368 (todos-read-file-name): Improve implementation.
369 (todos-validate-name): Use variable todos-files.
370 (todos-category-number): New variable.
371 (todos-insert-category-line, todos-update-categories-display)
372 (todos-raise-category-priority): Use it.
373 (todos-add-file): Remove unused remnant code.
374
2a9e69d6
SB
3752012-09-21 Stephen Berman <stephen.berman@gmx.net>
376
bbf95285 377 Changes from 2012-05-25 (revision 110004).
2a9e69d6
SB
378 * calendar/todos.el: Further comment revision.
379 (todos-set-item-top-priority): New command.
380 (todos-reset-global-current-todos-file):
381 Use todos-files-function instead of todos-files.
382 (todos-read-category): Add optional argument to test whether
383 caller adds new category; if so, don't prompt for new category and
384 don't restore original todos-categories list.
385 (todos-categories-mode-map): Update to renamed commands.
386 (todos-filter-items-mode-map): Add binding for new command.
387 (todos-mode): Fix typo.
388 (todos-show): If called from archive file, show corresponding
389 category in Todos file, if it exists.
390 (todos-jump-to-category): Remove code to add new category, since
391 todos-read-category can do that.
392 (todos-add-file): Remove obsolete code; visit new file in selected
393 window.
394 (todos-add-category): Simplify.
395 (todos-rename-category): Use force-mode-line-update instead of
396 setting mode-line-buffer-identification.
397 (todos-delete-category): Improve logic of prompts; use
398 todos-categories-full and check todos-ignore-archived-categories.
399 (todos-raise-category-priority, todos-lower-category-priority):
400 Rename from todos-{raise,lower}-category and adjust callers.
401 (todos-move-category, todos-merge-category):
402 Set todos-categories-full; on setting todos-categories check
403 todos-ignore-archived-categories.
404 (todos-insert-item): Let-bind use-empty-active-region and use
405 use-region-p instead of transient-mark-mode.
406 (todos-raise-item-priority): Improve implementation.
407 (todos-archive-done-item): Rename from
408 todos-archive-done-item-or-items and adjust callers; confine to
409 Todos mode.
410 (todos-unarchive-items): On setting todos-categories check
411 todos-ignore-archived-categories.
412
47011bed
SB
4132012-09-21 Stephen Berman <stephen.berman@gmx.net>
414
bbf95285 415 Changes from 2012-05-23 (revision 110003).
47011bed
SB
416 * calendar/todos.el (todos-key-bindings): Remove binding of
417 deleted command.
418 (todos-menu): Remove entry of deleted command.
419 (todos-show-archive): Fix last change.
420 (todos-done-item-add-or-edit-comment): Rename from
421 todos-comment-done-item and adjust callers; prompt to edit an
422 existing comment.
423
3af3cd0b
SB
4242012-09-21 Stephen Berman <stephen.berman@gmx.net>
425
bbf95285 426 Changes from 2012-05-22 (revision 110002).
2a9e69d6 427 * calendar/todos.el (todos-set-show-current-file): Rename from
3af3cd0b
SB
428 todos-toggle-show-current-file and adjust callers.
429 (todos-number-priorities): Rename from todos-number-prefix and
430 adjust users.
431 (todos-update-count): Rename from todos-set-count and adjust
432 callers.
433 (todos-hide-show-item-numbering): Rename from
434 todos-toggle-item-numbering and adjust callers.
435 (todos-hide-show-done-items): Rename from
436 todos-toggle-view-done-items and adjust callers.
437 (todos-show-done-only): Rename from todos-toggle-show-done-only.
438 (todos-view-archived-items): Comment out.
439 (todos-show-archive): Prompt to choose another archive file if
440 current Todos file lacks an archive; prompt to visit archive
441 anyway when current category has no archived items.
442
78fe7289
SB
4432012-09-21 Stephen Berman <stephen.berman@gmx.net>
444
bbf95285 445 Changes from 2012-05-21 (revision 110001).
78fe7289
SB
446 * calendar/todos.el: Further comment revision and code
447 rearrangement.
448 (todos-item-end): Revert last change.
449 (todos-key-bindings, todos-menu, todos-archive-mode-map)
450 (todos-filter-items-mode-map): Use renamed commands.
451 (todos-hide-show-date-time): Rename from
452 todos-toggle-display-date-time.
453 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
454 adjust caller.
455 (todos-backward-item): Exempt special handling only from
456 todos-regexp-items-buffer instead of todos-filter-items-mode.
457 (todos-raise-item-priority): Don't allow item reprioritizing in
458 Todos filter items mode except for top priority items.
459
520d912e
SB
4602012-09-21 Stephen Berman <stephen.berman@gmx.net>
461
bbf95285 462 Changes from 2012-05-19 (revision 110000).
520d912e
SB
463 * calendar/todos.el: Add and revise further doc strings and
464 comments.
465 (todos-filter-function, todos-custom-items)
466 (todos-custom-items-multifile): Remove.
467 (todos-filter-done-items): New defcustom.
468 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
469 (todos-filter-items): Check return value of caller first; tag
470 archived items for todos-jump-to-item; delete categories sexp
471 before processing filter; check todos-filter-done-items for
472 whether to leave done items; remove custom filter; fix regexp for
473 file and category tags; don't invoke buffer fontification.
474 (powerset-recursive): Fix typo.
475 (todos-key-bindings): Remove unused bindings.
476 (todos-top-priorities-multifile, todos-diary-items-multifile)
477 (todos-regexp-items-multifile): Use variable todos-multiple-files.
478 (todos-jump-to-item): Fix regexp; handle archive tags; take
479 todos-filter-done-items into account.
480 (todos-insert-item-from-calendar): Relocate to end of file
481 together with key-binding as addition to calendar.el.
482
0e89c3fc
SB
4832012-09-20 Stephen Berman <stephen.berman@gmx.net>
484
bbf95285 485 Changes from 2012-05-17 (revision 109999).
520d912e 486 * calendar/todos.el: Add and revise further doc strings and
0e89c3fc
SB
487 comments; major code rearrangement.
488 (todos-merged-files, todos-prompt-merged-files)
489 (todos-print-priorities, todos-tmp-buffer-name)
490 (todos-top-priorities-widgets, todos-update-merged-files)
491 (todos-merged-top-priorities, todos-merged-diary-items)
492 (todos-merged-regexp-items, todos-merged-custom-items)
493 (todos-raw-mode, todos-change-default-file)
494 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
495 (todos-toggle-diary-nonmarking, todos-validate-category-name):
496 Remove.
497 (todos-category-string-matcher): Comment out.
498 (todos-categories): New defgroup.
499 (todos-initial-file, todos-filter-buffer)
500 (todos-top-priorities-buffer, todos-categories-category-label)
501 (todos-diary-items-buffer, todos-regexp-items-buffer)
502 (todos-custom-items-buffer, todos-filter-files)
503 (todos-highlight-item, todos-todo-mode-date-time-regexp):
504 New defcustoms.
505 (todos-diary-expired): New face.
506 (todos-print-buffer, todos-multiple-files)
507 (todos-multiple-files-widget, todos-key-bindings): New variables.
508 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
509 (todos-special-buffer-name)
510 (todos-reevaluate-filter-files-defcustom)
511 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
512 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
513 (todos-diary-expired-matcher, todos-category-string-matcher-1)
514 (todos-category-string-matcher-2, todos-repair-categories-sexp)
515 (todos-validate-name, todos-multiple-files)
516 (todos-display-categories-1, todos-update-categories-display)
517 (todos-modes-set-3, todos-mode-external-set): New functions.
518 (todos-set-top-priorities-in-file)
519 (todos-set-top-priorities-in-category)
520 (todos-top-priorities-multifile, todos-diary-items-multifile)
521 (todos-regexp-items-multifile, todos-custom-items-multifile)
522 (todos-convert-legacy-files, todos-jump-to-item)
523 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
524 (todos-edit-item-diary-inclusion)
525 (todos-edit-category-diary-inclusion)
526 (todos-edit-item-diary-nonmarking)
527 (todos-edit-category-diary-nonmarking): New commands.
528 (todos, todos-faces): Update :version.
529 (todos-done-separator, todos-completion-ignore-case):
530 Change default value.
531 (todos-done-separator): Change :set function.
532 (todos-indent-to-here): Add :validate function to :type.
533 (todos-prefix-string, todos-mark, todos-button)
534 (todos-sorted-column, todos-archived-only, todos-search)
535 (todos-done, todos-done-sep): Provide full face definitions
536 instead of inheriting.
537 (todos-edit-buffer, todos-categories-buffer): Change from
538 defcustom to defvar.
539 (todos-category-beg, todos-category-done): Change from defvar to
540 defconst.
541 (todos-files): Check if todos-files-directory exists.
542 (todos-default-todos-file, todos-mode-line-control, todos-print):
543 Use todos-short-file-name.
544 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
545 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
546 todos-category-string-matcher-2, todos-diary-expired-matcher.
547 (todos-category-select): Use todos-done-string-start, and
548 condition search on todos-show-with-done; don't make display
549 overlay for done items separator string if there already is one;
550 use todos-highlight-item, require hl-line and activate
551 hl-line-mode here in order to avoid a hang if done in todos-mode
552 or the mode hook.
553 (todos-update-categories-sexp): Use todos-categories-full if set,
554 otherwise todos-categories.
555 (todos-make-categories-list): Don't test for archive file when
556 processing a legacy todo-mode file.
557 (todos-check-format): Add check for todos-categories sexp.
558 (todos-diary-item-p): Use todos-nondiary-start instead of
559 todos-date-pattern.
560 (todos-marked-item-p): Rename from todos-item-marked-p.
561 (todos-read-file-name): Don't accept empty name; validate.
562 (todos-read-category): Validate new name before prompting whether
563 to add new category; force quit if user answers no.
564 (todos-filter-items): Improve implementation.
565 (todos-set-top-priorities): Rewrite as a noninteractive function
566 using minibuffer input instead of widgets.
567 (todos-insert-sort-button): Call todos-display-sorted with
568 argument nil to display categories in numerical order, instead of
569 calling todos-display-categories.
570 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
571 Common Lisp powerset function at
572 http://rosettacode.org/wiki/Power_set#Common_Lisp.
573 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
574 powerset function at http://rosettacode.org/wiki/Power_set#C.
575 (todos-powerset): Defalias to powerset-bitwise.
576 (todos-mode-map): Generate from todos-key-bindings instead of
577 listing each key definition.
578 (todos-categories-mode-map): Add two bindings.
579 (todos-filter-items-mode-map): Add some bindings, remove others.
580 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
581 function setting todos-done-separator to
582 window-configuration-change-hook.
583 (todos-unload-hook): Remove function setting todos-done-separator
584 from window-configuration-change-hook.
585 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
586 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
587 (todos-categories-mode): Derive from special-mode; use
588 todos-mode-external-set.
589 (todos-filter-items-mode): Derive from special-mode.
590 (todos-quit): Save archive file if it hasn't yet been saved.
591 (todos-display-categories): Delegate all functionality to
592 todos-display-categories-1 and todos-update-categories-display.
593 (todos-toggle-view-done-items): Improve implementation.
594 (todos-highlight-item): Require hl-line.
595 (todos-toggle-display-date-time): Remove argument and make it
596 apply only to whole file.
597 (todos-top-priorities, todos-diary-items, todos-regexp-items)
598 (todos-custom-items): Use todos-special-buffer-name.
599 (todos-add-file): Use todos-short-file-name and
600 todos-reevaluate-defcustoms; remove validation, since it's now
601 done in todos-read-file-name.
602 (todos-add-category): Also update todos-categories-full if non-nil.
603 (todos-delete-category): Delete file after confirmation if only
604 category is deleted.
605 (todos-move-category): Use todos-short-file-name and
606 todos-reevaluate-defcustoms.
607 (todos-insert-item): Fix getting date from the calendar and
608 insertion of time string.
609 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
610 display of diary entries.
611 (todos-edit-multiline): Add optional argument to restrict editing
612 buffer to current item, otherwise make entire buffer (i.e. whole
613 file) editable.
614 (todos-edit-quit): When whole file is editable, check file format
615 validity before killing buffer, and if valid, recalculate
616 categories sexp to be safe.
617 (todos-edit-item-header): Allow choosing date from calendar.
618 (todos-item-done): Handle marked items.
619
697bd4a3
SB
6202012-09-19 Stephen Berman <stephen.berman@gmx.net>
621
bbf95285 622 Changes from 2011-12-03 (revision 109998).
697bd4a3
SB
623 * calendar/todos.el (todos-item-start): Restore commented out code
624 to prevent wrongly moving point in widened buffer.
625
58c7641d
SB
6262012-09-19 Stephen Berman <stephen.berman@gmx.net>
627
bbf95285 628 Changes from 2011-12-02 (revision 109997).
58c7641d
SB
629 * calendar/todos.el: Remove old commentary from todo-mode.el; add
630 and revise further doc strings and comments; require cl.el at
631 compile time for remove-duplicates; use function powerset from
632 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
633 code rearrangement. Add adapted version of diary-goto-entry as comment.
634 (todos-file-top, todos-archived-categories-buffer)
635 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
636 (todos-save-top-priorities, todos-reset-separator)
637 (todos-switch-todos-file, todos-item-string-start, todos-counts)
638 (todos-string-count-lines, todos-string-multiline-p)
639 (todos-display-categories-alphabetically): Remove.
640 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
641 (todos-insert-item-ask-date-time-for-diary)
642 (todos-insert-item-ask-date-time-for-diary-here)
643 (todos-insert-item-ask-date-time-here)
644 (todos-insert-item-ask-date-maybe-notime)
645 (todos-insert-item-ask-date-maybe-notime-for-diary)
646 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
647 (todos-insert-item-ask-date-maybe-notime-here)
648 (todos-insert-item-ask-date-for-diary)
649 (todos-insert-item-ask-date-for-diary-here)
650 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
651 (todos-insert-item-ask-dayname-time)
652 (todos-insert-item-ask-dayname-time-for-diary)
653 (todos-insert-item-ask-dayname-time-for-diary-here)
654 (todos-insert-item-ask-dayname-time-here)
655 (todos-insert-item-ask-dayname-maybe-notime)
656 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
657 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
658 (todos-insert-item-ask-dayname-maybe-notime-here)
659 (todos-insert-item-ask-dayname-for-diary)
660 (todos-insert-item-ask-dayname-for-diary-here)
661 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
662 (todos-insert-item-ask-time-for-diary)
663 (todos-insert-item-ask-time-for-diary-here)
664 (todos-insert-item-ask-time-here)
665 (todos-insert-item-maybe-notime)
666 (todos-insert-item-maybe-notime-for-diary)
667 (todos-insert-item-maybe-notime-for-diary-here)
668 (todos-insert-item-maybe-notime-here)
669 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
670 (todos-insert-item-here): Remove; all of these are now generated
671 on loading (some with the same name, most with other names.)
672 (todos-item-counts, todos-display-categories-alphabetically)
673 (todos-display-categories-sorted-by-todo)
674 (todos-display-categories-sorted-by-diary)
675 (todos-display-categories-sorted-by-done)
676 (todos-display-categories-sorted-by-archived): Comment out.
677 (todos-comment-string, todos-mode-line-function)
678 (todos-filter-function, todos-priorities-rules)
679 (todos-visit-files-commands, todos-categories-totals-label)
680 (todos-use-only-highlighted-region, todos-diary-nonmarking):
681 New defcustoms.
682 (todos-mark, todos-comment): New faces.
683 (todos-comment-face): Corresponding new variable.
684 (todos-categories-full, todos-global-current-todos-file)
685 (todos-first-visit, todos-insertion-commands-args-genlist)
686 (todos-insertion-commands-args, todos-insertion-commands-names)
687 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
688 (todos-top-priorities-widgets, todos-date-from-calendar)
689 (todos-item-mark, todos-categories-with-marks): New variables.
690 (todos-mode-line-control, todos-reset-global-current-todos-file)
691 (todos-gen-arglists, todos-insertion-command-name)
692 (todos-insertion-key-bindings, todos-unload-hook)
693 (todos-filter-items, todos-set-date-from-calendar)
694 (todos-comment-string-matcher, todos-after-find-file)
695 (todos-reset-nondiary-marker, todos-reset-done-string)
696 (todos-reset-comment-string, todos-show-current-file)
697 (todos-item-marked-p, todos-total-item-counts): New functions.
698 (todos-define-insertion-command): New macro.
699 (todos-toggle-mark-item, todos-mark-category)
700 (todos-unmark-category, todos-set-top-priorities)
701 (todos-merged-diary-items, todos-regexp-items)
702 (todos-merged-regexp-items, todos-custom-items)
703 (todos-merged-custom-items, todos-comment-done-item)
704 (todos-archive-category-done-items, todos-unarchive-items)
705 (todos-print-to-file): New commands.
706 (todos-done-separator): Change :set function.
707 (todos-done-string): Uncomment :initialize and :set functions.
708 (todos-files): Use file-truename.
709 (todos-show-current-file): Rename from
710 todos-auto-switch-todos-file and change :set function accordingly.
711 (todos-font-lock-keywords): Use todos-comment-string-matcher;
712 change names of other matcher functions to new *-matcher.
713 (todos-category-number): Change initial value.
714 (todos-insertion-map): Use todos-insertion-key-bindings to
715 generate key definitions.
716 (todos-mode-map): Don't suppress digit keys, so they can supply
717 prefix arguments; add new and change some existing bindings.
718 (todos-archive-mode-map): Change a key binding.
719 (todos-categories-mode-map): Comment out a key binding.
720 (todos-filter-items-mode-map): Rename from
721 todos-top-priorities-mode-map.
722 (todos-mode): Make todos-current-todos-file,
723 todos-categories-full, todos-categories, todos-first-visit,
724 todos-category-number, todos-show-done-only,
725 todos-categories-with-marks local variables and set them; add
726 todos-show-current-file to pre-command-hook, todos-after-find-file
727 to post-command-hook and todos-reset-global-current-todos-file to
728 kill-buffer-hook.
729 (todos-archive-mode): Make todos-current-todos-file,
730 todos-categories and todos-category-number local variables and set
731 them; add todos-after-find-file to post-command-hook.
732 (todos-raw-mode): New derived major mode.
733 (todos-categories-mode): Don't set font-lock-defaults and
734 buffer-read-only; make todos-current-todos-file and
735 todos-categories local variables and set them.
736 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
737 (todos-quit): Don't reset todos-categories on quitting
738 todos-categories-mode; handle quitting todos-filter-items-mode.
739 (todos-show): Simplify; when visiting an archive file switch to
740 corresponding Todos file; use todos-first-visit.
741 (todos-view-archived-items): Simplify; call todos-category-number.
742 (todos-show-archive): Rename from todos-switch-to-archive and
743 adjust callers; simplify.
744 (todos-toggle-display-date-time): Add optional argument to toggle
745 display in entire file.
746 (todos-top-priorities): Use todos-filter-items, which now contains
747 the previous core of this command.
748 (todos-merged-top-priorities, todos-diary-items):
749 Use todos-filter-items.
750 (todos-forward-category): Add optional argument to go to the
751 previous category.
752 (todos-backward-category): Use todos-forward-category.
753 (todos-jump-to-category): Refine implementation.
754 (todos-forward-item, todos-backward-item): Fix movement from todo
755 to done item and vice versa.
756 (todos-add-file): Remove argument and simplify.
757 (todos-rename-category): Use todos-current-todos-file and
758 todos-mode-line-function; set todos-categories with
759 todos-set-categories.
760 (todos-delete-category): Ask what to do if category has archived items.
761 (todos-raise-category): Ensure modified todos-categories is added
762 to file's categories sexp.
763 (todos-move-category): Improve implementation, especially handling
764 of archived categories.
765 (todos-merge-category): Tweak; set item counts.
766 (todos-insert-item): Improve handling of various argument values;
767 add new argument values to control marking of diary items and to
768 use region for item body.
769 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
770 (todos-delete-item, todos-edit-item-header): Handle marked items.
771 (todos-edit-item): Incorporate functionality of removed
772 todos-string-multiline-p.
773 (todos-edit-multiline): Use set-window-buffer instead of
774 switch-to-buffer.
775 (todos-edit-quit): Don't save on quitting; use todos-show instead
776 of todos-category-select.
777 (todos-raise-item-priority): Add argument to lower priority;
778 improve handling of top priority items in todos-filter-items-mode;
779 restore marks.
780 (todos-lower-item-priority): Use todos-raise-item-priority.
781 (todos-set-item-priority): Increment maximum number if item is new.
782 (todos-move-item): Handle marked items; delay changing category
783 moved from till after movement to avoid restoring if user cancels
784 before insertion.
785 (todos-item-done): Add optional argument to insert comment; fix
786 item counts and update sexp.
787 (todos-item-undo): Fix item counts and update.
788 (todos-archive-done-item-or-items): Rename from
789 todos-archive-done-items; add optional argument to archive all
790 items in category; handle marked items.
791 (todos-unarchive-category): Use todos-unarchive-items.
792 (todos-toggle-diary-inclusion): Incorporate functionality of
793 removed todos-toggle-item-diary-inclusion; handle marked items.
794 (todos-print): Add optional argument to print to file.
795 (todos-done-string-start): Don't use todos-nondiary-start.
796 (todos-date-string-matcher, todos-time-string-matcher)
797 (todos-done-string-matcher, todos-category-string-matcher): Rename
798 from *-match and adjust callers.
799 (todos-wrap-and-indent): Use set instead of setq for local variables.
800 (todos-prefix-overlays): Improve overlay handling.
801 (todos-reset-categories): Fix and complete implementation.
802 (todos-toggle-show-current-file): Rename from
803 todos-toggle-switch-todos-file-noninteractively.
804 (todos-category-select): Use todos-mode-line-function.
805 (todos-item-start): Comment out code used by removed function.
806 (todos-remove-item): Handle presence of both prefix/number and
807 mark overlays.
808 (todos-get-count): Simplify.
809 (todos-set-count): Change argument list and adjust callers; simplify.
810 (todos-set-categories): Handle new archive files; use
811 todos-categories-full and todos-ignore-archived-categories.
812 (todos-truncate-categories-list): Use todos-categories-full.
813 (todos-update-categories-sexp): Use kill-region instead of
814 kill-line; use todos-categories-full.
815 (todos-read-file-name): Add argument to require existing file and
816 adjust callers; use file-truename.
817 (todos-read-category): Remove argument to require existing
818 category and delegate it to completing-read in function body.
819 (todos-validate-category-name): Make empty string prompt only for
820 initial category name.
821 (todos-read-date): Use = instead of eq for testing if month = 13,
822 and if it is, set monthname to *.
823 (todos-display-categories): Use todos-global-current-todos-file;
824 use set-window-buffer instead of switch-to-buffer; add a line
825 showing item count totals.
826 (todos-padded-string): Use the longest of category name or label.
827 (todos-descending-counts): Rename from
828 todos-descending-counts-store and adjust users.
829 (todos-insert-category-line): Adjust format; use mapconcat; kill
830 buffer after jumping to category.
831
d04d6b95
SB
8322012-09-18 Stephen Berman <stephen.berman@gmx.net>
833
bbf95285 834 Changes from 2011-05-16 (revision 109996).
d04d6b95
SB
835 * calendar/todos.el Add and revise various doc strings, remove
836 further commented out code; add further comments; further code
837 rearrangement.
838 (todos-file-do, todos-archive-file, todos-mode-hook)
839 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
840 (todos-view-archive, todos-search-string)
841 (todos-jump-to-category-noninteractively, todos-initial-setup):
842 Remove.
843 (todos-files): Remove this defcustom.
844 (todos-initial-category, todos-display-categories-first)
845 (todos-auto-switch-todos-file, todos-default-todos-file)
846 (todos-categories-category-label, todos-categories-todo-label)
847 (todos-categories-diary-label, todos-categories-done-label)
848 (todos-categories-archived-label)
849 (todos-categories-number-separator, todos-categories-align)
850 (todos-ignore-archived-categories, todos-nondiary-marker):
851 New defcustoms.
852 (todos-prefix, todos-done-separator, todos-file-top)
853 (todos-categories-buffer, todos-archived-categories-buffer)
854 (todos-edit-buffer, todos-always-add-time-string, todos-button):
855 Change default value.
856 (todos-done-string): Add todos-reset-done-string as :set function,
857 but keep this commented out.
858 (todos-files, todos-archives, todos-insertion-map)
859 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
860 (todos-show-done-only, todos-date-string-start)
861 (todos-done-string-start): New variables.
862 (todos-files-directory, todos-files-function, todos-merged-files)
863 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
864 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
865 (todos-toggle-switch-todos-file-noninteractively)
866 (todos-switch-todos-file, todos-counts, todos-get-count)
867 (todos-set-count, todos-set-categories)
868 (todos-truncate-categories-list, todos-update-categories-sexp)
869 (todos-read-file-name, todos-sort, todos-display-sorted)
870 (todos-label-to-key, todos-insert-sort-button): New functions.
871 (todos-display-categories-sorted-by-todo)
872 (todos-display-categories-sorted-by-diary)
873 (todos-display-categories-sorted-by-done)
874 (todos-display-categories-sorted-by-archived)
875 (todos-update-merged-files, todos-switch-to-archive)
876 (todos-choose-archive, todos-merged-top-priorities)
877 (todos-jump-to-category-other-file, todos-clear-matches)
878 (todos-add-file, todos-change-default-file, todos-move-category)
879 (todos-merge-category, todos-merge-categories)
880 (todos-edit-item-time, todos-move-item-to-file)
881 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
882 (todos-toggle-diary-nonmarking): New commands.
883 (todos-toggle-show-done-only): New command replacing todos-view-archive.
884 (todos-faces): New defgroup; use in all face definitions.
885 (todos-sorted-column, todos-archived-only, todos-search): New faces.
886 (todos-font-lock-keywords): Use subexpression 1 with matcher
887 todos-category-string-match.
888 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
889 (todos-categories-mode-map): Add new key bindings; change some
890 existing bindings.
891 (todos-top-priorities-mode-map): New keymap.
892 (todos-menu): Add submenues and new entries.
893 (auto-mode-alist): Add extension of Todos and Todos archive files.
894 (todos-mode, todos-archive-mode): Make derived mode; use
895 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
896 and todos-switch-todos-file; make todos-show-done-only local
897 variable.
898 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
899 (todos-categories-mode): Make derived mode.
900 (todos-top-priorities-mode): New derived major mode.
901 (todos-save): Remove unused code.
902 (todos-quit): Handle todos-categories-mode; save archive buffer.
903 (todos-show): Add optional argument to prompt for a Todos file; if
904 called interactively or with prefix arg or from an archive, don't
905 make a no-op but reset todos-current-todos-file, todos-categories
906 and todos-category-number; use todos-read-file-name,
907 todos-display-categories-first, todos-ignore-archived-categories.
908 (todos-display-categories): Change argument name; refactor code
909 for inserting table labels and lines, using
910 todos-ignore-archived-categories, todos-sort,
911 todos-categories-number-separator, todos-insert-sort-button,
912 todos-categories-*-labels, and todos-insert-category-line.
913 (todos-display-categories-alphabetically): Use todos-display-sorted.
914 (todos-toggle-view-done-items): Use todos-done-string-start and
915 todos-get-count.
916 (todos-toggle-display-date-time): Use todos-done-string-start.
917 (todos-top-priorities): Remove autoload cookie; partially rewrite:
918 new argument list; allow combining top priorities of multiple
919 Todos files; change display to include category (and file) name as
920 part of item header; use todos-top-priorities-mode.
921 (todos-diary-items): Reimplement using only todos-top-priorities.
58c7641d 922 (todos-forward-category, todos-backward-category): Adjust to
d04d6b95
SB
923 1-based numbering of categories; move point to top of category.
924 (todos-jump-to-category): Rewrite, adding optional arguments to
925 provide a category in non-interactive uses and to prompt for which
926 Todos file to jump to.
927 (todos-search): Reimplement; highlight each match as found, say
928 how many matches remain and prompt whether to go to next one; at
929 end of search prompt whether to remove highlighting.
930 (todos-add-category): Remove autoload cookie; assign new category
931 the highest category number; associate zero-initialized vector of
932 item counts, instead of property list, with new category; use
933 todos-validate-category-name and todos-update-categories-sexp.
934 (todos-rename-category): Use todos-validate-category-name and
935 todos-update-categories-sexp; take archive files into account.
936 (todos-delete-category): Use todos-get-count and
937 todos-update-categories-sexp, let-bind variable that were
938 mistakenly global; use delete-region instead of kill-region;
58c7641d
SB
939 adjust to 1-based numbering of categories; move point to top of
940 category.
d04d6b95
SB
941 (todos-raise-category): Handle item count vectors; use
942 todos-insert-category-line and todos-update-categories-sexp.
943 (todos-insert-item): Use nil time-string argument to omit time
944 string; use todos-nondiary-start and todos-nondiary-end and
945 todos-update-categories-sexp; if category named to insert into
946 does not exist, add it; take new diary items into account.
947 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
948 (todos-insert-item-ask-date-time-for-diary)
949 (todos-insert-item-ask-date-time-for-diary-here)
950 (todos-insert-item-ask-date-time-here)
951 (todos-insert-item-ask-date-maybe-notime)
952 (todos-insert-item-ask-date-maybe-notime-for-diary)
953 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
954 (todos-insert-item-ask-date-maybe-notime-here)
955 (todos-insert-item-ask-date-for-diary)
956 (todos-insert-item-ask-date-for-diary-here)
957 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
958 (todos-insert-item-ask-dayname-time)
959 (todos-insert-item-ask-dayname-time-for-diary)
960 (todos-insert-item-ask-dayname-time-for-diary-here)
961 (todos-insert-item-ask-dayname-time-here)
962 (todos-insert-item-ask-dayname-maybe-notime)
963 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
964 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
965 (todos-insert-item-ask-dayname-maybe-notime-here)
966 (todos-insert-item-ask-dayname-for-diary)
967 (todos-insert-item-ask-dayname-for-diary-here)
968 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
969 (todos-insert-item-ask-time-for-diary)
970 (todos-insert-item-ask-time-for-diary-here)
971 (todos-insert-item-ask-time-here)
972 (todos-insert-item-maybe-notime)
973 (todos-insert-item-maybe-notime-for-diary)
974 (todos-insert-item-maybe-notime-for-diary-here)
975 (todos-insert-item-maybe-notime-here)
976 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
977 New insertion commands.
978 (todos-insert-item-from-calendar): Use todos-current-todos-file.
979 (todos-delete-item): Handle diary items;
980 use todos-update-categories-sexp.
981 (todos-edit-item): Check if point is with item string;
982 use read-string instead of read-from-minibuffer;
983 use todos-date-string-start; after editing put point at start of
984 item text.
985 (todos-edit-multiline): Narrow to item before invoking
986 todos-edit-mode; show key binding of todos-edit-quit in a message.
987 (todos-edit-quit): Use todos-save; kill buffer.
988 (todos-edit-item-header): Add optional argument to prompt for
989 editing only date string or only time string;
990 use todos-date-string-start.
991 (todos-edit-item-date, todos-edit-item-date-is-today)
992 (todos-raise-item-priority, todos-lower-item-priority): Rename
993 from todos-{raise, lower}-item and make them DTRT in
994 todos-top-priorities-mode.
995 (todos-set-item-priority): Make interactive; use todos-get-count
996 and todos-insert-with-overlays; interactively, just relocate the
997 item within its category.
998 (todos-move-item): Add optional argument to prompt for a category
999 in another Todos file; handle diary items; fix restoration after
1000 cancelling before inserting.
1001 (todos-item-done): Handle diary items; simplify handling of
1002 insertion in done items section.
1003 (todos-item-undo): Handle diary items.
58c7641d 1004 (todos-archive-done-items): Adjust to new handling of archive
d04d6b95
SB
1005 files (in parallel with Todos files); handle diary items; use
1006 todos-done-string-start.
1007 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
1008 todos-nondiary-end and todos-item-counts.
1009 (todos-toggle-diary-inclusion): Use todos-category-done instead of
1010 todos-category-end.
1011 (todos-print): Remove autoload cookie; rewrite to make overlays,
1012 line wrapping and wrap prefixes printable.
1013 (todos-date-pattern): Make parenthesized groups shy.
1014 (todos-date-string-match): Use todos-date-string-start; make
1015 todos-date-pattern an explicitly numbered group.
1016 (todos-time-string-match): Use todos-date-string-start.
1017 (todos-done-string-match): Use todos-done-string-start.
1018 (todos-category-string-match): Rewrite to match new category and
1019 category+filename patterns in todos-top-priorities-mode.
1020 (todos-prefix-overlays): Use todos-done-string-start and
1021 todos-category-done.
1022 (todos-reset-prefix): Handle archive files; restore point after
1023 changing prefix.
1024 (todos-reset-separator): Handle archive files.
1025 (todos-category-number): Make category number one more than its
1026 list index.
58c7641d 1027 (todos-current-category): Adjust to 1-based numbering of categories.
d04d6b95
SB
1028 (todos-category-select): Simplify handling of done items and done
1029 separator string overlay.
1030 (todos-item-start): Use todos-date-string-start and
1031 todos-done-string-start.
1032 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
1033 (todos-item-string): Restore point after getting item bounds; use
1034 buffer-substring-no-properties.
1035 (todos-done-item-p): Use todos-done-string-start.
1036 (todos-make-categories-list): Add optional argument to force
1037 looping through file to get categories and their item counts,
1038 otherwise set todos-categories from sexp in first line; use
1039 vectors of item counts instead of plists; count diary items.
1040 (todos-item-counts): Use todos-counts, todos-set-counts,
1041 todos-get-counts, and todos-update-categories-sexp instead of
1042 getting and setting properties; handle diary items.
1043 (todos-read-category): Add argument to set prompt; don't offer
1044 default category.
1045 (todos-validate-category-name): Rename from
1046 todos-check-category-name; take into account whether there are
1047 already categories or not.
1048 (todos-read-date): Accept `*' as an unspecified month, day, or year.
1049 (todos-padded-string): Accommodate new structure of
1050 todos-categories as alists; use todos-categories-align.
1051 (todos-descending-counts-store): New variable.
1052 (todos-insert-category-line): Rename from
1053 todos-insert-category-name and reimplement using labels and
1054 todos-get-counts instead of properties; use
1055 todos-ignore-archived-categories; highlight sorted column.
1056
f730d273
SB
10572012-09-14 Stephen Berman <stephen.berman@gmx.net>
1058
bbf95285 1059 Changes from 2010-07-09 (revision 109995).
f730d273
SB
1060 * calendar/todos.el Remove lots of commented out code; add various
1061 comments; further code rearrangement.
1062 (todos-insert-item-here-ask-date-time)
1063 (todos-insert-item-ask-date-time)
1064 (todos-insert-item-ask-dayname-time)
1065 (todos-insert-item-for-diary)
1066 (todos-insert-item-for-diary-ask-date-time)
1067 (todos-make-categories-alist, todos-categories-alist): Remove.
1068 (todos-categories-list): Comment out.
1069 (todos-make-categories-list): New function replacing
1070 todos-make-categories-alist, using category plists to get item
1071 counts and taking archive into account.
1072 (todos-current-todos-file): New variable.
1073 (todos-mode-map): Update key bindings.
1074 (todos-save): Add as comment code to make sure todos-categories
1075 sexp is current on saving.
1076 (todos-quit): Call todos-show on quitting Todos archive buffer.
1077 (todos-show): If todos-current-todos-file is not set to Todos
1078 file, set it as a new file; set todos-categories from
1079 todos-make-categories-alist.
1080 (todos-display-categories): Use a different display format for
1081 archive file; put point initially on the first button.
1082 (todos-toggle-view-done-items): Check the category's `done'
1083 property to determine if there are done items.
1084 (todos-view-archive): Set todos-current-todos-file to the archive
1085 file; jump from the Todos file to the same category in the
1086 archive, if it exists, else jump to the first category; use
1087 message instead of error.
1088 (todos-add-category): Intern a special symbol for the new category
1089 and set its property list to holds counts of the numbers of todo,
1090 done and archived items in the category; assign the new category
1091 the current highest category number.
1092 (todos-rename-category): Don't use todos-categories-alist.
1093 (todos-delete-category): Check the category's `todo' and `done'
1094 properties to determine if it is empty; ensure that the end of the
1095 last category is found; after deleting the category, empty its
1096 plist and unintern its special symbol.
1097 (todos-insert-item-here): Fix argument list of todos-insert-item.
1098 (todos-delete-item, todos-raise-item, todos-lower-item):
1099 Use message instead of error.
1100 (todos-move-item): If the category to be moved to does not exist,
1101 add it as a new category.
1102 (todos-item-done, todos-reset-separator):
1103 Use todos-category-select instead of todos-show.
1104 (todos-archive-done-items): Make buffer writeable; conditionalize
1105 search for end of category; save after adding to archive in case
1106 the file is new, so it can be found.
1107 (todos-category-select): Wrap search in if instead of or+and;
1108 don't hide done items in an archive.
1109 (todos-set-item-priority): Check the category's `todo'
1110 property to determine if there are not done todo items.
1111 (todos-jump-to-category-noninteractively): Just switch to buffer
1112 visiting todos-current-todos-file, since this can be either a
1113 Todos file or an archive.
1114 (todos-item-counts): Use category's plist instead of an alist.
1115 (todos-longest-category-name-length): Argument is now a list of
1116 category names, not an alist, so just test each element, not each
1117 element's the car.
1118 (todos-padded-string): Use todos-categories instead of
1119 todos-categories-alist.
1120 (todos-insert-category-name): Use category plist to get item
1121 counts; take archived items into account.
1122
ee7412e4
SB
11232012-09-13 Stephen Berman <stephen.berman@gmx.net>
1124
bbf95285 1125 Changes from 2010-06-18 (revision 109994).
ee7412e4
SB
1126 * calendar/todos.el: Numerous spelling and comment fixes, doc
1127 string fixes to conform with checkdoc, further rearrangement of
1128 definitions, etc.
1129 (todos-previous-line, todos-previous-answer)
1130 (todos-insert-item-ask-date, todos-change-date)
1131 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1132 (todos-count-items-in-category, todos-count-all-items): Remove.
1133 (todos-update-numbered-prefix, todos-item-start-overlays)
1134 (todos-add-item-non-interactively): Comment out, also in uses.
1135 (todos-done-separator): Change default value.
1136 (todos-always-add-time-string): Rename from todos-add-time-string
1137 and adjust uses.
1138 (todos-read-category): Rename from todos-completing-read and
1139 adjust callers; use todos-current-category.
1140 (todos-make-categories-alist): Rename from function
1141 todos-categories-alist.
1142 (todos-categories-alist): New variable.
1143 (todos-indent-to-here): New defcustom.
1144 (todos-button): New face.
1145 (todos-display-categories-alphabetically, todos-raise-category)
1146 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1147 (todos-insert-item-here-ask-date-time)
1148 (todos-insert-item-ask-date-time)
1149 (todos-insert-item-ask-dayname-time): New commands.
1150 (todos-edit-item-header): New command replacing todos-change-date.
1151 (todos-category-number, todos-indent, todos-item-counts)
1152 (todos-check-category-name, todos-read-date, todos-read-dayname)
1153 (todos-read-time, todos-padded-string)
1154 (todos-insert-category-name): New functions.
1155 (todos-set-item-priority): New function replacing
1156 todos-add-item-non-interactively.
1157 (todos-mode-map): Remap newline to newline-and-indent.
1158 (todos-edit-mode-map): Make sparse keymap; remap newline to
1159 newline-and-indent.
1160 (todos-categories-mode-map): New keymap.
1161 (todos-mode, todos-edit-mode): Make indent-line-function local
1162 variable and set to todos-indent.
1163 (todos-categories-mode): New major mode.
1164 (todos-display-categories): List categories initially in their
1165 numerical order; add optional argument to switch to alphabetical
1166 listing.
1167 (todos-toggle-view-done-items): Simplify implementation.
1168 (todos-toggle-display-date-time): Fix regexp search string.
1169 (todos-backward-item, todos-forward-item): Use variable
1170 todos-item-start.
1171 (todos-add-category): Use todos-check-category-name and
1172 todos-categories-alist.
1173 (todos-rename-category): Use todos-current-category,
1174 todos-check-category-name and todos-categories-alist.
1175 (todos-delete-category): Use todos-check-category-name and
1176 todos-categories-alist and take done items into account.
1177 (todos-insert-item): Use separate arguments to handle insertion of
1178 date/dayname and time strings, add new argument to mark item for
1179 diary inclusion, use new todos-read-* functions,
1180 todos-set-item-priority and todos-item-counts.
1181 (todos-insert-item-here, todos-insert-item-for-diary)
1182 (todos-insert-item-from-calendar): Adapt to new version of
1183 todos-insert-item.
1184 (todos-delete-item, todos-item-done): Use todos-item-counts.
1185 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1186 char follows.
1187 (todos-lower-item): Ensure only not-done items can be lowered.
1188 (todos-move-item): Use todos-current-category, todos-read-category
1189 and todos-item-counts.
1190 (todos-archive-done-items): Use todos-current-category and
1191 todos-item-counts; fix regexp search string.
1192 (todos-item-undo): Use todos-current-category,
1193 todos-set-item-priority, todos-insert-with-overlays and
1194 todos-item-counts; restore if user quits before inserting undone
1195 item.
1196 (todos-date-pattern): Rewrite without using
1197 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1198 (todos-date-string-match): Do not make todos-date-pattern an
1199 unnumbered group.
1200 (todos-time-string-match): Make todos-date-pattern a shy group.
1201 (todos-wrap-and-indent): Use todos-indent-to-here.
1202 (todos-reset-prefix): Revert to using todos-show instead of
1203 todos-category-select.
1204 (todos-prefix-overlays): Fix numbering of done items and updating
1205 of prefix.
1206 (todos-category-select): Use todos-current-category; fix display
1207 of separator string; don't move point to top of category.
1208 (todos-jump-to-category-noninteractively): Use todos-category-number.
1209 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1210 (todos-item-start): New variable.
1211 (todos-item-start): Use it to define this function.
1212 (todos-item-end): Adjust if item is last unfinished one before
1213 displayed done items.
1214 (todos-remove-item): Use todos-item-start and todos-item-end
1215 instead of todos-forward-item and todos-backward-item.
1216 (todos-longest-category-name-length): Add argument for list of
1217 categories.
1218
2c173503
SB
12192012-09-13 Stephen Berman <stephen.berman@gmx.net>
1220
bbf95285 1221 Changes from 2010-05-25 (revision 109993).
2c173503
SB
1222 * calendar/todos.el: Comment out calendar require, since diary-lib
1223 requires calendar. Rearrange file to group definitions according
1224 to their use (types of commands, internal functions, etc.)
1225 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1226 (todos-date-string, todos-time-string, todos-check-overlay)
1227 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1228 Comment out.
1229 (todos-current-date, todos-item-end-overlays)
1230 (todos-list-categories): Remove.
1231 (todos-item-end): Remove (the variable, not the function).
ee7412e4 1232 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
2c173503 1233 callers.
2c173503
SB
1234 (todos-done-separator, todos-done-string, todos-show-with-done)
1235 (todos-files, todos-archive-file, todos-categories-buffer)
1236 (todos-archived-categories-buffer, todos-wrap-lines)
1237 (todos-line-wrapping-function): New defcustoms.
1238 (todos-done, todos-done-sep): New faces.
1239 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1240 (todos-search-string, todos-date-nodayname-pattern)
1241 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1242 (todos-done-string-match, todos-category-string-match)
1243 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1244 (todos-current-category, todos-count-items-in-category)
1245 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1246 (todos-longest-category-name-length): New functions.
1247 (todos-categories-list): New buffer-specific function replacing
1248 todos-list-categories.
1249 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1250 (todos-search, todos-view-archive, todos-diary-items)
1251 (todos-toggle-display-date-time, todos-insert-item-no-time)
1252 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1253 (todos-insert-item-from-calendar, todos-edit-quit)
1254 (todos-change-date, todos-item-done, todos-archive-done-items)
1255 (todos-item-undo): New commands.
ee7412e4 1256 (todos-archive-mode): New major mode.
2c173503
SB
1257 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1258 (todos-category-beg): Change value.
1259 (todos-number-prefix): Change default value.
1260 (todos-edit-buffer): Change from defvar to defcustom.
1261 (todos-font-lock-keywords): Use todos-done-string-match and
1262 todos-category-string-match.
1263 (todos-backward-item, todos-forward-item): Use todos-done-string
1264 and todos-date-pattern.
1265 (todos-display-categories): Reimplement using buttons from
1266 button.el instead of widgets.
1267 (todos-top-priorities): Use with-current-buffer; take done items
1268 into account; ensure buffers gets fontified.
1269 (todos-add-category): Ensure new category does not begin with
1270 empty lines.
1271 (todos-jump-to-category): Use todos-category-select instead of
1272 todos-show.
1273 (todos-rename-category): Prompt for new name in body instead of in
1274 interactive spec.
1275 (todos-insert-item): Don't insert in done items section of
1276 category. Add two optional arguments to control insertion: (i) to
1277 insert near point without prompting for priority; (ii) to use
1278 defaults for date and time strings, to prompt for these, or to
1279 choose date from the Calendar.
1280 (todos-insert-item-here): Reimplement using todos-insert-item.
1281 (todos-delete-item): Don't move point after deleting last item.
1282 (todos-raise-item, todos-lower-item): Take done items into account.
1283 (todos-move-item): Don't move done items; update item numbering;
1284 restore if user quits before inserting moved item.
1285 (todos-print): Prompt for confirmation to print.
1286 (todos-reset-prefix): Search backward from end of file instead of
1287 forward from top.
1288 (todos-jump-to-category-noninteractively): Take Todos archive into
1289 account.
1290 (todos-category-select): Show or hide done items according to
1291 todos-show-with-done; if shown, coordinate separator and prefix
1292 overlays.
1293 (todos-add-item-non-interactively): Replace binary insertion
1294 algorithm with prompting for numerical priority.
1295 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1296 (todos-item-start): Take done items into account; use
1297 todos-date-pattern.
1298 (todos-item-end): Reimplement using todos-forward-item.
1299 (todos-remove-item): Reimplement using todos-forward-item and
1300 todos-backward-item; redo overlay handling.
1301 (todos-mode-map): Add some new key bindings and change numerous
1302 existing bindings; use "i" as prefix key for item insertion
1303 commands.
1304 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1305 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1306 spec; set buffer-read-only to t and consequently let-bind this
1307 variable in all Todos commands that change buffer content.
1308 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1309 (todos-save): Don't save top priorities buffer.
1310 (todos-show): Make a no-op if called interactively in narrowed
1311 Todos mode, since, also to work around item prefix reduplication
1312 bug with show-paren-mode enabled; use todos-categories-list.
1313
b28025ed
SB
13142012-09-12 Stephen Berman <stephen.berman@gmx.net>
1315
bbf95285 1316 Changes from 2009-11-07 (revision 109992).
b28025ed
SB
1317 * calendar/todos.el: Comment out time-stamp require; require
1318 calendar and diary-lib.
1319 (todos-prefix): Change default value and doc string to reflect new
1320 meaning; add :initialize and :set functions.
1321 (todos-time-string-format, todos-entry-prefix-function)
1322 (todos-initials, todos-entry-timestamp-initials)
1323 (todos-prefix-face, todos-category-sep, todos-category-end)
1324 (todos-cp): Comment out.
1325 (todos-prefix-string): Inherit from font-lock-comment-face.
1326 (todos-item-header, todos-item-header-face): Remove.
1327 (todos-date, todos-time): New faces.
1328 (todos-date-face, todos-time-face): Corresponding new variables.
1329 (todos-add-time-string, todos-include-in-diary)
1330 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1331 New defcustoms.
1332 (todos-item-end, todos-item-start-overlays)
1333 (todos-item-end-overlays): New variables.
1334 (todos-date-string-match, todos-time-string-match): New functions.
1335 (todos-font-lock-keywords): Use them.
1336 (todos-current-date, todos-date-string, todos-time-string)
1337 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1338 (todos-reset-prefix, todos-update-numbered-prefix)
1339 (todos-check-overlay, todos-item-overlays)
1340 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1341 (todos-highlight-item): New command.
1342 (todos-category-beg): Change value.
1343 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1344 (todos-backward-item): Add optional count argument; use it and
1345 todos-item-start.
1346 (todos-forward-item): Use todos-check-overlay, todos-item-start
1347 and variable todos-item-end.
1348 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1349 todos-update-numbered-prefix, todos-item-overlays.
1350 (todos-add-category, todos-rename-category)
1351 (todos-list-categories): Use new category format.
1352 (todos-delete-category): Allow deleting non-empty category;
1353 use new category format.
1354 (todos-add-item-non-interactively): Comment out unnecessary
1355 save-excursion; use todos-insert-with-overlays.
1356 (todos-insert-item): Comment out unnecessary save-excursion; use
1357 new item format for date/time header and diary inclusion marking.
1358 (todos-insert-item-here): Use new item format for date/time header
1359 and diary inclusion marking; use todos-insert-with-overlays.
1360 (todos-raise-item): Make a no-op if point is on an empty line; use
1361 todos-insert-with-overlays.
1362 (todos-lower-item): Use todos-insert-with-overlays.
1363 (todos-top-priorities): Move call to todos-show inside
1364 save-excursion; add save-current-buffer after save-restriction.
1365 (todos-item-start): Use variable todos-item-end.
1366 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1367 (todos-remove-item): Take item overlays into account.
1368 (todos-mode): Change calculation of wrap-prefix; make
1369 hl-line-range-function a local variable and set it to highlight
1370 todo item.
1371 (todos-show): Ensure point stays at top of category.
1372
98c97dee
SB
13732012-09-12 Stephen Berman <stephen.berman@gmx.net>
1374
bbf95285 1375 Changes from 2009-07-04 (revision 109991).
98c97dee
SB
1376 * calendar/todos.el (todos-window-configuration): Comment out.
1377 (todos-display-categories): Comment out use of
1378 todos-window-configuration; use switch-to-buffer instead of
1379 pop-to-buffer.
1380 (todos-jump-to-category-noninteractively): Comment out use of
1381 todos-window-configuration.
1382 (todos-edit-item): Don't allow editing of date/time item header.
1383 (todos-insert-item, todos-insert-item-here): Insert date/time
1384 header in front of new item string.
1385 (todos-mode): Tweak wrap-prefix.
1386
1f678911
SB
13872012-09-12 Stephen Berman <stephen.berman@gmx.net>
1388
bbf95285 1389 Changes from 2009-06-26 (revision 109989).
1f678911
SB
1390 * calendar/todos.el (todos-file-do, todos-file-done):
1391 Change default location to directory "~/.emacs.d/".
1392 (todos-completion-ignore-case, todos-categories-buffer):
1393 New defcustoms.
1394 (todos-prefix-string, todos-item-header): New faces.
1395 (todos-prefix-face, todos-item-header-face): Corresponding
1396 new variables.
1397 (todos-rename-category, todos-delete-category)
1398 (todos-display-categories, todos-move-item): New commands.
1399 (todos-mode-map): Add key bindings for new commands and for
1400 todos-add-category, which had no key binding.
1401 (todos-jump-to-category-noninteractively): New function.
1402 (todos-top-priorities): Comment out code using a previously
1403 deleted variable.
1404 (todos-completing-read): Allow SPC to insert a space when entering
1405 a new category name; use todos-completion-ignore-case.
1406 (todos-font-lock-keywords, todos-window-configuration):
1407 New variables.
1408 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1409 word-wrap, and wrap-prefix local variables.
1410
fffe5949
SB
14112012-09-12 Stephen Berman <stephen.berman@gmx.net>
1412
bbf95285 1413 Changes from 2009-02-16 (revision 109988).
fffe5949
SB
1414 * calendar/todos.el (todos-list-categories): Fix typos.
1415 (todos-show): Ensure file is in todos-mode.
1416
1e3d87b3
SB
14172012-09-12 Stephen Berman <stephen.berman@gmx.net>
1418
bbf95285 1419 Changes from 2009-02-12 (revision 109987).
1e3d87b3
SB
1420 * calendar/todos.el (todos-header): Remove defvar.
1421 (todos-add-category): Comment out code that inserts and updates
1422 the file local variables first line of the file todos-file-do.
1423 (todos-list-categories): New function.
1424 (todos-show): Use it; remove use of a previously deleted variable.
1425
3f031767
SB
14262012-09-11 Stephen Berman <stephen.berman@gmx.net>
1427
bbf95285 1428 Changes from 2009-02-12 (revision 109986).
3f031767
SB
1429 * calendar/todos.el: New file. This is a copy of todo-mode.el
1430 from revision 94343 except for the following changes: replace all
1431 occurrences of the namespace prefix "todo-" with "todos-", delete
1432 the defvar todo-cats (the old name of todo-categories) and its use
1433 in todos-add-category, delete all defaliases of old command names.
1434
baa26ea0
BG
14352012-09-11 Bastien Guerry <bzg@gnu.org>
1436
1437 * subr.el (set-temporary-overlay-map): Add a docstring.
1438 (bug#12346)
1439
04e8abfa
BG
14402012-09-11 Bastien Guerry <bzg@gnu.org>
1441
96d03571
BG
1442 * minibuffer.el (completion-table-subvert): Fix docstring.
1443 (bug#12347)
1444
14452012-09-11 Bastien Guerry <bzg@gnu.org>
1446
1447 * help-fns.el (describe-variable): Fix typo. (bug#12346)
04e8abfa 1448
04e082b0
MM
14492012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1450
1451 * progmodes/sql.el: Version 3.1
1452 (sql-db2-escape-newlines): New variable.
1453 (sql-escape-newlines-filter): Use it.
1454
399a361b
JB
14552012-09-10 Juanma Barranquero <lekktu@gmail.com>
1456
1457 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1458
0780c517
DN
14592012-09-10 Dan Nicolaescu <dann@gnu.org>
1460
1461 * vc/diff-mode.el (diff-mode-menu): Bind
1462 diff-remove-trailing-whitespace.
1463
9b851e25
SM
14642012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1467 (emacs-lisp-byte-code-comment)
1468 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1469 New functions.
1470 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1471 (eval-defun-2): Remove bogus interactive spec.
1472 (lisp-indent-line): Remove redundant whole-exp code, now done in
1473 indent-according-to-mode.
1474 (save-match-data): Remove redundant indent data.
1475
1476 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1477 Use `declare'.
1478
3231d532
JL
14792012-09-09 Juri Linkov <juri@jurta.org>
1480
1481 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1482 (replace-lax-whitespace, query-replace-regexp)
1483 (query-replace-regexp-eval, replace-regexp): Doc fix.
1484 (perform-replace, replace-highlight): Let-bind
1485 isearch-lax-whitespace to replace-lax-whitespace and
1486 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1487
1488 * isearch.el (isearch-query-replace): Let-bind
1489 replace-lax-whitespace to isearch-lax-whitespace and
1490 replace-regexp-lax-whitespace to
1491 isearch-regexp-lax-whitespace. (Bug#10885)
1492
70fe8236
SM
14932012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1495 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1496
8ed43f15
AM
14972012-09-09 Alan Mackenzie <acm@muc.de>
1498
70fe8236
SM
1499 * progmodes/cc-engine.el (c-state-cache-init):
1500 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1501 (c-record-parse-state-state):
1502 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1503
bfabf70a
AS
15042012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1505
1506 * register.el (register-separator): Rename from
1507 separator-register. All uses changed. Doc fix.
1508 (register): Fix version.
1509
011474aa
CY
15102012-09-09 Chong Yidong <cyd@gnu.org>
1511
1512 * replace.el (query-replace-map): Bind four new symbols for
1513 requesting window scrolling.
1514
1515 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1516 query-replace-map (Bug#8948).
1517
1518 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1519
1520 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1521 since they are now in query-replace-map.
1522
1523 * window.el (scroll-other-window-down): Make the arg optional.
1524
a8b7cd8d
CY
15252012-09-09 Chong Yidong <cyd@gnu.org>
1526
1527 * files.el (hack-local-variables-confirm): Use quit-window to kill
1528 the *Local Variables* buffer.
1529
c3268831
DG
15302012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1531
1532 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1533 not just expect to be at its beginning. Adjust callees.
1534 Succeed when do-end block has no space before the pipe character.
1535 (ruby-brace-to-do-end): When the original block is one-liner,
1536 convert to multiline. Reindent the result.
1537
0979429b
J
15382012-09-08 Jambunathan K <kjambunathan@gmail.com>
1539
1540 * register.el (register): New group.
1541 (register-separator): New user option.
1542 (increment-register): Route it to `append-to-register', if
1543 register contains text. Implication is that `C-x r +' can now be
1544 used for appending to a text register (bug#12217).
1545 (append-to-register, prepend-to-register): Add separator based on
1546 `register-separator.
1547
ace2989a
AM
15482012-09-08 Alan Mackenzie <acm@muc.de>
1549
1550 AWK Mode: make auto-newline work when there's "==" in the pattern.
1551 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1552 correctly.
0979429b
J
1553 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1554 Test more rigorously for "=" token.
ace2989a 1555
616c6c36
DG
15562012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1557
0979429b
J
1558 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1559 Only fail when reached LIMIT.
616c6c36 1560
35d98877
CY
15612012-09-08 Chong Yidong <cyd@gnu.org>
1562
1563 * dired.el (dired-mode-map): Don't bind M-=.
1564
1565 * dired-aux.el (dired-diff): Use backup file as default.
1566
1715f2db
DA
15672012-09-08 Drew Adams <drew.adams@oracle.com>
1568
1569 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1570
6dcef6ec
CY
15712012-09-08 Chong Yidong <cyd@gnu.org>
1572
1573 * subr.el (syntax-after, syntax-class): Doc fix.
1574
fa2bcf43
MR
15752012-09-08 Martin Rudalics <rudalics@gmx.at>
1576
1577 * window.el (display-buffer-in-previous-window): New buffer
1578 display action function.
1579
1580 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1581 (debugger-previous-window): New variable.
1582 (debug): Rewrite using display-buffer-in-previous-window,
1583 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1584
daac280a
SM
15852012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1588
9dd40b00
MM
15892012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1590
daac280a
SM
1591 * progmodes/python.el (python-shell-send-string):
1592 When default-directory is remote, create temp file on remote
9dd40b00
MM
1593 filesystem.
1594 (python-shell-send-file): When file is remote, pass local view of
1595 file paths to remote Python interpreter. (Bug#12340)
1596
145823ec
CY
15972012-09-07 Chong Yidong <cyd@gnu.org>
1598
cee2e90d
CY
1599 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1600
0d7eb2ea
CY
1601 * files.el (after-find-file): Don't fail on a read-only buffer if
1602 require-final-newline is `visit' or `visit-save' (Bug#11156).
1603
145823ec
CY
1604 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1605
daac280a
SM
1606 * userlock.el (ask-user-about-supersession-threat):
1607 Use read-char-choice (Bug#12093).
145823ec 1608
74c582e6
CY
16092012-09-07 Chong Yidong <cyd@gnu.org>
1610
e5c2edf7
CY
1611 * subr.el (buffer-narrowed-p): New function.
1612
1613 * ses.el (ses-widen):
1614 * simple.el (count-words--buffer-message):
1615 * net/browse-url.el (browse-url-of-buffer): Use it
1616
1617 * simple.el (count-words-region): Don't signal an error if there
1618 is a non-nil prefix arg and the mark is not set.
c640e87d 1619
74c582e6
CY
1620 * help.el (describe-key-briefly): Allow the message to be seen
1621 when invoked from the minibuffer (Bug#7014).
1622
d81ceaaf
DG
16232012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1624
1625 * progmodes/ruby-mode.el (ruby-end-of-defun)
1626 (ruby-beginning-of-defun): Simplify, allow indentation before
1627 block beginning and end keywords.
8f06acce
DG
1628 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1629 (ruby-end-of-defun): Expect that the point is at the beginning of
1630 the defun.
d81ceaaf 1631
d458ef98
SM
16322012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1635 (bug#12367).
1636 (cl--make-usage-args): Strip _ from argument names.
1637
20367d28
RS
16382012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1639
1640 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1641 obsolete alias speedbar-key-map.
1642 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1643 (vhdl-index-menu-init): Don't use obsolete variable
1644 font-lock-maximum-size.
1645
3424a4f6
CY
16462012-09-06 Chong Yidong <cyd@gnu.org>
1647
1648 * frame.el (window-system-version): Mark as obsolete.
1649
fcbfbdea
CY
1650 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1651 of obsolete variable speedbar-key-map.
1652
826b3235
JL
16532012-09-06 Juri Linkov <juri@jurta.org>
1654
1655 * replace.el (replace-lax-whitespace): New defcustom.
1656 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1657 (replace-string, replace-regexp): Mention it in docstrings.
1658 (perform-replace, replace-highlight): Let-bind
1659 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1660 to the values of replace-lax-whitespace and regexp-flag.
1661 Don't let-bind search-whitespace-regexp. (Bug#10885)
1662
1663 * isearch.el (isearch-query-replace): Let-bind
1664 replace-lax-whitespace instead of let-binding
1665 replace-search-function and replace-re-search-function.
1666 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1667 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1668 (isearch-toggle-symbol): Set isearch-regexp to nil
1669 in isearch-word mode (like in isearch-toggle-word).
1670
1ec5e41d
JL
16712012-09-06 Juri Linkov <juri@jurta.org>
1672
1673 * replace.el (replace-search-function)
1674 (replace-re-search-function): Set default values to nil.
1675 (perform-replace): Let-bind isearch-related variables based on
1676 replace-related values, call `isearch-search-fun' and let-bind
1677 the result to `search-function'. Remove code that sets
1678 `search-function' and `search-string' separately for
1679 `delimited-flag'.
1680 (replace-highlight): Add new argument `delimited-flag' and
1681 rename other arguments to the names used in `perform-replace'.
1682 Let-bind `isearch-word' to the argument `delimited-flag'.
1683 (Bug#10885, bug#10887)
1684
0ba2d4b6
DG
16852012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1686
1687 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1688 ruby-beginning-of-indent, simplify, allow all keywords to have
1689 indentation before them.
1690 (ruby-beginning-of-indent): Adjust for above. Search until the
1691 found point is not inside a string or comment.
1692 (ruby-font-lock-keywords): Allow symbols to start with "@"
1693 character, give them higher priority than variables.
1694 (ruby-syntax-propertize-function)
1695 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1696 matchers. Expression expansions are not comments when inside a
1697 string, and there comment syntax status is irrelevant.
1698 (ruby-match-expression-expansion): New function. Check that
1699 expression expansion is inside a string, and it's not escaped.
1700 (ruby-font-lock-keywords): Use it.
1701
ef654460
MR
17022012-09-05 Martin Rudalics <rudalics@gmx.at>
1703
1704 * help.el (temp-buffer-max-height): New default value.
1705 (temp-buffer-resize-frames): New option.
1706 (resize-temp-buffer-window): Optionally resize frame.
1707
1708 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1709 (fit-frame-to-buffer): New function.
1710
7e570fbf 17112012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1712
1713 * emulation/cua-rect.el (cua--init-rectangles):
1714 * textmodes/picture.el (picture-mode-map):
1715 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1716 like forward-char and backward-char. (Bug#12317)
1717
7e570fbf 17182012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1719
1720 * progmodes/flymake.el (flymake-warning-re): New variable.
1721 (flymake-parse-line): Use it.
1722
7e570fbf 17232012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1724
1725 * calendar/holidays.el (holiday-christian-holidays):
1726 Rename an entry. (Bug#12289)
1727
7e570fbf 17282012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1729
1730 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1731 (bug#12222).
1732
972debf2
SM
17332012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * loadup.el: Load macroexp. Remove hack.
1736 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1737 (macroexp--expand-all): Use it to get better warnings.
1738 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1739 (internal-macroexpand-for-load): New functions.
1740 (macroexp--pending-eager-loads): New var.
1741 (emacs-startup-hook): New hack to replace one in loadup.el.
1742 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1743 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1744 (cl-psetf): Simplify.
1745 (cl-defstruct): Add indent rule.
1746
8ce192e3
LI
17472012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1748
1749 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1750 over `user-mail-address' for the SMTP MAIL FROM envelope.
1751 (smtpmail-via-smtp): Ditto.
1752
6578b4d8
DG
17532012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1754
1755 * progmodes/ruby-mode.el: Clean up keybindings.
1756 (ruby-mode-map): Don't bind ruby-electric-brace,
1757 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1758 backward-kill-word, reindent-then-newline-and-indent.
1759 (ruby-mark-defun): Remove.
1760 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1761 (ruby-mode): Set local beginning-of-defun-function and
1762 end-of-defun-function values.
1763
c5e28e39
MR
17642012-09-03 Martin Rudalics <rudalics@gmx.at>
1765
1766 * window.el (temp-buffer-window-setup-hook)
1767 (temp-buffer-window-show-hook): New hooks.
1768 (temp-buffer-window-setup, temp-buffer-window-show)
1769 (with-temp-buffer-window): New functions.
972debf2
SM
1770 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1771 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1772
1773 * help.el (temp-buffer-resize-mode): Fix doc-string.
1774 (resize-temp-buffer-window): New optional argument WINDOW.
1775
1776 * files.el (recover-file, save-buffers-kill-emacs):
1777 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1778
73406194
MA
17792012-09-02 Michael Albinus <michael.albinus@gmx.de>
1780
1781 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1782 remote definition of `default-directory', ensure we can connect.
1783
63dd1c6f
JL
17842012-09-02 Juri Linkov <juri@jurta.org>
1785
1786 Toggle whitespace matching mode with M-s SPC.
1787 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1788
1789 * isearch.el (search-whitespace-regexp): Doc fix.
1790 Remove cons cell customization.
1791 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1792 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1793 New variables.
1794 (isearch-forward, isearch-forward-regexp): Doc fix.
1795 (isearch-toggle-lax-whitespace): New command.
1796 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1797 (re-search-forward-lax-whitespace)
1798 (re-search-backward-lax-whitespace): New functions.
1799 (isearch-whitespace-regexp): Remove function.
1800 (isearch-query-replace): Let-bind replace-search-function and
1801 replace-re-search-function.
1802 (isearch-occur): Let-bind search-spaces-regexp according to the
1803 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1804 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1805 condition for C-q SPC.
1806 (isearch-search-fun-default): Use new functions mentioned above.
1807 (isearch-search-forward, isearch-search-backward): Remove functions.
1808 (isearch-search): Don't let-bind search-spaces-regexp.
1809 (isearch-lazy-highlight-space-regexp): Remove variable.
1810 (isearch-lazy-highlight-lax-whitespace)
1811 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1812 (isearch-lazy-highlight-new-loop): Use them.
1813 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1814
af7dda05
CY
18152012-09-02 Chong Yidong <cyd@gnu.org>
1816
1817 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1818
d67d3afd
GM
18192012-09-02 Glenn Morris <rgm@gnu.org>
1820
1821 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1822
69678719
GM
18232012-09-01 Glenn Morris <rgm@gnu.org>
1824
1825 * term.el: Tidy up menu definitions.
1826 (term-mode-map): Use easymenu for In/Out, Complete menus.
1827 (term-pager-break-map): Initialize in the defvar.
1828 (term-terminal-menu, term-signals-menu): Define with easymenu.
1829 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1830 (term-pager-menu): New, extracted from term-process-pager.
1831 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1832 (term-update-mode-line): Propertize line/char and page items.
1833 (term-process-pager): Move keymap initialization elsewhere.
1834
78dd6ab1
MR
18352012-09-01 Martin Rudalics <rudalics@gmx.at>
1836
1837 * window.el (switch-to-prev-buffer): Handle additional values of
1838 BURY-OR-KILL argument. Don't switch in minibuffer window.
1839 (switch-to-next-buffer): Don't switch in minibuffer window.
1840 (quit-restore-window): New function based on quit-window.
1841 Handle additional values of former KILL argument.
1842 (quit-window): Call quit-restore-window with appropriate
1843 interpretation of KILL argument.
1844 (display-buffer-below-selected): New buffer display action
1845 function.
1846
3d10e134
SM
18472012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 * minibuffer.el (completion-at-point-functions): Complete docstring
1850 (bug#12254).
1851
0e23ef9d
PE
18522012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1853
1854 Better seed support for (random).
1855 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1856 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1857 * play/mpuz.el, play/tetris.el, play/zone.el:
1858 * calc/calc-comb.el (math-init-random-base):
1859 * play/blackbox.el (bb-init-board):
1860 * play/life.el (life):
1861 * server.el (server-use-tcp):
1862 * type-break.el (type-break):
1863 Remove unnecessary call to (random t).
1864 * net/sasl.el (sasl-unique-id-function):
1865 Change (random t) to (random), now that the latter is more random.
1866 * play/life.el (life-initialized): Remove no-longer-needed var.
1867
862382df
MR
18682012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1869
1870 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1871 Consider frame's buffer predicate when choosing the buffer.
1872 (Bug#12081)
1873
262a66e1
RS
18742012-08-30 Richard Stallman <rms@gnu.org>
1875
1876 * simple.el (special-mode-map): Delete binding for `z'.
1877
f17e1d00
AS
18782012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1879
1880 * progmodes/compile.el (compilation-always-kill): Doc fix.
1881
24777832
CY
18822012-08-30 Chong Yidong <cyd@gnu.org>
1883
1884 * window.el (display-buffer-reuse-frames): Make the obsolescence
1885 message more informative.
1886
69ba1f04
GM
18872012-08-30 Glenn Morris <rgm@gnu.org>
1888
1889 * paren.el (show-paren-delay):
1890 Add a :set function. Doc fix. (Bug#12297)
1891
f0019ede
MB
18922012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1893
1894 * progmodes/compile.el (compilation-always-kill): New var.
1895 (compilation-start): Use it.
1896
35e62fc9
SM
18972012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1898
af070a1c
SM
1899 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1900 * files.el (read-only-mode): Move to simple.el.
1901
35e62fc9
SM
1902 * files.el (read-only-mode): New minor mode.
1903 (toggle-read-only): Use it and mark obsolete.
1904 (find-file--read-only):
1905 * vc/vc.el (vc-next-action, vc-checkout):
1906 * vc/vc-cvs.el (vc-cvs-checkout):
1907 * obsolete/vc-mcvs.el (vc-mcvs-update):
1908 * ffap.el (ffap--toggle-read-only): Update callers.
1909
c2c43c23
MA
19102012-08-29 Michael Albinus <michael.albinus@gmx.de>
1911
1912 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1913 remote shell scripts.
1914 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1915
1916 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1917 "/usr/local/sbin".
1918
9fba804b
SM
19192012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1922
eada0861 19232012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1924
806f0cc7
LL
1925 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1926 completion-at-point. (Bug#12220)
1927
3bb213b9
LL
1928 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1929
22ab32ef
LL
1930 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1931
eada0861 19322012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1933
19c17fc1
CY
1934 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1935 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1936
eada0861 19372012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1938
1939 * progmodes/hideif.el (hif-compress-define-list):
1940 Fix typo. (Bug#11951)
1941
eada0861 19422012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1943
1944 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1945 buffer local setting.
1946
27d6c5a8
LL
1947 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1948 rcirc-encode-coding-system.
1949
eada0861 19502012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1951
1952 * net/rcirc.el (rcirc-split-message): New function.
1953 (rcirc-send-message): Use it. (Bug#12051)
1954
d44688e4
JL
19552012-08-28 Juri Linkov <juri@jurta.org>
1956
1957 * info.el (Info-fontify-node): Hide empty lines at the end of
1958 the node. (Bug#12272)
1959
34f10d41
MR
19602012-08-27 Drew Adams <drew.adams@oracle.com>
1961
1962 * dired.el (dired-pop-to-buffer): Make window start at beginning
1963 of buffer (Bug#12281).
1964
77f1f99c
CY
19652012-08-26 Chong Yidong <cyd@gnu.org>
1966
1967 * window.el (special-display-regexps, special-display-frame-alist)
1968 (special-display-buffer-names, special-display-function)
1969 (display-buffer-reuse-frames): Mark as obsolete.
1970
1971 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1972
1973 * help.el (help-print-return-message): Don't treat
1974 display-buffer-reuse-frames specially.
1975
d97af5a0
CY
19762012-08-26 Chong Yidong <cyd@gnu.org>
1977
9fba804b
SM
1978 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1979 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1980 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1981 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1982 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1983 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1984 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1985 the functions directly with gdb-display-buffer-other-frame-action.
1986 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1987 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1988 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1989 (gdb-display-registers-buffer): Define directly.
1990 (def-gdb-display-buffer): Macro deleted.
1991 (gdb-display-buffer): Remove second and third args, callers don't
1992 use them. Defer to the default display-buffer behavior, apart
1993 from making windows dedicated.
1994 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1995
1996 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1997
1998 * window.el (display-buffer-pop-up-frame): Handle a
1999 pop-up-frame-parameters alist entry.
2000 (display-buffer): Document it.
2001
dd7ffad6
CY
20022012-08-26 Chong Yidong <cyd@gnu.org>
2003
2004 * isearch.el (search-whitespace-regexp): Make string and nil
2005 values apply to both ordinary and regexp search. Allow a cons
2006 cell value to distinguish between the two.
2007 (isearch-whitespace-regexp, isearch-search-forward)
2008 (isearch-search-backward): New functions.
2009 (isearch-occur, isearch-search-fun-default, isearch-search)
2010 (isearch-lazy-highlight-new-loop): Use them.
2011 (isearch-forward, isearch-forward-regexp): Doc fix.
2012
4c47bd1e
CY
20132012-08-26 Chong Yidong <cyd@gnu.org>
2014
2015 * faces.el (help-argument-name): Always inherit from italic
2016 (Bug#12213).
2017
9aba119d
MR
20182012-08-25 Martin Rudalics <rudalics@gmx.at>
2019
2020 * window.el (window--even-window-heights): Even heights when
2021 WINDOW and the selected window form a vertical combination.
2022 (display-buffer-use-some-window): Provide that window used gets
2023 sized back by quit-window. (Bug#11880) and (Bug#12091)
2024
ca5256ad
PE
20252012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2026
2027 Fix file time stamp problem with bzr and CVS (Bug#12001).
2028 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2029 in the file's time stamp, since the version control system loses
2030 that information.
2031
d1c0d176
JL
20322012-08-22 Juri Linkov <juri@jurta.org>
2033
2034 * info.el (Info-fontify-node): Hide the suffix of the
2035 Info file name in the header line. (Bug#12187)
2036
141562ff
GM
20372012-08-22 Glenn Morris <rgm@gnu.org>
2038
2039 * calendar/cal-tex.el (cal-tex-weekly-common):
2040 Restore leading blank page.
2041
61a48e19 20422012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2043
2044 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2045 the region under `shift-select-mode'. (Bug#12231)
2046
20472012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2048
2049 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2050 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2051 gives details on why the space is never needed.
2052
ea95074e
MR
20532012-08-22 Martin Rudalics <rudalics@gmx.at>
2054
9fba804b
SM
2055 * window.el (walk-window-tree, window-with-parameter):
2056 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2057 should run on the minibuffer window.
2058 (window-at-side-list): Don't operate on minibuffer window.
2059 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2060 (window--size-ignore): Rename to window--size-ignore-p.
2061 Update callers.
caceae25
MR
2062 (display-buffer-in-atom-window, window--major-non-side-window)
2063 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2064 (delete-side-window, display-buffer-in-side-window):
2065 New functions.
caceae25
MR
2066 (window--side-check, window-deletable-p, delete-window)
2067 (delete-other-windows, split-window): Handle side windows and
2068 atomic windows appropriately.
2069 (window--display-buffer): Call display-buffer-record-window also
2070 when the window buffer did not change.
ea95074e 2071
80a51fa0
CS
20722012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2073
2074 * help-fns.el (help-fns--key-bindings):
2075 Abbreviate non-symbol remap targets. (Bug#12174)
2076
fbb6300b
MR
20772012-08-22 Martin Rudalics <rudalics@gmx.at>
2078
2079 * dired.el (dired-mark-remembered): Don't clobber point.
2080 (Bug#11795)
2081
2b2c0794
GM
20822012-08-22 Glenn Morris <rgm@gnu.org>
2083
2084 * progmodes/bug-reference.el (bug-reference): New custom group.
2085 (bug-reference-bug-regexp): Make it a defcustom.
2086
37219830
DU
20872012-08-22 Daiki Ueno <ueno@unixuser.org>
2088
2089 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2090 (js-paren-indent-offset, js-square-indent-offset)
2091 (js-curly-indent-offset): Add :safe (Bug#12257).
2092
94e0e559
EC
20932012-08-22 Edward O'Connor <hober0@gmail.com>
2094
2095 * json.el (json-key-format): Add error properties.
2096 (json-encode-key): New function.
2097 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2098 Use json-encode-key.
2099
da485f5e
GM
21002012-08-22 Glenn Morris <rgm@gnu.org>
2101
2102 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2103 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2104 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2105 Update for above change.
2106
c6cc78b8
AS
21072012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2108
2109 * cus-face.el (custom-face-attributes): Fix customize type for the
2110 :underline attribute. (Bug#11805)
2111
5481664a
MR
21122012-08-21 Martin Rudalics <rudalics@gmx.at>
2113
2114 * window.el (window-point-1, set-window-point-1): Remove.
2115 (window-in-direction, record-window-buffer)
2116 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2117 (window--state-get-1, display-buffer-record-window):
2118 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2119 window-point and set-window-point respectively.
2120
6d74698e
GM
21212012-08-21 Glenn Morris <rgm@gnu.org>
2122
b7fa2691
GM
2123 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2124 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2125 Use it.
2126
52f56d5a
GM
2127 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2128 (cal-tex-shortday): New function.
2129 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2130 (cal-tex-cursor-filofax-daily): Use the above.
2131
9f1ee09e
GM
2132 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2133 New functions.
2134 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2135 (cal-tex-cursor-filofax-week): Use them.
2136
79858159
GM
2137 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2138 New constants.
2139 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2140 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2141
d346b2b4
GM
2142 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2143 (cal-tex-end-document): Don't rely on buffer name.
2144
b2403709
GM
2145 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2146 Use cal-tex-vspace.
2147 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2148 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2149 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2150 Use cal-tex-arg.
b2403709 2151
1cebb5c0
GM
2152 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2153 (cal-tex-cursor-week, cal-tex-cursor-week2)
2154 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2155 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2156 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2157 (cal-tex-insert-preamble, cal-tex-b-document)
2158 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2159 Improve cal-tex-cmd usage.
2160
c68cd5d4
GM
2161 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2162 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2163 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2164 (cal-tex-weekly-paper): New function.
2165 (cal-tex-cursor-week, cal-tex-cursor-week2)
2166 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2167 (cal-tex-cursor-day): Use it.
2168
9dca4801
GM
2169 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2170 (cal-tex-cursor-filofax-week): Remove leading blank page.
2171
1941e134
GM
2172 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2173 Add autoload cookie. For now at least, don't use color, since
2174 no other cal-tex function does.
2175
6d74698e
GM
2176 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2177 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2178 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2179
64cde199
JL
21802012-08-21 Juri Linkov <juri@jurta.org>
2181
2182 * info.el (Info-file-attributes): New variable.
2183 (info-insert-file-contents): Add file attributes to
2184 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2185 `Info-toc-nodes' when previous modtime of the Info file is less
2186 than new modtime.
2187 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2188 of info.el. (Bug#12230)
2189
32757648
GM
21902012-08-20 Glenn Morris <rgm@gnu.org>
2191
2192 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2193 * calendar/holidays.el (calendar-holiday-list):
2194 Report errors with display-warning rather than beep'n'sleep.
2195
a32fbbcf
MA
21962012-08-20 Michael Albinus <michael.albinus@gmx.de>
2197
2198 * net/tramp.el (tramp-accept-process-output): Accept only output
2199 from PROC. Otherwise, process filters and sentinels might be
2200 confused. (Bug#12145)
2201
a05731a0
CY
22022012-08-20 Chong Yidong <cyd@gnu.org>
2203
2204 * descr-text.el (describe-text-properties-1): Use overlays-in to
2205 report on empty overlays (Bug#3322).
2206
36e8d1eb
GM
22072012-08-20 Glenn Morris <rgm@gnu.org>
2208
3d300447
GM
2209 * mail/rmailout.el (rmail-output-read-file-name):
2210 Trap and report errors in rmail-output-file-alist elements.
2211
36e8d1eb
GM
2212 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2213 since most non-font-lock faces are not also variables).
2214
b96e5814
ER
22152012-08-20 Edward Reingold <reingold@iit.edu>
2216
2217 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2218 New function. (Bug12160)
2219
7cef3569
GM
22202012-08-19 Glenn Morris <rgm@gnu.org>
2221
2222 * mail/rmailout.el (rmail-output-read-file-name):
2223 Fix previous change (when the alist is nil or does not match).
2224
17975d7f
CY
22252012-08-19 Chong Yidong <cyd@gnu.org>
2226
2227 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2228 (Bug#12228).
2229
2170b1bd
CY
22302012-08-18 Chong Yidong <cyd@gnu.org>
2231
2232 * simple.el (yank-handled-properties): New defcustom.
2233 (yank-excluded-properties): Add font-lock-face and category.
2234 (yank): Doc fix.
2235
9fba804b
SM
2236 * subr.el (remove-yank-excluded-properties):
2237 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2238 and category is now done this way, instead of being hard-coded.
2239 (insert-for-yank-1): Remove font-lock-face handling.
2240 (yank-handle-font-lock-face-property)
2241 (yank-handle-category-property): New function.
2242
ee218151
GM
22432012-08-17 Glenn Morris <rgm@gnu.org>
2244
2245 * mail/rmailout.el (rmail-output-read-file-name):
2246 Check rmail-output-file-alist against the full message body
2247 in the correct rmail buffer. (Bug#12214)
2248
4a6bc3fd
MA
22492012-08-17 Michael Albinus <michael.albinus@gmx.de>
2250
9fba804b
SM
2251 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2252 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2253
383dcbf9
CY
22542012-08-17 Chong Yidong <cyd@gnu.org>
2255
2256 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2257 font spec, set the font directly (Bug#3228).
2258
998c4a6a
MR
22592012-08-17 Martin Rudalics <rudalics@gmx.at>
2260
2261 * window.el (delete-window): Fix last fix.
2262
52162052
MR
22632012-08-16 Martin Rudalics <rudalics@gmx.at>
2264
2265 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2266 (window-child, window-child-count, window-last-child)
2267 (window-normalize-window, window-combined-p)
2268 (window-combinations, window-atom-root, window-min-size)
2269 (window-sizable, window-sizable-p, window-size-fixed-p)
2270 (window-min-delta, window-max-delta, window--resizable)
2271 (window--resizable-p, window-resizable, window-total-size)
2272 (window-full-height-p, window-full-width-p, window-body-size)
2273 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2274 (minimize-window, window-deletable-p, delete-window)
2275 (delete-other-windows, set-window-buffer-start-and-point)
2276 (next-buffer, previous-buffer, split-window, balance-windows-2)
2277 (set-window-text-height, window-buffer-height)
2278 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2279 (truncated-partial-width-window-p): Minor code adjustments.
2280 In doc-strings state whether the argument window has to denote a
85c2386b 2281 live, valid or any window.
52162052 2282
1c308380
PS
22832012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2284
2285 * progmodes/subword.el (subword-forward-function)
2286 (subword-backward-function, subword-forward-regexp)
2287 (subword-backward-regexp): New variables.
2288 (subword-forward, subword-forward-internal, subword-backward-internal):
2289 Use new variables, eg so that different "word" definitions
2290 can be easily used. (Bug#11411)
2291
94c9ece1
SM
22922012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2295 for composite selectors.
2296 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2297 operation just because we can't find a previous revision.
2298
f2045622
CY
22992012-08-15 Chong Yidong <cyd@gnu.org>
2300
2301 * frame.el (set-frame-font): Accept font objects.
2302
582db660
SM
23032012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2306
2f29c200
WJ
23072012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2308
456e62c2
WJ
2309 * man.el (Man-overstrike-face, Man-underline-face)
2310 (Man-reverse-face): Remove variables.
2311 (Man-overstrike, Man-underline, Man-reverse): New faces.
2312 (Man-fontify-manpage): Use them instead of the variables.
2313 (Man-cleanup-manpage): Comment change.
2314 (Man-ansi-color-map): New variable.
2315 (Man-fontify-manpage): Use it.
2316 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2317
2f29c200
WJ
2318 Implement ANSI SGR parameters 22-27 (bug#12146).
2319 * ansi-color.el (ansi-colors): Doc fix.
2320 (ansi-color-context, ansi-color-context-region): Doc fix.
2321 (ansi-color--find-face): New function.
2322 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2323 Rename the local variable `face' to `codes' since it is now a list of
2324 ansi codes. Doc fix.
2325 (ansi-color-get-face): Remove.
2326 (ansi-color-parse-sequence): New function, derived from
2327 ansi-color-get-face.
2328 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2329 codes 22-27.
2330
b4f5e9df
SM
23312012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2332
2333 * subr.el (read-passwd): Allow use from a minibuffer.
2334
ba025fbd
EZ
23352012-08-14 Eli Zaretskii <eliz@gnu.org>
2336
2337 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2338 inside comments and strings as identifiers.
2339
2340 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2341 expression to evaluate. This allows to evaluate expressions with
2342 embedded whitespace.
2343 (gud-tooltip-tips): Add a blank before the newline in the
2344 message-box text, for the benefit of message-box emulation on
2345 MS-Windows.
2346
2347 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2348 messages from GDB, pop them up in a tooltip to give feedback to
2349 user.
b4f5e9df
SM
2350 (gdb-tooltip-print-1): Quote the expression to evaluate.
2351 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2352 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2353 if the TTY name is nil or empty (which happens when communicating
2354 with the inferior via pipes, e.g. on MS-Windows).
2355 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2356 don't send that to the GUD buffer.
2357
c548f821
GM
23582012-08-14 Glenn Morris <rgm@gnu.org>
2359
2360 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2361 Optimize away setq-default with no args, as for setq. (Bug#12195)
2362
55802e4a
CY
23632012-08-14 Chong Yidong <cyd@gnu.org>
2364
4abcdac8
CY
2365 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2366
55802e4a
CY
2367 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2368 (Bug#12085).
2369
3c3cda1a
GM
23702012-08-14 Glenn Morris <rgm@gnu.org>
2371
2372 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2373
e1873bd0
MA
23742012-08-14 Michael Albinus <michael.albinus@gmx.de>
2375
2376 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2377 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2378 Use cached shell name.
2379
925411b4
FEG
23802012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2381
2382 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2383 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2384
e636fafe
DG
23852012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2386
2387 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2388 (ruby-percent-literal-beg-re): New constant.
2389 (ruby-syntax-general-delimiters-goto-beg): Rename to
2390 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2391 (ruby-syntax-propertize-general-delimiters): Rename to
2392 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2393 popular term. Adjust comments everywhere.
2394 (ruby-syntax-propertize-percent-literal): Only propertize when not
2395 inside a simple string or comment. When the literal is unclosed,
2396 leave the text after it unpropertized.
f063063a
DG
2397 (ruby-syntax-methods-before-regexp): New constant.
2398 (ruby-syntax-propertize-function): Use it to recognize regexps.
2399 Don't look at the text after regexp, just use the whitelist.
e636fafe 2400
e5b19827
AS
24012012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2402
2403 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2404 non-nil always load the compiled file if it exists. (Bug#12197)
2405
a9f6f311
CY
24062012-08-14 Chong Yidong <cyd@gnu.org>
2407
2408 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2409 (hi-lock-set-pattern): When deciding whether to use font lock or
2410 overlays, look at font-lock-mode instead of font-lock-fontified
2411 (Bug#12168).
2412 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2413 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2414
7d806b1e
DU
24152012-08-14 Daiki Ueno <ueno@unixuser.org>
2416
2417 * subr.el (internal--after-with-selected-window): Fix typo
2418 (Bug#12193).
2419
5beed586
FEG
24202012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2421
2422 Use `completion-table-dynamic' for completion functions.
2423 * progmodes/python.el
2424 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2425 (python-shell-completion--get-completions):
2426 Remove functions.
5beed586
FEG
2427 (python-shell-completion-complete-at-point): New function.
2428 (python-completion-complete-at-point): Use it.
2429
92cb3b04
J
24302012-08-13 Jambunathan K <kjambunathan@gmail.com>
2431
2432 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2433 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2434
89660017
SM
24352012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2436
3c98c962
SM
2437 * subr.el (function-get): Refine `autoload' arg so it can also
2438 autoload functions for gv.el (bug#12191).
2439 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2440 autoloads macros.
2441
aa7c6dbe
SM
2442 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2443 Prefer pcase-let over destructuring-bind.
2444 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2445 Also, remove whitespace as we go, rather than after accumulating the
2446 various places.
2447
89660017
SM
2448 * subr.el (internal--before-with-selected-window)
2449 (internal--after-with-selected-window): Fix typo seleted->selected.
2450 (with-selected-window): Adjust callers.
2451 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2452
31cd32c9
BG
24532012-08-13 Bastien Guerry <bzg@gnu.org>
2454
0fcd3d9f 2455 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2456 enhancement. (Bug#12172)
2457
1b15d8ad
AS
24582012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2459
31e54db0
AS
2460 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2461 type 1-6.
2462 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2463 extended headers.
2464
1b15d8ad
AS
2465 * files.el (hack-local-variables-filter): Remove useless eval.
2466
35cb9c06
MR
24672012-08-13 Martin Rudalics <rudalics@gmx.at>
2468
2469 * subr.el (with-selected-window): Fix last change.
2470
1439443b
SM
24712012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * subr.el (internal--before-with-seleted-window)
2474 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2475 (with-selected-window): Use them, to replace dependency on
2476 tty-top-frame.
1439443b 2477
0d9e2599
NN
24782012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2479
2480 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2481 binding for `newline'.
2482 (ruby-move-to-block): When moving backward, stop at block opening,
2483 not indentation.
2484 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2485 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2486 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2487 `ruby-toggle-block'.
2488
ba10c48c
SM
24892012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * ibuffer.el (ibuffer-do-toggle-read-only):
2492 * dired.el (dired-toggle-read-only):
2493 * buff-menu.el (Buffer-menu-toggle-read-only):
2494 * bindings.el (mode-line-toggle-read-only):
2495 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2496
9229c658
AS
24972012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2498
2499 * descr-text.el (describe-char): Put the overlays over the
2500 "displayed as" character.
2501
0fd09128
JB
25022012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2503
2504 * calc/calc-units.el (math-default-units-table): Give an
2505 initial value.
2506 (math-put-default-units): Add options to put composite units and
2507 unit systems in the default units table.
2508 (calc-convert-units): Send composite units to
2509 `math-put-default-units' when appropriate.
2510
9ff9402d 25112012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2512
fbb5e336
GM
2513 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2514
7aacaf15
GM
2515 * tutorial.el (help-with-tutorial):
2516 * emacs-lisp/copyright.el (copyright-update-directory):
2517 * emacs-lisp/autoload.el (autoload-find-generated-file)
2518 (autoload-find-file): Disable local eval: (for insurance).
2519
f40b9f10
GM
2520 * files.el (hack-local-variables-filter): If an eval: form is not
2521 known to be safe, and enable-local-variables is :safe, then ignore
2522 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2523 This is CVE-2012-3479.
f40b9f10 2524
daa9f1a6
SM
25252012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2526
2527 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2528 (rx-form): Simplify.
2529
9cd80478
DG
25302012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2531
0d9e2599
NN
2532 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2533 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2534 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2535 (ruby-syntax-propertize-function): Adjust for changes in
2536 `ruby-syntax-propertize-heredoc'.
2537
25382012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2539
9cd80478
DG
2540 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2541 binding (use `M-;' instead).
9cd80478 2542 (ruby-singleton-class-p): New function.
0d9e2599 2543 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2544
d301b413
SM
25452012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2548
1530c98e
CY
25492012-08-10 Chong Yidong <cyd@gnu.org>
2550
2551 * progmodes/python.el (python-shell-get-process-name): Don't mess
2552 with same-window-buffer-names.
2553
2554 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2555 (eshell-remove-from-window-buffer-names): Make obsolete.
2556 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2557 (eshell): Just use pop-to-buffer-same-window instead.
2558
e1293765
CY
25592012-08-10 Chong Yidong <cyd@gnu.org>
2560
2561 * bindings.el: Bind M-= back to count-words-region.
2562
2563 * simple.el (count-words-region): Accept a prefix arg for acting
2564 on the entire buffer.
2565 (count-words--buffer-message): New helper function.
2566
e1894109
SM
25672012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2568
2569 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2570 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2571 (event-start, event-end): Use posn-at-point to return a more
2572 informative posn.
2573 (posnp): New function.
2574 * mouse.el (popup-menu-normalize-position): Use it.
2575
c69f56a2
MY
25762012-08-10 Masatake YAMATO <yamato@redhat.com>
2577
2578 * mouse.el (popup-menu-normalize-position): New function.
2579 (popup-menu): Use `popup-menu-normalize-position' to normalize
2580 the form for POSITION argument.
2581
2582 * term/x-win.el (x-menu-bar-open):
2583 Use the value returend from (posn-at-point) as position
2584 passed to `popup-menu'.
2585
31673780
JB
25862012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2587
2588 * calc/calccomp.el (math-compose-expr): Add extra argument
2589 indicating that parentheses should be put around products in
2590 denominators. Give multiplication precedence over division during
2591 composition.
2592
dab7711b
CY
25932012-08-09 Chong Yidong <cyd@gnu.org>
2594
dee4ef93
CY
2595 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2596 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2597 (Man-untabify-command, manual-program): Convert to defcustom
2598 (Bug#10429).
2599
73e2bbc5
CY
2600 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2601
3e861c8a
CY
2602 * descr-text.el (describe-char): Don't insert extra newlines
2603 (Bug#10127).
2604
a9f5a649
CY
2605 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2606 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2607
dab7711b
CY
2608 * align.el (align-region): Delete temporary markers (Bug#10047).
2609 Plus some code cleanups.
2610
e0cc4efa
FEG
26112012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2612
2613 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2614 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2615 (python-shell-internal-last-output): Use make-local-variable
2616 instead of make-variable-buffer-local.
2617
489af14f
FEG
26182012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2619
2620 * progmodes/python.el: Enhancements to forward-sexp.
2621 (python-nav-forward-sexp): Rename from
2622 python-nav-forward-sexp-function.
c69f56a2
MY
2623 (python-nav--forward-sexp, python-nav--backward-sexp):
2624 New functions.
489af14f 2625
0fc50303
JB
26262012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2627
2628 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2629 modes and simplification modes.
2630
5d65606a
SM
26312012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * delsel.el (delete-selection-pre-hook): Don't propagate the
2634 file-supersession signals (bug#12161).
2635
4250fdf5
SM
26362012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2637
2638 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2639 (cl-map-extents): Add compatibility aliases (bug#12135).
2640
d9f9b465
MA
26412012-08-08 Michael Albinus <michael.albinus@gmx.de>
2642
2643 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2644 tests by `ignore-error'.
2645 (tramp-find-shell): Open also a new shell, when cache is already
2646 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2647
ce0fcefa
JL
26482012-08-08 Juri Linkov <juri@jurta.org>
2649
2650 * bookmark.el: Add `defaults' property to the bookmark record.
2651 (bookmark-current-buffer): Doc fix.
2652 (bookmark-make-record): Add `defaults' property with default values
2653 to the bookmark record.
2654 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2655 with `bookmark-insert-current-bookmark'.
2656 (bookmark-set): Get `defaults' property from the bookmark record
2657 and use it in `read-from-minibuffer'.
2658 (bookmark-insert-current-bookmark): Remove function.
2659
2660 * info.el (Info-bookmark-make-record): Add `defaults' property
2661 with values of canonical Info node name, the current Info file
2662 name and the current Info node name. (Bug#12107)
2663
53fa8652
JL
26642012-08-08 Juri Linkov <juri@jurta.org>
2665
2666 * files.el (basic-save-buffer): Use `buffer-name' as the default
2667 of `read-file-name' when buffer is not visiting a file (bug#12128).
2668
242c0a95
JL
26692012-08-08 Juri Linkov <juri@jurta.org>
2670
2671 * info.el (Info-isearch-search): Doc fix.
2672 (Info-search): Change search-failed message from "initial node" to
2673 "end of node" (bug#12078).
2674 (Info-isearch-search): Change `isearch-string-state' to
2675 `isearch--state-string'.
2676
32ac3a6b
GM
26772012-08-08 Glenn Morris <rgm@gnu.org>
2678
2679 * language/persian.el: Remove file.
f8c1afd5 2680 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2681 * loadup.el: Remove language/persian.
2682
2c2d9c9c
OF
26832012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2684
2685 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2686
2d79ec42
FEG
26872012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2688
2689 * progmodes/python.el Fixed defsubst warning.
2690 (python-syntax-context) Rename from python-info-ppss-context.
2691 (python-syntax-context-type): Rename from
2692 python-info-ppss-context-type.
2693 (python-syntax-comment-or-string-p): Rename from
2694 python-info-ppss-comment-or-string-p.
2695
2bd255dd
JB
26962012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2697
2698 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2699
c395097f
AS
27002012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2701
6125983e
AS
2702 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2703 a defcustom that is quoted with backquote.
2704
4250fdf5
SM
2705 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2706 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2707 (math-do-arg-check, math-define-function-body): Use backquote forms.
2708 * calc/calc-ext.el (math-defcache): Likewise.
2709 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2710 * allout.el (allout-new-exposure): Likewise.
2711 * calc/calcalg2.el (math-tracing-integral): Likewise.
2712 * info.el (Info-last-menu-item): Likewise.
2713 * emulation/vip.el (vip-loop): Likewise.
2714 * textmodes/artist.el (artist-funcall): Likewise.
2715 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2716 Construct menu-item directly.
2717
4250fdf5
SM
2718 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2719 Don't declare.
c395097f 2720
5fb50dd3
CY
27212012-08-07 Chong Yidong <cyd@gnu.org>
2722
2723 * simple.el (deactivate-mark): Preserve text properties when
2724 saving the primary selection (Bug#8384).
2725
54eea618
KR
27262012-08-07 Kevin Ryde <user42@zip.com.au>
2727
2728 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2729 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2730 and continue processing (Bug#12110).
2731
638eaeb9
SM
27322012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2735 syntax-propertize-function (bug#10095).
2736
ea376861
SM
27372012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2738
f91b35be
SM
2739 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2740 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2741 describe-function-1.
2742 (describe-function-1): Use them. Move compiler macro after sig.
2743 (help-fns--compiler-macro): Use function-get. Assume we're already in
2744 standard-output. Adjust layout to new call order.
2745
ea376861
SM
2746 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2747 re-binding a symbol that has a symbol-macro (bug#12119).
2748
d5be7bd0
MB
27492012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2750
2751 * language/persian.el: New file. (Bug#11812)
2752 * loadup.el: Add language/persian.el.
2753
90749b53
CY
27542012-08-06 Chong Yidong <cyd@gnu.org>
2755
2756 * window.el (window--maybe-raise-frame): New function.
2757 (window--display-buffer): Split off from here.
2758 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2759 (display-buffer-pop-up-window, display-buffer-use-some-window):
2760 Obey an inhibit-switch-frame action alist entry.
2761 (display-buffer): Update doc.
2762
2763 * replace.el (occur-after-change-function): Avoid losing focus by
2764 using the inhibit-switch-frame display parameter (Bug#12139).
2765
ba7b0154
FEG
27662012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2767
2768 Make internal shell process buffer names start with space.
2769 * progmodes/python.el (python-shell-make-comint): Add optional
2770 argument INTERNAL.
2771 (run-python-internal): Use it.
2772 (python-shell-internal-get-or-create-process): Check for new
2773 internal buffer names.
2774
5eaeacb5
GM
27752012-08-06 Glenn Morris <rgm@gnu.org>
2776
e296d94b 2777 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2778 Do less getting and setting of environment variables.
2779
b7ccbdc2
CY
27802012-08-05 Chong Yidong <cyd@gnu.org>
2781
777fe95e
CY
2782 * proced.el (proced): Add substitution string to docstring to
2783 trigger autoloading of the proced library on C-h f (Bug#1768).
2784
4250fdf5
SM
2785 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2786 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2787
2788 * imenu.el (imenu-generic-expression): Move documentation here
2789 from imenu--generic-function.
2790 (imenu--generic-function): Refer to imenu-generic-expression.
2791
9e3b7800 27922012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
2793
2794 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2795 indentation declaration.
2796 (viper-loop): Add indentation declaration (Bug#7025).
2797
e5d9c0d1
CY
27982012-08-05 Chong Yidong <cyd@gnu.org>
2799
f0422feb
CY
2800 * help-fns.el (describe-variable): Add hyperlink for
2801 directory-local variables files. Improve buffer-local and
2802 permanent-local reporting; suggested by MON KEY (Bug#6644).
2803
2804 * help-mode.el (help-dir-local-var-def): New button type.
2805
e5d9c0d1
CY
2806 * files.el (kill-buffer-hook): Provide a defvar.
2807
a4f2deaa
GM
28082012-08-05 Glenn Morris <rgm@gnu.org>
2809
2810 * eshell/esh-ext.el (eshell/addpath):
2811 Also update eshell-path-env. (Bug#12013)
2812
a9dd5754
CY
28132012-08-05 Chong Yidong <cyd@gnu.org>
2814
a4f2deaa 2815 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2816
d014c740
CY
2817 * fringe.el (fringe-styles): Add docstring.
2818 (fringe--check-mode): New function.
2819 (set-fringe-mode, set-fringe-style): Use it.
2820 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2821
a9dd5754
CY
2822 * files.el (set-auto-mode): Fix invalid setq call.
2823
7c2dc8bd
SM
28242012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2825
2826 * isearch.el: Misc simplification; use defstruct.
2827 (isearch-mode-map): Dense maps now work like sparse ones.
2828 (isearch--state): New defstruct.
2829 (isearch-string-state, isearch-message-state, isearch-point-state)
2830 (isearch-success-state, isearch-forward-state)
2831 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2832 (isearch-wrapped-state, isearch-barrier-state)
2833 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2834 replaced by defstruct's accessors.
2835 (isearch--set-state): Rename from isearch-top-state and change
2836 calling convention.
2837 (isearch-push-state): Use new isearch--get-state.
2838 (isearch-toggle-word): Disable regexp when enabling word.
2839 (isearch-message-prefix): Remove unused arg _c-q-hack.
2840 (isearch-message-suffix): Remove unused arg _ellipsis.
2841
7fcc0070
AS
28422012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2843
2844 * simple.el (list-processes--refresh): For a server use :host or
2845 :local as the address.
97ad0769 2846 (list-processes): Doc fix.
7fcc0070 2847
00340faf
MN
28482012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2849
2850 * lisp/mpc.el: Support password in host argument.
2851 (mpc--proc-connect): Parse and use new password element.
2852 Set mpc-proc variable instead of returning process.
2853 (mpc-proc): Adjust accordingly.
2854
6dad7178
EZ
28552012-08-03 Eli Zaretskii <eliz@gnu.org>
2856
18949c2f
EZ
2857 * whitespace.el (whitespace-display-mappings): Use Unicode
2858 codepoints, instead of emacs-mule codepoints. See
2859 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2860 for the details.
2861
6dad7178
EZ
2862 * files.el (file-truename): Don't skip symlink-chasing part on
2863 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2864 Windows into the loop that recursively chases symlinks.
2865 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2866 MS-DOS.
2867
385b0198
CY
28682012-08-03 Chong Yidong <cyd@gnu.org>
2869
6200f3c4
CY
2870 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2871
385b0198
CY
2872 * sort.el (sort-regexp-fields): Doc fix.
2873
b9e74744
TH
28742012-08-03 Tassilo Horn <tsdh@gnu.org>
2875
2876 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2877 labels regex position point at the expected place.
2878
41013cb4
MK
28792012-08-03 MON KEY <monkey@sandpframing.com>
2880
2881 * net/imap.el (imap-interactive-login, imap-authenticate)
2882 (imap-mailbox-lsub, imap-mailbox-list)
2883 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2884 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2885 (imap-parse-response): Doc fix.
2886
0ffee616
JT
28872012-08-03 João Távora <joaotavora@gmail.com>
2888
2889 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2890 if sexp scanning does not move point (Bug#5734).
2891
cfcc9cc8
TH
28922012-08-02 Tassilo Horn <tsdh@gnu.org>
2893
2894 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2895 Add listings, minted, and ctable packages.
2896 (reftex-label-alist-builtin): Move listings, minted, and ctable
2897 entries before LaTeX.
a01bbb84 2898 (reftex-label-alist): Docfix.
cfcc9cc8 2899
66ec2442
BG
29002012-08-02 Bastien Guerry <bzg@gnu.org>
2901
2902 * replace.el (occur): Fix docstring (bug#12122).
2903
837b365b
GM
29042012-08-02 Glenn Morris <rgm@gnu.org>
2905
2906 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2907
e098de97
PE
29082012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2909
2910 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2911 * international/mule-cmds.el: Create
2912 inactivate-current-input-method-function as an obsolete alias for
2913 deactivate-current-input-method-function. See Katsumi Yamaoka in
2914 <http://bugs.gnu.org/10150#46>.
2915
a0f95636
JB
29162012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2917
2918 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2919 of nested `if's.
2920
0d26d7c4
GM
29212012-08-01 Glenn Morris <rgm@gnu.org>
2922
2923 * progmodes/autoconf.el (autoconf-definition-regexp):
2924 Add AH_TEMPLATE, adjust submatch numbering.
2925 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2926 (autoconf-current-defun-function): Update for above change.
2927 (autoconf-current-defun-function): First skip to end of current word.
2928
b686ba06
RS
29292012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2930
2931 * calendar/cal-html.el (cal-html-insert-agenda-days):
2932 Fix typo. (Bug#12018)
2933
0d49da68
FEG
29342012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2935
2936 Shell processes: enhancements to startup and CEDET compatibility.
2937 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2938 (python-shell-make-comint): accept-process-output at startup.
2939 (run-python-internal): Set inferior-python-mode-hook to nil.
2940 (python-shell-internal-get-or-create-process): call sit-for.
2941 (python-preoutput-result): Add obsolete alias.
2942 (python-shell-internal-send-string): Use it.
2943 (python-shell-send-setup-code): Remove call to
2944 accept-process-output.
2945
f1a71c6e
AS
29462012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2947
2948 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2949 (Bug#12108)
2950
d2605269
JB
29512012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2952
2953 * calc-mode.el (calc-basic-simplification-mode): Rename from
2954 `calc-limited-simplification-mode'.
2955 (calc-alg-simplification-mode): New function.
d66060f8 2956 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2957
d2605269
JB
2958 * calc.el (calc-set-mode-line): Adjust mode line display for
2959 basic simplification mode.
2960
2961 * calc-help.el (calc-m-prefix-help): Update help message.
2962
2963 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2964 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2965
a3827a43
BG
29662012-07-31 Bastien Guerry <bzg@gnu.org>
2967
2968 * man.el (man): Fix comment. (bug#12101)
2969
502e3f89
MR
29702012-07-31 Martin Rudalics <rudalics@gmx.at>
2971
2972 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2973 Don't return a non-nil value when no suitable buffer was found.
2974
d7714961
FEG
29752012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2976
2977 * progmodes/python.el (run-python-internal): Disable font lock for
2978 internal shells.
2979
1f45e27e
SM
29802012-07-30 Stefan Merten <smerten@oekonux.de>
2981
2982 * rst.el: Silence `checkdoc-ispell'.
2983 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2984 (rst-official-version, rst-official-cvs-rev)
2985 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2986 (rst-mode-map): New key binding.
2987
0aee6912
PE
29882012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2989
2990 Update .PHONY listings in makefiles.
2991 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2992 autoloads, update-subdirs, updates, bzr-update, update-authors,
2993 compile-onefile, compile-calc, backup-compiled-files,
2994 compile-after-backup, compile-one-process, mh-autoloads,
2995 bootstrap-clean, distclean, maintainer-clean.
2996
9052f9f0
JB
29972012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2998
1823ac5a
JB
2999 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3000 (calc-set-mode-line): Don't display "AlgSimp ".
3001
3002 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3003 (calc-lim-simplify-mode): New function.
3004 (calc-set-simplify-mode): Default to 'alg.
3005 (calc-default-simplify-mode): Make algebraic simplifications
3006 the default.
3007
3008 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3009 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3010
8d7c7eed 3011 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3012 indicate new simplification modes.
3013
1823ac5a
JB
3014 * calc/README: Mention new default simplification mode.
3015
9052f9f0
JB
3016 * calc/calc.el (math-normalize-error): New variable.
3017 (math-normalize): Set `math-normalize-error' to t
3018 when there's an error.
3019
3020 * calc/calc-alg.el (math-simplify): Don't simplify when
3021 `math-normalize' returns an error.
3022
20ba0cb4
EZ
30232012-07-29 Eli Zaretskii <eliz@gnu.org>
3024
3025 * international/mule-cmds.el (set-locale-environment): Revert last
3026 change, since display-graphic-p returns nil when this function is
3027 called during startup. Instead...
3028
3029 * term/w32console.el (terminal-init-w32console): ...setup the
3030 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3031
a5dcc929
JL
30322012-07-29 Juri Linkov <juri@jurta.org>
3033
3034 * simple.el (goto-line): Don't display default line number in the
3035 prompt because it should be displayed by `read-number' (bug#9952).
3036 Add the current line number to the defaults of `goto-line' to
3037 allow its easier modification by users with `M-n' (bug#9201).
3038
3039 * subr.el (read-number): Support multiple default values like in
3040 other minibuffer reading functions. Replace `read' with
3041 `string-to-number' for consistency with `number-to-string'.
3042
72b255c7
PE
30432012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3044
3045 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3046 * emulation/viper-init.el (viper-deactivate-input-method-action):
3047 Rename from viper-inactivate-input-method-action.
3048 (viper-deactivate-input-method):
3049 Rename from viper-inactivate-input-method.
3050 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3051 * international/mule-cmds.el (deactivate-input-method):
3052 Rename from inactivate-input-method.
3053 Also run input-method-deactivate-hook.
3054 (deactivate-current-input-method-function):
3055 Rename from inactivate-current-input-method-function.
3056 (input-method-deactivate-hook): New hook.
3057 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3058 (inactivate-input-method): Mark obsolete.
3059
72b255c7
PE
3060 * international/quail.el (quail-activate):
3061 Also run quail-deactivate-hook.
3062 (quail-deactivate): Rename from quail-inactivate.
3063 * international/robin.el (robin-activate):
3064 Also run robin-deactivate-hook.
3065 (robin-deactivate): Rename from robin-inactivate.
3066
2549c068
CY
30672012-07-29 Chong Yidong <cyd@gnu.org>
3068
3069 * simple.el (indicate-copied-region): New function.
3070 (kill-ring-save): Split off from here.
3071
3072 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3073 (kill-rectangle): Set deactivate-mark to t on read-only error.
3074
3075 * register.el (copy-to-register, copy-rectangle-to-register):
3076 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
3077 (append-to-register, prepend-to-register):
3078 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3079
3080 * simple.el (async-shell-command-buffer): New defcustom.
3081 (shell-command): Use it. (Bug#4719)
3082
01bd1b0d
EZ
30832012-07-28 Eli Zaretskii <eliz@gnu.org>
3084
3085 * international/mule-cmds.el (set-locale-environment): In a
3086 console session on MS-Windows, set up keyboard and terminal
3087 encoding from the OEM codepage, not the ANSI codepage.
3088 (Bug#12055)
3089
a55739d3
CY
30902012-07-28 Chong Yidong <cyd@gnu.org>
3091
3092 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3093 gdb-get-location.
3094
0e1a094f 30952012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3096
3097 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3098 the alist (bug#12029).
3099
20329d73
EZ
31002012-07-28 Eli Zaretskii <eliz@gnu.org>
3101
3102 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3103 (compile-always, compile-first)
3104 ($(lisp)/calendar/cal-loaddefs.el)
3105 ($(lisp)/calendar/diary-loaddefs.el)
3106 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3107 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3108 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3109 instead of on update-subdirs.
3110 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3111
345a2258
CY
31122012-07-28 Chong Yidong <cyd@gnu.org>
3113
1eee6341
CY
3114 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3115 directory if vc-deduce-backend returns nil (Bug#7350).
3116
345a2258
CY
3117 * simple.el (delete-trailing-lines): New option.
3118 (delete-trailing-whitespace): Obey it (Bug#11879).
3119
049a0936
DE
31202012-07-28 David Engster <deng@randomsample.de>
3121
3122 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3123 Explanation of new 'symbol-qnames feature in doc-strings.
3124 (xml-maybe-do-ns): Return expanded names as plain symbols if
3125 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3126 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3127
aa81af71
FEG
31282012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3129
3130 Consistent completion in inferior python with emacs -nw.
3131 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3132 binding in inferior-python-mode-map with "\t".
3133 (python-shell-completion-complete-at-point)
3134 (python-completion-complete-at-point): Remove interactive spec.
3135
e827b1eb
JB
31362012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3137
3138 * calc/calccomp.el (math-compose-expr): Undo previous change.
3139
a90dfb95
FEG
31402012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3141
4250fdf5 3142 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3143 run-python.
3144 (python-shell-make-comint): Fix pop-to-buffer call.
3145 (run-python): Autoload. New arg SHOW.
3146 (python-shell-get-or-create-process): Do not pop python process
3147 buffer.
3148
32770973 31492012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3150
3151 * notifications.el (notifications-on-action-signal)
3152 (notifications-on-closed-signal): Use also the bus address for the map.
3153 (notifications-notify, notifications-close-notification)
3154 (notifications-get-capabilities): Add optional argument BUS.
3155
86332df2
TH
31562012-07-27 Tassilo Horn <tsdh@gnu.org>
3157
4250fdf5
SM
3158 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3159 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3160 ctable macro.
3161 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3162 labels written in keyvals syntax.
3163
ca1302a4
JB
31642012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3165
3166 * calc/calccomp.el (math-compose-expr): Use parentheses when
3167 there is a product in the denominator of a fraction.
3168
f8b91036
EZ
31692012-07-26 Eli Zaretskii <eliz@gnu.org>
3170
3171 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3172 ($(lisp)/calendar/diary-loaddefs.el)
3173 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3174 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3175 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3176 rewritten while the autoload files are built at the same time,
3177 which needs to load subdirs.el.
3178
c8e5a42c
MR
31792012-07-26 Martin Rudalics <rudalics@gmx.at>
3180
3181 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3182 (mouse-drag-line): Don't exit tracking when a switch-frame or
3183 switch-window event occurs (Bug#12006).
3184
670d85ea
SM
31852012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * mouse.el (popup-menu): Fix last change.
3188
7abaf5cc
SM
31892012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3190
3191 Autoload from Lisp with more care. Follow aliases when looking for
3192 function properties.
3193 * subr.el (autoloadp): New function.
3194 (symbol-file): Use it.
3195 (function-get): New function.
3196 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3197 autoload-do-load.
3198 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3199 (lisp-indent-function):
3200 * emacs-lisp/gv.el (gv-get):
3201 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3202 * emacs-lisp/byte-opt.el (byte-optimize-form):
3203 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3204 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3205 Use function-get.
3206 * emacs-lisp/cl.el: Don't propagate function properties any more.
3207
3208 * speedbar.el (speedbar-add-localized-speedbar-support):
3209 * emacs-lisp/disass.el (disassemble-internal):
3210 * desktop.el (desktop-load-file):
3211 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3212 (describe-function-1):
3213 * emacs-lisp/find-func.el (find-function-noselect):
3214 * emacs-lisp/elp.el (elp-instrument-function):
3215 * emacs-lisp/advice.el (ad-has-proper-definition):
3216 * apropos.el (apropos-safe-documentation, apropos-macrop):
3217 * emacs-lisp/debug.el (debug-on-entry):
3218 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3219 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3220 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3221
b1364986
AA
32222012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3223
3224 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3225 function, not an obsolete variable (Bug#12046).
3226
67ada220
AS
32272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3228
3229 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3230
f08088e3
CS
32312012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3232
3233 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3234 window only if it is still live (Bug#12034).
3235
8137e7b3
MR
32362012-07-25 Martin Rudalics <rudalics@gmx.at>
3237
3238 * subr.el (redirect-frame-focus): Add advertised calling
3239 convention (Bug#12030).
3240
09ae5da1
PE
32412012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3242
3243 Prefer typical American spelling for "acknowledgment".
3244 * vc/add-log.el (change-log-acknowledgment): Rename from
3245 change-log-acknowledgement, with an alias for the old name.
3246
3cc5a3a8
JB
32472012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3248
3249 * calc-alg.el (math-simplify-divide): Don't cross multiply
3250 in an equation when the lhs is a variable.
3251
b7af7f62
JD
32522012-07-24 Julien Danjou <julien@danjou.info>
3253
3254 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3255 Remove, unused.
3256
ec1b09b1
EZ
32572012-07-23 Eli Zaretskii <eliz@gnu.org>
3258
3259 * startup.el (command-line): Don't display an empty user name in
3260 the error message about non-existent home directory, when
3261 init-file-user was set to an empty string. See
3262 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3263 for the details and context.
3264
b525fd8a
VB
32652012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3266
3267 * ses.el (ses-cell-formula-aset): New macro.
3268 (ses-cell-references-aset): New macro.
3269 (ses-cell-p): New function.
3270 (ses-rename-cell): Do no longer rely on complex operations like
3271 ses-cell-set-formula or ses-set-cell to change the cell and handle
3272 the undo at the same time, but rather use lower level new macros
3273 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3274 the undo directly. Refresh the mode line.
3275
2c73e345
LL
32762012-07-21 Leo Liu <sdl.web@gmail.com>
3277
670d85ea
SM
3278 * progmodes/cc-cmds.el (c-defun-name):
3279 Use match-string-no-properties instead for consistency.
2c73e345 3280
542dfbde
LL
32812012-07-20 Leo Liu <sdl.web@gmail.com>
3282
3646bcd6
LL
3283 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3284 (Bug#7879)
3285
542dfbde
LL
3286 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3287
25721031
CY
32882012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3291 * progmodes/bug-reference.el, misearch.el: Provide themselves
3292 (bug#11915).
3293
3294 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3295 of narrowed buffer (bug#11966).
3296
316e68a7
VB
32972012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3298
3299 * ses.el (ses-rename-cell): Set new name also in reference list of
3300 cells of which the renamed cell depends.
3301
bbf0e7d9
MY
33022012-07-20 Masatake YAMATO <yamato@redhat.com>
3303
3304 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3305 to check whether menu-bar is shown or not. If not shown,
3306 show the menu-bar as a popup menu instead of using tmm.
3307 * mouse.el (popup-menu): Accept `point' as `position' argument.
3308
c28662a8
DG
33092012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3310
3311 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3312 up inside string symbol literal (bug#11923).
3313
87ab808f
EZ
33142012-07-20 Eli Zaretskii <eliz@gnu.org>
3315
3316 * startup.el (fancy-startup-text): Read the whole tutorial, not
3317 just its first 256 bytes. Prevents gibberish in display of the
3318 tutorial title.
3319
89dea803
DA
33202012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3321
3322 Drop idle buffer compaction due to an absence of the
3323 proved efficiency.
3324 * compact.el: Remove.
3325
8a4e6db8
SS
33262012-07-19 Sam Steingold <sds@gnu.org>
3327
3328 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3329 vc-bzr-pull & vc-bzr-merge-branch.
3330 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3331 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3332 for consistency with compilation-error-regexp-alist.
3333 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3334 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3335 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3336 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3337
5db81e33
SM
33382012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * emacs-lisp/chart.el: Use lexical-binding.
3341 (chart-emacs-storage): Don't hardcode the list of entries.
3342
5b835e1d
DA
33432012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3344
3345 Next round of tweaks caused by Fgarbage_collect changes.
3346 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3347
9cd47b72
DA
33482012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3349
3350 Compact buffers when idle.
3351 * compact.el: New file.
3352
1d6fc0df
SM
33532012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * subr.el (eventp): Presume that if it looks vaguely like an event,
3356 it's an event (bug#10190).
3357
1d29cc7d
FEG
33582012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3359
3360 Enhancements to ppss related code (thanks Stefan).
3361 * progmodes/python.el (python-indent-context)
3362 (python-indent-calculate-indentation, python-indent-dedent-line)
3363 (python-indent-electric-colon, python-nav-forward-block)
3364 (python-mode-abbrev-table)
1d6fc0df 3365 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3366 for ppss context.
3367 (python-info-continuation-line-p): Cleanup.
3368 (python-info-ppss-context): Do not catch 'quote.
3369 (python-info-ppss-context-type)
3370 (python-info-ppss-comment-or-string-p): Simplify.
3371
d583cbe6
FEG
33722012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3373
3374 * progmodes/python.el: Enhancements to eldoc support.
3375 (python-info-current-symbol): New function.
3376 (python-eldoc-at-point): Use python-info-current-symbol.
3377 (python-info-current-defun): Fix cornercase on first defun scan.
3378 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3379 and signal error when no inferior python process is available.
3380
eceb6feb
DG
33812012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3382
3383 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3384 assume it's always t.
3385 (vc-git-registered): Remove caching, the function is only called
3386 once.
3387 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3388
4c8ff0fe
CY
33892012-07-18 Chong Yidong <cyd@gnu.org>
3390
19fb7186
CY
3391 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3392
9587c688
CY
3393 * simple.el (count-words): Report on narrowing (Bug#9959).
3394
0fe776a1
CY
3395 * bindings.el: Bind M-= to count-words.
3396
4c8ff0fe
CY
3397 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3398
7f5331cc
MY
33992012-07-18 Masatake YAMATO <yamato@redhat.com>
3400
3401 * progmodes/sh-script.el (sh-imenu-generic-expression):
3402 Capture a function with `function' keyword and without parentheses
3403 like "function FOO" (bug#11856).
3404
2dc2a609
TH
34052012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3406
3407 * window.el (split-window-sensibly): Make WINDOW argument
3408 optional.
3409
439f7677
CY
34102012-07-18 Chong Yidong <cyd@gnu.org>
3411
9aeb25a6
CY
3412 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3413
439f7677
CY
3414 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3415 and make C-x 8 RET exit isearch (Bug#11439).
3416
3417 * international/iso-transl.el: Move isearch-mode-map key
3418 definitions to isearch.el.
3419
12999ea8
SM
34202012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3423 (eieio-defclass): Use gv-define-setter when possible.
3424
3ab6e069
DA
34252012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3426
3427 Reflect recent changes in Fgarbage_collect.
3428 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3429 reflect new format of data returned by Fgarbage_collect.
3430
0a60bc10
FEG
34312012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3432
3433 New utility functions + python-info-ppss-context fix (Bug#11910).
3434 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3435 (python-info-ppss-comment-or-string-p): New functions.
3436 (python-info-ppss-context): Small fix for string check.
3437
6dafa0d5
JL
34382012-07-17 Juri Linkov <juri@jurta.org>
3439
3440 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3441 (dired-do-async-shell-command): Don't add `*' at the end of the
3442 command (Bug#11815).
3443 (dired-do-shell-command): Doc fix.
3444 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3445 Join the individual commands using either "&" or ";" as the
3446 separator depending on the values of these trailing characters.
3447 At the end re-add the trailing "&". (Bug#10598)
3448
3449 * simple.el (async-shell-command): Sync the interactive spec with
3450 `shell-command'. Doc fix.
3451 (shell-command): Doc fix.
3452
b19dd9d1
JL
34532012-07-17 Juri Linkov <juri@jurta.org>
3454
3455 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3456
bcdc27d7 34572012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3458
bcdc27d7 3459 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3460 * progmodes/python.el (python-nav-beginning-of-statement):
3461 Rename from python-nav-statement-start.
bcdc27d7
FEG
3462 (python-nav-end-of-statement): Rename from
3463 python-nav-statement-end.
3464 (python-nav-beginning-of-block): Rename from
3465 python-nav-block-start.
3466 (python-nav-end-of-block): Rename from python-nav-block-end.
3467
191da00e
FEG
34682012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3469
7f5331cc
MY
3470 * progmodes/python.el (python-shell-send-string-no-output):
3471 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3472 future interactions (Bug#11868).
3473
4dc7c8d5 34742012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3475
88ecaf8f
SM
3476 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3477
ef501ef0
SM
3478 * emacs-lisp/elint.el (elint-find-args-in-code):
3479 Use help-function-arglist, so as to handle lexical byte-code.
3480
aa7aaf8f
SM
3481 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3482 change (bug#11826).
3483
45fd731c
SM
34842012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3485
2143fa32
SM
3486 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3487 Avoid spuriously marking the buffer as modified because of c-is-sws.
3488
efc26dbe
SM
3489 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3490 as not-a-comment (bug#11946).
3491
f5695c9a
SM
3492 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3493 for uninterned vars.
3494
3495 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3496 Use read-event since we don't really want to read chars but bytes.
3497
45fd731c
SM
3498 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3499 $$..$$ but also $..$ using regexps (bug#11953).
3500 Use tex-verbatim for \url and \path.
3501 (tex-font-lock-keywords): Define as defconst like the others.
3502 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3503
ddfc8813
RK
35042012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3505
3506 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3507 alias for insert-char.
3508
758e556a
FEG
35092012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3510
3511 * progmodes/python.el: Simplified imenu implementation.
3512 (python-nav-jump-to-defun): Remove command.
3513 (python-mode-map): Use `imenu' instead.
3514 (python-nav-list-defun-positions-cache)
3515 (python-imenu-include-defun-type, python-imenu-make-tree)
3516 (python-imenu-subtree-root-label, python-imenu-index-alist):
3517 Remove vars.
3518 (python-nav-list-defun-positions, python-nav-read-defun)
3519 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3520 (python-imenu-make-tree, python-imenu-create-index):
3521 Remove functions.
758e556a
FEG
3522 (python-mode): Update to interact with imenu by setting
3523 `imenu-extract-index-name-function' only.
3524
032d23ab
FEG
35252012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3526
3527 * progmodes/python.el: Enhancements to navigation commands.
3528 (python-nav-backward-sentence)
3529 (python-nav-forward-sentence): Remove.
3530 (python-nav-backward-statement, python-nav-forward-statement)
3531 (python-nav-statement-start, python-nav-statement-end)
3532 (python-nav-backward-block, python-nav-forward-block)
3533 (python-nav-block-start, python-nav-block-end)
3534 (python-nav-forward-sexp-function)
3535 (python-info-current-line-comment-p)
3536 (python-info-current-line-empty-p): New functions.
3537 (python-indent-context): Use `python-nav-statement-start'.
3538
01795a1b
MA
35392012-07-16 Michael Albinus <michael.albinus@gmx.de>
3540
9328d9aa
MA
3541 * eshell/em-ls.el (eshell/ls): Use `apply'.
3542
3543 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3544 multi-hops, instead of Tramp internals.
3545
01795a1b
MA
3546 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3547
3548 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3549 when F1 and F2 are located on different hosts.
3550
63408057
CY
35512012-07-14 Chong Yidong <cyd@gnu.org>
3552
3553 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3554 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3555 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3556 (xterm-mouse--read-event-sequence-1000)
3557 (xterm-mouse--read-event-sequence-1006): New functions. For old
3558 mouse protocol, handle M-mouse-X events correctly.
3559 (xterm-mouse-event): New arg specifying mouse protocol.
3560 (turn-on-xterm-mouse-tracking-on-terminal)
3561 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3562 sequence to toggle extended coordinates on newer XTerms.
3563 This appears to be harmless on terminals which do not support this.
63408057 3564
cd276f6e
LL
35652012-07-14 Leo Liu <sdl.web@gmail.com>
3566
28ca98ac
LL
3567 Add fringe bitmap indicators for flymake. (Bug#11253)
3568 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3569 (flymake-make-overlay): New arg BITMAP.
3570 (flymake-error-bitmap, flymake-warning-bitmap)
3571 (flymake-fringe-indicator-position): New user variables.
3572
cd276f6e
LL
3573 * fringe.el: New bitmap exclamation-mark.
3574
04408072
JD
35752012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3576
3577 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3578 also (Bug#7879).
3579
b5cf7fc4
CY
35802012-07-14 Chong Yidong <cyd@gnu.org>
3581
3582 * electric.el (electric-pair-post-self-insert-function): Fix pair
3583 insertion in empty-region case (Bug#11520).
3584
be755c79
RT
35852012-07-14 Chong Yidong <cyd@gnu.org>
3586
45fd731c
SM
3587 * bindings.el: Consolidate ctl-x-r-map bindings.
3588 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3589
3590 * rect.el, register.el: Move bindings to bindings.el.
3591
35922012-07-14 Reuben Thomas <rrt@sc3d.org>
3593
3594 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3595
7f5b3198
AS
35962012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3597
3598 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3599
97662200
JB
36002012-07-13 Juanma Barranquero <lekktu@gmail.com>
3601
80185fed
JB
3602 * bindings.el (top): Use `mapc' instead of `mapcar'.
3603
97662200
JB
3604 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3605
2bb1ae55
MA
36062012-07-13 Michael Albinus <michael.albinus@gmx.de>
3607
3608 * progmodes/sql.el (sql-comint): Suppress the check for program on
3609 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3610 (Bug#11908)
3611
dea31bd3
CY
36122012-07-13 Chong Yidong <cyd@gnu.org>
3613
3614 * bindings.el: Assign a non-nil permanent-local property to
3615 per-buffer variables which lack a default value (Bug#11930).
3616
3617 * help-fns.el (describe-variable): In the "automatically becomes
3618 local" notice, take note of permanent-local variables.
3619
b68b3337
CY
36202012-07-13 Chong Yidong <cyd@gnu.org>
3621
3622 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3623 to allow printing the message when called from Lisp.
3624
3625 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3626 Remove toggle-read-only.
3627
3628 * bs.el (bs-toggle-readonly):
45fd731c
SM
3629 * buff-menu.el (Buffer-menu-toggle-read-only):
3630 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3631
3632 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3633 Remove with-no-warnings around toggle-read-only.
3634 (ffap-read-only, ffap-read-only-other-window)
3635 (ffap-read-only-other-frame): Callers changed.
3636
3637 * help-mode.el: Don't require view package.
3638 (help-mode-finish): Set buffer-read-only instead of calling
3639 toggle-read-only.
3640
3641 * bindings.el (mode-line-toggle-read-only):
3642 * dired.el (dired-toggle-read-only):
3643 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3644 with non-nil second arg.
3645
3646 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3647 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3648 directly.
3649
56bc1586
EZ
36502012-07-12 Eli Zaretskii <eliz@gnu.org>
3651
3652 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3653 not incf.
3654
a464a6c7
SM
36552012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3656
3657 More CL cleanups and reduction of use of cl.el.
3658 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3659 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3660 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3661 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3662 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3663 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3664 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3665 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3666 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3667 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3668 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3669 * eshell/em-cmpl.el, eshell/em-banner.el:
3670 * calendar/parse-time.el: Use cl-lib.
3671 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3672 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3673 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3674 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3675 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3676 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3677 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3678 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3679 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3680 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3681 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3682 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3683 `lambda' rather than with `quote'.
3684 (eshell-do-opt): Adjust accordingly.
3685 (eshell-process-option): Simplify.
3686 * eshell/esh-var.el:
3687 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3688 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3689 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3690 to `pcase--dontcare'.
3691 * emacs-lisp/cl.el (labels): Mark obsolete.
3692 (cl--letf, letf): Move to cl-lib.
3693 (cl--letf*, letf*): Remove.
3694 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3695 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3696 (cl-progv): Rewrite.
3697 (cl--letf, cl-letf): Move from cl.el.
3698 (cl-letf*): New macro.
3699 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3700
7ad4afe1
MA
37012012-07-11 Michael Albinus <michael.albinus@gmx.de>
3702
3703 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3704
9af57756
CY
37052012-07-11 Chong Yidong <cyd@gnu.org>
3706
3707 * vc/log-edit.el (log-edit-vc-backend): New variable.
3708 (log-edit): Doc fix.
3709
3710 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3711 argument of log-edit to set up all local variables.
3712 (vc-start-logentry): New optional arg specifying VC backend.
3713
3714 * vc/vc.el (vc-checkin): Use it.
3715 (vc-deduce-fileset): Handle Log Edit buffers.
3716 (vc-diff): Make first argument optional too.
3717
3718 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3719
8477cc7a
MA
37202012-07-10 Michael Albinus <michael.albinus@gmx.de>
3721
3722 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3723 command, just in case. The function is not needed anymore.
3724 (eshell-external-command): Do not call `eshell-remote-command'.
3725
19faa8e8
SM
37262012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3727
f58e0fd5
SM
3728 Reduce use of (require 'cl).
3729 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3730 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3731 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3732 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3733 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3734 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3735 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3736 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3737 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3738 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3739 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3740 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3741 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3742 (byte-compile-unfold-bcf, byte-compile-check-variable):
3743 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3744 (byte-compile-nilconstp):
3745 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3746 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3747
2519d43a
SM
3748 * emacs-lisp/gv.el (cond): Make it a valid place.
3749 (if): Simplify slightly.
3750
19faa8e8
SM
3751 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3752 (pcase--self-quoting-p): New function.
3753 (pcase--u1): Use it.
3754
c4907a5e
GM
37552012-07-10 Glenn Morris <rgm@gnu.org>
3756
3757 * emacs-lisp/authors.el (authors-fixed-entries):
3758 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3759
c4444d16
PE
37602012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3761
3762 Rename configure.in to configure.ac (Bug#11603).
3763 * emacs-lisp/authors.el (authors-canonical-file-name):
3764 * progmodes/autoconf.el (autoconf-mode):
3765 Prefer configure.ac to configure.in.
3766
d75be97d
CY
37672012-07-08 Chong Yidong <cyd@gnu.org>
3768
01ac65bd
CY
3769 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3770 Implement the mouse-1-click-follows-link handling properly.
3771
3772 * info.el (Info-link-keymap): Use follow-link mechanism for
3773 header-line links (Bug#374).
3774
d75be97d
CY
3775 * simple.el (deactivate-mark): Do not set the primary selection
3776 if another program has acquired it (Bug#11772).
3777
87a92845 37782012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3779
3780 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3781 (woman-decode-region): Replace escaped-escapes without destroying
3782 bold or underline (Bug#11552).
87a92845 3783 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3784
621b9d6c
CY
37852012-07-07 Chong Yidong <cyd@gnu.org>
3786
3787 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3788 (interprogram-cut-function, interprogram-paste-function):
3789 Mention that we typically mean the clipboard.
621b9d6c 3790
133a11fc
GM
37912012-07-06 Glenn Morris <rgm@gnu.org>
3792
0d27a45e
GM
3793 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3794
133a11fc
GM
3795 * files.el (toggle-read-only): Restrict message to interactive use.
3796
07b151f1
MA
37972012-07-06 Michael Albinus <michael.albinus@gmx.de>
3798
3799 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3800
3801 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3802
211b896b
GM
38032012-07-06 Glenn Morris <rgm@gnu.org>
3804
50394322
GM
3805 * Makefile.in (compile-one-process): Rename from "recompile".
3806
211b896b
GM
3807 * Makefile.in (bzr-update): "compile" is the same as "recompile
3808 autoloads", but parallelizable, so use that instead.
3809
4737eec9
DG
38102012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3811
3812 * window.el (quit-window): Always restore window height when
8137e7b3 3813 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3814
226c3633 38152012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3816
3817 * simple.el (kill-whole-line): Doc tweak.
3818
226c3633 38192012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3820
3821 * files.el (file-relative-name): Compare file names
3822 case-insensitively if on MS-Windows or MS-DOS, or if
3823 read-file-name-completion-ignore-case is non-nil. Don't use
3824 case-fold-search for this purpose. (Bug#11827)
3825
4dc7c8d5
SM
38262012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3827
3828 * calendar/cal-dst.el (calendar-current-time-zone):
3829 Return calendar-current-time-zone-cache if non-nil.
3830
38312012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 38322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3833
19faa8e8
SM
3834 * calendar/cal-dst.el (calendar-current-time-zone):
3835 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3836
60198fc9
GM
38372012-07-06 Glenn Morris <rgm@gnu.org>
3838
3839 * Makefile.in (cvs-update): Remove old alias.
3840
957b3189
MA
38412012-07-05 Michael Albinus <michael.albinus@gmx.de>
3842
3843 Sync with Tramp 2.2.6-pre.
3844
3845 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3846 compatible declaration.
3847
19faa8e8
SM
3848 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3849 Protect `list-load-path-shadows' call.
957b3189
MA
3850
3851 * net/tramp-compat.el (top): Require packages, which aren't
3852 autoloaded anymore for XEmacs. Protect call of
3853 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3854 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3855 it hurts at least for SXEmacs.
3856 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3857 standard-value for `temporary-file-directory'.
3858
3859 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3860 Redirect stderr to /dev/null.
3861 (tramp-sh-handle-write-region): uid and gid can be floats.
3862 Reported by Russell Sim <russell.sim@gmail.com>.
3863 (tramp-sh-handle-vc-registered): Hide errors.
3864 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3865 and `start-file-process'.
3866 (tramp-maybe-open-connection): Check also whether `non-essential'
3867 is bound.
3868
566df3fc
CY
38692012-07-04 Chong Yidong <cyd@gnu.org>
3870
3871 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3872 (xml-parse-tag): Likewise, and avoid changing entity tables.
3873 (xml-syntax-table): Define from scratch, making sure not to give
3874 x2000 and other Unicode spaces whitespace syntax, since those are
3875 not spaces in XML.
3876 (xml-parse-fragment): Delete unused function.
3877 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3878 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3879 (xml-entity-ref, xml-pe-reference-re)
3880 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3881 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3882 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3883 (xml-entity-value-re): Use syntax references in regexps where
3884 possible; no need to define inside a let-binding.
3885 (xml-parse-dtd): Use xml-pe-reference-re.
3886 (xml-entity-or-char-ref-re): New defconst.
3887 (xml-parse-string, xml-substitute-special): Use it.
3888
30eabd7a
SM
38892012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3890
0781098a
SM
3891 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3892 (find-file--read-only): New function.
3893 (find-file-read-only, find-file-read-only-other-window)
3894 (find-file-read-only-other-frame): Use it.
3895 (insert-file-contents-literally): Don't `fset'.
3896 (get-free-disk-space): Use locate-dominating-file.
3897
b5771c0d
SM
3898 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3899 function is already compiled.
3900
30eabd7a
SM
3901 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3902
b4886f6e
MA
39032012-07-03 Michael Albinus <michael.albinus@gmx.de>
3904
3905 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3906 files on the same host.
3907
b9d82339
AS
39082012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3909
3910 * help-fns.el (describe-function-1): Only call
3911 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3912
a76e6535
CY
39132012-07-03 Chong Yidong <cyd@gnu.org>
3914
3915 * xml.el: Protect parser against XML bombs.
3916 (xml-entity-expansion-limit): New variable.
3917 (xml-parse-string, xml-substitute-special): Use it.
3918 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3919
b544fef2
GM
39202012-07-03 Glenn Morris <rgm@gnu.org>
3921
3922 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3923 Allow linking to specific messages in debbugs reports (eg 123#5).
3924
a7aef6f5
CY
39252012-07-02 Chong Yidong <cyd@gnu.org>
3926
3927 * xml.el: Fix entity and character reference expansion, allowing
3928 them to expand into markup as per XML spec.
3929 (xml-default-ns): New variable.
3930 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3931 (xml-parse-region): Make first two arguments optional.
3932 Discard text properties.
3933 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3934 All callers changed.
a7aef6f5
CY
3935 (xml-parse-tag): Call xml-parse-tag-1. For backward
3936 compatibility, this function should not modify buffer contents.
3937 (xml-parse-tag-1): Fix opening-tag regexp.
3938 (xml-parse-string): Rewrite, handling entity and character
3939 references properly.
3940 (xml--entity-replacement-text): Signal an error if a parameter
3941 entity is undefined.
3942
3df31c9f
SM
39432012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3944
2b5208f1
SM
3945 * comint.el (comint-output-filter): Filter out repeated prompts.
3946
3df31c9f
SM
3947 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3948 and file-name-absolute-p.
3949 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3950 internal calls.
3951
e3ac1281
PE
39522012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3953
3954 Spelling fixes.
3955 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3956 Rename from byte-compile--refiy-function. All uses changed.
3957
fbf2e7ad
CY
39582012-07-01 Chong Yidong <cyd@gnu.org>
3959
3960 * xml.el (xml--parse-buffer): New function. Move most of
3961 xml-parse-region here.
3962 (xml-parse-region): Copy region into a temporary buffer, since
3963 parameter entity substitution requires changing buffer contents.
3964 Use xml--parse-buffer.
3965 (xml-parse-file): Use xml--parse-buffer.
3966 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3967 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3968
9bf0aa15
GM
39692012-06-30 Glenn Morris <rgm@gnu.org>
3970
bbce2853
GM
3971 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3972
9bf0aa15
GM
3973 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3974 Remove outdated and unnecessary dbus declarations.
3975
0d23c240
EZ
39762012-06-30 Eli Zaretskii <eliz@gnu.org>
3977
3978 * emacs-lisp/timer.el (timer-until): Subtract results of
3979 float-time, instead of taking float-time of the result of
3980 time-subtract, since float-time signals an error for negative time
3981 arguments.
3982
b3218de1
CY
39832012-06-30 Chong Yidong <cyd@gnu.org>
3984
3985 * xml.el (xml-*-re): Convert defvars into defconsts, and
3986 eval-and-compile them so eval-and-compile works on derivatives.
3987 (xml--entity-replacement-text): Use eval-and-comple.
3988
a40c87a0
MA
39892012-06-30 Michael Albinus <michael.albinus@gmx.de>
3990
3991 * vc/vc-git.el (vc-git-registered): Use cache property
3992 `git-registered'.
3993 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3994 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3995 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3996
ac87de97
DG
39972012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3998
3999 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4000 removed (likely outside Emacs). (Bug#11757)
ac87de97 4001
ac10fe06
SM
40022012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4003
3df31c9f 4004 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4005
7f3fbd5d
CY
40062012-06-30 Chong Yidong <cyd@gnu.org>
4007
4008 * xml.el: Implement XML parameter entities.
4009 (xml-parameter-entity-alist): New variable.
4010 (xml-parse-region, xml-parse-fragment): Preserve previous values
4011 of xml-entity-alist and xml-parameter-entity-alist, so that
4012 repeated calls on different documents do not change them.
4013 (xml-parse-tag): Fix doctype regexp.
4014 (xml--entity-replacement-text): New function.
4015 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4016 properly requires url retrieval which is unimplemented.
4017 (xml-escape-string): Doc fix.
4018
3cfbebba
SM
40192012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4020
4021 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4022
2af3565e
DA
40232012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4024
4025 * fringe.el (fringe-mode): Doc fix.
4026
929df0e7
MA
40272012-06-29 Michael Albinus <michael.albinus@gmx.de>
4028
4029 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4030 is non-nil.
4031 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4032 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4033
c8d3a25c 40342012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4035
c8d3a25c
GM
4036 * calendar/cal-dst.el (calendar-current-time-zone):
4037 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4038
c8d3a25c 40392012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4040
4041 * progmodes/which-func.el (which-func-format):
4042 Add mouse-face. (Bug#11698)
4043
c8d3a25c
GM
40442012-06-29 Leo Liu <sdl.web@gmail.com>
4045
4046 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4047
40482012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * minibuffer.el (minibuffer-confirm-exit-commands):
4051 Add completion-at-point (bug#11725).
4052
40532012-06-29 Glenn Morris <rgm@gnu.org>
4054
4055 * progmodes/f90.el (f90-font-lock-keywords-2):
4056 Add some preprocessor elements. (Bug#10499)
4057
40582012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4061 Use syntax-propertize (bug#11739).
4062
2badeec4
JB
40632012-06-28 Juanma Barranquero <lekktu@gmail.com>
4064
4065 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4066
ae4969c2
JD
40672012-06-28 Julien Danjou <julien@danjou.info>
4068
4069 * term.el (term-handle-colors-array): Use a set of new faces to
4070 color the terminal. Also uses :inverse-video property.
4071 (term-default-fg-color): Set to nil by default, deprecate in favor
4072 of `term-face'.
4073 (term-default-bg-color): Set to nil by default, deprecate in favor
4074 of `term-face'.
4075 (term-current-face): Use `term-face' by default.
4076 (term-bold-attribute): Variable deleted.
4077
1c9bd870
GM
40782012-06-28 Glenn Morris <rgm@gnu.org>
4079
4080 * simple.el (completion-list-mode-finish):
4081 Don't use toggle-read-only. (Since completion-list-mode has
4082 a special mode-class, it wasn't doing anything extra anyway.)
4083
c207708c
SM
40842012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4085
4086 Make inlining of other-mode interpreted functions work (bug#11799).
4087 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4088 (byte-compile): Use it to fix compilation of lexical-binding closures.
4089 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4090 function, if needed.
4091
3fd56834
SM
40922012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4093
04901786
SM
4094 * help-mode.el (help-make-xrefs): Don't just withstand
4095 cyclic-variable-indirection but any error in documentation-property.
4096
1ec4b7b2
SM
4097 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4098 memory use.
4099 * bindings.el (bindings--define-key): New function.
4100 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4101 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4102 * bindings.el: Use it to purecopy define-key bindings.
4103
e309e2a5
SM
4104 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4105
d5c6faf9
SM
4106 * emacs-lisp/cl.el (flet): Mark obsolete.
4107 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4108 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4109 * progmodes/js.el (js-c-fill-paragraph):
4110 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4111 (ebrowse-switch-member-buffer-to-derived-class):
4112 * play/5x5.el (5x5-solver): Use cl-flet.
4113
6e9590e2
SM
4114 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4115 (cl--symbol-function): New macro.
4116 (cl--letf, cl--letf*): Use it.
4117
3fd56834
SM
4118 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4119 Strip "toggle-" if any.
4120
35ff222c
GM
41212012-06-27 Glenn Morris <rgm@gnu.org>
4122
1ba6038a
GM
4123 * info.el (Info-default-directory-list): Move here from paths.el.
4124 * paths.el: Remove file, which is now empty.
4125 * loadup.el: No longer load "paths".
4126
0ea0e51b
GM
4127 * custom.el (custom-initialize-delay): Doc fix.
4128
35ff222c
GM
4129 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4130 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4131 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4132 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4133 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4134 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4135 * eshell/eshell.el (eshell-defgroup): Remove alias.
4136
c89926a5
CY
41372012-06-27 Chong Yidong <cyd@gnu.org>
4138
4139 * help.el (help-enable-auto-load): New variable.
4140
4141 * help-fns.el (help-fns--autoloaded-p): New function.
4142 (describe-function-1): Refer to a function as "autoloaded" if it
4143 was autoloaded at any time in the past. Perform autoloading if
4144 help-enable-auto-load is non-nil.
4145
cc06e7e7
EZ
41462012-06-26 Eli Zaretskii <eliz@gnu.org>
4147
4148 * makefile.w32-in (compile, compile-always): Depend on
4149 update-subdirs, not on subdirs.el. Otherwise, several different
4150 sub-targets of 'bootstrap' running in parallel could
4151 simultaneously write to subdirs.el, producing a garbled file.
4152
d2c32364
SS
41532012-06-26 Sam Steingold <sds@gnu.org>
4154
4155 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4156 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4157 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4158 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4159 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4160 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4161 * textmodes/tex-mode.el: Use it.
4162 Did not touch cedet and org because they are maintained elsewhere.
4163
5cf983b2
MR
41642012-06-26 Martin Rudalics <rudalics@gmx.at>
4165
4166 * calendar/calendar.el (calendar-exit): Don't try to delete or
4167 iconify last frame. See:
4168 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4169
8c4f2952
JD
41702012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4171
4172 * server.el (server-process-filter): Remember dir in the
4173 process's `server-client-directory' properties.
4174
772b2e2c
CY
41752012-06-24 Chong Yidong <cyd@gnu.org>
4176
4177 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4178 non-tag text.
4179
711b11e1
JB
41802012-06-23 Juanma Barranquero <lekktu@gmail.com>
4181
4182 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4183
dc5d230c
SM
41842012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * help-fns.el (describe-variable): Don't croak when doc is not found.
4187 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4188 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4189 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4190 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4191 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4192 ((lambda ..) ..).
4193 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4194
136e1c1d
CY
41952012-06-23 Chong Yidong <cyd@gnu.org>
4196
e8c1cabf
CY
4197 * info.el (Info-mouse-follow-link): Accept symbol values of
4198 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4199 (Info-fontify-node): Use Info-link-keymap for all navigation
4200 buttons, with link-args property to perform the desired action.
4201 (Info-link-keymap): Doc fix.
4202 (Info-next-link-keymap, Info-prev-link-keymap)
4203 (Info-up-link-keymap): Delete now-unused keymaps.
4204
0e9e6c6a
CY
42052012-06-23 Chong Yidong <cyd@gnu.org>
4206
05e89fea
CY
4207 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4208
0e9e6c6a
CY
4209 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4210 system abbrevs.
4211
4212 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4213
e33c6771
SM
42142012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4215
b68581e2
SM
4216 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4217 (bug#11719).
4218
e33c6771
SM
4219 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4220 the requote function doesn't work properly (bug#11714).
4221
7117e105
GM
42222012-06-23 Glenn Morris <rgm@gnu.org>
4223
4224 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4225
36cec983
SM
42262012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 Further GV/CL cleanups.
4229 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4230 gv-expander.
4231 (gv--defun-declaration): New function.
4232 (defun-declarations-alist): Use it.
4233 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4234 (gv-place): Autoload.
4235 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4236 original definition of dotimes and dolist.
4237 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4238 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4239 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4240 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4241 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4242 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4243 to the function's definition.
4244 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4245 * window.el:
4246 * files.el:
4247 * faces.el:
4248 * env.el: Don't use CL.
4249
d35af63c
PE
42502012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4251
4252 Support higher-resolution time stamps (Bug#9000).
4253
4254 * calendar/time-date.el (with-decoded-time-value): New arg
4255 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4256 (encode-time-value): New optional arg PICO. New type 3.
4257 (time-to-seconds) [!float-time]: Support the new picoseconds
4258 component if it's used.
4259 (seconds-to-time, time-subtract, time-add):
4260 Support ps-resolution time stamps as well.
4261
4262 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4263 (timerp): Timer vectors now have length 9, not 8.
4264 (timer--time): Support new-style (4-part) time stamps.
4265 (timer-next-integral-multiple-of-time): Time stamps now have
4266 picosecond resolution, so take a bit more care about rounding.
4267 (timer-relative-time, timer-inc-time): New optional arg psecs.
4268 (timer-set-time-with-usecs): Set psecs to 0.
4269 (timer--activate): Check psecs component, too.
4270
4271 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4272
ac77b21a
SM
42732012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4274
f143bfe3
SM
4275 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4276 Move the non-essential binding to the post/pre-command-hook where it is
4277 more obviously correct.
4278
ac77b21a
SM
4279 * subr.el (read-passwd): Don't use a history at all.
4280 * savehist.el (savehist-save): Remove password saved accidentally
4281 because of the above bug.
4282
76386c5a
BG
42832012-06-22 Bastien Guerry <bzg@gnu.org>
4284
4285 * files.el (toggle-read-only): Display a message telling whether
4286 the buffer is read-only or not (bug#11726).
4287
2ee3d7f0
SM
42882012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 * emacs-lisp/gv.el: New file.
4291 * subr.el (push, pop): Extend to generalized variables.
4292 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4293 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4294 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4295 gv-define-simple-setter, and gv-define-expander.
4296 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4297 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4298 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4299 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4300 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4301 gv-letplace.
4302 (cl-defstruct): Don't define setf-method any more.
4303 * emacs-lisp/cl.el (flet): Don't autoload.
4304 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4305 (define-setf-expander, defsetf, define-modify-macro)
4306 (cl-struct-setf-expander): Move from cl-lib.el.
4307 * emacs-lisp/syntax.el:
4308 * emacs-lisp/ewoc.el:
4309 * emacs-lisp/smie.el:
4310 * emacs-lisp/cconv.el:
4311 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4312 (timer--time): Use gv-define-simple-setter.
4313 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4314 to avoid coding-system problems in subr.el. Adjust all users.
4315 (macroexp--maxsize, macroexp-small-p): New functions.
4316 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4317 * scroll-bar.el (scroll-bar-mode):
4318 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4319 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4320 * winner.el (winner-configuration, winner-make-point-alist)
4321 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4322 * files.el (locate-file-completion-table): Avoid list*.
4323
c5695d1d
CY
43242012-06-22 Chong Yidong <cyd@gnu.org>
4325
4326 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4327 (dired-create-files): Doc fix (Bug#11329).
4328 (dired-do-copy): Doc fix (Bug#11334).
4329 (dired-mark-read-string): Doc fix (Bug#11553).
4330
2ee3d7f0
SM
4331 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4332 Doc fix (Bug#11326).
c5695d1d
CY
4333 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4334 (dired-dwim-target): Doc fix.
4335
4336 * wdired.el (wdired-mode): Doc fix.
4337
89b5595a
GM
43382012-06-22 Glenn Morris <rgm@gnu.org>
4339
575db3f1
GM
4340 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4341 (pcmpl-rpm-cache-stamp-file): New constant.
4342 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4343 (pcmpl-rpm-packages): Optionally cache list of packages.
4344
a4c8dd51
GM
4345 * pcmpl-rpm.el (pcmpl-rpm): New group.
4346 (pcmpl-rpm-query-options): New option.
4347 (pcmpl-rpm-packages): No need to inline it.
4348 Use pcmpl-rpm-query-options.
4349
89b5595a
GM
4350 * calendar/calendar.el (calendar-in-read-only-buffer):
4351 Avoid some needless mode changes.
4352
e76f0800
CY
43532012-06-21 Chong Yidong <cyd@gnu.org>
4354
4355 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4356 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4357 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4358
297a8f1d
CY
43592012-06-20 Chong Yidong <cyd@gnu.org>
4360
4361 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4362
d34c18b1
DR
43632012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4364
4365 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4366 (bug#11201).
4367
32f7f28e
CY
43682012-06-20 Chong Yidong <cyd@gnu.org>
4369
4370 * term.el (term-window-width): Handle the case of a missing right
4371 fringe (Bug#8837).
4372 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4373 (term-mode): Use define-derived-mode. Minor cleanups.
4374 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4375 (term-move-columns, term-insert-char, term-emulate-terminal)
4376 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4377
493c6688
MA
43782012-06-20 Michael Albinus <michael.albinus@gmx.de>
4379
d34c18b1
DR
4380 * net/ange-ftp.el (ange-ftp-get-passwd):
4381 Bind `enable-recursive-minibuffers'.
493c6688
MA
4382 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4383
3f06ecf4
DR
43842012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4385
4386 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4387
68f12411
GM
43882012-06-19 Glenn Morris <rgm@gnu.org>
4389
4390 * progmodes/python.el (python-mode): Derive from prog-mode.
4391
b3820318
KG
43922012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4393
4394 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4395 (edt-user-menu-bar-update-buffers): New functions.
4396 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4397
c6bf3022
CY
43982012-06-19 Chong Yidong <cyd@gnu.org>
4399
4400 * subr.el (with-selected-window): Preserve the selected window's
4401 terminal's top-frame (Bug#4702).
4402
4403 * window.el (save-selected-window): Likewise.
4404
25f09295
SM
44052012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * progmodes/python.el (python-rx-constituents): Move backquote.
4408 (python-skeleton-define, python-define-auxiliary-skeleton):
4409 Use `declare'.
4410
6b11952a
MA
44112012-06-18 Michael Albinus <michael.albinus@gmx.de>
4412
4413 * minibuffer.el (read-file-name-default): Revert the patch from
4414 2012-06-17.
4415
ee4b1330
SM
44162012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4419 (pcase--u1, pcase--q1): Don't use apply-partially.
4420
35647f79
GM
44212012-06-18 Glenn Morris <rgm@gnu.org>
4422
4423 * progmodes/python.el (python-proc, python-buffer)
4424 (python-send-receive, python-send-string): Fix obsolete versions.
4425
24b0cff0
MR
44262012-06-18 Martin Rudalics <rudalics@gmx.at>
4427
4428 * window.el (special-display-p): Completely remove stringp
4429 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4430
29855149
MA
44312012-06-17 Michael Albinus <michael.albinus@gmx.de>
4432
4433 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4434
4435 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4436
4437 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4438 * net/tramp-sh.el (tramp-maybe-open-connection):
4439 Throw if `non-essential' is non-nil.
4440
07463363
MR
44412012-06-17 Martin Rudalics <rudalics@gmx.at>
4442
4443 * window.el (special-display-p): Signal an error if BUFFER-NAME
4444 is not a string (Bug#11713).
4445
48d1354e
PE
44462012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4447
4448 * progmodes/python.el (python-info-beginning-of-backslash):
4449 Rename from python-info-beginning-of-backlash, as a spelling fix.
4450
eb4a8a9a
CY
44512012-06-17 Chong Yidong <cyd@gnu.org>
4452
4453 * term.el (term-emulate-terminal): If term-check-size is called,
4454 move point to the process mark without resetting point (Bug#4635).
4455
ddfbf826 44562012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4457
4458 * international/mule-cmds.el (mule-menu-keymap)
4459 (set-language-environment, set-locale-environment): Doc tweaks.
4460
9b0e3eba
AA
44612012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4462
4463 * cus-face.el (custom-face-attributes): Add wave-style underline
4464 attribute.
4465 * faces.el (set-face-attribute): Update docstring to describe
4466 wave-style underline attribute.
4467
771e3eae
CY
44682012-06-16 Chong Yidong <cyd@gnu.org>
4469
4470 * term/xterm.el (terminal-init-xterm): Discard input before
4471 querying background mode (Bug#10959).
4472
7ae2ea10
SM
44732012-06-16 Stefan Merten <smerten@oekonux.de>
4474
4475 * textmodes/rst.el: Added and corrected some comments.
4476 (rst-re-alist-def): Improve symbol syntax.
4477 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4478 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4479 (rst-official-version, rst-official-cvs-rev): Update version
4480 information.
7ae2ea10 4481
b6974efa
JB
44822012-06-15 Juanma Barranquero <lekktu@gmail.com>
4483
4484 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4485 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4486
8826d473
GM
44872012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4488
4489 * progmodes/python.el: New python.el merge.
4490 (python-guess-indent): Obsolete var.
4491 (python-indent-guess-indent-offset): New defcustom.
4492 (python-indent): Obsolete var.
4493 (python-indent-offset): New defcustom.
4494 (python-python-command, python-jython-command): Delete var.
4495 (python-shell-interpreter): New defcustom.
4496 (python-pdbtrack-do-tracking-p): Delete var.
4497 (python-pdbtrack-activate): New defcustom.
4498 (python-use-skeletons): Obsolete var.
4499 (python-skeleton-autoinsert): New defcustom.
4500 (inferior-python-filter-regexp, python-continuation-offset)
4501 (python-honour-comment-indentation, python-indent-string-contents)
4502 (python-jython-packages, python-mode-hook)
4503 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4504 (python-shell-prompt-alist)
4505 (python-source-modes): Delete defcustoms.
4506 (python-check-buffer-name, python-eldoc-setup-code)
4507 (python-eldoc-string-code, python-ffap-setup-code)
4508 (python-ffap-string-code, python-fill-comment-function)
4509 (python-fill-decorator-function, python-fill-paren-function)
4510 (python-fill-string-function, python-imenu-include-defun-type)
4511 (python-imenu-make-tree, python-imenu-subtree-root-label)
4512 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4513 (python-shell-compilation-regexp-alist)
4514 (python-shell-completion-module-string-code)
4515 (python-shell-completion-pdb-string-code)
4516 (python-shell-completion-setup-code)
4517 (python-shell-completion-string-code)
4518 (python-shell-enable-font-lock, python-shell-exec-path)
4519 (python-shell-extra-pythonpaths)
4520 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4521 (python-shell-process-environment)
4522 (python-shell-prompt-block-regexp)
4523 (python-shell-prompt-output-regexp)
4524 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4525 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4526 (python-shell-virtualenv-path): New defcustoms.
4527 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4528 (inferior-python-mode-syntax-table, python--prompt-regexp)
4529 (python-buffer, python-command python-python-command)
4530 (python-default-template, python-imports, python-indent-index)
4531 (python-indent-list, python-indent-list-length)
4532 (python-mode-running, python-pdbtrack-is-tracking-p)
4533 (python-preoutput-continuation, python-preoutput-leftover)
4534 (python-preoutput-result, python-preoutput-skip-next-prompt)
4535 (python-prev-dir/file, python-recursing)
4536 (python-saved-check-command, python-version-checked)
4537 (python-which-func-length-limit)
4538 (view-return-to-alist): Delete vars.
4539 (python-check-custom-command, python-dotty-syntax-table)
4540 (python-imenu-index-alist, python-indent-current-level)
4541 (python-indent-dedenters, python-indent-levels)
4542 (python-nav-beginning-of-defun-regexp)
4543 (python-nav-list-defun-positions-cache)
4544 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4545 (python-shell-internal-buffer)
4546 (python-skeleton-available): New vars.
4547 (def-python-skeleton): Delete macro.
4548 (python-skeleton-define): New macro.
4549 (python-define-auxiliary-skeleton, python-rx): New macros.
4550 (python-insert-class): Delete command.
4551 (python-skeleton-class): New command.
4552 (python-insert-def): Delete command.
4553 (python-skeleton-def): New command.
4554 (python-insert-for): Delete command.
4555 (python-skeleton-for): New command.
4556 (python-insert-if): Delete command.
4557 (python-skeleton-if): New command.
4558 (python-insert-try/except, python-insert-try/finally): Delete commands.
4559 (python-skeleton-try): New command.
4560 (python-insert-while): Delete command.
4561 (python-skeleton-while): New command.
4562 (python-backspace): Delete command.
4563 (python-indent-dedent-line-backspace): New command.
4564 (python-electric-colon): Delete command.
4565 (python-indent-electric-colon): New command.
4566 (python-guess-indent): Delete command.
4567 (python-indent-guess-indent-offset): New command.
4568 (python-shift-left): Delete command.
4569 (python-indent-shift-left): New command.
4570 (python-shift-right): Delete command.
4571 (python-indent-shift-right): New command.
4572 (python-find-function): Delete command.
4573 (python-nav-jump-to-defun): New command.
4574 (python-next-statement): Delete command.
4575 (python-nav-forward-sentence): New command.
4576 (python-previous-statement): Delete command.
4577 (python-nav-backward-sentence): New command.
4578 (python-fill-paragraph): Delete command.
4579 (python-fill-paragraph-function): New command.
4580 (python-send-buffer): Delete command.
4581 (python-shell-send-buffer): New command.
4582 (python-send-defun): Delete command.
4583 (python-shell-send-defun): New command.
4584 (python-send-region, python-send-region-and-go): Delete commands.
4585 (python-shell-send-region)
4586 (python-shell-switch-to-shell): New commands.
4587 (python-send-string): Delete command.
4588 (python-shell-send-string): New command.
4589 (python-switch-to-python): Delete command.
4590 (python-shell-switch-to-shell): New command.
4591 (python-describe-symbol): Delete command.
4592 (python-eldoc-at-point): New command.
4593 (python--set-prompt-regexp, python-args-to-list)
4594 (python-after-info-look, python-check-version)
4595 (python-check-comint-prompt, python-find-imports)
4596 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4597 (python-unload-function, python-expand-template)
4598 (python-maybe-jython, python-preoutput-filter)
4599 (python-pdbtrack-get-source-buffer)
4600 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4601 (python-pdbtrack-toggle-stack-tracking)
4602 (python-pdbtrack-track-stack-file, python-initial-text)
4603 (python-first-word, python-comment-line-p, python-send-command)
4604 (python-setup-brm, python-sentinel, python-set-proc)
4605 (python-skip-out, python-input-filter, python-outdent-p)
4606 (python-outline-level, python-backslash-continuation-line-p)
4607 (python-end-of-block, python-end-of-statement, python-mark-block)
4608 (python-beginning-of-block, python-beginning-of-statement)
4609 (python-blank-line-p, python-beginning-of-string)
4610 (python-open-block-statement-p): Delete functions.
4611 (python-indent-line, python-indent-line-1): Delete functions.
4612 (python-indent-line): New function.
4613 (python-indentation-levels): Delete function.
4614 (python-indent-calculate-levels): New function.
4615 (python-proc): Delete function.
4616 (python-shell-get-process): New function.
4617 (python-send-receive): Delete function.
4618 (python-shell-send-string-no-output): New function.
4619 (python-module-path): Delete function.
4620 (python-ffap-module-path): New function.
4621 (python-completion-at-point)
4622 (python-symbol-completions): Delete functions.
4623 (python-completion-complete-at-point): New function.
4624 (python-load-file): Delete function.
4625 (python-shell-send-file): New function.
4626 (python-calculate-indentation): Delete function.
4627 (python-indent-calculate-indentation): New function.
4628 (python-skip-comments/blanks): Delete function.
4629 (python-util-forward-comment): New function.
4630 (python-continuation-line-p): Delete function.
4631 (python-info-continuation-line-p): New function.
4632 (python-which-func, python-current-defun): Delete function.
4633 (python-info-current-defun): New function.
4634 (python-beginning-of-defun): Delete function.
4635 (python-nav-beginning-of-defun): New function.
4636 (python-close-block-statement-p)
4637 (python-block-end-p): Delete function.
4638 (python-info-closing-block): New function.
4639 (python-comint-output-filter-function)
4640 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4641 (python-fill-comment, python-fill-decorator, python-fill-paren)
4642 (python-fill-string, python-imenu-make-element-tree)
4643 (python-imenu-make-tree, python-imenu-tree-assoc)
4644 (python-indent-context, python-indent-dedent-line)
4645 (python-indent-line-function)
4646 (python-indent-post-self-insert-function)
4647 (python-indent-toggle-levels)
4648 (python-info-assignment-continuation-line-p)
4649 (python-info-beginning-of-backlash)
4650 (python-info-block-continuation-line-p)
4651 (python-info-closing-block-message)
4652 (python-info-line-ends-backslash-p)
4653 (python-info-looking-at-beginning-of-defun)
4654 (python-info-ppss-context, python-info-ppss-context-type)
4655 (python-nav-list-defun-positions, python-nav-read-defun)
4656 (python-nav-sentence-end, python-nav-sentence-start)
4657 (python-pdbtrack-comint-output-filter-function)
4658 (python-pdbtrack-set-tracked-buffer)
4659 (python-shell-calculate-exec-path)
4660 (python-shell-calculate-process-environment)
4661 (python-shell-completion--do-completion-at-point)
4662 (python-shell-completion--get-completions)
4663 (python-shell-completion-complete-at-point)
4664 (python-shell-completion-complete-or-indent)
4665 (python-shell-get-or-create-process)
4666 (python-shell-get-process-name)
4667 (python-shell-internal-get-or-create-process)
4668 (python-shell-internal-get-process-name)
4669 (python-shell-internal-send-string, python-shell-make-comint)
4670 (python-shell-parse-command, python-shell-send-setup-code)
4671 (python-skeleton-add-menu-items)
4672 (python-util-clone-local-variables, python-util-position)
4673 (run-python-internal, python-indentation-levels)
4674 (python-nav-beginning-of-defun)
4675 (python-completion-complete-at-point): New functions.
4676 (run-python): Change arguments. New API requirements.
4677
4302f5ba
SM
46782012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4679
f38ea36d
SM
4680 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4681 (bug#11649).
4682
4683 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4684 (macroexp--expand-all): Use it.
4685
4302f5ba
SM
4686 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4687 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4688 Use `cl-function' instead.
4689
33377562
JB
46902012-06-14 Juanma Barranquero <lekktu@gmail.com>
4691
4692 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4693 Suggested by Stefan Monnier while discussing bug#11657.
4694
54c5ba1a
SS
46952012-06-14 Sam Steingold <sds@gnu.org>
4696
4697 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4698
f9f1b1fe
AS
46992012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4700
4701 * play/doctor.el (doctor-doc): Remove parameter and use
4702 doctor-sent instead of sent.
4703 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4704
a81068ba
SM
47052012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4706
5a315f9c
SM
4707 * files.el: Require cl-lib.
4708 (file-name-non-special): Replace case -> cl-case.
4709
4710 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4711
a81068ba
SM
4712 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4713 mapping from #' to function*.
4714
8cca9703
CY
47152012-06-13 Chong Yidong <cyd@gnu.org>
4716
4717 * mouse.el (mouse-drag-track): Do not set the mark if the user
4718 releases the mouse without selecting anything (Bug#11588).
4719
a12ac9d7
SM
47202012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4721
ccf1dc18
SM
4722 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4723 as well (bug#11646).
4724
ef62b23d
SM
4725 * loadup.el: Count byte-code functions as well.
4726
c4c8444a
SM
4727 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4728 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4729
a12ac9d7
SM
4730 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4731 (bug#11649). Add cl-defun and cl-defmacro.
4732
87e6e64f
DA
47332012-06-13 Drew Adams <drew.adams@oracle.com>
4734
4735 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4736 Fix last change.
4737
682cefaf
MA
47382012-06-13 Michael Albinus <michael.albinus@gmx.de>
4739
4740 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4741 Otherwise, it blocks in batch mode.
4742
773e1f08
JB
47432012-06-13 Juanma Barranquero <lekktu@gmail.com>
4744
4745 * help-mode.el (bookmark-make-record-default): Declare.
4746
60057926
CY
47472012-06-13 Chong Yidong <cyd@gnu.org>
4748
4749 * emacs-lisp/package.el (list-packages): Compute a list of
4750 packages that are newly-available since the last list-packages
4751 invocation.
4752 (package-menu--new-package-list): New var.
4753 (package-menu--generate, package-menu--print-info)
4754 (package-menu--status-predicate, package-menu-mark-install):
4755 Handle new status label "new".
4756
ad4d226c
SM
47572012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4758
4759 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4760 conversion to backquotes.
4761
f1a4e679
CY
47622012-06-12 Chong Yidong <cyd@gnu.org>
4763
4764 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4765 Rename from gud-inhibit-global-bindings.
4766
4767 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4768
4769 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4770 hook from nxml-glyph-set-hook.
4771
4772 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4773 declaration.
4774
4775 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4776
4777 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4778 Convert to defcustom.
4779
0c9e42b5
DA
47802012-06-12 Drew Adams <drew.adams@oracle.com>
4781
4782 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4783 New functions.
4784 (help-mode): Use them.
4785
09e06855
GM
47862012-06-11 Glenn Morris <rgm@gnu.org>
4787
4788 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4789 Use preprocessor face for directives.
4790 (fortran-directive-re): Doc fix.
4791
71adb94b
SM
47922012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4793
2eb87922
SM
4794 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4795 conversion to backquotes (bug#11652).
4796
71adb94b
SM
4797 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4798 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4799 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4800 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4801 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4802 (cl-ninth, cl-tenth): Mark them as inlinable.
4803 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4804 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4805 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4806 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4807 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4808 (cl-list*, cl-adjoin): Don't put an autoload manually.
4809 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4810 (cl--compiler-macro-list*): Add autoload cookie.
4811 (cl--compiler-macro-cXXr): New function.
2eb87922 4812
71adb94b
SM
4813 * help-fns.el (help-fns--compiler-macro): New function extracted from
4814 describe-function-1; follow aliases and use `compiler-macro' property.
4815 (describe-function-1): Use it.
4816
a6674402
CY
48172012-06-11 Chong Yidong <cyd@gnu.org>
4818
4819 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4820 is uninstalled, if imagemagick is installed.
4821
bb3faf5b
SM
48222012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * emacs-lisp/cl-lib.el: Use lexical-binding.
4825 (cl-map-extents, cl-maclisp-member): Remove.
4826 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4827 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4828 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4829 * emacs-lisp/cl-extra.el: Use lexical-binding.
4830 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4831 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4832 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4833 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4834 * emacs-lisp/cl-seq.el: Use lexical-binding.
4835 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4836 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4837 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4838 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4839 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4840 CL's internals.
4841
2fe4b125
MA
48422012-06-11 Michael Albinus <michael.albinus@gmx.de>
4843
4844 Sync with Tramp 2.2.6-pre.
4845
4846 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4847 `print-length' and `print-level' to nil, in order to avoid
4848 truncation. Reported by Christopher Schmidt
4849 <christopher@ristopher.com>.
4850
4851 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4852
4853 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4854 New defmacro.
4855 (tramp-compat-copy-directory): Add optional argument
4856 COPY-CONTENTS. It is not handled yet.
4857
4858 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4859 (tramp-ftp-file-name-p): Simplify.
4860
4861 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4862 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4863 connection vector.
4864
4865 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4866 (tramp-methods): Do not use `tramp-password-end-of-line'.
4867 (tramp-completion-function-alist-putty): Handle UNIX case.
4868 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4869 (tramp-do-file-attributes-with-stat)
4870 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4871 gid as real numbers. They could run out of integer range on cygwin.
4872 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4873 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4874 (tramp-open-connection-setup-interactive-shell):
4875 Use `tramp-cleanup'. Move check for busyboxes ...
4876 (tramp-find-shell): ... here. Simplify implementation.
4877 Set "remote-shell" property also for alternative shells.
4878 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4879 If failing, a regular file would be written otherwise.
4880 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4881 (tramp-find-inline-encoding): Cache the coding commands in the
4882 process cache. Apply test command on the remote side, if defined.
4883 (tramp-find-inline-compress): Cache the compress commands in the
4884 process cache.
4885 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4886 when requested. Handle hops.
4887 (tramp-current-connection): New defvar.
87e6e64f
DA
4888 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4889 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4890 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4891 (tramp-get-inline-compress, tramp-get-inline-coding):
4892 Read connection properties from the process cache.
2fe4b125
MA
4893
4894 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4895 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4896 New defconsts.
2fe4b125
MA
4897 (tramp-smb-prompt): Extend for powershell prompt.
4898 (tramp-smb-file-name-handler-alist): Add handlers for
4899 `process-file', `shell-command' and `start-file-process'.
4900 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4901 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4902 (tramp-smb-file-name-p): Simplify.
4903 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4904 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4905 (tramp-smb-shell-quote-argument): New defuns.
4906 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4907 Implement using "tar". By this, time-stamps are preserved.
4908 (tramp-smb-handle-copy-file): Handle also the case of directories.
4909 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4910 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4911 Use `tramp-get-connection-buffer').
2fe4b125
MA
4912 (tramp-smb-handle-rename-file): Use "rename", when source and
4913 target are on the same share.
87e6e64f
DA
4914 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4915 Use `tramp-smb-server-version'.
2fe4b125
MA
4916 (tramp-smb-wait-for-output): Remove prompt.
4917
4918 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4919 (tramp-methods, tramp-rsh-end-of-line):
4920 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4921 (tramp-save-ad-hoc-proxies): New defcustom.
4922 (tramp-completion-function-alist): Adapt docstring.
4923 (tramp-default-password-end-of-line): Remove defcustom.
4924 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4925 (tramp-user-regexp, tramp-file-name-regexp-unified)
4926 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4927 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4928 (tramp-remote-file-name-spec-regexp): New defconst.
4929 (tramp-file-name-structure): Extend structure for hops.
4930 (tramp-get-method-parameter): Move up.
4931 (tramp-file-name-p, tramp-dissect-file-name)
4932 (with-parsed-tramp-file-name): Handle hops.
4933 (tramp-file-name-hop): New defun.
4934 (tramp-make-tramp-file-name): New optional arg HOP.
4935 (tramp-message-show-progress-reporter-message): New defvar.
4936 (tramp-with-progress-reporter): Use it. We cannot use
4937 `tramp-message-show-message' here, because this suppresses also
4938 error buffers.
4939 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4940 `tramp-message-show-message' is nil.
4941 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4942 (tramp-cleanup): New defun.
4943 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4944 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4945 an error unchanged.
4946 (tramp-completion-handle-file-name-all-completions): Handle hops.
4947 Fix an error when called from ido.
4948 (tramp-completion-dissect-file-name): Use better local variable
4949 name. Add hop to the vector.
4950 (tramp-handle-insert-file-contents): Use progress-reporter for the
4951 whole scenario.
4952 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4953 to `t'.
4954 (tramp-check-for-regexp): Simplify search.
4955 (tramp-enter-password): Remove it. Move implementation ...
4956 (tramp-action-password): ... here.
4957 (tramp-mode-string-to-int, tramp-local-host-p)
4958 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4959 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4960 Set tramp-autoload cookie.
2fe4b125
MA
4961
4962 * net/trampver.el: Update release number.
4963
49642012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4965 Michael Albinus <michael.albinus@gmx.de>
4966
4967 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4968 (tramp-parse-group, tramp-parse-file)
4969 (tramp-parse-shostkeys-sknownhosts): New defuns.
4970 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4971 (tramp-parse-shosts-group, tramp-parse-sconfig)
4972 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4973 (tramp-parse-sknownhosts, tramp-parse-hosts)
4974 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4975 Use them.
4976 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4977 (tramp-parse-putty-group): Don't narrow.
4978 (tramp-parse-putty): Make a loop.
4979 (tramp-file-name-handler): Catch the `suppress' signal.
4980
72834e10
CY
49812012-06-11 Chong Yidong <cyd@gnu.org>
4982
4983 * image.el (imagemagick-register-types): Put the ImageMagick entry
4984 at the end of image-type-file-name-regexps.
4985
a4712e11
JB
49862012-06-11 Johan Bockgård <bojohan@gnu.org>
4987
4988 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4989 (pcase, pcase-let*, pcase-dolist): Use them.
4990
82ad98e3
SM
49912012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * emacs-lisp/pcase.el (pcase--let*): New function.
4994 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4995 (pcase--expand): Use macroexp-let².
4996
f80efb86
SM
49972012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5000 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5001 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5002 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5003 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5004 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5005
31ca4639 50062012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5007
31ca4639
CY
5008 * mail/rmail.el (rmail-yank-current-message): Leave point at
5009 correct position. (Bug#11660)
94f0aa34 5010
31ca4639 50112012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5012
31ca4639 5013 * allout-widgets.el: Fix code header.
9e1b8ec4 5014
31ca4639 50152012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5016
f80efb86
SM
5017 * cus-edit.el (customize-changed-options-previous-release):
5018 Bump to 24.1.
31ca4639 5019
642b6d30
AS
50202012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5021
5022 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5023
4f5d2ba1
CY
50242012-06-09 Chong Yidong <cyd@gnu.org>
5025
5026 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5027
e75852fd
MR
50282012-06-09 Martin Rudalics <rudalics@gmx.at>
5029
5030 * window.el (special-display-popup-frame): Don't use
5031 window--display-buffer (Bug#11651).
5032
1e48e282
EZ
50332012-06-09 Eli Zaretskii <eliz@gnu.org>
5034
8a26b487
EZ
5035 Fix parallel builds: make sure loaddefs.el is not being written
5036 while Lisp files are compiled.
5037 (compile): Don't depend on 'mh-autoloads'.
5038 (compile-CMD, compile-SH): Depend on 'autoloads'.
5039 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5040
1e48e282
EZ
5041 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5042
6175e34b
CY
50432012-06-09 Chong Yidong <cyd@gnu.org>
5044
5045 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5046 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5047 Doc fixes (Bug#11225).
5048
d9857e53
SM
50492012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5052 a function if there's a clear indication that it has a compiler-macro.
5053 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5054 (macro-declarations-alist): Add arglist to declaration functions.
5055 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5056 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5057 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5058 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5059 Also add autoload to find the compiler macro.
5060 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5061 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5062 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5063 (cl--compiler-macro-get): New functions, replacing calls to
5064 cl-define-compiler-macro.
5065 (cl-typep) [compiler-macro]: Use macroexp-let².
5066
f81298f8 50672012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5068
5069 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5070 string properly, fixes Bug#11473.
5071
4b56d0fe
CY
50722012-06-08 Chong Yidong <cyd@gnu.org>
5073
5074 * faces.el (set-face-attribute): Doc fix.
5075 (modify-face): Don't use :bold and :italic.
5076 (error, warning, success): Tweak definitions.
5077
5078 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5079 (custom-modified, custom-set, custom-changed, custom-themed)
5080 (custom-saved, custom-button, custom-button-mouse)
5081 (custom-button-pressed, custom-state, custom-comment-tag)
5082 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5083 (custom-group-subtitle): Use new-style face specs.
5084 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5085 (custom-set-face, custom-changed-face, custom-saved-face)
5086 (custom-button-face, custom-button-pressed-face)
5087 (custom-documentation-face, custom-state-face)
5088 (custom-comment-face, custom-comment-tag-face)
5089 (custom-variable-tag-face, custom-variable-button-face)
5090 (custom-face-tag-face, custom-group-tag-face-1)
5091 (custom-group-tag-face): Remove obsolete face alias.
5092
5093 * epa.el (epa-validity-high, epa-validity-medium)
5094 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5095 (epa-field-name, epa-field-body):
5096 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5097 (font-lock-keyword-face, font-lock-builtin-face)
5098 (font-lock-function-name-face, font-lock-variable-name-face)
5099 (font-lock-type-face, font-lock-constant-face):
5100 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5101 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5102 * speedbar.el (speedbar-button-face, speedbar-file-face)
5103 (speedbar-directory-face, speedbar-tag-face)
5104 (speedbar-selected-face, speedbar-highlight-face)
5105 (speedbar-separator-face):
5106 * whitespace.el (whitespace-newline, whitespace-space)
5107 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5108 (whitespace-line, whitespace-space-before-tab)
5109 (whitespace-space-after-tab, whitespace-indentation)
5110 (whitespace-empty):
5111 * emulation/cua-base.el (cua-global-mark):
5112 * eshell/em-prompt.el (eshell-prompt):
5113 * net/newst-plainview.el (newsticker-new-item-face)
5114 (newsticker-old-item-face, newsticker-immortal-item-face)
5115 (newsticker-obsolete-item-face, newsticker-date-face)
5116 (newsticker-statistics-face, newsticker-default-face):
5117 * net/newst-reader.el (newsticker-feed-face)
5118 (newsticker-extra-face, newsticker-enclosure-face):
5119 * net/newst-treeview.el (newsticker-treeview-face)
5120 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5121 (newsticker-treeview-immortal-face)
5122 (newsticker-treeview-obsolete-face)
5123 (newsticker-treeview-selection-face):
5124 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5125 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5126 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5127 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5128 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5129 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5130 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5131 (mpuz-text):
5132 * progmodes/vera-mode.el (vera-font-lock-number)
5133 (vera-font-lock-function, vera-font-lock-interface):
5134 * textmodes/table.el (table-cell): Use new-style face specs, and
5135 don't use the old :bold and :italic attributes.
5136
5137 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5138 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5139 (ebrowse-member-class, ebrowse-progress): Likewise.
5140 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5141 (ebrowse-file-name-face, ebrowse-default-face)
5142 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5143 (ebrowse-progress-face): Remove obsolete faces.
5144
5145 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5146 Inherit from error and warning faces respectively.
5147
5148 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5149 Likewise.
f80efb86
SM
5150 (flyspell-incorrect-face, flyspell-duplicate-face):
5151 Remove obsolete aliases.
4b56d0fe 5152
03310646
MA
51532012-06-08 Michael Albinus <michael.albinus@gmx.de>
5154
5155 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5156 Avoid infloop.
5157
513749ee
SM
51582012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * startup.el (argv, argi): Make lexically scoped.
5161 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5162 * emacs-lisp/cl-macs.el: Use lexical-binding.
5163 Rename cl-bind-* to cl--bind-*.
5164 * files.el: Don't require `cl' since it doesn't use it.
5165 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5166
595ef4ad
JB
51672012-06-08 Juanma Barranquero <lekktu@gmail.com>
5168
5169 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5170 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5171 instead of calling external sort utility.
5172 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5173
e9f66fcb
EZ
51742012-06-08 Eli Zaretskii <eliz@gnu.org>
5175
5176 * descr-text.el (describe-char): Mention how to insert the
5177 character, if the current input method doesn't support it.
5178 See the discussion in this thread for the details:
5179 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5180
3d10db47
SS
51812012-06-08 Sam Steingold <sds@gnu.org>
5182
5183 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5184 XF86Back to previous-buffer.
5185 (minibuffer-local-map): Bind them to next-history-element and
5186 previous-history-element respectively.
5187 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5188 help-go-back respectively.
5189 * info.el (Info-mode-map): Bind them to Info-history-forward and
5190 Info-history-back respectively.
5191 These are the keys next to Up on the ThinkPad keyboard.
5192
de7e2b36
SM
51932012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5196 * emacs-lisp/cl-macs.el: Provide itself.
5197 (cl--labels-convert-cache): New var.
5198 (cl--labels-convert): New function.
5199 (cl-flet, cl-labels): New implementation with new semantics, relying on
5200 lexical-binding.
5201 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5202 (cl-closure-vars, cl--function-convert-cache)
5203 (cl--function-convert): Move from cl-macs.el.
5204 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5205 rename by removing the "cl-" prefix.
5206 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5207
6fa6c4ae
SM
52082012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5211 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5212 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5213 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5214 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5215 (cl-hash-table-count): Add old compatibility aliases.
5216
5217 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5218 Use macroexpand-all-environment instead.
5219 (cl--old-macroexpand): New var.
5220 (cl--sm-macroexpand): New function.
5221 (cl-symbol-macrolet): Use it during macro expansion.
5222 (cl--function-convert-cache): New var.
5223 (cl--function-convert): New function, extracted from
5224 cl-macroexpand-all.
5225 (cl-lexical-let): Use it.
5226
5227 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5228 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5229 (cl-member): Remove old alias.
5230
5231 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5232 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5233 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5234 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5235 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5236 (cl-macroexpand-cmacs): Remove var.
5237 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5238 Use macroexpand-all instead.
5239
4dd1c416
SM
52402012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5243 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5244 (macroexp-copyable-p): New functions and macros.
5245 * emacs-lisp/edebug.el (edebug-unwrap):
5246 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5247 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5248 (pcase--let*): Remove.
5249 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5250 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5251 macroexp-const-p instead.
5252 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5253
5254 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5255 instead of "cl-" for internal definitions. Use macroexp-const-p.
5256 (cl-old-bc-file-form): Remove var.
5257 (cl-const-exprs-p): Remove fun.
5258 (cl-labels, cl-macrolet): Use backquote.
5259 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5260 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5261 (cl-define-setf-expander): Rename from cl-define-setf-method.
5262 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5263
5264 * international/mule-cmds.el: Don't require CL.
5265 (view-hello-file): Don't use `letf'.
5266
ed8bd4d7
SM
52672012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5268
7287f2f3
SM
5269 * tmm.el (tmm-prompt): Use string-prefix-p.
5270 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5271 (tmm-add-prompt): Use minibuffer-completion-help.
5272 (tmm-delete-map): Remove.
5273
ed8bd4d7
SM
5274 * subr.el (kbd): Make it its own function.
5275
7b4cdbf4
SM
52762012-06-07 Stefan Merten <smerten@oekonux.de>
5277
5278 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5279 Silence compiler warnings. Fix versions.
ed8bd4d7 5280 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5281 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5282 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5283 (rst-package-emacs-version-alist): Correct Emacs version to
5284 represent major merge with upstream.
ed8bd4d7 5285 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5286
2b48d721
GM
52872012-06-06 Glenn Morris <rgm@gnu.org>
5288
5289 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5290 Only print environment variables if set.
5291
fa779ab0
SM
52922012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5295 (macroexp--cons): Rename from maybe-cons.
5296 (macroexp--accumulate): Rename from macroexp-accumulate.
5297 (macroexp--all-forms): Rename from macroexpand-all-forms.
5298 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5299 (macroexp--expand-all): Rename from macroexpand-all-1.
5300
628299e0
SS
53012012-06-06 Sam Steingold <sds@gnu.org>
5302
5303 * calendar/calendar.el (calendar-in-read-only-buffer):
5304 Call `special-mode' to enable the standard read-only keybindings.
5305
b7bb5838
SM
53062012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5307
5308 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5309 with "loading" messages (bug#11635).
5310
dfb308ba
MA
53112012-06-06 Michael Albinus <michael.albinus@gmx.de>
5312
5313 * files.el (enable-remote-dir-locals): New option.
5314 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5315
0372ee92
MA
5316 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5317 Ensure, that the temp directory is local.
5318
5319 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5320 `temporary-file-directory'.
5321
eed0bb91
MA
5322 * progmodes/python.el (python-send-region): Ensure, that the
5323 temporary file is created also in the remote case.
5324
7a58f64d
GM
53252012-06-06 Glenn Morris <rgm@gnu.org>
5326
f7dd4e98
GM
5327 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5328 (vc-rcs-update-changelog): Use it.
5329
090bd7cb 5330 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5331
7a58f64d
GM
5332 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5333 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5334 (vc-sccs-diff): Replace use of the external vcdiff script.
5335
daed4003
GM
53362012-06-05 Glenn Morris <rgm@gnu.org>
5337
5338 * ledit.el: Move to obsolete/.
5339
48c455c7
SS
53402012-06-05 Sam Steingold <sds@gnu.org>
5341
ed9265fc 5342 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5343 patch (Bug#11140).
5344
57a7d507
SM
53452012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5346
090bd7cb 5347 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5348
53aacf21
SM
5349 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5350 compiler-macro expansion.
5351
57a7d507
SM
5352 Add native compiler-macro support.
5353 * emacs-lisp/macroexp.el (macroexpand-all-1):
5354 Support compiler-macros directly. Properly follow aliases and apply
5355 the compiler macros more thoroughly.
5356 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5357 macroexpand now properly follows aliases.
5358 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5359 (cl-compiler-macroexpand): Use new prop.
5360 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5361
5362 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5363
51a5f9d8
MR
53642012-06-05 Martin Rudalics <rudalics@gmx.at>
5365
5366 * window.el (get-lru-window, get-mru-window, get-largest-window):
5367 New argument NOT-SELECTED to avoid picking the selected window.
5368 (window--display-buffer-1, window--display-buffer-2): Replace by
5369 new function window--display-buffer
5370 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5371 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5372 Use window--display-buffer.
51a5f9d8
MR
5373 (display-buffer-use-some-window): Remove temporary dedication
5374 hack by calling get-lru-window and get-largest-window with
5375 NOT-SELECTED argument non-nil. Call window--display-buffer.
5376
08f9f738
GM
53772012-06-05 Glenn Morris <rgm@gnu.org>
5378
5379 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5380 Replace external vcdiff script.
5381
e364a2b7
SM
53822012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5385
041df390
CY
53862012-06-04 Chong Yidong <cyd@gnu.org>
5387
e364a2b7
SM
5388 * image.el (imagemagick-types-inhibit): Revert last change.
5389 Add INFO and M.
47b36b94 5390 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5391
7c1898a7
SM
53922012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 * emacs-lisp/cl-lib.el: Rename from cl.el.
5395 * emacs-lisp/cl.el: New compatibility file.
5396 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5397 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5398 to obey the "cl-" prefix.
5399 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5400
0c3461de
GM
54012012-06-03 Glenn Morris <rgm@gnu.org>
5402
1e266c88
GM
5403 * emacs-lisp/authors.el (authors-aliases): Addition.
5404
0c3461de
GM
5405 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5406 Fix :version.
5407
d8a52e15
SM
54082012-06-03 Stefan Merten <smerten@oekonux.de>
5409
5410 * textmodes/rst.el: Add comments.
5411 (rst-transition, rst-adornment): New faces.
5412 (rst-adornment-faces-alist): Make default safe to reevaluate.
5413 Fixes
5414 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5415 Improve customization tags.
5416 (rst-define-level-faces): Clarify meaning.
5417
5205d6f6
CY
54182012-06-03 Chong Yidong <cyd@gnu.org>
5419
5420 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5421 (compilation-mode-line-run, compilation-mode-line-exit):
5422 New faces.
5205d6f6
CY
5423 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5424
757ee657
JD
54252012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5426
7c1898a7
SM
5427 * progmodes/which-func.el (which-func-update-ediff-windows):
5428 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5429
5f2c76c6
CY
54302012-06-03 Chong Yidong <cyd@gnu.org>
5431
5432 * bindings.el: Remove explicit help text from format-mode-line.
5433 It is now supplied by mode-line-default-help-echo.
5434 (mode-line-front-space, mode-line-end-spaces)
5435 (mode-line-misc-info): New variables.
5436 (mode-line-modes, mode-line-position): Move the default value to
5437 the variable definition.
5438 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5439 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5440 (mode-line-modified-help-echo): New functions.
5441 (mode-line-mule-info, mode-line-modified): Use them.
5442 (mode-line-eol-desc, propertized-buffer-identification):
5443 Consistency fixes for help text.
cbe46e5f
CY
5444 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5445 set-buffer-file-coding-system (Bug#289).
5446 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5447
f2d6a3df
SM
54482012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 * simple.el (execute-extended-command): Set real-this-command
5451 (bug#11506).
5452
37269466
CY
54532012-06-02 Chong Yidong <cyd@gnu.org>
5454
5455 Remove incorrect uses of "modeline" in comments, docstrings, and
5456 function/variable names (Bug#10329).
5457
5458 * cus-edit.el (mode-line):
5459 * dframe.el (dframe-mouse-hscroll):
5460 * emacs-lisp/re-builder.el:
5461 * emacs-lisp/easy-mmode.el (define-minor-mode):
5462 * frame.el (set-frame-name):
5463 * help.el (lookup-minor-mode-from-indicator):
5464 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5465 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5466 (c-toggle-hungry-state):
5467 * progmodes/antlr-mode.el (antlr-language-alist):
5468 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5469 * progmodes/vhdl-mode.el (vhdl-mode):
5470 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5471 * term/ns-win.el (ns-face-at-pos):
5472 * term/sup-mouse.el (sup-mouse-report):
5473 * textmodes/flyspell.el (flyspell-mode-line-string):
5474 * textmodes/ispell.el (ispell-highlight-face):
5475 * textmodes/reftex-global.el:
5476 * vc/vc-arch.el (vc-arch-mode-line-string):
5477 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5478 * vc/vc-git.el (vc-git-mode-line-string):
5479 * vc/vc-hooks.el (vc-display-status)
5480 (vc-default-mode-line-string):
5481 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5482
5483 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5484
5485 * dired.el (dired-sort-set-mode-line): Rename from
5486 dired-sort-set-modeline. All callers changed.
5487
5488 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5489 eshell-status-in-modeline.
5490
5491 * foldout.el (foldout-mode-line-string): Rename from
5492 foldout-modeline-string. All callers changed.
5493 (foldout-update-mode-line): Rename from foldout-update-modeline.
5494
5495 * subr.el (redraw-modeline): Make into obsolete alias.
5496
5497 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5498 timeclock-modeline-display. Make old name an alias.
5499 (timeclock-update-mode-line): Likewise. All callers changed.
5500 (timeclock-mode-line-display): No need to check before using
5501 add-hook.
5502 (timeclock-relative, timeclock-day-over-hook)
5503 (timeclock-use-elapsed, timeclock-mode-string)
5504 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5505
5506 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5507 crisp-mode-modeline-string.
5508
5509 * play/solitaire.el (solitaire-build-mode-line): Rename from
5510 solitaire-build-modeline. All callers changed.
5511
5512 * play/zone.el (zone-hiding-mode-line): Rename from
5513 zone-hiding-modeline. All callers changed.
5514 (zone): Remove unusued `modeline-hidden-level' property.
5515
5516 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5517 xscheme-modeline-initialize. All callers changed.
5518
5519 * strokes.el (strokes-lighter): Rename from
5520 strokes-modeline-string.
5521
5522 * textmodes/sgml-mode.el (html-face-tag-alist)
5523 (html-tag-face-alist): Use mode-line face instead of obsolete
5524 alias modeline.
5525
42152ee4
SM
55262012-06-02 Stefan Merten <smerten@oekonux.de>
5527
5528 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5529 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5530
95f520b5
CY
55312012-06-02 Chong Yidong <cyd@gnu.org>
5532
5533 * image.el (imagemagick-enabled-types): Rename from
5534 imagemagick-types-enable. Add many more types.
5535 (imagemagick-types-inhibit): Change default to nil.
5536 (imagemagick-filter-types): Caller changed.
5537
4a5f187a
SM
55382012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5539
03fef3e6
SM
5540 * emacs-lisp/cl-macs.el: Use backquotes.
5541 (cl-transform-function-property): Use eval-and-compile rather than
5542 abusing `require'.
5543 (defstruct): Use declare-function instead of with-no-warnings.
5544
4a5f187a
SM
5545 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5546 (byte-compile-output-docform): Re-add the print-circle bindings.
5547 (byte-compile-fix-header): Use #$ just because it's shorter.
5548 (byte-compile-output-file-form): Remove defun/defmacro.
5549
bd56924f
MR
55502012-06-01 Martin Rudalics <rudalics@gmx.at>
5551
5552 * simple.el (choose-completion): Remove now obsolete binding for
5553 owindow.
5554
046e38ce
MA
55552012-06-01 Michael Albinus <michael.albinus@gmx.de>
5556
5557 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5558 in order to avoid "Stack overflow in regexp matcher".
5559
32d72c2f
GM
55602012-05-31 Glenn Morris <rgm@gnu.org>
5561
5562 * image.el: For clarity, call imagemagick-register-types at
5563 top-level, rather than relying on a custom :initialize.
5564 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5565 (imagemagick-filter-types): New function. (Bug#7406)
5566 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5567 If disabling support, remove elements altogether rather
5568 than using an impossible regexp.
5569 (imagemagick-types-inhibit): Give it the default init function.
5570
dd41169b
SM
55712012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5572
4a5f187a
SM
5573 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5574 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5575
efc00ab1 55762012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5577
5578 * desktop.el (desktop-read): Clear previous and next buffers for
5579 all windows and bury *Messages* buffer (bug#11556).
5580
500fcedc
SM
55812012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 Add `declare' for `defun'. Align `defmacro's with it.
5584 * emacs-lisp/easy-mmode.el (define-minor-mode)
5585 (define-globalized-minor-mode): Don't autoload the var definitions.
5586 * emacs-lisp/byte-run.el: Use lexical-binding.
5587 (defun-declarations-alist, macro-declarations-alist): New vars.
5588 (defmacro, defun): Use them.
5589 (make-obsolete, define-obsolete-function-alias)
5590 (make-obsolete-variable, define-obsolete-variable-alias):
5591 Use `declare'.
5592 (macro-declaration-function): Mark obsolete.
5593 * emacs-lisp/autoload.el: Use lexical-binding.
5594 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5595
6e8a1786
AM
55962012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5597
5598 * textmodes/ispell.el (ispell-with-no-warnings):
5599 Define as a macro.
500fcedc
SM
5600 (ispell-kill-ispell, ispell-change-dictionary):
5601 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5602 `interactive-p'.
5603
61b108cc
SM
56042012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5605
5606 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5607 (macro-declaration-function): Move var from C code.
5608 (macro-declaration-function): Define function with defalias.
5609 * emacs-lisp/macroexp.el (macroexpand-all-1):
5610 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5611 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5612 defun/defmacro any more.
5613 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5614 Provide fallback for unknown arglist.
5615 (byte-compile-arglist-warn): Change calling convention.
5616 (byte-compile-output-file-form): Move print-vars binding.
5617 (byte-compile-output-docform): Simplify accordingly.
5618 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5619 (byte-compile-defmacro-declaration): Remove.
5620 (byte-compile-file-form-defmumble): Generalize to defalias.
5621 (byte-compile-output-as-comment): Return byte-positions.
5622 Simplify callers accordingly.
5623 (byte-compile-lambda): Use `assert'.
5624 (byte-compile-defun, byte-compile-defmacro): Remove.
5625 (byte-compile-file-form-defalias):
5626 Use byte-compile-file-form-defmumble.
5627 (byte-compile-defalias-warn): Remove.
5628
6d3f7c2f
SM
56292012-05-29 Stefan Merten <smerten@oekonux.de>
5630
5631 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5632 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5633
5634 (rst-mode-abbrev-table): Merge definition.
5635 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5636 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5637
6dbaa1c7
UJ
56382012-05-29 Ulf Jasper <ulf.jasper@web.de>
5639
5640 * calendar/icalendar.el
5641 (icalendar-export-region): Export UID properly.
5642
d209e2fb 56432012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5644 * calendar/icalendar.el (icalendar-import-format):
5645 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5646 (icalendar-import-format-uid): New.
5647 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5648 Export UID.
5649
6876a58d
SM
56502012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5651
5652 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5653 different alternative patterns.
5654 (pcase-codegen): Be more careful to preserve identity.
5655 (pcase--u1): Don't forget to mark vars as used.
5656
5657 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5658 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5659 (byte-compile-from-buffer): ...rather than here.
5660
5661 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5662 functions from byte-compile-function-environment.
5663
46b7967e
TN
56642012-05-29 Troels Nielsen <bn.troels@gmail.com>
5665
5666 * window.el (window-deletable-p): Avoid deleting the root window
5667 of a frame with an active minibuffer.
5668
69d565e2
MR
56692012-05-29 Martin Rudalics <rudalics@gmx.at>
5670
5671 * simple.el (choose-completion): Use quit-window (Bug#11567).
5672
a149fa51
CY
56732012-05-29 Chong Yidong <cyd@gnu.org>
5674
5675 * whitespace.el (whitespace-cleanup): Fix usage of
5676 whitespace-empty-at-bob-regexp (Bug#11492).
5677
2b311310
AH
56782012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5679
5680 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5681 revert (Bug#11488).
5682
b9cb2387
JL
56832012-05-29 Juri Linkov <juri@jurta.org>
5684
5685 * isearch.el (isearch-mode-map): Bind `M-s _' to
5686 `isearch-toggle-symbol'. Bind `M-s c' to
5687 `isearch-toggle-case-fold'.
5688 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5689 (isearch-forward): Add `M-s _' to the docstring.
5690 (isearch-forward-symbol, isearch-toggle-case-fold)
5691 (isearch-symbol-regexp): New functions. (Bug#11381)
5692
d5e61c1c
JL
56932012-05-29 Juri Linkov <juri@jurta.org>
5694
5695 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5696 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5697 a function, call it to get the regexp.
5698 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5699 property `isearch-message-prefix' instead of the string "word ".
5700 (isearch-search-fun-default): For the case of `isearch-word',
5701 return a lambda that calls re-search-forward/re-search-backward
5702 with a regexp returned by `word-search-regexp' or by the function
5703 in `isearch-word'.
5704
8cbd80f7
JL
57052012-05-29 Juri Linkov <juri@jurta.org>
5706
5707 * isearch.el (isearch-search-fun-default): New function.
5708 (isearch-search-fun): Move default part to the new function
5709 `isearch-search-fun-default'.
5710 (isearch-search-fun-function): Set the default value to
5711 `isearch-search-fun-default'. (Bug#11381)
5712
5713 * comint.el (comint-history-isearch-end):
5714 Use `isearch-search-fun-default'.
5715 (comint-history-isearch-search): Use `isearch-search-fun-default'
5716 and remove spacial case for `isearch-word'.
5717 (comint-history-isearch-wrap): Remove spacial case for
5718 `isearch-word'.
5719
5720 * hexl.el (hexl-isearch-search-function):
5721 Use `isearch-search-fun-default'.
5722
5723 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5724 Use `word-search-regexp' for `isearch-word'.
5725
5726 * misearch.el (multi-isearch-search-fun):
5727 Use `isearch-search-fun-default'.
5728
5729 * simple.el (minibuffer-history-isearch-search):
5730 Use `isearch-search-fun-default' and remove spacial case for
5731 `isearch-word'.
5732 (minibuffer-history-isearch-wrap): Remove spacial case for
5733 `isearch-word'.
5734
5735 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5736 Remove spacial case for `isearch-word'.
5737 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5738
85c8c5b6
AM
57392012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5740
5741 Decrease XEmacs incompatibilities.
5742 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5743 Use `string-match'.
5744 (flyspell-delete-region-overlays): Use alternative definition for
5745 XEmacs.
5746 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5747 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5748 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5749 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5750 `define-obsolete-face-alias' under XEmacs, but old method.
5751
5752 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5753 `with-no-warnings' definition or Emacs alias.
5754 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5755 (ispell-word): Do not use `region-p' if XEmacs.
5756
8cab9efc
AM
57572012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5758
5759 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5760 Check for `ispell-dictionary-base-alist' instead of full
5761 `ispell-dictionary-alist'.
5762 (ispell-init-process): Show spellchecker when starting new Ispell
5763 process.
5764
fda91268
RZ
57652012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5766
5767 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5768 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5769
694ea8e3
JB
57702012-05-27 Juanma Barranquero <lekktu@gmail.com>
5771
5772 * version.el (motif-version-string, gtk-version-string)
5773 (ns-version-string): Declare.
5774
e4d4f539
JL
57752012-05-27 Juri Linkov <juri@jurta.org>
5776
5777 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5778 after the `eval-defun-1' specialcaseing
5779 like in `edebug-eval-defun' (bug#10181).
5780
5781 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5782 like in `eval-defun-1'.
5783
33017faf 57842012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5785
fda91268
RZ
5786 * mail/sendmail.el (mail-yank-region):
5787 Recognize rmail-yank-current-message in addition to insert-buffer.
5788 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5789 a *mail* buffer created through rmail-start-mail with sendmail as
5790 mail-user-agent.
5791
33017faf
GM
57922012-05-27 Chong Yidong <cyd@gnu.org>
5793
5794 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5795 Default to 256 (Bug#11267).
5796
5797 * help.el (describe-mode): Doc fix.
5798
04188bb9
GM
57992012-05-26 Glenn Morris <rgm@gnu.org>
5800
38264cc9
GM
5801 * w32-fns.el (w32-init-info): Remove.
5802 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5803
eb7afdad
GM
5804 * info.el (info-initialize): For self-contained NS builds, put the
5805 included info/ directory at the front. (Bug#2791)
5806
04188bb9
GM
5807 * paths.el (Info-default-directory-list): Make it a defcustom,
5808 mainly so that we can use custom-initialize-delay.
5809
a179e3f7
SM
58102012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5811
43416392
SM
5812 * subr.el (buffer-has-markers-at): Mark obsolete.
5813
a179e3f7 5814 * subr.el (lambda): Use declare.
43416392 5815
a179e3f7
SM
5816 * emacs-lisp/lisp-mode.el (lambda):
5817 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5818
34a008d9
AH
58192012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5820
5821 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5822
0a3b289f
GM
58232012-05-26 Glenn Morris <rgm@gnu.org>
5824
5825 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5826
758c81e8
GM
58272012-05-25 Glenn Morris <rgm@gnu.org>
5828
f9f334f0
GM
5829 * paths.el: Remove no-byte-compile.
5830 * loadup.el: No need to load paths.el uncompiled.
5831
87eb79c2
GM
5832 * image.el (imagemagick-types-inhibit): Doc fix.
5833
758c81e8
GM
5834 * version.el: Remove no-byte-compile and associated formatting.
5835 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5836 is ancient code from when there was an "inc-vers.el".
5837
e7e85dc0
SM
58382012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * progmodes/gdb-mi.el: Minor style changes.
5841 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5842 Turn into minor modes.
5843 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5844 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5845 (gdb-shell): Remove unneeded let-binding.
5846 (gdb-get-many-fields): Eliminate O(n²) behavior.
5847
f31237a4
EZ
58482012-05-25 Eli Zaretskii <eliz@gnu.org>
5849
5850 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5851 platforms that don't link in fontset.c.
5852
bc1b21bb
JL
58532012-05-25 Juri Linkov <juri@jurta.org>
5854
5855 Use the same diff color scheme as in modern VCSes (bug#10181).
5856
5857 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5858 to avoid confusion with `diff-added' that now uses green colors.
5859 (diff-removed): Use shades of red.
5860 (diff-added): Use shades of green.
5861 (diff-changed): Leave just the yellow color.
5862 (diff-use-changed-face): New variable.
5863 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5864 how to highlight context diff changes.
5865 (diff-refine-change): Use shades of yellow.
5866 (diff-refine-removed): New face that uses shades of red.
5867 (diff-refine-added): New face that uses shades of green.
5868 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5869 `diff-refine-removed' in the call to `smerge-refine-subst'
5870 depending on the value of `diff-use-changed-face'.
5871
5872 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5873 (smerge-other): Use shades of green.
5874 (smerge-base): Use shades of yellow.
5875 (smerge-refined-change): Empty face.
5876 (smerge-refined-removed): New face that uses shades of red.
5877 (smerge-refined-added): New face that uses shades of green.
5878 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5879 args `props-r' and `props-a', and use them. Doc fix.
5880 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5881 on its value use different faces `smerge-refined-change',
5882 `smerge-refined-removed', `smerge-refined-added' in the call to
5883 `smerge-refine-subst'.
5884
5885 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5886 Add face condition `min-colors 88' with shades of red.
5887 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5888 `min-colors 88' with shades of green.
5889 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5890 `min-colors 88' with shades of yellow.
5891
6df9112c
GM
58922012-05-24 Glenn Morris <rgm@gnu.org>
5893
ead5edc0
GM
5894 * paths.el (prune-directory-list, remote-shell-program): Move to...
5895 * files.el (prune-directory-list, remote-shell-program): ...here.
5896 For the latter, delay initialization, prefer ssh, just search PATH.
5897
f18b81e6
GM
5898 * paths.el (term-file-prefix): Move to faces.el (the only user).
5899 * faces.el (term-file-prefix): Move here, make it a defcustom.
5900
ee2f89a6
GM
5901 * paths.el (news-directory, news-path, news-inews-program):
5902 Move to gnus/nnspool.el.
61a583ca 5903
f8815e4c
GM
5904 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5905
c8f3b42c
GM
5906 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5907 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5908 Make the latter a defcustom, with a delayed initialization.
5909
6df9112c
GM
5910 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5911 These were deleted from Gnus itself late 2010.
5912
5dadff36
JB
59132012-05-22 Juanma Barranquero <lekktu@gmail.com>
5914
9e1701c6
JB
5915 * progmodes/which-func.el (which-func-ff-hook):
5916 Check against user-error, not error.
5917
bd7239f5 5918 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5919 cl-specs.el, which no longer exists.
5920
3290526d
GM
59212012-05-22 Glenn Morris <rgm@gnu.org>
5922
5923 * info.el (info-emacs-bug): New command.
5924 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5925 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5926
ff0c3cfb
GM
59272012-05-21 Glenn Morris <rgm@gnu.org>
5928
5929 * makefile.w32-in (update-subdirs-SH):
5930 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5931
5814f126
SM
59322012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5933
a52c0aa0
SM
5934 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5935
5814f126
SM
5936 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5937 Simplify Maven regexp, and make sure the file can't start with a space
5938 (bug#11517).
5939
b847032c
GM
59402012-05-21 Glenn Morris <rgm@gnu.org>
5941
5942 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5943 Scrap superfluous subshells.
5944
3858bfe7
SM
59452012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5948 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5949
d14b0029
JB
59502012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5951
5952 * calc/calc.el (calc-ensure-consistent-units): New variable.
5953
a52c0aa0
SM
5954 * calc/calc-units.el (math-consistent-units-p)
5955 (math-check-unit-consistency): New functions.
5956 (calc-quick-units, calc-convert-units):
5957 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5958 is non-nil.
d14b0029
JB
5959 (calc-extract-units): Fix typo.
5960
60c4db3a
SM
59612012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5962
77f3b62e
SM
5963 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5964
60c4db3a
SM
5965 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5966 (flyspell-default-deplacement-commands): Don't spell check after
5967 repeated window/frame switches (e.g. triggered by mouse-movement).
5968 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5969 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5970 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5971 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5972 Remove unused vars.
5973 (flyspell-get-casechars, flyspell-get-not-casechars):
5974 Simplify; Don't bother removing a ] just to add it back.
5975 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5976
d209e2fb 59772012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5978
5979 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5980 New functions.
bd7239f5 5981 (math-function-table): Add support for more C functions.
b1a10716 5982
3f1b25b5
AM
59832012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5984
090bd7cb
JB
5985 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5986 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5987 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5988
b581bb5c
SM
59892012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5992 their respective macro declarations.
5993 * skeleton.el (define-skeleton):
5994 * progmodes/compile.el (define-compilation-mode):
5995 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5996 (define-ibuffer-filter):
5997 * emacs-lisp/generic.el (define-generic-mode):
5998 * emacs-lisp/easy-mmode.el (define-minor-mode)
5999 (define-globalized-minor-mode):
6000 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6001 * emacs-lisp/byte-run.el (defsubst):
6002 * custom.el (deftheme): Add doc-string metadata.
6003
70b8ef8f
SM
60042012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6007
b1198e17
SM
60082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6009
9abdc45d
SM
6010 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6011
b1198e17
SM
6012 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6013 * emacs-lisp/cl-macs.el: Idem.
6014 * emacs-lisp/cl-specs.el: Remove.
6015
4735906a
SM
60162012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 Minor renaming of internal CL functions and variables.
6019 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6020 (cl--position): Rename from cl-position.
6021 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6022 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6023 (cl--random-state): Rename from *random-state*.
6024
ac348012
SM
60252012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6026
6027 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6028 parens around the arg list (bug#11499).
6029
a0a79cde
JL
60302012-05-17 Juri Linkov <juri@jurta.org>
6031
6032 * isearch.el (word-search-regexp, word-search-backward)
6033 (word-search-forward, word-search-backward-lax)
6034 (word-search-forward-lax): Move functions from search.c
6035 (bug#10145, bug#11381).
6036
65034a51
AM
60372012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6038
090bd7cb
JB
6039 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6040 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6041 Delay for otherchars as for normal word components.
65034a51 6042
1a72a195
SM
60432012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * minibuffer.el (completion--sifn-requote): Fix last change.
6046 (minibuffer-local-must-match-filename-map):
6047 Move define-obsolete-variable-alias before its var.
6048
fdb058c2
SM
60492012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6050
c41045e6
SM
6051 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6052
036dfb8b
SM
6053 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6054 behavior.
6055 (completion--string-equal-p): New function.
6056 (completion--twq-all): Use it to get better assertion failure data.
6057
2473256d
SM
6058 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6059 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6060 (shell--requote-argument): New functions.
6061 (shell-completion-vars): Use them.
6062 (shell--parse-pcomplete-arguments): Rename from
6063 shell-parse-pcomplete-arguments.
6064 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6065 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6066 Obey comint-file-name-quote-list.
6067
fdb058c2
SM
6068 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6069 (smie-indent-keyword): Use it.
6070
51fa99f1
SM
60712012-05-14 Stefan Merten <smerten@oekonux.de>
6072
6073 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6074
e18afed7 60752012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6076
6077 * net/rlogin.el (rlogin-mode-map): Fix last change.
6078
e18afed7 60792012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6080
6081 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6082 the following \r\n using a single `process-send-string', since the
6083 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6084 with two `process-send-string's (Bug#11444).
8633b1f4 6085
e18afed7 60862012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6087
fdb058c2
SM
6088 * shell.el (shell-parse-pcomplete-arguments):
6089 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6090
2d21d7f6
WJ
60912012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6092
e18afed7 6093 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6094 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6095 (image-transform-width, image-transform-fit-width): New functions.
6096 (image-transform-properties): Use them.
6097 (image-transform-check-size): New function.
6098 (image-toggle-display-image): Use it (for testing).
6099 (image-transform-set-rotation): Reduce angle mod 360.
6100 Delete obsolete comment.
6101
7102e6d0
WJ
61022012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6103
6104 * image-mode.el: Fix scaling (bug#11399).
6105 (image-transform-resize): Doc fix.
6106 (image-transform-properties): Default scale is 1 and height should
6107 be an integer.
6108
06bc5e6e
SM
61092012-05-13 Johan Bockgård <bojohan@gnu.org>
6110
6111 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6112 than hard-coding `car', to fix misbehavior when moving forward.
6113
0ae03b6a
CY
61142012-05-13 Chong Yidong <cyd@gnu.org>
6115
6116 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6117 (tabulated-list-entries, tabulated-list-padding)
6118 (tabulated-list-sort-key): Make permanent-local.
6119
6120 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6121 (electric-buffer-list): Put electric buffer menu
6122 command descriptions in this docstring, instead of the docstring
6123 of electric-buffer-menu-mode. Code cleanups.
6124 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6125 Electric-buffer-menu-mode.
6126 (electric-buffer-update-highlight): Minor code cleanup.
6127
205a7391
MA
61282012-05-13 Michael Albinus <michael.albinus@gmx.de>
6129
6130 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6131 (Bug#11447)
6132
e5bd0a28
SM
61332012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6134
6135 Move define-obsolete-variable-alias before the var's definition.
6136 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6137 * tooltip.el (tooltip-hook):
6138 * textmodes/reftex-toc.el (reftex-toc-map):
6139 * textmodes/reftex-sel.el (reftex-select-label-map)
6140 (reftex-select-bib-map):
6141 * textmodes/reftex-index.el (reftex-index-map)
6142 (reftex-index-phrases-map):
6143 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6144 * progmodes/meta-mode.el (meta-mode-map):
6145 * novice.el (disabled-command-hook):
6146 * loadhist.el (unload-hook-features-list):
6147 * frame.el (blink-cursor):
6148 * files.el (find-file-not-found-hooks, write-file-hooks)
6149 (write-contents-hooks):
6150 * emulation/tpu-edt.el (GOLD-map):
6151 * emacs-lock.el (emacs-lock-from-exiting):
6152 * emacs-lisp/generic.el (generic-font-lock-defaults):
6153 * emacs-lisp/chart.el (chart-map):
6154 * dos-fns.el (register-name-alist):
6155 * dired-x.el (dired-omit-files-p):
6156 * desktop.el (desktop-enable):
6157 * cus-edit.el (custom-mode-hook):
6158 * buff-menu.el (buffer-menu-mode-hook):
6159 * bookmark.el (bookmark-read-annotation-text-func)
6160 (bookmark-exit-hooks):
6161 * allout.el (allout-mode-deactivate-hook)
6162 (allout-exposure-change-hook, allout-structure-added-hook)
6163 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6164 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6165 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6166 comes before the corresponding variable's definition.
6167
ac59c2f6
CY
61682012-05-12 Chong Yidong <cyd@gnu.org>
6169
6170 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6171 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6172 (Buffer-menu-mode-map): Bind it.
6173 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6174
dee6c9a3
SM
61752012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6176
2171cea5
SM
6177 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6178 (prolog-upper-case-string, prolog-lower-case-string)
6179 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6180 (prolog-use-smie, prolog-smie-grammar): New vars.
6181 (prolog-smie-forward-token, prolog-smie-backward-token)
6182 (prolog-smie-rules): New funs.
6183 (prolog-comment-indent): Remove.
6184 (prolog-mode-variables): Use default comment indentation instead.
6185 Setup SMIE.
6186 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6187 (prolog-mode): Don't call them any more.
6188 (prolog-electric-colon, prolog-electric-dash)
6189 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6190
aa0382bd
SM
6191 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6192
dbacb4bd
SM
6193 * minibuffer.el (completion--twq-all): Again, allow case differences.
6194
13bdd94c
SM
6195 * term.el: Move keymap initialization code to be more idiomatic.
6196 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6197 (term-terminal-menu): Move initialization into declaration.
6198 (term-escape-char): Let the user set it in her .emacs.
6199
ff46c759
SM
6200 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6201 Provide SMIE-based indentation (not enabled by default yet).
6202 (sh-mode-map): Don't bind electric keys.
6203 Use electric-pair-mode instead of skeleton-pair.
6204 (sh-assignment-regexp): Fit within 80 columns.
6205 (sh-indent-supported): Specify actual shell name instead of boolean.
6206 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6207 (sh-maybe-here-document): Use it. Make obsolete.
6208 (sh-electric-here-document-mode) New minor mode.
6209 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6210 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6211 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6212 (sh-smie-rc-grammar, sh-use-smie): New vars.
6213 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6214 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6215 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6216 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6217 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6218 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6219 (sh-set-shell): Use smie-setup if requested.
6220
dee6c9a3
SM
6221 * term.el (term-set-escape-char): Properly set term-escape-char.
6222 See http://stackoverflow.com/questions/10524656.
6223
9f9aa044
CY
62242012-05-10 Chong Yidong <cyd@gnu.org>
6225
6226 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6227 Use url-generic-parse-url, and handle host names and Windows
6228 filenames properly.
6229 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6230 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6231 URL schemes to work on.
6232 (ffap--toggle-read-only): New function.
6233 (ffap-read-only, ffap-read-only-other-window)
6234 (ffap-read-only-other-frame): Use it.
6235 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6236 necessary for ffap-url-unwrap-remote.
6237
836d29b3
DA
62382012-05-10 Dave Abrahams <dave@boostpro.com>
6239
6240 * cus-start.el (create-lockfiles): Add it.
6241
00fd78ed
CY
62422012-05-09 Chong Yidong <cyd@gnu.org>
6243
6244 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6245 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6246
666b903b 62472012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6248
6249 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6250
666b903b 62512012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6252
6253 * ansi-color.el (ansi-color-process-output): Check for validity of
6254 comint-last-output-start before using it. This avoids a bad
6255 interaction with gdb-mi's input/output buffer.
6256
666b903b 62572012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6258
6259 * files.el (dir-locals-read-from-file):
6260 Mention dir-locals in any error message.
6261
666b903b 62622012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6263
6264 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6265 package (Bug#11410).
6266
f677562b
CY
6267 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6268 variables into description.
6269
666b903b 62702012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6271
6272 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6273 shell-delimiter-argument-list (bug#11348).
6274 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6275
b499d8d0
JB
62762012-05-09 Juanma Barranquero <lekktu@gmail.com>
6277
8f6b6da8
JB
6278 * textmodes/rst.el: Silence byte-compiler warnings.
6279 (rst-re-alist, rst-reset-section-caches): Move around.
6280 (rst-re): Use `characterp', not `char-valid-p'.
6281 (font-lock-beg, font-lock-end): Declare.
6282
4824146a
JB
6283 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6284 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6285
b499d8d0
JB
6286 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6287
ad89bb83
GM
62882012-05-08 Glenn Morris <rgm@gnu.org>
6289
6290 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6291
8bba5a75
SM
62922012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6293
49ed9c8e
SM
6294 * vc/log-edit.el: Add GNU coding standards highlighting.
6295 (log-edit-font-lock-gnu-style)
6296 (log-edit-font-lock-gnu-keywords): New vars.
6297 (log-edit-font-lock-keywords): New fun.
6298 (log-edit-mode): Don't fold case in font-lock.
6299 (log-edit-font-lock-keywords): Do not assume case-folding.
6300
07d00b56
SM
6301 * imenu.el: Misc cleanup. Make docstrings out of comments.
6302 Use lexical-binding.
6303 (imenu--index-alist, imenu--last-menubar-index-alist)
6304 (imenu-menubar-modified-tick): Use defvar-local.
6305 (imenu--split-menu): Remove unused var.
6306 (imenu--cleanup-seen): Declare as global.
6307 (imenu--cleanup): Use dolist.
6308
8bba5a75
SM
6309 * subr.el (defvar-local): Add debug spec and doc-string position.
6310
5075bdb5
GM
63112012-05-08 Glenn Morris <rgm@gnu.org>
6312
090bd7cb 6313 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6314 * language/english.el, language/georgian.el, language/greek.el:
6315 * language/japanese.el, language/khmer.el, language/korean.el:
6316 * language/lao.el, language/misc-lang.el, language/romanian.el:
6317 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6318 * language/thai.el, language/utf-8-lang.el:
6319 Remove no-byte-compile setting.
6320
5075bdb5
GM
6321 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6322
06f679a7
AH
63232012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6324
6325 * progmodes/make-mode.el (makefile-browse):
6326 Remove unnecessary interactive. (Bug#11324)
6327
03794570
GM
63282012-05-07 Glenn Morris <rgm@gnu.org>
6329
af8630f4
GM
6330 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6331
03794570
GM
6332 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6333
f0809a9d
SM
63342012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6335
28be5ce7
SM
6336 * loadup.el: Preload newcomment.el.
6337 * newcomment.el: Move autoload-only code to toplevel.
6338
f0809a9d
SM
6339 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6340 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6341 Handle new :right-align column property.
6342 (tabulated-list-print-col): Idem, plus use `display' text-property to
6343 try and preserve alignment for variable pitch fonts.
6344
1241b724
CY
63452012-05-07 Chong Yidong <cyd@gnu.org>
6346
6347 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6348 (tabulated-list-use-header-line): New var.
6349 (tabulated-list-init-header): Use it.
6350 (tabulated-list-print-fake-header): New function.
6351 (tabulated-list-print): Use it.
6352 (tabulated-list-sort-button-map): Add non-header-line commands.
6353 (tabulated-list-init-header): Add column name property to basic
6354 labels as well.
6355 (tabulated-list-col-sort): Handle non-header-line button case.
6356 (tabulated-list--sort-by-column-name): Fix a corner case.
6357
f0809a9d
SM
6358 * buff-menu.el (list-buffers--refresh):
6359 Handle Buffer-menu-use-header-line.
1241b724 6360
e5f9458f
CY
63612012-05-06 Chong Yidong <cyd@gnu.org>
6362
6363 * buff-menu.el: Convert to Tabulated List mode.
6364 (Buffer-menu-buffer+size-width): Make obsolete.
6365 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6366 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6367 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6368 documentation into docstring of buffer-menu.
6369 (Buffer-menu-toggle-files-only): Add an informative message.
6370 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6371 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6372 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6373 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6374 (Buffer-menu-execute, Buffer-menu-select)
6375 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6376 (Buffer-menu-bury): Use Tabulated List machinery.
6377 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6378 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6379 Delete.
e5f9458f
CY
6380 (list-buffers--refresh): New function.
6381 (list-buffers-noselect): Use it.
6382 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6383 (Buffer-menu--pretty-file-name): New helper functions.
6384
6385 * loadup.el: Preload tabulated-list.
6386
6387 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6388 tabulated-list-sort-column.
6389 (tabulated-list-init-header): Add the initial aligning space even
6390 if tabulated-list-padding is zero.
6391
e129292c
CS
63922012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6393
6394 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6395 whose cdr is not a cons cell correctly (bug#11038).
6396
6632d361
CY
63972012-05-06 Chong Yidong <cyd@gnu.org>
6398
e129292c
CS
6399 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6400 Accept additional plist in column descriptors.
6632d361
CY
6401 (tabulated-list-init-header): Obey it.
6402 (tabulated-list-get-entry): New function.
6403 (tabulated-list-put-tag): Use it. Use string-width instead of
6404 length.
6405 (tabulated-list--column-number): New function.
6406 (tabulated-list-print): Use it.
e129292c
CS
6407 (tabulated-list-print-col): New function.
6408 Set `tabulated-list-column-name' property on each column's text.
6632d361 6409 (tabulated-list-print-entry): Use it.
e129292c
CS
6410 (tabulated-list-delete-entry, tabulated-list-set-col):
6411 New functions.
6632d361
CY
6412 (tabulated-list-sort-column): New command (Bug#11337).
6413
3cc99f68
CY
6414 * buff-menu.el (list-buffers): Move C-x C-b binding from
6415 buff-menu.el to bindings.el.
6416
6417 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6418 :advertised-binding feature.
6419
52b61776
TN
64202012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6421
6422 * progmodes/compile.el (compilation-internal-error-properties):
6423 Calculate start position correctly when end-col is set but
6424 end-line is not (Bug#11382).
6425
ebfe2597
WJ
64262012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6427
6428 * man.el (Man-unindent): Use text-property-default-nonsticky to
6429 prevent untabify from inheriting face properties (Bug#11408).
6430
6d3f7c2f
SM
64312012-05-05 Stefan Merten <smerten@oekonux.de>
6432
6433 * textmodes/rst.el: Major merge with upstream development up to
6434 Docutils SVN r7399 / rst.el V1.2.1.
6435
6436 Clarify maintainership and authors.
6437
6438 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6439 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6440 (rst-official-version, rst-official-cvs-rev, rst-version)
6441 (rst-package-emacs-version-alist): New functions and variables
6442 for version information.
6443
6444 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6445 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6446 (rst-mode-syntax-table, rst-mode): New and corrected functions
6447 and variables representing reStructuredText features.
6448
6449 (rst-re): New function for reStructuredText regexes. Use in
6450 many places.
6451
6452 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6453 (rst-mode-map): Rebind keys.
6454
6455 (rst-mode-lazy, rst-font-lock-keywords)
6456 (rst-font-lock-extend-region)
6457 (rst-font-lock-extend-region-internal)
6458 (rst-font-lock-extend-region-extend)
6459 (rst-font-lock-find-unindented-line-limit)
6460 (rst-font-lock-find-unindented-line-match)
6461 (rst-adornment-level, rst-font-lock-adornment-level)
6462 (rst-font-lock-adornment-match)
6463 (rst-font-lock-handle-adornment-pre-match-form)
6464 (rst-font-lock-handle-adornment-matcher): Major revision of
6465 font-locking. Integrate with other code. Use `jit-lock-mode'.
6466
6467 (rst-preferred-adornments, rst-adjust-hook)
6468 (rst-new-adornment-down, rst-preferred-bullets)
6469 (rst-preferred-bullets, rst-indent, rst-indent-width)
6470 (rst-indent-field, rst-indent-literal-normal)
6471 (rst-indent-literal-minimized, rst-indent-comment): Change,
6472 extend and improve customization.
6473
6474 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6475 (rst-normalize-cursor-position, rst-get-decoration)
6476 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6477 (rst-rstrip, rst-toc-insert-find-delete-contents)
6478 (rst-shift-fill-region, rst-compute-bullet-tabs)
6479 (rst-debug-print-tabs, rst-debug-mark-found)
6480 (rst-shift-region-guts, rst-shift-region-right)
6481 (rst-shift-region-left, rst-use-char-classes)
6482 (rst-font-lock-keywords-function)
6483 (rst-font-lock-indentation-point)
6484 (rst-font-lock-find-unindented-line-begin)
6485 (rst-font-lock-find-unindented-line-end)
6486 (rst-font-lock-find-unindented-line)
6487 (rst-font-lock-adornment-point, rst-font-lock-level)
6488 (rst-adornment-level-alist): Remove functions and variables.
6489
6490 (rst-compare-adornments, rst-get-adornment-match)
6491 (rst-suggest-new-adornment, rst-get-adornments-around)
6492 (rst-adornment-complete-p, rst-get-next-adornment)
6493 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6494 (rst-straighten-adornments): Standardize function names to
6495 use "adornment" instead of "decoration". Correct callers.
6496 Similar standardizing in many places.
6497
6498 (rst-update-section, rst-adjust, rst-promote-region)
6499 (rst-enumerate-region, rst-bullet-list-region)
6500 (rst-repeat-last-character): Correct use of `interactive'.
6501
6502 (rst-classify-adornment, rst-find-all-adornments)
6503 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6504 (rst-find-leftmost-column, rst-repeat-last-character):
6505 Refactor functions.
6506
6507 (rst-find-title-line, rst-reset-section-caches)
6508 (rst-get-adornments-around, rst-adjust-adornment-work)
6509 (rst-arabic-to-roman, rst-roman-to-arabic)
6510 (rst-insert-list-pos, rst-insert-list-new-item)
6511 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6512 New functions.
6513
6514 (rst-all-sections, rst-section-hierarchy)
6515 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6516 New variables.
6517
6518 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6519 configuration instead of only buffer. Change where necessary.
6520
6521 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6522 (rst-shift-region, rst-adaptive-fill): New functions for
6523 indentation and filling.
6524
6525 (rst-comment-line-break, rst-comment-indent)
6526 (rst-comment-insert-comment, rst-comment-region)
6527 (rst-uncomment-region): New functions for handling comments.
6528
6529 (rst-compile): Quote shell arguments.
6530
6531 (rst-compile-pdf-preview, rst-compile-slides-preview):
6532 Delete temporary files after use.
6533
a43f98b3
GM
65342012-05-05 Glenn Morris <rgm@gnu.org>
6535
48176e8b
GM
6536 * calendar/cal-html.el: Optionally include holidays in the output.
6537 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6538 (cal-html-holidays): New option.
6539 (cal-html-css-default): Add holiday entry.
6540 (holiday-in-range): Autoload it.
6541 (cal-html-htmlify-entry): Add optional class argument.
6542 (cal-html-htmlify-list): Add optional holidays argument.
6543 (cal-html-insert-agenda-days): Include holidays in the output.
6544 (cal-html-one-month): Maybe include holidays.
6545
a43f98b3
GM
6546 * calendar/holidays.el (holiday-in-range):
6547 Move here from cal-tex-list-holidays.
6548 * calendar/cal-tex.el (cal-tex-list-holidays):
6549 Make it an obsolete alias for holiday-in-range. Update all callers.
6550
fef9d149 65512012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6552
6553 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6554 Nextstep.
6555
248da2f4
RW
65562012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6557
6558 * files.el (file-auto-mode-skip): New var.
6559 (set-auto-mode-1): Use it.
6560
f95e9344
SM
65612012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6562
df96ab1e
SM
6563 * repeat.el: Use lexical-binding.
6564 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6565 (repeat-undo-count): Remove.
6566 (repeat):
6567 * progmodes/octave-mod.el (octave-abbrev-start):
6568 * progmodes/f90.el (f90-abbrev-start):
6569 * face-remap.el (text-scale-adjust):
6570 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6571
5342bb06
SM
6572 * emacs-lisp/pcase.el (pcase--let*): New function.
6573 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6574 a bit more.
6575 (pcase--split-pred): Be more clever about ruling out overlap between
6576 a predicate and some constant pattern.
6577 (pcase--q1): Use `null' instead of (eq foo nil).
6578
f95e9344
SM
6579 * subr.el (setq-local, defvar-local): New macros.
6580 (kbd): Redefine as an alias.
6581 (with-selected-window): Leave unrelated frames alone.
6582 (set-temporary-overlay-map): New function.
6583
71873e2b
SM
65842012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * subr.el (user-error): New function.
6587 * window.el (switch-to-buffer):
6588 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6589 (smerge-match-conflict):
6590 * simple.el (previous-matching-history-element)
6591 (next-matching-history-element, goto-history-element, undo-more)
6592 (undo-start):
6593 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6594 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6595 (next-file, tags-loop-scan, list-tags, complete-tag):
6596 * progmodes/compile.el (compilation-loop):
6597 * mouse.el (mouse-minibuffer-check):
6598 * man.el (Man-bgproc-sentinel, Man-goto-page):
6599 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6600 (Info-history-forward, Info-follow-reference, Info-menu)
6601 (Info-extract-menu-item, Info-extract-menu-counting)
6602 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6603 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6604 (Info-next-reference, Info-prev-reference, Info-index)
6605 (Info-index-next, Info-follow-nearest-node)
6606 (Info-copy-current-node-name):
6607 * imenu.el (imenu--make-index-alist)
6608 (imenu-default-create-index-function, imenu-add-to-menubar):
6609 * files.el (basic-save-buffer, recover-file):
6610 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6611 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6612 (checkdoc-message-text, checkdoc-defun):
6613 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6614 * cus-edit.el (customize-changed-options, customize-rogue)
6615 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6616 (custom-variable-mark-to-reset-standard)
6617 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6618 (custom-file):
6619 * completion.el (check-completion-length):
6620 * comint.el (comint-search-arg)
6621 (comint-previous-matching-input-string-position)
6622 (comint-previous-matching-input)
6623 (comint-replace-by-expanded-history-before-point, comint-send-input)
6624 (comint-copy-old-input, comint-backward-matching-input)
6625 (comint-goto-process-mark, comint-set-process-mark):
6626 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6627 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6628
8a61ee22
SM
66292012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6630
66408d1e
SM
6631 * dabbrev.el (dabbrev--ignore-case-p): New function.
6632 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6633 Use it.
6634
8a61ee22
SM
6635 * files.el (automount-dir-prefix): Mark as obsolete.
6636
3c74813a
GM
66372012-05-04 Glenn Morris <rgm@gnu.org>
6638
6639 * patcomp.el, play/bruce.el: Move to obsolete/.
6640
0bfcf5c5
PE
66412012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6642
6643 Fix minor Y10k bugs.
6644 * arc-mode.el (archive-unixdate):
6645 * autoinsert.el (auto-insert-alist):
6646 * calc/calc-forms.el (math-this-year):
6647 * emacs-lisp/copyright.el (copyright-current-year)
6648 (copyright-update-year, copyright):
6649 * tar-mode.el (tar-clip-time-string):
6650 * time.el (display-time-update):
6651 Don't assume years have 4 digits.
6652
78f3273a
CY
66532012-05-04 Chong Yidong <cyd@gnu.org>
6654
6655 * dos-w32.el (file-name-buffer-file-type-alist)
6656 (direct-print-region-use-command-dot-com):
6657 * ffap.el (ffap-menu-regexp):
6658 * find-file.el (ff-special-constructs):
6659 * follow.el (follow-debug):
6660 * forms.el (forms--debug):
6661 * iswitchb.el (iswitchb-all-frames):
6662 * ido.el (ido-all-frames):
6663 * emacs-lisp/timer.el (timer-max-repeats):
6664 * mail/feedmail.el (feedmail-mail-send-hook)
6665 (feedmail-mail-send-hook-queued):
6666 * mail/footnote.el (footnote-signature-separator):
6667 * mail/mailabbrev.el (mail-alias-separator-string)
6668 (mail-abbrev-mode-regexp):
6669 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6670 * progmodes/idlwave.el (idlwave-libinfo-file)
6671 (idlwave-default-completion-case-is-down)
6672 (idlwave-library-routines): Convert defvars to defcustoms.
6673
6674 * mail/rmail.el (rmail-decode-mime-charset):
6675 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6676 (idlwave-shell-fix-inserted-breaks)
6677 (idlwave-shell-activate-alt-keybindings)
6678 (idlwave-shell-use-breakpoint-glyph):
6679 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6680
f7ae6719
SM
66812012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6684
47086495
WS
66852012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6686
6687 * progmodes/verilog-mode.el (font-lock-keywords):
6688 Fix mis-highligting auto. Reported by Craig Barner.
6689 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6690 defines from global name space. Reported by Dan Dever.
6691 (verilog-auto-reset, verilog-auto-reset-widths)
6692 (verilog-auto-tieoff): Support using unbased numbers for
6693 AUTORESET and AUTOTIEOFF.
6694 (verilog-submit-bug-report): Update variable list.
6695 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6696 parenthesis from not matching. Reported by Michael Rytting.
6697 (verilog-auto-template-lint): Fix hash error when linting modules
6698 with no used templates.
6699 (verilog-warn, verilog-warn-error)
6700 (verilog-warn-fatal): When non-interactive report multiple
6701 warnings before exiting. Suggested by Brad Dobbie.
6702 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6703 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6704 to report unused template errors. Reported by Brad Dobbie.
6705 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6706 nets, bug438. Reported by Vns Blore.
6707 (verilog-auto-inout-module, verilog-auto-reg)
6708 (verilog-read-decls, verilog-read-sub-decls-sig)
6709 (verilog-signals-edit-wire-reg, verilog-signals-with):
6710 Fix passing of Verilog data types in ANSI input/output ports
6711 such as "output logic" into the AUTOs. Special case "wire" and
6712 "reg" for backwards compatibility presuming Verilog 2001.
6713 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6714 (verilog-preprocess): Fix replication of preprocess output.
6715 Reported by Brad Dobbie.
6716 (verilog-auto-inst-interfaced-ports):
6717 Create verilog-auto-inst-interfaced-ports, bug429.
6718 Reported by Julian Gorfajn.
6719 (verilog-after-save-font-hook)
6720 (verilog-before-save-font-hook): New variable.
6721 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6722 (verilog-save-font-mods): Wrap disabling fontification, reported
6723 by David Rogoff.
6724 (verilog-do-indent, verilog-pretty-declarations-auto)
6725 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6726 Reported by Pierre-David Pfister.
6727 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6728 of class declarations, bug292. Reported by Kevin Heilman.
6729 (verilog-read-decls): Fix 'parameter type' not appearing in
6730 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6731 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6732 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6733 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6734 Reported by David Kravitz.
6735
67362012-05-03 Michael McNamara <mac@mail.brushroad.com>
6737
6738 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6739 assignment with tests in ifs and for loops.
6740 (verilog-extended-complete-re, verilog-complete-reg): Change so
6741 that DPI inport functions don't look like fuction declarations.
6742 (verilog-pretty-expr): Don't line up assignment
6743 operations to the test and increment in if and for loops
6744 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6745 that DPI inport functions don't look like fuction declarations.
47086495 6746
2e51d4b5
KH
67472012-05-03 Kenichi Handa <handa@m17n.org>
6748
6749 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6750 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6751 (Bug#11282).
6752
2bd785a2
SM
67532012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6754
6755 * emacs-lisp/bytecomp.el
6756 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6757 since cconv.el might have introduced :fun-body, internal-make-closure,
6758 and friends for bytecomp to handle (bug#11391).
6759 * custom.el (defcustom): Avoid ((λ ..) ..).
6760
99d27583
SM
67612012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6764
55a71479
JB
67652012-05-02 Juanma Barranquero <lekktu@gmail.com>
6766
6767 * notifications.el (dbus-debug):
6768 * term/linux.el (gpm-mouse-enable):
6769 * term/screen.el (xterm-register-default-colors): Declare.
6770
7b97c764
CY
67712012-05-02 Chong Yidong <cyd@gnu.org>
6772
2bc356d7
CY
6773 * cus-start.el (gc-cons-percentage, exec-suffixes)
6774 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6775 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6776 (make-cursor-line-fully-visible, void-text-area-pointer)
6777 (font-list-limit): Add customization data.
6778
7b97c764
CY
6779 * allout.el (allout-exposure-change-functions)
6780 (allout-structure-added-functions)
6781 (allout-structure-deleted-functions)
6782 (allout-structure-shifted-functions): Rename abnormal hooks from
6783 *-hook, and convert to defcustoms.
5d3385a0
JB
6784 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6785 Convert to defcustoms.
7b97c764
CY
6786 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6787
6788 * allout-widgets.el: Hook callers changed.
6789
90207a15 67902012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6791
6792 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6793 the yanked message in preference to the default value of
6794 buffer-file-coding-system.
6795
90207a15 67962012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6797
5d3385a0
JB
6798 * window.el (display-buffer--action-function-custom-type):
6799 Fix entry.
d9558cad 6800
90207a15 68012012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6802
6803 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6804
d80ac57b
GM
68052012-05-01 Glenn Morris <rgm@gnu.org>
6806
976f7668
GM
6807 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6808
beb83b5a
GM
6809 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6810
d80ac57b
GM
6811 * cus-edit.el (custom-variable-documentation): Simplify with format.
6812
b593d6a9 68132012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6814 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6815
6816 * simple.el (suggest-key-bindings, execute-extended-command):
6817 Move from keyboard.c.
6818
782fbf2a
CY
68192012-05-01 Chong Yidong <cyd@gnu.org>
6820
6821 * follow.el: Eliminate advice.
6822 (set-process-filter, process-filter, sit-for): Advice deleted.
6823 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6824 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6825 Vars deleted.
782fbf2a
CY
6826 (follow-auto): Use a :set function.
6827 (follow-mode): Rewritten. Don't advise process filters.
6828 (follow-switch-to-current-buffer-all, follow-scroll-up)
6829 (follow-scroll-down): Assume follow-mode is bound.
6830 (follow-comint-scroll-to-bottom)
6831 (follow-align-compilation-windows): New functions.
6832 (follow--window-sorter): New function.
6833 (follow-all-followers): Use it to explicitly sort windows by their
6834 positions; don't make assumptions about next-window order.
6835 (follow-windows-start-end, follow-delete-other-windows-and-split)
6836 (follow-calc-win-start): Doc fix.
6837 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6838 vertical-motion unnecessarily.
6839 (follow-adjust-window): New function.
6840 (follow-post-command-hook): Use it.
6841 (follow-call-set-process-filter, follow-call-process-filter)
6842 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6843 (follow-stop-intercept-process-output, follow-generic-filter):
6844 Functions deleted.
6845 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6846 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6847 New functions, replacing advice on scroll-bar-* commands.
87233a14 6848 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6849
6850 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6851 (comint-postoutput-scroll-to-bottom): Use it.
6852 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6853
290af740
GM
68542012-05-01 Glenn Morris <rgm@gnu.org>
6855
6856 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6857 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6858 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6859 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6860 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6861 Remove no-byte-compile setting.
6862
6eac8dc9
SM
68632012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6866 all-completions code to not return a number in the last cdr.
6867
9cc7819c
LL
68682012-04-30 Leo Liu <sdl.web@gmail.com>
6869
6870 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6871 read-only error.
6872
c93b886f
CY
68732012-04-29 Chong Yidong <cyd@gnu.org>
6874
6875 * follow.el (follow-calc-win-end): Rewrite to handle partial
6876 screen lines correctly (Bug#8390).
6877 (follow-avoid-tail-recenter): Minor cleanup.
6878
8b6c19f4
SM
68792012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 Avoid the obsolete `assoc' package.
6882 * speedbar.el (speedbar-refresh): Avoid adelete.
6883 (speedbar-file-lists): Simplify and avoid aput.
6884 * man.el (Man--sections, Man--refpages): New vars, replacing
6885 Man-sections-alist and Man-refpages-alist.
6886 (Man-build-section-alist, Man-build-references-alist):
6887 Use them; avoid aput.
6888 (Man--last-section, Man--last-refpage): New vars.
6889 (Man-follow-manual-reference): Use them.
6890 Use the `default' arg of completing-read.
6891 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6892
c5bb7569
CY
68932012-04-27 Chong Yidong <cyd@gnu.org>
6894
d1d2e2e8
CY
6895 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6896
15cd8efd
CY
6897 * startup.el (x-apply-session-resources): New function.
6898
6899 * term/ns-win.el (ns-initialize-window-system):
6900 * term/w32-win.el (w32-initialize-window-system):
6901 * term/x-win.el (x-initialize-window-system): Use it to properly
6902 set menu-bar-mode and other vars from X resources, even if the
6903 initial frame is not a window-system frame (Bug#2299).
6904
c5bb7569
CY
6905 * subr.el (read-key): Avoid running filter function when setting
6906 up temporary tool bar entries (Bug#9922).
6907
a8e7d6d7 69082012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6909
6910 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6911 (Bug#11344)
6912
a8e7d6d7 69132012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6914
6915 * select.el (xselect--encode-string): New function, split from
6916 xselect-convert-to-string.
6917 (xselect-convert-to-string): Use it.
6918 (xselect-convert-to-filename, xselect-convert-to-os)
6919 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6920 returned strings are properly encoded (Bug#11315).
6921
a8e7d6d7 69222012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6923
6924 * simple.el (delete-active-region): Move to killing custom group.
6925
a8e7d6d7 69262012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6927
6928 * progmodes/which-func.el (which-func-current): Quote %
6929 characters for mode-line processing.
6930
578c1d4b 69312012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6932
6933 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6934 reaching eob (Bug#11286).
6935
a8e7d6d7 69362012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6937
6938 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6939 (gdb): Make it buffer-local and init to zero.
6940 (gdb-control-commands-regexp): New variable.
6941 (gdb-send): Don't wrap in "-interpreter-exec console" if
6942 gdb-control-level is positive. Increment gdb-control-level
6943 whenever the command matches gdb-control-commands-regexp, and
6944 decrement it each time the command is "end". (Bug#11279)
6945
a8e7d6d7 69462012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6947
6948 * window.el (adjust-window-trailing-edge, enlarge-window)
6949 (shrink-window, window-resize):
6950 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6951 windows (Bug#11276).
6952
b3608390
CY
69532012-04-27 Chong Yidong <cyd@gnu.org>
6954
6955 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6956 fix "missing prefix" warning. All callers changed.
b3608390 6957
797e6e88
SM
69582012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * emacs-lisp/assoc.el: Move to obsolete/.
6961
e95a67dc
SM
69622012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6963
657c21e4 6964 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6965
6966 * term/ns-win.el (ns-define-service):
6967 * progmodes/pascal.el (pascal-goto-defun):
6968 * progmodes/js.el (js--read-tab):
6969 * progmodes/etags.el (tags-lazy-completion-table):
6970 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6971 * emacs-lisp/ewoc.el (ewoc--wrap):
6972 * emacs-lisp/assoc.el (aput, adelete, amake):
6973 * doc-view.el (doc-view-convert-current-doc):
6974 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6975
cb3e7ae0
CY
69762012-04-26 Chong Yidong <cyd@gnu.org>
6977
dce04f7f
CY
6978 * image.el (image-type-from-buffer): Only return supported image
6979 type (Bug#9045).
6980
cb3e7ae0
CY
6981 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6982 value, for symmetry with diff-end-of-hunk.
6983 (diff-split-hunk, diff-find-source-location)
6984 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6985 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6986 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6987 compute the relevant hunk or file properly (Bug#6005).
6988 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6989
0d42eb3e
SM
69902012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * vc/vc-mtn.el:
6993 * vc/vc-hg.el:
6994 * vc/vc-git.el:
6995 * vc/vc-dir.el:
6996 * vc/vc-cvs.el:
6997 * vc/vc-bzr.el:
6998 * vc/vc-arch.el:
6999 * vc/vc.el: Replace lexical-let by lexical-binding.
7000 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7001 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7002 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7003
f08ae1c9
CY
70042012-04-26 Chong Yidong <cyd@gnu.org>
7005
8b71081d
CY
7006 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7007 (diff-mode-shared-map): Bind it to / and [remap undo].
7008
f08ae1c9
CY
7009 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7010 (ediff-window-setup-function): Use it as the default, to set up
7011 windows based on whether the current frame is graphical (Bug#2138).
7012 (ediff-choose-window-setup-function-automatically): Make obsolete.
7013
7014 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7015
ef24141c
SM
70162012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7017
cc356a5d
SM
7018 * ffap.el: Remove old code for obsolete package.
7019 (ffap-complete-as-file-p): Remove.
7020
b4ff4f1f
SM
7021 Use completion-table-with-quoting for comint and pcomplete.
7022 * comint.el (comint--unquote&requote-argument)
7023 (comint--unquote-argument, comint--requote-argument): New functions.
7024 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7025 (comint-quote-filename): Use regexp-opt-charset.
7026 (comint--common-suffix, comint--common-quoted-suffix)
7027 (comint--table-subvert): Remove.
7028 (comint-unquote-function, comint-requote-function): New vars.
7029 (comint--complete-file-name-data): Use them with
7030 completion-table-with-quoting.
7031 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7032 * pcomplete.el (pcomplete-arg-quote-list)
7033 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7034 (pcomplete-unquote-argument-function): Default to non-nil.
7035 (pcomplete-unquote-argument): Simplify.
7036 (pcomplete--common-quoted-suffix): Remove.
7037 (pcomplete-requote-argument-function): New var.
7038 (pcomplete--common-suffix): New function.
7039 (pcomplete-completions-at-point): Use completion-table-with-quoting
7040 and completion-table-subvert.
7041
79c4eeb4
SM
7042 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7043 (minibuffer--double-dollars): Preserve properties.
7044 (completion--sifn-requote): New function.
7045 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7046
ef24141c
SM
7047 * minibuffer.el: Add support for completion of quoted/escaped data.
7048 (completion-table-with-quoting, completion-table-subvert): New funs.
7049 (completion--twq-try, completion--twq-all): New functions.
7050 (completion--nth-completion): New function.
7051 (completion-try-completion, completion-all-completions): Use it.
7052
784e7d6e
LL
70532012-04-25 Leo Liu <sdl.web@gmail.com>
7054
dd2ac746
SM
7055 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7056 Use compilation-message if available to find real filename.
784e7d6e 7057
07875ee7
CY
70582012-04-25 Chong Yidong <cyd@gnu.org>
7059
7060 * vc/diff-mode.el (diff-setup-whitespace): New function.
7061 (diff-mode): Use it.
7062
7063 * vc/diff.el (diff-sentinel):
7064 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7065 Whitespace mode variables based on diff style (Bug#8612).
7066
5055880d
LL
70672012-04-25 Leo Liu <sdl.web@gmail.com>
7068
daf75653
LL
7069 * progmodes/python.el (python-send-region): Add suffix .py to the
7070 temp file.
7071
5055880d
LL
7072 * files.el (auto-mode-alist): Use javascript-mode instead.
7073
db9b177b
AH
70742012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7075
ef24141c 7076 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7077
090bd7cb 7078 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7079 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7080 references, see Bug#9.
ef24141c 7081 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7082 when receiving a fault reply.
ef24141c 7083 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7084
090bd7cb 7085 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7086 (soap-inspect-simple-type): New function.
db9b177b 7087
090bd7cb 7088 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7089 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7090 (soap-decode-basic-type, soap-encode-basic-type):
7091 support unsignedInt and double basic types.
db9b177b 7092 (soap-resolve-references-for-simple-type)
ef24141c
SM
7093 (soap-parse-simple-type, soap-encode-simple-type): New function.
7094 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7095
090bd7cb 7096 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7097 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7098 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7099 the local name of "soapenc:Array".
7100 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7101 decoding integer, byte and anyURI xsd types.
7102
1fc6097b
CY
71032012-04-25 Chong Yidong <cyd@gnu.org>
7104
7105 * cus-edit.el (custom-buffer-create-internal): Update header text.
7106
afc6df87
EZ
71072012-04-25 Eli Zaretskii <eliz@gnu.org>
7108
7109 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7110 settings on 'system-type', not on 'window-system'. On MS-Windows,
7111 set interactive-mode on in GDB.
7112
dfbd787f
SM
71132012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7114
7115 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7116 (ruby-syntax-propertize-regexp): Remove.
7117 (ruby-syntax-propertize-function): Split regexp into chunks.
7118 Match following code directly.
7119
85222d44
DG
71202012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7121
51a8ea2a
DG
7122 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7123 (ruby-syntax-propertize-regexp): New function.
7124 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7125 by a special keyword.
7126
85222d44
DG
7127 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7128 (ruby-syntax-general-delimiters-goto-beg)
7129 (ruby-syntax-propertize-general-delimiters): New functions.
7130 (ruby-syntax-propertize-function): Use them to handle GDL.
7131 (ruby-font-lock-keywords): Move old handling of GDL...
7132 (ruby-font-lock-syntactic-keywords): .. to here.
7133 (ruby-calculate-indent): Adjust indentation for GDL.
7134
b613912b
MA
71352012-04-24 Michael Albinus <michael.albinus@gmx.de>
7136
b5380639
MA
7137 * notifications.el (top): Remove unneeded declarations.
7138 (notifications-specification-version): Change to "1.2".
e43042fe 7139 (notifications-interface, notifications-notify-method)
b613912b
MA
7140 (notifications-close-notification-method): Fix docstring.
7141 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7142 (notifications-notify): Add :action-items, :resident and
7143 :transient hints. Change "image_data" to "image-data" and
7144 "image_path" to "image-path".
b613912b
MA
7145 (notifications-get-capabilities): New defun.
7146
257440aa
LL
71472012-04-24 Leo Liu <sdl.web@gmail.com>
7148
7149 * progmodes/python.el: Move hideshow setup to the end.
7150
b1bac16e
MR
71512012-04-24 Martin Rudalics <rudalics@gmx.at>
7152
7153 * window.el (handle-select-window): Clear echo area since this is
7154 no more done by read_char (Bug#11304).
7155
d81bd059
SM
71562012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7159 and `/ M' to filter-derived-mode.
7160 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7161 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7162 (ibuffer-mark-by-mode): Use default rather than initial-input.
7163 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7164
c4cf6d91
IA
71652012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7166
7167 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7168 (ibuffer-filter-by-derived-mode): New filter.
7169 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7170
7511ded8
CY
71712012-04-23 Andreas Politz <politza@fh-trier.de>
7172
7173 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7174
775c916b
CY
71752012-04-23 Chong Yidong <cyd@gnu.org>
7176
7177 * cus-edit.el (customize-apropos, customize-apropos-options):
7178 Disable matching of non-option variables (Bug#11176).
7179 (customize-option, customize-option-other-window)
7180 (customize-changed-options): Doc fix.
7181 (customize-apropos-options, customize-apropos-faces)
7182 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7183
7184 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7185 Fix word list splitting (Bug#11132).
46c71e23
CY
7186 (apropos-symbol, apropos-keybinding, apropos-label)
7187 (apropos-property, apropos-function-button)
7188 (apropos-variable-button, apropos-misc-button): New faces.
7189 (apropos-symbol-face, apropos-keybinding-face)
7190 (apropos-label-face, apropos-property-face, apropos-match-face):
7191 Variables removed (Bug#8396).
7192 (apropos-library-button, apropos-format-plist, apropos-print)
7193 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7194
2df41f9c
MA
71952012-04-23 Michael Albinus <michael.albinus@gmx.de>
7196
7197 * net/xesam.el (xesam-mode-map): Use let-bound map in
7198 initialization. (Bug#11292)
7199
da00640a
AM
72002012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7201
7202 Preserve ispell session localwords when switching back to
7203 original buffer.
7204
090bd7cb
JB
7205 * textmodes/ispell.el (ispell-buffer-session-localwords):
7206 New buffer-local variable to hold buffer session localwords.
ed9265fc 7207 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7208 localwords.
7209 (ispell-command-loop, ispell-change-dictionary)
7210 (ispell-buffer-local-words): Preserve session localwords when
7211 needed.
7212
090bd7cb
JB
7213 * textmodes/flyspell.el (flyspell-process-localwords)
7214 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7215
f621ccf5
AM
72162012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7217
090bd7cb
JB
7218 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7219 using obsolete `translation-table-for-input'.
ef24141c
SM
7220 (ispell-word, ispell-process-line, ispell-complete-word):
7221 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7222
c2d1019e
CY
72232012-04-22 Chong Yidong <cyd@gnu.org>
7224
7225 * cus-edit.el (custom-variable-menu)
7226 (custom-variable-reset-saved, custom-face-menu)
7227 (custom-face-reset-saved): If there is no saved value, make the
7228 "reset-saved" operation bring back the default (Bug#9509).
7229 (custom-face-state): Properly detect themed faces.
7230
eeddc531
CY
7231 * faces.el (face-spec-set): Stop supporting deprecated form of
7232 third arg.
7233
dcbf5805
MA
72342012-04-22 Michael Albinus <michael.albinus@gmx.de>
7235
7236 Move functions from C to Lisp. Make non-blocking method calls
7237 the default. Implement further D-Bus standard interfaces.
7238
ef24141c
SM
7239 * net/dbus.el (dbus-message-internal): Declare function.
7240 Remove unneeded function declarations.
dcbf5805
MA
7241 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7242 (dbus-message-type-method-return, dbus-message-type-error)
7243 (dbus-message-type-signal): Declare variables. Remove local
7244 definitions.
7245 (dbus-interface-dbus, dbus-interface-peer)
7246 (dbus-interface-introspectable, dbus-interface-properties)
7247 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7248 Adapt docstring.
7249 (dbus-interface-objectmanager): New defconst.
7250 (dbus-call-method, dbus-call-method-asynchronously)
7251 (dbus-send-signal, dbus-method-return-internal)
7252 (dbus-method-error-internal, dbus-register-service)
7253 (dbus-register-signal, dbus-register-method): New defuns, moved
7254 from dbusbind.c
7255 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7256 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7257 New defuns.
dcbf5805
MA
7258 (dbus-call-method-non-blocking): Make it an obsolete function.
7259 (dbus-unregister-object, dbus-unregister-service)
7260 (dbus-handle-event, dbus-register-property)
7261 (dbus-property-handler): Obey the new structure of
7262 `bus-registered-objects'.
7263 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7264 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7265 Use `dbus-call-method'.
7266
cf20dee0
CY
72672012-04-22 Chong Yidong <cyd@gnu.org>
7268
7269 * cus-edit.el (custom-commands, custom-reset-menu)
7270 (Custom-reset-standard): Tweak labels.
7271 (custom-reset-button-menu): Change default to t.
7272 (custom-buffer-create-internal): For the custom-reset-button-menu
7273 case, put the revert button first.
7274 (custom-group-subtitle): New face.
7275 (custom-group-value-create): Align docstring to a specific column.
7276
7277 * wid-edit.el (widget-documentation-link-add): Don't handle
7278 indentation in this function.
7279 (widget-documentation-string-indent-to): New function.
7280 (widget-documentation-string-value-create): Use it.
7281
7282 * autorevert.el (auto-revert):
7283 * epg-config.el (epg):
7284 * ibuffer.el (ibuffer):
7285 * mpc.el (mpc):
7286 * ses.el (ses):
7287 * eshell/eshell.el (eshell):
7288 * net/ange-ftp.el (ange-ftp):
7289 * progmodes/ebnf2ps.el (postscript):
7290 * progmodes/flymake.el (flymake):
7291 * progmodes/prolog.el (prolog):
7292 * progmodes/verilog-mode.el (verilog-mode):
7293 * progmodes/which-func.el (which-func):
7294 * term/xterm.el (xterm):
7295 * textmodes/picture.el (picture):
7296 * textmodes/tildify.el (tildify):
7297 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7298 customization buffers.
7299
583e23bd
AM
73002012-04-22 Alan Mackenzie <acm@muc.de>
7301
7302 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7303 Adding a ) can hide the resulting (..) from searches. Fix it.
7304 Bound the backward search to the position of the existing (.
7305
7dd51bf1
JB
73062012-04-21 Juanma Barranquero <lekktu@gmail.com>
7307
7308 * progmodes/verilog-mode.el (verilog-mode): Check whether
7309 which-func-modes is t before adding verilog-mode.
7310 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7311
d64a438f
LL
73122012-04-21 Leo Liu <sdl.web@gmail.com>
7313
7dd51bf1 7314 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7315
081e8d65
MV
73162012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7317
7318 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7319 filling of the last column of a table (Bug#5635).
7320 (woman-find-next-control-line): New arg, specifying an additional
7321 regexp component for the control line.
7322 (woman2-roff-buffer): Use it.
7323 (woman-break-table): New function.
7324 (woman2-TS): Use it.
7325
73262012-04-21 Chong Yidong <cyd@gnu.org>
7327
7328 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7329 (woman-horizontal-escapes, woman-negative-vertical-space)
7330 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7331 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7332
ed571ccb
SM
73332012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7334
7335 * minibuffer.el (completion-file-name-table): Complete user names.
7336
39773899
LL
73372012-04-20 Leo Liu <sdl.web@gmail.com>
7338
7339 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7340 and pcase-let*.
7341
de6ff46d
CY
73422012-04-20 Chong Yidong <cyd@gnu.org>
7343
7344 * server.el (server-execute): Respect initial-buffer-choice if it
7345 is a string and there are no files to open (Bug#2825).
7346 (server-create-window-system-frame, server-create-tty-frame):
7347 Don't switch buffers here.
2d0e8e61
CY
7348 (server-process-filter): Only try to open a window system frame if
7349 compiled with graphical support (Bug#8314).
de6ff46d 7350
54071013
DN
73512012-04-20 Dan Nicolaescu <dann@gnu.org>
7352
7353 * battery.el (battery-echo-area-format): Display remaining time
7354 for sysfs backend too (Bug#11269).
7355 (battery-linux-sysfs): Fix conditional for the charge.
7356
f30d612a
CY
73572012-04-20 Chong Yidong <cyd@gnu.org>
7358
c07a4c0b 7359 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7360 (gdb-inferior-io--init-proc): New function.
7361 (gdb-init-1): Use it.
7362 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7363 responsible for allocating a new pty and hooking it to gdb when
7364 the old pty gets an EIO due to process exit.
7365 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7366 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7367 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7368
2116e93c
EZ
73692012-04-20 Eli Zaretskii <eliz@gnu.org>
7370
7371 * window.el (window-min-size, window-sizable, window-min-delta)
7372 (window-max-delta, window--resizable, window-resizable)
7373 (window-total-size, window-full-height-p, window-full-width-p)
7374 (window-in-direction, window--resize-mini-window, window-resize)
7375 (window--resize-child-windows-normal)
7376 (window--resize-child-windows, window--resize-siblings)
7377 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7378 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7379
c07a4c0b 73802012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7381
ef24141c
SM
7382 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7383 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7384 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7385 pty process (Bug#11273).
7386 (gdb-update): New arg to suppress talking to the gdb process.
7387 (gdb-done-or-error): Use it.
7388 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7389 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7390 sentinel not being called.
7391
7392 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7393
d02766ab
CY
7394 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7395
c07a4c0b 73962012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7397
7398 * net/network-stream.el (open-network-stream): Doc fix.
7399
c07a4c0b 74002012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7401
7402 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7403
c07a4c0b 74042012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7405
7406 Ensure searching for keywords is case sensitive.
7407
7408 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7409 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7410 (c-defun-name, c-mark-function, c-cpp-define-name)
7411 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7412 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7413
ef24141c
SM
7414 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7415 Bind case-fold-search to nil.
f0f6bc35 7416
c07a4c0b 74172012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7418
7419 * mail/sendmail.el (mail-bury): Call return action with the right
7420 Rmail buffer (Bug#11242).
7421
9a864fa2
CY
7422 * server.el (server-process-filter): Handle corner case where both
7423 tty and nowait options are present (Bug#11102).
7424
539aa513
EZ
74252012-04-20 Eli Zaretskii <eliz@gnu.org>
7426
7427 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7428 (top level): Put into the executable the ident-style '$Id:' tag on
7429 windows-nt as well.
539aa513 7430
cfc7d5da
SM
74312012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7432
7433 * electric.el (electric-indent-post-self-insert-function): Check that
7434 electric-indent-mode is enabled in current buffer.
7435
5b01685c
JB
74362012-04-19 Juanma Barranquero <lekktu@gmail.com>
7437
7438 * imenu.el (imenu-progress-message): Restore; it is "used" in
7439 erc/erc-imenu.el and net/snmp-mode.el.
7440
4d6769e1
JB
74412012-04-19 Juanma Barranquero <lekktu@gmail.com>
7442
7443 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7444 (mouse-avoidance-nudge-mouse): Remove unused binding.
7445
7446 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7447
7448 * descr-text.el (describe-char):
7449 * progmodes/python.el (python-describe-symbol):
7450 Don't call `toggle-read-only', set `buffer-read-only'.
7451
7452 * imenu.el (imenu-default-goto-function): Mark unused args.
7453 (imenu-progress-message): Remove obsolete macro; all callers changed.
7454
7455 * subr.el (keymap-canonicalize): Remove unused binding.
7456 (read-passwd): Mark unused arg.
7457
7458 * tutorial.el (tutorial--display-changes): Remove unused binding.
7459 (tutorial--save-tutorial-to): Remove unused variable.
7460
7461 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7462 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7463 (package-generate-autoloads, package-menu--generate)
7464 (package-menu--find-upgrades): Remove unused bindings.
7465
7466 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7467 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7468 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7469 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7470 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7471 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7472 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7473 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7474 (cua-delete-char-rectangle): Mark unused args.
7475 (cua-align-rectangle): Remove unused binding.
7476
7477 * mail/rmail.el (compilation--message->loc)
7478 (epa--find-coding-system-for-mime-charset): Declare.
7479
7480 * net/dbus.el (dbus-register-service): Declare.
7481 (dbus-name-owner-changed-handler): Remove unused binding.
7482
7483 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7484 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7485 (nxml-scan-backward-within): Mark unused arg.
7486 (nxml-dynamic-markup-word): Remove unused binding.
7487
7488 * mouse.el (mouse-menu-major-mode-map):
7489 * emacs-lisp/authors.el (authors-scan-change-log)
7490 (authors-add-to-author-list):
7491 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7492 * emacs-lisp/smie.el (smie-auto-fill):
7493 * mail/sendmail.el (mail-bury):
7494 * mail/unrmail.el (unrmail):
7495 * net/tls.el (open-tls-stream):
7496 * textmodes/picture.el (picture-mouse-set-point):
7497 Remove unused bindings.
7498
8c8fc5df
MA
74992012-04-19 Michael Albinus <michael.albinus@gmx.de>
7500
7501 * net/tramp.el (tramp-action-password): Let-bind
7502 `enable-recursive-minibuffers' to t.
7503
a77b0ac9
SS
75042012-04-18 Sam Steingold <sds@gnu.org>
7505
7506 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7507 instead of 'string to accommodate values like [f11].
7508 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7509 * progmodes/gdb-mi.el: Likewise.
7510
12a106a9
LL
75112012-04-18 Leo Liu <sdl.web@gmail.com>
7512
7513 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7514 current buffer.
7515 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7516 LOCAL is nil.
7517
bc6494ef
CY
75182012-04-18 Chong Yidong <cyd@gnu.org>
7519
7520 * simple.el (line-move): Use forward-line if in batch mode
7521 (Bug#11053).
7522
c09c46b2
CS
75232012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7524
7525 * files.el (after-find-file): Do not try to add a final newline if
7526 the buffer is read-only (Bug#11156).
7527
5f6530ea
RS
75282012-04-17 Richard Stallman <rms@gnu.org>
7529
7530 * mail/rmail.el (rmail-start-mail):
7531 Pass (rmail-mail-return...) for the return-action.
7532 Pass (rmail-yank-current-message...) for the yank-action.
7533 (rmail-yank-current-message): New function.
7534 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7535 (rmail-reply): Likewise.
7536 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7537
7538 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7539 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7540 buffer, not newbuf.
7541
197b6f3c
JB
75422012-04-17 Juanma Barranquero <lekktu@gmail.com>
7543
7544 * server.el (server-ensure-safe-dir): Simplify.
7545
2311d8e5 75462012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7547
2311d8e5
GM
7548 * emacs-lisp/smie.el: Provide smarter auto-filling.
7549 (smie-auto-fill): New function.
7550 (smie-setup): Use it.
98fb480e 7551
2311d8e5
GM
7552 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7553
75542012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7555
7556 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7557 (comment-indent): Use it.
7558
2311d8e5 75592012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7560
7561 * ses.el: The overall change is to add cell renaming, that is
7562 setting fancy names for cell symbols other than name matching
7563 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7564 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7565 (ses-create-cell-variable): New defun.
2311d8e5 7566 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7567 (ses-relocate-formula): Relocate formulas only for cells the
7568 symbols of which are not renamed, i.e. symbols whose names do not
7569 match regexp "\\`[A-Z]+[0-9]+\\'".
7570 (ses-relocate-all): Relocate values only for cells the symbols of
7571 which are not renamed.
7572 (ses-load): Create cells variables as the (ses-cell ...) are read,
7573 in order to check row col consistency with cell symbol name only
7574 for cells that are not renamed.
7575 (ses-replace-name-in-formula): New defun.
7576 (ses-rename-cell): New defun.
4bdf2ad2 7577
fc72b15c
PO
75782012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7579
7580 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7581 New option (bug#11118).
7582 (perl-calculate-indent): Respect it.
7583
12e10e61
GM
75842012-04-17 Glenn Morris <rgm@gnu.org>
7585
7586 * dired-aux.el (dired-mark-read-string): Doc fix.
7587
30009afd
DA
75882012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7589
7590 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7591 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7592
41f03f4d
GM
75932012-04-17 Glenn Morris <rgm@gnu.org>
7594
7595 * mouse.el (mouse-drag-track):
7596 * speedbar.el (speedbar-frame-mode):
7597 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7598
f45f90f3
LL
75992012-04-16 Leo Liu <sdl.web@gmail.com>
7600
7601 * progmodes/python.el: Trivial cleanup.
7602
94ee8db5
GM
76032012-04-16 Glenn Morris <rgm@gnu.org>
7604
121b8917
GM
7605 * vc/vc.el (vc-string-prefix-p):
7606 * vc/pcvs-util.el (cvs-string-prefix-p):
7607 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7608 * mpc.el (mpc-string-prefix-p):
7609 Make all of these into obsolete aliases for string-prefix-p.
7610 Update callers.
7611 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7612
1197ecfa
GM
7613 * textmodes/two-column.el: Move custom options to the start.
7614 (frame-width): Remove compat definition.
7615 (2C-associate-buffer, 2C-dissociate):
7616 Use with-current-buffer rather than save-excursion.
7617 (2C-dissociate): Force a mode-line update.
7618 (2C-autoscroll): Use ignore-errors.
7619
099e7202
GM
7620 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7621 Autoload trivia.
7622
bf350d6a
GM
7623 * emacs-lisp/cl-extra.el (*random-state*):
7624 Remove unnecessary declaration.
7625
0e829eab
GM
7626 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7627
e3ad7552
GM
7628 * play/cookie1.el (cookie-snarf):
7629 Give an explicit error if input file cannot be read.
7630
68892d27
GM
7631 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7632
20f0c46d
GM
7633 * progmodes/perl-mode.el (c-macro-expand):
7634 Remove unnecessary autoload (it is in loaddefs.el).
7635
5a0978ce
GM
7636 * textmodes/picture.el (picture-desired-column)
7637 (picture-update-desired-column): Convert comments to doc-strings.
7638 (picture-substitute): Remove function.
7639 (picture-mode-map): Initialize in the defvar.
7640
6b955486
GM
7641 * woman.el: Remove eval-after-load for tar-mode.
7642 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7643 (woman-tar-extract-file): Autoload it.
7644
94ee8db5
GM
7645 * frame.el (automatic-hscrolling): Make this alias obsolete.
7646
177eca34
AM
76472012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7648
090bd7cb 7649 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7650 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7651 (ispell-dictionary-base-alist): Revert to original XEmacs
7652 friendly version for default. [:alpha:] will be added in
090bd7cb 7653 `ispell-set-spellchecker-params' if needed.
177eca34 7654
c505aaeb
CY
76552012-04-16 Chong Yidong <cyd@gnu.org>
7656
b19dd9d1 7657 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7658 (imagemagick-register-types): Use it.
7659 (imagemagick-types-inhibit): Add :set function. Allow new value
7660 of t to inhibit all types.
7661
7662 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7663 so we can preload it.
7664
7665 * loadup.el (fboundp): Preload regexp-opt, needed by
7666 imagemagick-register-types.
7667
60efac0f
CY
76682012-04-15 Chong Yidong <cyd@gnu.org>
7669
7670 * frame.el (scrolling): Remove nearly unused customization group.
7671
7672 * scroll-all.el (scroll-all-mode): Move to windows group.
7673
5dd1713e
CY
76742012-04-15 Chong Yidong <cyd@gnu.org>
7675
7676 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7677
e6fd457e
CY
76782012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7681 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7682
e153c136
GM
76832012-04-15 Glenn Morris <rgm@gnu.org>
7684
7685 * simple.el (process-file-side-effects): Doc fix.
7686
e6fd457e 76872012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7688
7689 * international/mule-cmds.el (set-language-environment): Doc fix.
7690
3603c3b1
JB
76912012-04-14 Juanma Barranquero <lekktu@gmail.com>
7692
7693 * server.el (server-auth-key, server-generate-key): Doc fixes.
7694 (server-get-auth-key): Doc fix. Use `string-match-p'.
7695 (server-start): Reflow docstring.
7696
e6de100c
LI
76972012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7698
7699 * server.el (server-generate-key): `called-interactively-p'
7700 requires a parameter.
7701
29734c21
MN
77022012-04-14 Michal Nazarewicz <mina86@mina86.com>
7703
7704 * server.el (server-auth-key): New variable.
75f1671a 7705 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7706 (server-start): Use the new variable and functions to allow
7707 setting a permanent server key (bug#9423).
7708
d65c9521
LL
77092012-04-14 Leo Liu <sdl.web@gmail.com>
7710
7711 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7712
5ae255c7
PE
77132012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7714
7715 Spelling fixes.
7716 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7717 Emacs uses American spelling.
7718
d5e6342e
JB
77192012-04-14 Juanma Barranquero <lekktu@gmail.com>
7720
7721 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7722 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7723 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7724 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7725
ab036cd7
SM
77262012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7727
7728 * progmodes/which-func.el (which-func-modes): Change default.
7729
35dc09a1 77302012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7731
7732 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7733 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7734
35dc09a1 77352012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7736
7737 * custom.el (custom-theme-set-variables): Doc fix.
7738
35dc09a1 77392012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7740
7741 * international/mule.el (set-auto-coding-for-load): Doc fix.
7742
35dc09a1 77432012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7744
35dc09a1
GM
7745 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7746 imenu work again for Objective C Mode. Correct the *-index values,
7747 these having been disturbed by a previous change in 2011-08.
57f845ee 7748
0de3da9f
AM
7749 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7750 Correct two search limits.
7751
35dc09a1 77522012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7753
7754 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7755
35dc09a1 77562012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7757
7758 * international/characters.el: Fix sorting.
7759
35dc09a1 77602012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7761
7762 * international/characters.el: Add more missing Latin case pairs.
7763
35dc09a1 77642012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7765
7766 * files.el (dir-locals-set-class-variables): Doc fix.
7767
35dc09a1 77682012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7769
3f1b5bf8
EZ
7770 * international/characters.el: Add set-case-syntax-pair call for
7771 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7772 counterpart. (Bug#11209)
7773
9f847f41
EZ
7774 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7775
35dc09a1 77762012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7777
7778 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7779
35dc09a1 77802012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7781
35dc09a1
GM
7782 * textmodes/ispell.el (ispell-dictionary-base-alist):
7783 Add data for Hebrew.
e2627d21 7784
35dc09a1 77852012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7786
35dc09a1
GM
7787 * net/rcirc.el (rcirc-cmd-quit):
7788 Revert 2012-03-18 change (Bug#11192).
5c14e333 7789
35dc09a1 77902012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7791
7792 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7793
35dc09a1 77942012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7795
4517fe3a
SM
7796 * minibuffer.el (completion-in-region-mode-map):
7797 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7798
b472a594
VD
77992012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7800
7801 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7802
09b95ce3
MY
78032012-04-13 Masatake YAMATO <yamato@redhat.com>
7804
7805 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7806 to allow `C-M-f' and `C-M-b' to move to the nearest path
7807 separator (bug#9511).
7808
4b63a9ca
LI
78092012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7810
7811 * avoid.el: Require cl when compiling. And also move the
7812 `provide' to the end.
7813
7b55b8bf
TV
78142012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7815
7816 * avoid.el (mouse-avoidance-banish-position): New variable.
7817 (mouse-avoidance-banish-destination): Use it (bug#10165).
7818
adedaa1f
LL
78192012-04-13 Leo Liu <sdl.web@gmail.com>
7820
7821 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7822
70e74021
KB
78232012-04-13 Ken Brown <kbrown@cornell.edu>
7824
7825 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7826 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7827 (browse-url-filename-alist): For the same reason, don't modify
7828 file:// URLs on Cygwin.
7829
e75e89ba
SM
78302012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7831
7832 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7833 the region on shift if the binding is already shifted (bug#11221).
7834
82f289a4
GM
78352012-04-12 Glenn Morris <rgm@gnu.org>
7836
7837 * mail/mailpost.el: Move to obsolete/.
7838
d333dc4c
DA
78392012-04-12 Drew Adams <drew.adams@oracle.com>
7840
7841 * imenu.el (imenu--generic-function): Ignore invisible definitions
7842 (bug#10123).
7843
0d15b5ba
VD
78442012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7845
7846 * hexl.el (hexl-bits): New variable.
7847 (hexl-options): Mention the variable in the doc string.
75f1671a 7848 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7849 (hexl-mode): Mention the new variable.
75f1671a
JB
7850 (hexl-mode, hexl-current-address, hexl-current-address):
7851 Use the displen.
0d15b5ba
VD
7852 (hexl-ascii-start-column): New function.
7853 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7854 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7855
64a440db
AM
78562012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7857
7858 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7859 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7860 the encoding, as expected by hunspell.
7861
6decb6c2
SM
78622012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7863
7864 * battery.el (battery--linux-sysfs-regexp): New const.
7865 (battery-status-function): Use it. Remove yeeloong special case.
7866 (battery-yeeloong-sysfs): Remove.
7867 (battery-echo-area-format): Remove yeeloong special case.
7868
088be6fb
SM
78692012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7870
6622e416
SM
7871 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7872 Reported by Noah Friedman.
7873
088be6fb
SM
7874 * subr.el (read-passwd): Use read-string.
7875
b49f886e
LMI
78762012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7877
7878 * vcursor.el (vcursor-move): Increase the priority of the overlay
7879 (bug#9663).
7880
a63067fc
DD
78812012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7882
7883 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7884 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7885
ac3cf14a
WS
78862012-04-11 William Stevenson <yhvh2000@gmail.com>
7887
7888 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7889 define-minor-mode (bug#10760).
7890
c4fc691b 78912012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7892
4d6769e1 7893 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7894 that directories matching `grep-find-ignored-files' won't be
7895 pruned (bug#10351).
7896
af23e2e5
CY
78972012-04-11 Chong Yidong <cyd@gnu.org>
7898
7899 * startup.el (command-line): Remove support for long-obsolete
7900 variable font-lock-face-attributes.
7901
ab7ce8c1
GM
79022012-04-11 Glenn Morris <rgm@gnu.org>
7903
7904 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7905
de8c03dc
SM
79062012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7907
7908 * window.el (window--state-get-1): Obey window-point-insertion-type.
7909
050cc68b
LB
79102012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7911
7912 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7913 to previous function when point is on the first character of a
75f1671a 7914 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7915
a38c310c
GM
79162012-04-11 Glenn Morris <rgm@gnu.org>
7917
effed0c2
GM
7918 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7919 not just file-errors.
7920
a38c310c
GM
7921 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7922 (vc-bzr-sha1): Use internal sha1.
7923
0221e323
SM
79242012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7927
43956923
SG
79282012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7929
7930 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7931 that start in the middle of the line (bug#10496).
7932
6a8c9eaf
DN
79332012-04-10 Dan Nicolaescu <dann@gnu.org>
7934
7935 * battery.el (battery-linux-proc-acpi): Only one battery is
7936 discharged at a time, but that seems to confuse battery.el when
7937 computing `rate-type' for the battery not being discharged
7938 (bug#10332).
7939
1930bf5d
SM
79402012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7941
2a718f6f
SM
7942 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7943
599430d0
SM
7944 * international/quail.el: Use dolist and simplify.
7945 (quail-define-package, quail-update-keyboard-layout)
7946 (quail-define-rules): Use dolist.
7947 (quail-insert-kbd-layout, quail-get-translation): CSE.
7948
a2754b6c
SM
7949 * tmm.el: Use dolist, remove left over hook.
7950 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7951 Use dolist.
7952 (calendar-load-hook): Don't mess with it.
7953
1930bf5d
SM
7954 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7955 Use derived-mode-p. Run the diff asynchronously.
7956
9f67961c
LMI
79572012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7958
7959 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7960
2a8ce227
JB
79612012-04-10 Juanma Barranquero <lekktu@gmail.com>
7962
7963 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7964 (list-dynamic-libraries--loaded): New function.
7965 (list-dynamic-libraries--refresh): Use it.
7966
8f33b5f8
NW
79672012-04-10 Nathan Weizenbaum <nweiz@google.com>
7968
1930bf5d
SM
7969 * progmodes/python.el (python-fill-paragraph):
7970 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7971 disabled (bug#7018).
7972
b12f0439
L
79732012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7974
1930bf5d 7975 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7976 DOS/MS Windows for the Baltic languages. There are still plenty
7977 of texts written in this encoding/codepage (bug#6519).
b12f0439 7978
57c3bd01
GM
79792012-04-10 Glenn Morris <rgm@gnu.org>
7980
7981 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7982 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7983
6c3eab30
FA
79842012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7985
1930bf5d 7986 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7987 next-line "n" and previous-line "p" in order to make recentf more
7988 consistent with ibuffer, dired or org-mode (bug#9387).
7989
24d78a88
LMI
79902012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7991
bc72b5d9
LMI
7992 * image.el (put-image): Return the overlay created instead of the
7993 optional input string (bug#7834). Note that this may break code
7994 that is (for some reason or other) depending on `put-image'
7995 returning the string.
7996
bd2dba5a
LMI
7997 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7998
74beb59f
LMI
7999 * simple.el (zap-to-char): Allow zapping using input methods
8000 (bug#1580).
8001
24d78a88
LMI
8002 * textmodes/fill.el (fill-region): Leave point and mark where they
8003 were before filling (bug#5399).
8004
263f20cd
GM
80052012-04-09 Glenn Morris <rgm@gnu.org>
8006
8007 * version.el (emacs-bzr-get-version):
8008 Handle lightweight checkouts of local branches.
8009
58d1f797
AS
80102012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8011
263f20cd 8012 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8013
b4d3bc10
CY
80142012-04-09 Chong Yidong <cyd@gnu.org>
8015
8016 * custom.el (custom-variable-p): Return nil for non-symbol
8017 arguments instead of signaling an error.
8018 (user-variable-p): Obsolete alias for custom-variable-p.
8019
8020 * apropos.el (apropos-variable):
8021 * files-x.el (read-file-local-variable):
8022 * simple.el (set-variable):
8023 * woman.el (woman-mini-help):
8024 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8025
fd06db5d
GM
80262012-04-09 Glenn Morris <rgm@gnu.org>
8027
e5fcdb5e
GM
8028 * startup.el (normal-top-level): Don't look for leim-list.el
8029 in places where it will not be found. (Bug#910)
8030
fd06db5d
GM
8031 * international/mule-cmds.el (set-default-coding-systems):
8032 * files.el (normal-mode):
8033 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8034 This function was removed with ucs-tables.el in 2008.
8035
b39bb7e1
EZ
80362012-04-08 Eli Zaretskii <eliz@gnu.org>
8037
8038 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8039 ispell-encoding8-command to "-i", without a trailing space.
8040 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8041 separate command-line arguments, to specify the encoding, since
8042 that's how hunspell expects it.
8043
5c5b8e23
GM
80442012-04-08 Glenn Morris <rgm@gnu.org>
8045
8046 * loadup.el: Load bindings before cus-start.
8047 This reduces somewhat the number of "rogue" settings in emacs -Q.
8048
a1ed8b05
GM
80492012-04-07 Glenn Morris <rgm@gnu.org>
8050
8051 * version.el (emacs-bzr-get-version): New function.
dfae128a 8052 (emacs-bzr-version): New variable.
a1ed8b05
GM
8053 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8054 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8055
b142f158
EZ
80562012-04-07 Eli Zaretskii <eliz@gnu.org>
8057
dfae128a
GM
8058 * international/uni-bidi.el, international/uni-category.el:
8059 * international/uni-combining.el, international/uni-decimal.el:
8060 * international/uni-decomposition.el, international/uni-digit.el:
8061 * international/uni-lowercase.el, international/uni-mirrored.el:
8062 * international/uni-name.el, international/uni-numeric.el:
8063 * international/uni-titlecase.el, international/uni-uppercase.el:
8064 Update for Unicode 6.1.
b142f158 8065
9078ead6
EZ
80662012-04-07 Eli Zaretskii <eliz@gnu.org>
8067
8068 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8069
f23d2c7d
LMI
80702012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8071
8072 * window.el (shrink-window): Mention the `window-min-height'
8073 variable in the doc string.
8074
0a0a3573
BG
80752012-04-05 Bastien Guerry <bzg@altern.org>
8076
8077 * color.el (color-lighten-name): Fix typo.
8078
e5248ac9
SM
80792012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8080
8081 * server.el (server--on-display-p): New function.
8082 (server--on-display-p): Use it.
8083
b4243e22
GV
80842012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8085
8086 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8087 (bug#11145).
8088
305d9f44
SM
80892012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * comint.el (comint--common-quoted-suffix): Check string boundary
8092 before comparing (bug#11158).
8093 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8094
3d439cd1
CY
80952012-04-04 Chong Yidong <cyd@gnu.org>
8096
321cc491
CY
8097 * minibuffer.el (completion-extra-properties): Doc fix.
8098
3d439cd1
CY
8099 * subr.el (delayed-warnings-hook): Doc fix.
8100
2d562c0f
DU
81012012-04-04 Daiki Ueno <ueno@unixuser.org>
8102
8103 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8104 selection (Bug#11159).
8105 (epa-insert-keys): Inform that the default public key will be
8106 exported if no key is selected.
8107
4443f204
RS
81082012-04-04 Richard Stallman <rms@gnu.org>
8109
8110 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8111
529c06b6
CY
81122012-04-03 Chong Yidong <cyd@gnu.org>
8113
8114 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8115 mail-insert-file, not its obsolete alias mail-attach-file.
8116
66b907dc
MA
81172012-04-03 Michael Albinus <michael.albinus@gmx.de>
8118
8119 * notifications.el (notifications-notify): Fix docstring.
8120
c0ea195d
GM
81212012-04-02 Glenn Morris <rgm@gnu.org>
8122
8123 * emacs-lisp/authors.el (authors-aliases): Another addition.
8124
5ca64e00
MA
81252012-04-02 Michael Albinus <michael.albinus@gmx.de>
8126
8127 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8128 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8129 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8130
42ee526b
CY
81312012-04-01 Chong Yidong <cyd@gnu.org>
8132
8133 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8134 Handle root directory properly.
8135 (copy-directory): Caller changed.
8136
8137 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8138 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8139
0b021094
GM
81402012-03-31 Glenn Morris <rgm@gnu.org>
8141
40f86458
GM
8142 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8143
7019c177
GM
8144 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8145
a1daddd6
GM
8146 * calendar/calendar.el (calendar-window-list)
8147 (calendar-hide-window): Restore. (Bug#11140)
8148 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8149
0b021094
GM
8150 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8151
40311efc
TV
81522012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8153
8154 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8155 Check if file is a symlink (Bug#10489).
8156
8157 * files.el (copy-directory): Likewise.
8158
5319014e
CY
81592012-03-30 Chong Yidong <cyd@gnu.org>
8160
8161 * image.el (imagemagick-types-inhibit)
8162 (imagemagick-register-types): Doc fix.
8163
935d1290
AM
81642012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8165
090bd7cb 8166 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8167 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8168 and treats ~word as ordinary words in pipe mode.
935d1290 8169
61c6e8fd
GM
81702012-03-30 Glenn Morris <rgm@gnu.org>
8171
8172 * tutorial.el (help-with-tutorial): Ensure local variables don't
8173 happen to make the buffer read-only. (Bug#11127)
8174
81fdff00
SM
81752012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8178 (perl-calculate-indent): Return `noindent' in strings.
8179
6e7a6ec0
SS
81802012-03-28 Sam Steingold <sds@gnu.org>
8181
8182 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8183 instead of the broken adhockery which does not prevent calendar
8184 buffers from being displayed at random after exit.
8185 (calendar-window-list, calendar-hide-window): Remove the broken
8186 adhockery.
8187
fee88ca0
GM
81882012-03-28 Glenn Morris <rgm@gnu.org>
8189
8190 * replace.el (query-replace-map): Doc fix.
8191
38de3354
AS
81922012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8193
8194 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8195 contents. (Bug#11109)
8196
b973155e
SM
81972012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8200 (bug#11077).
8201 (avl-tree--check, avl-tree--check-node): New funs.
8202
dcb6e7b3
MR
82032012-03-27 Martin Rudalics <rudalics@gmx.at>
8204
8205 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8206 (switch-to-prev-buffer, switch-to-next-buffer):
8207 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8208 showing a buffer already is done on the same frame.
8209
b4fa35fa
GM
82102012-03-27 Glenn Morris <rgm@gnu.org>
8211
8212 * startup.el (mail-host-address): Doc fix.
8213
f9210e18
SM
82142012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8217 than 197 variables.
8218
c0bf7753
AF
82192012-03-26 Ami Fischman <ami@fischman.org>
8220
8221 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8222
33da7b16
GM
82232012-03-26 Glenn Morris <rgm@gnu.org>
8224
02243d9d
GM
8225 * files.el (save-buffers-kill-emacs): Doc fix.
8226
33da7b16
GM
8227 * startup.el (normal-top-level, command-line, command-line-1):
8228 Give them doc strings.
8229
e5a69fd0
EZ
82302012-03-25 Eli Zaretskii <eliz@gnu.org>
8231
8232 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8233 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8234
9a69676a
CY
82352012-03-25 Chong Yidong <cyd@gnu.org>
8236
4125cb8b
CY
8237 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8238 theme if it was previously enabled before (Bug#11031).
8239
dd470960
CY
8240 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8241 spec with custom-face-get-current-spec if its :shown-value is not
8242 determined yet (Bug#9337).
4125cb8b 8243 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8244
9a69676a
CY
8245 * button.el (button-at): Minor addition to docstring.
8246
6e7e90fa
SL
82472012-03-24 Simon Leinen <simon.leinen@gmail.com>
8248
8249 * vc/vc.el (vc-merge): Fix a prompt.
8250
f06e2758
CY
82512012-03-24 Chong Yidong <cyd@gnu.org>
8252
8253 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8254 point (Bug#9623).
8255
6e7e90fa
SL
8256 * button.el (button-at): Minor addition to docstring.
8257
b9d0879b
SM
82582012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8259
8260 * newcomment.el (comment-choose-indent): No space after BOL.
8261
e71cebb3
SS
82622012-03-22 Sam Steingold <sds@gnu.org>
8263
8264 * window.el (switch-to-prev-buffer): Revert last patch because the
8265 bug turned out to be an advertised feature (Elisp manual 28.14).
8266
335aff35
GM
82672012-03-22 Glenn Morris <rgm@gnu.org>
8268
8269 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8270 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8271
c676576a
LMI
82722012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8273
8274 * net/network-stream.el (network-stream-open-starttls): Make error
8275 message under Windows be less misleading.
8276
126f3d39
LW
82772012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8278
8279 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8280 understands (bug#9942).
8281
64fee311
CY
82822012-03-22 Chong Yidong <cyd@gnu.org>
8283
8284 * simple.el (end-of-visible-line): Handle return value of
8285 next-single-property-change properly (Bug#9371).
8286
a640d29a
KH
82872012-03-22 Kenichi Handa <handa@m17n.org>
8288
8289 * international/quail.el (quail-insert-kbd-layout): Fix previous
8290 change. To avoid unwanted bidi reordering, use
8291 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8292
39675016
DG
82932012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8294
8295 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8296 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8297 (ruby-beginning-of-indent): Be more careful with the difference
8298 between word-boundary and symbol boundary.
8299 (ruby-mode-syntax-table): Make : a symbol constituent.
8300
0a6934fc 83012012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8302
3d008e4f
SM
8303 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8304
0a6934fc
SM
83052012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8306
af67c9d7
SM
8307 * progmodes/etags.el (tags-completion-at-point-function):
8308 Improve last fix.
8309
1acad97c
SM
8310 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8311
e298b5da
SS
83122012-03-21 Sam Steingold <sds@gnu.org>
8313
8314 * progmodes/etags.el (tags-completion-at-point-function):
8315 Avoid the error when point is inside the pattern.
8316
91d82a70
JY
83172012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8318
8319 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8320 line (Bug#10855).
8321
69188b79
CY
83222012-03-21 Drew Adams <drew.adams@oracle.com>
8323
8324 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8325
99fc91fe
AK
83262012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8327
8328 * ido.el (ido-set-current-directory, ido-read-internal)
8329 (ido-choose-completion-string, ido-completion-help): Handle nil
8330 value of ido-completion-buffer (Bug#11008).
8331
087bbb4c
SS
83322012-03-21 Sam Steingold <sds@gnu.org>
8333
8334 * window.el (switch-to-prev-buffer): Do not switch to a visible
8335 window previous buffer, just like with the frame previous buffers.
8336
fb5b8aca
CY
83372012-03-21 Chong Yidong <cyd@gnu.org>
8338
8339 * faces.el (make-face, make-empty-face, copy-face):
8340 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8341 Doc fixes.
8342
dc9924b8
SM
83432012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8344
8345 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8346 (widget-complete): Remove broken use of it.
8347
f0bcceb9
CY
83482012-03-20 Chong Yidong <cyd@gnu.org>
8349
dc9924b8
SM
8350 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8351 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8352 characters.
8353
ee52ebf3
TH
83542012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8355
8356 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8357 to draw rectangles, not squares. (Regression introduced by revno
8358 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8359
4c5779ab
CY
83602012-03-18 Chong Yidong <cyd@gnu.org>
8361
8362 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8363 it is not yet defined (for temacs).
8364
15360934
LL
83652012-03-18 Leo Liu <sdl.web@gmail.com>
8366
dc9924b8 8367 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 8368
d9a8eb66
EZ
83692012-03-17 Eli Zaretskii <eliz@gnu.org>
8370
8371 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8372 (ispell-choices-win-default-height, ispell-silently-savep)
8373 (ispell-dictionary-alist, ispell-encoding8-command)
8374 (ispell-check-version, ispell-aspell-find-dictionary)
8375 (ispell-valid-dictionary-list, ispell-words-keyword)
8376 (ispell-get-word, ispell-internal-change-dictionary)
8377 (ispell-region, ispell-skip-region-list)
8378 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8379 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8380 (ispell-message-text-end, ispell-message)
8381 (ispell-buffer-local-parsing): Doc fix.
8382
f02ff80d
J
83832012-03-13 Jambunathan K <kjambunathan@gmail.com>
8384
8385 * htmlfontify.el: Add support for code block fontification for ODT
8386 export (Bug #9914).
8387 (hfy-optimisations): Define new option
8388 `body-text-only'
8389 (hfy-fontify-buffer): Honor above setting.
8390 (hfy-begin-span, hfy-end-span): New routines factored out form
8391 `hfy-fontify-buffer'.
8392 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8393 that permit insertion of custom tags.
8394 (hfy-fontify-buffer): Use above handlers.
8395 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8396 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8397 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8398 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8399 bind a special variable `hfy-user-sheet-assoc'.
8400 (htmlfontify-string): New defun.
8401 (hfy-compile-face-map): Make sure that the last char in the
8402 buffer is correctly fontified.
8403 (hfy-face-resolve-face): Whitespace only change.
8404
9ac7a13f
EZ
84052012-03-17 Eli Zaretskii <eliz@gnu.org>
8406
8407 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8408 message more clear.
8409
e2b5bdd7
LL
84102012-03-16 Leo Liu <sdl.web@gmail.com>
8411
8412 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8413
2e492df3
AM
84142012-03-16 Alan Mackenzie <acm@muc.de>
8415
8416 Further optimise the handling of large macros.
8417
8418 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8419 limit to a call of `c-literal-limits'.
8420 (c-determine-+ve-limit): New function.
dc9924b8
SM
8421 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8422 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8423 In CASE 5B, restrict a search limit to 500.
8424 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8425
8426 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8427 Restrict macro bounds to +-500 from after-change's BEG END.
8428
50e94f0c
LL
84292012-03-16 Leo Liu <sdl.web@gmail.com>
8430
8431 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8432
6f09f6ed
AH
84332012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8434
8435 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8436 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8437
c7e73d51
GM
84382012-03-16 Glenn Morris <rgm@gnu.org>
8439
da986230
GM
8440 * view.el (view-buffer, view-buffer-other-window)
8441 (view-buffer-other-frame): Doc fixes re special mode-class.
8442
0835f01e
GM
8443 * subr.el (eval-after-load): If named feature is provided not from
8444 a file, run after-load forms. (Bug#10946)
8445
c7e73d51
GM
8446 * calendar/calendar.el (calendar-insert-at-column):
8447 Handle non-unit-width characters a bit better. (Bug#10978)
8448
3f2eafd1
CY
84492012-03-15 Chong Yidong <cyd@gnu.org>
8450
8451 * emacs-lisp/ring.el (ring-extend): New function.
8452 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8453
8454 * comint.el (comint-read-input-ring)
8455 (comint-add-to-input-history): Grow comint-input-ring lazily.
8456
103af3fe
SM
84572012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8458
663b1677
SM
8459 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8460 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8461
103af3fe
SM
8462 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8463 (imenu-add-to-menubar): Don't add a redundant index.
8464 (imenu-update-menubar): Handle a dynamically composed keymap.
8465
899cb7cb
KY
84662012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8467
8468 * mail/sendmail.el (mail-encode-header):
8469 Bind rfc2047-encode-encoded-words to nil.
8470
3809f91d
GM
84712012-03-13 Glenn Morris <rgm@gnu.org>
8472
8473 * calendar/calendar.el (calendar-string-spread):
8474 Handle non-unit-width characters a bit better. (Bug#10978)
8475
9e345a01
LL
84762012-03-13 Leo Liu <sdl.web@gmail.com>
8477
8478 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8479 directory and file as argument (Bug#10822).
8480
4a07df36
KS
84812012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8482
8483 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8484 For dynamically generated code, follow $PC.
8485 (gdb-disassembly-handler-custom): Handle no function name case.
8486
4aaa9356
TL
84872012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8488
8489 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8490 * emulation/ws-mode.el (ws-query-replace):
8491 * sort.el (sort-regexp-fields):
8492 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8493
225979da
SM
84942012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8495
8496 * dabbrev.el: Fix cycle completion order (bug#10963).
8497 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8498 (dabbrev-completion): Don't use an obarray; provide
8499 a cycle-sort-function.
8500
e2f1fdab
LL
85012012-03-12 Leo Liu <sdl.web@gmail.com>
8502
dc9924b8 8503 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8504 (kill-do-not-save-duplicates): Doc fix.
8505
b19490ed
SM
85062012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * dabbrev.el: Fix cycle completion (bug#10963).
8509 Use lexical binding and wrap to 80 columns.
8510 (dabbrev-completion): Delay computing the list of completions.
8511
4b05d722
KH
85122012-03-12 Kenichi Handa <handa@m17n.org>
8513
8514 * international/quail.el (quail-insert-kbd-layout): Surround each
8515 row by LRO and PDF instead of inserting many LRMs. Pad the left
8516 and right of each non-spacing marks. Insert invisible space
8517 between lower and upper characters to prevent composition.
8518
dbbc2e69
SM
85192012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * minibuffer.el (minibuffer-complete): Don't get confused when the
8522 function is run twice via different commands (bug#10958).
8523 (complete-with-action): Fix docstring.
8524
292112ed
CY
85252012-03-12 Chong Yidong <cyd@gnu.org>
8526
5d1ac394
CY
8527 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8528 (nxml-completion-at-point-function): New function.
8529 (nxml-mode): Use it.
8530 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8531
292112ed
CY
8532 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8533 Load generated autoloads file before byte compiling (Bug#10970).
8534 (package--make-autoloads-and-compile): New helper fun.
8535
4098f8f7
CS
85362012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8537
8538 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8539
8f754691
MA
85402012-03-11 Michael Albinus <michael.albinus@gmx.de>
8541
8542 * autorevert.el (auto-revert-handler): Ensure, that
8543 file-readable-p is applied only for local files or in
8544 auto-revert-tail-mode.
8545
e29ab36b
AS
85462012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8547
dbbc2e69
SM
8548 * server.el (server-eval-at): Handle non-tcp connections.
8549 Decode result string.
ad0bf5b6 8550
e29ab36b
AS
8551 * server.el (server-msg-size): New constant.
8552 (server-reply-print): New function.
8553 (server-eval-and-print): Use it.
8554 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8555 Handle -print-nonl.
8556
de5939ba
CS
85572012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8558
8559 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8560 (Bug#10987).
8561
0c93eabf
CY
85622012-03-11 Chong Yidong <cyd@gnu.org>
8563
397a688f
CY
8564 * simple.el (goto-line): Doc fix (Bug#9938).
8565
2cc775f9
CY
8566 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8567
0c93eabf
CY
8568 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8569 when finished (Bug#10963).
8570
c491fa41
MR
85712012-03-11 Martin Rudalics <rudalics@gmx.at>
8572
8573 * window.el (split-window-below): Fix bug in case where
8574 split-window-keep-point is nil (Bug#10971).
8575
300e8fa5
JL
85762012-03-11 Juri Linkov <juri@jurta.org>
8577
8578 * replace.el (replace-highlight): Set isearch-word to nil
8579 unconditionally. (Bug#10887)
8580
dbf6c5a1
EZ
85812012-03-10 Eli Zaretskii <eliz@gnu.org>
8582
8583 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8584 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8585 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8586 (mairix-widget-create-query): Add usage information about mairix
8587 search forms: negating words, searching for substrings, etc.
8588
b9e501de
JP
85892012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8590
8591 * international/fontset.el (font-encoding-alist): Add an entry for
8592 ksx1001 (Bug#5667).
8593
92795c91
RS
85942012-03-10 Richard Stallman <rms@gnu.org>
8595
1694e6c1
RS
8596 * mail/sendmail.el (mail-encode-header):
8597 Set rfc2047-encode-encoded-words.
8598
607e8555
RS
8599 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8600
de3bc99a
RS
8601 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8602 view buffer means not swapped.
8603 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8604 (rmail-write-region-annotate): Error if real text has disappeared.
8605
92795c91
RS
8606 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8607
699bd04e
CY
86082012-03-10 Chong Yidong <cyd@gnu.org>
8609
8610 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8611 * emulation/cua-base.el (cua--init-keymaps):
8612 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8613
570a1714
MR
86142012-03-10 Martin Rudalics <rudalics@gmx.at>
8615
dbbc2e69
SM
8616 * speedbar.el (speedbar-unhighlight-one-tag-line):
8617 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8618
82dcf4e4
CY
86192012-03-10 Chong Yidong <cyd@gnu.org>
8620
7a2c7ca7
CY
8621 * minibuffer.el (completion-in-region, completion-help-at-point):
8622 Give the completion field overlay a high priority (Bug#6830).
8623
82dcf4e4
CY
8624 * dired.el (dired-goto-file): Recognize absolute file name
8625 listings (Bug#7126).
8626 (dired-goto-file-1): New helper function.
8627 (dired-toggle-read-only): Inhibit warnings.
8628
052e28ac
MA
86292012-03-09 Michael Albinus <michael.albinus@gmx.de>
8630
75f1671a 8631 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8632 there are no properties.
8633
95d5e396
LL
86342012-03-09 Leo Liu <sdl.web@gmail.com>
8635
8636 * savehist.el (savehist-printable): Stricter check for string
8637 value (Bug#10937).
8638
3f018d6d
EZ
86392012-03-09 Eli Zaretskii <eliz@gnu.org>
8640
dbbc2e69
SM
8641 * mail/smtpmail.el (smtpmail-send-it):
8642 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8643 valid mbox format.
8644
f7fd3d79
GM
86452012-03-09 Glenn Morris <rgm@gnu.org>
8646
8647 * files.el (dir-locals-find-file):
8648 Don't check result is regular, readable.
8649 (dir-locals-read-from-file): Demote errors.
8650
6ff6e72f
EZ
86512012-03-08 Eli Zaretskii <eliz@gnu.org>
8652
dbbc2e69
SM
8653 * international/quail.el (quail-insert-kbd-layout):
8654 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8655 layout cell, to prevent their reordering by bidi display engine.
8656 For details, see the discussion in
8657 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8658
9cec7834
AM
86592012-03-08 Alan Mackenzie <acm@muc.de>
8660
8661 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8662 the starting position; make it extend the marked region when
8663 invoked repeatedly - all under appropriate circumstances.
8664 Fixes bugs #5525, #10906.
8665
9a40b8d4
GM
86662012-03-08 Glenn Morris <rgm@gnu.org>
8667
8668 * files.el (locate-dominating-file, dir-locals-find-file):
8669 Undo 2012-03-06 change.
8670
7a08ed35
EZ
86712012-03-07 Eli Zaretskii <eliz@gnu.org>
8672
dbbc2e69
SM
8673 * international/quail.el (quail-help):
8674 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8675 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8676 for the reason.
8677
5aca4f71 86782012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8679
8680 Avoid superfluous registering of signals. (Bug#10807)
8681
8682 * notifications.el (notifications-on-action-object)
8683 (notifications-on-close-object): New defvars.
8684 (notifications-on-action-signal, notifications-on-closed-signal):
8685 Unregister the signal if not needed any longer.
8686 (notifications-notify): Register `notifications-action-signal' or
8687 `notifications-closed-signal', if :on-action or :on-close has been
8688 passed as argument.
8689
78e8b10a
CY
86902012-03-07 Chong Yidong <cyd@gnu.org>
8691
8692 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8693 non-X platforms.
8694
69481eb8
GM
86952012-03-06 Glenn Morris <rgm@gnu.org>
8696
8697 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8698 (x-disown-selection-internal, x-get-selection-internal):
8699 Doc fix (add arglist signatures). (Bug#10783)
8700
133b8e11
KS
87012012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8702
8703 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8704 Handle breakpoints with no "type".
8705
99a83064
GM
87062012-03-06 Glenn Morris <rgm@gnu.org>
8707
8708 * files.el (locate-dominating-file): Add optional predicate argument.
8709 (dir-locals-find-file): Make use of above change.
8710
17798e78
TTN
87112012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8712
8713 * info.el (Info-insert-dir): Also try "dir.gz".
8714
eb182446
GM
87152012-03-06 Glenn Morris <rgm@gnu.org>
8716
8f2114ee
GM
8717 * files.el (dir-locals-find-file):
8718 Ignore non-readable or non-regular files. (Bug#10928)
8719
eb182446
GM
8720 * files.el (locate-dominating-file): Doc fix.
8721
24679323
AS
87222012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8723
8724 * calendar/calendar.el (calendar-set-mode-line):
8725 `getenv' returns a string. (Bug#10951)
8726
01d972a9
LL
87272012-03-05 Leo Liu <sdl.web@gmail.com>
8728
109aa8a9
LL
8729 * simple.el (backward-delete-char-untabify): Constrain point to
8730 field (Bug#10939).
8731
01d972a9
LL
8732 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8733
10607bea
CY
87342012-03-05 Chong Yidong <cyd@gnu.org>
8735
8736 * simple.el (count-words): If called from Lisp, return the word
8737 count, for symmetry with `count-lines'. Arglist changed.
8738 (count-words--message): Args changed. Consolidate counting code
8739 from count-words and count-words-region.
8740 (count-words-region): Caller changed.
8741 (count-lines-region): Make it an obsolete alias.
8742
5dd11cfe
TH
87432012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8744
8745 * saveplace.el (save-place-to-alist)
8746 (save-place-ignore-files-regexp): Allow value nil to disable this
8747 feature.
8748
c349f4e6
CY
87492012-03-04 Chong Yidong <cyd@gnu.org>
8750
8751 * faces.el (face-spec-reset-face): For the default face, reset the
8752 attributes to default values (Bug#10748).
8753
e627be4c
LMI
87542012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8755
8756 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8757 previous patch: Check `message-send-mail-function', and not the
8758 default function (bug#10897).
8759
ebeabff4
MA
87602012-03-04 Michael Albinus <michael.albinus@gmx.de>
8761
a41a6cf4
MA
8762 * notifications.el (notifications-on-action-signal)
8763 (notifications-on-closed-signal): Check for unique service name of
8764 incoming event. Fix error in removing entry.
ebeabff4 8765 (top): Register for signals with wildcard service name.
a41a6cf4 8766 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8767
c1ca42b4
CY
87682012-03-04 Chong Yidong <cyd@gnu.org>
8769
dc9924b8 8770 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8771
ea16568d
GM
87722012-03-04 Glenn Morris <rgm@gnu.org>
8773
8774 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8775 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8776 (expand-abbrev, define-abbrev-table): Doc fixes.
8777
fbae4637
LMI
87782012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8779
8780 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8781 `message-default-send-mail-function' and not `send-mail-function'
8782 when doing the prompting for `sendmail-query-once' before sending
8783 in Message buffers (bug#10897).
8784
a1e7225c
LMI
8785 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8786 This is inconsistent with all the other stream functions, which leave
8787 the setting up to the higher levels (if so wanted) (bug#10931).
8788
56d093a9
AM
87892012-03-02 Alan Mackenzie <acm@muc.de>
8790
8791 Depessimize the handling of very large macros.
8792
8793 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8794 (c-macro-cache-syntactic): New variables to implement a one
8795 element macro cache.
8796 (c-invalidate-macro-cache): New function.
8797 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8798 Adapt to use the new cache.
8799 (c-state-safe-place): Use better the cache of safe positions.
8800 (c-state-semi-nonlit-pos-cache)
8801 (c-state-semi-nonlit-pos-cache-limit):
8802 New variables for...
8803 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8804 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8805 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8806 Use c-state-semi-safe-place.
56d093a9 8807
dbbc2e69
SM
8808 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8809 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8810
817e5c3d
MA
88112012-03-02 Michael Albinus <michael.albinus@gmx.de>
8812
dbbc2e69
SM
8813 * jka-compr.el (jka-compr-call-process):
8814 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8815 not remote.
8816
a032a702
MA
88172012-03-01 Michael Albinus <michael.albinus@gmx.de>
8818
8819 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8820 access of FILE2, if FILE1 does not exist.
8821
99a54f21
MA
8822 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8823 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8824
8825 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8826 Add "PAGER=" to `process-environment'.
8827
f6561e1f
MM
88282012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8829
8830 * progmodes/sql.el: Bug fix
8831 (sql-get-login-ext): Save login values in globals.
8832 (sql-get-login): Use new version of `sql-get-login-ext'.
8833 (sql-interactive-mode): Set global `sql-connection' to nil.
8834 (sql-connect): Set global values for connection.
8835 (sql-product-interactive): Save global values as buffer local.
8836
2d44d9cc
LL
88372012-02-29 Leo Liu <sdl.web@gmail.com>
8838
8839 * abbrev.el (define-abbrevs): Reset sys to nil.
8840
96b49301 88412012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8842
bf7f9bc5
JB
8843 * files.el (file-equal-p): Rename from `files-equal-p'.
8844 Return nil when one or both files don't exist.
96b49301 8845 (file-subdir-of-p): Now only top directory must exists,
8846 return nil if it doesn't.
bf7f9bc5
JB
8847 (copy-directory): No need to test with `file-subdir-of-p' after
8848 creating dir.
8849 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8850 to `file-equal-p'.
96b49301 8851
44e97401
GM
88522012-02-28 Glenn Morris <rgm@gnu.org>
8853
8854 * shell.el (shell-mode):
8855 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8856 * play/landmark.el (landmark-font-lock-face-O):
8857 * play/handwrite.el (handwrite):
8858 * play/gomoku.el (gomoku-O):
8859 * net/browse-url.el (browse-url-browser-display):
8860 * international/mule.el (define-charset):
8861 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8862 * filesets.el (filesets-find-file-delay):
8863 * eshell/em-xtra.el (eshell-xtra):
8864 * eshell/em-unix.el (eshell-grep):
8865 * emulation/viper.el (viper-mode):
8866 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8867 * emacs-lisp/easymenu.el (easy-menu-define):
8868 * calendar/timeclock.el (timeclock-use-display-time):
8869 * bs.el (bs-mode):
8870 * bookmark.el (bookmark-save-flag):
8871 Doc fix (standardize possessive apostrophe usage).
8872
c98c6276
CY
88732012-02-27 Chong Yidong <cyd@gnu.org>
8874
bf7f9bc5
JB
8875 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8876 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8877
c98c6276
CY
8878 * font-lock.el (font-lock-specified-p): Rename from
8879 font-lock-spec-present. Callers changed.
8880
9c62cd04 88812012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8882
bf7f9bc5
JB
8883 * emacs-lisp/package.el (package-compute-transaction):
8884 Handle holding a package version to t in package-load-list.
8ac9e529 8885
530739c9
MA
88862012-02-26 Michael Albinus <michael.albinus@gmx.de>
8887
8888 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8889 (tramp-get-inode, tramp-get-device): Use cached values.
8890
487915d7
AM
88912012-02-26 Alan Mackenzie <acm@muc.de>
8892
8893 Check there is a font-lock specification before doing initial
8894 fontification.
8895
8896 * font-core.el (font-lock-mode): Move the conditional from
8897 :after-hook to font-lock-initial-fontify.
8898 (font-lock-default-function): Move the check for a specification
8899 to font-lock-spec-present.
8900
dc9924b8 8901 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8902 (font-lock-spec-present): New function.
8903
4fd96557
JB
89042012-02-26 Jim Blandy <jimb@red-bean.com>
8905
8906 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8907 (gdb-send): Apply it to the operand of the '-interpreter-exec
8908 console' command, so that we can pass arguments with (say) quotes
8909 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8910
9a4888c0
CY
89112012-02-26 Chong Yidong <cyd@gnu.org>
8912
07498861
CY
8913 * help-fns.el (describe-function-1): Clarify description of
8914 remapping (Bug#10844).
8915
9a4888c0
CY
8916 * files.el (files-equal-p): Doc fix.
8917 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8918 and quit the loop once a mismatch is found.
8919
ea8fb88d
JB
89202012-02-25 Juanma Barranquero <lekktu@gmail.com>
8921
8922 * bs.el (bs--show-with-configuration): Don't throw an error
8923 if the window cannot be split; otherwise, subsequent calls to
8924 bs-show fail, restoring a stale window config. (Bug#10882)
8925
525795c1
JD
89262012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8927
8928 * term/ns-win.el (global-map): Bind ns-drag-file to
8929 ns-find-file (Bug#5855, Bug#10050).
8930
f008086f
AS
89312012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8932
8933 * calendar/parse-time.el (parse-time-string): Allow extractor to
8934 return nil.
8935
a3fcfa99
MA
89362012-02-25 Michael Albinus <michael.albinus@gmx.de>
8937
91027d08
JB
8938 * net/tramp.el (tramp-file-name-for-operation):
8939 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8940
8941 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8942 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8943 Add COPY-CONTENTS argument.
a3fcfa99 8944
67b0de11
CY
89452012-02-25 Chong Yidong <cyd@gnu.org>
8946
8947 Add custom groups for VC backends, for consistency with vc-bzr.
8948
8949 * vc/vc-arch.el (vc-arch):
8950 * vc/vc-cvs.el (vc-cvs):
8951 * vc/vc-git.el (vc-git):
8952 * vc/vc-hg.el (vc-hg):
8953 * vc/vc-mtn.el (vc-mtn):
8954 * vc/vc-rcs.el (vc-rcs):
8955 * vc/vc-sccs.el (vc-sccs):
8956 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8957 All relevant defcustoms reassigned.
8958
3c9dfce6
CY
89592012-02-25 Chong Yidong <cyd@gnu.org>
8960
1339bf43
CY
8961 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8962
3c9dfce6
CY
8963 * term/x-win.el (x-initialize-window-system): Reduce default for
8964 x-selection-timeout to 5 seconds (Bug#8869).
8965
25b2e303 89662012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8967
ec70a47d
GM
8968 * files.el (files-equal-p, file-subdir-of-p): New functions.
8969 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8970 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8971 * dired-aux.el (dired-copy-file-recursive): Same.
8972 (dired-create-files): Modify destination when source is equal to
8973 dest when copying files.
53a46cd0 8974 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8975
914260cd
MA
89762012-02-24 Michael Albinus <michael.albinus@gmx.de>
8977
8978 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8979 (Bug#10874)
8980
2cb228f7
AM
89812012-02-23 Alan Mackenzie <acm@muc.de>
8982
8983 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8984 parameter "after-hook:" to allow the expansion to run code after
8985 the execution of the mode hooks.
8986
8987 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8988 from font-lock-mode-internal.
2cb228f7 8989
91027d08 8990 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8991 :after-hook.
8992
8f0fde21
SM
89932012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8994
3e88618b
SM
8995 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8996 (completion--cache-all-sorted-completions): New function.
8997 (completion-all-sorted-completions): Use it.
8998 (completion--do-completion, minibuffer-force-complete):
8999 Use it to re-instate the flush hook.
9000
8f0fde21
SM
9001 * icomplete.el (icomplete-completions): Replace last fix with a better
9002 one (bug#10850).
9003
8e911f6f
DG
90042012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9005
9006 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9007 when it might call us back infinitely (bug#10797).
9008
49fe4321
GM
90092012-02-23 Glenn Morris <rgm@gnu.org>
9010
9011 * minibuffer.el (completion-category-overrides): Doc fix.
9012
b291b572
SM
90132012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9016 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9017
31a9ef2e
GM
90182012-02-23 Glenn Morris <rgm@gnu.org>
9019
5e6e6794 9020 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9021 (authors-obsolete-files-regexps, authors-ignored-files)
9022 (authors-ambiguous-files, authors-renamed-files-alist):
9023 Add more entries.
9024
0bd1e074
JL
90252012-02-23 Juri Linkov <juri@jurta.org>
9026
9027 * isearch.el (isearch-occur): Sync interactive spec with occur's
9028 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9029
b617673c
JL
9030 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9031
19e9789e
JL
90322012-02-22 Juri Linkov <juri@jurta.org>
9033
9034 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9035 (ucs-insert): Doc fix. Check for hex digits in the string.
9036 Don't display `nil' in the error message. (Bug#10857)
9037
f41ce09d
AM
90382012-02-22 Alan Mackenzie <acm@muc.de>
9039
7a71b18d 9040 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9041
ac2eceee
GM
90422012-02-22 Glenn Morris <rgm@gnu.org>
9043
9044 * ffap.el (ffap-c-path):
9045 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9046
abd1f678
CY
90472012-02-22 Chong Yidong <cyd@gnu.org>
9048
9049 * custom.el (load-theme): Doc fix.
9050
f25aef2e
GM
90512012-02-22 Glenn Morris <rgm@gnu.org>
9052
9053 * dired-x.el (dired-guess-shell-alist-default):
9054 Remove escape sequences from nroff output. (Bug#172)
9055
5f8dc2ca
GM
90562012-02-21 Glenn Morris <rgm@gnu.org>
9057
6ff86ec4
GM
9058 * vc/emerge.el (emerge-defvar-local):
9059 Set `permanent-local' property rather than unused `preserved'.
9060
be3223a3 9061 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9062 (picture-mode-map): Use it. (Bug#10860)
9063 (picture-mode): Doc fix.
9064
3fe58f4f
JB
90652012-02-21 Juanma Barranquero <lekktu@gmail.com>
9066
9067 * newcomment.el (uncomment-region-default): Remove unused binding.
9068
f9a998c3
GM
90692012-02-21 Glenn Morris <rgm@gnu.org>
9070
9071 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9072 (picture-self-insert, picture-tab-chars): Doc fix.
9073 (picture-mode-map): Fix C-a, C-e.
9074
c6029348
GM
90752012-02-20 Glenn Morris <rgm@gnu.org>
9076
9077 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9078
ab1ce9d7
LL
90792012-02-20 Leo Liu <sdl.web@gmail.com>
9080
9081 * icomplete.el (icomplete-completions): Check FROM arg before
9082 passing to substring (Bug#10850).
9083
0fd40f89
CY
90842012-02-19 Chong Yidong <cyd@gnu.org>
9085
9086 * comint.el: Require ansi-color.
9087 (comint-output-filter-functions): Add ansi-color-process-output.
9088
9089 * ansi-color.el: Don't set comint-output-filter-functions; it is
9090 now in the initial value defined in comint.el.
9091 (ansi-color-apply-face-function): New variable.
9092 (ansi-color-apply-on-region): Use it.
9093 (ansi-color-apply-overlay-face): New function.
9094
9095 * shell.el (shell): No need to require ansi-color.
9096 (shell-mode): Use ansi-color-apply-face-function to highlight
9097 color escapes using font-lock-face property (Bug#10835).
9098
20af2394
CY
90992012-02-19 Chong Yidong <cyd@gnu.org>
9100
9101 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9102 mode-line formats (Bug#10839).
9103
e23a3fbe
GM
91042012-02-18 Glenn Morris <rgm@gnu.org>
9105
b474519e
GM
9106 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9107
9108 * mail/undigest.el (unforward-rmail-message): Doc fix.
9109
e23a3fbe
GM
9110 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9111
57939ff4
EZ
91122012-02-18 Eli Zaretskii <eliz@gnu.org>
9113
9114 * international/characters.el (script-list): Sync with the latest
9115 Unicode Character Database.
9116
0c23686e
AS
91172012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9118
9119 * international/titdic-cnv.el: Remove duplicate coding tag.
9120 * language/cham.el: Likewise.
9121 * language/tai-viet.el: Likewise.
9122
6818b449
GM
91232012-02-18 Glenn Morris <rgm@gnu.org>
9124
9125 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9126 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9127 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9128 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9129 * calendar/holidays.el (holiday-bahai-holidays)
9130 (calendar-holidays, list-holidays):
9131 Use utf-8 Bahá'í in doc-strings, menus, etc.
9132
0311a3fc
TH
91332012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9134
9135 * saveplace.el (save-place-ignore-files-regexp): New variable
9136 allowing for excluding files from saving their location of point.
9137 The default value matches the temporary commit message editing
9138 files from Git, SVN, Bazaar, and Mercurial.
9139 (save-place-to-alist): Use it.
9140
d209e2fb 91412012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9142 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9143
9144 * newcomment.el (uncomment-region-default): Don't leave extra space
9145 when an arg is provided (bug#8150).
9146
ee0ce425
TZ
91472012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9148
eb864a71 9149 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9150
95ddf442
GM
91512012-02-17 Glenn Morris <rgm@gnu.org>
9152
9153 * net/socks.el: Require network-stream. (Bug#10599)
9154
48dd1e39 91552012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9156
9157 * international/charprop.el:
9158 * international/uni-name.el:
9159 * international/uni-old-name.el:
9160 * international/uni-comment.el: Regenerate.
9161
d68cd087
GM
91622012-02-16 Glenn Morris <rgm@gnu.org>
9163
9164 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9165 Interactively in calendar buffer, give an error if not on a date.
9166
13932042
GM
91672012-02-15 Glenn Morris <rgm@gnu.org>
9168
9169 * shell.el (shell-delimiter-argument-list):
9170 Revert 2011-02-17 change. (Bug#8027)
9171
c3a70e2b
CY
91722012-02-15 Chong Yidong <cyd@gnu.org>
9173
60236b0d
CY
9174 * minibuffer.el (completion-at-point-functions): Doc fix.
9175
c3a70e2b
CY
9176 * custom.el (defcustom): Doc fix; note use of defvar.
9177
9f26dc24
GM
91782012-02-15 Glenn Morris <rgm@gnu.org>
9179
9180 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9181 Doc fixes.
9182
6546b134
GM
91832012-02-14 Glenn Morris <rgm@gnu.org>
9184
9185 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9186
d29b2b4c
LI
91872012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9188
9189 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9190 way the ports list is computed.
835bdcba
LI
9191 (smtpmail-query-smtp-server): Prompt the user for a port number if
9192 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9193
08dcdbc9
TZ
91942012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9195
9196 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9197
2605051a
GM
91982012-02-13 Glenn Morris <rgm@gnu.org>
9199
9200 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9201
7ee99f32
TZ
92022012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9203
9204 * net/gnutls.el (gnutls-trustfiles): New variable.
9205 (gnutls-negotiate): Use it.
9206
5f0af64f
LI
92072012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9208
9209 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9210 does its stuff if Gnus is running.
9211
c14fcc95
AM
92122012-02-13 Alan Mackenzie <acm@muc.de>
9213
9214 Fix a loop in c-set-fl-decl-start.
9215
7a71b18d 9216 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9217 c-backward-syntactic-ws actually moves backwards.
9218
142b4d90
LL
92192012-02-13 Leo Liu <sdl.web@gmail.com>
9220
9221 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9222 beginning so that all \C-o chars are removed.
9223
fa9958a6
TZ
92242012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9225
dc9924b8 9226 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9227
0bc5886a
AM
92282012-02-12 Alan Mackenzie <acm@muc.de>
9229
9230 Fix infinite loop with long macros.
4d6769e1 9231 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9232
d4bd55e7
CY
92332012-02-12 Chong Yidong <cyd@gnu.org>
9234
9235 * window.el (display-buffer): Doc fix (Bug#10785).
9236
66f3fe22
GM
92372012-02-12 Glenn Morris <rgm@gnu.org>
9238
bd7da63e
GM
9239 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9240 (x-disown-selection-internal, x-get-selection-internal):
9241 Sync docs with the xselect.c versions.
9242
66f3fe22
GM
9243 * allout-widgets.el: Add missing license notice.
9244
3e0d2fa7
GM
92452012-02-11 Glenn Morris <rgm@gnu.org>
9246
cfecdf09
GM
9247 * select.el (x-get-selection-internal, x-own-selection-internal)
9248 (x-disown-selection-internal):
9249 * x-dnd.el (x-get-selection-internal): Update declarations.
9250
6d216d7f
GM
9251 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9252
2bed3f04
GM
9253 * window.el (window-sides-slots):
9254 * tool-bar.el (tool-bar-position):
9255 * term/xterm.el (xterm-extra-capabilities):
9256 * ses.el (ses-self-reference-early-detection):
9257 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9258 (verilog-auto-wire-type)
9259 (verilog-auto-delete-trailing-whitespace)
9260 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9261 (verilog-auto-tieoff-declaration):
9262 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9263 (sql-oracle-statement-starters, sql-oracle-scan-on):
9264 * progmodes/prolog.el (prolog-align-comments-flag)
9265 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9266 (prolog-left-indent-regexp, prolog-paren-indent-p)
9267 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9268 (prolog-types, prolog-mode-specificators)
9269 (prolog-determinism-specificators, prolog-directives)
9270 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9271 (prolog-electric-dot-flag)
9272 (prolog-electric-dot-full-predicate-template)
9273 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9274 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9275 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9276 (prolog-program-switches, prolog-prompt-regexp)
9277 (prolog-debug-on-string, prolog-debug-off-string)
9278 (prolog-trace-on-string, prolog-trace-off-string)
9279 (prolog-zip-on-string, prolog-zip-off-string)
9280 (prolog-use-standard-consult-compile-method-flag)
9281 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9282 (prolog-imenu-max-lines, prolog-info-predicate-index)
9283 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9284 (prolog-char-quote-workaround):
9285 * progmodes/cc-vars.el (c-defun-tactic):
9286 * net/tramp.el (tramp-encoding-command-interactive)
9287 (tramp-local-end-of-line):
9288 * net/soap-client.el (soap-client):
9289 * net/netrc.el (netrc-file):
9290 * net/gnutls.el (gnutls):
9291 * minibuffer.el (completion-category-overrides)
9292 (completion-cycle-threshold)
9293 (completion-pcm-complete-word-inserts-delimiters):
9294 * man.el (Man-name-local-regexp):
9295 * mail/feedmail.el (feedmail-display-full-frame):
9296 * international/characters.el (glyphless-char-display-control):
9297 * eshell/em-ls.el (eshell-ls-date-format):
9298 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9299 (lisp-lambda-list-keyword-parameter-indentation)
9300 (lisp-lambda-list-keyword-parameter-alignment):
9301 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9302 * dired-x.el (dired-omit-verbose):
9303 * cus-theme.el (custom-theme-allow-multiple-selections):
9304 * calc/calc.el (calc-highlight-selections-with-faces)
9305 (calc-lu-field-reference, calc-lu-power-reference)
9306 (calc-note-threshold):
9307 * battery.el (battery-mode-line-limit):
9308 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9309 (archive-7z-update):
9310 * allout.el (allout-prefixed-keybindings)
9311 (allout-unprefixed-keybindings)
9312 (allout-inhibit-auto-fill-on-headline)
9313 (allout-flattened-numbering-abbreviation):
9314 * allout-widgets.el (allout-widgets-auto-activation)
9315 (allout-widgets-icons-dark-subdir)
9316 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9317 (allout-widgets-theme-dark-background)
9318 (allout-widgets-theme-light-background)
9319 (allout-widgets-item-image-properties-emacs)
9320 (allout-widgets-item-image-properties-xemacs)
9321 (allout-widgets-run-unit-tests-on-load)
9322 (allout-widgets-time-decoration-activity)
9323 (allout-widgets-hook-error-post-time)
9324 (allout-widgets-track-decoration):
9325 Add missing :version tags to new defcustoms and defgroups.
9326
5fec1b8e
GM
9327 * progmodes/sql.el (sql-ansi-statement-starters)
9328 (sql-oracle-statement-starters): Add custom type.
9329
3e0d2fa7
GM
9330 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9331 (prolog-system-version): Give it a type.
9332
90b671e2
EZ
93332012-02-11 Eli Zaretskii <eliz@gnu.org>
9334
9335 * term/pc-win.el (x-select-text, x-selection-owner-p)
9336 (x-own-selection-internal, x-disown-selection-internal)
9337 (x-get-selection-internal): Sync doc strings and argument lists
9338 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9339
5eac0c02
LL
93402012-02-11 Leo Liu <sdl.web@gmail.com>
9341
9342 * progmodes/python.el (python-end-of-statement): Fix infinite
9343 loop. (Bug#10788)
9344
f82cb659
GM
93452012-02-10 Glenn Morris <rgm@gnu.org>
9346
9347 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9348 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9349
cc26d239
LI
93502012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9351
9352 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9353 about SMTP before checking the From header.
9354
91027d08 9355 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9356 into own function for reuse by emacsbug.el.
9357
1be3ca5a
LL
93582012-02-10 Leo Liu <sdl.web@gmail.com>
9359
9360 * subr.el (condition-case-unless-debug): Rename from
9361 condition-case-no-debug. All callers changed.
9362 (with-demoted-errors): Fix caller.
9363
9364 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9365 * nxml/rng-valid.el (rng-do-some-validation):
9366 * emacs-lisp/package.el (package-refresh-contents)
9367 (package-menu-execute):
9368 * desktop.el (desktop-create-buffer):
91027d08 9369 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9370
b011fbfe
GM
93712012-02-10 Glenn Morris <rgm@gnu.org>
9372
b2096d72
GM
9373 * textmodes/bibtex.el:
9374 Add missing :version tags for new/changed defcustoms.
9375
b011fbfe
GM
9376 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9377
4c7e65bf
LI
93782012-02-09 Lars Ingebrigtsen <larsi@rusty>
9379
9380 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9381 (smtpmail-via-smtp): Use it, or fall back on the From address.
9382 (smtpmail-send-it): Ditto.
9383
f3934f6f
SM
93842012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9385
9386 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9387 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9388 (byte-compile-tmp-var): New const.
9389 (byte-compile-defvar): Use it to minimize .elc size.
9390 Just use `defvar' rather than simulate it (bug#10761).
9391
a075a2c5
GM
93922012-02-09 Glenn Morris <rgm@gnu.org>
9393
cf3aa21b
GM
9394 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9395
354998cd
GM
9396 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9397 Add :version tags.
9398
dc9924b8
SM
9399 * progmodes/compile.el (compilation-error-screen-columns)
9400 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9401
dab3703d
GM
9402 * vc/log-view.el (log-view-toggle-entry-display):
9403 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9404
3f88cd72
GM
9405 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9406 (report-emacs-bug-can-use-xdg-email):
9407 (report-emacs-bug-insert-to-mailer): Doc fixes.
9408 (report-emacs-bug): Message fix.
9409
d95b247d
GM
9410 * net/browse-url.el (browse-url-can-use-xdg-open)
9411 (browse-url-xdg-open): Doc fixes.
9412
a075a2c5
GM
9413 * electric.el (electric-indent-mode, electric-pair-mode)
9414 (electric-layout-rules, electric-layout-mode): Doc fixes.
9415 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9416
ffb6157e
MR
94172012-02-08 Martin Rudalics <rudalics@gmx.at>
9418
9419 * server.el (server-unselect-display): Don't inadvertently kill
9420 the current buffer. (Bug#10729)
9421
e1ac4066
GM
94222012-02-08 Glenn Morris <rgm@gnu.org>
9423
34e8a2da
GM
9424 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9425 (sql-list-table): Doc fixes.
9426
b4ac6e8c
GM
9427 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9428 Comment out (does nothing).
9429
e1ac4066
GM
9430 * completion.el (dynamic-completion-mode):
9431 * dirtrack.el (dirtrack-debug-mode):
9432 * electric.el (electric-layout-mode):
9433 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9434 * face-remap.el (text-scale-mode, buffer-face-mode):
9435 * iimage.el (iimage-mode):
9436 * image-mode.el (image-transform-mode):
9437 * minibuffer.el (completion-in-region-mode):
9438 * scroll-lock.el (scroll-lock-mode):
9439 * simple.el (next-error-follow-minor-mode):
9440 * tar-mode.el (tar-subfile-mode):
9441 * tooltip.el (tooltip-mode):
9442 * vcursor.el (vcursor-use-vcursor-map):
9443 * wid-browse.el (widget-minor-mode):
9444 * emulation/tpu-edt.el (tpu-edt-mode):
9445 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9446 * international/iso-ascii.el (iso-ascii-mode):
9447 * language/thai-util.el (thai-word-mode):
9448 * mail/supercite.el (sc-minor-mode):
9449 * net/goto-addr.el (goto-address-mode):
9450 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9451 * progmodes/cwarn.el (cwarn-mode):
9452 * progmodes/flymake.el (flymake-mode):
9453 * progmodes/glasses.el (glasses-mode):
9454 * progmodes/hideshow.el (hs-minor-mode):
9455 * progmodes/pascal.el (pascal-outline-mode):
9456 * textmodes/enriched.el (enriched-mode):
9457 * vc/smerge-mode.el (smerge-mode):
9458 Doc fixes (minor mode argument).
9459
5e0d957f
EZ
94602012-02-07 Eli Zaretskii <eliz@gnu.org>
9461
9462 * ls-lisp.el (ls-lisp-sanitize): New function.
9463 (ls-lisp-insert-directory): Use it to fix or remove any elements
9464 in file-alist with missing attributes. (Bug#4673)
9465
98d7371e
AM
94662012-02-07 Alan Mackenzie <acm@muc.de>
9467
9468 Fix spurious recognition of c-in-knr-argdecl.
9469
9470 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9471 putative K&R region.
9472
667ced3a
AM
94732012-02-07 Alan Mackenzie <acm@muc.de>
9474
eb864a71
LM
9475 * progmodes/cc-engine.el (c-forward-objc-directive):
9476 Prevent looping in "#pragma mark @implementation".
667ced3a 9477
5b77774d
MA
94782012-02-07 Michael Albinus <michael.albinus@gmx.de>
9479
9480 * notifications.el (notifications-on-closed-signal): Make `reason'
9481 optional. (Bug#10744)
9482
af008560
GM
94832012-02-07 Glenn Morris <rgm@gnu.org>
9484
60d47423
GM
9485 * emacs-lisp/easy-mmode.el (define-minor-mode):
9486 Doc fixes for the macro and the mode it defines.
9487
dd605cc4
GM
9488 * image.el (imagemagick-types-inhibit): Doc fix.
9489
af008560
GM
9490 * cus-start.el (imagemagick-render-type): Add it.
9491
5cc59a37
LI
94922012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9493
4d6769e1
JB
9494 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9495 Set the default at load time, too, so that `font-lock-fontify-buffer'
9496 can be called without setting up the entire mode first. This fixes
9497 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9498
9a6dd747
CY
94992012-02-06 Chong Yidong <cyd@gnu.org>
9500
2d16b285
CY
9501 * simple.el (list-processes--refresh): Delete exited processes
9502 (Bug#8094).
9503
171e9b6e
CY
9504 * comint.el (comint-next-prompt): next-single-char-property-change
9505 and prev-single-char-property-change never return nil (Bug#8657).
9506
9a6dd747
CY
9507 * custom.el (defcustom): Doc fix (Bug#9711).
9508
aa4589a7
CY
95092012-02-05 Chong Yidong <cyd@gnu.org>
9510
5c2a252f
CY
9511 * cus-edit.el (custom-variable-reset-backup): Quote the value
9512 before storing it in the customized-value property (Bug#6712).
4aab9006 9513 (custom-display): Add a customization type tag.
983b9602 9514 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9515
aa4589a7
CY
9516 * wid-edit.el (widget-field-value-get): New optional arg to
9517 suppress trailing whitespace truncation.
9518 (character): Use it (Bug#2689).
9519
1ff980ae
AS
95202012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9521
9522 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9523 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9524
03988c98
CY
95252012-02-05 Chong Yidong <cyd@gnu.org>
9526
eeb6cc88
CY
9527 * cus-edit.el (custom-variable-value-create): For mismatched
9528 types, show the current value (Bug#7600).
9529
03988c98
CY
9530 * custom.el (defcustom): Doc fix.
9531
f8cdeef0
GM
95322012-02-05 Glenn Morris <rgm@gnu.org>
9533
9534 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9535
0696d255
JB
95362012-02-05 Juanma Barranquero <lekktu@gmail.com>
9537
9538 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9539 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9540 (pp-last-sexp): Use `looking-at-p'.
9541
34c99998
GM
95422012-02-04 Glenn Morris <rgm@gnu.org>
9543
8f05da42
GM
9544 * files.el (revert-buffer):
9545 Doc fix (mention revert-buffer-in-progress-p).
9546
f160676e
GM
9547 * emacs-lisp/ert-x.el (ert-simulate-command):
9548 Check deferred-action-list (which is obsolete) is bound.
9549
c7291ad9
GM
9550 * subr.el (with-wrapper-hook): Doc fixes.
9551
34c99998
GM
9552 * simple.el (filter-buffer-substring-functions)
9553 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9554
6283a7d3
LL
95552012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9556
9557 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9558 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9559
e96e3013
LL
95602012-02-04 Leo Liu <sdl.web@gmail.com>
9561
9562 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9563
8ded50f2
GM
95642012-02-04 Glenn Morris <rgm@gnu.org>
9565
82ff1d13
GM
9566 * image.el (image-extension-data): Add obsolete alias.
9567
987a0a16
GM
9568 * isearch.el (isearch-update): Doc fix.
9569
ea32ef46
GM
9570 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9571
8ded50f2
GM
9572 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9573
eea14f31
GM
95742012-02-03 Glenn Morris <rgm@gnu.org>
9575
9576 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9577 (image-animate-timeout): Doc fix.
9578
9579 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9580
12f381b7
GM
95812012-02-02 Glenn Morris <rgm@gnu.org>
9582
953cebf5
GM
9583 * server.el (server-auth-dir): Doc fix.
9584 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9585
12f381b7
GM
9586 * subr.el (run-mode-hooks): Doc fix.
9587
953a8c3b
JL
95882012-02-02 Juri Linkov <juri@jurta.org>
9589
9590 * image-mode.el (image-toggle-display-image): Remove tautological
9591 `major-mode' from the `derived-mode-p' test.
9592
c5d3843c
KH
95932012-02-02 Kenichi Handa <handa@m17n.org>
9594
9f6e692e 9595 * composite.el (compose-region): Cancel previous change.
c5d3843c 9596
159462d4 95972012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9598
9599 * composite.el (compose-region, compose-string): Signal error for
9600 a null string component (Bug#6988).
9601
9f562668
CY
96022012-02-01 Chong Yidong <cyd@gnu.org>
9603
e2cef717
CY
9604 * view.el (view-buffer-other-window, view-buffer-other-frame):
9605 Handle special modes like view-buffer (Bug#10650).
9606 (view-buffer): Simplify.
9607
9f562668
CY
9608 * frame.el (set-frame-font): Tweak meaning of third argument.
9609
9f6e692e
JB
9610 * dynamic-setting.el (font-setting-change-default-font):
9611 Use set-frame-font (Bug#9982).
9f562668 9612
781acb9f
GM
96132012-02-01 Glenn Morris <rgm@gnu.org>
9614
6035be52
GM
9615 * progmodes/compile.el (compilation-internal-error-properties):
9616 Respect compilation-first-column in the "*compilation*" buffer.
9617
781acb9f
GM
9618 * emacs-lisp/easy-mmode.el (define-minor-mode):
9619 Relax :variable's test for a named function.
9620
abbceb00
AM
96212012-01-31 Alan Mackenzie <acm@muc.de>
9622
9623 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9624 off by one error.
9625
fce3fdeb
CY
96262012-01-31 Chong Yidong <cyd@gnu.org>
9627
9628 * frame.el (set-frame-font): New arg ALL-FRAMES.
9629
9630 * menu-bar.el (menu-set-font): Use set-frame-font.
9631
9632 * faces.el (face-spec-reset-face): Don't apply unspecified
9633 attribute values to the default face.
9634
47893581
JB
96352012-01-31 Juanma Barranquero <lekktu@gmail.com>
9636
9637 * progmodes/cwarn.el (cwarn): Remove dead link.
9638 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9639 Remove * from defcustom docstrings.
9640 (turn-on-cwarn-mode): Make obsolete.
9641 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9642 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9643
e58e988a
GM
96442012-01-31 Glenn Morris <rgm@gnu.org>
9645
60dc2671 9646 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9647 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9648 Allow named functions to be used as the cdr of :variable.
e58e988a 9649
7a3f511d
GM
96502012-01-30 Glenn Morris <rgm@gnu.org>
9651
9652 * emacs-lisp/authors.el (authors-fixed-entries):
9653 Remove reference to deleted file rnewspost.el.
9654
cb882333
JB
96552012-01-29 Juanma Barranquero <lekktu@gmail.com>
9656
9657 * window.el (window-with-parameter): Remove unused variable `windows'.
9658 (window--side-check): Remove unused variable `code'.
9659 (window--resize-siblings): Remove unused variable `first'.
9660 (adjust-window-trailing-edge): Remove unused variable `failed'.
9661 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9662 Use `let', not `let*'.
9663 (balance-windows-2): Remove unused variable `found'.
9664 (window--state-put-2): Remove unused variable `splits'.
9665 (window-state-put): Remove unused variable `selected'.
9666 (same-window-p): Use `string-match-p'.
9667 (display-buffer-assq-regexp): Remove unused variable `value'.
9668 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9669 Mark argument ALIST as ignored.
9670 (pop-to-buffer): Remove unused variable `old-window'.
9671
907201af
EZ
96722012-01-29 Eli Zaretskii <eliz@gnu.org>
9673
9674 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9675 and .lzma compressed files.
9676
ea162670
CY
96772012-01-29 Chong Yidong <cyd@gnu.org>
9678
5b95ee8a
CY
9679 * frame.el (window-system-default-frame-alist): Doc fix.
9680
ea162670
CY
9681 * dynamic-setting.el (font-setting-change-default-font): Don't
9682 change the default face if SET-FONT argument is non-nil (Bug#9982).
9683
d6e6f4b1
SB
96842012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9685
9686 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9687
0f29fa41 96882012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9689
9690 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9691 breakpoints in files outside current directory (Bug#6098).
9692
db174434
CY
96932012-01-29 Chong Yidong <cyd@gnu.org>
9694
6b25e4e2
SE
9695 * progmodes/python.el: Require ansi-color at top-level.
9696
6df6ae42
JB
9697 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9698 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9699 (lisp-mode-abbrev-table): Add doc.
9700 (lisp-mode-variables): Don't set local-abbrev-table.
9701 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9702
e70ee681
RW
97032012-01-28 Roland Winkler <winkler@gnu.org>
9704
9705 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9706
ace88aa2
RW
97072012-01-28 Roland Winkler <winkler@gnu.org>
9708
9709 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9710 (bibtex-set-dialect): Use it. Either set global values of
9711 dialect-dependent variables or bind these variables buffer-locally
9712 (Bug#10254).
9713 (bibtex-mode): Call bibtex-set-dialect via
9714 hack-local-variables-hook.
eb864a71
LM
9715 (bibtex-dialect): Update docstring.
9716 Add safe-local-variable predicate.
ace88aa2
RW
9717 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9718 bibtex-set-dialect.
9719 (bibtex-mode-map): Define menu for each dialect.
9720 (bibtex-entry): Fix docstring.
9721
93376c5b
CY
97222012-01-28 Chong Yidong <cyd@gnu.org>
9723
9724 * eshell/esh-arg.el (eshell-quote-argument): New function.
9725
9726 * eshell/esh-ext.el (eshell-invoke-batch-file):
9727 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9728 first arg to eshell-parse-command (Bug#10523).
9729
4372494f
DA
97302012-01-28 Drew Adams <drew.adams@oracle.com>
9731
9732 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9733 `default-directory' is non-nil.
9734
4d4ec1f8
EZ
97352012-01-28 Eli Zaretskii <eliz@gnu.org>
9736
9737 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9738 line that displays system-configuration-options. (Bug#9924)
9739
7c188927
DA
97402012-01-28 Drew Adams <drew.adams@oracle.com>
9741
9742 * descr-text.el (describe-char): Show information about POS, in
9743 addition to information about the character at POS. Improve and
9744 update the doc string. Change "code point" to "code point in
9745 charset", to avoid confusion with the character's Unicode code
9746 point shown above that. (Bug#10129)
9747
e0da685a
EZ
97482012-01-28 Eli Zaretskii <eliz@gnu.org>
9749
9750 * descr-text.el (describe-char): Show the raw character, not only
9751 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9752 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9753 for the reasons.
9754
70550acf
PH
97552012-01-28 Phil Hagelberg <phil@hagelb.org>
9756
eb864a71
LM
9757 * emacs-lisp/package.el (package-install):
9758 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9759
0ce8e868
CY
97602012-01-28 Chong Yidong <cyd@gnu.org>
9761
cb882333
JB
9762 * emacs-lisp/package.el (package-maybe-load-descriptor):
9763 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9764 (package-maybe-load-descriptor): Use it.
9765 (package-download-transaction): Fully load required packages
9766 inside the loop, so that `require' calls work (Bug#10593).
9767 (package-install): No need to call package-initialize now.
9768
2e7f3bea
CY
97692012-01-28 Chong Yidong <cyd@gnu.org>
9770
6e9bad14
CY
9771 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9772
f823b8ca
CY
9773 * tooltip.el (tooltip-mode): Doc fix.
9774 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9775
2680c309
CY
9776 * frame.el (set-cursor-color): Doc fix (Bug#352).
9777
d7a9e63b
CY
9778 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9779 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9780
2e7f3bea
CY
9781 * cus-edit.el (custom-buffer-create-internal): Fix search button
9782 action (Bug#10542).
2ae01800 9783 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9784
fc4f7a23
EW
97852012-01-27 Eduard Wiebe <usenet@pusto.de>
9786
9787 * dired.el (dired-mark-files-regexp):
9788 Include any subdirectory components. (Bug#10445)
9789
7dd37071
ML
97902012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9791
9792 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9793 Handle [host]:port syntax. (Bug#10533)
9794
a268160b
AH
97952012-01-27 Alex Harsanyi <harsanyi@mac.com>
9796
9797 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9798
e43273ef
GM
97992012-01-26 Glenn Morris <rgm@gnu.org>
9800
9801 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9802 * term.el (term-raw-escape-map): Use Control-X-prefix.
9803 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9804
1edf595d
MR
98052012-01-25 Martin Rudalics <rudalics@gmx.at>
9806
9807 * window.el (window-state-get, window--state-get-1): Don't deal
9808 with fixed-sizeness of windows. Simplify code.
9809
fa8eafef
JC
98102012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9811
6df6ae42
JB
9812 * window.el (window--state-get-1, window--state-put-2):
9813 Don't save and restore the mark.
fa8eafef 9814
0b21c100
CY
98152012-01-25 Chong Yidong <cyd@gnu.org>
9816
9817 * custom.el (custom-variable-p): Doc fix.
9818
5ae1a6c8
GM
98192012-01-25 Glenn Morris <rgm@gnu.org>
9820
40047858
GM
9821 * dired.el (dired-goto-file): Handle some of the more common
9822 characters that `ls -b' escapes. (Bug#10596)
9823
5ddce96c
GM
9824 * progmodes/compile.el (compilation-next-error-function):
9825 Respect compilation-first-column in the "*compilation*" buffer.
9826 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9827
5ae1a6c8
GM
9828 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9829
b559f1a9
GM
98302012-01-24 Glenn Morris <rgm@gnu.org>
9831
9832 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9833
6725d21a
JD
98342012-01-24 Julien Danjou <julien@danjou.info>
9835
9836 * color.el (color-rgb-to-hsl): Fix value computing.
9837 (color-hue-to-rgb): New function.
9838 (color-hsl-to-rgb): New function.
9839 (color-clamp, color-saturate-hsl, color-saturate-name)
9840 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9841 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9842
70df4bbe
GM
98432012-01-24 Glenn Morris <rgm@gnu.org>
9844
9845 * vc/vc-rcs.el (vc-rcs-create-tag):
9846 * vc/vc-sccs.el (vc-sccs-create-tag):
9847 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9848
802a2ae2
ML
98492012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9850
9851 * eshell/esh-util.el (eshell-read-hosts-file):
9852 Skip comment lines. (Bug#10549)
9853
d7128bb1
ML
9854 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9855
d1a5c3b4
JB
98562012-01-23 Juanma Barranquero <lekktu@gmail.com>
9857
2724d9c7
JB
9858 * subr.el (display-delayed-warnings): Doc fix.
9859 (collapse-delayed-warnings): New function to collapse identical
9860 adjacent warnings.
9861 (delayed-warnings-hook): Add it.
d1a5c3b4 9862
a5509865
MA
98632012-01-22 Michael Albinus <michael.albinus@gmx.de>
9864
9865 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9866
a5509865
MA
9867 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9868 (tramp-default-user-alist): Don't add "pscp".
9869 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9870 property "login-as", if set. (Bug#10530)
9871
cc6d5805
MA
98722012-01-21 Michael Albinus <michael.albinus@gmx.de>
9873
9874 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9875 "plink1" and "psftp". (Bug#10530)
9876
98772012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9878
9879 * international/mule-cmds.el (prefer-coding-system): Show a
9880 warning message if the default value of file-name-coding-system
9881 was not changed.
9882
f0960428
JC
98832012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9884
cb882333
JB
9885 * windmove.el (windmove-reference-loc):
9886 Fix windmove-reference-loc miscalculation.
f0960428 9887
dd6f2a63
JB
98882012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9889
9890 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9891 default unit.
9892
7b447e9b
GM
98932012-01-21 Glenn Morris <rgm@gnu.org>
9894
117a9ea1
GM
9895 * international/mule.el (auto-coding-alist): Add .tbz.
9896
7b447e9b
GM
9897 * files.el (local-enable-local-variables): Doc fix.
9898 (inhibit-local-variables-regexps): Rename from
9899 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9900 Doc fix. Add some extensions from auto-coding-alist.
9901 (inhibit-local-variables-suffixes):
9902 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9903 (inhibit-local-variables-p):
9904 New function, extracted from set-auto-mode-1.
9905 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9906 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9907 (hack-local-variables): Doc fix. Make the mode-only case
9908 respect enable-local-variables and friends.
9909 Respect inhibit-local-variables-regexps for file-locals, but
9910 not for directory-locals.
9911 (set-visited-file-name):
9912 Take account of inhibit-local-variables-regexps.
9913 Whether it applies may change as the file name is changed.
9914 * jka-cmpr-hook.el (jka-compr-install):
9915 * jka-compr.el (jka-compr-uninstall):
9916 Update for inhibit-first-line-modes-suffixes name change.
9917
dd6e3cdd
MR
99182012-01-20 Martin Rudalics <rudalics@gmx.at>
9919
9920 * help-macro.el (make-help-screen): Temporarily restore original
9921 binding for minor-mode-map-alist (Bug#10454).
9922
0d0deb38
JD
99232012-01-19 Julien Danjou <julien@danjou.info>
9924
9925 * color.el (color-name-to-rgb): Use the white color to find the max
9926 color component value and return correctly computed values.
9927 (color-name-to-rgb): Add missing float conversion for max value.
9928
34a02f46
MR
99292012-01-19 Martin Rudalics <rudalics@gmx.at>
9930
9931 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9932 special state value for window-persistent-parameters.
9933 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9934 (window--state-put-2): Reset all window parameters to nil before
9935 assigning values of persistent parameters.
9936
606c44c4
AM
99372012-01-18 Alan Mackenzie <acm@muc.de>
9938
9939 Eliminate sluggishness and hangs in fontification of "semicolon
9940 deserts".
9941
cb882333
JB
9942 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9943 Change value 10000 -> 3000.
606c44c4
AM
9944 (c-state-safe-place): Reformulate so it doesn't stack up an
9945 infinite number of wrong entries in c-state-nonlit-pos-cache.
9946 (c-determine-limit-get-base, c-determine-limit): New functions to
9947 determine backward search limits disregarding literals.
9948 (c-find-decl-spots): Amend commenting.
9949 (c-cheap-inside-bracelist-p): New function which detects "={".
9950
9951 * progmodes/cc-fonts.el
9952 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9953 backward search.
9954 (c-font-lock-declarations): Fix an occurrence of point being
9955 undefined. Check additionally for point being in a bracelist or
9956 near a macro invocation without a semicolon so as to avoid a
9957 fruitless time consuming search for a declarator. Give a more
9958 precise search limit for declarators using the new
9959 c-determine-limit.
9960
f3860cea
GM
99612012-01-18 Glenn Morris <rgm@gnu.org>
9962
9963 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9964 (set-auto-mode): Doc fixes.
9965
1db03b16
GM
99662012-01-17 Glenn Morris <rgm@gnu.org>
9967
0e6038be
GM
9968 * isearch.el (search-nonincremental-instead): Fix doc typo.
9969
1db03b16
GM
9970 * dired.el (dired-insert-directory): Handle newlines in directory name.
9971 (dired-build-subdir-alist): Unescape newlines in directory name.
9972
4cb0aa75
MA
99732012-01-17 Michael Albinus <michael.albinus@gmx.de>
9974
9975 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9976 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9977 (tramp-action-terminal): Use it. (Bug#10530)
9978
1d00653d
SM
99792012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9980
9981 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9982
6a6ee00d
MR
99832012-01-16 Martin Rudalics <rudalics@gmx.at>
9984
9985 * window.el (window-state-ignored-parameters): Remove variable.
9986 (window--state-get-1): Rename argument MARKERS to IGNORE.
9987 Handle persistent window parameters. Make copy of clone-of
9988 parameter only if requested. (Bug#10348)
9989 (window--state-put-2): Install a window parameter only if it has
9990 a non-nil value or an existing parameter shall be overwritten.
9991
97912def
MA
99922012-01-15 Michael Albinus <michael.albinus@gmx.de>
9993
9994 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9995
688070a5
EZ
99962012-01-14 Eli Zaretskii <eliz@gnu.org>
9997
9998 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9999 don't pass the (nil) value of `upnode' to string-match.
10000
301afadc
CY
100012012-01-14 Chong Yidong <cyd@gnu.org>
10002
10003 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10004 Fix values recognized by the cursorBlink resource.
301afadc 10005
9e5788aa
PE
100062012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10007
10008 * epg.el (epg--make-temp-file): Avoid permission race condition
10009 when running on old Emacs versions (bug#10403).
10010
3cdb7f5a
GM
100112012-01-14 Glenn Morris <rgm@gnu.org>
10012
10013 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10014
8c82b1b4
AM
100152012-01-13 Alan Mackenzie <acm@muc.de>
10016
10017 Fix filling for when filladapt mode is enabled.
10018
10019 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10020 c-mask-paragraph, pass in `fill-paragraph' rather than
10021 `fill-region-as-paragraph'. (This is a reversion of a previous
10022 change.)
eb864a71
LM
10023 * progmodes/cc-mode.el (c-basic-common-init):
10024 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10025
e517eda4
GM
100262012-01-13 Glenn Morris <rgm@gnu.org>
10027
1498536e
GM
10028 * dired.el (dired-switches-escape-p): New function.
10029 (dired-insert-directory): Use dired-switches-escape-p.
10030 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10031
e517eda4
GM
10032 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10033
328f984d
GM
100342012-01-12 Glenn Morris <rgm@gnu.org>
10035
10036 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10037 changes in adaptive-fill-regexp. (Bug#10276)
10038
2cc769a8
AM
100392012-01-11 Alan Mackenzie <acm@muc.de>
10040
10041 Fix Emacs bug #10463 - put `widen's around the critical spots.
10042
1d00653d 10043 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10044 widen around each invocation of c-state-pp-to-literal. Remove an
10045 unused let variable.
10046
e52c37fa
GM
100472012-01-11 Glenn Morris <rgm@gnu.org>
10048
10049 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10050 Doc fix.
e52c37fa 10051
96f8741e
CY
100522012-01-10 Chong Yidong <cyd@gnu.org>
10053
1d00653d
SM
10054 * net/network-stream.el (network-stream-open-starttls):
10055 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10056 response to the capability command.
10057
b09a806e
GM
100582012-01-10 Glenn Morris <rgm@gnu.org>
10059
10060 * mail/unrmail.el (unrmail): Tweak previous change.
10061
7655cb66
CY
100622012-01-09 Chong Yidong <cyd@gnu.org>
10063
10064 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10065
9d5a8f0b
AM
100662012-01-08 Alan Mackenzie <acm@muc.de>
10067
10068 Optimise font locking in long enum definitions.
10069
10070 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10071 arm to a cond form to handle enums.
10072 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10073 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10074
9a0115ab 100752012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10076
10077 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10078 (Bug#10401)
6bb72cbd 10079
f186bb95
LMI
100802012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10081
29232a68
LMI
10082 * faces.el (set-face-attribute): Clarify the meaning of the nil
10083 frame (bug#10294).
10084
4e5d086d
LMI
10085 * subr.el (with-selected-frame): Mention that the selected frame
10086 is restored (bug#9980).
10087
8e66aebe
LMI
10088 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10089 (bug#9759).
10090
cd394be1 10091 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10092 (password-read): Don't autoload unused function.
10093
adf4e762
JB
100942012-01-07 Juanma Barranquero <lekktu@gmail.com>
10095
10096 * progmodes/which-func.el (which-func-mode): Turn into a
10097 non-interactive function and mark as obsolete (bug#10428).
10098
89bd9ccd
CY
100992012-01-06 Chong Yidong <cyd@gnu.org>
10100
10101 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10102 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10103 functions, along with 1 and -1.
10104
4afee9d5
EZ
101052012-01-06 Eli Zaretskii <eliz@gnu.org>
10106
10107 * time.el (display-time-load-average)
10108 (display-time-default-load-average): Doc fixes. See the thread
10109 starting at
10110 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10111 for the details.
10112
536aea70
GM
101132012-01-06 Glenn Morris <rgm@gnu.org>
10114
665ae865
GM
10115 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10116 has no messages. (Bug#10377)
10117
c869783d
GM
10118 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10119 than Info-edit. (Bug#10385)
10120
2bb4227e
GM
10121 * time.el (display-time-load-average, display-time-next-load-average):
10122 Doc fixes.
10123
7d5944b9
GM
10124 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10125 local setting of buffer-read-only to the input buffer. (Bug#10419)
10126
536aea70
GM
10127 * calendar/calendar.el (calendar-mode):
10128 Locally set scroll-margin to 0. (Bug#10379)
10129
7dccca16
UM
101302012-01-06 Ulrich Mueller <ulm@gentoo.org>
10131
10132 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10133
afbb7930
GM
101342012-01-05 Glenn Morris <rgm@gnu.org>
10135
10136 * eshell/em-unix.el (diff-no-select): Autoload it.
10137 (eshell/diff): Use diff-no-select. (Bug#10420)
10138
04482335
CY
101392012-01-05 Chong Yidong <cyd@gnu.org>
10140
7baca3bc
CY
10141 * shell.el (shell-dynamic-complete-functions): Revert last change.
10142 (shell-command-completion-function): New function.
10143 (shell-completion-vars): Use it to implement
10144 shell-completion-execonly (Bug#10417).
10145
04482335
CY
10146 * custom.el (enable-theme): Don't set custom-safe-themes.
10147
1d00653d
SM
10148 * cus-theme.el (custom-theme-merge-theme):
10149 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10150
bb5aa5d6
MM
101512012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10152
10153 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10154 first prompt in `sql-interacive-mode'.
10155 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10156 keywords.
6df6ae42 10157 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10158 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10159 context of original buffer. Invoke `sql-login-hook'.
10160
a7183d7c
EZ
101612012-01-04 Eli Zaretskii <eliz@gnu.org>
10162
10163 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10164 letters in cite-prefix.
10165
a1eacd1e
LMI
101662012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10167
10168 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10169
787cdb34
CY
101702012-01-03 Chong Yidong <cyd@gnu.org>
10171
1d00653d
SM
10172 * shell.el (shell-dynamic-complete-functions):
10173 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10174 comint-filename-completion first (Bug#10417).
10175
30710442
RS
101762012-01-02 Richard Stallman <rms@gnu.org>
10177
10178 * battery.el (battery-status-function):
10179 Detect when to use battery-yeeloong-sysfs.
10180 (battery-echo-area-format): Add string for Yeeloong.
10181 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10182 (battery-yeeloong-sysfs): New function.
10183
f75bfc33
CY
101842012-01-02 Chong Yidong <cyd@gnu.org>
10185
10186 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10187 (dirtrack): Merge code for handling relative filenames in prompt
10188 from shell-dir-cookie-watcher.
10189 (dirtrack-debug-message): New arg to avoid excess format calls.
10190
10191 * shell.el (shell-dir-cookie-re): Variable deleted.
10192 (shell-dir-cookie-watcher): Function deleted.
10193 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10194 with dirtrack-mode.
10195
651e947e
EZ
101962012-01-01 Eli Zaretskii <eliz@gnu.org>
10197
1d00653d
SM
10198 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10199 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10200 libgnutls-26.dll.
10201
94d4c7dc
AS
102022011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10203
10204 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10205
8d43f3cd
EZ
102062011-12-31 Eli Zaretskii <eliz@gnu.org>
10207
10208 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10209 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10210
98c8795a
MA
102112011-12-29 Michael Albinus <michael.albinus@gmx.de>
10212
10213 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10214 also for alternative shells.
10215 (tramp-open-connection-setup-interactive-shell): Check, whether
10216 the shell is a busybox.
10217 (tramp-send-command): Don't suppress multiple prompts for
10218 busyboxes, it hurts.
10219
51281b32
CY
102202011-12-28 Chong Yidong <cyd@gnu.org>
10221
10222 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10223 (gdb-get-source-file): Move mode line update to
10224 gdb-get-source-file (Bug#10087).
10225
2170cb53
CY
102262011-12-25 Chong Yidong <cyd@gnu.org>
10227
10228 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10229 gud-gdb-marker-filter without taking it as an argument.
10230 (gud-gdb-run-command-fetch-lines): Caller changed.
10231 (gud-gdb-completion-function): New variable.
10232 (gud-gdb-completion-at-point): Use it.
10233 (gud-gdb-completions-1): Split from gud-gdb-completions.
10234
10235 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10236 function as separate arguments.
10237 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10238 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10239 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10240 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10241 (gdb-stopped, def-gdb-auto-update-trigger)
10242 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10243 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10244 Callers changed.
2170cb53
CY
10245 (gud-gdbmi-completions): New function.
10246 (gdb): Use it for generating the completion table.
10247
be8b11bb
AM
102482011-12-24 Alan Mackenzie <acm@muc.de>
10249
10250 Introduce a mechanism to widen the region used in context font
1d00653d 10251 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10252
1d00653d
SM
10253 * progmodes/cc-langs.el (c-before-font-lock-functions):
10254 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10255 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10256 functions to be run just before context (etc.) font locking.
10257
10258 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10259 New, functionality extracted from
be8b11bb 10260 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10261 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10262 (c-after-change): Set c-in-after-change-fontification.
10263 (c-set-fl-decl-start): Rejig its interface, so it can be called
10264 from both after-change and context fontifying.
b81d40f0
JB
10265 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10266 New functions.
10267 (c-standard-font-lock-fontify-region-function): New variable.
10268 (c-font-lock-fontify-region): New function.
be8b11bb 10269
341cf6ac
JL
102702011-12-24 Juri Linkov <juri@jurta.org>
10271
10272 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10273 (Bug#10348)
10274
bffcee0a
MA
102752011-12-23 Michael Albinus <michael.albinus@gmx.de>
10276
10277 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10278 existence of source file. (Bug#10325)
10279
cb5e207c
AM
102802011-12-23 Alan Mackenzie <acm@muc.de>
10281
10282 Fix unstable fontification inside templates.
10283
b81d40f0
JB
10284 * progmodes/cc-langs.el (c-before-font-lock-functions):
10285 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10286 additionally has c-set-fl-decl-start. The other languages (apart
10287 from AWK) have that as a single entry.
10288
b81d40f0
JB
10289 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10290 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10291 c-set-fl-decl-start.
10292
b81d40f0
JB
10293 * progmodes/cc-mode.el (c-common-init, c-after-change):
10294 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10295 (c-set-fl-decl-start): New function, extracted from
10296 c-font-lock-enclosing-decls and enhanced.
10297
60ff536c
JB
102982011-12-23 Juanma Barranquero <lekktu@gmail.com>
10299
10300 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10301
1c4757d6
JL
103022011-12-22 Juri Linkov <juri@jurta.org>
10303
10304 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10305
d031f2c7
CY
103062011-12-22 Chong Yidong <cyd@gnu.org>
10307
10308 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10309
bace743a
DA
103102011-12-21 Drew Adams <drew.adams@oracle.com>
10311
10312 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10313
728a1f2b
JC
103142011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10315
10316 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10317
0d373f73
TZ
103182011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10319
fec0aaa4
TZ
10320 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10321 highlighting and support. Fix up comments for capitalization.
10322 (cfengine-mode-debug): New var.
10323 (cfengine3-mode): Change the modeline indicator to "CFE3".
10324 (cfengine3-font-lock-keywords): Improve defun highlighting.
10325 (cfengine2-actions): Rename from `cfengine-actions'.
10326 (cfengine2-font-lock-keywords): Rename from
10327 `cfengine-font-lock-keywords'.
10328 (cfengine2-imenu-expression): Rename from
10329 `cfengine-imenu-expression'.
10330 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10331 (cfengine2-beginning-of-defun): Rename from
10332 `cfengine-beginning-of-defun'.
10333 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10334 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10335 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10336 modeline indicator to "CFE2".
10337 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10338 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10339
bc86f573
CY
103402011-12-21 Chong Yidong <cyd@gnu.org>
10341
10342 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10343 filename argument.
10344
d45ba96b
MR
103452011-12-20 Martin Rudalics <rudalics@gmx.at>
10346
10347 * window.el (window-normalize-buffer-to-display): Remove.
10348 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10349
a6198c90
CY
103502011-12-19 Chong Yidong <cyd@gnu.org>
10351
10352 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10353 Don't signal an error in a predicate function; return non-nil.
10354 (vc-dir-mark-file): Move the error here.
10355 (vc-dir-mark-unmark): If acting on the region, keep going if one
10356 of the entries cannot be marked/unmarked.
10357 (vc-dir-mark-all-files): If current entry is a directory, mark
10358 only child files, as documented.
10359
34c5fb55
VB
103602011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10361
10362 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10363 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10364 addition.
10365
c803b2b7
JD
103662011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10367
10368 * term/ns-win.el (ns-get-selection-internal)
10369 (ns-store-selection-internal): Declare.
1154d12e
JB
10370 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10371 Declare as obsolete.
10372 (ns-get-pasteboard, ns-paste-secondary):
10373 Use ns-get-selection-internal.
10374 (ns-set-pasteboard, ns-copy-including-secondary):
10375 Use ns-store-selection-internal.
c803b2b7 10376
9cff91f8 103772011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10378
10379 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10380 (vc-deduce-fileset): Doc fix.
99a289d9 10381
f16c898a
AS
103822011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10383
10384 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10385
763237c4
SS
103862011-12-13 Sam Steingold <sds@gnu.org>
10387
10388 * man.el (Man-getpage-in-background): When running under a
10389 window-system, ignore $MANWIDTH and $COLUMNS.
10390
5fc1c122
KH
103912011-12-15 Kenichi Handa <handa@m17n.org>
10392
10393 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10394 (setup-ethiopic-environment-internal): Comment out key-binding for
10395 ethio-toggle-punctuation.
10396
13d49cbb
AM
103972011-12-13 Alan Mackenzie <acm@muc.de>
10398
898169a2
AM
10399 Add the switch statement to AWK Mode.
10400
7a71b18d 10401 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10402 "default" to the keywords regexp.
10403
7a71b18d 10404 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10405 expression as the rest.
1d00653d
SM
10406 (c-nonlabel-token-key): Allow string literals for AWK.
10407 Refactor for the other modes.
898169a2 10408
13d49cbb 10409 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10410 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10411 routines. Limit backward searching in c-font-lock-enclosing.decl.
10412
10413 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10414 pp-state and literal type in addition to the limits.
1d00653d 10415 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10416 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10417 (c-slow-in-literal, c-fast-in-literal): Remove.
10418 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10419
10420 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10421 being in a literal. Add a limit for backward searching.
10422
10423 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10424 c-slow-in-literal.
10425
15e0efc7
SM
104262011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10427
10428 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10429
454592a6
MR
104302011-12-13 Martin Rudalics <rudalics@gmx.at>
10431
10432 * window.el (delete-other-windows): Use correct frame in call to
10433 window-with-parameter.
10434
87393f26
DP
104352011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10436
10437 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10438 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10439 (makefile-gmake-statements, makefile-makepp-statements):
10440 Use it and add new makepp keywords.
10441 (makefile-makepp-font-lock-keywords): Add new patterns.
10442 (makefile-match-function-end): Match new [...] and [[...]].
10443
11636b22
JB
104442011-12-11 Juanma Barranquero <lekktu@gmail.com>
10445
10446 * ses.el (ses-call-printer-return, ses-cell-property-get)
10447 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10448 (ses-create-cell-variable, ses-reset-header-string)
10449 (ses-cell-set-formula, ses-repair-cell-reference-all)
10450 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10451 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10452 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10453 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10454 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10455 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10456 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10457 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10458 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10459 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10460 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10461 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10462
cf018193
VB
104632011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10464
10465 * ses.el: The overall change is to add cell renaming, that is
10466 setting fancy names for cell symbols other than name matching
10467 "\\`[A-Z]+[0-9]+\\'" regexp .
10468 (ses-create-cell-variable): New defun.
10469 (ses-relocate-formula): Relocate formulas only for cells the
10470 symbols of which are not renamed, i.e. symbols whose names do not
10471 match regexp "\\`[A-Z]+[0-9]+\\'".
10472 (ses-relocate-all): Relocate values only for cells the symbols of
10473 which are not renamed.
10474 (ses-load): Create cells variables as the (ses-cell ...) are read,
10475 in order to check row col consistency with cell symbol name only
10476 for cells that are not renamed.
10477 (ses-replace-name-in-formula): New defun.
10478 (ses-rename-cell): New defun.
10479
ee957461
CY
104802011-12-11 Chong Yidong <cyd@gnu.org>
10481
10482 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10483 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10484
9a9e9ef0
MR
104852011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10486
10487 * window.el (other-window): Fix docstring.
10488
92a8eba5
EZ
104892011-12-10 Eli Zaretskii <eliz@gnu.org>
10490
10491 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10492 `from' or `to' address before taking its substring.
10493 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10494 encoded name is chopped in the middle of the encoded string, and
10495 thus displayed encoded.
10496
e152e577
JB
104972011-12-10 Juanma Barranquero <lekktu@gmail.com>
10498
10499 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10500
e5d84bfe
EZ
105012011-12-10 Eli Zaretskii <eliz@gnu.org>
10502
10503 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10504 to use texinfo-update-node and commands that call it if the
10505 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10506 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10507 (texinfo-all-menus-update, texinfo-master-menu)
10508 (texinfo-update-node, texinfo-every-node-update)
10509 (texinfo-multiple-files-update): Doc fix. Warn against updating
10510 all the @node lines.
10511 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10512 argument is numeric. Explain better in the doc string what the
10513 function really does.
10514 (texinfo-insert-master-menu-list): Improve the error message
10515 displayed if there's no menu in the Top node.
10516 (Bug#2975) See also this thread:
e5d84bfe
EZ
10517 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10518
1d84e9bb
MG
105192011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10520
10521 * speedbar.el (speedbar-supported-extension-expressions):
10522 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10523
382c953b
JB
105242011-12-09 Juanma Barranquero <lekktu@gmail.com>
10525
10526 * printing.el (pr-mode-alist):
10527 * simple.el (filter-buffer-substring-functions)
10528 (completion-list-insert-choice-function):
10529 * window.el (window-with-parameter, window-atom-root)
10530 (window-sides-slots, window-size-fixed, window-min-delta)
10531 (window-max-delta, window--resize-mini-window)
10532 (window--resize-child-windows-normal, window-tree)
10533 (delete-other-windows, quit-window, split-window)
10534 (display-buffer-record-window, special-display-buffer-names)
10535 (special-display-regexps, special-display-popup-frame)
10536 (same-window-p, split-window-sensibly)
10537 (display-buffer-overriding-action, display-buffer-alist)
10538 (display-buffer-base-action, display-buffer, switch-to-buffer)
10539 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10540 (fit-window-to-buffer, recenter-positions)
10541 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10542 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10543 and remove unneeded backslashes in docstrings.
10544
39c9faef
SM
105452011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10546
98449af8
SM
10547 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10548
39c9faef
SM
10549 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10550 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10551 end in ".mk".
10552 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10553 when reading the makefile (bug#10116).
10554
86ed9fdc
SM
105552011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10556
10557 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10558 (bug#10116).
10559
5580f89d
GM
105602011-12-06 Glenn Morris <rgm@gnu.org>
10561
10562 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10563
28d3917c
CY
105642011-12-06 Chong Yidong <cyd@gnu.org>
10565
10566 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10567
a98edce9
JB
105682011-12-06 Juanma Barranquero <lekktu@gmail.com>
10569
10570 * textmodes/table.el (table-shorten-cell): Fix typo.
10571
e65adfac
CG
105722011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10573
10574 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10575
71cc0b74
EZ
105762011-12-05 Eli Zaretskii <eliz@gnu.org>
10577
10578 * descr-text.el (describe-char): Fix display of strong
10579 right-to-left characters and directional embeddings and overrides.
10580
10581 * simple.el (what-cursor-position): Fix display of codepoints of
10582 strong right-to-left characters.
10583
315bc30d
CY
105842011-12-05 Chong Yidong <cyd@gnu.org>
10585
10586 * faces.el (read-color): Doc fix.
10587
58a70b94
GM
105882011-12-05 Glenn Morris <rgm@gnu.org>
10589
10590 * align.el (align--set-marker): Add doc-string.
10591 Don't try to move something that is not a marker. (Bug#10216)
10592
5158face
GM
105932011-12-04 Glenn Morris <rgm@gnu.org>
10594
10595 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10596 overly zealous deletion of trailing whitespace.
10597
520fca41
JB
105982011-12-04 Juanma Barranquero <lekktu@gmail.com>
10599
10600 * server.el (server-delete-client): On Windows, do not try to delete
10601 the only terminal.
10602 (server-process-filter): On Windows, treat requests for a tty frame as
10603 if they were for a GUI frame if the running server is in GUI mode.
10604
5e605a2e
GM
106052011-12-03 Glenn Morris <rgm@gnu.org>
10606
10607 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10608
5c3fe83f
SM
106092011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10610
6f5e57e7
SM
10611 * electric.el: Streamline electric-indent's hook.
10612 (electric-indent-chars): Revert to simple list.
10613 (electric-indent-functions): New var.
10614 (electric-indent-post-self-insert-function): Use it.
10615
5c3fe83f
SM
10616 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10617 there's no inferior buffer (bug#10196).
10618 (prolog-consult-compile): Don't use toggle-read-only.
10619
6bdac736
MA
106202011-12-02 Michael Albinus <michael.albinus@gmx.de>
10621
10622 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10623 interrupt. (Bug#10187)
10624
6131ba7f
SM
106252011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10626
99c79fee
SM
10627 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10628 (bug#9160).
10629
6131ba7f
SM
10630 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10631 (bug#10191).
10632
cb0a02ea
JL
106332011-12-02 Juri Linkov <juri@jurta.org>
10634
10635 * info.el (Info-search): Display "end of manual" when Isearch
10636 reaches the end of single-file Info manual. (Bug#9918)
10637
66e0570c
EZ
106382011-12-02 Eli Zaretskii <eliz@gnu.org>
10639
10640 * isearch.el (isearch-message-prefix): Run the input method part
10641 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10642
02b16839
JL
106432011-12-02 Juri Linkov <juri@jurta.org>
10644
10645 * isearch.el (isearch-occur): Use `word-search-regexp' for
10646 `isearch-word'.
10647 (isearch-search-and-update): Add condition for `isearch-word' and
10648 call `word-search-regexp'. (Bug#10145)
10649
0b950688
GM
106502011-12-01 Glenn Morris <rgm@gnu.org>
10651
10652 * eshell/em-hist.el (eshell-hist-initialize):
10653 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10654 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10655
9505c3c7
SM
106562011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10659
1bbe96b2 106602011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10661
a1beca85
SM
10662 * progmodes/verilog-mode.el (verilog-pretty-expr):
10663 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10664 verilog, such as += *= and the like.
10665 (verilog-assignment-operator-re): Regular expression to find the
10666 assigment operator in a verilog assignment.
10667 (verilog-assignment-operation-re): Regular expression to find an
10668 assignment statement for pretty-expr.
10669 (verilog-in-attribute-p): Query returns true if point is in an
10670 attribute context; used to skip these for expression line up from
10671 pretty-expr.
10672 (verilog-in-parameter-p): Query returns true if point is in an
10673 parameter definition context; used to skip these for expression
10674 line up from pretty-expr.
10675 (verilog-in-parenthesis-p): Query returns true if point is in a
10676 parenthetical expression, specifically ( ) but not [ ] or { };
10677 used by pretty-expr.
10678 (verilog-just-one-space): If there is no space, don't add one.
10679 (verilog-get-lineup-indent-2): Specifically skip just attribute
10680 contexts for expression lineup, rather than skipping all
10681 parenthetical expressions.
10682 (verilog-calculate-indent): Fix comment, and fix indent.
10683 (verilog-do-indent): Indent declarations in lists (suggested by
10684 Joachim Lechner).
10685 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10686 skeleton items.
10687 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10688 by Alain Mellan).
10689
1bbe96b2 106902011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10691
10692 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10693 parameters with embedded comments. Reported by Ray Stevens.
10694 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10695 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10696 Reported by Tim Holt.
10697 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10698 instantiated by upper module causing wrong expansion until AUTOed a
10699 second time. Reported by K C Buckenmaier.
10700 (verilog-diff-auto): Fix showing .* as a difference when
10701 `verilog-auto-star-save' off. Reported by Dan Dever.
10702 (verilog-auto-reset, verilog-read-always-signals)
10703 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10704 temporary signals in reset list if
10705 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10706 style to each signal's assignment type, bug381.
10707 Reported by Thomas Esposito.
6288f0ca
WS
10708 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10709 (verilog-uvm-statement-re): Support UVM indentation and
10710 highlighting, with old OVM keywords only.
a1beca85 10711 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10712 Support AUTOTIEOFF creating non-wire data types.
10713 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10714 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10715 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10716 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10717 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10718 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10719 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10720 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10721 non-numeric vector width. Reported by Alex Reed.
10722 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10723 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10724 (verilog-auto-delete-trailing-whitespace):
10725 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10726 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10727 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10728 Fix verilog-scan-cache corruption when running user AUTO expansion
10729 hooks that call indentation routines.
10730 (verilog-simplify-range-expression): Fix typo ignoring lower case
10731 identifiers.
10732 (verilog-delete-auto): Fix delete-autos to also remove user created
10733 automatics, as long as they start with AUTO.
10734 (verilog-batch-diff-auto, verilog-diff-auto)
10735 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10736 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10737 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10738 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10739 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10740 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10741 is disabled and its cache will get corrupt, causing AUTOS not to
10742 expand. Instead use only -quick functions.
10743 (verilog-scan-region): Fix scanning over escaped quotes.
10744 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10745 (verilog-re-search-backward-quick)
10746 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10747 related functions now ignore strings, to fix misparsing of strings
10748 with magic comments embedded in them.
a1beca85
SM
10749 (verilog-read-auto-template):
10750 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10751 Reported by Brad Dobbie.
10752 (verilog-read-auto-template):
10753 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10754 Reported by Brad Dobbie.
6288f0ca
WS
10755 (verilog-auto-inst, verilog-auto-inst-param)
10756 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10757 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10758 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10759 debugging templates without merge conflicts, bug357.
10760 Reported by Brad Dobbie.
10761 (verilog-read-auto-template):
10762 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10763 Reported by Brad Dobbie.
10764 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10765 abbrevs so user won't be asked to save.
10766 (verilog-read-auto-lisp-present): Fix to start at beginning of
10767 buffer in case called outside of verilog-auto.
10768 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10769 to "X-2". Reported by Matthew Myers.
10770 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10771 all inputs from module templates. Reported by Leith Johnson.
10772 (verilog-module-inside-filename-p): Fix locating programs as with
10773 modules.
10774 (verilog-auto-inst-port): Fix vl-width expressions when using
10775 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10776 (verilog-decls-get-regs, verilog-decls-get-signals,
10777 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10778 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10779 verilog-read-decls): Combine reg and wire structures into one var
10780 structure to represent SystemVerilog concepts.
10781 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10782 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10783 (verilog-auto-wire-type, verilog-insert-definition):
10784 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10785 SystemVerilog "logic" keyword instead of "wire"/"reg".
10786 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10787 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10788 ifdef or generate if so there's not a driver conflict).
10789 Reported by Matthew Myers.
10790 (verilog-auto-declare-nettype, verilog-insert-definition):
10791 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10792 `default_nettype none. Reported by Julian Gorfajn.
10793 (verilog-read-always-signals-recurse, verilog-read-decls)
10794 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10795 malformed end statement, bug325. Reported by Joshua Wise and
10796 Andrew Drake.
10797 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10798 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10799 when expanding .* in interfaces, bug320.
10800 Reported by Pierre-David Pfister.
6288f0ca 10801 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10802 name and open parenthesis, bug317.
10803 Reported by Pierre-David Pfister.
6288f0ca
WS
10804 (verilog-simplify-range-expression): Fix simplification of
10805 multiplications inside AUTOWIRE connections, bug303.
10806 (verilog-auto-inst-port): Support parameter expansion in
10807 multidimensional arrays.
10808 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10809 after "assert property". Reported by Julian Gorfajn.
10810 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10811 with multiplication, bug303.
10812 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10813 Reported by Jan Frode Lonnum.
10814
1bbe96b2
GM
108152011-11-30 Juanma Barranquero <lekktu@gmail.com>
10816
10817 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10818 (hfy-shell-file-name, hfy-shell):
10819 * international/fontset.el (x-decompose-font-name): Fix typos.
10820
108212011-11-29 Ken Brown <kbrown@cornell.edu>
10822
10823 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10824 (gdb-version): Remove defvar.
10825 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10826 (gdb-gud-context-command, gdb-non-stop-handler)
10827 (gdb-current-context-command, gdb-stopped): Use it.
10828 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10829 (gdb-non-stop-handler): Don't enable pretty-printing here.
10830 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10831 non-stop mode. Use the following.
10832 (gdb-check-target-async): New defun.
10833 (gud-watch, gdb-stopped): Fix whitespace.
10834 (gdb-get-source-file): Don't try to display the source file if
10835 `gdb-main-file' is nil.
10836
108372011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10838
10839 * align.el: Try to generate fewer markers (bug#10047).
10840 (align--set-marker): New macro.
10841 (align-region): Use it.
10842
c935221f
SM
108432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10844
10845 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10846
e70b5064
CY
108472011-11-29 Chong Yidong <cyd@gnu.org>
10848
10849 * indent.el (indent-for-tab-command, indent-according-to-mode):
10850 Doc fix.
10851 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10852
f3af92b7
MA
108532011-11-29 Michael Albinus <michael.albinus@gmx.de>
10854
10855 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10856 aware of remote file names. (Bug#10124)
10857
ed472be9
CY
108582011-11-29 Chong Yidong <cyd@gnu.org>
10859
10860 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10861
24510c22
SM
108622011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10863
10864 * files.el (find-file): Don't use force-same-window (bug#10144).
10865 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10866 use pop-to-buffer if the selected window can't be used.
10867 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10868
c60c3703
EZ
108692011-11-28 Eli Zaretskii <eliz@gnu.org>
10870
10871 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10872 special-mode-map.
10873
e95def75
CY
108742011-11-28 Chong Yidong <cyd@gnu.org>
10875
10876 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10877
c3f1c606
NR
108782011-11-27 Nick Roberts <nickrob@snap.net.nz>
10879
10880 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10881 gdb-get-source-file-list on gdb-create-source-file-list.
10882
00db469c
EZ
108832011-11-26 Eli Zaretskii <eliz@gnu.org>
10884
10885 * whitespace.el (whitespace-newline): Use a different foreground
10886 color for 16-color light-background displays.
10887
4ad3bc2a
CY
108882011-11-24 Chong Yidong <cyd@gnu.org>
10889
10890 * window.el (display-buffer--special-action): Doc fix.
10891
e9fce1ac
JB
108922011-11-25 Juanma Barranquero <lekktu@gmail.com>
10893
10894 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10895 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10896 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10897 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10898 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10899 (avl-tree-stack-first):
10900 * emacs-lisp/cconv.el (cconv--analyse-use):
10901 * net/gnutls.el (gnutls-negotiate): Fix typos.
10902
cb825e5d
GM
109032011-11-24 Glenn Morris <rgm@gnu.org>
10904
3adbe224
GM
10905 * lpr.el (lpr-windows-system, lpr-lp-system):
10906 * mail/binhex.el (binhex-begin-line):
10907 * progmodes/grep.el (grep-history, grep-find-history):
10908 * textmodes/flyspell.el:
10909 * vc/pcvs-defs.el (cvs-global-menu):
10910 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10911 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10912 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10913
321decc8
GM
10914 * net/tls.el: Fix case of "GnuTLS".
10915
420b63ad
GM
10916 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10917
cb825e5d
GM
10918 * version.el (emacs-build-system): Give it a doc-string.
10919
a0649f08
JL
109202011-11-24 Juri Linkov <juri@jurta.org>
10921
10922 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10923
c0bc0fd4
GM
109242011-11-24 Glenn Morris <rgm@gnu.org>
10925
10926 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10927 if called on a non-mime message just toggle the headers. (Bug#8006)
10928
20db1522
JB
109292011-11-24 Juanma Barranquero <lekktu@gmail.com>
10930
10931 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10932 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10933 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10934 (allout-rebullet-heading, allout-open-sibtopic)
10935 (allout-toggle-current-subtree-encryption)
10936 (allout-toggle-subtree-encryption, allout-encrypt-string)
10937 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10938 (allout-distinctive-bullets-string, allout-auto-activation):
10939 * window.el (window-normalize-buffer-to-display):
10940 * progmodes/verilog-mode.el (verilog-batch-indent):
10941 * textmodes/bibtex.el (bibtex-field-braces-opt)
10942 (bibtex-field-strings-opt):
10943 * vc/cvs-status.el (cvs-tree-merge):
10944 Fix typos.
10945
7262a87c
MA
109462011-11-23 Michael Albinus <michael.albinus@gmx.de>
10947
10948 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10949 `non-essential' to t, in order to avoid remote connections.
10950
283430a1
EZ
109512011-11-23 Eli Zaretskii <eliz@gnu.org>
10952
a1beca85
SM
10953 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10954 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10955 case-insensitively.
10956
d2992a38
ML
109572011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10958
10959 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10960
50419064
GM
109612011-11-23 Glenn Morris <rgm@gnu.org>
10962
da94eca1
GM
10963 * paths.el (rmail-file-name): Reformat the doc-string so that it
10964 is picked up.
10965
9aac4de2
GM
10966 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10967 (rmail-auto-file): Ignore case in the "special" field names,
10968 as mail-fetch-field does for all others.
10969
8038d2d2
GM
10970 * mail/rmail.el (rmail-forward):
10971 * mail/rmailkwd.el (rmail-set-label):
10972 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10973 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10974
f3fe222a
GM
10975 * mail/rmail.el (rmail-current-message): Doc fix.
10976
50419064
GM
10977 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10978
28109f49
SM
109792011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10980
10981 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10982
394c65f1
GM
109832011-11-22 Glenn Morris <rgm@gnu.org>
10984
10985 * mail/rmailmm.el (test-rmail-mime-handler)
10986 (test-rmail-mime-bulk-handler)
10987 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10988
f2a0aa3a
JL
109892011-11-21 Juri Linkov <juri@jurta.org>
10990
1154d12e
JB
10991 * calc/calc.el (calc-read-key-sequence):
10992 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10993
9c34a344
LMI
109942011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10995
10996 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10997 Tell the caller that the next line needs recomputation, even
10998 though it doesn't start a sexp (bug#10094).
10999
f04a3be9
SM
110002011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11003
7978747f
SM
110042011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11005
f04a3be9
SM
11006 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11007 Use force-same-window.
7978747f 11008
fe7a3057
JB
110092011-11-20 Juanma Barranquero <lekktu@gmail.com>
11010
11011 * descr-text.el (describe-char-unicode-data):
11012 * json.el (json-string-escape):
11013 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11014 (Footnote-unicode, Footnote-style-p):
11015 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11016
24901d61
CY
110172011-11-20 Chong Yidong <cyd@gnu.org>
11018
11019 * window.el (replace-buffer-in-windows): Restore interactive spec.
11020
bac7ff22
SM
110212011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11022
24f3d7b9
SM
11023 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11024
bac7ff22
SM
11025 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11026 (byte-compile-global-not-obsolete-vars): New var.
11027 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11028 Use it.
11029 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11030
cd1181db
JB
110312011-11-20 Juanma Barranquero <lekktu@gmail.com>
11032
11033 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11034 * progmodes/pascal.el (electric-pascal-equal):
11035 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11036 * xml.el (xml-substitute-special): Fix typos.
11037
7fb18e9e
GM
110382011-11-20 Glenn Morris <rgm@gnu.org>
11039
11040 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11041 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11042 Doc fixes.
11043 (rmail-decode-mime-charset): Mark as obsolete.
11044
11045 * mail/rmailsum.el (rmail-message-regexp-p-1):
11046 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11047 Before using mime functions, check they are set. (Bug#10077)
11048
d5a6b3ba
JL
110492011-11-19 Juri Linkov <juri@jurta.org>
11050
11051 * info.el (Info-finder-find-node): Use `package--builtins' instead
11052 of `package-alist'. Use node names formed by the pattern "Keyword "
11053 and the keyword name.
11054
e981b61f
AS
110552011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11056
1d00653d 11057 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11058
3ffbc301
JL
110592011-11-19 Juri Linkov <juri@jurta.org>
11060
11061 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11062 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11063 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11064 `old-history', `old-history-forward'. Add let-binding
11065 `window-selected'. Remove calls to `kill-buffer',
11066 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11067 before calling `Info-find-node', so `Info-find-node-2' will reread
11068 the Info file. Restore window positions only when `window-selected'
11069 is non-nil.
11070
30c62133
JL
110712011-11-19 Juri Linkov <juri@jurta.org>
11072
11073 * isearch.el (isearch-lazy-highlight-new-loop):
11074 Remove condition `(not isearch-error)'. (Bug#9918)
11075
11076 * misearch.el (multi-isearch-search-fun): Add condition
11077 `(not bound)' to ignore lazy-highlighting search.
11078 Add the search-failed message "end of multi" when the end of
11079 multi-sequence is reached. Uncapitalize the search-failed
11080 message "Repeat for next buffer".
11081
11082 * info.el (Info-search): Add the search-failed message
11083 "end of the manual" when the end of the manual is reached
11084 in Isearch mode.
11085
645ca9cf
JL
110862011-11-19 Juri Linkov <juri@jurta.org>
11087
11088 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11089 Use non-destructive `remove' instead of `delete' because
11090 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11091 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11092
df754f66
JL
110932011-11-19 Juri Linkov <juri@jurta.org>
11094
11095 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11096 to nil instead of binding `search-ring' and `regexp-search-ring'.
11097 (Bug#9185)
11098
0e23d96a
EZ
110992011-11-19 Eli Zaretskii <eliz@gnu.org>
11100
11101 * simple.el (line-move): Force movement by logical lines for any
11102 hscrolled window, not only when auto-hscroll-mode is on.
11103 (line-move-visual): Update doc string to that effect. (Bug#10076)
11104
8a6ccb66
AS
111052011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11106
11107 * language/european.el (macintosh): Define as alias for mac-roman.
11108
49ae5b39
EZ
111092011-11-19 Eli Zaretskii <eliz@gnu.org>
11110
11111 * mail/rmailmm.el (rmail-mime-display-header)
11112 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11113 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11114 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11115 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11116 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11117 of a raw aref.
11118 (rmail-mime-entity-segment): To get past the tagline, move forward
11119 2 more lines, to account for the 2 empty lines that precede and
11120 follow the line with the buttons.
11121 (rmail-mime-update-tagline): Move one more line, to get past the
11122 empty line that follows the buttons in the tagline. (Bug#9520)
11123
c56cad4a
MR
111242011-11-19 Martin Rudalics <rudalics@gmx.at>
11125
11126 * window.el (window-max-delta-1, window-min-delta-1)
11127 (window-min-size-1, window-state-get-1, window-state-put-1)
11128 (window-state-put-2): Use "window--" prefix.
11129
cbe71af3
SM
111302011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11131
2ad52c60
SM
11132 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11133 (smie-warning-count): New var.
11134 (smie-set-prec2tab): Use it.
11135 (smie-bnf->prec2): Improve warnings. Add docstring.
11136 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11137 (smie-bnf--set-class): New function.
11138 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11139 corner case.
11140
6944dbc1
SM
11141 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11142 (compilation-error-properties, compilation-move-to-column):
11143 Handle compilation-first-column while in the target buffer.
11144
c400c4d7
SM
11145 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11146 Don't hardcode point-min==1.
11147
6dbe3e96
SM
11148 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11149 (eshell-rewrite-for-command): Remove workaround.
11150 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11151 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11152 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11153
cbe71af3
SM
11154 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11155
a8e1496d
GM
111562011-11-17 Glenn Morris <rgm@gnu.org>
11157
11158 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11159 Ignore buffer-local generated-autoload-file if it is the same
11160 as the global value. (Bug#10049)
11161
df85d315
JB
111622011-11-17 Juanma Barranquero <lekktu@gmail.com>
11163
11164 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11165 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11166 (reftex-toc-previous-heading, reftex-toc-max-level)
11167 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11168 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11169 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11170 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11171 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11172 (reftex-toc-rename-label, reftex-toc-visit-location)
11173 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11174 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11175 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11176 leaving "*toc*" only for references to the buffer.
11177
a0c2d0ae
MR
111782011-11-17 Martin Rudalics <rudalics@gmx.at>
11179
11180 * window.el (window-resize, delete-window, split-window):
11181 Replace window-splits by window-combination-resize.
1d00653d 11182 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11183
35c0bac8
GM
111842011-11-17 Glenn Morris <rgm@gnu.org>
11185
11186 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11187 Make bash entry derive from sh entry, not shell entry.
11188
d0c8fc8a
MA
111892011-11-16 Michael Albinus <michael.albinus@gmx.de>
11190
7262a87c
MA
11191 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11192 local file name.
11193
7877f373
JB
111942011-11-16 Juanma Barranquero <lekktu@gmail.com>
11195
11196 * menu-bar.el (menu-bar-file-menu):
11197 * printing.el (pr-ps-utility):
11198 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11199 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11200 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11201 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11202 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11203 (icalendar--convert-cyclic-to-ical)
11204 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11205 (icalendar--convert-ical-to-diary)
11206 (icalendar--convert-recurring-to-diary)
11207 (icalendar--convert-non-recurring-all-day-to-diary)
11208 (icalendar-import-format-sample):
11209 * progmodes/idlw-shell.el (idlwave-shell-mode):
11210 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11211 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11212 (vhdl-ps-print-init): Fix typos.
11213
10649b82
KM
112142011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11215
9d0cfcd6
GM
11216 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11217 FSF and collapse date sequence, obscure author/maintainer email address
11218 better, remove extra version line, track relocation of author's webpage.
10649b82 11219
9d0cfcd6
GM
11220 * progmodes/python.el (python-pdbtrack-input-prompt)
11221 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11222 regular python pdb prompts. Adjustments shamelessly taken exactly as
11223 suggested in EmacsWiki page (tiny change):
11224 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11225
58179cce
JB
112262011-11-16 Juanma Barranquero <lekktu@gmail.com>
11227
11228 * expand.el (expand-pos, expand-index, expand-point):
11229 Remove redundant info from docstring.
11230 (expand-add-abbrevs): Doc fix.
11231 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11232 (expand-sample-perl-mode-expand-list): Fix typos.
11233
11234 * net/dbus.el (dbus-event-member-name):
11235 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11236 * term/pc-win.el (msdos-create-frame-with-faces):
11237 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11238
b6f67890
MR
112392011-11-16 Martin Rudalics <rudalics@gmx.at>
11240
11241 * window.el (split-window, window-state-get-1)
11242 (window-state-put-1, window-state-put-2): Rename occurrences of
11243 window-nest to window-combination-limit.
1d00653d 11244 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11245
ce7ddba0
CY
112462011-11-16 Chong Yidong <cyd@gnu.org>
11247
11248 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11249 regexp (Bug#10033).
11250
3ae704f4
SM
112512011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11252
11253 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11254 `completing-read' will remove *Completions* and will preserve
11255 current-buffer for us.
11256 (tmm-add-prompt): Users of *Completions* will always (re)set its
11257 major mode.
11258 (tmm-old-comp-map): Remove.
11259
6ad1cdde
GM
112602011-11-16 Glenn Morris <rgm@gnu.org>
11261
11262 * mail/rmailedit.el: Require rmailmm when compiling.
11263 (rmail-old-mime-state): New declaration.
11264 (rmail-edit-current-message): If editing a mime message,
11265 edit the "raw" message from the mbox buffer.
11266 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11267
d20faa20
GM
112682011-11-15 Glenn Morris <rgm@gnu.org>
11269
11270 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11271 which wasn't being used. Add optional arg to force given state.
11272 (rmail-mime): Add optional arg to force given state.
11273
c7015153
JB
112742011-11-15 Juanma Barranquero <lekktu@gmail.com>
11275
11276 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11277 * frame.el (display-mm-dimensions-alist):
11278 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11279 (outline-move-subtree-down):
11280 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11281 (newsticker--treeview-do-get-node):
11282 * net/quickurl.el (quickurl-list-buffer-name):
11283 * progmodes/dcl-mode.el (dcl-mode):
11284 * progmodes/gdb-mi.el (gdb-mapcar*):
11285 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11286
45261b50
GM
112872011-11-15 Glenn Morris <rgm@gnu.org>
11288
11289 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11290 in a boolean sense, so just make it a boolean, and fix the doc.
11291 (rmail-show-mime-function, rmail-mime-feature)
11292 (rmail-require-mime-maybe): Doc fixes.
11293 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11294
11295 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11296
0d26e0b6
JB
112972011-11-15 Juanma Barranquero <lekktu@gmail.com>
11298
11299 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11300 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11301 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11302 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11303
447f30f6
GM
113042011-11-15 Glenn Morris <rgm@gnu.org>
11305
672b871d
GM
11306 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11307 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11308 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11309 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11310 (rmail-mime, rmail-show-mime): Doc fixes.
11311
f6aa5bb1
GM
11312 * term/ns-win.el (mode-line-frame-identification):
11313 Leave it alone. (Bug#10051)
11314
947cd66b
GM
11315 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11316
447f30f6
GM
11317 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11318 Handle empty buffers. (Bug#9978)
11319
0b381c7e
JB
113202011-11-14 Juanma Barranquero <lekktu@gmail.com>
11321
11322 * international/mule.el (define-charset):
11323 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11324 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11325 * progmodes/verilog-mode.el (verilog-backward-token):
11326 * textmodes/ispell.el (lookup-words):
11327 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11328
71e027ac
GM
113292011-11-14 Glenn Morris <rgm@gnu.org>
11330
56632ce4
GM
11331 * progmodes/executable.el
11332 (executable-make-buffer-file-executable-if-script-p):
11333 Handle file-modes returning nil.
11334
40500957
GM
11335 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11336 message - not necessary, and causes problems. (Bug#9831)
11337
071c2340
GM
11338 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11339
d3cfca60
GM
11340 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11341
71e027ac
GM
11342 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11343 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11344 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11345
89d61221
MR
113462011-11-12 Martin Rudalics <rudalics@gmx.at>
11347
11348 * window.el (window-resize, delete-window): Use window-splits
11349 variable instead of function.
11350 (window-state-get-1, window-state-put-2, window-state-put):
11351 Don't deal with windows' splits status.
11352
98282f6f
GM
113532011-11-12 Glenn Morris <rgm@gnu.org>
11354
11355 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11356 (apropos-documentation): Doc fixes.
11357
40a8bdf6
JB
113582011-11-11 Juanma Barranquero <lekktu@gmail.com>
11359
11360 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11361 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11362
65bd19ff
SM
113632011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * electric.el (electric-indent-post-self-insert-function): Make it
11366 possible for a char to only indent in some circumstances.
11367 (electric-indent-mode): Simplify.
11368
54f9154c
MR
113692011-11-11 Martin Rudalics <rudalics@gmx.at>
11370
11371 * window.el (windows-with-parameter): Remove unused function.
11372 (windows-at-side): Rename to window-at-side-list.
11373 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11374 (window-side-check, window-size-ignore, window-size-fixed-1)
11375 (window-in-direction-2): Prefix with "window--".
11376 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11377
68cbc58b
GM
113782011-11-11 Glenn Morris <rgm@gnu.org>
11379
11380 * subr.el (eval-after-load): If FILE is already loaded,
11381 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11382
b2621720
GM
113832011-11-10 Glenn Morris <rgm@gnu.org>
11384
9a4de110
GM
11385 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11386 Call svn via vc-svn-command rather than vc-do-command.
11387 (vc-svn-command): Add --non-interactive. (Bug#9993)
11388 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11389
b2621720
GM
11390 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11391 Add toggle-read-only. (Bug#7292)
11392 * files.el (toggle-read-only): Mention that it should only
11393 be used interactively. (Bug#10006)
11394
1dce7193
SM
113952011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11396
d9ac1a1e
SM
11397 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11398 Adjust regexp for OCaml warnings.
11399
0c325082
SM
11400 * electric.el (electric-pair-post-self-insert-function): Let user
11401 turn it off buffer-locally (bug#9932).
11402
90132c14
SM
11403 * progmodes/python.el (python-beginning-of-statement):
11404 Rewrite (bug#2703).
11405
1dce7193
SM
11406 * progmodes/compile.el: Better handle TABs (bug#9749).
11407 (compilation-internal-error-properties)
11408 (compilation-next-error-function): Obey the target buffer's
11409 compilation-error-screen-columns.
11410
c4e7c63a
JB
114112011-11-09 Juanma Barranquero <lekktu@gmail.com>
11412
11413 * progmodes/meta-mode.el: Remove obsolete comments.
11414 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11415 Fix typos in docstrings.
11416
2cffd681
MR
114172011-11-09 Martin Rudalics <rudalics@gmx.at>
11418
11419 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11420 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11421 (window--resizable): New function. Make all callers of
11422 window-resizable call window--resizable instead.
11423 (window-resizable): Rewrite in terms of window--resizable.
11424
0edcba87
GM
114252011-11-08 Glenn Morris <rgm@gnu.org>
11426
11427 * progmodes/delphi.el (delphi-mode-syntax-table):
11428 Let define-derived-mode define a proper syntax table. (Bug#9994)
11429
4b0d61e3
SM
114302011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11431
11432 * window.el: Stay away from defsubst.
11433 (window-list-no-nils): Remove.
11434 (window-state-get-1, window-state-get): Use backquote instead.
11435
cd394be1 114362011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11437
4b0d61e3 11438 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11439 Fix incorrect use of default argument in `completing-read'.
11440
e1c2c6f2
MR
114412011-11-08 Martin Rudalics <rudalics@gmx.at>
11442
11443 * window.el (display-buffer-function, special-display-function):
11444 Mention display-buffer-record-window but do not mention
11445 help-setup parameter in doc-strings.
b3f4a882 11446 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11447
105216ed
CY
114482011-11-08 Chong Yidong <cyd@gnu.org>
11449
11450 * window.el (window-total-height, window-total-width): Doc fix.
11451 (window-body-size): Move from C.
11452 (window-body-height, window-body-width): Move to C.
11453
0a9f9ab5
SM
114542011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * window.el: Make special-display like display-buffer-alist (bug#9532).
11457 (display-buffer--special-action): New function, morphed
11458 from display-buffer--special.
11459 (display-buffer): Use it to handle special-display-buffers at higher
11460 priority (just after display-buffer-alist).
11461 (display-buffer-fallback-action, display-buffer--other-frame-action)
11462 (pop-to-buffer-same-window): Remove display-buffer--special.
11463
a769dd15
GM
114642011-11-07 Glenn Morris <rgm@gnu.org>
11465
11466 * calendar/cal-menu.el (cal-menu-set-date-title):
11467 Do nothing if not in a calendar. (Bug#9976)
11468
05a61ee3
SM
114692011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11470
11471 * files.el (find-file): Always use selected-window.
11472
be7f5545
MR
114732011-11-07 Martin Rudalics <rudalics@gmx.at>
11474
11475 * window.el (window-combinations): Make WINDOW argument
11476 mandatory. Rewrite doc-string.
11477 (walk-window-subtree, window-atom-check, window-min-delta)
11478 (window-max-delta, window--resize-this-window)
11479 (window--resize-root-window-vertically, window-tree)
11480 (balance-windows, window-state-put): Rewrite doc-strings as to
11481 not mention the term "subwindow".
11482 (window--resize-subwindows-skip-p): Rename to
11483 window--resize-child-windows-skip-p.
11484 (window--resize-subwindows-normal): Rename to
11485 window--resize-child-windows-normal.
11486 (window--resize-subwindows): Rename to
11487 window--resize-child-windows.
11488 (window-or-subwindow-p): Rename to window--in-subtree-p.
11489
3c6702ef
ML
114902011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11491
11492 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11493 Ensure that mbox format messages end in two newlines (Bug#9974).
11494
49745b39
CY
114952011-11-06 Chong Yidong <cyd@gnu.org>
11496
11497 * window.el (window-combination-p): Function deleted; its
11498 side-effect is not used in any existing code.
11499 (window-combinations, window-combined-p): Call window-*-child
11500 directly.
11501
24300f5f
CY
115022011-11-05 Chong Yidong <cyd@gnu.org>
11503
11504 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11505 (window-size-ignore, window-state-get): Callers changed.
11506 (window-normalize-window): Rename from window-normalize-any-window.
11507 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11508 (window-normalize-live-window): Delete.
447f16b8
CY
11509 (window-combination-p, window-combined-p, window-combinations)
11510 (walk-window-subtree, window-atom-root, window-min-size)
11511 (window-sizable, window-sizable-p, window-size-fixed-p)
11512 (window-min-delta, window-max-delta, window-resizable)
11513 (window-resizable-p, window-full-height-p, window-full-width-p)
11514 (window-current-scroll-bars, window-point-1, set-window-point-1)
11515 (window-at-side-p, window-in-direction, window-resize)
11516 (adjust-window-trailing-edge, maximize-window, minimize-window)
11517 (window-deletable-p, delete-window, delete-other-windows)
11518 (record-window-buffer, unrecord-window-buffer)
11519 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11520 (quit-window, split-window, window-state-put)
11521 (set-window-text-height, fit-window-to-buffer)
11522 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11523
89bd5ee1
EZ
115242011-11-04 Eli Zaretskii <eliz@gnu.org>
11525
53479029
EZ
11526 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11527 rfc2047-decode-string.
11528 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11529 warnings.
11530
89bd5ee1
EZ
11531 * window.el (window-body-height, window-body-width): Mention in
11532 the doc string that the return values are in frame's canonical
11533 units. (Bug#9949)
11534
bd17fdee
AM
115352011-11-03 Alan Mackenzie <acm@muc.de>
11536
11537 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11538 change in cc-engine.el.
11539
acc825c5
SM
115402011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11541
11542 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11543
1885e5b8
MR
115442011-11-02 Martin Rudalics <rudalics@gmx.at>
11545
11546 * window.el (quit-window): Call unrecord-window-buffer after
11547 showing another buffer in the window. (Bug#9937)
acc825c5 11548 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11549
ebe06da9
JB
115502011-11-02 Juanma Barranquero <lekktu@gmail.com>
11551
11552 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11553 Accept status with more than 9 shelves. (Bug#9935)
11554 Reported by Colin D Bennett <colin@gibibit.com>.
11555
4ee88440
MR
115562011-11-01 Martin Rudalics <rudalics@gmx.at>
11557
11558 * help.el (with-help-window): Don't reference
11559 temp-buffer-show-specifiers in doc-string.
11560
08e1d82c
AS
115612011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11562
11563 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11564 menu-item.
11565
84bd6e9e
VJL
115662011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11567
11568 * whitespace.el: New version 13.2.2.
11569 (whitespace-newline-mode): Disable properly. Reported by Sarah
11570 <EmacsWiki>.
11571
dba0634a
UJ
115722011-10-30 Ulf Jasper <ulf.jasper@web.de>
11573
11574 * net/newst-treeview.el: Remove "Time-stamp".
11575 (newsticker--group-manage-orphan-feeds): Do not call
11576 newsticker--treeview-tree-update.
db22a3c2
JB
11577 (newsticker-treeview-update, newsticker-treeview):
11578 Call newsticker--treeview-tree-update if necessary.
dba0634a 11579
3d8daefe
MR
115802011-10-30 Martin Rudalics <rudalics@gmx.at>
11581
11582 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11583 (window-iso-combinations): Remove "iso-" infix.
11584 Suggested by Chong Yidong.
3d8daefe
MR
11585 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11586 (window-max-delta-1, window-resize, window--resize-siblings)
11587 (window--resize-this-window, adjust-window-trailing-edge)
11588 (split-window, balance-windows-1)
11589 (shrink-window-if-larger-than-buffer):
11590 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11591 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11592
1bc4c3ae
SM
115932011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11594
11595 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11596 in place (bug#9907).
11597 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11598 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11599 (eshell-structure-basic-command, eshell-rewrite-while-command)
11600 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11601 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11602 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11603 (eshell-do-pipelines-synchronously, eshell-eval-command):
11604 Use backquotes and prefer setq to set.
11605 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11606 (eshell-macrop): Use functionp.
c1e2f5fa 11607 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11608
30b65d9c
CY
116092011-10-30 Chong Yidong <cyd@gnu.org>
11610
11611 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11612 instead of set-mark (Bug#9810).
11613
2d197ffb
CY
116142011-10-30 Chong Yidong <cyd@gnu.org>
11615
11616 * window.el (split-window-below, split-window-right): Rename from
11617 split-window-above-each-other and split-window-side-by-side
11618 respectively. All callers changed.
11619 (split-window-sensibly, split-window-sensibly): Use them.
11620 (split-window-keep-point): Doc fix.
11621
11622 * isearch.el: Add isearch-scroll property to split-window-below
11623 and split-window-right.
11624
11625 * follow.el (follow-mode):
11626 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11627 * progmodes/ada-xref.el (ada-gdb-application):
11628 * emulation/vip.el (vip-buffer-in-two-windows):
11629 * image-dired.el (image-dired-dired-with-window-configuration):
11630 * dired-x.el (dired-do-find-marked-files):
11631 * dired.el (dired-pop-to-buffer):
11632 * bs.el (bs--show-with-configuration):
11633 * vc/emerge.el (emerge-setup-windows):
11634 * textmodes/two-column.el (2C-two-columns):
11635 * textmodes/reftex-toc.el (reftex-toc):
11636 * progmodes/gdb-mi.el (gdb-setup-windows):
11637 * progmodes/fortran.el (fortran-window-create):
11638 * net/newst-treeview.el (newsticker--treeview-window-init):
11639 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11640 * emulation/tpu-edt.el (tpu-gold-map):
11641 * emulation/crisp.el (crisp-mode-map):
11642 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11643
38bb2ca8
CY
116442011-10-29 Chong Yidong <cyd@gnu.org>
11645
aa4de341
CY
11646 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11647
e1eb5385
CY
11648 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11649
5d2ece3c
CY
11650 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11651 forged Ispell output (Bug#7904).
11652
38bb2ca8
CY
11653 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11654
d0af9f77
SM
116552011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11656
11657 * doc-view.el: Avoid ugly errors about not finding nil.
11658 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11659 (doc-view-dvipdf-program, doc-view-unoconv-program)
11660 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11661 Avoid nil or absolute file name as default value.
11662 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11663
52bedd34
AM
116642011-10-28 Alan Mackenzie <acm@muc.de>
11665
db22a3c2 11666 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11667
7e43cfa5
AM
116682011-10-28 Alan Mackenzie <acm@muc.de>
11669
11670 Amend the handling of c-beginning/end-of-defun in nested declaration
11671 scopes.
11672
52bedd34
AM
11673 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11674 cc-langs.el. Change it to a defcustom.
7e43cfa5 11675
52bedd34
AM
11676 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11677 cc-vars.el.
7e43cfa5 11678
d0af9f77
SM
11679 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11680 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11681
52bedd34 11682 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11683 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11684 (c-widen-to-enclosing-decl-scope): New function.
11685 (c-while-widening-to-decl-block): New macro.
11686 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11687 outward for defun boundaries, and correspondingly change symbol
11688 `respect-enclosure' to `go-outward'.
11689 (c-declaration-limits): Change algorithm to report only the "innermost"
11690 defun's boundaries.
11691
1a2ce9ee
DD
116922011-10-28 Deniz Dogan <deniz@dogan.se>
11693
11694 * net/rcirc.el (rcirc-mode): Use hard newlines.
11695
bc97a826
AM
116962011-10-28 Alan Mackenzie <acm@muc.de>
11697
11698 Amend to indent and fontify macros "which include their own semicolon"
11699 correctly, using the "virtual semicolon" mechanism.
11700
52bedd34 11701 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11702
d0af9f77 11703 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11704 Recode to scan one line at a time rather than having \n and \r
58179cce 11705 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11706 (c-forward-label): Amend for virtual semicolons.
58179cce 11707 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11708
52bedd34
AM
11709 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11710 of the new C macros.
bc97a826 11711
52bedd34 11712 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11713 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11714 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11715 (c-opt-cpp-macro-define): Make into a full language variable.
11716 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11717 AWK Mode (including \n, \r) removed, no longer needed.
11718
d0af9f77
SM
11719 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11720 Invoke c-make-macro-with-semi-re.
bc97a826 11721
52bedd34
AM
11722 * progmodes/cc-vars.el (c-macro-with-semi-re):
11723 (c-macro-names-with-semicolon): New variables.
58179cce 11724 (c-make-macro-with-semi-re): New function.
bc97a826 11725
7a6c0941
SM
117262011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * vc/log-edit.el: Fill empty field rather than adding new one.
11729 (log-edit-add-field): New function.
11730 (log-edit-insert-changelog): Use it.
11731
b0c4cdcf
ML
117322011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11733
11734 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11735
ee1f1da9
SM
117362011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11737
11738 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11739 (gdb--check-interpreter): New function.
11740 (gdb): Use it.
11741
51bc5f8b
GM
117422011-10-27 Glenn Morris <rgm@gnu.org>
11743
416a2c45
GM
11744 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11745 (least-positive-float, least-negative-float)
11746 (least-positive-normalized-float, least-negative-normalized-float)
11747 (float-epsilon, float-negative-epsilon):
11748 Remove unnecessary declarations.
11749
11750 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11751 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11752 (least-positive-float, least-negative-float)
11753 (least-positive-normalized-float, least-negative-normalized-float)
11754 (float-epsilon, float-negative-epsilon): Add doc-strings,
11755 based on those in cl.texi.
11756
51bc5f8b
GM
11757 * files.el (set-visited-file-name): If the major-mode changed,
11758 reload the local variables. (Bug#9796)
11759
15de15c6
CY
117602011-10-27 Chong Yidong <cyd@gnu.org>
11761
11762 * subr.el (change-major-mode-after-body-hook): New hook.
11763 (run-mode-hooks): Run it.
11764
ee1f1da9
SM
11765 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11766 Use change-major-mode-before-body-hook.
15de15c6
CY
11767
11768 * simple.el (fundamental-mode):
11769 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11770 change introducing fundamental-mode-hook.
11771
5430d399
JB
117722011-10-26 Juanma Barranquero <lekktu@gmail.com>
11773
acc825c5 11774 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11775
ad74a69e
MA
117762011-10-26 Michael Albinus <michael.albinus@gmx.de>
11777
11778 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11779 tramp.el explicitly. (Bug#7583)
ad74a69e 11780
71d4c2a5
SM
117812011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * progmodes/octave-mod.el:
11784 * progmodes/octave-inf.el: Update maintainer.
11785
b1f6fa26
CY
117862011-10-26 Chong Yidong <cyd@gnu.org>
11787
11788 * subr.el (with-wrapper-hook): Rewrite doc.
11789
3f04efd6
MA
117902011-10-25 Michael Albinus <michael.albinus@gmx.de>
11791
11792 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11793 filenames "/method:foo:". (Bug#9793)
3f04efd6 11794
410488d3
SM
117952011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11796
11797 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11798 (bug#9865).
11799
c1ebb47e
GM
118002011-10-24 Glenn Morris <rgm@gnu.org>
11801
11802 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11803
7f5c46c7
MA
118042011-10-24 Michael Albinus <michael.albinus@gmx.de>
11805
11806 * notifications.el: Add the requirement of a running D-Bus session
11807 bus to the Commentary.
11808
db2440b6
JL
118092011-10-24 Juri Linkov <juri@jurta.org>
11810
11811 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11812 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11813 (Bug#9364)
11814
feecf435
JL
118152011-10-24 Juri Linkov <juri@jurta.org>
11816
11817 * info.el (Info-following-node-name-re): Add newline to the list
11818 of allowed characters for leading space. (Bug#9824)
11819
a3839de2
SM
118202011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11821
acc825c5
SM
11822 * progmodes/octave-inf.el (inferior-octave-mode-map):
11823 Fix C-c C-h binding.
a3839de2
SM
11824 * progmodes/octave-mod.el (octave-help): Remove.
11825
09388e76
MA
118262011-10-23 Michael Albinus <michael.albinus@gmx.de>
11827
11828 Sync with Tramp 2.2.3.
11829
11830 * net/tramp-cache.el (top): Pacify byte-compiler using
11831 `init-file-user' and `site-run-file'.
11832
11833 * net/trampver.el: Update release number.
11834
86c60681
CY
118352011-10-23 Chong Yidong <cyd@gnu.org>
11836
11837 * files.el (toggle-read-only): Remove obsolete comment about
11838 version control.
11839
11840 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11841 for toggle-read-only. Note that this hasn't called vc-next-action
11842 since 2008-05-02, though it wasn't documented at the time.
11843
a3839de2
SM
11844 * vc/ediff-init.el (ediff-toggle-read-only-function):
11845 Use toggle-read-only.
86c60681 11846
cd5495ff
AM
118472011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11848
11849 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11850 of c-parse-state.
11851
00b77525 11852 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11853 correct faulty logical expression.
cd5495ff
AM
11854 (c-parse-state-state, c-record-parse-state-state):
11855 (c-replay-parse-state-state): New defvar/defuns.
11856 (c-debug-parse-state): Use new functions.
11857
42ee24ed
MR
118582011-10-22 Martin Rudalics <rudalics@gmx.at>
11859
11860 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11861 last fix. Use window-in-direction correctly.
42ee24ed 11862
a7dee7e7
CY
118632011-10-21 Chong Yidong <cyd@gnu.org>
11864
11865 * progmodes/idlwave.el (idlwave-mode):
11866 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11867 require-final-newline; that's done in prog-mode.
11868 Suggested by Stefan Monnier.
a7dee7e7 11869
e07b9a6d
MR
118702011-10-21 Martin Rudalics <rudalics@gmx.at>
11871
11872 * mouse.el (mouse-drag-window-above)
11873 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11874 (mouse-drag-mode-line-1, mouse-drag-header-line)
11875 (mouse-drag-vertical-line-rightward-window): Remove.
11876 (mouse-drag-line): New function.
11877 (mouse-drag-mode-line, mouse-drag-header-line)
11878 (mouse-drag-vertical-line): Call mouse-drag-line.
11879 * window.el (window-at-side-p, windows-at-side): New functions.
11880
7e1361d9
UM
118812011-10-21 Ulrich Mueller <ulm@gentoo.org>
11882
11883 * tar-mode.el (tar-grind-file-mode):
11884 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11885
30fcaf3a
CY
118862011-10-21 Chong Yidong <cyd@gnu.org>
11887
11888 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11889 * progmodes/vera-mode.el (vera-mode):
11890 Use mode-require-final-newline.
30fcaf3a 11891
516eddb0
GM
118922011-10-20 Glenn Morris <rgm@gnu.org>
11893
db22a3c2 11894 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11895
10d5f513
CS
118962011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11897
11898 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11899
ac6c8639
CY
119002011-10-20 Chong Yidong <cyd@gnu.org>
11901
11902 * emulation/cua-base.el (cua-mode):
11903 * mail/footnote.el (footnote-mode):
11904 * mail/mailabbrev.el (mail-abbrevs-mode):
11905 * net/xesam.el (xesam-minor-mode):
11906 * progmodes/bug-reference.el (bug-reference-mode):
11907 * progmodes/cap-words.el (capitalized-words-mode):
11908 * progmodes/compile.el (compilation-minor-mode)
11909 (compilation-shell-minor-mode):
11910 * progmodes/gud.el (gud-tooltip-mode):
11911 * progmodes/hideif.el (hide-ifdef-mode):
11912 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11913 * progmodes/subword.el (subword-mode):
11914 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11915 * progmodes/which-func.el (which-function-mode):
11916 * term/tvi970.el (tvi970-set-keypad-mode):
11917 * term/vt100.el (vt100-wide-mode):
11918 * textmodes/flyspell.el (flyspell-mode):
11919 * textmodes/ispell.el (ispell-minor-mode):
11920 * textmodes/nroff-mode.el (nroff-electric-mode):
11921 * textmodes/paragraphs.el (use-hard-newlines):
11922 * textmodes/refill.el (refill-mode):
11923 * textmodes/reftex.el (reftex-mode):
11924 * textmodes/rst.el (rst-minor-mode):
11925 * textmodes/sgml-mode.el (html-autoview-mode)
11926 (sgml-electric-tag-pair-mode):
11927 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11928 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11929 * emulation/crisp.el (crisp-mode):
11930 * emacs-lisp/eldoc.el (eldoc-mode):
11931 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11932 minor mode behavior.
11933
aa42ab43
JL
119342011-10-19 Juri Linkov <juri@jurta.org>
11935
11936 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11937 the list of hard-coded chars with escape-glyph face.
11938
89400f1d
SM
119392011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11942
305c07f6
MA
119432011-10-19 Michael Albinus <michael.albinus@gmx.de>
11944
11945 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11946 running process.
11947
13754b54
GM
119482011-10-19 Glenn Morris <rgm@gnu.org>
11949
11950 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11951 Ignore ignored files. (Bug#9726)
11952
06e21633
CY
119532011-10-19 Chong Yidong <cyd@gnu.org>
11954
11955 Doc fix for minor modes, stating that an omitted argument enables
11956 the mode unconditionally when called from Lisp.
11957
11958 * abbrev.el (abbrev-mode):
11959 * allout.el (allout-mode):
11960 * autoinsert.el (auto-insert-mode):
11961 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11962 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11963 (global-auto-revert-mode):
11964 * battery.el (display-battery-mode):
11965 * composite.el (global-auto-composition-mode)
11966 (auto-composition-mode):
11967 * delsel.el (delete-selection-mode):
11968 * desktop.el (desktop-save-mode):
11969 * dired-x.el (dired-omit-mode):
11970 * dirtrack.el (dirtrack-mode):
11971 * doc-view.el (doc-view-minor-mode):
11972 * double.el (double-mode):
11973 * electric.el (electric-indent-mode, electric-pair-mode):
11974 * emacs-lock.el (emacs-lock-mode):
11975 * epa-hook.el (auto-encryption-mode):
11976 * follow.el (follow-mode):
11977 * font-core.el (font-lock-mode):
11978 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11979 * help.el (temp-buffer-resize-mode):
11980 * hilit-chg.el (highlight-changes-mode)
11981 (highlight-changes-visible-mode):
11982 * hi-lock.el (hi-lock-mode):
11983 * hl-line.el (hl-line-mode, global-hl-line-mode):
11984 * icomplete.el (icomplete-mode):
11985 * ido.el (ido-everywhere):
11986 * image-file.el (auto-image-file-mode):
11987 * image-mode.el (image-minor-mode):
11988 * iswitchb.el (iswitchb-mode):
11989 * jka-cmpr-hook.el (auto-compression-mode):
11990 * linum.el (linum-mode):
11991 * longlines.el (longlines-mode):
11992 * master.el (master-mode):
11993 * mb-depth.el (minibuffer-depth-indicate-mode):
11994 * menu-bar.el (menu-bar-mode):
11995 * minibuf-eldef.el (minibuffer-electric-default-mode):
11996 * mouse-sel.el (mouse-sel-mode):
11997 * msb.el (msb-mode):
11998 * mwheel.el (mouse-wheel-mode):
11999 * outline.el (outline-minor-mode):
12000 * paren.el (show-paren-mode):
12001 * recentf.el (recentf-mode):
12002 * reveal.el (reveal-mode, global-reveal-mode):
12003 * rfn-eshadow.el (file-name-shadow-mode):
12004 * ruler-mode.el (ruler-mode):
12005 * savehist.el (savehist-mode):
12006 * scroll-all.el (scroll-all-mode):
12007 * scroll-bar.el (scroll-bar-mode):
12008 * server.el (server-mode):
12009 * shell.el (shell-dirtrack-mode):
12010 * simple.el (auto-fill-mode, transient-mark-mode)
12011 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12012 (line-number-mode, column-number-mode, size-indication-mode)
12013 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12014 * strokes.el (strokes-mode):
12015 * time.el (display-time-mode):
12016 * t-mouse.el (gpm-mouse-mode):
12017 * tool-bar.el (tool-bar-mode):
12018 * tooltip.el (tooltip-mode):
12019 * type-break.el (type-break-mode-line-message-mode)
12020 (type-break-query-mode):
12021 * view.el (view-mode):
12022 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12023 (global-whitespace-mode, global-whitespace-newline-mode):
12024 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12025
a3839de2
SM
12026 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12027 Fix autogenerated docstring.
06e21633 12028
5214e501
JL
120292011-10-19 Juri Linkov <juri@jurta.org>
12030
12031 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12032 by checking environment variables "DESKTOP_SESSION" and
12033 "XDG_CURRENT_DESKTOP". (Bug#9779)
12034
195f8db9
JL
120352011-10-19 Juri Linkov <juri@jurta.org>
12036
12037 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12038 (browse-url-chromium-program, browse-url-chromium-arguments):
12039 New defcustoms.
12040 (browse-url-default-browser): Check for `browse-url-chromium' and
12041 call `browse-url-chromium-program'.
12042 (browse-url-chromium): New command. (Bug#9779)
12043
343a34ff
JB
120442011-10-18 Juanma Barranquero <lekktu@gmail.com>
12045
12046 * facemenu.el (list-colors-duplicates): On Windows, detect more
12047 duplicates by assuming that only colors matching "^System" are
12048 special "system colors". (Bug#9722)
12049
6978a151
SM
120502011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12051
12052 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12053 to distinguish the author from the committer.
12054
6a80b297
MA
120552011-10-18 Michael Albinus <michael.albinus@gmx.de>
12056
12057 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12058
b31a5677
JK
120592011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12060
12061 * international/mule.el (sgml-html-meta-auto-coding-function):
12062 Add support for detecting encoding in HTML5 specified only as
12063 <meta charset="UTF-8">. Implementation just makes http-equiv and
12064 content-type parts from HTML4 encoding string optional. (Bug#9716)
12065
80c6d77f
GM
120662011-10-18 Glenn Morris <rgm@gnu.org>
12067
12068 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12069
08b0fee8
CY
120702011-10-18 Chong Yidong <cyd@gnu.org>
12071
12072 * faces.el (cursor): Doc fix.
12073
67e729a5
CY
120742011-10-17 Chong Yidong <cyd@gnu.org>
12075
12076 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12077
343a34ff 120782011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12079
12080 * dirtrack.el (dirtrack): Support shell buffers with path
12081 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12082
0bc06380
TZ
120832011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12084
12085 * json.el: Bump version to 1.3 and note change in History.
12086 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12087
8b79f3e0
SM
120882011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12089
5a7c536b
SM
12090 * comint.el (comint-insert-input, comint-send-input)
12091 (comint-get-old-input-default, comint-backward-matching-input)
12092 (comint-next-prompt): Use nil instead of `input' for field property of
12093 past user input (bug#114).
12094
96a8a0df
SM
12095 * minibuffer.el (completion--replace): Inherit surrounding properties
12096 (bug#114).
12097 (minibuffer-complete-and-exit): Use it.
12098
8b79f3e0
SM
12099 * comint.el (comint--table-subvert): Quote the all-completions output
12100 (bug#9160).
12101
b8f7ff0d
MR
121022011-10-17 Martin Rudalics <rudalics@gmx.at>
12103
8b79f3e0 12104 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12105
b8f7ff0d 12106 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12107 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12108 entries and separate them from frame entries.
12109
c235b555
GM
121102011-10-15 Glenn Morris <rgm@gnu.org>
12111
12112 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12113 Doc fixes.
12114
6bbfa6e1
CY
121152011-10-15 Chong Yidong <cyd@stupidchicken.com>
12116
8b79f3e0
SM
12117 * net/network-stream.el (network-stream-open-starttls):
12118 Improve detection of failure due to lack of TLS support.
ec5c990d 12119
6bbfa6e1
CY
12120 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12121 putting the input text in front and in bold.
12122
98488977
SM
121232011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12124
3d1337be
SM
12125 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12126
ee0b45e4
SM
12127 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12128 empty buffer.
12129
98488977
SM
12130 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12131 unread-command-events rather than pushing yet-another event.
12132
186f4720
EZ
121332011-10-14 Eli Zaretskii <eliz@gnu.org>
12134
12135 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12136 the explanation of the possible choices. Make the options passed
12137 to completing-read shorter.
12138
8b7a997c
AM
121392011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12140
12141 * textmodes/flyspell.el (flyspell-large-region): Make sure
12142 extended character mode is used if defined (Bug#1339).
12143
12587bbb
EZ
121442011-10-13 Eli Zaretskii <eliz@gnu.org>
12145
12146 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12147 character info for LRE, LRO, RLE, and RLO characters by appending
12148 an invisible PDF.
12587bbb 12149
bad41229
SM
121502011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12151
12152 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12153 even in case of error; add debug spec; simplify data flow.
12154 (with-timeout-handler): Remove.
12155
28dbc92f
MA
121562011-10-12 Michael Albinus <michael.albinus@gmx.de>
12157
12158 Fix Bug#6019, Bug#9315.
12159
12160 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12161 complete `buffer-file-name', the local file name part could look
12162 remotely (for example on VMS).
12163
12164 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12165 `tramp-run-real-handler'.
12166 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12167 already quoted by '"'.
12168
12169 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12170 Let `file-name-handler-alist' be nil, the local file name part
12171 could look remotely (for example on VMS).
12172
e1b0b23a
SM
121732011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12174
12175 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12176 from here...
12177 (flyspell-post-command-hook): ...to here.
12178
a120bde9
SM
121792011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12180
12181 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12182 if not needed.
12183 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12184 using completion. Protect against "slow" callers.
12185 Remove the "message hack".
12186
7ce7717b
JL
121872011-10-11 Juri Linkov <juri@jurta.org>
12188
12189 * isearch.el (isearch-lazy-highlight-word): New variable.
12190 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12191 Use it. (Bug#9727)
12192
c02ee9d6
GM
121932011-10-11 Glenn Morris <rgm@gnu.org>
12194
12195 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12196 like f90-previous-statement does.
12197
93e616fd 121982011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12199
1f190e73 12200 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12201 only in interactive use, to avoid error.
12202
af7b6078
SM
122032011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12204
12205 * minibuffer.el (completion-file-name-table): Fix last change,
12206 i.e. ignore normal errors but not the other ones.
12207
0563dae9
MR
122082011-10-10 Martin Rudalics <rudalics@gmx.at>
12209
12210 * window.el (special-display-buffer-names)
12211 (special-display-regexps): Remove some remnants of earlier
12212 changes from doc-strings.
366ca7f3
MR
12213 (quit-windows-on): New function.
12214
12215 * vc/vc.el (vc-revert, vc-rollback):
12216 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12217 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12218 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12219
49677495
MR
122202011-10-09 Martin Rudalics <rudalics@gmx.at>
12221
12222 * window.el (frame-auto-hide-function): Add version tag.
12223 (Bug#9699)
12224
56f2d1e1
MA
122252011-10-09 Michael Albinus <michael.albinus@gmx.de>
12226
12227 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12228 condition.
12229
112a6592
LL
122302011-10-09 Leo Liu <sdl.web@gmail.com>
12231
12232 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12233 (Bug#9701)
12234
0812589b
GM
122352011-10-08 Glenn Morris <rgm@gnu.org>
12236
12237 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12238 before the first code statement zero indent. (Bug#9690)
12239
b2b0776e
CY
122402011-10-08 Chong Yidong <cyd@stupidchicken.com>
12241
12242 * simple.el (count-words-region): Always count in the region.
12243 Report the number of lines and characters too.
12244 (count-words): New command, which counts in the buffer if the
12245 region is inactive, as count-words-region used to.
12246 (count-words--message): New function. Handle plurals.
12247 (count-lines-region): Make it an alias for count-words-region.
12248
12249 * bindings.el (esc-map): Replace count-lines-region with
12250 count-words-region.
12251
c557cd6b
MR
122522011-10-08 Martin Rudalics <rudalics@gmx.at>
12253
12254 * window.el (window--delete): Delete dedicated frame
12255 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12256 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12257
61a57ef4 122582011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12259
3a7d293b 12260 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12261
c3833279
CY
122622011-10-07 Chong Yidong <cyd@stupidchicken.com>
12263
12264 * bindings.el ([M-left],[M-right]): Bind to left-word and
12265 right-word respectively.
12266
21ce8245
GM
122672011-10-07 Glenn Morris <rgm@gnu.org>
12268
12269 * cus-start.el (debug-on-quit): Fix custom type.
12270
6d823bb2
LMI
122712011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12272
0181e193
LMI
12273 * subr.el (define-key-after): Clarify that the function is not
12274 useful for non-menu keymaps.
12275
6d823bb2
LMI
12276 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12277
8e3459ce 122782011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12279
21ce8245 12280 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12281 in current minibuffer (Fix bug with recursive minibuffers).
12282
a1c2d21e
CY
122832011-10-06 Chong Yidong <cyd@stupidchicken.com>
12284
12285 * progmodes/gdb-mi.el (gdb): Doc fix.
12286
5a4cf282
MR
122872011-10-05 Martin Rudalics <rudalics@gmx.at>
12288
12289 * window.el (frame-auto-hide-function): New option replacing
12290 frame-auto-delete. Suggested by Stefan Monnier.
12291 (window--delete): Call frame-auto-hide-function instead of
12292 investigating frame-auto-delete.
c96111ea
MR
12293 (window-point-1, set-window-point-1): New functions.
12294 (window-in-direction, record-window-buffer, window-state-get-1)
12295 (display-buffer-record-window): Use window-point-1 instead of
12296 window-point.
12297 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12298
9854542e
SM
122992011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12302
8943cfb0
GM
123032011-10-05 Glenn Morris <rgm@gnu.org>
12304
12305 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12306 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12307
647ab967
LL
123082011-10-05 Leo Liu <sdl.web@gmail.com>
12309
12310 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12311 works with buffer object.
12312
3ddfbced
SM
123132011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12314
12315 * mpc.el (mpc-tool-bar-map): Add labels.
12316
bdfa5dd2
GM
123172011-10-04 Glenn Morris <rgm@gnu.org>
12318
12319 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12320
0e2070b5
MR
123212011-10-04 Martin Rudalics <rudalics@gmx.at>
12322
12323 * window.el (window--delete): New function.
12324 (frame-auto-delete): Resuscitate option.
12325 (bury-buffer, replace-buffer-in-windows)
12326 (quit-window): Rewrite using window--delete.
12327 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12328 Pass display-buffer-mark-dedicated to window--display-buffer-2
12329 (Bug#9639).
12330
3dc61a09
SM
123312011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12332
915a9b64
SM
12333 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12334 returns a list (bug#9554). Add remote file name completion.
12335 * comint.el (comint--table-subvert): Curry and get quote&unquote
12336 functions as arguments.
12337 (comint--complete-file-name-data): Adjust call accordingly.
12338 * pcomplete.el (pcomplete--table-subvert): Remove.
12339 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12340
3dc61a09
SM
12341 * minibuffer.el (completion-table-case-fold): Use currying.
12342 (completion--styles-type, completion--cycling-threshold-type):
12343 New constants.
12344 (completion-styles, completion-category-overrides)
12345 (completion-cycle-threshold): Use them.
12346 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12347 completion-table-case-fold.
12348
8ea0a993
SB
123492011-10-03 Stephen Berman <stephen.berman@gmx.net>
12350
12351 * minibuffer.el (completion-category-overrides): Fix type of styles
12352 and add more user friendly tags (bug#9660).
12353
8c24b7f6
SM
123542011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12357 (mule-input-method-string): New widget.
12358 (default-input-method, language-info-custom-alist): Use it.
12359
428fe61a
SM
123602011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12361
32c1fffd
SM
12362 * pcomplete.el: Require comint.
12363 (pcomplete--common-suffix): Remove.
12364 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12365 (pcomplete--table-subvert): Sync with comint--table-subvert.
12366 (pcomplete--entries): Use comint-completion-file-name-table.
12367 * comint.el (comint-unquote-filename): Simplify.
12368 (comint-completion-file-name-table): New function (bug#9616).
12369 (comint--complete-file-name-data): Use it.
12370
428fe61a
SM
12371 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12372 (pcmpl-gnu-tar-buffer): Remove.
12373 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12374 around. Make sure pcomplete-suffix-list is only changed temporarily.
12375 Don't look inside the tar's file if it's too large.
428fe61a 12376
04c52e2f
CY
123772011-10-01 Chong Yidong <cyd@stupidchicken.com>
12378
ce3cefcc
CY
12379 * cus-edit.el (custom-mode-map):
12380 * epa.el (epa-key-list-mode-map):
12381 * man.el (Man-mode-map):
12382 * startup.el (splash-screen-keymap):
12383 * simple.el (special-mode-map): Use scroll-up-command and
12384 scroll-down-command.
12385
12386 * progmodes/idlw-help.el (idlwave-help-mode-map):
12387 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12388 * net/newst-plainview.el (newsticker-mode-map):
12389 * emulation/ws-mode.el (wordstar-mode-map):
12390 * emulation/vi.el (vi-com-map):
12391 * calc/calc-graph.el (calc-graph-show-dumb):
12392 * term/sun.el (terminal-init-sun):
12393 * term/ns-win.el (global-map):
12394 * progmodes/grep.el (grep-mode-map):
12395 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12396 * mail/rmail.el (rmail-mode-map):
12397 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12398
04c52e2f
CY
12399 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12400 custom-safe-themes as special.
12401
79adf8c8
JD
124022011-10-01 Julien Danjou <julien@danjou.info>
12403
12404 * notifications.el (notifications-notify): Fix docstring.
12405
63bd50d3
PS
124062011-10-01 Per Starbäck <per@starback.se>
12407
12408 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12409
199e4c7e
MR
124102011-09-30 Martin Rudalics <rudalics@gmx.at>
12411
12412 * startup.el (command-line-1): Fix last fix by inserting
12413 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12414 (Bug#9605) and (Bug#9636)
199e4c7e 12415
fe5f08dd
EZ
124162011-09-29 Eli Zaretskii <eliz@gnu.org>
12417
12418 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12419 window is hscrolled, move by logical lines. (Bug#9607)
12420 (line-move-visual): Update the doc string to the above effect.
12421
b5516bbd
MR
124222011-09-29 Martin Rudalics <rudalics@gmx.at>
12423
ccee00c0
MR
12424 * window.el (display-buffer-record-window): When WINDOW is the
12425 selected window use `point' instead of `window-point'. (Bug#9626)
12426
b5516bbd
MR
12427 * startup.el (command-line-1): Use insert-before-markers when
12428 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12429
b5516bbd
MR
12430 * help.el (help-window): Remove variable.
12431
52aa0014
GM
124322011-09-29 Glenn Morris <rgm@gnu.org>
12433
12434 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12435
df9a7357
JB
124362011-09-29 Juanma Barranquero <lekktu@gmail.com>
12437
12438 * descr-text.el (describe-char-categories): Accept category
12439 descriptions more than one line long.
12440
a8406c20
SM
124412011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12442
88d9610c
SM
12443 * simple.el (delete-trailing-whitespace): Fix last change.
12444
a5daf810
SM
12445 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12446 Don't confuse "y => 3" as the beginning of a `y' operation.
12447
a8406c20
SM
12448 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12449 object has more than 4 slots (bug#9613).
12450
a239d4e9
JB
124512011-09-28 Juanma Barranquero <lekktu@gmail.com>
12452
12453 * subr.el (with-output-to-temp-buffer):
12454 * net/quickurl.el (quickurl, quickurl-browse-url):
12455 Fix typos in docstrings.
12456
693fbdb6
EZ
124572011-09-27 Eli Zaretskii <eliz@gnu.org>
12458
12459 * minibuffer.el (completion-styles)
12460 (completion-category-overrides): Cross reference each other in doc
12461 strings.
12462
8b457e28
GM
124632011-09-27 Glenn Morris <rgm@gnu.org>
12464
12465 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12466 to split-string. (Bug#9606)
12467
85a16208
LMI
124682011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12469
12470 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12471 (bug#9615).
12472
502f9ebd
CY
124732011-09-27 Chong Yidong <cyd@stupidchicken.com>
12474
12475 * emacs-lisp/package.el (list-packages): Fix echo area message.
12476
7690bdea
LL
124772011-09-27 Leo Liu <sdl.web@gmail.com>
12478
12479 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12480
e2ee6f30
MA
124812011-09-25 Michael Albinus <michael.albinus@gmx.de>
12482
12483 * net/dbus.el (dbus-unregister-object): Don't release services for
12484 registered signals. (Bug#9581)
12485
f3f98342
TZ
124862011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12487
12488 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12489 function that picks between cfengine 2 and 3 support
12490 automatically. Update docs accordingly.
12491
dd7aa8dd
KH
124922011-09-22 Kenichi Handa <handa@m17n.org>
12493
12494 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12495 ZERO.
12496 (indian-itrans-v5-table-for-tamil): New variable.
12497 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12498
3f2b07f8
KM
124992011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12500
12501 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12502 that's true if the current command involved collapsing of text.
12503 It's reset to false at the beginning of the next command.
12504 (allout-post-command-business): Move the cursor to the beginning
12505 of entry if the cursor is hidden and collapsing activity just
12506 happened.
12507
371d6a61
CY
125082011-09-24 Chong Yidong <cyd@stupidchicken.com>
12509
12510 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12511 tracking (Bug#9541).
12512
2ac2721a
UJ
125132011-09-24 Ulf Jasper <ulf.jasper@web.de>
12514
12515 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12516 (newsticker-show-news): Automatically load html rendering package
12517 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12518 because w3m-fill-column is let-bound" and the error "Symbol's value
12519 as variable is void: w3m-fill-column".
2ac2721a 12520
fac7ae53
MA
125212011-09-24 Michael Albinus <michael.albinus@gmx.de>
12522
12523 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12524 Release services only if they are defined. (Bug#9581)
12525
e08b633b
RS
125262011-09-23 Richard Stallman <rms@gnu.org>
12527
e488d29c
RS
12528 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12529 distinguish start of paragraph from start of its text.
12530
19c38752
RS
12531 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12532
e08b633b
RS
12533 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12534 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12535 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12536
0a39f27e
AS
125372011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12538
12539 * international/mule-diag.el (mule-diag): Insert a newline after
12540 each fontset description.
12541
db4e950d
SM
125422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12543
12544 * simple.el (delete-trailing-whitespace):
12545 Document last change; simplify.
12546
eca3f3ea
PW
125472011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12548
d68e189a
PW
12549 * simple.el (delete-trailing-whitespace): Also delete
12550 extra newlines at the end of the buffer.
12551
eca3f3ea
PW
12552 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12553 (picture-newline): Use forward-line so as to ignore fields.
12554
01c157cc
SM
125552011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12556
12557 * subr.el (with-wrapper-hook): Fix edebug spec.
12558
022de23e
LMI
125592011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12560
12561 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12562 (bug#4538).
12563
91683089
MA
125642011-09-23 Michael Albinus <michael.albinus@gmx.de>
12565
eca3f3ea
PW
12566 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12567 Fix nasty bug using wrong cached values.
91683089 12568
5bdd6fa4
AM
125692011-09-23 Alan Mackenzie <acm@muc.de>
12570
12571 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12572
97adfb97
CY
125732011-09-23 Chong Yidong <cyd@stupidchicken.com>
12574
12575 * window.el (pop-to-buffer): Ensure right window is selected if we
12576 chose another frame.
12577
d4ef2b50
EZ
125782011-09-22 Eli Zaretskii <eliz@gnu.org>
12579
12580 * simple.el (what-cursor-position): Use get-char-property-change
12581 and next-single-char-property-change, to be able to show display
12582 properties that come from overlays as well as text properties.
12583
72258fe5
CY
125842011-09-22 Chong Yidong <cyd@stupidchicken.com>
12585
12586 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12587
12588 * cmuscheme.el (run-scheme, switch-to-scheme):
12589 * cus-edit.el (customize-group, custom-buffer-create)
12590 (customize-browse):
12591 * info.el (info):
12592 * shell.el (shell):
12593 * mail/sendmail.el (mail):
12594 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12595
8f098516
RS
125962011-09-22 Richard Stallman <rms@gnu.org>
12597
12598 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12599 move back only to line beg, don't move back over blank lines.
12600
e74f1bb6
MA
126012011-09-22 Michael Albinus <michael.albinus@gmx.de>
12602
12603 * files.el (copy-directory): Set directory attributes only in case
12604 they could be retrieved from the source directory. (Bug#9565)
12605
bfeef8b6
DK
126062011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12607
12608 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12609 (hs-find-block-beginning, hs-hide-level-recursive):
12610 Ignore strings as well as comments. (Bug#9502)
12611
7e423bb8
AS
126122011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12613
12614 * progmodes/sql.el (sql-comint-postgres):
12615 Convert port number to a string. (Bug#9566)
12616
b4d72fcf
MR
126172011-09-22 Martin Rudalics <rudalics@gmx.at>
12618
12619 * window.el (quit-window): Undedicate window when switching to
12620 previous buffer. Reported by Thierry Volpiatto
12621 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12622 (special-display-popup-frame): When popping up a new frame reset
12623 its previous buffers to nil. Simplify code.
b4d72fcf 12624
a7b88dc6
MA
126252011-09-21 Michael Albinus <michael.albinus@gmx.de>
12626
12627 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12628 and process filter, as done also in `shell-command'.
12629
cf4eacfd
MR
126302011-09-21 Martin Rudalics <rudalics@gmx.at>
12631
eca3f3ea 12632 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12633 Call set-window-start with NOFORCE argument t.
12634 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12635 (quit-window): Reword doc-string. Handle new format of
12636 quit-restore parameter. Don't delete window if it has a
12637 previous buffer we can show instead of the present one.
12638 (display-buffer-record-window): Rewrite using a new format for
12639 the quit-restore window parameter
12640 (special-display-popup-frame, display-buffer-same-window)
12641 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12642 (display-buffer-pop-up-window, display-buffer-use-some-window):
12643 Adapt symbol passed to display-buffer-record-window.
12644 * help.el (help-window-setup): Handle new format of quit-restore
12645 parameter.
12646
8d28cb95
SM
126472011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12648
94ab793f
SM
12649 * faces.el (face-list): Fix docstring (bug#9564).
12650
8d28cb95
SM
12651 * window.el (display-buffer--action-function-custom-type):
12652 Don't include internal functions in the Custom interface.
12653
3820edeb
JL
126542011-09-20 Juri Linkov <juri@jurta.org>
12655
12656 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12657 (Info-forward-node, Info-backward-node, Info-next-preorder)
12658 (Info-last-preorder): Use it. (Bug#9528)
12659
5147931d
JL
126602011-09-20 Juri Linkov <juri@jurta.org>
12661
12662 * info.el (Info-last-preorder): Visit last menu item only when
12663 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12664
cf499a1a
JD
126652011-09-20 Julien Danjou <julien@danjou.info>
12666
12667 * password-cache.el (password-cache-remove): Remove entries even if the
12668 value is nil, so that password with a nil value (negative caching) is
12669 possible to invalidate.
12670
f84e2fe2
LM
126712011-09-20 Lawrence Mitchell <wence@gmx.li>
12672
12673 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12674 all whitespace around breakpoint. (Bug#9553)
12675 (f90-find-breakpoint): Only break at whitespace inside a comment.
12676
78054a46
SM
126772011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * minibuffer.el (completion-file-name-table): Keep track of errors.
12680 (completion-table-with-predicate): Handle the case where pred1 is nil.
12681 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12682
345083b2
SM
126832011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12684
e24e27be
SM
12685 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12686 (debugger-return-value): Signal an error if the debugging context does
12687 not await any return value.
12688
345083b2
SM
12689 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12690 * image-mode.el (image-toggle-display-text)
12691 (image-toggle-display-image): Stay away from evil `intangible'.
12692
08d355e3
LL
126932011-09-19 Leo Liu <sdl.web@gmail.com>
12694
12695 * replace.el (occur-revert-arguments): Make it permanent-local.
12696 (occur-mode): Don't call font-lock-defontify.
12697
f01da43f
CY
126982011-09-19 Chong Yidong <cyd@stupidchicken.com>
12699
12700 * net/ldap.el (ldap-search-internal): Don't push empty search
12701 result (Bug#9508).
12702
b6072fa6
SM
127032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12704
12705 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12706
443d6696
MA
127072011-09-19 Michael Albinus <michael.albinus@gmx.de>
12708
12709 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12710 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12711
7cc6e154
JL
127122011-09-18 Juri Linkov <juri@jurta.org>
12713
12714 * buff-menu.el (Buffer-menu-mode-map):
12715 * dired.el (dired-mode-map):
12716 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12717 (lisp-interaction-mode-map):
12718 * emacs-lisp/package.el (package-menu-mode-map):
12719 * epa.el (epa-key-list-mode-map):
12720 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12721 (menu-bar-options-menu):
12722 * outline.el (outline-mode-menu-bar-map):
12723 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12724 * vc/vc-dir.el (vc-dir-menu-map):
12725 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12726 Capitalize non-function content words in menu item strings.
12727
12728 * dired.el (dired-mode-map): Add menu item for
12729 `image-dired-dired-toggle-marked-thumbs'.
12730
80302a81
JL
127312011-09-18 Juri Linkov <juri@jurta.org>
12732
12733 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12734 to `isearch-case-fold-search' and restore its original value
12735 after the `isearch-mode' call.
12736
46c5cf66
JL
127372011-09-18 Juri Linkov <juri@jurta.org>
12738
12739 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12740 because `zgrep' returns 1 for successful matches (bug#9226).
12741
d18b513b
JL
127422011-09-18 Juri Linkov <juri@jurta.org>
12743
12744 * info.el (Info-extract-menu-node-name): Check the second match
12745 for empty string (second test-case of bug#9528).
12746 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12747 intermediate nodes to the history (first test-case of bug#9528).
12748
72753f87
JL
127492011-09-18 Juri Linkov <juri@jurta.org>
12750
12751 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12752 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12753
c9384295
JL
127542011-09-18 Juri Linkov <juri@jurta.org>
12755
1154d12e
JB
12756 * info.el (Info-file-supports-index-cookies):
12757 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12758 outputs one more line for long file names (bug#4142).
c9384295 12759
d473dce8
CY
127602011-09-18 Chong Yidong <cyd@stupidchicken.com>
12761
12762 * newcomment.el (comment-normalize-vars): If prompting for
12763 comment-start, set comment-start-skip too (Bug#8424).
12764
2176854d
JB
127652011-09-18 Johan Bockgård <bojohan@gnu.org>
12766
12767 * icomplete.el: Fix previous fix of Bug#5849.
12768 (icomplete-mode): Don't set completion-show-inline-help.
12769 (icomplete-minibuffer-setup): Set completion-show-inline-help
12770 locally during icompletion.
12771
3aace4e4
CY
127722011-09-18 Chong Yidong <cyd@stupidchicken.com>
12773
c940224f
CY
12774 * woman.el (woman2-process-escapes): Don't delete unrecognized
12775 escapes (Bug#7843).
12776
3aace4e4
CY
12777 * files.el (inhibit-first-line-modes-regexps): Add image files.
12778 (hack-local-variables-prop-line): Return nil for malformed
12779 prop-lines (Bug#9044).
12780
710dec63
MA
127812011-09-18 Michael Albinus <michael.albinus@gmx.de>
12782
12783 * net/tramp.el (top): Don't require 'shell.
12784 (tramp-methods): Fix docstring.
12785 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12786 Return complete remote file name. Handle "smb" case.
12787 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12788 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12789
12790 * net/tramp-compat.el (top): Require 'shell.
12791
12792 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12793 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12794 `tramp-current-host'.
12795 (tramp-get-remote-tmpdir): Remove.
12796
12797 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12798 `tramp-tmpdir' entries.
12799 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12800 (tramp-smb-handle-file-attributes): Ignore errors.
12801 (tramp-smb-wait-for-output): Check also for process end.
12802
5d5ac8ec
LMI
128032011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12804
12805 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12806 when sending QUIT (bug#9312).
12807
8c0f49f0
CY
128082011-09-17 Chong Yidong <cyd@stupidchicken.com>
12809
12810 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12811 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12812 occur-mode-display-occurrence.
12813 (occur-edit-mode): Add usage message.
12814 (occur-cease-edit): New command.
12815 (occur-after-change-function): Use text properties to find the
12816 position of the prefix text.
12817 (occur-engine): Set stickiness of prefix text properties.
12818
8f1383f7
GM
128192011-09-17 Glenn Morris <rgm@gnu.org>
12820
12821 * progmodes/etags.el (complete-tag):
12822 Fix call to completion-in-region. (Bug#9526)
12823
744ba0e3
JL
128242011-09-17 Juri Linkov <juri@jurta.org>
12825
12826 * textmodes/ispell.el (ispell-word): Add to the error message
12827 the word, ispell program name and current dictionary (bug#9121).
12828 (ispell-tex-arg-end): Capitalize "error" in the error message.
12829
d9bbf400
AS
128302011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12831
12832 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12833 check. (Bug#4251)
12834
8da11505
JL
128352011-09-17 Juri Linkov <juri@jurta.org>
12836
12837 * window.el (window-safe-min-height, window-safe-min-width):
12838 Fix typos (followup to bug#9522).
12839
a91adc7e
SJ
128402011-09-17 Sven Joachim <svenjoac@gmx.de>
12841
12842 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12843
064f328a
EZ
128442011-09-16 Eli Zaretskii <eliz@gnu.org>
12845
12846 * simple.el (line-move): If goal-column is set, move by logical
12847 lines, not by display lines. (Bug#971)
12848 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12849 to reflect the above change.
12850
e69df516
SM
128512011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * image.el (imagemagick-register-types): Use regexp-opt.
12854
cbb0f9ab
CY
128552011-09-15 Chong Yidong <cyd@stupidchicken.com>
12856
12857 * window.el (display-buffer-base-action): Rename from
12858 display-buffer-default-action. Make default value empty.
12859 (display-buffer-overriding-action): Convert to defvar.
12860 (display-buffer-fallback-action): New var.
12861
25322144
CY
128622011-09-15 Chong Yidong <cyd@stupidchicken.com>
12863
12864 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12865 declaration.
12866 (package--add-to-archive-contents): If there is a duplicate entry
12867 with an older version, remove it.
12868 (package-menu-mark-delete, package-menu-mark-install)
12869 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12870 (package-menu-mark-obsolete-for-deletion):
12871 Use package-menu-get-status instead of a regexp search.
25322144
CY
12872 (package-menu-get-status): Use tabulated-list-entry.
12873 (package-menu-mark-upgrades): New command.
d770725a 12874 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12875 (package-menu-execute): Do installation before deletion.
12876 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12877 instead of checking major-mode.
12878 (package-menu--find-upgrades): New function.
12879
7520339c
LMI
128802011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12881
12882 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12883 passwords in the log buffer.
65a046c4
LMI
12884 (smtpmail-process-filter): Update the process marker so that the
12885 "broken by peer" status message is inserted in the right place.
7520339c 12886
d3c30954
SM
128872011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12888
3fe48822
SM
12889 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12890 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12891 bibtex-completion-at-point-function.
12892 (bibtex-completion-at-point-function): Use them.
12893
1b8b3954
SM
12894 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12895
d3c30954
SM
12896 * mpc.el (mpc-constraints-tag-lookup): New function.
12897 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12898 also to browser "album|playlist".
12899
72779976
JL
129002011-09-14 Juri Linkov <juri@jurta.org>
12901
12902 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12903 (isearch-edit-string): Use length of `isearch-string' when
12904 `isearch-fail-pos' returns nil.
12905 (isearch-message): Remove duplicate code and call
12906 `isearch-fail-pos' with arg `t'.
12907
a0bf2bcd
CY
129082011-09-14 Chong Yidong <cyd@stupidchicken.com>
12909
17bb0a2d
CY
12910 * replace.el (occur-mode-goto-occurrence): Don't force using other
12911 window (Bug#9499).
12912
a0bf2bcd
CY
12913 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12914
f678e0b6
MR
129152011-09-14 Martin Rudalics <rudalics@gmx.at>
12916
12917 * window.el (display-buffer-window): Remove.
12918 (display-buffer-record-window): Use help-setup window parameter
12919 instead of variable display-buffer-window.
12920 (display-buffer-function, special-display-buffer-names)
12921 (special-display-function): Mention help-setup parameter instead
12922 of display-buffer-window in doc-string.
d3c30954
SM
12923 * help.el (help-window-setup): New argument help-window.
12924 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12925 Reword some messages.
12926 (with-help-window): Pass window used for displaying the buffer
12927 to help-window-setup. Don't set display-buffer-window.
12928
8e39b2e8
GM
129292011-09-13 Glenn Morris <rgm@gnu.org>
12930
12931 * emacs-lisp/debug.el (debugger-make-xrefs):
12932 Preserve point. (Bug#9462)
12933
85e9c04b
CY
129342011-09-13 Chong Yidong <cyd@stupidchicken.com>
12935
12936 * window.el (window-deletable-p): Use next-frame.
12937
1b36ed6a
MR
129382011-09-13 Martin Rudalics <rudalics@gmx.at>
12939
12940 * window.el (window-auto-delete): Remove.
12941 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12942 dedication and previous buffers.
1b36ed6a
MR
12943 (switch-to-prev-buffer): Don't delete window.
12944 (delete-windows-on): Delete a window's frame if and only if the
12945 window is dedicated.
12946 (replace-buffer-in-windows): Delete buffer's window or frame if
12947 and only if window is dedicated.
12948 (quit-window): Handle quit-restore as before last change.
4d61f28d 12949 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12950
ef8ef9fb
CY
129512011-09-13 Chong Yidong <cyd@stupidchicken.com>
12952
12953 * window.el (window-deletable-p): Never delete the last frame on a
12954 given terminal.
12955
b2cba41e
GM
129562011-09-13 Glenn Morris <rgm@gnu.org>
12957
12958 * help.el (describe-key-briefly): Copy previous standard-output change.
12959
51553db6 129602011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12961
12962 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12963
b7556719
GM
129642011-09-13 Glenn Morris <rgm@gnu.org>
12965
12966 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12967 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12968
64b51947
CY
129692011-09-12 Chong Yidong <cyd@stupidchicken.com>
12970
12971 * dired-aux.el (dired-mark-read-string): Don't return default
12972 value on empty input (Bug#9361).
12973 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12974 Omit initial minibuffer contents.
12975 (dired-do-chmod): Signal an error on empty input.
12976 (dired-mark-read-string): Don't return default on empty input.
12977
12978 * files.el (file-modes-symbolic-to-number): Doc fix.
12979
393a301e
SM
129802011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12981
12982 * international/mule-cmds.el (ucs-completions): Remove.
12983 (read-char-by-name): Use complete-with-action instead; add metadata.
12984
fa5660f9
CY
129852011-09-11 Chong Yidong <cyd@stupidchicken.com>
12986
12987 * window.el (display-buffer--action-function-custom-type)
12988 (display-buffer--action-custom-type): New vars.
12989 (display-buffer-alist, display-buffer-default-action)
12990 (display-buffer-overriding-action): Add defcustom types.
12991
4a592f66
CY
12992 * frame.el (delete-other-frames): Doc fix (Bug#276).
12993
73d56dbd
LMI
129942011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12995
12996 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12997
37ac18a3
CY
129982011-09-11 Chong Yidong <cyd@stupidchicken.com>
12999
13000 Change modes that used same-window-* vars to use switch-to-buffer.
13001
13002 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13003 Use switch-to-buffer.
13004
13005 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13006 (customize-browse, custom-buffer-create-other-window):
13007 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13008
13009 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13010 (Info-prev, Info-up, Info-speedbar-goto-node)
13011 (info-display-manual): Use switch-to-buffer.
13012 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13013
13014 * mail/sendmail.el (mail): Use switch-to-buffer.
13015 (mail-recover): Use switch-to-buffer-other-window.
13016
13017 * cmuscheme.el (run-scheme, switch-to-scheme):
13018 * ielm.el (ielm):
13019 * shell.el (shell):
13020 * net/rlogin.el (rlogin):
13021 * net/telnet.el (telnet, rsh):
13022 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13023
10195bd6
AS
130242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13025
13026 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13027
b322f63a
LMI
130282011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13029
39d7fed6
LMI
13030 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13031 so don't mention it (bug#9301).
ba5a81f1 13032 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13033
ee0e9f11
LMI
13034 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13035 match `x', `w32' and `ns', like the manual says (bug#9029).
13036
0b1c89c1 13037 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13038 (process-kill-buffer-query-function): Mention the buffer name in
13039 the query.
0b1c89c1 13040
77549ea8
LMI
13041 * image-mode.el (image-next-line): The line parameter is mandatory
13042 (bug#9258).
13043
803ef892
LMI
13044 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13045 which can be useful (bug#9301).
13046
12980837
LMI
13047 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13048
91054f8f
LMI
13049 * subr.el (match-string): Mention that the current buffer should
13050 be the same as the search was done in (bug#9282).
13051
b322f63a
LMI
13052 * facemenu.el: Disable the remove-* commands if the mark isn't
13053 active (bug#9162).
13054
3199b96f
CY
130552011-09-10 Chong Yidong <cyd@stupidchicken.com>
13056
13057 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13058 of display-buffer.
13059 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13060
13061 * replace.el (occur-mode-goto-occurrence)
13062 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13063 and display-buffer.
13064
13065 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13066 display-buffer.
13067
13068 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13069 special-display and same-window variables.
13070 (mail-other-window): Use switch-to-buffer-other-window.
13071 (mail-other-frame): USe switch-to-buffer-other-frame.
13072
393a301e
SM
13073 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13074 Use display-buffer-other-frame.
3199b96f
CY
13075 (gdb-display-gdb-buffer): Use pop-to-buffer.
13076
13077 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13078
13079 * progmodes/python.el: Don't set same-window-buffer-names.
13080
13081 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13082
13083 * window.el (display-buffer-alist): Add *Python*.
13084
8319e0bf
CY
130852011-09-10 Chong Yidong <cyd@stupidchicken.com>
13086
13087 * window.el (display-buffer-alist): Add entry for buffers
13088 previously handled same-window-*.
13089 (display-buffer-alist, display-buffer-default-action)
13090 (display-buffer-overriding-action): Mark as risky.
13091 (display-buffer-alist): Document action function changes.
13092 (display-buffer--same-window-action)
13093 (display-buffer--other-frame-action): New variables.
13094 (switch-to-buffer, display-buffer-other-frame): Use them.
13095 (display-buffer): Rename reuse-frame entry to reusable-frames.
13096 (display-buffer-reuse-selected-window): Function deleted.
13097 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13098 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13099 (display-buffer-special): New function.
13100 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13101 display-buffer-reuse-or-pop-window. Split off special-display
13102 part into display-buffer-special.
13103 (display-buffer-use-some-window): Don't perform any special
13104 pop-up-frames handling.
13105 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13106 (display-buffer--maybe-same-window): Rename from
0d3ff375 13107 display-buffer-maybe-same-window.
8319e0bf 13108
919a69aa
CY
13109 * info.el: Don't set same-window-regexps.
13110 (info-setup): New function.
13111 (info-other-window, info): Call it.
13112
13113 * cus-edit.el: Don't set same-window-regexps.
13114 (customize-group): New argument.
13115 (customize-group-other-window): Use it.
13116 (customize-face, customize-face-other-window): Likewise.
13117 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13118
8319e0bf
CY
13119 * net/rlogin.el:
13120 * net/telnet.el:
13121 * progmodes/gud.el: Don't set same-window-regexps.
13122
13123 * cmuscheme.el:
13124 * ielm.el:
13125 * shell.el:
13126 * mail/sendmail.el:
13127 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13128
25173000
JL
131292011-09-10 Juri Linkov <juri@jurta.org>
13130
13131 * isearch.el (isearch-edit-string): Remove obsolete mention of
13132 `C-w' (`isearch-yank-word-or-char') from docstring.
13133 (isearch-query-replace): Fix typo in docstring (bug#9466).
13134
056e44ef
JL
131352011-09-10 Juri Linkov <juri@jurta.org>
13136
13137 * paren.el (show-paren-function): Don't show escaped parens.
13138 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13139
c3760c17
EZ
131402011-09-10 Eli Zaretskii <eliz@gnu.org>
13141
13142 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13143 (mm-default-file-encoding): Remove autoload forms, they are
13144 replaced with autoload cookies in mml.el and mm-encode.el.
13145 (mail-add-attachment): New command.
13146 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13147 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13148 the doc string.
13149 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13150
fece895e
RT
131512011-09-10 Reuben Thomas <rrt@sc3d.org>
13152
e69df516
SM
13153 * simple.el (count-words-region): Use buffer if there's no region
13154 (bug#9429).
fece895e 13155
5e68ce4a
JL
131562011-09-09 Juri Linkov <juri@jurta.org>
13157
13158 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13159 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13160 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13161
0a6b9622
AM
131622011-09-09 Alan Mackenzie <acm@muc.de>
13163
13164 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13165 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13166
14a29deb
EZ
131672011-09-09 Eli Zaretskii <eliz@gnu.org>
13168
13169 Fix for Savannah bug#9392.
13170 * simple.el (mail-encode-mml): New defvar.
13171
13172 * mail/rmail.el (mail-encode-mml): Add a defvar.
13173 (rmail-enable-mime-composing): Default to t.
13174 (rmail-forward): Use MIME method of forwarding only if both
13175 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13176 Set mail-encode-mml non-nil if the MIME method was used.
13177
13178 * mail/sendmail.el (mml-to-mime): Add autoload form.
13179 (mail-encode-mml): Add a defvar.
13180 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13181 to nil.
13182 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13183 message through mml-to-mime, and reset mail-encode-mml to nil.
13184
28c45130
GM
131852011-09-09 Glenn Morris <rgm@gnu.org>
13186
13187 * woman.el (woman-if-body): When processing an .el block,
13188 do not delete the next .el block as well. (Bug#9447)
69f4b618 13189 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13190
9b1c252e
MR
131912011-09-08 Martin Rudalics <rudalics@gmx.at>
13192
13193 * window.el (window-deletable-p): Make sure window is live before
13194 invoking window-prev-buffers.
13195
567457e3
LL
131962011-09-08 Leo Liu <sdl.web@gmail.com>
13197
13198 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13199
97f05794
JL
132002011-09-08 Juri Linkov <juri@jurta.org>
13201
13202 * progmodes/compile.el (compilation-environment): Make it
13203 a defcustom (bug#8340).
13204
8b0874b5
MR
132052011-09-08 Martin Rudalics <rudalics@gmx.at>
13206
13207 * window.el (frame-auto-delete): Rename to window-auto-delete.
13208 Make it control auto-deletion of windows and/or frames.
13209 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13210 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13211 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13212 Rewrite handling of case when window/frame can be deleted.
13213 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13214 argument t. (Bug#9456)
8b0874b5 13215
4feb6e73
CY
132162011-09-07 Chong Yidong <cyd@stupidchicken.com>
13217
13218 * help-mode.el (help-mode): Restore autoload.
13219
91ab9c13
JL
132202011-09-07 Juri Linkov <juri@jurta.org>
13221
13222 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13223 `compilation-environment'. Set buffer-local
13224 `compilation-environment' to `thisenv' later after (funcall mode).
13225 (Bug#8340)
13226
13227 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13228 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13229 instead of replacing its value. (Bug#8340)
13230
0527e251
JL
132312011-09-07 Juri Linkov <juri@jurta.org>
13232
13233 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13234 based on text properties put by `grep-filter' instead of matching
13235 escape sequences.
13236 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13237 to the value of `grep-error-screen-columns' (bug#9438).
13238
249f792c
JL
132392011-09-07 Juri Linkov <juri@jurta.org>
13240
13241 * simple.el (next-error-highlight, next-error-highlight-no-select):
13242 Doc fix (bug#9432).
13243
ff7271b9
OT
132442011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13245
13246 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13247 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13248
183fc730
LL
132492011-09-07 Leo Liu <sdl.web@gmail.com>
13250
13251 * net/rcirc.el (rcirc-mode): Conditionally initialize
13252 rcirc-input-ring.
13253
77694924
SM
132542011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * emacs-lisp/find-func.el (find-function-C-source): Only set
13257 find-function-C-source-directory after checking that we found a source
13258 file there (bug#9440).
13259
d809b8eb
AM
132602011-09-06 Alan Mackenzie <acm@muc.de>
13261
13262 * isearch.el (isearch-other-meta-char): Wherever a key list is
13263 unread, "unread" the prefix arg, too. This fixes bug #8901.
13264
453de99f
OG
132652011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13266
13267 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13268
90439906
JL
132692011-09-05 Juri Linkov <juri@jurta.org>
13270
13271 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13272
f62bd846
JL
132732011-09-05 Juri Linkov <juri@jurta.org>
13274
13275 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13276 keeping point where processing of grep matches begins, and
13277 continue to delete remaining escape sequences from the same point.
13278 (grep-filter): Make leading zero optional in "0?1;31m" because
13279 git-grep emits "\033[1;31m" escape sequences unlike expected
13280 "\033[01;31m" as GNU Grep does (bug#9408).
13281 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13282
045820ec
JL
132832011-09-05 Juri Linkov <juri@jurta.org>
13284
13285 * subr.el (y-or-n-p): Capitalize "yes".
13286
f5e29b9b
MA
132872011-09-04 Michael Albinus <michael.albinus@gmx.de>
13288
13289 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13290 `tramp-cache-unload-hook' where appropriate.
13291 (tramp-methods): Rename `tramp-remote-sh' to
13292 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13293 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13294
13295 * net/tramp-sh.el (top): Don't require 'shell.
13296 (tramp-methods): Add `tramp-remote-shell' and
13297 `tramp-remote-shell-args' entries.
13298 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13299 (tramp-sh-handle-shell-command): Remove.
13300 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13301 Use `tramp-remote-shell'.
13302
2784c434
CY
133032011-09-03 Chong Yidong <cyd@stupidchicken.com>
13304
393a301e 13305 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13306 (sendmail-query-once): Save directly to send-mail-function.
13307 Update message-send-mail-function too.
13308
13309 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13310
464cdf56
CS
133112011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13312
13313 * progmodes/python.el (python-mode-map): Use correct function to
13314 start python interpreter from menu-bar (as reported by Geert
13315 Kloosterman).
13316 (inferior-python-mode-map): Fix typo.
393a301e 13317 (python-shell-map): Remove.
464cdf56 13318
d37e5c87
DD
133192011-09-03 Deniz Dogan <deniz@dogan.se>
13320
13321 * net/rcirc.el (rcirc-print): Simplify code for
13322 rcirc-scroll-show-maximum-output. There is no need to walk
13323 through all windows to find the right one.
13324
f3ada0ee
CS
133252011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13326
13327 * help.el (help-return-method): Doc fix.
13328
1f3c99ca
MR
133292011-09-03 Martin Rudalics <rudalics@gmx.at>
13330
13331 * window.el (window-deletable-p): Don't return a non-nil value
13332 when there's a buffer that was shown in the window before.
13333 (Bug#9419)
393a301e
SM
13334 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13335 Set window's previous buffers to nil.
1f3c99ca 13336
a3cf097f
EZ
133372011-09-03 Eli Zaretskii <eliz@gnu.org>
13338
13339 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13340 newline before and after the tag line, so it doesn't interfere
13341 with determining the paragraph direction of bidirectional text.
13342
3d03de90
LL
133432011-09-03 Leo Liu <sdl.web@gmail.com>
13344
13345 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13346
c3313451
CY
133472011-09-02 Chong Yidong <cyd@stupidchicken.com>
13348
393a301e 13349 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13350 (pop-to-buffer): Change interactive spec. Pass second argument
13351 directly to display-buffer.
13352 (display-buffer): Fix interactive spec. Use functionp to
13353 distinguish between a function and a list of functions.
13354
13355 * abbrev.el (edit-abbrevs):
13356 * arc-mode.el (archive-extract):
13357 * autoinsert.el (auto-insert):
13358 * bookmark.el (bookmark-bmenu-list):
13359 * files.el (find-file):
13360 * view.el (view-buffer):
13361 * progmodes/compile.el (compilation-goto-locus):
13362 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13363
89894cd8
CY
133642011-09-02 Chong Yidong <cyd@stupidchicken.com>
13365
13366 * window.el (display-buffer-alist): Doc fix.
13367 (display-buffer): Add docstring. Don't treat
13368 display-buffer-default specially.
13369 (display-buffer-reuse-selected-window)
13370 (display-buffer-same-window, display-buffer-maybe-same-window)
13371 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13372 (display-buffer-pop-up-window)
13373 (display-buffer-reuse-or-pop-window)
13374 (display-buffer-use-some-window): New functions.
13375 (display-buffer-default-action): Use them.
393a301e 13376 (display-buffer-default): Delete.
89894cd8
CY
13377 (pop-to-buffer-1): Fix choice of actions.
13378
ae0bc9fb
SM
133792011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13380
13381 * minibuffer.el (completion--insert-strings): Don't get confused by
13382 completion entries that end with an LF char.
13383
e9d90883
EZ
133842011-09-01 Eli Zaretskii <eliz@gnu.org>
13385
13386 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13387
437014c8
CY
133882011-09-01 Chong Yidong <cyd@stupidchicken.com>
13389
13390 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13391 (display-buffer-same-window, display-buffer-other-window):
13392 New functions.
437014c8
CY
13393 (pop-to-buffer-1): New function. Use the above.
13394 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13395 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13396
13397 * view.el (view-buffer-other-window, view-buffer-other-frame):
13398 Just use pop-to-buffer.
13399
a5e063d5
TV
134002011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13401
13402 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13403
793d32bb
WH
134042011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13405
13406 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13407
d65e4c15
RS
134082011-08-31 Richard Stallman <rms@gnu.org>
13409
13410 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13411 of the separation of rmail-view-buffer from rmail-buffer.
13412 If you say no to "replace original", the decrypt is in the
13413 view buffer. If you say yes, the decrypt goes into the
13414 rmail buffer also.
13415
f818cd2a
MR
134162011-08-31 Martin Rudalics <rudalics@gmx.at>
13417
13418 * window.el (display-buffer-window): Rewrite doc-string.
13419 (display-buffer-record-window): New function.
13420 (display-buffer-macro-specifiers)
13421 (display-buffer-even-window-sizes, display-buffer-set-height)
13422 (display-buffer-set-width, display-buffer-in-window)
13423 (display-buffer-reuse-window, display-buffer-split-specifiers)
13424 (display-buffer-side-specifiers, display-buffer-split-window-1)
13425 (display-buffer-split-window, display-buffer-split-atom-window)
13426 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13427 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13428 (display-buffer-other-window-means-other-frame)
13429 (display-buffer-normalize-special)
13430 (display-buffer-normalize-default)
13431 (display-buffer-normalize-argument)
13432 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13433 (display-buffer-normalize-specifiers, display-buffer-frame)
13434 (display-buffer-same-window, display-buffer-same-frame)
13435 (display-buffer-other-window)
13436 (display-buffer-same-frame-other-window)
13437 (display-buffer-other-frame, pop-to-buffer-same-window)
13438 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13439 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13440 (switch-to-buffer-same-frame)
13441 (switch-to-buffer-other-window-same-frame)
13442 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13443 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13444 (display-buffer-alist-set): Remove.
13445 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13446 (special-display-regexps, special-display-function):
13447 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13448 parameter.
13449 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13450 (special-display-frame-alist, special-display-popup-frame)
13451 (same-window-buffer-names, same-window-regexps, same-window-p)
13452 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13453 (split-window-preferred-function, split-height-threshold)
13454 (split-width-threshold, window-splittable-p)
13455 (split-window-sensibly, window--try-to-split-window)
13456 (window--frame-usable-p, even-window-heights)
13457 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13458 (window--display-buffer-2, display-buffer-other-frame):
13459 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13460 (display-buffer-default, display-buffer-assq-regexp): New functions.
13461 (display-buffer-alist): Rewrite doc-string.
13462 (display-buffer-default-action)
13463 (display-buffer-overriding-action): New variables.
13464 (display-buffer, switch-to-buffer): Rewrite.
13465 (pop-to-buffer): Restore Emacs 23 behavior but use
13466 window-normalize-buffer-to-display.
13467 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13468 Restore Emacs 23 behavior but use
13469 window-normalize-buffer-to-switch-to.
13470 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13471 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13472 Rewrite using Emacs 23 options.
f818cd2a 13473
5bc3b51d
MA
134742011-08-31 Michael Albinus <michael.albinus@gmx.de>
13475
13476 * net/tramp.el (tramp-root-regexp): Remove.
13477 (tramp-completion-file-name-regexp-unified)
13478 (tramp-completion-file-name-regexp-separate)
13479 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13480 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13481 (tramp-drop-volume-letter): Simplify definition.
13482 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13483
b1a4f8e1
SM
134842011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13485
13486 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13487 (bug#9356).
13488
5664fa7b
RT
134892011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13490
b1a4f8e1 13491 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13492
9a45d6c3
JL
134932011-08-29 Juri Linkov <juri@jurta.org>
13494
13495 * isearch.el (isearch-done): Don't display message "Mark saved"
13496 when arg `edit' is non-nil to prevent its flicker in the echo area.
13497
fb87e0fb
CY
134982011-08-28 Chong Yidong <cyd@stupidchicken.com>
13499
13500 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13501 obsolete packages for deletion.
13502
09ac1c2a
CS
135032011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13504
13505 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13506 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13507 view-mode from help-mode.
13508 (help-xref-override-view-map): Remove.
13509 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13510 view-mode is not used anymore.
13511
7a1ff57f
CY
135122011-08-28 Chong Yidong <cyd@stupidchicken.com>
13513
13514 * server.el (server-port): Doc fix.
13515
b9696605
CY
13516 * cus-theme.el (custom-theme-choose-mode): Inherit from
13517 special-mode (Bug#9124).
13518 (custom-theme-choose-mode-map): Add special-mode to parent.
13519
ef8cdf8c
AM
135202011-08-28 Alan Mackenzie <acm@muc.de>
13521
13522 * progmodes/cc-fonts.el
13523 (c-make-font-lock-BO-decl-search-function): New function.
13524 (c-basic-matchers-after - "Fontify the clauses after various
13525 keywords"): Extract the three keyword lists for the 3 erroneous
13526 constructs from the list of four, and use the new function above
13527 in place of an old one.
13528
27de4e20
DD
135292011-08-28 Deniz Dogan <deniz@dogan.se>
13530
13531 * net/rcirc.el (rcirc-insert-prev-input)
13532 (rcirc-insert-next-input): Remove unused argument.
13533
356a3681
SM
135342011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13535
13536 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13537
3fc9b218
AM
135382011-08-27 Alan Mackenzie <acm@muc.de>
13539
13540 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13541 handle function pointer parameters properly.
13542
538a061c
MR
135432011-08-27 Martin Rudalics <rudalics@gmx.at>
13544
13545 * window.el (display-buffer-reuse-window): Fix case where
13546 selected window was reused with non-nil OTHER-WINDOW argument.
13547 (Bug#9381)
13548
35b1c40c
DD
135492011-08-27 Deniz Dogan <deniz@dogan.se>
13550
13551 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13552 oftc's NickServ messages.
13553
2f6a3e79
GM
135542011-08-27 Glenn Morris <rgm@gnu.org>
13555
13556 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13557
7254299e
CY
135582011-08-26 Chong Yidong <cyd@stupidchicken.com>
13559
13560 * emacs-lisp/package.el (package-install): Call package-initialize
13561 if called interactively.
13562
f8ccf167
LL
135632011-08-26 Leo Liu <sdl.web@gmail.com>
13564
13565 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13566
3e8cd5ce
JL
135672011-08-25 Juri Linkov <juri@jurta.org>
13568
13569 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13570 `search-whitespace-regexp' (bug#9364).
13571
93eb7113
JL
135722011-08-25 Juri Linkov <juri@jurta.org>
13573
13574 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13575 `regexp-search-ring' to their global values to protect from
13576 updating by `read-from-minibuffer' (bug#9185).
13577
f65d1611
JL
135782011-08-25 Juri Linkov <juri@jurta.org>
13579
13580 * textmodes/ispell.el (ispell-command-loop): Add newline
13581 at the end of the "Use option `i'..." line.
13582
f1cf7a31
JL
135832011-08-25 Juri Linkov <juri@jurta.org>
13584
13585 * battery.el (display-battery-mode): If `battery-status-function'
13586 or `battery-mode-line-format' is nil, display the message and set
13587 `display-battery-mode' to nil (bug#9363).
13588
0c95fcf7
EZ
135892011-08-25 Eli Zaretskii <eliz@gnu.org>
13590
13591 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13592 bidi-string-mark-left-to-right; they are unnecessary now.
13593
a2ebe600
DD
135942011-08-25 Deniz Dogan <deniz@dogan.se>
13595
13596 * net/quickurl.el: Documentation typo fixes.
13597
e4ed06f1
CY
135982011-08-25 Chong Yidong <cyd@stupidchicken.com>
13599
13600 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13601
e5f1c99e
GM
136022011-08-25 Glenn Morris <rgm@gnu.org>
13603
b2948976
GM
13604 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13605
e5f1c99e
GM
13606 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13607 (smtpmail-via-smtp): Handle nil response from smtp.
13608
f22f4808
JL
136092011-08-24 Juri Linkov <juri@jurta.org>
13610
13611 * proced.el (proced-marked): Inherit from `error' instead of
13612 `font-lock-warning-face'.
13613
13614 * ibuffer.el (ibuffer-marked-face): Change default face from
13615 `font-lock-warning-face' to `warning'.
13616 (ibuffer-deletion-face): Change default face from
13617 `font-lock-type-face' to `error'.
13618
13619 * battery.el (battery-update): Use the face `error' instead of
13620 `font-lock-warning-face' (bug#6117).
13621
6a93965e
JL
136222011-08-24 Juri Linkov <juri@jurta.org>
13623
13624 * faces.el (success): Change face color from "Green3" to
13625 "ForestGreen" on light background (bug#9353).
13626
1ed43b09
CY
136272011-08-24 Chong Yidong <cyd@stupidchicken.com>
13628
5664fa7b
RT
13629 * window.el (quit-window): Rename from quit-restore-window.
13630 Use same arglist as old quit-window.
1ed43b09
CY
13631 (frame-auto-delete): Doc fix.
13632
13633 * view.el (view-mode-exit): Use quit-window.
13634
11dcdbb2
JL
136352011-08-24 Juri Linkov <juri@jurta.org>
13636
13637 * isearch.el (isearch-ring-adjust1): Start visiting previous
13638 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13639 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13640 for empty search string (when the last search string is reused
13641 automatically) to adjust the isearch ring to the last element and
13642 prepare the correct index for further M-p commands (bug#9185).
13643
de62b4df
KH
136442011-08-24 Kenichi Handa <handa@m17n.org>
13645
13646 * international/ucs-normalize.el: If decomposition property of
13647 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13648 nil.
13649 (nfd, nfkd): Likewise.
13650
963b492b
SM
136512011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13652
13653 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13654 from process filters aren't reliably transmitted to the surrounding
13655 accept-process-output.
13656 (mpc-proc-check): New function.
13657 (mpc-proc-sync): Use it (bug#8293)
13658
93b6b5e1
SM
136592011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13660
13661 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13662 Add compatibility functions (bug#9313).
13663
bca633fb
EZ
136642011-08-23 Eli Zaretskii <eliz@gnu.org>
13665
b177498a
EZ
13666 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13667
6df6ae42 13668 * international/uni-bidi.el: Regenerate.
bca633fb 13669
0902a04e
KH
136702011-08-23 Kenichi Handa <handa@m17n.org>
13671
13672 * international/charprop.el:
13673 * international/uni-bidi.el:
13674 * international/uni-category.el:
13675 * international/uni-combining.el:
13676 * international/uni-comment.el:
13677 * international/uni-decimal.el:
13678 * international/uni-decomposition.el:
13679 * international/uni-digit.el:
13680 * international/uni-lowercase.el:
13681 * international/uni-mirrored.el:
13682 * international/uni-name.el:
13683 * international/uni-numeric.el:
13684 * international/uni-old-name.el:
13685 * international/uni-titlecase.el:
13686 * international/uni-uppercase.el: Regenerate.
13687
3bbf23bc
MR
136882011-08-23 Martin Rudalics <rudalics@gmx.at>
13689
13690 * help.el (help-window-setup): Fix message displayed when other
13691 window is reused. (Bug#9341)
13692
b3fd59bd
SM
136932011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13694
1802e444
SM
13695 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13696 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13697
b3fd59bd
SM
13698 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13699 Mark obsolete.
13700 * shell.el (shell-parse-pcomplete-arguments): New function.
13701 (shell-completion-vars): Use it instead (bug#9160).
13702
4eb61348
SM
137032011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13704
867cab74
SM
13705 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13706 strings and comments (bug#9333).
13707
4eb61348
SM
13708 * emacs-lisp/debug.el (debug-arglist): New function.
13709 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13710 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13711
262a1439
JL
137122011-08-22 Juri Linkov <juri@jurta.org>
13713
56ee679c
JL
13714 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13715 Revert regexp that highlights output switches to its old
13716 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13717
262a1439
JL
13718 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13719 to check for empty output (bug#9226).
13720
f13f86fb
CY
137212011-08-22 Chong Yidong <cyd@stupidchicken.com>
13722
13723 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13724 symbol-constituent as the default, as that stops font-lock from
13725 working properly (Bug#8843).
13726
c65c9622
LMI
137272011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13728
13729 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13730 `coding-system-for-*' around the process open call to avoid
13731 auth-source side effects.
e7f2c178 13732 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13733 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13734 probe hangs.
c65c9622 13735
23a8a5ab
CY
137362011-08-21 Chong Yidong <cyd@stupidchicken.com>
13737
ff98b2dd
CY
13738 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13739
23a8a5ab
CY
13740 * emacs-lisp/find-func.el (find-function-noselect): New arg
13741 lisp-only.
13742
13743 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13744 signal an error for built-in functions (Bug#6664).
13745
f5e3c598
LMI
137462011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13747
13748 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13749 (smtpmail-try-auth-methods): Use it.
13750
a3f2468a
CY
137512011-08-21 Chong Yidong <cyd@stupidchicken.com>
13752
2c34e8da
CY
13753 * font-lock.el (font-lock-fontify-region)
13754 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13755 (font-lock-default-unfontify-buffer)
13756 (font-lock-default-fontify-region)
13757 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13758
b3fd59bd
SM
13759 * progmodes/compile.el (compilation-error-properties):
13760 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13761 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13762 `ant' regexp.
ee31aabc 13763
a3f2468a
CY
13764 * net/browse-url.el (browse-url-firefox): Don't call
13765 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13766
8e999f70
GM
137672011-08-20 Glenn Morris <rgm@gnu.org>
13768
c21a496a
GM
13769 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13770
59ee0542
GM
13771 * tutorial.el (tutorial--default-keys): Update some default bindings.
13772
8e999f70
GM
13773 * files.el (hack-local-variables): Fully ignore case for "mode:".
13774
e3715033
AM
137752011-08-20 Alan Mackenzie <acm@muc.de>
13776
13777 Resolve invalid use of a regexp in regexp-opt.
13778
4d61f28d
JB
13779 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13780 detection for a java annotation.
e3715033 13781
4d61f28d 13782 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13783 detection for a java annotation.
13784
4d61f28d
JB
13785 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13786 handling for java.
e3715033
AM
13787 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13788
04ed2e9c
CY
137892011-08-20 Chong Yidong <cyd@stupidchicken.com>
13790
13791 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13792 (Bug#9274).
13793
826cee64
AM
137942011-08-20 Alan Mackenzie <acm@muc.de>
13795
58179cce 13796 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13797 such a construct. Mainly for when jit-lock etc. starts a chunk
13798 here.
13799
58179cce 13800 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13801 variable.
58179cce 13802 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13803 c-make-font-lock-search-function.
13804 (c-make-font-lock-search-function): Use the above function.
13805 (c-make-font-lock-context-search-function): New function.
13806 (c-cpp-matchers): Enhance the preprocessor expression case with
13807 the above function
13808 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13809 which takes an expression.
13810
13811 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13812
13009bd8
MR
138132011-08-20 Martin Rudalics <rudalics@gmx.at>
13814
13815 * window.el (display-buffer-reuse-window)
13816 (display-buffer-pop-up-window): Don't reuse or split a side
13817 window.
13818
9234ff7f
GM
138192011-08-19 Glenn Morris <rgm@gnu.org>
13820
13821 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13822 Downcase "Mode:". (Bug#9331)
9234ff7f 13823
f635daa1
CY
138242011-08-18 Chong Yidong <cyd@stupidchicken.com>
13825
13826 * international/characters.el: Add L and R categories.
13827
13828 * subr.el (bidi-string-mark-left-to-right): Rename from
13829 string-mark-left-to-right. Use category search.
13830
13831 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13832
bc987f8b
JL
138332011-08-18 Juri Linkov <juri@jurta.org>
13834
13835 * faces.el (error, warning, success): New faces with definitions
13836 copied from old default values of `font-lock-warning-face',
13837 `compilation-warning', `compilation-info' (bug#6117).
13838
13839 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13840
13841 * progmodes/compile.el (compilation-error): Inherit from `error'.
13842 (compilation-warning): Inherit from `warning'.
13843 (compilation-info): Inherit from `success'.
13844
13845 * dired.el (dired-marked): Inherit from `warning'.
13846 (dired-flagged): Inherit from `error'.
13847
57173b96
LMI
138482011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13849
3e79eb87
LMI
13850 * mail/smtpmail.el (auth-source): Require to avoid problems with
13851 binding variables (bug#9298). Also clean up some unused
13852 autoloads.
13853
b3fd59bd
SM
13854 * net/network-stream.el (network-stream-open-starttls):
13855 Support using starttls.el without using gnutls-cli.
57173b96 13856
02b404de
JL
138572011-08-17 Juri Linkov <juri@jurta.org>
13858
13859 * progmodes/grep.el (rgrep): Handle the case when
13860 `grep-find-command' is a cons cell (bug#9278).
13861
8c9177f2
MR
138622011-08-17 Martin Rudalics <rudalics@gmx.at>
13863
13864 * window.el (display-buffer-pop-up-frame): Run frame creation
13865 function with BUFFER current (as special-display-popup-frame
13866 does). Reported by Drew Adams.
13867
3644a0ab
DU
138682011-08-17 Daiki Ueno <ueno@unixuser.org>
13869
13870 * epa-mail.el: Simplify GnuPG group expansion using
13871 epg-expand-group.
13872 (epa-mail-group-alist, epa-mail-group-modtime)
13873 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13874 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13875 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13876 Remove.
13877
5e617bc2 138782011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13879
13880 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13881
9c4aeabf
AM
138822011-08-16 Alan Mackenzie <acm@muc.de>
13883
13884 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13885 Correct, to avoid the inside of macros.
13886
3a99bf64
RS
138872011-08-16 Richard Stallman <rms@gnu.org>
13888
04963aa8
RS
13889 * epa-mail.el: Handle GnuPG group definitions.
13890 (epa-mail-group-alist, epa-mail-group-modtime)
13891 (epa-mail-gnupg-conf-file): New variables.
13892 (epa-mail-parse-groups, epa-mail-sync-groups)
13893 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13894 (epa-mail-expand-recipients): New functions.
13895 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13896
177549d0
RS
13897 * mail/rmail.el (rmail-epa-decrypt): New command.
13898
fe38beef
RS
13899 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13900 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13901 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13902 (epa-decrypt-armor-in-region): Make error message clearer.
13903
934eacb9
SM
139042011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13905
13906 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13907 and "a2b" to "ab" for `prefix'.
13908
d024fb4e
CY
139092011-08-14 Chong Yidong <cyd@stupidchicken.com>
13910
13911 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13912 filter groups.
de148fee
CY
13913 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13914 Fourquet (Bug#8804).
d024fb4e 13915
62f1ca49
JB
139162011-08-12 Juanma Barranquero <lekktu@gmail.com>
13917
13918 * startup.el (argi): Declare as global variable (bug#9275).
13919
9ccaaa4b
CY
139202011-08-12 Chong Yidong <cyd@stupidchicken.com>
13921
13922 * subr.el (string-mark-left-to-right): Search the entire string
13923 for RTL script, not just the terminating character. Doc fix.
13924
a3dae87a
SM
139252011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13926
6cd18349
SM
13927 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13928 New function.
13929 (js--regexp-literal, js-syntax-propertize-function): Remove.
13930 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13931 (js-mode-map): Don't rebind electric keys.
13932 (js-insert-and-indent): Remove.
13933 (js-mode): Setup electric-layout and electric-indent instead.
13934
a3dae87a
SM
13935 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13936
9d5cb631
DU
139372011-08-12 Daiki Ueno <ueno@unixuser.org>
13938
13939 * epa.el (epa-progress-callback-function): Fix the logic of
13940 displaying progress.
13941 * epa-file.el (epa-file-insert-file-contents): Make progress
13942 display more user-friendly.
13943 (epa-file-write-region): Ditto.
13944
3e26a4a2
CY
139452011-08-10 Chong Yidong <cyd@stupidchicken.com>
13946
13947 * subr.el (string-mark-left-to-right): New function.
13948
13949 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13950 Use string-mark-left-to-right.
13951 (list-buffers-noselect): Caller changed.
13952
a3dae87a
SM
13953 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13954 Use string-mark-left-to-right.
3e26a4a2
CY
13955 (tabulated-list-print): Recenter after moving point.
13956
ac8cf6e6
JL
139572011-08-10 Juri Linkov <juri@jurta.org>
13958
13959 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13960 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13961 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13962
8d96c9a4
CY
139632011-08-09 Chong Yidong <cyd@stupidchicken.com>
13964
13965 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13966 (Bug#7554).
13967
7be1c708 139682011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13969
13970 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13971 character. (Bug#6594)
13972
37e11a63
CY
139732011-08-08 Chong Yidong <cyd@stupidchicken.com>
13974
839dde57
CY
13975 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13976 (image-dired--with-db-file): New macro.
13977 (image-dired-write-tags, image-dired-remove-tag)
13978 (image-dired-create-gallery-lists, image-dired-write-comments)
13979 (image-dired-get-comment, image-dired-mark-tagged-files)
13980 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13981 (image-dired-gallery-generate): Use insert-file-contents.
13982
37e11a63
CY
13983 * time.el (display-time-world-list, display-time-world-display):
13984 * time-stamp.el (time-stamp-string):
13985 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13986 set-time-zone-rule (Bug#7337).
13987
0b4946c4
DU
139882011-08-08 Daiki Ueno <ueno@unixuser.org>
13989
13990 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13991 (epg-error-to-string, epg-errors-to-string): New function.
13992 (epg-wait-for-completion): Reverse errors list.
13993 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13994 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13995 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13996 (epg-sign-keys, epg-generate-key-from-file)
13997 (epg-generate-key-from-string): Format errors by using
13998 epg-errors-to-string (bug#9255).
13999 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14000
75bfc667
JL
140012011-08-07 Juri Linkov <juri@jurta.org>
14002
14003 * faces.el (list-faces-display): Remove extra angle bracket
14004 from `help-mode-map'.
14005
14006 * info.el (Info-history-toc-nodes): Doc fix.
14007
14008 * longlines.el (longlines-mode): Doc fix.
14009
673e08bb
SM
140102011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14011
4640dd88
SM
14012 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14013 of statements and in a few more cases (bug#9183).
14014
673e08bb
SM
14015 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14016 New functions.
14017 (cl-transform-lambda): Use them (bug#9239).
14018
89b3f019
MR
140192011-08-05 Martin Rudalics <rudalics@gmx.at>
14020
14021 * window.el (display-buffer-same-window)
14022 (display-buffer-same-frame, display-buffer-other-window)
14023 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14024 (pop-to-buffer-other-window)
14025 (pop-to-buffer-same-frame-other-window)
14026 (pop-to-buffer-other-frame): Make them defuns.
14027 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14028
640c8776
SM
140292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14030
14031 * subr.el (make-composed-keymap): Move from C. Change calling
14032 convention, and improve docstring to bring attention to a subtle point.
14033 * minibuffer.el (completing-read-default): Adjust accordingly.
14034
63648a95
MA
140352011-08-03 Michael Albinus <michael.albinus@gmx.de>
14036
14037 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14038 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14039
14040 * net/trampver.el: Update release number.
14041
b796c9b7
SM
140422011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14043
14044 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14045 "in" (bug#9190).
14046
2239d7d5
LMI
140472011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14048
e07dd7c3
LMI
14049 * mail/sendmail.el (sendmail-query-once): Restore the current
14050 buffer after querying (bug#9074).
14051
0e6a2bd7
LMI
14052 * dired.el (dired-flagged): Use different faces for marked and
14053 flagged files (bug#6117).
14054
ce887515
LMI
14055 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14056 (bug#4433).
14057
92f2affc
LMI
14058 * ido.el (ido-mode): Switch off the message if called
14059 non-interactively.
14060
57d5aff0
LMI
14061 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14062 before 587, since it appears that that's more likely to work for
14063 more people.
14064
98cd6c18 14065 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14066 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14067 exist.
14068
b96dec83
LMI
14069 * info.el: Remove the `Info-beginning-of-buffer' function
14070 (bug#8325).
14071
b796c9b7
SM
14072 * net/network-stream.el (network-stream-open-starttls):
14073 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14074
d90e2ea0
MR
140752011-08-01 Martin Rudalics <rudalics@gmx.at>
14076
14077 * window.el (display-buffer-in-window): Don't set dedicated status
14078 of window here (Bug#9215).
14079 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14080 (display-buffer-pop-up-side-window)
b796c9b7 14081 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14082
cca09170
SM
140832011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14084
14085 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14086 before binding generated-autoload-file.
14087
027b979c
DD
140882011-08-01 Deniz Dogan <deniz@dogan.se>
14089
14090 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14091
3c7ee4f3
MA
140922011-07-30 Michael Albinus <michael.albinus@gmx.de>
14093
14094 Sync with Tramp 2.2.2.
14095
14096 * net/trampver.el: Update release number.
14097
2cc8e51a
JL
140982011-07-30 Juri Linkov <juri@jurta.org>
14099
14100 * dired-aux.el (dired-touch-initial): Remove function.
14101 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14102 current time, and `default' to the last modification time of the
14103 current marked file (bug#6887).
14104
a514d856
JM
141052011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14106
14107 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14108 numeric argument to read-number (bug#9163).
a514d856 14109
8a7eddd7
MA
141102011-07-27 Michael Albinus <michael.albinus@gmx.de>
14111
14112 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14113 connection process, it could be nil.
14114
1ddd96f5
LL
141152011-07-27 Leo Liu <sdl.web@gmail.com>
14116
14117 Simplify url handling in rcirc-mode.
14118
14119 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14120 (rcirc-browse-url-at-mouse): Remove.
14121 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14122
b248a85d
AM
141232011-07-26 Alan Mackenzie <acm@muc.de>
14124
14125 Fontify bitfield declarations properly.
14126
14127 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14128 (c-symbol-chars): Now exported as a lang variable.
14129 (c-not-primitive-type-keywords): New lang variable.
14130
14131 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14132 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14133 parsed as a bitfield declaration.
b248a85d 14134
b796c9b7
SM
14135 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14136 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14137 (c-punctuation-in): New function.
14138 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14139 declarations properly.
14140
68575ab0
UJ
141412011-07-26 Ulf Jasper <ulf.jasper@web.de>
14142
14143 * calendar/icalendar.el (icalendar--all-events): Take care of
14144 multiple vcalendars in a single file.
b796c9b7 14145 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14146
0f0a88b9
DD
141472011-07-25 Deniz Dogan <deniz@dogan.se>
14148
14149 * image.el (insert-image): Clarifying docstring.
14150
0b3f36df
MA
141512011-07-24 Michael Albinus <michael.albinus@gmx.de>
14152
14153 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14154 `tramp-send-command-and-check' if there is no error.
14155 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14156
a9901f61
AM
141572011-07-22 Alan Mackenzie <acm@muc.de>
14158
14159 Prevent cc-langs.elc being loaded at run time.
14160
14161 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14162 cc-langs.
14163
4d61f28d 14164 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14165 "(require 'cc-langs)". Quote a form so it will evaluate at
14166 (cc-mode's) compilation time.
14167
11d074b2
MA
141682011-07-22 Michael Albinus <michael.albinus@gmx.de>
14169
14170 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14171 loading. (Bug#9114)
14172
938b94c8
MR
141732011-07-21 Martin Rudalics <rudalics@gmx.at>
14174
14175 * window.el (display-buffer-pop-up-window)
14176 (display-buffer-pop-up-side-window)
14177 (display-buffer-in-side-window): Call display-buffer-set-height
14178 and display-buffer-set-width after setting the new window's
b796c9b7 14179 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14180
bfa4f190
SS
141812011-07-20 Sam Steingold <sds@gnu.org>
14182
14183 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14184 (etags-tags-included-tables): Call `convert-standard-filename' on
14185 the file names contained in TAGS so that windows Emacs can handle
14186 TAGS files created by cygwin ctags.
14187
8ca42262
LMI
141882011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14189
14190 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14191 which apparently didn't work.
14192
5db2afd2 141932011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14194
5db2afd2
RW
14195 * proced.el (proced-send-signal): For *Marked Processes* buffer
14196 put point at beginning of buffer.
14197
92e15d10
SB
141982011-07-19 Stephen Berman <stephen.berman@gmx.net>
14199
14200 * proced.el (proced-format): Make header lines align with the text
14201 (bug#1779).
14202
1bfd59e5
LMI
142032011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14204
14205 * view.el (view-buffer): Allow running in `special' modes if we're
14206 visiting a file (bug#8615).
14207
f5aae37c
MR
142082011-07-19 Martin Rudalics <rudalics@gmx.at>
14209
14210 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14211 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14212 New functions.
f5aae37c
MR
14213 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14214 more accurately.
14215
bf2c1571
AM
142162011-07-18 Alan Mackenzie <acm@muc.de>
14217
14218 Fontify declarators properly when, e.g., a jit-lock chunk begins
14219 inside a declaration.
14220
14221 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14222
b796c9b7
SM
14223 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14224 New function.
bf2c1571
AM
14225 (c-complex-decl-matchers): Insert reference to
14226 c-font-lock-enclosing-decls.
14227
14228 * progmodes/cc-engine.el (c-backward-single-comment):
14229 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14230 to nil around calls to (forward-comment -1).
14231
4e190b80
LMI
142322011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14233
12dc863d
LMI
14234 * image.el (put-image): Doc typo fix.
14235
a762e966
LMI
14236 * progmodes/etags.el (tags-search): Doc typo fix.
14237
4e190b80
LMI
14238 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14239 password if we get errors 550 to 554.
14240
f019fb21
LMI
142412011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14242
b796c9b7 14243 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14244
81746738
LMI
14245 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14246 indentation character (bug#6380).
14247
3ee3a1b5
LMI
14248 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14249
c82f64de
LMI
14250 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14251 to clarify what the problem is (bug#4291).
14252
f019fb21
LMI
14253 * simple.el (current-kill): Clarify what
14254 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14255 (auto-fill-mode): Document `auto-fill-function' in relation to
14256 `auto-fill-mode' (bug#2470).
f019fb21 14257
0794775d
LM
142582011-07-16 Lawrence Mitchell <wence@gmx.li>
14259
14260 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14261 method if slot is read-only (bug#9035).
14262
be39b8cc
MR
142632011-07-16 Martin Rudalics <rudalics@gmx.at>
14264
b796c9b7 14265 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14266 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14267 selected before, see discussion of (Bug#8615), (Bug#6954).
14268 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14269
6ccf7859
GM
142702011-07-15 Glenn Morris <rgm@gnu.org>
14271
14272 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14273 Respect help-form.
6ccf7859 14274
87e86684
LM
142752011-07-09 Lawrence Mitchell <wence@gmx.li>
14276
14277 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14278 (gnutls-negotiate): Use it.
14279
d6066239
LMI
142802011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14281
b796c9b7
SM
14282 * net/gnutls.el (gnutls-negotiate):
14283 Upcase `gnutls-algorithm-priority'.
d6066239 14284
bd23ebc0
GM
142852011-07-15 Glenn Morris <rgm@gnu.org>
14286
c65bca65
GM
14287 * jka-compr.el (jka-compr-verbose): Move from here...
14288 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14289 Add missing :version tag.
14290 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14291
478615cc
LMI
142922011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14293
7b41decb
LMI
14294 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14295 (gnutls-negotiate): Use it.
14296
dbc44fcd
LMI
14297 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14298
06789f97
LMI
14299 * info.el (Info-beginning-of-buffer): New command.
14300 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14301 announcing `b' as the key (bug#8325).
ab896c37 14302 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14303
c39da690
LMI
14304 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14305
3aa5f34b
LMI
14306 * international/mule-cmds.el
14307 (describe-specified-language-support): Make the error message
14308 clearer (bug#8905).
14309
4bf0979f
LMI
14310 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14311
478615cc
LMI
14312 * isearch.el (isearch-barrier): Add a doc string, since it's
14313 mentioned in a function doc string (bug#8678).
14314
75c68aa1
MR
143152011-07-15 Martin Rudalics <rudalics@gmx.at>
14316
14317 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14318 buffer argument (Bug#9083) and self-identifying label argument.
14319
a7c33da2
GM
143202011-07-15 Glenn Morris <rgm@gnu.org>
14321
14322 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14323
2f5c6024
LMI
143242011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14325
14326 * man.el (Man-fontify-manpage): Fix message when formatting the
14327 man page (bug#7929).
14328
0bb23927 143292011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14330
14331 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14332 argument LRM; if non-nil, append an invisible LRM character to the
14333 buffer name.
14334 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14335 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14336 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14337 paragraph direction.
cce4b0a7 14338
621ef9ab
LMI
143392011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14340
d1583c48
LMI
14341 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14342 the man page name (bug#7929).
14343
6a57fb5f
LMI
14344 * image.el (put-image): Mention the `put-image' overlay property
14345 (bug#7834).
14346
d7956b14
LMI
14347 * scroll-bar.el (set-scroll-bar-mode): Mention that
14348 `scroll-bar-mode' lists the values (bug#7772).
14349
5b2d4a66
LMI
14350 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14351 command (bug#7729).
14352
7509a874
LMI
14353 * rect.el (apply-on-rectangle): Return the point after the last
14354 operation.
14355 (string-rectangle): Go to the point after the last operation
14356 (bug#7522).
14357
4fe74b19
LMI
14358 * printing.el (pr-toggle-region): Clarify the documentation
14359 slightly (bug#7493).
14360
b796c9b7
SM
14361 * time.el (display-time-update):
14362 Allow `display-time-mail-function' to return nil (bug#7158).
14363 Fix suggested by Detlev Zundel.
ab283561 14364
fc233c9d
LMI
14365 * vc/diff.el (diff): Clarify the order the file names are read
14366 (bug#7111).
14367
43f5740b
LMI
14368 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14369 the doc string (bug#7015).
14370
f2182a76
LMI
14371 * font-lock.el (font-lock-maximum-decoration): Mention what
14372 numeric levels mean (bug#6935).
14373
621ef9ab
LMI
14374 * startup.el (initial-buffer-choice): Don't mention the `none'
14375 selection, which is against policy.
14376
adc47434
MR
143772011-07-14 Martin Rudalics <rudalics@gmx.at>
14378
b796c9b7
SM
14379 * window.el (display-buffer-normalize-special):
14380 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14381
7e5bfb8f
EZ
143822011-07-14 Eli Zaretskii <eliz@gnu.org>
14383
14384 * subr.el (version<, version<=, version=): Mention "-CVS" and
14385 "-12345" alpha version numbers.
14386
27fa387a
CY
143872011-07-14 Chong Yidong <cyd@stupidchicken.com>
14388
14389 * bindings.el: Add advertised binding for set-mark-command
14390 (Bug#5772).
14391
8bdfa064
CY
143922011-07-14 Chong Yidong <cyd@stupidchicken.com>
14393
14394 * bindings.el (mode-line-other-buffer):
14395 * bookmark.el (bookmark-bmenu-2-window):
14396 * bs.el (bs-cycle-next, bs-cycle-previous):
14397 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14398 switch-to-buffer.
14399
14400 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14401 Delete.
8bdfa064 14402
5eba16a3
JB
144032011-07-14 Juanma Barranquero <lekktu@gmail.com>
14404
14405 * follow.el (follow-debug-message, follow-redisplay):
14406 * jka-cmpr-hook.el (with-auto-compression-mode):
14407 Fix typos in docstrings.
14408
15853710
LMI
144092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14410
a28e4607
LMI
14411 * subr.el (with-silent-modifications): Clarify somewhat what the
14412 macro inhibits (bug#6525).
14413
15853710
LMI
14414 * simple.el (eval-expression): Note what it does if called
14415 interactively (bug#6495).
14416
bee0fcef
CY
144172011-07-13 Chong Yidong <cyd@stupidchicken.com>
14418
b796c9b7
SM
14419 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14420 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14421
14422 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14423 Remove switch-to-buffer.
14424
58274504
LMI
144252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14426
bd2fcc8d
LMI
14427 * files.el (make-directory): Clarify that an error will be raised
14428 if there's an error (bug#6397).
14429
0f04b32c
LMI
14430 * startup.el (initial-buffer-choice): Add `none' as a choice
14431 (bug#6234).
14432
465c5fc8
LMI
14433 * subr.el (add-hook): Clarify section about buffer-local hooks
14434 (bug#6218).
14435
58274504
LMI
14436 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14437
bead9a43
JB
144382011-07-13 Juanma Barranquero <lekktu@gmail.com>
14439
14440 * tabify.el (untabify): Preserve the current column so that point
14441 doesn't move (bug#6032).
14442
3af98a7b
LMI
144432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14444
b796c9b7
SM
14445 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14446 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14447
6240145a
GM
144482011-07-13 Glenn Morris <rgm@gnu.org>
14449
14450 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14451 (dired-insert-directory): Give a message the first time
14452 if ls is found not to support --dired.
14453
1d8c2ccc
LMI
144542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14455
14456 * simple.el (toggle-truncate-lines): Clarify what is toggled
14457 (bug#5580). Text by Drew Adams.
14458
5fc4038e
CY
144592011-07-13 Chong Yidong <cyd@stupidchicken.com>
14460
14461 * simple.el (blink-matching-open): Make the error message from the
14462 last change less verbose.
14463
bf6012e5
DN
144642011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14465
14466 * font-lock.el (font-lock-comment-face): Use the high contrast
14467 "yellow" color for font-lock-comment-face on low color terminals
14468 using a dark background color (bug#4221).
14469
343c3b5a
LMI
144702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14471
7e9505c5
LMI
14472 * dired.el (dired-insert-set-properties): Make the doc string
14473 reflect what it does now (bug#5325).
14474
c26fdcf5
LMI
14475 * simple.el (blink-matching-open): Say that we were unable to find
14476 the match within the limit, if we're limited (bug#5122).
14477
bb388cc5
LMI
14478 * international/mule-cmds.el (prefer-coding-system): Add an
14479 example (bug#4869).
14480
343c3b5a
LMI
14481 * progmodes/etags.el (tags-search): Document `file-list-form'
14482 (bug#4731).
14483
2a517d45
LM
144842011-07-13 Lawrence Mitchell <wence@gmx.li>
14485
14486 * net/browse-url.el (browse-url-default-browser)
14487 (browse-url-browser-function): Make the default browser choice a
14488 bit more logical (bug#4300). Also clean up the doc string.
14489
b6c78ef2
JB
144902011-07-13 Juanma Barranquero <lekktu@gmail.com>
14491
14492 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14493 binary endings (bug#4440).
14494
1c4dd947
LMI
144952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14496
a2014063
LMI
14497 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14498 which can be pretty annoying (bug#8971).
14499
9c9c2d88
LMI
14500 * jka-compr.el (jka-compr-verbose): New variable, and use
14501 throughout (bug#8971).
14502
1c4dd947
LMI
14503 * info.el (Info-find-file): Fall back on the installation
14504 directory if we can't find the info node anywhere else.
14505
a1c9f41b
SO
145062011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14507
14508 * vc/vc.el (vc-revert-file):
14509 Don't set file time-stamp in the past. (Bug#5181)
14510
536f3d36
LMI
145112011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14512
7152b011
LMI
14513 * files.el (after-find-file): Give a better error message when
14514 trying to find a symlink that points to a file that doesn't exist
14515 (bug#4398).
14516
536f3d36
LMI
14517 * progmodes/cc-vars.el: Remove (probably) misleading comment
14518 (bug#4396).
14519
460c0fba
JB
145202011-07-12 Johan Bockgård <bojohan@gnu.org>
14521
14522 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14523
7a6bda45
CY
145242011-07-12 Chong Yidong <cyd@stupidchicken.com>
14525
14526 * mouse-sel.el: Hack restoring functionality, while keeping
14527 compatibility with 2010-07-03 changes to mouse selection.
14528 (mouse-sel-primary-overlay): New var.
14529 (mouse-sel-selection-alist): Use it.
14530 (mouse-sel-mode): Doc fix; remove points that are default features
14531 of mouse.el.
14532
c79598ef
JB
145332011-07-12 Johan Bockgård <bojohan@gnu.org>
14534
14535 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14536 Fix previous fix (bug#2490).
14537
ff8be6ef
RW
145382011-07-12 Roland Winkler <winkler@gnu.org>
14539
b796c9b7
SM
14540 * textmodes/bibtex.el (bibtex-initialize):
14541 Use pop-to-buffer-same-window.
ff8be6ef
RW
14542 (bibtex-search-entries): Fix interactive call.
14543
296ba3ee
LMI
145442011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14545
f5242a02 14546 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14547 Fontise bytecomp Error lines more correctly (bug#2490).
14548 Fix suggested by Johan Bockgård.
f5242a02 14549
296ba3ee
LMI
14550 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14551
14552 * dired-x.el (dired-guess-default): Use `delete-dups'.
14553
f69fd0d2
CY
145542011-07-12 Chong Yidong <cyd@stupidchicken.com>
14555
14556 * dired.el (dired-mark-prompt):
14557 * dired-aux.el (dired-read-shell-command): Doc fix.
14558
eab5dc07
LMI
145592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14560
b796c9b7
SM
14561 * mail/sendmail.el (sendmail-query-once):
14562 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14563 emacs -Q.
14564
14565 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14566
eab5dc07
LMI
14567 * cus-edit.el (custom-file): Take an optional no-error variable.
14568 (customize-save-variable): Set the variable, and give a warning if
14569 running under "emacs -q".
14570
a1e65d42
JB
145712011-07-11 Juanma Barranquero <lekktu@gmail.com>
14572
14573 * loadhist.el (unload-feature-special-hooks):
14574 Add `auto-coding-functions', `fill-nobreak-predicate' and
14575 `find-directory-functions' (bug#5327).
14576
1d52da10
LMI
145772011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14578
be958f1d
LMI
14579 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14580
5bedb26c
LMI
14581 * cus-edit.el (custom-guess-name-alist): -alist variables should
14582 use the `alist' type (bug#3120). Suggested by Drew Adams.
14583
1d52da10
LMI
14584 * printing.el: Add documentation to all the `pr-toggle-' commands.
14585
cd394be1 145862011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14587
14588 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14589 backends where it makes sense (bug#2623).
14590
dcc88d8a
LMI
145912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14592
c3de9feb
LMI
14593 * dired-x.el (dired-guess-default): Remove duplicate shell command
14594 entries (bug#2028).
8a93078b 14595 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14596 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14597
dcc88d8a
LMI
14598 * subr.el (remove-duplicates): New conveniency function.
14599
505e3645
LMI
146002011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14601
14602 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14603 (bug#1526).
14604
146052011-07-10 Martin Rudalics <rudalics@gmx.at>
14606
14607 * window.el (display-buffer-normalize-default): Don't invert
14608 meaning of even-window-heights. Reported by Eli Zaretskii
14609 <eliz@gnu.org>.
14610
455e4fa1
BR
146112011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14612
14613 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14614
8e0bc3e9
CY
146152011-07-10 Chong Yidong <cyd@stupidchicken.com>
14616
14617 * window.el (display-buffer): Fix arguments to
14618 display-buffer-reuse-window in last change.
14619
fa7c3228
CY
14620 * faces.el (link): Use a less saturated blue on light backgrounds.
14621
14622 * startup.el (fancy-startup-text, fancy-about-text)
14623 (fancy-startup-tail): Use font-lock faces, for background safety.
14624
c0a7f300
BN
146252011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14626
b796c9b7
SM
14627 * emulation/viper-cmd.el (viper-change-state-to-vi):
14628 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14629
4dc2a129
MR
146302011-07-09 Martin Rudalics <rudalics@gmx.at>
14631
14632 * window.el (display-buffer-default-specifiers): Remove.
14633 (display-buffer-macro-specifiers): Remove default specifiers.
14634 (display-buffer-alist): Default to nil.
b796c9b7 14635 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14636 (display-buffer-pop-up-window): Allow splitting internal
14637 windows. Check whether a live window was created.
14638 (display-buffer-other-window-means-other-frame)
14639 (display-buffer-normalize-arguments): Rename to
14640 display-buffer-normalize-argument and rewrite. Set the
14641 other-window specifier.
14642 (display-buffer-normalize-special): New function.
14643 (display-buffer-normalize-options): Rename to
14644 display-buffer-normalize-default and rewrite.
14645 (display-buffer-normalize-options-inhibit): Remove.
14646 (display-buffer-normalize-specifiers): Rewrite.
14647 (display-buffer): Process other-window specifier and call
14648 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14649 more faithfully.
b796c9b7 14650 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14651 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14652 (display-buffer-in-window, display-buffer-alist-set):
14653 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14654 <tassilo@member.fsf.org>.
14655
2d43b8c9
LL
146562011-07-09 Leo Liu <sdl.web@gmail.com>
14657
14658 * register.el (insert-register): Restore accidental change on
14659 2011-06-26. (Bug#9028)
14660
7f9b7c53
GM
146612011-07-09 Glenn Morris <rgm@gnu.org>
14662
14663 * subr.el (remq): Handle the empty list. (Bug#9024)
14664
f042cfd8
AS
146652011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14666
14667 * mail/sendmail.el (send-mail-function): No longer delay custom
14668 initialization.
14669 * custom.el (custom-initialize-delay): Doc fix.
14670
856b2f11
SM
146712011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14672
14673 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14674
afae1d68
MA
146752011-07-08 Michael Albinus <michael.albinus@gmx.de>
14676
14677 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14678 human-friendly prompt.
14679
0757af94
SM
146802011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14681
14682 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14683 provided by a particular plugin.
14684
d760b731
LMI
146852011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14686
14687 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14688 save customizations (with "emacs -Q"), just set the variable
14689 instead of erroring out.
14690
14691 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14692
cd79ce90
JL
146932011-07-08 Juri Linkov <juri@jurta.org>
14694
14695 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14696 (archive-zip-update-case): Use 7z if found by `executable-find'.
14697 The order of searching the available programs is the same as in
14698 `archive-zip-extract' (bug#8968).
14699
14cc04aa
CY
147002011-07-07 Chong Yidong <cyd@stupidchicken.com>
14701
14702 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14703 (menu-bar-options-menu): Tweak descriptions.
14704
0a1848ec
LMI
147052011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14706
14707 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14708 menu items into verb phrases (bug#1421). Also refill to fit under
14709 80 columns.
14710
f5bd0689
CY
147112011-07-07 Chong Yidong <cyd@stupidchicken.com>
14712
538e85c6
CY
14713 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14714 (Info-read-node-name): Doc fix (Bug#1084).
14715
f5bd0689
CY
14716 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14717 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14718 (end-of-sexp, beginning-of-sexp)
14719 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14720 (forward-symbol, forward-same-syntax, word-at-point)
14721 (sentence-at-point): Doc fix (Bug#1144).
14722
56ec5115
LMI
147232011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14724
f3f8e37f
LMI
14725 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14726 should cover it (bug#1281).
14727
0757af94 14728 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14729
e9fce1ac 14730 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14731 negotiation fails, then possibly try again with a non-encrypted
14732 connection (bug#9017).
14733
56ec5115
LMI
14734 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14735 be used.
14736
c2f9aec8
RS
147372011-07-07 Richard Stallman <rms@gnu.org>
14738
14739 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14740 property, and handle its changed format.
14741 Look for the correct line number.
14742 Use file's line contents (but not past first =) to find
14743 correct line in message.
14744
ef7b981d 147452011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14746
14747 * international/characters.el (build-unicode-category-table):
14748 Delete it.
0757af94 14749 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14750
0757af94 14751 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14752 to src/chartab.c.
14753 (get-char-code-property): Call unicode-property-table-internal to
14754 load a file. Call get-unicode-property-internal where necessary.
14755 (put-char-code-property): Call unicode-property-table-internal to
14756 load a file. Call put-unicode-property-internal where necessary.
14757 put-unicode-property-internal where necessary.
0757af94
SM
14758 (char-code-property-description):
14759 Call unicode-property-table-internal to load a file.
c805dec0
KH
14760
14761 * international/charprop.el:
14762 * international/uni-bidi.el:
14763 * international/uni-category.el:
14764 * international/uni-combining.el:
14765 * international/uni-comment.el:
14766 * international/uni-decimal.el:
14767 * international/uni-decomposition.el:
14768 * international/uni-digit.el:
14769 * international/uni-lowercase.el:
14770 * international/uni-mirrored.el:
14771 * international/uni-name.el:
14772 * international/uni-numeric.el:
14773 * international/uni-old-name.el:
14774 * international/uni-titlecase.el:
14775 * international/uni-uppercase.el: Regenerate.
14776
14777 * loadup.el: Load international/charprop.el before
14778 international/characters.
14779
e14b388a
CY
147802011-07-07 Chong Yidong <cyd@stupidchicken.com>
14781
14782 * window.el (next-buffer, previous-buffer): Signal an error if
14783 called from a minibuffer window.
14784
14785 * bindings.el: Revert 2011-07-04 change.
14786
354cf0ba
RS
147872011-07-06 Richard Stallman <rms@gnu.org>
14788
14789 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14790 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14791 Treat markers like ints.
14792 (rmail-mime-entity): Doc fix.
14793
a48868a7
LMI
147942011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14795
4906cd3d
LMI
14796 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14797 defcustom again for backwards compatibility.
14798
e0457abe
LMI
14799 * simple.el (shell-command-on-region): Fill.
14800
d67f7e1f
LMI
14801 * dired-aux.el (dired-kill-line): Add a doc string.
14802
fe204702
LMI
14803 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14804 to "\\sw\\|\\s_" (bug#358).
14805
a48868a7
LMI
14806 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14807 (dired-unmark-backward): Ditto.
14808 (dired-flag-backup-files): Ditto.
14809
14810 * dired-x.el (dired-mark-sexp): Ditto.
14811
aa8a705c
RS
148122011-07-06 Richard Stallman <rms@gnu.org>
14813
14814 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14815 (rmail-mime-entity): New arg TRUNCATED.
14816 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14817 New functions.
14818 (rmail-mime-save): Warn if entity is truncated.
14819 (rmail-mime-toggle-hidden): Likewise, for showing.
14820 (rmail-mime-process-multipart): Record when an entity is truncated.
14821
a9a936b9
RS
14822 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14823 if ENTITY is a string.
14824
1f2b92cb
LMI
148252011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14826
f4f73198 14827 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14828 of faces when `M-C-x'-ing their definitions (bug#8378).
14829 Also clean up the code slightly.
f4f73198 14830
12b16734 14831 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14832 because that makes the colors go away.
12b16734 14833
f0691d22
LMI
14834 * mail/sendmail.el (send-mail-function): Change the default to
14835 `sendmail-query-once'.
9e87df06 14836 (sendmail-query-once): Add an autoload cookie.
f0691d22 14837
1f2b92cb
LMI
14838 * net/network-stream.el (network-stream-open-starttls): Try using
14839 a plain connection even if the server offered STARTTLS, and we
14840 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14841 capability. This should make smtpmail.el work in slightly more
14842 configurations.
14843
1cdd2a1b
MA
148442011-07-06 Michael Albinus <michael.albinus@gmx.de>
14845
14846 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14847 New defun.
14848 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14849
fbcc67e2
MM
148502011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14851
14852 * progmodes/sql.el: Version 3.0
0757af94 14853 (sql-product-alist): Add product :completion-object,
fbcc67e2 14854 :completion-column, and :statement attributes.
0757af94 14855 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14856 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14857 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14858 ansi keywords.
14859 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14860 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14861 (sql-oracle-show-reserved-words): New function for development.
14862 (sql-product-font-lock): Simplify for source code buffers.
14863 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14864 New functions.
14865 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14866 (sql-mode-map): Add statement movement functions.
14867 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14868 New variable.
fbcc67e2
MM
14869 (sql-statement-regexp, sql-beginning-of-statement)
14870 (sql-end-of-statement, sql-signum): New functions.
0757af94 14871 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14872 (sql-show-sqli-buffer): Bug fix.
14873 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14874 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14875 with sql-interactive-mode.
14876 (sql-save-connection): Save buffer local settings.
0757af94 14877 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14878 (sql-product-interactive): Bug fix.
14879 (sql-preoutput-hold): New variable.
14880 (sql-interactive-remove-continuation-prompt): Bug fixes.
14881 (sql-debug-redirect): New variable.
14882 (sql-str-literal): New function.
14883 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14884 Redesign.
fbcc67e2
MM
14885 (sql-oracle-save-settings, sql-oracle-restore-settings)
14886 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14887 (sql-completion-object, sql-completion-column)
14888 (sql-completion-sqlbuf): New variables.
14889 (sql-build-completions-1, sql-build-completions)
14890 (sql-try-completion): New functions.
14891 (sql-read-table-name): Use them.
14892 (sql-contains-names): New buffer local variable.
14893 (sql-list-all, sql-list-table): Use it.
14894 (sql-oracle-completion-types): New variable.
14895 (sql-oracle-completion-object, sql-sqlite-completion-object)
14896 (sql-postgres-completion-object): New functions.
14897
d4eaeab1
GM
148982011-07-06 Glenn Morris <rgm@gnu.org>
14899
14900 * window.el (pop-to-buffer): Doc fix.
14901
322b7dab 149022011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14903
14904 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14905
322b7dab 149062011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14907
322b7dab 14908 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14909
322b7dab 14910 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14911
605dd5bf
CY
149122011-07-05 Chong Yidong <cyd@stupidchicken.com>
14913
14914 * button.el (button): Inherit from link face. Suggested by Dan
14915 Nicolaescu.
14916
7dbfa719
SM
149172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14918
3db614b0
SM
14919 * progmodes/gdb-mi.el: Fit in 80 columns.
14920 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14921 switch-to-buffer.
14922
7dbfa719
SM
14923 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14924 if imenu is simply not configured (bug#8941).
14925
919d884a
KM
149262011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14927
14928 * allout.el (allout-post-undo-hook): New allout outline-change
14929 event hook to signal undo activity.
14930 (allout-post-command-business): Run allout-post-undo-hook if an
14931 undo just occurred.
7dbfa719
SM
14932 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14933 * allout-widgets.el (allout-widgets-after-undo-function):
14934 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14935 in the vicinity of an undo.
14936 (allout-widgets-mode): Include allout-widgets-after-undo-function
14937 on the new allout-post-undo-hook.
14938
450a0f09
SM
149392011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14940
14941 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14942 Let define-derived-mode define it.
14943 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14944 cycles of abbrev-table inheritance (bug#8998).
14945
2de69e00
RW
149462011-07-05 Roland Winkler <winkler@gnu.org>
14947
14948 * textmodes/bibtex.el: Add support for biblatex.
14949 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14950 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14951 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14952 (bibtex-entry-alist, bibtex-field-alist): New variables.
14953 (bibtex-entry-field-alist): Obsolete alias for
14954 bibtex-BibTeX-entry-alist.
14955 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14956 (bibtex-set-dialect): New command.
14957 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14958 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14959 Bind via bibtex-set-dialect.
2de69e00
RW
14960 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14961 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14962 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14963 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14964 Define via bibtex-set-dialect.
450a0f09
SM
14965 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14966 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14967 (bibtex-vec-push, bibtex-vec-incr): New functions.
14968 (bibtex-format-entry, bibtex-field-list)
14969 (bibtex-print-help-message, bibtex-validate)
14970 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14971
2dcdbdd9
SM
149722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14973
14974 * progmodes/compile.el (compilation-goto-locus):
14975 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14976 * bs.el (bs-cycle-next, bs-cycle-previous):
14977 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14978 * bindings.el (mode-line-other-buffer):
14979 * autoinsert.el (auto-insert):
14980 * arc-mode.el (archive-extract):
14981 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14982
b27640fe
JB
149832011-07-05 Juanma Barranquero <lekktu@gmail.com>
14984
14985 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14986 Fix check of `emacs-lock-unlockable-modes'.
14987 Coerce true values of `emacs-lock--try-unlocking' to t.
14988
53bbe3ad
JB
149892011-07-05 Juanma Barranquero <lekktu@gmail.com>
14990
14991 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14992 * emacs-lock.el: New file.
14993
1d3cdbc7
JD
149942011-07-05 Julien Danjou <julien@danjou.info>
14995
14996 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14997 than `boundp' to check if face is set.
14998
9173deec
JB
149992011-07-05 Juanma Barranquero <lekktu@gmail.com>
15000
15001 * register.el (registerv-make):
15002 * window.el (window-min-height): Fix typos in docstrings.
15003
869795d6
JD
150042011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15005
9173deec 15006 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15007 Update doc string.
15008
b768cdcd
JB
150092011-07-04 Juanma Barranquero <lekktu@gmail.com>
15010
15011 * server.el (server-execute): Catch quit and call
15012 `server-return-error' to pass the error back to emacsclient and
15013 close the connection (bug#8942).
15014
13aa217b
KM
150152011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15016
15017 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15018 insecure exception for current topic. Also note that auto-saves
15019 are handled differently.
15020
5d3385a0 15021 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15022 State variables for tracking auto-save inhibition situation.
15023
15024 (allout-write-contents-hook-handler): Rename from
15025 'allout-write-file-hook-handler', and describe how it depends on
15026 write-contents-functions sensitivity to non-nil value to prevent
15027 file write.
15028
15029 (allout-auto-save-hook-handler): Remove. auto-save does not check
15030 this in individual buffers, only in the starting buffer, so this
15031 is not the right way for us to inhibit auto-save in a buffer
15032 according to its condition.
15033
15034 (allout-mode): Use new allout-write-contents-hook-handler, and
15035 only with write-contents-functions. Remove auto-save provisions -
15036 they're implemented elsewhere.
15037
15038 (allout-before-change-handler): If undo is in progress, note that
15039 for attention of allout-post-command-business.
15040
15041 (allout-post-command-business): If the command we're following was
15042 an undo, check for change in the status of encrypted items and
15043 adjust auto-save inhibitions accordingly.
15044
15045 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15046 according to whether there are or aren't any plain-text topics
15047 pending encryption.
15048
2dcdbdd9 15049 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15050 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15051 if there are plain-text topics pending encryption.
13aa217b
KM
15052
15053 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15054 buffer-saved-size and some allout state to not inhibit auto-saves
15055 if there are no longer any plain-text topics pending encryption.
15056
0757af94
SM
15057 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15058 No longer provide for exemption of the current topic.
13aa217b 15059
ac89b32c
JL
150602011-07-04 Juri Linkov <juri@jurta.org>
15061
15062 Add 7z operations to delete and save changed members (bug#8968).
15063 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15064 New defcustoms.
15065 (archive-7z-write-file-member): New function.
15066 (archive-7z-summarize): Fix the number of dashes in the
15067 listing output.
15068
8fa39615
SM
150692011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15070
15071 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15072 (bug#8958).
15073
2f11b3f1
CY
150742011-07-04 Chong Yidong <cyd@stupidchicken.com>
15075
d66fef2b
CY
15076 * bindings.el: Ignore next-buffer and previous-buffer in
15077 minibuffer-local-map.
15078
2f11b3f1
CY
15079 * font-lock.el (font-lock-builtin-face): Change light background
15080 color to dark slate blue (Bug#6693).
15081
f932a347
WD
150822011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15083
15084 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15085
c8af70e1
SM
150862011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15087
15088 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15089 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15090 Add switch-to-buffer.
15091
f158badc
LMI
150922011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15093
15094 * isearch.el (isearch-search-fun-function): Clarify further the
15095 meaning of the function returned.
15096
6d95bd46
MA
150972011-07-04 Michael Albinus <michael.albinus@gmx.de>
15098
15099 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15100
15101 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15102 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15103 Use it.
15104 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15105 `tramp-default-remote-path' does not exist.
15106 (tramp-send-command-and-read): New optional argument NOERROR.
15107 (tramp-open-connection-setup-interactive-shell)
15108 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15109 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15110 (tramp-process-sentinel): Flush also process' connection property.
15111 (tramp-sh-handle-start-file-process): Do not set process
15112 sentinel. It is done now ...
15113 (tramp-maybe-open-connection): ... here. (Bug#8929)
15114
909e6b67
MK
151152011-07-04 MON KEY <monkey@sandpframing.com>
15116
15117 * play/animate.el (animate-string): Doc fixes and allow changing
15118 the buffer name (bug#5417).
15119
151202011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15121
c8af70e1 15122 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15123
f34755dc
PE
151242011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15125
396cec72
PE
15126 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15127 This is simpler and helps future-proof the code.
15128 (timer-until): Use time-subtract and float-time.
08235028 15129 (timer--time-less-p): Use time-less-p.
f34755dc 15130
56e6cc31
JB
151312011-07-04 Juanma Barranquero <lekktu@gmail.com>
15132
3abb79e5
JB
15133 * type-break.el (timep): Use the value of `float-time' to avoid a
15134 byte-compiler warning.
15135
56e6cc31
JB
15136 * server.el (server-eval-and-print): Return any result, even nil.
15137
7b9430b4
PE
151382011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15139
15140 * type-break.el: Accept time formats that the builtins accept.
15141 (timep, type-break-time-difference): Accept any format that
15142 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15143 This is simpler and helps future-proof the code.
15144 (type-break-time-difference): Round rather than ignoring
15145 subseconds components.
15146
3034e9e7
LMI
151472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15148
15149 * info.el (Info-apropos-matches): Make non-interactive, since it
15150 doesn't seem to do anything useful as a command (bug#8829).
15151
1485f4c0
CY
151522011-07-03 Chong Yidong <cyd@stupidchicken.com>
15153
15154 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15155 Move from faces.el.
1485f4c0
CY
15156 (frame-default-terminal-background): New function.
15157
15158 * custom.el (custom-push-theme): Don't record faces in `changed'
15159 theme; this doesn't work correctly for per-frame face settings.
15160 (disable-theme): Use face-set-after-frame-default to reset faces.
15161 (custom--frame-color-default): New function.
15162
9fa3dd45
LMI
151632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15164
c8af70e1 15165 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15166 (bug#8769).
15167
6cbbc20c
KR
151682011-03-29 Kevin Ryde <user42@zip.com.au>
15169
15170 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15171 `perl-Test2' extend to match possible "fail #N" rep count
15172 (bug#8377).
15173
c7f98048
LMI
151742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15175
65676592
LMI
15176 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15177 `smtpmail-via-smtp' now returns the error instead of nil.
15178
c7f98048
LMI
15179 * isearch.el (isearch-search-fun-function): Clarify the doc string
15180 (bug#8101).
15181
56e6cc31 151822011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15183
15184 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15185 unnecessary spaces (bug#8987).
15186
2b216704
LMI
151872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15188
15189 * net/network-stream.el (open-network-stream): Use the
15190 :end-of-capability command thoughout.
15191
151922011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15193
15194 * net/network-stream.el (open-network-stream): Add the
15195 :end-of-capability command parameter, used by pop3.el.
15196
36adf6ce
LMI
151972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15198
1ca0da0e
LMI
15199 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15200
fc00f69c
LMI
15201 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15202 for list)" (bug#6475).
15203
28fd8759 15204 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15205 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15206 an error (bug#6297).
15207
0dd8b6da
LMI
15208 * man.el (Man-reference-regexp): Allow matching possible
15209 word-wrapped references (bug#6289).
15210
ce1438d6
LMI
15211 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15212 for consistency with the other vc buffers (bug#6197).
15213 (vc-checkin): Ditto.
15214
15215 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15216
36adf6ce
LMI
15217 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15218
e83cc1f7
LMI
152192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15220
8a20ca4c
LMI
15221 * custom.el (defcustom): Clarify that :set is only used in the
15222 Customize user interface (bug#6089).
15223
83319045
LMI
15224 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15225 associated with a file, refuse to run instead of erroring out
15226 (bug#6084).
15227
a8392169
LMI
15228 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15229 the doc string, since it appears that using `fill-column' always
15230 controls the width (bug#7845).
15231
e83cc1f7
LMI
15232 * simple.el (shell-command-on-region): Say where the error output
15233 went if `shell-command-default-error-buffer' is set (bug#6857).
15234
e47ca23b
KM
152352011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15236
15237 * allout.el (allout-yank-processing): Adjust cursor position for
15238 backwards-deleted space.
15239
15240 (allout-rebullet-heading): Register changes with
15241 allout-exposure-changed-hook, so the modified topic is properly
15242 decorated.
15243
5cf56143
LMI
152442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15245
08549772
LMI
15246 * minibuffer.el (completion-in-region): Document PREDICATE
15247 (bug#7136).
15248
48e96771
LMI
15249 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15250 of keyword/argument pairs (bug#6904).
15251
c8af70e1
SM
15252 * replace.el (multi-occur):
15253 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15254
e17d05e2
LMI
152552011-07-02 Drew Adams <drew.adams@oracle.com>
15256
15257 * dired.el (dired-mark-if): Make the message about whether it's
15258 marking or unmarking clearer (bug#8523).
15259
063b0e45
LMI
152602011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15261
15262 * disp-table.el (display-table-print-array): New function.
15263 (describe-display-table): Use it to print the vectors more pretty
15264 (Bug#8859).
15265
28545e04
MR
152662011-07-02 Martin Rudalics <rudalics@gmx.at>
15267
15268 * window.el (window-state-get-1): Don't assign clone numbers.
15269 Add clone-of item to list of window parameters.
15270 (window-state-put-2): Don't process clone numbers.
15271 (display-buffer-alist): Fix doc-string.
15272
3349e122
SM
152732011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15274
15275 * subr.el (remq): Don't allocate if it's not needed.
15276 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15277 (keymap--merge-bindings): New functions.
15278 (keymap-canonicalize): Use them to refine the canonicalization.
15279 * minibuffer.el (minibuffer-local-completion-map)
15280 (minibuffer-local-must-match-map): Move initialization from C.
15281 (minibuffer-local-filename-completion-map): Move initialization from C;
15282 don't inherit from anything here.
15283 (minibuffer-local-filename-must-match-map): Make obsolete.
15284 (completing-read-default): Use make-composed-keymap to combine
15285 minibuffer-local-filename-completion-map with either
15286 minibuffer-local-must-match-map or
15287 minibuffer-local-filename-completion-map.
15288
d224ac83
GM
152892011-07-01 Glenn Morris <rgm@gnu.org>
15290
3de63bf8
GM
15291 * type-break.el (type-break-time-sum): Use dolist.
15292
d224ac83
GM
15293 * textmodes/flyspell.el (flyspell-word-search-backward):
15294 Replace CL function.
15295
1a1e3f32
SM
152962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15297
fe3f64d5
SM
15298 * mouse.el (mouse--strip-first-event): New function.
15299 (function-key-map): Use it to map fringe clicks to normal clicks
15300 by default.
15301
eb604e34
SM
15302 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15303 (vc-bzr-revision-completion-table): Add support for annotate and date.
15304
1a1e3f32
SM
15305 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15306 inherit from parent.
15307
5bd35902
LMI
153082011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15309
ace6c69c 15310 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15311 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15312
191e2bed
LMI
15313 * dired.el (dired-mode): Fix up the doc string as suggested by
15314 Drew Adams (bug#8817).
15315
5bd35902
LMI
15316 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15317 cookie, since the manual says that it should be possible to add
15318 this function to `find-file-hook' (bug#8709).
15319
eee8207a
TZ
153202011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15321
15322 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15323 here. Noted Ted Zlatanov as the maintainer.
15324 (cfengine-common-settings, cfengine-common-syntax): New functions
15325 to set up common things between `cfengine-mode' and
15326 `cfengine3-mode'.
15327 (cfengine3-mode): New mode.
15328 (cfengine3-defuns cfengine3-defuns-regex
15329 (cfengine3-class-selector-regex cfengine3-category-regex)
15330 (cfengine3-vartypes cfengine3-font-lock-keywords)
15331 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15332 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15333
36b148cf
MA
153342011-07-01 Michael Albinus <michael.albinus@gmx.de>
15335
15336 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15337
15338 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15339
0bf4ba9a
MR
153402011-07-01 Martin Rudalics <rudalics@gmx.at>
15341
15342 * window.el (same-window-buffer-names, same-window-regexps)
15343 (same-window-p, special-display-frame-alist)
15344 (special-display-popup-frame, special-display-function)
15345 (special-display-buffer-names, special-display-regexps)
15346 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15347 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15348 (split-window-preferred-function, split-height-threshold)
15349 (split-width-threshold, even-window-heights)
15350 (display-buffer-mark-dedicated, window-splittable-p)
15351 (split-window-sensibly, window-safely-shrinkable-p):
15352 Un-obsolete.
15353 (display-buffer): Don't spread args with function specifier
15354 because special-display-popup-frame won't like it.
15355
35837f51
PE
153562011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15357
d0672f86
PE
15358 Time-stamp simplifications and fixes.
15359 These improve accuracy slightly, and future-proof the code
15360 against some potential changes to current-time format.
15361
b9444d97
PE
15362 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15363 by using time-since and float-time.
15364
0ef923dc
PE
15365 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15366 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15367 + NNN microseconds".
15368
2f81380d
PE
15369 * type-break.el (type-break-time-sum): Rewrite using time-add.
15370
845b5c3e
PE
15371 * play/hanoi.el (hanoi-current-time-float): Remove.
15372 All uses replaced by float-time.
15373
ee6f1be0
PE
15374 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15375 This yields a more-accurate answer.
15376 (rng-time-to-float): Remove; no longer needed.
15377
fe955043
PE
15378 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15379
5777162a
PE
15380 * calendar/timeclock.el (timeclock-seconds-to-time):
15381 Defalias to seconds-to-time, since they're the same thing.
15382
3103f8b6 15383 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15384 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15385 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15386
0e61a35f
SM
153872011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15388
15389 * window.el (bury-buffer): Don't iconify the only frame.
15390 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15391 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15392
ddd63a1e
CY
153932011-07-01 Chong Yidong <cyd@stupidchicken.com>
15394
0e61a35f
SM
15395 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15396 Add mouse-yank-primary.
ddd63a1e 15397
055f4923
TZ
153982011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15399
15400 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15401
6a2fb145
SM
154022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15403
15404 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15405 (find-library-name): Use it to find relative load names when provided
15406 absolute file name (bug#8803).
15407
fd4983f2
LMI
154082011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15409
887d14ad
LMI
15410 * textmodes/flyspell.el (flyspell-word): Consider words that
15411 differ only in case as potential doublons (bug#5687).
15412
c53dc7fc
LMI
15413 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15414 Remove two rather uninteresting debugging-like messages to make
15415 debbugs.el more silent.
15416
fd4983f2
LMI
15417 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15418 a password-like phrase.
15419
7a71b18d 154202011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15421
15422 * progmodes/cc-guess.el: New file.
15423
6a2fb145 15424 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15425
15426 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15427 derived from `c-basic-common-init'.
15428
15429 * progmodes/cc-mode.el (top-level): Require cc-guess.
15430 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15431
1fa280a3
LM
154322011-06-30 Lawrence Mitchell <wence@gmx.li>
15433
15434 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15435
e6597158
AM
154362011-06-30 Alan Mackenzie <acm@muc.de>
15437
1fa280a3
LM
15438 * progmodes/cc-engine.el (c-guess-continued-construct):
15439 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15440 lock is disabled. Name this case as "CASE G".
15441
68ba37fb
KM
154422011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15443
15444 * allout.el (allout-yank-processing): Fix injection of extra space
15445 between bullet and non-whitespace character in first topic when
15446 pasting, ensuring that the actual spacing in the pasted topic
15447 following the bullet char is preserved. This extra space was
15448 causing pasted encrypted topics to get a decrypted status even
15449 when the content was actually still encrypted. Now the decryption
15450 status from before the paste is preserved.
15451
15452 (allout-flag-region): Set all allout overlays so they evaporate
15453 when reduced to zero length (evanescent), to prevent overlay
15454 leakage.
15455
887a0b34
GM
154562011-06-30 Glenn Morris <rgm@gnu.org>
15457
94b9acce
GM
15458 * w32-fns.el (w32-charset-info-alist): Declare.
15459
1d9b46d4
GM
15460 * find-dired.el (find-grep-options): Simplify.
15461
cc232200
GM
15462 * term/ns-win.el (ns-set-resource): Declare.
15463
28e77c46
GM
15464 * ses.el (row, col): Declare dynamic variables honestly.
15465
887a0b34
GM
15466 * textmodes/reftex-parse.el (index-tags): Declare.
15467
658d8eb8
CY
154682011-06-30 Chong Yidong <cyd@stupidchicken.com>
15469
15470 * cus-edit.el (customize-push-and-save): New function.
15471
15472 * files.el (hack-local-variables-confirm): Use it.
15473
1fa280a3
LM
15474 * custom.el (load-theme): New arg NO-CONFIRM.
15475 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15476 (custom-enabled-themes): Doc fix.
15477
15478 * cus-theme.el (customize-create-theme)
15479 (custom-theme-merge-theme): Callers to load-theme changed.
15480
bb617717
LMI
154812011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15482
d61bdd5d
LMI
15483 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15484 short URLs have at least one dot in them (bug #7614).
15485
bb617717
LMI
15486 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15487 nil, because using a pty is apparently too slow (bug #895).
15488
2f31f37a
LMI
154892011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15490
15491 * mail/sendmail.el (sendmail-query-once): New function.
15492 (sendmail-query-once-function): New variable.
15493
3076b24e
GM
154942011-06-29 Glenn Morris <rgm@gnu.org>
15495
faf2a174
GM
15496 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15497
3076b24e
GM
15498 * ses.el (top-level): Require cl when compiling.
15499 (ses-set-localvars): Fix error statement.
15500 Call it at compile time to silence a storm of warnings.
15501
5386012d
MR
155022011-06-29 Martin Rudalics <rudalics@gmx.at>
15503
15504 * window.el (normalize-live-buffer): Rename to
15505 window-normalize-buffer.
15506 (normalize-live-frame): Rename to window-normalize-frame.
15507 (normalize-any-window): Rename to window-normalize-any-window.
15508 (normalize-live-window): Rename to window-normalize-live-window.
15509 (make-window-atom): Rename to window-make-atom.
15510 (window-resize-reset): Rename to window--resize-reset.
15511 (window-resize-reset-1): Rename to window--resize-reset-1.
15512 (resize-mini-window): Rename to window--resize-mini-window.
15513 (resize-subwindows-skip-p): Rename to
15514 window--resize-subwindows-skip-p.
15515 (resize-subwindows-normal): Rename to
15516 window--resize-subwindows-normal.
15517 (resize-subwindows): Rename to window--resize-subwindows.
15518 (resize-other-windows): Rename to window--resize-siblings.
15519 (resize-this-window): Rename to window--resize-this-window.
15520 (resize-root-window): Rename to window--resize-root-window.
15521 (resize-root-window-vertically): Rename to
15522 window--resize-root-window-vertically.
15523 (normalize-buffer-to-display): Rename to
15524 window-normalize-buffer-to-display.
15525 (normalize-buffer-to-switch-to): Rename to
15526 window-normalize-buffer-to-switch-to.
15527 Correspondingly update all callers of the functions listed
15528 above.
15529 (display-buffer-alist, display-buffer-normalize-arguments)
15530 (display-buffer-normalize-options, display-buffer)
15531 (display-buffer-alist-set): Use "function" instead of
15532 "fun-with-args".
15533
1176868d
CY
155342011-06-28 Chong Yidong <cyd@stupidchicken.com>
15535
15536 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15537 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15538 debbugs.gnu.org. Mention acknowledgment email.
15539
20a7a65f
LMI
155402011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15541
15542 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15543 buffer multibyteness, since it shouldn't matter.
15544
5f45cca5
MR
155452011-06-28 Martin Rudalics <rudalics@gmx.at>
15546
15547 * window.el (display-buffer-in-side-window): Handle dedicated
15548 windows as in display-buffer-reuse-window.
15549 (display-buffer-normalize-alist): Use value of override
15550 specifier.
15551 (display-buffer-normalize-specifiers): Use value of
15552 other-window-means-other-frame specifier.
15553 (display-buffer-alist): Rewrite some texts in widgets.
15554 (display-buffer): Spread arguments when calling function
15555 specified by fun-with-args.
15556
ad85fe1f
DD
155572011-06-28 Deniz Dogan <deniz@dogan.se>
15558
1fa280a3
LM
15559 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15560 Unnest `let'.
da68c4c8 15561
ad85fe1f
DD
15562 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15563 selectors (Bug#5732).
ec49bd31 15564 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15565
a08cc025
JA
155662011-06-27 Jari Aalto <jari.aalto@cante.net>
15567
15568 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15569 (eshell-ls-date-format): New defcustom.
15570 (eshell-ls-file): Use it.
15571
e2b551c5
SM
155722011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15573
15574 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15575
8982b231
KY
155762011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15577
15578 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15579 (ange-ftp-make-tmp-name): New arg.
15580 (ange-ftp-file-local-copy): Use it.
15581
36c9fa27
J
155822011-06-27 Jambunathan K <kjambunathan@gmail.com>
15583
15584 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15585 no-conversion (Bug#8870).
15586
d68443dc
MR
155872011-06-27 Martin Rudalics <rudalics@gmx.at>
15588
15589 * window.el (window-right, window-left, window-child)
15590 (window-child-count, window-last-child)
15591 (window-iso-combination-p, walk-window-tree-1)
15592 (window-atom-check-1, window-tree-1, delete-window)
15593 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15594 new naming conventions - window-vchild, window-hchild,
15595 window-next and window-prev are now called window-top-child,
15596 window-left-child, window-next-sibling and window-prev-sibling
15597 respectively.
d615d6d2
MR
15598 (resize-window-reset): Rename to window-resize-reset.
15599 (resize-window-reset-1): Rename to window-resize-reset-1.
15600 (resize-window): Rename to window-resize.
15601 (window-min-height, window-min-width)
15602 (resize-mini-window, resize-this-window, resize-root-window)
15603 (resize-root-window-vertically, adjust-window-trailing-edge)
15604 (enlarge-window, shrink-window, maximize-window)
15605 (minimize-window, delete-window, quit-restore-window)
15606 (split-window, balance-windows, balance-windows-area-adjust)
15607 (balance-windows-area, window-state-put-2)
15608 (display-buffer-even-window-sizes, display-buffer-set-height)
15609 (display-buffer-set-width, set-window-text-height)
15610 (fit-window-to-buffer): Rename all "resize-window" prefixed
15611 calls to use the "window-resize" prefix convention.
15612 (display-buffer-alist): Fix symbol for label specifier.
15613 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15614 corresponding specifier.
15615 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15616
b6458526
VB
156172011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15618
15619 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15620 convention.
15621 (ses-call-printer): Does not pass an empty string to formatter when the
15622 cell is empty to keep from barking printer Calc math-format-value.
15623
d31fd9ac
RS
156242011-06-27 Richard Stallman <rms@gnu.org>
15625
43d5bf84
RS
15626 * battery.el (battery-mode-line-limit): New variable.
15627 (battery-update): Handle it.
15628
d31fd9ac
RS
15629 * mail/rmailmm.el (rmail-mime-process-multipart):
15630 Handle truncated messages.
15631
819a6054
GM
156322011-06-27 Glenn Morris <rgm@gnu.org>
15633
15634 * progmodes/flymake.el (flymake-err-line-patterns):
15635 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15636
cedc73f2
VB
156372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15638
819a6054 15639 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15640 (ses--clean-!, ses--clean-_): New functions.
15641 (ses-range): Add configurability of readout order, and conversion
15642 to Calc vector.
15643
5e5d49b6
VB
15644 * ses.el (ses-repair-cell-reference-all): New function.
15645 (ses-cell-symbol): Set macro as safe, so that it can be used in
15646 formulas.
15647
56e6cc31 15648 * ses.el: Update cycle detection algorithm.
90ca8b49 15649 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15650 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15651 (ses-set-localvars): New function.
15652 (ses-make-cell): Add property-list as a cell element.
15653 (ses-cell-property-get-fun, ses-cell-property-get)
15654 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15655 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15656 New functions.
90ca8b49
VB
15657 (ses-cell-property-set, ses-cell-property-pop)
15658 (ses-cell-property-get-handle): New macro.
15659 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15660 New aliases, used for code readability.
15661 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15662 cycle detection.
15663 (ses-self-reference-early-detection): New defcustom.
fac916bf 15664 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15665 (ses-mode): Use ses-set-localvars.
15666 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15667 before lauching the update processing.
15668 (ses-initialize-Dijkstra-attempt): New function.
15669 (ses-recalculate-cell): Update for cycle detection based on
15670 Dijkstra algorithm.
15671
2bb63e81
VB
15672 * ses.el: Fix commenting and indenting convention.
15673
c9d29fb8
SM
156742011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15675
15676 * bs.el (bs-cycle-next): Complete last change.
15677
d8e4b68b
JB
156782011-06-27 Drew Adams <drew.adams@oracle.com>
15679
15680 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15681
40098786
LMI
156822011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15683
c9d29fb8
SM
15684 * net/network-stream.el (network-stream-open-starttls):
15685 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15686 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15687
40098786
LMI
15688 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15689 to binary to possibly avoid line encoding issues on Windows (among
15690 other things).
15691
468d09d4
LMI
156922011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15693
15694 * net/network-stream.el (open-network-stream): Return an :error
15695 saying what the problem was, if possible.
15696
15697 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15698 server.
15699
15700 * net/network-stream.el (network-stream-open-starttls): If we
15701 wanted to use STARTTLS, and the server offered it, but we weren't
15702 able to because we had no STARTTLS support, then close the connection.
15703 (open-network-stream): Return an :error element, if present.
15704
16f07dd7
CY
157052011-06-26 Chong Yidong <cyd@stupidchicken.com>
15706
88821ca0
CY
15707 * hl-line.el (hl-line-sticky-flag): Doc fix.
15708 (global-hl-line-sticky-flag): New option (Bug#8323).
15709 (global-hl-line-highlight): Obey it.
15710
16f07dd7
CY
15711 * vc/vc.el (vc-revert-show-diff): Default to t.
15712
6b5ccddf
KM
157132011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15714
c9d29fb8
SM
15715 * allout-widgets.el (allout-widgets-post-command-business):
15716 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15717 undecorated when an isearch is continued past, and isearch
15718 automatically collapses them. This leads to "widget leaks", where
15719 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15720 hidden widgets can slow down cursor travel, substantially.
15721 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15722 so we're doing without this nicety.
15723
15724 (allout-widgets-tally-string): Don't try to do a hash-table-count
15725 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15726 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15727 *Messages* when allout-widgets-maintain-tally is t.
15728
355f2e07
MR
157292011-06-26 Martin Rudalics <rudalics@gmx.at>
15730
15731 * window.el (display-buffer-normalize-argument): Rename to
15732 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15733 LABEL argument. Respect special-display-function when popping up
15734 a new frame. Fix code searching for a window showing the buffer
15735 on another frame.
c9d29fb8
SM
15736 (display-buffer-normalize-specifiers):
15737 Call display-buffer-normalize-arguments.
355f2e07
MR
15738 (display-buffer-in-window): Don't undedicate the window if its
15739 buffer remains the same.
15740 Reported by Drew Adams <drew.adams@oracle.com>.
15741 (display-buffer-alist): Add choice for same-window macro
15742 specfier.
15743 (display-buffer): Mention special meaning of LABEL argument in
15744 doc-string. Fix quoting. Don't pop up a new frame even as
15745 fallback.
15746
7ca8fc42
JB
157472011-06-26 Juanma Barranquero <lekktu@gmail.com>
15748
15749 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15750 avoid deleting the current window in some cases (bug#8911).
15751
bc312254
AS
157522011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15753
15754 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15755 (Bug#8934)
15756
2db18f3f
LMI
157572011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15758
c9d29fb8
SM
15759 * net/network-stream.el (network-stream-open-starttls):
15760 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15761 (network-stream-open-tls): Ditto.
15762
6302e0d3
LL
157632011-06-26 Leo Liu <sdl.web@gmail.com>
15764
15765 * register.el (registerv): New struct.
15766 (registerv-make): New function.
c9d29fb8
SM
15767 (jump-to-register, describe-register-1, insert-register):
15768 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15769 struct. (Bug#8415)
15770
5fdd4046
CY
157712011-06-26 Chong Yidong <cyd@stupidchicken.com>
15772
2afef60a
CY
15773 * vc/vc.el (vc-revert-show-diff): New defcustom.
15774 (vc-diff-internal): New arg specifying diff buffer.
15775 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15776 reuse an existing *vc-diff* buffer (Bug#8927).
15777
5fdd4046
CY
15778 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15779
e93db24a
GM
157802011-06-26 Glenn Morris <rgm@gnu.org>
15781
15782 * progmodes/f90.el (f90-critical-indent): New option.
15783 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15784 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15785 (f90-mode): Doc fix.
15786 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15787 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15788 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15789 (f90-match-end): Handle block, critical.
15790
eefff499
GM
157912011-06-25 Glenn Morris <rgm@gnu.org>
15792
f6ba4cc9
GM
15793 * calendar/diary-lib.el (diary-included-files): Doc fix.
15794 (diary-include-files): New function, extracted from
15795 diary-include-other-diary-files and diary-mark-included-diary-files.
15796 (diary-include-other-diary-files, diary-mark-included-diary-files):
15797 Just call diary-include-files.
15798 (diary-mark-entries): Reset diary-included-files on first call.
15799
16712304
GM
15800 * calendar/diary-lib.el (diary-mark-entries)
15801 (diary-mark-included-diary-files):
15802 Visit included diary-files in temp buffers.
15803
5d8e0d43
GM
15804 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15805 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15806 (f90-start-block-re, f90-imenu-generic-expression)
15807 (f90-looking-at-program-block-start, f90-no-block-limit):
15808 Add support for submodules.
15809
ccf7a5d5
GM
15810 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15811 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15812
11fdef7d 158132011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15814
15815 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15816 buffer-file-type before setting its value, to avoid disastrous
eefff499 15817 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15818
74f53697
JB
158192011-06-25 Juanma Barranquero <lekktu@gmail.com>
15820
15821 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15822
15823 * ses.el (ses-unload-function):
15824 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15825
15826 * proced.el (proced-unload-function):
15827 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15828
18a4ce5e
AR
158292011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15830
15831 * server.el (server-create-window-system-frame): Add parameters arg.
15832 (server-process-filter): Doc fix. Handle frame-parameters.
15833
519d22cc
JB
158342011-06-25 Juanma Barranquero <lekktu@gmail.com>
15835
15836 Fix bug#8730, bug#8781.
15837
15838 * loadhist.el (unload--set-major-mode): New function.
15839 (unload-feature): Use it.
15840
15841 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15842 (python-unload-function): New function.
15843
c206f5b0
SM
158442011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15845
15846 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15847
f9ad64f3
GS
158482011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15849
15850 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15851 the candidates list.
15852
7d0da90e
JB
158532011-06-24 Juanma Barranquero <lekktu@gmail.com>
15854
15855 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15856
14b4e83d
RS
158572011-06-23 Richard Stallman <rms@gnu.org>
15858
15859 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15860 (rmail-variables): Set next-error-move-function.
15861 (rmail-what-message): Take argument POS.
15862 (rmail-next-error-move): New function.
15863
273d2baf
SM
158642011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15865
15866 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15867 messages for adjacent non-terminals.
15868
56c2cc9a
RS
158692011-06-23 Richard Stallman <rms@gnu.org>
15870
15871 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15872 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15873 (rmail-start-mail): Don't specify use of rmail-mail-return;
15874 that's done by mail-bury now.
15875 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15876
d59eb518
MA
158772011-06-23 Michael Albinus <michael.albinus@gmx.de>
15878
15879 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15880 SIZE is a number.
15881
02cfc6d6
MR
158822011-06-23 Martin Rudalics <rudalics@gmx.at>
15883
15884 * window.el (get-lru-window, get-mru-window)
15885 (get-largest-window): Never return a minibuffer window.
15886 (display-buffer-pop-up-window): Fix a bug that could lead to
15887 reusing the minibuffer window.
15888 (display-buffer): Pass original specifier argument to
15889 display-buffer-function instead of the normalized one.
15890 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15891
4e323265
LL
158922011-06-22 Leo Liu <sdl.web@gmail.com>
15893
15894 * minibuffer.el (completing-read-function)
15895 (completing-read-default): Move from minibuf.c
15896
7a70468f
RS
158972011-06-22 Richard Stallman <rms@gnu.org>
15898
50718fc2
RS
15899 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15900 to Rmail even if not started by a special Rmail command.
15901
7a70468f
RS
15902 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15903 Copy the buffer currently showing just one message.
15904
297dde5a
RW
159052011-06-22 Roland Winkler <winkler@gnu.org>
15906
15907 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15908 (bibtex-clean-entry): First delete the old key so that a
15909 customized algorithm for generating the new key does not get
15910 confused by the old key.
15911 (bibtex-url): Obey regexp of first step.
15912 (bibtex-search-entries): Do not use add-to-list with local
15913 list-var.
15914
97bb1093
LMI
159152011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15916
15917 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15918 stored a user name, then query for the password first, instead of
15919 waiting for SMTP to give an error message and the trying again.
15920
1c0f1a19
JD
159212011-06-22 Lawrence Mitchell <wence@gmx.li>
15922
15923 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15924 BUFFER in call-process.
15925
396f7c9d
LMI
159262011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15927
15928 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15929 QUIT twice.
ddb7ffee
LMI
15930 (smtpmail-try-auth-methods): Require user name and password from
15931 auth-source.
396f7c9d 15932
8998d1b3
MR
159332011-06-22 Martin Rudalics <rudalics@gmx.at>
15934
15935 * window.el (display-buffer-default-specifiers)
15936 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15937 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15938 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15939
15940 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15941 (special-display-frame-alist, special-display-popup-frame):
15942 Remove duplicate declarations. These are now in window.el.
15943
4ea31e07
LMI
159442011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15945
c9d29fb8
SM
15946 * mail/smtpmail.el (smtpmail-via-smtp):
15947 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15948 server supports it. SMTP servers that support STARTTLS commonly
15949 require it.
15950
15951 * net/network-stream.el (network-stream-open-starttls): Support
15952 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15953 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15954
95f41d9a
LMI
15955 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15956 upgrades with `open-network-stream', and rely solely on
15957 auth-source for all credentials. Big changes throughout the file,
15958 but in particular:
c9d29fb8
SM
15959 (smtpmail-auth-credentials): Remove.
15960 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15961 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15962 MAIL FROM, too.
95f41d9a 15963
c9d29fb8
SM
15964 * net/network-stream.el (network-stream-open-starttls):
15965 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15966 STARTTLS.
15967 (auth-source): Require.
15968 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15969 (network-stream-certificate): Change cert-cert to cert and
15970 cert-key to key.
4ea31e07 15971
065ec2c7
MA
159722011-06-21 Michael Albinus <michael.albinus@gmx.de>
15973
15974 * net/tramp-cache.el (top): Don't load the persistency file when
15975 "emacs -Q" has been called.
15976
cd93b359
DR
159772011-06-21 Tim Harper <timcharper@gmail.com>
15978
d8e4b68b
JB
15979 * term/ns-win.el (ns-initialize-window-system):
15980 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15981 resource to NO as it is not yet supported by the NS port.
15982
ae9c0411
JB
159832011-06-21 Juanma Barranquero <lekktu@gmail.com>
15984
15985 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15986 (list-dynamic-libraries): ...not here.
15987
7f3f739f
LL
159882011-06-21 Leo Liu <sdl.web@gmail.com>
15989
15990 * subr.el (sha1): Implement sha1 using secure-hash.
15991
327c8fb1
MR
159922011-06-21 Martin Rudalics <rudalics@gmx.at>
15993
15994 * window.el (display-buffer-alist): In default value do not
15995 enforce searching a window on any but the selected frame.
15996 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15997 (display-buffer-select-window): Remove function.
15998 (display-buffer-in-window): When a window on another frame gets
15999 reused, do not select it any more but just raise its frame if
16000 necessary (Bug#8851) and (Bug#8856).
16001 (display-buffer-normalize-options): Handle pop-up-frames related
16002 options more faithfully.
16003 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16004 window if it is on another frame.
c9d29fb8
SM
16005 (display-buffer-alist, display-buffer-default-specifiers):
16006 Don't make new frame unsplittable by default.
9e9de014
MR
16007 (display-buffer-normalize-argument): Fix doc-string typo and use
16008 'same-frame-other-window instead of 'other-window when associating
16009 with display-buffer-macro-specifiers.
327c8fb1 16010
7cf3f556
VB
160112011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16012
16013 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16014 New functions.
16015 (5x5-mode-map, 5x5-mode-menu): Bind them.
16016 (5x5-draw-grid): Tweak the solver's rendering.
16017
60a406cf
SM
160182011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16019
16020 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16021 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16022
d8e4b68b 160232011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16024
16025 * menu-bar.el: Use function variable instead of switch-to-buffer.
16026 (menu-bar-select-buffer-function): New variable.
60a406cf 16027 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16028
478d6f95
SM
160292011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16030
16031 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16032 variable's status.
16033
ca530739
JD
160342011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16035
16036 * x-dnd.el (x-dnd-version-from-flags)
16037 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16038 and long as number (Bug#8899).
16039 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16040
bcd70d97
SM
160412011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16042
60a406cf 16043 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16044 (completion-try-completion, completion-all-completions): Compute the
16045 metadata argument if it's missing; make it optional (bug#8795).
16046
60a406cf 16047 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16048 (widget-complete): Use new :completion-function property.
16049 (widget-completions-at-point): New function.
16050 (default): Use :completion-function instead of :complete.
60a406cf
SM
16051 (widget-default-completions): Rename from widget-default-complete;
16052 Rewrite.
bcd70d97
SM
16053 (widget-string-complete, widget-file-complete, widget-color-complete):
16054 Remove functions.
16055 (file, symbol, function, variable, coding-system, color):
16056 * international/mule-cmds.el (default-input-method, charset)
16057 (language-info-custom-alist):
16058 * cus-edit.el (face): Use new property :completions.
16059
16060 * progmodes/pascal.el (pascal-completions-at-point): New function.
16061 (pascal-mode): Use it.
16062 (pascal-mode-map): Use completion-at-point.
16063 (pascal-toggle-completions): Make obsolete.
16064 (pascal-complete-word, pascal-show-completions):
16065 * progmodes/octave-mod.el (octave-complete-symbol):
16066 Redefine as obsolete alias.
16067 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16068 Signal absence of completion info for old Octave,
16069 (inferior-octave-complete): Redefine as obsolete alias.
16070 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16071 (meta-completions-at-point): Rename from meta-complete-symbol and
16072 adapt it for use on completion-at-point-functions.
16073 (meta-common-mode): Use it.
16074 (meta-looking-at-backward, meta-match-buffer): Remove.
16075 (meta-complete-symbol): Redefine as obsolete alias.
16076 (meta-common-mode-map): Use completion-at-point.
16077 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16078 (makefile-mode-map): Use completion-at-point.
16079 (makefile-completions-at-point): Rename from makefile-complete and
16080 adapt it for use on completion-at-point-functions.
16081 (makefile-mode): Use it.
16082 (makefile-complete): Redefine as obsolete alias.
16083
aebf69c8
DD
160842011-06-20 Deniz Dogan <deniz@dogan.se>
16085
16086 * net/rcirc.el: Delete trailing whitespaces once and for all.
16087
bfbbb27d
DC
160882011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16089
16090 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16091
d264a46b
CY
160922011-06-19 Chong Yidong <cyd@stupidchicken.com>
16093
4ca009e5
CY
16094 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16095
d264a46b
CY
16096 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16097
fbf5b3ce
MR
160982011-06-19 Martin Rudalics <rudalics@gmx.at>
16099
16100 * window.el (display-buffer-other-window-means-other-frame):
16101 Call display-buffer-normalize-alist.
16102 (display-buffer-normalize-specifiers-1): Rename to
16103 display-buffer-normalize-argument. New argument other-frame.
16104 Rewrite.
16105 (display-buffer-normalize-specifiers-2): Rename to
16106 display-buffer-normalize-options.
16107 (display-buffer-normalize-alist-1): New function.
16108 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16109 display-buffer-normalize-alist.
16110 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16111 (display-buffer-normalize-options-inhibit): New variable.
16112 (display-buffer-normalize-specifiers): Rewrite calling
16113 display-buffer-normalize-alist,
16114 display-buffer-normalize-argument, and
16115 display-buffer-normalize-options. Don't call the latter if
16116 display-buffer-normalize-options-inhibit is non-nil.
16117 (frame-auto-delete): New option.
16118 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16119 (window-list-no-nils, window-state-ignored-parameters)
16120 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16121 (window-state-put-1, window-state-put-2, window-state-put):
16122 New functions.
9a028c23
MR
16123 (display-buffer-normalize-options): Move special-display-p group
16124 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16125
6d10d800
CY
161262011-06-18 Chong Yidong <cyd@stupidchicken.com>
16127
6420d28b
CY
16128 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16129 groups (Bug#8776).
16130 (rx-submatch-n): New function.
16131 (rx): Document it.
16132
ddb8b596
CY
16133 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16134 (Bug#8768).
16135
16136 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16137
77080289
CY
16138 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16139
61dfb316
CY
16140 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16141 anytime existing face settings are present (Bug#8889).
16142
6d10d800
CY
16143 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16144 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16145 Remove unused argument.
16146
be3fb2b8
MR
161472011-06-18 Martin Rudalics <rudalics@gmx.at>
16148
bcd70d97
SM
16149 * window.el (display-buffer-default-specifiers):
16150 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16151 pop-up-window-min-width, and another reuse-window specifier
16152 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16153 (display-buffer-normalize-specifiers-2):
16154 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16155 pop-up-windows is unset. Add a reuse-window specifier for the
16156 case popping up a new window fails.
16157 (special-display-popup-frame): Remove double quoting.
28dec25a 16158 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16159
1c6d8c76
SM
161602011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16161
16162 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16163 according to comint-completion-addsuffix.
16164
16165 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16166 (pcomplete-suffix-list): Mark as obsolete.
16167 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16168 pcomplete-seen in the closure.
16169 (pcomplete-comint-setup): Setup completion-at-point as well.
16170 (pcomplete--entries): New function.
16171 (pcomplete--env-regexp): New var.
16172 (pcomplete-entries): Rewrite to work with partial-completion and
16173 without relying on pcomplete-suffix-list.
16174 (pcomplete-pare-list): Remove, unused.
16175
25aef8b8
MR
161762011-06-17 Martin Rudalics <rudalics@gmx.at>
16177
16178 * window.el (display-buffer-alist): Set pop-up-window-min-height
16179 and pop-up-window-min-width in default value. Reported by
16180 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16181 other-window-means-other-frame.
16182 (display-buffer-macro-specifiers): Comment out entry for
16183 other-window specifier.
16184 (display-buffer-other-window-means-other-frame): New function.
16185 (display-buffer-normalize-specifiers-1): New arguments
16186 buffer-name and label. Treat other-window case specially.
16187 (display-buffer-normalize-specifiers-2): Treat other-window case
16188 specially.
16189 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16190 (display-buffer-normalize-specifiers):
16191 Call display-buffer-normalize-specifiers-3.
25aef8b8 16192
dbad4f69
MR
161932011-06-17 Martin Rudalics <rudalics@gmx.at>
16194
16195 * window.el (same-window-p): Fix two typos introduced when
16196 adding with-no-warnings.
d1067961
MR
16197 (display-buffer-normalize-specifiers-1): Don't check
16198 pop-up-frames for 'unset initialization.
16199 (display-buffer-normalize-specifiers-2): Major rewrite using
16200 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16201 (pop-up-frames, display-buffer-reuse-frames)
16202 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16203 Suggested by David Engster <deng@randomsample.de>.
16204 (even-window-heights): Initialize to 'unset.
16205 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16206 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16207 other window case.
dbad4f69 16208
9b9c9e3a
MR
162092011-06-16 Martin Rudalics <rudalics@gmx.at>
16210
bcd70d97
SM
16211 * window.el (display-buffer-normalize-specifiers-1):
16212 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16213 second argument of display-buffer (Bug#8865).
981d5c09
MR
16214 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16215 (switch-to-buffer-other-window-same-frame)
16216 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16217 Adams (Bug#8875).
9c2755e9
MR
16218 (display-buffer): Don't check noninteractive when calling
16219 display-buffer-pop-up-frame.
16220 (display-buffer-pop-up-frame): Never pop up a frame in
16221 noninteractive mode (Bug#8857).
67222e1d
MR
16222 (enlarge-window, shrink-window): Don't report an error when the
16223 window can't be resized as requested (Bug#8862).
9b9c9e3a 16224
2b75be67
SM
162252011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16226
9ffdd3ba
SM
16227 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16228
cb581a67
SM
16229 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16230
2b75be67
SM
16231 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16232
8c0e3589
AM
162332011-06-15 Alan Mackenzie <acm@muc.de>
16234
cb581a67
SM
16235 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16236 for declarators, disable knr checking to speed up for normal files.
16237 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16238
b96e6cde
LMI
162392011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16240
4bba86e6
LMI
16241 * net/network-stream.el (open-network-stream): Add the keyword
16242 :always-query-capabilities for the case where you want to force a
16243 `plain' network connection, but the protocol still requires the
16244 capabilitiy command (i.e., SMTP and EHLO).
16245
2b75be67 16246 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16247 consistency with other `-live-p' functions.
16248
efdcdbf8
SM
162492011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16250
16251 * window.el (same-window-buffer-names, same-window-regexps)
16252 (special-display-frame-alist, special-display-popup-frame)
16253 (special-display-function, special-display-buffer-names)
16254 (special-display-regexps, pop-up-frame-alist)
16255 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16256 (pop-up-windows, split-window-preferred-function)
16257 (split-height-threshold, split-width-threshold, even-window-heights)
16258 (display-buffer-mark-dedicated): Don't encourage the use of
16259 display-buffer-alist from Elisp code.
16260
c5cde042
DN
162612011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16262
16263 * progmodes/python.el (python-mode): Derive from prog-mode.
16264 * progmodes/ps-mode.el (ps-mode):
16265 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16266 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16267 * progmodes/ld-script.el (ld-script-mode): Likewise.
16268
baa1c9ab
MR
162692011-06-15 Martin Rudalics <rudalics@gmx.at>
16270
16271 * window.el (display-buffer-alist): Trim default value to avoid
16272 popping up a new frame (Bug#8857) or reusing an arbitrary window
16273 on another frame.
16274 (display-buffer): Do not fall back on popping up a new frame in
16275 batch mode (Bug#8857).
16276
c5dd5a51
CY
162772011-06-14 Chong Yidong <cyd@stupidchicken.com>
16278
16279 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16280 (custom-theme-summary): New function.
16281 (customize-themes): Use it.
16282
d647b7c4
GM
162832011-06-13 Glenn Morris <rgm@gnu.org>
16284
16285 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16286
9481c002
MR
162872011-06-13 Martin Rudalics <rudalics@gmx.at>
16288
357f93d2
MR
16289 * help.el (help-window): Remove variable.
16290 (help-window-point-marker, temp-buffer-max-height)
16291 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16292 (help-print-return-message): Don't set help-window.
16293 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16294 (help-window-setup-finish): Remove.
16295 (help-window-display-message, help-window-setup)
16296 (with-help-window): Major rewrite based on new
16297 display-buffer-window variable.
16298
16299 * help-mode.el (help-mode-finish): Remove help-window related
16300 code.
16301
16302 * view.el (view-exits-all-viewing-windows): Remove reference to
16303 view-return-to-alist in doc-string.
16304 (view-return-to-alist): Make obsolete.
16305 (view-buffer): Call pop-to-buffer-same-window and remove
16306 undo-window code.
16307 (view-buffer-other-window): Call pop-to-buffer-other-window and
16308 simplify code. Ignore second argument.
16309 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16310 simplify code. Ignore second argument.
16311 (view-return-to-alist-update): Make obsolete.
16312 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16313 Rewrite using quit-restore window parameters.
2b75be67
SM
16314 (view-mode-exit): Rename second argument to EXIT-ONLY.
16315 Rewrite using quit-restore-window.
357f93d2
MR
16316 (View-exit, View-exit-and-edit, View-leave, View-quit)
16317 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16318 appropriate arguments.
16319 (view-end-message): Use quit-restore window parameter.
16320
9481c002
MR
16321 * window.el (display-buffer-function): Rewrite doc-string.
16322 (display-buffer-window, display-buffer-alist): New variables.
16323 (display-buffer-split-specifiers)
16324 (display-buffer-side-specifiers)
16325 (display-buffer-macro-specifiers): New constants.
16326 (display-buffer-even-window-sizes, display-buffer-set-height)
16327 (display-buffer-set-width, display-buffer-select-window)
16328 (display-buffer-in-window, display-buffer-reuse-window)
16329 (display-buffer-split-window-1, display-buffer-split-window)
16330 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16331 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16332 (display-buffer-in-side-window, normalize-buffer-to-display)
16333 (display-buffer-normalize-specifiers-1)
16334 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16335 (display-buffer-normalize-specifiers, display-buffer-frame):
16336 New functions.
9481c002
MR
16337 (display-buffer): Major rewrite.
16338 (display-buffer-other-window, display-buffer-other-frame)
16339 (pop-to-buffer, switch-to-buffer-other-window)
16340 (switch-to-buffer-other-frame): Rewrite.
16341 (display-buffer-same-window, display-buffer-same-frame)
16342 (display-buffer-same-frame-other-window)
16343 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16344 (pop-to-buffer-other-window)
16345 (pop-to-buffer-same-frame-other-window)
16346 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16347 (switch-to-buffer-other-window-same-frame): New functions.
16348 (same-window-p, special-display-p): Rewrite disabling warnings.
16349 Make obsolete.
16350 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16351 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16352 Make obsolete
16353 (same-window-buffer-names, same-window-regexps)
16354 (special-display-frame-alist, special-display-popup-frame)
16355 (special-display-function, special-display-buffer-names)
16356 (special-display-regexps, pop-up-frame-alist)
16357 (pop-up-frame-function, split-window-preferred-function)
16358 (split-height-threshold, split-width-threshold)
16359 (even-window-heights): Make obsolete.
16360
9db51aca
GM
163612011-06-12 Glenn Morris <rgm@gnu.org>
16362
16363 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16364 Misc simplifications.
9db51aca 16365
39cffb44
MR
163662011-06-12 Martin Rudalics <rudalics@gmx.at>
16367
16368 * window.el (window-safely-shrinkable-p): Restore function which
16369 was inadvertently removed in change from 2011-06-11. Declare as
16370 obsolete.
16371
2b75be67
SM
16372 * calendar/calendar.el (calendar-generate-window):
16373 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16374 window-safely-shrinkable-p.
16375
a8955be7
GM
163762011-06-12 Glenn Morris <rgm@gnu.org>
16377
16378 * progmodes/fortran.el (fortran-mode-syntax-table):
16379 * progmodes/f90.el (f90-mode-syntax-table):
16380 Set % to punctuation. (Bug#8820)
16381 (f90-find-tag-default): Remove, no longer needed.
16382
f0d4059d
DC
163832011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16384
16385 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16386
1100a63c
CY
163872011-06-11 Chong Yidong <cyd@stupidchicken.com>
16388
16389 * image.el (image-animated-p): Return animation delay in seconds.
16390 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16391 (image-animate-timeout): Remove DELAY argument. Don't assume
16392 every subimage has the same delay; get it from image-animated-p.
16393 (image-animate): Caller changed.
16394
def722bf
MA
163952011-06-11 Michael Albinus <michael.albinus@gmx.de>
16396
16397 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16398 to ignored backtrace functions.
16399
0a2bb1a9
GM
164002011-06-11 Glenn Morris <rgm@gnu.org>
16401
16402 * calendar/appt.el (appt-disp-window-function): Doc fix.
16403 (appt-check): Handle overlapping appointments. (Bug#8337)
16404
6198ccd0
MR
164052011-06-11 Martin Rudalics <rudalics@gmx.at>
16406
16407 * window.el (window-tree-1, window-tree): New functions, moving
16408 the latter to window.el.
16409 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16410 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16411 (bw-refresh-edges): Remove.
16412 (balance-windows-1, balance-windows-2): New functions.
16413 (balance-windows): Rewrite in terms of window tree functions,
16414 balance-windows-1 and balance-windows-2.
16415 (bw-adjust-window): Remove.
16416 (balance-windows-area-adjust): New function with functionality of
16417 bw-adjust-window but using resize-window.
2b75be67
SM
16418 (set-window-text-height): Rewrite doc-string.
16419 Use normalize-live-window and resize-window.
16420 (enlarge-window-horizontally, shrink-window-horizontally):
16421 Rename argument to DELTA.
6198ccd0
MR
16422 (window-buffer-height): New function.
16423 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16424 Rewrite using new window resize routines.
2b75be67
SM
16425 (kill-buffer-and-window, mouse-autoselect-window-select):
16426 Use ignore-errors instead of condition-case.
6198ccd0
MR
16427 (quit-window): Call delete-frame instead of delete-windows-on
16428 for the only buffer on frame.
16429
9397e56f
MR
164302011-06-10 Martin Rudalics <rudalics@gmx.at>
16431
16432 * loadup.el (top-level): Load window before files for the sake
16433 of replace-buffer-in-windows.
16434
16435 * files.el (read-buffer-to-switch)
16436 (switch-to-buffer-other-window)
2b75be67
SM
16437 (switch-to-buffer-other-frame, display-buffer-other-frame):
16438 Move to window.el.
9397e56f
MR
16439
16440 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16441 (previous-buffer): Move to window.el.
16442
16443 * bindings.el (unbury-buffer): Move to window.el.
16444
16445 * window.el (delete-other-windows-vertically): Move after
16446 definition of delete-other-windows.
16447 (other-window, delete-windows-on, replace-buffer-in-windows):
16448 Move here from window.c.
16449 (record-window-buffer, unrecord-window-buffer)
16450 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16451 (switch-to-next-buffer): New functions.
16452 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16453 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16454 (previous-buffer): Move here from simple.el.
16455 Call switch-to-prev-buffer.
9397e56f
MR
16456 (bury-buffer): Move here from buffer.c. Switch to previous
16457 buffer when window cannot be deleted.
16458 (unbury-buffer): Move here from bindings.el.
16459 (ctl-x-map): Move binding for other-window from window.c to
16460 here.
16461 (read-buffer-to-switch, switch-to-buffer-other-window)
16462 (switch-to-buffer-other-frame): Move here from files.el.
16463 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16464 (switch-to-buffer): Move here from buffer.c.
16465 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16466
562dd5e9
MR
164672011-06-10 Martin Rudalics <rudalics@gmx.at>
16468
16469 * window.el (window-min-height, window-min-width): Move here
16470 from window.c. Add defcustoms and rewrite doc-strings.
16471 (resize-mini-window, resize-window): New functions.
16472 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16473 Move here from window.c.
16474 (maximize-window, minimize-window): New functions.
16475 (delete-window, delete-other-windows, split-window): Move here
16476 from window.c.
16477 (window-split-min-size): New function.
16478 (split-window-keep-point): Mention split-window-above-each-other
16479 instead of split-window-vertically.
2b75be67 16480 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16481 Rename split-window-vertically to split-window-above-each-other
16482 and provide defalias for old definition.
16483 (split-window-side-by-side, split-window-horizontally):
16484 Rename split-window-horizontally to split-window-side-by-side
16485 and provide defalias for the old definition.
562dd5e9
MR
16486 (ctl-x-map): Move bindings for delete-window,
16487 delete-other-windows and enlarge-window here from window.c.
16488 Replace bindings for split-window-vertically and
16489 split-window-horizontally by bindings for
16490 split-window-above-each-other and split-window-side-by-side.
16491
16492 * cus-start.el (all): Remove entries for window-min-height and
16493 window-min-width. Add entries for window-splits and
16494 window-nest.
16495
f0da764a
GM
164962011-06-09 Glenn Morris <rgm@gnu.org>
16497
80675c21
GM
16498 * calendar/appt.el (appt-mode-line): New function.
16499 (appt-check, appt-disp-window): Use it.
16500
f0da764a
GM
16501 * files.el (hack-one-local-variable-eval-safep):
16502 Allow minor-modes with explicit +/-1 arguments.
16503
59f623b7
TZ
165042011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16505
16506 * term/xterm.el (xterm): Add defgroup.
16507 (xterm-extra-capabilities): Add defcustom to supply known xterm
16508 capabilities, skip querying them, or query them (default).
16509 (terminal-init-xterm): Use it.
16510 (terminal-init-xterm-modify-other-keys): New function to set up
16511 modifyOtherKeys support to simplify `terminal-init-xterm'.
16512
9aab8e0d
MR
165132011-06-09 Martin Rudalics <rudalics@gmx.at>
16514
16515 * window.el (resize-window-reset, resize-window-reset-1)
16516 (resize-subwindows-skip-p, resize-subwindows-normal)
16517 (resize-subwindows, resize-other-windows, resize-this-window)
16518 (resize-root-window, resize-root-window-vertically)
16519 (window-deletable-p, window-or-subwindow-p)
16520 (frame-root-window-p): New functions.
16521
e8b08aee
GM
165222011-06-09 Glenn Morris <rgm@gnu.org>
16523
16524 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16525 (ange-ftp-get-files): Use it.
16526
254c37a5
AK
165272011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16528
16529 * mail/sendmail.el (mail-recover-1, mail-recover):
16530 * files.el (recover-file, recover-session):
16531 Handle dired-listing-switches not being just a single short option.
16532
35d7dbd3
GM
165332011-06-09 Glenn Morris <rgm@gnu.org>
16534
16535 * calendar/appt.el (appt-display-message, appt-disp-window):
16536 Handle lists of appointments.
16537
387522b2
MR
165382011-06-08 Martin Rudalics <rudalics@gmx.at>
16539
2b75be67
SM
16540 * window.el (one-window-p): Move down in code.
16541 Rewrite doc-string.
16542 (window-current-scroll-bars): Rewrite doc-string.
16543 Normalize live window argument.
387522b2
MR
16544 (walk-windows, get-window-with-predicate, count-windows):
16545 Rewrite doc-string. Use window-list-1.
16546 (window-in-direction-2, window-in-direction, get-mru-window):
16547 New functions.
16548
d8e4b68b 165492011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16550
16551 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16552 Doc fix (Bug#8713).
16553
165542011-06-08 Chong Yidong <cyd@stupidchicken.com>
16555
16556 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16557
165582011-06-08 Juanma Barranquero <lekktu@gmail.com>
16559
16560 * loadhist.el (unload-feature-special-hooks):
16561 Add `comint-output-filter-functions'.
16562
0de12c52
IK
165632011-06-08 Ivan Kanis <gnu@kanis.fr>
16564
16565 * calendar/appt.el (appt-check): Move some initializations into the let.
16566
f3d1777e
MR
165672011-06-08 Martin Rudalics <rudalics@gmx.at>
16568
16569 * window.el (window-height): Defalias to window-total-height.
16570 (window-width): Defalias to window-body-width.
16571
18af70d0
CY
165722011-06-07 Chong Yidong <cyd@stupidchicken.com>
16573
16574 * image-mode.el (image-toggle-animation): New command.
16575 (image-mode-map): Bind it to RET.
16576 (image-mode): Update message.
16577 (image-toggle-display-image): Avoid a spurious cache flush.
16578 (image-transform-rotation): Doc fix.
16579 (image-transform-properties): Return quickly in the normal case.
16580 (image-animate-loop): Rename from image-animate-max-time.
16581
2b75be67 16582 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16583 (create-animated-image): Remove unnecessary function.
16584 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16585 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16586 (image-animate-timer): Use car-safe.
16587 (image-animate-timeout): Rename argument.
16588
190b47e6
MR
165892011-06-07 Martin Rudalics <rudalics@gmx.at>
16590
16591 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16592 window.c. Rename first argument to ALL-FRAMES.
16593 Rephrase doc-strings.
16594 (get-buffer-window-list): Rewrite using window-list-1.
16595 Rephrase doc-string.
a1511caf
MR
16596 (window-safe-min-height, window-safe-min-width): New constants.
16597 (window-size-ignore, window-min-size, window-min-size-1)
16598 (window-sizable, window-sizable-p, window-size-fixed-1)
16599 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16600 (window-max-delta-1, window-max-delta, window-resizable)
16601 (window-resizable-p, window-total-height, window-total-width)
16602 (window-body-width): New functions.
16603 (window-full-height-p, window-full-width-p): Rewrite using
16604 window-total-size.
16605 (window-body-height): Rewrite using window-body-size.
190b47e6 16606
85cc1f11
MR
166072011-06-06 Martin Rudalics <rudalics@gmx.at>
16608
16609 * window.el (window-right, window-left, window-child)
16610 (window-child-count, window-last-child, window-any-p)
16611 (normalize-live-buffer, normalize-live-frame)
16612 (normalize-any-window, normalize-live-window)
16613 (window-iso-combination-p, window-iso-combined-p)
16614 (window-iso-combinations)
16615 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16616 (windows-with-parameter, window-with-parameter)
16617 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16618 (window-atom-check, window-side-check, window-check):
16619 New functions.
85cc1f11
MR
16620 (ignore-window-parameters, window-sides, window-sides-vertical)
16621 (window-sides-slots): New variables.
16622 (window-size-fixed): Move down in code. Minor doc-string fix.
16623
e7156492
AS
166242011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16625
16626 * comint.el (comint-dynamic-complete-as-filename)
16627 (comint-dynamic-complete-filename): Correctly call
16628 completion-in-region.
16629
7e821d0d
DD
166302011-06-05 Deniz Dogan <deniz@dogan.se>
16631
16632 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16633 in last change.
16634
ac09b8a1
DD
166352011-06-05 Deniz Dogan <deniz@dogan.se>
16636
16637 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16638 (rcirc): Use it to prompt for encryption.
16639
34699b85
RW
166402011-06-05 Roland Winkler <winkler@gnu.org>
16641
16642 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16643 (bibtex-search-entries): New command bound to C-c C-a.
16644 (bibtex-display-entries): New function.
16645
004dedd3
RW
166462011-06-05 Roland Winkler <winkler@gnu.org>
16647
16648 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16649 (bibtex-insert-kill): After yanking insert newline if necessary.
16650 (bibtex-initialize): Call bibtex-string-files-init only once.
16651 (bibtex-mode): Do not call easy-menu-add.
16652 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16653 (bibtex-yank): Set arg properly if nil.
16654
022fe7ce
RW
166552011-06-05 Roland Winkler <winkler@gnu.org>
16656
2b75be67
SM
16657 * textmodes/bibtex.el (bibtex-search-entry-globally):
16658 New variable.
022fe7ce
RW
16659 (bibtex-search-entry): Use it.
16660
b7c3692a
RW
166612011-06-05 Roland Winkler <winkler@gnu.org>
16662
16663 * textmodes/bibtex.el (bibtex-entry-format): New option
16664 sort-fields.
16665 (bibtex-format-entry, bibtex-reformat): Honor this option.
16666 (bibtex-parse-entry): Return fields in proper order.
16667
8eda563d
JB
166682011-06-05 Juanma Barranquero <lekktu@gmail.com>
16669
16670 * doc-view.el (doc-view-remove-if): Move computation of result out
16671 of `dolist' to silence misleading lexical-binding warning.
16672
7dbe3dbc
CY
166732011-06-04 Chong Yidong <cyd@stupidchicken.com>
16674
16675 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16676 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16677
0c33dd17
MA
166782011-06-04 Michael Albinus <michael.albinus@gmx.de>
16679
16680 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16681 "SunOS 5.10".
16682
f8f91c2b
MA
166832011-06-04 Michael Albinus <michael.albinus@gmx.de>
16684
16685 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16686 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16687 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16688 (tramp-parse-putty):
16689 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16690 (tramp-completion-function-alist-ssh)
16691 (tramp-completion-function-alist-telnet)
16692 (tramp-completion-function-alist-su)
16693 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16694 cookie.
16695
16696 * net/tramp-ftp.el:
16697 * net/tramp-sh.el:
16698 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16699 load "tramp.el" `tramp-set-completion-function'.
16700
e17d9003
SM
167012011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16702
16703 * shell.el: Require and use pcomplete.
16704 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16705 (shell-completion-vars): Set pcomplete-default-completion-function.
16706
6c4cab03
DD
167072011-06-04 Deniz Dogan <deniz@dogan.se>
16708
16709 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16710 `memq' (Bug#8799).
16711
ea9fafe0
SM
167122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16713
16714 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16715
b3e945d3
JB
167162011-06-02 Juanma Barranquero <lekktu@gmail.com>
16717
16718 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16719 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16720 * vc/log-view.el (log-view-beginning-of-defun):
16721 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16722 (smerge-refine-forward, smerge-refine-chopup-region):
16723 Silence warning for unused `dotimes' counter variables.
16724
7d520089
SM
167252011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16726
16727 * net/tramp.el (tramp-with-progress-reporter): Rename from
16728 with-progress-reporter. Use `declare'.
16729 * net/tramp-smb.el:
16730 * net/tramp-sh.el:
16731 * net/tramp-gvfs.el: Update all uses.
16732
a1c2400f
JB
167332011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16734
16735 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16736 buffer isn't killed before making it current.
16737
2403c841
SM
167382011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16739
16740 Silence various byte-compiler warnings.
16741 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16742 `access-type' and new obsolescence format.
16743 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16744 new format.
16745 (byte-compile-check-variable): New `access-type' argument.
16746 Only warn if the access-type is obsolete.
16747 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16748 (byte-compile-variable-set): Adjust callers.
16749 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16750 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16751 setting it as obsolete.
16752 * simple.el (minibuffer-completing-symbol):
16753 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16754 access as obsolete.
16755 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16756 obsolete yet.
16757 * international/quail.el (quail-mouse-choose-completion): Remove unused
16758 code referring to obsolete var.
16759 (quail-choose-completion-string): Remove.
16760 * server.el (server-clients-with, server-kill-buffer-query-function)
16761 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16762 * proced.el (proced-send-signal):
16763 * emacs-lisp/lisp.el (lisp-complete-symbol):
16764 Replace completion-annotate-function with completion-extra-properties.
16765
2462470b
SM
167662011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16767
fb5b2591
SM
16768 * simple.el (goto-line): Use read-number.
16769 (overriding-map-is-bound): Remove.
16770 (saved-overriding-map): Change default.
16771 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16772 Take the map as argument.
16773 (universal-argument, negative-argument, digit-argument): Use it.
16774 (restore-overriding-map): Adjust.
16775 (do-auto-fill): Use fill-forward-paragraph.
16776 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16777
fd6fa53f
SM
16778 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16779 (minibuffer-inactive-mode): New major mode.
16780 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16781 the *Messages* buffer" hack.
16782 (mouse-popup-menubar): Don't burp if the event is a normal key.
16783
2462470b
SM
16784 Miscellaneous tweaks.
16785 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16786 lexical scoping as in subr.el's dolist and dotimes.
16787 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16788 Silence compiler warning.
16789 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16790 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16791 * international/ccl.el (ccl-compile): Trivial simplification.
16792 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16793 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16794 `printflag' argument.
16795 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16796 Purecopy the whole obsolescence data.
16797
108bf785
LL
167982011-06-01 Leo Liu <sdl.web@gmail.com>
16799
16800 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16801 improve doc-string as suggested by Marco Pessotto
16802 <melmothx@gmail.com>.
16803 (rcirc-print): Fix last change.
16804
30a23501
SM
168052011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16806
16807 * minibuffer.el (complete-with-action): Return nil for the metadata and
16808 boundaries of non-functional tables.
16809 (completion-table-dynamic): Return nil for the metadata.
16810 (completion-table-with-terminator): Add default case, using
16811 complete-with-action.
16812 (completion--metadata): New function.
16813 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16814 to try and avoid pathological performance problems.
16815 (completion--embedded-envvar-table): Return `category' metadata.
16816
bcd54f83
LMI
168172011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16818
16819 * subr.el (process-alive-p): New tiny convenience function.
16820
e227544d
SM
168212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16822
16823 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16824 content but also its previous major mode.
16825
e8296fdc
HE
168262011-05-31 Helmut Eller <eller.helmut@gmail.com>
16827
4d61f28d 16828 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16829 *Backtrace* buffer when we exit with C-M-c.
16830
620c53a6
SM
168312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16832
16833 * minibuffer.el: Add metadata method to completion tables.
16834 (completion-category-overrides): New defcustom.
16835 (completion-metadata, completion--field-metadata)
16836 (completion-metadata-get, completion--styles)
16837 (completion--cycle-threshold): New functions.
16838 (completion-try-completion, completion-all-completions):
16839 Add `metadata' argument to choose completion-styles.
16840 (completion--do-completion): Use metadata to choose cycling.
16841 (completion-all-sorted-completions): Use metadata for sorting.
16842 Remove :completion-cycle-penalty which is not needed any more.
16843 (completion--try-word-completion): Add `metadata' argument.
16844 (minibuffer-completion-help): Check metadata for annotation function
16845 and sorting.
16846 (completion-file-name-table): Return `category' metadata.
16847 (minibuffer-completing-file-name): Make obsolete.
16848 * simple.el (minibuffer-completing-symbol): Make obsolete.
16849 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16850 completion-try-completion.
16851
1257e755
SM
168522011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16853
16854 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16855
3767e706
LL
168562011-05-30 Leo Liu <sdl.web@gmail.com>
16857
16858 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16859 (rcirc-print): Decode all incoming messages (bug#8744).
16860 (rcirc-decode-coding-system): Allow value nil for automatic coding
16861 system detection.
3767e706 16862
d1a5d56a
GM
168632011-06-01 Glenn Morris <rgm@gnu.org>
16864
16865 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16866
e8cbec34
CY
168672011-05-29 Chong Yidong <cyd@stupidchicken.com>
16868
16869 * image.el (image-animate-max-time): Allow nil and t values.
16870 Default to nil.
16871 (create-animated-image): Doc fix.
16872 (image-animate-start): Remove second arg; just use
16873 image-animate-max-time.
16874 (image-animate-timeout): Doc fix. Args changed.
16875
16876 * image-mode.el (image-toggle-display-image): Ensure that the
16877 image spec passed to the animate timer is the same object as in
58179cce 16878 the buffer's display property (Bug#6981).
e8cbec34
CY
16879 (image-transform-properties): Doc fix.
16880
16881 * image.el (image-animate-max-time): Default to nil.
16882
159daf87
MR
168832011-05-29 Martin Rudalics <rudalics@gmx.at>
16884
16885 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16886 entire buffer list (Bug#8184).
16887
d66c4c7c
CY
168882011-05-29 Chong Yidong <cyd@stupidchicken.com>
16889
16890 * image.el (imagemagick-types-inhibit)
16891 (imagemagick-register-types): Doc fix.
16892
80aec780
DD
168932011-05-29 Deniz Dogan <deniz@dogan.se>
16894
16895 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16896 default.
16897
1dd3c2d9
CY
168982011-05-29 Chong Yidong <cyd@stupidchicken.com>
16899
16900 * select.el: Don't perform clipboard-manager saving in hooks;
16901 leave the hooks empty.
16902
60e56523
LL
169032011-05-28 Leo Liu <sdl.web@gmail.com>
16904
16905 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16906 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16907 (occur-edit-mode): New major mode (Bug#8463).
16908 (occur-after-change-function): New function.
16909 (occur-engine): Give Occur tags a read-only property.
16910
2b1e1a22
KR
169112011-05-28 Kevin Ryde <user42@zip.com.au>
16912
16913 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16914
5d344e88
CY
169152011-05-28 Chong Yidong <cyd@stupidchicken.com>
16916
8e6ca83d
CY
16917 * bindings.el (help-echo): Make the initial non-indicator dash
16918 empty on graphical terminals (Bug#7295).
16919
5d344e88
CY
16920 * files.el (auto-mode-alist): Move config rule after the
16921 in-stripping one (Bug#8547).
16922
bfbbace7
CY
16923 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16924
fbeba6e2
CY
16925 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16926 setting (Bug#8740).
16927
60ed8c72
AA
169282011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16929
4ac619f0
AA
16930 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16931 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16932 (Bug#8539).
60ed8c72 16933
23db196e
CY
169342011-05-28 Chong Yidong <cyd@stupidchicken.com>
16935
16936 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16937
5012f24c
DK
169382011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16939
16940 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16941 (hs-hide-block-at-point, hs-find-block-beginning)
16942 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16943 (Bug#8279).
16944
6a639b16
GM
169452011-05-28 Glenn Morris <rgm@gnu.org>
16946
16947 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16948
d43eaf2c
CY
169492011-05-28 Chong Yidong <cyd@stupidchicken.com>
16950
5199bde1
CY
16951 * help-fns.el (describe-function-1): If the function is a derived
16952 major mode, print the parent mode.
16953
d43eaf2c
CY
16954 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16955 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16956
423428a8
SM
169572011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16958
0ff8e1ba 16959 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16960 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16961 * progmodes/etags.el (tags-completion-at-point-function):
16962 * info-look.el (info-lookup-completions-at-point): Mark as
16963 non-exclusive.
16964 (info-complete): Adjust accordingly.
16965
423428a8
SM
16966 * info-look.el: Convert to lexical-binding and completion-at-point.
16967 (info-lookup-completions-at-point): New function.
16968 (info-complete): Use it and completion-in-region.
16969
b74aa22b
DA
169702011-05-28 Drew Adams <drew.adams@oracle.com>
16971
16972 * isearch.el: Let M-e start with point at the first mismatched char.
16973 (isearch-fail-pos): New function.
16974 (isearch-edit-string): Use it.
16975
66e2e71d
DK
169762011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16977
16978 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16979
b1890b0f 169802011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16981
16982 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16983 traversal functions for avl-trees.
16984 (avl-tree--stack): New struct.
16985 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16986 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16987 (avl-tree--do-enter): Add optional `updatefun' arg.
16988 Change return value.
eb95d01d 16989 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16990 (avl-tree--do-delete): Add `test' and `nilflag' args.
16991 Change return value.
eb95d01d
TC
16992 (avl-tree-member): Add optional `nilflag'
16993 (avl-tree-member-p): New function.
16994 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16995 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16996 (avl-tree-stack-empty-p): New functions.
16997
3769ddcf
TC
16998 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16999 avl-tree--del-balance1 and make it work both ways.
17000 (avl-tree--del-balance2): Remove.
17001 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17002 make it work both ways.
17003 (avl-tree--enter-balance2): Remove.
17004 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17005 New macros.
17006 (avl-tree--mapc, avl-tree-map): Add direction argument.
17007
eb95d01d 170082011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17009
17010 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17011
a9f737ee
CY
170122011-05-27 Chong Yidong <cyd@stupidchicken.com>
17013
17014 * select.el: Support clipboard managers with built-in function
17015 x-clipboard-manager-save, via delete-frame-functions and
17016 kill-emacs-hook.
17017 (xselect-convert-to-targets): Add MULTIPLE target to list.
17018 (xselect-convert-to-save-targets): New function.
17019
c92a1e54
KH
170202011-05-27 Kenichi Handa <handa@m17n.org>
17021
17022 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17023 let-binding rfc2047-encode-encoded-words to nil.
17024
e145f188
GM
170252011-05-27 Glenn Morris <rgm@gnu.org>
17026
5ec8a862
GM
17027 * mail/emacsbug.el: Don't require url-util.
17028
4b29d9fb
GM
17029 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17030
e145f188
GM
17031 * files.el (set-auto-mode):
17032 Also respect mode: entries at the end of the file. (Bug#8586)
17033
7d15102b
GM
170342011-05-26 Glenn Morris <rgm@gnu.org>
17035
98f593b8
GM
17036 * files.el (hack-local-variables-prop-line, hack-local-variables):
17037 Downcase mode names, as seems to be traditional.
27b48e63 17038 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17039
7d15102b
GM
17040 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17041 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17042
51d5b4ec
JD
170432011-05-25 Julien Danjou <julien@danjou.info>
17044
17045 * textmodes/rst.el (rst-define-level-faces): Do not define face
17046 symbol if it is already defined.
17047
91513f63
VB
170482011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17049
17050 * play/5x5.el (5x5-new-game, 5x5-randomize):
17051 Reset 5x5-solver-output to nil when a new grid is cast.
17052 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17053 these debugging traces, as defmacro breaks the compiled code.
17054
4d90d6d0
DK
170552011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17056
17057 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17058
e1b90ef6
LL
170592011-05-24 Leo Liu <sdl.web@gmail.com>
17060
17061 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17062 (vc-bzr-sha1): Adapt.
17063
d8e4b68b 17064 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17065
17066 * bindings.el: Provide sha1 feature.
17067
db0406bb 170682011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17069
17070 * mail/sendmail.el: Require `rfc2047'.
17071 (mail-insert-from-field): Do not perform RFC2047 encoding.
17072 (mail-encode-header): New function.
17073 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17074 buffer to the return value of select-message-coding-system.
17075 Call mail-encode-header.
b8d747b9
KH
17076
17077 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17078
db0406bb 170792011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17080
4d90d6d0
DK
17081 * mail/supercite.el (sc-default-cite-frame):
17082 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17083
eb8a5e9b
GM
170842011-05-24 Glenn Morris <rgm@gnu.org>
17085
f8630703
GM
17086 * progmodes/python.el (brm-menu): Declare.
17087
8831bbed
GM
17088 * emulation/viper.el (viper-set-hooks): Declare.
17089
eb8a5e9b
GM
17090 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17091 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17092 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17093 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17094 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17095 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17096
a2a25d24
SM
170972011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17098
17099 Add an :exit-function for completion-at-point.
17100
17101 * minibuffer.el (completion--done): New fun.
17102 (completion--do-completion): Use it. New arg `expect-exact'.
17103 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17104 since completion--do-completion does it for us now.
17105 (minibuffer-force-complete): Use completion--done and
17106 completion--replace. Handle sole-completion case with more care.
17107 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17108 (completion-extra-properties): New var.
17109 (completion-annotate-function): Make obsolete.
17110 (minibuffer-completion-help): Adjust accordingly.
17111 Use completion-list-insert-choice-function.
17112 (completion-at-point, completion-help-at-point):
17113 Bind completion-extra-properties.
17114 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17115 * simple.el (completion-list-insert-choice-function): New var.
17116 (completion-setup-function): Preserve it.
17117 (choose-completion): Pay attention to it, shuffle the code a bit.
17118 (choose-completion-string): New arg `insert-function'.
17119
17120 * textmodes/bibtex.el: Convert to lexical binding.
17121 (bibtex-mode-map): Use completion-at-point.
17122 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17123 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17124 (bibtex-complete): Define as obsolete alias.
17125 (bibtex-complete-internal): Remove.
17126 (bibtex-format-entry): Remove unused sub-group in regexp.
17127 * shell.el (shell--command-completion-data)
17128 (shell-environment-variable-completion):
17129 * pcomplete.el (pcomplete-completions-at-point):
17130 * comint.el (comint--complete-file-name-data): Use :exit-function
17131 instead of completion-table-with-terminator so it also works for
17132 choose-completion.
17133
e44e373d
SM
171342011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17135
4f91a816
SM
17136 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17137
782fc819
SM
17138 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17139 (bug#8710).
17140
e44e373d
SM
17141 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17142
381987c3
KM
171432011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17144
17145 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17146 customization variable and implement: If non-nil, auto-fill will
17147 be inhibited while on topic's header line.
17148
b776bc70
VB
171492011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17150
17151 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17152 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17153 always have a solution in grid size = 5 cases.
17154 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17155 (5x5-solver-output, 5x5-log-buffer): New vars.
17156 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17157 Make these variables buffer local to achieve 5x5 multi-session-ness.
17158 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17159 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17160 (5x5-solve-suggest): New funs.
17161 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17162 randomize a grid so that we ensure that there is always a solution.
17163 (5x5-make-random-grid): Allow other movement than flipping.
17164
7de88b6e
KR
171652011-05-23 Kevin Ryde <user42@zip.com.au>
17166
17167 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17168 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17169 advice and passes PREDICATE.
17170
b1ef1257
SM
171712011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17172
bbca48fe
SM
17173 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17174 byte-compile-lambda if it's actually a lambda.
17175
b1ef1257
SM
17176 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17177 Fix function quoting. Use backquote better.
17178
92a9cc65
YS
171792011-05-22 Yuanle Song <sylecn@gmail.com>
17180
17181 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17182 matching (Bug#8516).
17183
f0fb8059
JA
171842011-01-22 Jari Aalto <jari.aalto@cante.net>
17185
17186 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17187 different face (Bug#8178).
17188
d5b44c93
CY
171892011-05-22 Chong Yidong <cyd@stupidchicken.com>
17190
17191 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17192 defface (Bug#8144).
17193
79106a44
SM
171942011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17195
9c848d8a
SM
17196 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17197 funcall as well (bug#8712). Warn when performing those conversions.
17198 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17199
79106a44
SM
17200 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17201
88dfa756
GM
172022011-05-22 Glenn Morris <rgm@gnu.org>
17203
17204 * files.el (hack-local-variables-prop-line): Small simplifications.
17205 (hack-local-variables, hack-local-variables-prop-line):
17206 If MODE-ONLY, return the mode, rather than just `t'.
17207
b7cf2c79
SM
172082011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17209
17210 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17211
3f1a8558
GM
172122011-05-21 Glenn Morris <rgm@gnu.org>
17213
7e4ccca3
GM
17214 * files.el (hack-local-variables-prop-line, hack-local-variables):
17215 If only interested in the mode, don't bother doing the other stuff.
17216
637d46ca
GM
17217 * image-mode.el (image-after-revert-hook):
17218 Redraw all frames on which the image is visible. (Bug#8567)
17219
973d955b
GM
17220 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17221
3f1a8558
GM
17222 * wid-edit.el (widget-checklist-match-inline):
17223 Fix 2011-04-19 change. (Bug#8649)
17224
96479927
SM
172252011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17226
1dcf791f
SM
17227 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17228 Also allow singlespace after single-letter capitals followed by a dot.
17229
96479927
SM
17230 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17231 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17232
35fd0881
N
172332011-05-20 Nix <nix@esperi.org.uk>
17234
17235 * files.el (basic-save-buffer-2):
17236 Fix handling of break-hardlink-on-save with non-existent files.
17237
82745640
DD
172382011-05-19 Deniz Dogan <deniz@dogan.se>
17239
17240 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17241 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17242
4a720484
GM
172432011-05-19 Glenn Morris <rgm@gnu.org>
17244
d1f21341
GM
17245 * progmodes/f90.el (f90-type-def-re):
17246 Handle "type, bind(c)". (Bug#8691)
17247
4a720484
GM
17248 * emacs-lisp/autoload.el (batch-update-autoloads):
17249 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17250
2fb0a219
MA
172512011-05-18 Michael Albinus <michael.albinus@gmx.de>
17252
17253 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17254 property for the correct connection in case of multihops.
17255
e565dd37
GM
172562011-05-18 Glenn Morris <rgm@gnu.org>
17257
c2571358 17258 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17259 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17260
e565dd37
GM
17261 Rationalize calendar handling of day and month abbrev-arrays.
17262 * calendar/calendar.el (calendar-customized-p): New function.
17263 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17264 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17265 Add :set function.
17266 (calendar-abbrev-length, calendar-day-abbrev-array)
17267 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17268 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17269 Elements may no longer be nil.
17270 (calendar-day-name, calendar-month-name):
17271 Update for changed nature of abbrev arrays.
17272 * calendar/diary-lib.el (diary-name-pattern):
17273 Update for changed nature of abbrev arrays.
17274 (diary-mark-entries-1): Update calendar-make-alist calls.
17275 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17276 * calendar/cal-html.el (cal-html-day-abbrev-array):
17277 Simply inherit from calendar-day-abbrev-array.
17278
1d99a745
SM
172792011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17280
17281 * progmodes/grep.el (grep-mode): Disable default
17282 compilation-directory-matcher setting (bug#8684).
17283
7c1d9aa0
MA
172842011-05-17 Michael Albinus <michael.albinus@gmx.de>
17285
17286 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17287 instead of "head" and "tail". There were problems with SunOS 5.9,
17288 and it performs better.
17289
3952e9d8
GM
172902011-05-17 Glenn Morris <rgm@gnu.org>
17291
2dd12e7f
GM
17292 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17293
e4157b9c
GM
17294 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17295 Replace obsolete function.
17296
8e249bbd
GM
17297 * shell.el (pcomplete-parse-arguments-function): Declare.
17298
3952e9d8
GM
17299 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17300 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17301 (appt-check): Doc fixes.
17302 (appt-disp-window-function, appt-delete-window-function):
17303 Remove needless special case in custom :type.
17304 (appt-display-count): Default to 0, not nil.
17305 (appt-check): Reset appt-display-count to 0, not nil.
17306
c71a0d48 173072011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17308
c71a0d48
GM
17309 * progmodes/python.el (python-font-lock-keywords):
17310 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17311
31d55be9
SM
173122011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17313
17314 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17315
3bfacb2f
KR
173162011-05-16 Kevin Ryde <user42@zip.com.au>
17317
17318 * info-look.el (makefile-automake-mode): New setups, looking in
17319 automake manual, then makefile-mode.
17320 (makefile-mode): Remove automake manual, have it just in
17321 makefile-automake-mode since there's various things different or
17322 not relevant to plain make.
17323 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17324 believe a hypothetical automake-mode would go to makefile-mode,
17325 not the other way around.
17326
c8e83751
CY
173272011-05-15 Chong Yidong <cyd@stupidchicken.com>
17328
5e9e35cd
CY
17329 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17330 hunk-end tags (Bug#8672).
17331
c8e83751
CY
17332 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17333 vc-annotate-show-diff-revision-at-line (Bug#8671).
17334
50b23e5a
GM
173352011-05-14 Glenn Morris <rgm@gnu.org>
17336
7210a739
GM
17337 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17338 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17339 (change-log-font-lock-keywords): Also handle multiple author lines
17340 with leading tabs. (Bug#8644)
7210a739 17341
4691905a
GM
17342 * calendar/appt.el (appt-check): Rename some local variables.
17343 Some simplification/reordering.
17344
50b23e5a
GM
17345 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17346 (feedmail-sendmail-f-doesnt-sell-me-out)
17347 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17348 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17349 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17350 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17351 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17352 (feedmail-binmail-gnulinuxish-template):
17353 Rename from feedmail-binmail-linuxish-template.
17354 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17355 Use insert-buffer-substring.
17356
215cda7c
BC
173572011-05-14 Bill Carpenter <bill@carpenter.org>
17358
17359 * mail/feedmail.el (feedmail-patch-level): Increase.
17360 (feedmail-debug): New custom group.
17361 (feedmail-confirm-outgoing-timeout)
17362 (feedmail-sendmail-f-doesnt-sell-me-out)
17363 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17364 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17365 (feedmail-sender-line, feedmail-from-line)
17366 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17367 (feedmail-spray-this-address)
215cda7c
BC
17368 (feedmail-spray-address-fiddle-plex-list)
17369 (feedmail-queue-use-send-time-for-date)
17370 (feedmail-queue-use-send-time-for-message-id)
17371 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17372 (feedmail-buffer-eating-function):
17373 Doc fixes.
17374 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17375 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17376 (feedmail-message-action-scroll-down): New functions.
17377 (feedmail-queue-directory, feedmail-queue-draft-directory):
17378 Use expand-file-name.
17379 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17380 Remove C-v help entry.
17381 (feedmail-queue-buffer-file-name): New variable.
17382 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17383 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17384 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17385 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17386 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17387 (feedmail-message-action-toggle-spray)
17388 (feedmail-run-the-queue-no-prompts)
17389 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17390 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17391 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17392 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17393 (feedmail-envelope-deducer, feedmail-fiddle-from)
17394 (feedmail-fiddle-sender, feedmail-default-date-generator)
17395 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17396 (feedmail-fiddle-spray-address)
17397 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17398 (feedmail-fiddle-list-of-fiddle-plexes)
17399 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17400 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17401 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17402 Change default. Doc fix.
17403 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17404 (feedmail-binmail-linuxish-template): New constant.
17405 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17406 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17407 (feedmail-send-it): Add debug call.
17408 Use feedmail-queue-buffer-file-name, and
17409 feedmail-send-it-immediately-wrapper.
17410 (feedmail-message-action-send): Add debug call.
17411 Use feedmail-send-it-immediately-wrapper.
17412 (feedmail-queue-express-to-queue): Add debug call.
17413 Run feedmail-queue-express-hook.
17414 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17415 (feedmail-message-action-help-blat):
17416 Rename from feedmail-queue-send-edit-prompt-help-first.
17417 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17418 Check line-endings. Handle errors better.
17419 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17420 Doc fix. Add debug call.
17421 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17422 Use feedmail-queue-send-edit-prompt-inner.
17423 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17424 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17425 from feedmail-queue-send-edit-prompt.
17426 (feedmail-queue-send-edit-prompt-help)
17427 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17428 (feedmail-tidy-up-slug): Add debug call.
17429 Respect feedmail-queue-slug-suspect-regexp.
17430 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17431 (feedmail-dump-message-to-queue): Add debug call.
17432 Expand queue-directory.
17433 (feedmail-dump-message-to-queue): Change message slightly.
17434 Use feedmail-say-chatter.
17435 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17436 (feedmail-send-it-immediately-wrapper): New function.
17437 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17438 Insert empty string rather than newline. Handle full-frame case.
17439 Use catch/throw. Use feedmail-say-chatter.
17440 (feedmail-fiddle-from): Try mail-host-address.
17441 (feedmail-default-message-id-generator): Doc fix.
17442 Bind system-time-locale. Handle missing end.
17443 (feedmail-fiddle-x-mailer): Add debug call.
17444 Handle feedmail-x-mailer-line being nil.
17445 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17446 Add debug call. Use buffer-substring-no-properties.
17447 (feedmail-say-debug, feedmail-say-chatter): New functions.
17448 (feedmail-find-eoh): Give an explicit error.
17449
42c7e61e
UJ
174502011-05-13 Ulf Jasper <ulf.jasper@web.de>
17451
c2571358 17452 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17453 family from helvetica to sans.
c2571358 17454 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17455 etc/images/newsticker.
17456
c2571358 17457 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17458 family from helvetica to sans.
17459
17460 * net/newst-plainview.el (newsticker-new-item-face)
17461 (newsticker-old-item-face, newsticker-immortal-item-face)
17462 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17463 (newsticker-statistics-face): Change default family from
42c7e61e 17464 helvetica to sans.
c2571358 17465 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17466 etc/images/newsticker.
17467
5d3385a0
JB
17468 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17469 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17470 auto-marking.
17471
8497a297
DV
174722011-05-13 Didier Verna <didier@xemacs.org>
17473
17474 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17475 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17476 TODO entries.
8497a297
DV
17477 (lisp-lambda-list-keyword-parameter-indentation)
17478 (lisp-lambda-list-keyword-parameter-alignment)
17479 (lisp-lambda-list-keyword-alignment): New customizable user options.
17480 (lisp-indent-defun-method): Improve docstring.
17481 (extended-loop-p): Fix comment.
17482 (lisp-indent-lambda-list-keywords-regexp): New variable.
17483 (lisp-indent-lambda-list): New function.
17484 (lisp-indent-259): Use it.
17485 (lisp-indent-defmethod): Support for more than one
17486 method qualifier and properly indent methods lambda-lists.
17487 (defgeneric): Provide a missing common-lisp-indent-function property.
17488
f278f87f
SM
174892011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17490
17491 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17492 bounds for the empty string (bug#8667).
17493
5233edd7
GM
174942011-05-13 Glenn Morris <rgm@gnu.org>
17495
5237a44f
GM
17496 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17497
8340026c 17498 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17499 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17500
5233edd7 17501 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17502 (appt-time-msg-list): Doc fix.
a5464014 17503 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17504
92d10796
AS
175052011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17506
17507 * progmodes/ld-script.el (ld-script-keywords)
17508 (ld-script-builtins): Update keywords list.
17509
914a0ae1
SM
175102011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17511
c89be45f
SM
17512 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17513
914a0ae1
SM
17514 * shell.el (shell-completion-vars): New function.
17515 (shell-mode):
17516 * simple.el (read-shell-command): Use it.
17517 (blink-matching-open): No need for " [...]" in minibuffer-message.
17518
98dc3df3
GM
175192011-05-12 Glenn Morris <rgm@gnu.org>
17520
17521 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17522 (appt-check): Simplify.
17523
d2fc7e3d 175242011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17525
4d61f28d 17526 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17527 literal "/dev/null".
17528
d2fc7e3d 175292011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17530
17531 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17532 Fix typo.
17533
d2fc7e3d 175342011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17535
3f254caa
SM
17536 * progmodes/which-func.el (which-function):
17537 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17538 which might not be defined (Bug#8260).
17539
d45885f7
GM
175402011-05-12 Glenn Morris <rgm@gnu.org>
17541
17542 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17543 Let byte-compile-initial-macro-environment always take precedence.
17544
488086f4
SM
175452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17546
17547 * net/rcirc.el: Add support for SSL/TLS connections.
17548 (rcirc-server-alist): New field `encryption'.
17549 (rcirc): Check `encryption' settings.
17550 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17551 Merge make-local-variable into `set'.
17552 (rcirc--connection-open-p): New function.
17553 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17554 the process is not a network process (e.g. running gnutls-cli).
17555 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17556 Make rcirc-(en|de)code-coding-system local here.
17557 (rcirc-mode): Merge make-local-variable into `set'.
17558 (rcirc-parent-buffer): Make permanent buffer-local.
17559 (rcirc-multiline-minor-mode): Don't do it here.
17560 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17561 there's no server buffer.
17562
7d3b9d44
GM
175632011-05-11 Glenn Morris <rgm@gnu.org>
17564
f64049c6
GM
17565 * newcomment.el (comment-kill): Prefix "unused" local.
17566
93c9df73
GM
17567 * term/w32console.el (get-screen-color): Declare.
17568
7d3b9d44
GM
17569 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17570 Handle symbol elements of byte-compile-initial-macro-environment.
17571
9e2dd53f
LL
175722011-05-10 Leo Liu <sdl.web@gmail.com>
17573
488086f4
SM
17574 * bookmark.el (bookmark-bmenu-mode-map):
17575 Bind bookmark-bmenu-search to `/'.
8b340240 17576
9e2dd53f 17577 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17578 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17579 (Footnote-unicode): New function.
17580 (footnote-style-alist): Add unicode style to the list.
17581 (footnote-style): Doc fix.
9e2dd53f 17582
79b70037
GM
175832011-05-10 Jim Meyering <meyering@redhat.com>
17584
17585 Fix doubled-word typos.
17586 * international/quail.el (quail-insert-kbd-layout): and and -> and
17587 * kermit.el: and and -> and
17588 * net/ldap.el (ldap-search-internal): to to -> to
17589 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17590 * progmodes/js.el (js-mode): and and -> and
17591 * textmodes/artist.el (artist-move-to-xy): at at -> at
17592 (artist-draw-region-trim-line-endings): if if -> if
17593 And Safetyc -> Safety.
17594 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17595
b8f82dc1 175962011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17597 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17598
17599 * files.el (hack-one-local-variable-eval-safep):
17600 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17601
4f99f44b
GM
176022011-05-10 Glenn Morris <rgm@gnu.org>
17603
17604 * calendar/diary-lib.el (diary-list-entries-hook)
17605 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17606 (diary-nongregorian-marking-hook, diary-list-entries)
17607 (diary-include-other-diary-files, diary-mark-entries)
17608 (diary-mark-included-diary-files): Doc fixes.
17609
84f29e6b
JB
176102011-05-09 Juanma Barranquero <lekktu@gmail.com>
17611
17612 * misc.el: Require tabulated-list.el during compilation.
17613
9bedd73a
CY
176142011-05-09 Chong Yidong <cyd@stupidchicken.com>
17615
488086f4
SM
17616 * progmodes/compile.el (compilation-start):
17617 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17618 (compilation-filter-hook): Doc fix.
17619
797c735c
DD
176202011-05-09 Deniz Dogan <deniz@dogan.se>
17621
17622 * wdired.el: Remove outdated installation comment. Fix usage
17623 comment.
17624
5f4b1dfe
JB
176252011-05-09 Juanma Barranquero <lekktu@gmail.com>
17626
17627 * misc.el: Implement new command `list-dynamic-libraries'.
17628 (list-dynamic-libraries--loaded-only-p): New variable.
17629 (list-dynamic-libraries--refresh): New function.
17630 (list-dynamic-libraries): New command.
17631
4c44026c
CY
176322011-05-09 Chong Yidong <cyd@stupidchicken.com>
17633
488086f4
SM
17634 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17635 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17636 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17637 higher priority to avoid clobbering by gnu.
17638
027f966d
CY
176392011-05-08 Chong Yidong <cyd@stupidchicken.com>
17640
17641 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17642 if the face has existing theme settings (Bug#8454).
17643
085f5d7d
CY
176442011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17645
488086f4
SM
17646 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17647 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17648
2a86a00c
RS
17649 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17650 special file names `.' and `..' (Bug#8259).
17651
d9c54a06
CY
176522011-05-08 Chong Yidong <cyd@stupidchicken.com>
17653
488086f4
SM
17654 * progmodes/grep.el (grep-mode-font-lock-keywords):
17655 Remove buffer-changing entries.
d9c54a06
CY
17656 (grep-filter): New function.
17657 (grep-mode): Add it to compilation-filter-hook.
17658
17659 * progmodes/compile.el (compilation-filter-hook)
17660 (compilation-filter-start): New defvars.
17661 (compilation-filter): Call compilation-filter-hook prior to
17662 updating the process mark.
17663
c4662635
SM
176642011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17665
17666 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17667
b0512a1d
EZ
176682011-05-07 Eli Zaretskii <eliz@gnu.org>
17669
605c9376
EZ
17670 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17671 mailclient-send-it even if window-system is nil. (Bug#8595)
17672
c4662635
SM
17673 * term/w32console.el (terminal-init-w32console):
17674 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17675 background-mode. (Bug#8597)
17676
d1dc2cc2
SM
176772011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17678
17679 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17680 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17681 New functions.
17682 (defgeneric, eieio--defmethod): Use them.
17683 (eieio-defgeneric): Remove.
17684 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17685
915d1300
GM
176862011-05-07 Glenn Morris <rgm@gnu.org>
17687
a3961c3e
GM
17688 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17689 Use let rather than let*.
17690 (timeclock-find-discrep): Remove unused local.
17691
314347b9
GM
17692 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17693
915d1300
GM
17694 * calendar/appt.el (appt-time-msg-list): Doc fix.
17695
275b59b0
NF
176962011-05-06 Noah Friedman <friedman@splode.com>
17697
17698 * apropos.el (apropos-print-doc): Only use
17699 emacs-lisp-docstring-fill-column when it is bound to an integer,
17700 per that variable's documentation.
17701
6c19f744
SM
177022011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17703
17704 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17705 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17706
60f884b2
GM
177072011-05-06 Glenn Morris <rgm@gnu.org>
17708
5006e634
GM
17709 * calendar/appt.el (appt-message-warning-time): Doc fix.
17710 (appt-warning-time-regexp): New option.
17711 (appt-make-list): Respect appt-message-warning-time.
17712
548d0a63
GM
17713 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17714 New options.
17715 (diary-add-to-list): Strip comments from the displayed string.
17716 (diary-mode): Set comment-start and comment-end.
17717
60f884b2
GM
17718 * vc/diff-mode.el (smerge-refine-subst): Declare.
17719 (diff-refine-hunk): Don't require smerge-mode when compiling.
17720
989681bb
JB
177212011-05-06 Juanma Barranquero <lekktu@gmail.com>
17722
17723 * simple.el (list-processes): Return nil as the docstring says.
17724
a6bc05e1
MA
177252011-05-05 Michael Albinus <michael.albinus@gmx.de>
17726
17727 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17728 to "".
17729 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17730 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17731 determining of binary transfer. (Bug#7383)
17732
23c22e9a
MA
177332011-05-05 Michael Albinus <michael.albinus@gmx.de>
17734
c4662635
SM
17735 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17736 Fix port computation bug. (Bug#8618)
23c22e9a 17737
0bff894f
GM
177382011-05-05 Glenn Morris <rgm@gnu.org>
17739
b8296902
GM
17740 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17741
1f522ce8
GM
17742 * simple.el (shell-dynamic-complete-functions)
17743 (comint-dynamic-complete-functions): Declare.
17744
cf5bee67
GM
17745 * net/network-stream.el (gnutls-negotiate):
17746 * simple.el (tabulated-list-print): Fix declarations.
17747
17748 * progmodes/gud.el (syntax-symbol, syntax-point):
17749 Remove unnecessary and incorrect declarations.
17750
0bff894f
GM
17751 * emacs-lisp/check-declare.el (check-declare-scan):
17752 Handle byte-compile-initial-macro-environment in bytecomp.el
17753
9869b3ae
SM
177542011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17755
17756 Fix earlier half-done eieio-defmethod change (bug#8338).
17757 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17758 Streamline and change calling convention.
17759 (defmethod): Adjust accordingly and simplify.
17760 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17761 new eieio--defmethod.
17762 (slot-boundp): Minor CSE simplification.
17763
9c1d5ac5
MZ
177642011-05-05 Milan Zamazal <pdm@zamazal.org>
17765
17766 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17767 (glasses-make-readable): Use glasses-separate-capital-groups.
17768
455c834e
JB
177692011-05-05 Juanma Barranquero <lekktu@gmail.com>
17770
17771 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17772 (warning-series): Doc fix.
17773 (display-warning): Don't try to create the buffer if we just found it.
17774
9ed7c8cb
CY
177752011-05-04 Chong Yidong <cyd@stupidchicken.com>
17776
17777 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17778 (autoload-find-generated-file): New function.
17779 (generate-file-autoloads): Bind generated-autoload-file to
17780 buffer-file-name.
9869b3ae
SM
17781 (update-file-autoloads, update-directory-autoloads):
17782 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17783 output file (Bug#7989).
17784 (batch-update-autoloads): Doc fix.
17785
0898ca10
JB
177862011-05-04 Juanma Barranquero <lekktu@gmail.com>
17787
17788 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17789
31dfb76c
GM
177902011-05-04 Glenn Morris <rgm@gnu.org>
17791
f330b642
GM
17792 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17793 function, so it follows changes in calendar-date-style.
17794 (diary-fancy-date-matcher): New function.
17795 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17796 (diary-fancy-font-lock-fontify-region-function):
17797 Use diary-fancy-date-pattern as a function.
17798
31dfb76c
GM
17799 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17800 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17801
48e79d6a
TZ
178022011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17803
17804 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17805 instead of positional arguments. Allow :keylist and :crlfiles
17806 arguments.
17807 (open-gnutls-stream): Call it.
17808
17809 * net/network-stream.el (network-stream-open-starttls): Adjust to
17810 call `gnutls-negotiate' with :process and :hostname arguments.
17811
dd5a5ee0
SM
178122011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17813
ef80fc09
SM
17814 * minibuffer.el (completion--message): New function.
17815 (completion--do-completion, minibuffer-complete)
17816 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17817 (completion--do-completion): Don't ignore completion-auto-help when in
17818 icomplete-mode.
17819
dd5a5ee0
SM
17820 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17821 internal encoding (e.g. tibetan zero is not whitespace).
17822 (global-whitespace-mode): Prefer save-current-buffer.
17823 (whitespace-trailing-regexp): Remove useless save-match-data.
17824 (whitespace-empty-at-bob-regexp): Minor simplification.
17825
b7d22a83
CY
178262011-05-03 Chong Yidong <cyd@stupidchicken.com>
17827
17828 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17829
5192af46
AM
178302011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17831
17832 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17833 Use `concat' to create string for insertion.
5192af46 17834
5767d190
SM
178352011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17836
17837 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17838 Avoid open-line which runs post-self-insert-hook.
17839 (bibtex-fill-entry): Remove unused `end' var.
17840
bf242939
AM
178412011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17842
5767d190
SM
17843 * textmodes/ispell.el (ispell-add-per-file-word-list):
17844 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17845
25666126
LL
178462011-05-03 Leo Liu <sdl.web@gmail.com>
17847
17848 * isearch.el (isearch-yank-pop): New command.
5767d190 17849 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17850 (isearch-forward): Mention it.
17851
52d3c2d0
SM
178522011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17853
1bcace58
SM
17854 * simple.el (minibuffer-complete-shell-command): Remove.
17855 (minibuffer-local-shell-command-map): Use completion-at-point.
17856 (read-shell-command): Setup completion vars here instead.
17857 (read-expression-map): Bind TAB to symbol completion.
17858
52d3c2d0
SM
17859 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17860 error directly rather via storing it into `results'.
17861
35813471
LL
178622011-05-02 Leo Liu <sdl.web@gmail.com>
17863
17864 * vc/diff.el: Fix description.
17865
e793a940
LMI
178662011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17867
17868 * server.el (server-eval-at): New function.
17869
8de66e05
LMI
178702011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17871
17872 * net/network-stream.el (open-network-stream): Take a :nowait
17873 parameter and pass it on to `make-network-process'.
17874 (network-stream-open-plain): Ditto.
17875
dcb79f20
AS
178762011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17877
17878 * faces.el (face-spec-set-match-display): Don't match toolkit
17879 options on terminal frames.
17880
14a7fbd8
SM
178812011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17882
7eabc1be
SM
17883 * progmodes/pascal.el: Use lexical binding.
17884 (pascal-mode-map): Remove author preferences.
17885
14a7fbd8
SM
17886 * pcomplete.el (pcomplete-std-complete): Don't abuse
17887 completion-at-point.
17888
50f84510
JB
178892011-04-28 Juanma Barranquero <lekktu@gmail.com>
17890
6e087a44
JB
17891 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17892 removing code that has been dead since 1991 or so.
17893
50f84510
JB
17894 * startup.el (command-line): When warning about "_emacs", use a
17895 delayed warning to allow the user to filter it out.
17896
0ba690bd
DD
178972011-04-28 Deniz Dogan <deniz@dogan.se>
17898
17899 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17900 user has not joined.
17901
08abfaad
SM
179022011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17903
17904 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17905 aren't any completions at point.
17906
638f053a
JB
179072011-04-28 Juanma Barranquero <lekktu@gmail.com>
17908
17909 * subr.el (display-delayed-warnings): New function.
17910 (delayed-warnings-hook): New variable.
17911
8fff8daa
SM
179122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17913
08abfaad
SM
17914 * minibuffer.el (completion-at-point, completion-help-at-point):
17915 Don't presume that a given completion-at-point-function will always
17916 use the same calling convention.
17917
8fff8daa
SM
17918 * pcomplete.el (pcomplete-completions-at-point):
17919 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17920 pcomplete-seen is non-nil.
17921 (pcomplete-comint-setup): Also recognize the new comint/shell
17922 completion functions.
17923 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17924 pcomplete-seen is non-nil.
17925
841a1577 179262011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17927
841a1577 17928 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17929 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17930 the first character in the entry. This allows for code to add its
211ec907
UJ
17931 own uid to the entry.
17932 (icalendar--convert-float-to-ical): Add export of
17933 `diary-float'-entries save for those with the optional DAY
17934 argument.
17935
2a782793
DC
179362011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17937
17938 * subr.el (shell-quote-argument): Use alternate escaping strategy
17939 when we spot a variable reference in a string.
17940
0438ce91
DC
179412011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17942
17943 * cus-start.el (all): Define customization for debug-on-event.
17944
841a1577 179452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17946
17947 * subr.el (shell-quote-argument): Escape correctly under Windows.
17948
d090ed6c
SM
179492011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17950
17951 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17952
bfd31217
MA
179532011-04-25 Michael Albinus <michael.albinus@gmx.de>
17954
d090ed6c
SM
17955 * net/tramp.el (tramp-process-actions): Add POS argument.
17956 Delete region between POS and (pos).
bfd31217 17957
d090ed6c
SM
17958 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17959 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17960 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17961
17962 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17963 position in `tramp-process-actions' call.
17964
17965 * net/trampver.el: Update release number.
17966
e92f3bd3
SM
179672011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17968
850256b5
SM
17969 * custom.el (defcustom): Obey lexical-binding.
17970
e92f3bd3
SM
17971 Fix octave-inf completion problems reported by Alexander Klimov.
17972 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17973 Inherit from octave-mode-syntax-table.
17974 (inferior-octave-mode): Set info-lookup-mode.
17975 (inferior-octave-completion-at-point): New function.
17976 (inferior-octave-complete): Use it and completion-in-region.
17977 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17978 comint-filename-completion.
17979 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17980 symbol elements which shouldn't be word elements.
17981 (octave-font-lock-keywords, octave-beginning-of-defun)
17982 (octave-function-header-regexp): Adjust regexps accordingly.
17983 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17984
cd22b309
JB
179852011-04-25 Juanma Barranquero <lekktu@gmail.com>
17986
17987 * net/gnutls.el (gnutls-errorp): Declare before first use.
17988
8b492194
TZ
179892011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17990
17991 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17992 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17993 default trustfile exists before going to use it. Add missing
5a5fa834 17994 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17995 Reported by Claudio Bley <claudio.bley@gmail.com>.
17996 (open-gnutls-stream): Add usage example.
17997
17998 * net/network-stream.el (network-stream-open-starttls): Give host
17999 parameter to `gnutls-negotiate'.
18000 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18001 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18002
841a1577 180032011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18004
cd22b309
JB
18005 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18006 Use correct match group (bug#8438).
05842630 18007
3ba7869c
CY
180082011-04-24 Chong Yidong <cyd@stupidchicken.com>
18009
512e3ae1
CY
18010 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18011 (package-menu--generate): New arg specifying packages to show.
18012 (package-menu-refresh, package-menu-execute, list-packages):
18013 Callers changed.
18014 (package-show-package-list): New function, replacing deleted
18015 package--list-packages (renamed because it is non-internal).
18016
18017 * finder.el (finder-list-matches): Use package-show-package-list
18018 instead of deleted package--list-packages.
18019
e92f3bd3
SM
18020 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18021 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18022 (vc-annotate-mode-map): Bind it to RET.
18023
7031be6d
UR
180242011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18025
18026 * progmodes/etags.el (next-file): Don't use set-buffer to change
18027 buffers (Bug#8478).
18028
4ef177aa
CY
180292011-04-24 Chong Yidong <cyd@stupidchicken.com>
18030
c8d173eb
CY
18031 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18032
4ef177aa
CY
18033 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18034 (apropos-accumulator): Doc fix.
18035 (apropos-function, apropos-macro, apropos-command)
18036 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18037 (apropos-plist): Add face property.
18038 (apropos-symbols-internal): Fix indentation.
18039 (apropos-print): Simplify help, and recognize apropos-multi-type.
18040 (apropos-print-doc): Use button-type-get to extract the button's
18041 face property. Fill docstring (Bug#8352).
18042
4ffd0d6b 180432011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18044
18045 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18046
c6c32125 18047 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18048 (mpuz-mode-map): Use mapc.
c6c32125
JB
18049 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18050 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18051 Fix typos in docstrings.
18052
58d468b4
JB
18053 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18054 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18055
6470c3c6
JB
18056 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18057
4ffd0d6b 180582011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18059
18060 * minibuffer.el (completion--do-completion): Avoid the "Next char
18061 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18062
3ad8bad0
CY
18063 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18064 mouse-2 into unread-command-events, it is interpreted correctly.
18065
71d73c9c 18066 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18067 (image-toggle-display): Doc fix.
71d73c9c 18068
841a1577 180692011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18070
4ffd0d6b
GM
18071 * textmodes/page.el (what-page): Use line-number-at-pos to
18072 calculate line number (Bug#6825).
6e1dbaa9 18073
c2fb1b60
JB
180742011-04-22 Juanma Barranquero <lekktu@gmail.com>
18075
18076 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18077 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18078 Pass argument NO-DEFAULT to `find-tag-interactive'.
18079
e02f48d7
JB
180802011-04-22 Juanma Barranquero <lekktu@gmail.com>
18081
18082 Lexical-binding cleanup.
18083
18084 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18085 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18086 * progmodes/ada-prj.el (ada-prj-initialize-values)
18087 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18088 (ada-prj-show-value):
18089 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18090 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18091 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18092 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18093 * progmodes/bug-reference.el (bug-reference-push-button):
18094 * progmodes/fortran.el (fortran-line-length):
18095 * progmodes/glasses.el (glasses-change):
18096 * progmodes/octave-mod.el (octave-fill-paragraph):
18097 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18098 (python-pdbtrack-grub-for-buffer, python-sentinel):
18099 * progmodes/sql.el (sql-save-connection):
18100 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18101 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18102 Mark unused parameters.
18103
18104 * progmodes/compile.el (compilation--flush-directory-cache)
18105 (compilation--flush-parse, compile-internal): Mark unused parameters.
18106 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18107 (compilation-next-error-function): Remove unused variable `timestamp'.
18108
18109 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18110 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18111
18112 * progmodes/dcl-mode.el (dcl-end-of-command):
18113 Remove unused variable `start'.
18114 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18115 (dcl-option-value-basic, dcl-option-value-offset)
18116 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18117 Mark unused parameters.
18118 (dcl-save-local-variable): Remove unused variable `val'.
18119 (mode): Declare.
18120
18121 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18122 Mark unused parameters.
18123 (delphi-ignore-changes): Move before first use.
18124 (delphi-charset-token-at): Remove unused variable `start'.
18125 (delphi-else-start): Remove unused variable `if-count'.
18126 (delphi-comment-block-start, delphi-comment-block-end):
18127 Remove unused variable `kind'.
18128 (delphi-indent-line): Remove unused variable `new-point'.
18129
18130 * progmodes/ebrowse.el (ebrowse-files-list)
18131 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18132 Mark unused parameters. Don't quote `lambda'.
18133 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18134 Don't quote `lambda'.
18135 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18136 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18137 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18138 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18139 Use `ignore-errors'.
18140 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18141 (ebrowse-view/find-file-and-search-pattern)
18142 (ebrowse-view/find-member-declaration/definition):
18143 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18144 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18145 Rename parameter PREFIX-ARG to PREFIX.
18146 (ebrowse-tags-read-name): Remove unused variables `start' and
18147 `member-info'.
18148 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18149 to `tags-file'.
18150
18151 * progmodes/etags.el (local-find-tag-hook): Declare.
18152 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18153 Mark unused parameters.
18154
18155 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18156 (executable-interpret): Mark unused parameter.
18157
18158 * progmodes/flymake.el (flymake-process-sentinel)
18159 (flymake-after-change-function)
18160 (flymake-create-temp-with-folder-structure)
18161 (flymake-get-include-dirs-dot): Mark unused parameters.
18162 (flymake-safe-delete-directory): Remove unused variable `err'.
18163
18164 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18165 (speedbar-timer-fn, speedbar-line-text)
18166 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18167 (speedbar-center-buffer-smartly): Declare functions.
18168 (gdb-find-watch-expression): Remove unused variable `array'.
18169 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18170 (gdb-starting): Mark unused parameters.
18171 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18172 (gdb-table-string): Remove unused variable `res'.
18173 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18174 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18175 (gdb-display-buffer): Remove unused variable `cur-size'.
18176
18177 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18178 allow lexical-binding compilation.
18179 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18180 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18181 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18182 Mark unused parameters.
18183 (gud-gdb-marker-filter): Remove unused variable `match'.
18184 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18185 lambda expressions and funcall them, instead of using `fset'.
18186
18187 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18188 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18189
18190 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18191 variable `header-beg'; use `let'.
18192
18193 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18194 `restart', `last-sexp' and `at-do'.
18195
18196 * progmodes/js.el (js--debug): Mark unused parameter.
18197 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18198 (js--splice-into-items): Remove unused variable `item'.
18199 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18200
18201 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18202 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18203 (makefile-complete): Remove unused variable `try'.
18204 (makefile-fill-paragraph, makefile-match-function-end):
18205 Mark unused parameters.
18206
18207 * progmodes/octave-inf.el (inferior-octave-complete):
18208 Remove unused variable `proc'.
18209 (inferior-octave-output-digest): Mark unused parameter.
18210
18211 * progmodes/perl-mode.el (perl-calculate-indent):
18212 Remove unused variable `err'.
18213
18214 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18215 (prolog-indent-line): Mark unused parameters.
18216 (prolog-indent-line): Remove unused variable `beg'.
18217
18218 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18219 (reporter-dont-compact-list): Declare.
18220
18221 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18222 Remove unused variable `char'.
18223 (sh-debug): Mark unused parameter.
18224 (sh-get-indent-info): Remove unused variable `start'.
18225 (sh-calculate-indent): Remove unused variable `var'.
18226
18227 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18228 (simula-electric-keyword): Remove unused variable `null'.
18229 (simula-search-backward, simula-search-forward): Remove unused
18230 variables `begin' and `end'.
18231
18232 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18233 Remove unused variable `pos'.
18234 (vera-electric-tab, vera-comment-uncomment-region):
18235 Mark unused parameters.
18236 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18237
7ede3b65
CY
182382011-04-22 Chong Yidong <cyd@stupidchicken.com>
18239
18240 * emacs-lisp/package.el (package--builtins, package-alist)
18241 (package-load-descriptor, package-built-in-p, package-activate)
18242 (define-package, package-installed-p)
18243 (package-compute-transaction, package-buffer-info)
18244 (package--push): Doc fix. Distinguish more clearly between
18245 version strings and version lists.
18246
121656e9
JB
182472011-04-21 Juanma Barranquero <lekktu@gmail.com>
18248
18249 Lexical-binding cleanup.
18250
18251 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18252 (5x5-make-mutate-best):
18253 * play/fortune.el (fortune-in-buffer):
18254 * play/gomoku.el (gomoku-init-display):
18255 * play/solitaire.el (solitaire, solitaire-do-check):
18256 * play/tetris.el (tetris-default-update-speed-function):
18257 Mark unused parameters.
18258
18259 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18260 (bubbles--shift): Remove unused variable `char-org'.
18261 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18262 (bubbles--show-images): Remove unused variable `char'.
18263
18264 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18265 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18266 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18267 (decipher-analyze-buffer): Use ?\s.
18268 (decipher-make-checkpoint): Remove unused variable `mapping'.
18269
18270 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18271
18272 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18273 Remove unused variable `result'; use `let'.
18274
18275 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18276 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18277 (gametree-children-shown-p, gametree-compute-reduced-score):
18278 Use `ignore-errors'.
18279
18280 * play/handwrite.el (ps-lpr-switches): Declare.
18281 (handwrite): Remove unused variables `pmin' and `lastp'.
18282
18283 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18284
18285 * play/landmark.el (landmark-init-display)
18286 (landmark-update-naught-weights): Mark unused parameters.
18287 (landmark-y): Remove unused variable `noise'. Simplify.
18288 (landmark-human-plays): Remove unused variable `score'.
18289
18290 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18291 (mpuz-try-proposal): Remove unused variable `game'.
18292
18293 * play/zone.el (life-patterns): Declare.
18294
80f499c7
JB
182952011-04-20 Juanma Barranquero <lekktu@gmail.com>
18296
18297 * vc/vc.el (ediff-vc-internal): Declare function.
18298
024ff170
SM
182992011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18300
c0a193ea
SM
18301 * shell.el: Use lexical-binding and std completion UI.
18302 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18303 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18304 comint-preoutput-filter-functions rather than on
18305 comint-output-filter-functions.
18306 (shell-command-completion, shell--command-completion-data)
18307 (shell-filename-completion, shell-environment-variable-completion)
18308 (shell-c-a-p-replace-by-expanded-directory): New functions.
18309 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18310 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18311 (shell-dynamic-complete-environment-variable): Use them.
18312 (shell-dynamic-complete-as-environment-variable)
18313 (shell-dynamic-complete-as-command): Remove.
18314 (shell-match-partial-variable): Match past point.
18315 * comint.el: Clean up use of completion-at-point-functions.
18316 (comint-completion-at-point): New function.
18317 (comint-mode): Use it completion-at-point-functions.
18318 (comint-dynamic-complete): Make it obsolete.
18319 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18320 (comint-c-a-p-replace-by-expanded-history): New function.
18321 (comint-dynamic-complete-functions)
18322 (comint-replace-by-expanded-history): Use it.
18323 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18324 termination strings. Try harder to avoid second try-completion.
18325 (completion-in-region-mode-map): Disable bindings that don't work yet.
18326
2dbaa080
SM
18327 * comint.el: Use lexical-binding. Require CL.
18328 (comint-dynamic-complete-functions): Use comint-filename-completion.
18329 (comint-completion-addsuffix): Tweak custom type.
18330 (comint-filename-completion, comint--common-suffix)
18331 (comint--common-quoted-suffix, comint--table-subvert)
18332 (comint--complete-file-name-data): New functions.
18333 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18334 (comint-dynamic-list-filename-completions): Use them.
18335 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18336
2dbaa080
SM
18337 * minibuffer.el (completion-in-region-mode):
18338 Keep completion-in-region-mode--predicate global.
18339 (completion-in-region--postch):
18340 Assume completion-in-region-mode--predicate is not null.
18341
c79a6f38
SM
18342 * progmodes/flymake.el (flymake-start-syntax-check-process):
18343 Obey `dir'. Simplify.
18344
024ff170
SM
18345 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18346 we're in VC after all.
18347
1c6c854e
CS
183482011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18349
18350 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18351 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18352 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18353
bed7f140
SM
183542011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18355
332e62ab
SM
18356 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18357 add sanity check.
18358
bed7f140
SM
18359 * obsolete/erc-hecomplete.el: Make obsolete.
18360 * obsolete/: Standardize obsolescence info in the header.
18361
f195c582
GM
183622011-04-20 Glenn Morris <rgm@gnu.org>
18363
18364 * calendar/solar.el (solar-horizontal-coordinates):
18365 Use the longitude argument rather than `calendar-longitude'.
18366 (solar-date-next-longitude): Remove unused locals.
18367
cb79b8c0
VJL
183682011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18369
18370 * whitespace.el: New version 13.2.1.
18371
183722011-04-20 felix <EmacsWiki> (tiny change)
18373
d8e4b68b 18374 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18375 switching between major modes on a file.
18376
602ea69d
SM
183772011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18378
18379 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18380 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18381 multi-line comments as well.
18382
06b60517
JB
183832011-04-19 Juanma Barranquero <lekktu@gmail.com>
18384
18385 Lexical-binding cleanup.
18386
18387 * arc-mode.el (archive-mode-revert):
18388 * cmuscheme.el (scheme-interactively-start-process):
18389 * custom.el (custom-initialize-delay):
18390 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18391 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18392 * emacs-lock.el (emacs-lock-clear-sentinel):
18393 * ezimage.el (defezimage):
18394 * follow.el (follow-avoid-tail-recenter):
18395 * fringe.el (set-fringe-mode-1):
18396 * generic-x.el (bat-generic-mode-compile):
18397 * help-mode.el (help-info-variable, help-do-xref)
18398 (help-mode-revert-buffer):
18399 * help.el (view-emacs-todo):
18400 * iswitchb.el (iswitchb-completion-help):
18401 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18402 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18403 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18404 * locate.el (locate-update):
18405 * longlines.el (longlines-encode-region)
18406 (longlines-after-change-function):
18407 * outline.el (outline-isearch-open-invisible):
18408 * ps-def.el (declare-function, charset-dimension, char-width)
18409 (encode-char):
18410 * ps-mule.el (ps-mule-plot-string):
18411 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18412 (recentf-edit-list-select, recentf-edit-list-validate)
18413 (recentf-open-files-action):
18414 * rect.el (delete-whitespace-rectangle-line)
18415 (rectangle-number-line-callback):
18416 * register.el (window-configuration-to-register)
18417 (frame-configuration-to-register):
18418 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18419 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18420 (xselect-convert-to-targets, xselect-convert-to-delete)
18421 (xselect-convert-to-filename, xselect-convert-to-charpos)
18422 (xselect-convert-to-lineno, xselect-convert-to-colno)
18423 (xselect-convert-to-os, xselect-convert-to-host)
18424 (xselect-convert-to-user, xselect-convert-to-class)
18425 (xselect-convert-to-name, xselect-convert-to-integer)
18426 (xselect-convert-to-atom, xselect-convert-to-identity):
18427 * subr.el (declare, ignore, process-kill-without-query)
18428 (text-clone-maintain):
18429 * terminal.el (te-get-char, te-tic-sentinel):
18430 * tool-bar.el (tool-bar-make-keymap):
18431 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18432 * type-break.el (type-break-mode, type-break-noninteractive-query):
18433 * view.el (View-back-to-mark):
18434 * wid-browse.el (widget-browse-action, widget-browse-widget)
18435 (widget-browse-widgets, widget-browse-sexp):
18436 * widget.el (define-widget-keywords):
18437 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18438 Mark unused parameters.
18439
18440 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18441 (align-areas): Remove unused variable `look'.
18442 (align-region): Remove unused variables `real-end' and `pos-list'.
18443
18444 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18445
18446 * bindings.el (mode-line-modified, mode-line-remote):
18447 Mark unused parameters.
18448 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18449
18450 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18451 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18452
18453 * comint.el (comint-history-isearch-pop-state)
18454 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18455 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18456 (comint-substitute-in-file-name): Doc fix.
18457
18458 * completion.el (cmpl-statistics-block): Mark unused parameter.
18459 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18460 (save-completions-to-file, load-completions-from-file):
18461 Remove unused local variable `e'.
18462
18463 * composite.el (compose-chars): Remove unused variable `len'.
18464 (lgstring-insert-glyph): Remove unused variable `g'.
18465 (compose-glyph-string): Remove unused variables `ascent',
18466 `descent', `lbearing' and `rbearing'.
18467 (compose-glyph-string-relative): Remove unused variables
18468 `lbearing', `rbearing' and `wadjust'.
18469 (compose-gstring-for-graphic): Remove unused variables `header',
18470 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18471 (compose-gstring-for-terminal): Remove unused variables `header'
18472 and `nchars'. Use `let', not `let*'.
18473
18474 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18475 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18476 (Custom-buffer-done, custom-buffer-create-internal)
18477 (custom-browse-visibility-action, custom-browse-group-tag-action)
18478 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18479 (widget-magic-mouse-down-action, custom-toggle-parent)
18480 (custom-add-parent-links, custom-toggle-hide-variable)
18481 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18482 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18483 (custom-face-menu-create, custom-variable-menu-create, get)
18484 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18485 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18486 (customize-apropos): Remove unused variable `tests'.
18487 (custom-group-value-create): Remove unused variable `hidden-p'.
18488 (sort-fold-case): Declare.
18489
18490 * cus-theme.el (custom-reset-standard-faces-list)
18491 (custom-reset-standard-variables-list): Declare.
18492 (customize-create-theme, custom-theme-revert, custom-theme-write)
18493 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18494 Mark unused parameters.
18495
18496 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18497
18498 * delim-col.el (delimit-columns-max): Move defvar before first use.
18499
18500 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18501 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18502
18503 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18504 (auto-insert): Declare.
18505 (desktop-restore-file-buffer): Rename desktop-* parameters;
18506 mark unused ones.
18507 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18508 (desktop-buffer): Rename desktop-* parameters.
18509
18510 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18511 (dframe-reposition-frame-xemacs, dframe-help-echo)
18512 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18513 Mark unused parameters.
18514
18515 * dired-aux.el (backup-extract-version-start, overwrite-query)
18516 (overwrite-backup-query, rename-regexp-query)
18517 (rename-non-directory-query): Declare.
18518 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18519 (dired-add-entry): Remove unused variable `orig-file-name'.
18520 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18521 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18522 `dired-copy-preserve-time' directly.
18523 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18524 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18525
18526 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18527 (dired-virtual-revert, dired-make-relative-symlink):
18528 Mark unused parameters.
18529 (manual-program): Declare.
18530 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18531 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18532 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18533
18534 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18535
18536 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18537
18538 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18539 Declare.
18540
18541 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18542
18543 * electric.el (Electric-command-loop): Rename parameter
18544 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18545
18546 * expand.el (expand-in-literal): Remove unused variable `here'.
18547
18548 * facemenu.el (facemenu-add-new-color):
18549 Remove unused variable `docstring'.
18550
18551 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18552 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18553 (face-attr-construct): Mark unused parameter. Doc fix.
18554 (read-color): Remove unused variable `hex-string'.
18555
18556 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18557 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18558 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18559 (display-buffer-other-frame): Remove unused variable `old-window'.
18560 (kill-buffer-hook): Declare.
18561 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18562 Mark unused parameters.
18563 (after-find-file): Pass 1 to `auto-save-mode', not t.
18564
18565 * files-x.el (auto-insert): Declare.
18566 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18567
18568 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18569 variable `buf'. Mark unused parameter.
06b60517
JB
18570 (find-lisp-insert-directory): Mark unused parameter.
18571
18572 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18573 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18574 (format-common-tail): Remove, unused.
18575 (format-deannotate-region): Remove unused variable `loc'.
18576 (format-annotate-region): Remove unused variable `p'.
18577 (format-annotate-single-property-change): Remove unused variables
18578 `default' and `tail'.
18579
18580 * forms.el (read-file-filter): Declare.
18581 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18582
18583 * frame.el (frame-creation-function-alist): Mark unused parameter.
18584 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18585
18586 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18587 Remove unused parameters.
18588 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18589 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18590
18591 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18592 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18593 (hfy-prepare-tag-map): Mark unused parameters.
18594 (htmlfontify-buffer): Use `called-interactively-p'.
18595
18596 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18597 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18598 (ibuffer-do-occur): Mark unused parameters.
18599 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18600 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18601
18602 * ibuffer.el: Don't quote `lambda'.
18603 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18604 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18605 Mark unused parameters.
18606
18607 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18608 (ido-completing-read): Mark unused parameters.
18609 (ido-copy-current-word): Mark unused parameters;
18610 remove unused variable `name'.
18611 (ido-sort-merged-list): Remove unused parameter `dirs'.
18612
18613 * ielm.el (ielm-input-sender): Mark unused parameter.
18614 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18615 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18616 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18617 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18618 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18619
18620 * image-dired.el (image-dired-display-thumbs): Remove unused
18621 variables `curr-file' and `count'.
18622 (image-dired-remove-tag): Remove unused variable `start'.
18623 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18624 variable `curr-file'
18625 (image-dired-rotate-original): Remove unused variable `temp-file'.
18626 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18627 Remove unused variable `file'.
18628 (image-dired-gallery-generate): Remove unused variable `curr'.
18629 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18630
18631 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18632
18633 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18634
18635 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18636
18637 * isearch.el (minibuffer-history-symbol): Declare.
18638 (isearch-edit-string): Remove unused variable `err'.
18639 (isearch-message-prefix, isearch-message-suffix):
18640 Mark unused parameters.
18641
18642 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18643
18644 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18645
18646 * makesum.el (double-column): Remove unused variable `cnt'.
18647
18648 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18649 (ido-ignore-item-temp-list): Declare.
18650
18651 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18652 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18653 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18654 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18655 `mouse-col-delta'.
18656
18657 * mouse-sel.el (mouse-extend-internal):
18658 Remove unused variable `orig-window-frame'.
18659
18660 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18661 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18662 Move declarations before first use.
18663 (pcomplete-opt): Mark unused parameters; doc fix.
18664
18665 * proced.el (proced-revert): Mark unused parameter.
18666 (proced-send-signal): Remove unused variable `err'.
18667
18668 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18669 Rename parameter PREFIX-ARG to ARG.
18670 (ps-basic-plot-string, ps-basic-plot-whitespace):
18671 Mark unused parameters.
18672
18673 * replace.el (replace-count): Define.
18674 (occur-revert-function): Mark unused parameters.
18675 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18676 (isearch-case-fold-search, isearch-string): Declare.
18677 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18678 bind `case-fold-search'. Remove unused variables `beg' and `end',
18679 and simplify.
18680 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18681 COUNT and bind `replace-count'.
18682 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18683 to COUNT.
18684
18685 * savehist.el (print-readably, print-string-length): Declare.
18686
18687 * shadowfile.el (shadow-expand-cluster-in-file-name):
18688 Remove unused variable `cluster'.
18689 (shadow-copy-file): Remove unused variable `i'.
18690 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18691 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18692 (shadow-define-literal-group, shadow-define-regexp-group)
18693 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18694
18695 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18696 (shell): Use `called-interactively-p'.
18697 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18698
18699 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18700 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18701 (delete-backward-char): Remove unused variable `ocol'.
18702 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18703 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18704 (event-apply-hyper-modifier, event-apply-shift-modifier)
18705 (event-apply-control-modifier, event-apply-meta-modifier):
18706 Mark unused parameters.
18707 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18708 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18709
18710 * speedbar.el (speedbar-ignored-directory-expressions)
18711 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18712 (speedbar-find-file, speedbar-dir-follow)
18713 (speedbar-directory-buttons-follow, speedbar-tag-find)
18714 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18715 (speedbar-buffers-line-directory, speedbar-buffer-click):
18716 Mark unused parameters.
18717 (speedbar-tag-file): Remove unused variable `mode'.
18718 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18719
18720 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18721
18722 * talk.el (talk): Remove unused variable `display'.
18723
18724 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18725 (tar-write-region-annotate): Mark unused parameter.
18726
18727 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18728 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18729 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18730 warning by another.
18731
18732 * time-stamp.el (time-stamp-string-preprocess):
18733 Remove unused variable `require-padding'.
18734
18735 * tree-widget.el (widget-glyph-enable): Declare.
18736 (tree-widget-action): Mark unused parameter.
18737
18738 * w32-fns.el (x-get-selection): Mark unused parameter.
18739 (autoload-make-program, generated-autoload-file): Declare.
18740
18741 * wdired.el (wdired-revert): Mark unused parameters.
18742 (wdired-xcase-word): Remove unused variable `err'.
18743
18744 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18745 (whitespace-help-scroll): Remove unused variable `data-help'.
18746
18747 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18748 (widget-image-insert, widget-after-change, default)
18749 (widget-default-format-handler, widget-default-notify)
18750 (widget-default-prompt-value, widget-info-link-action)
18751 (widget-url-link-action, widget-function-link-action)
18752 (widget-variable-link-action, widget-file-link-action)
18753 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18754 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18755 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18756 (widget-insert-button-action, widget-delete-button-action, visibility)
18757 (widget-documentation-link-action, widget-documentation-string-action)
18758 (widget-const-prompt-value, widget-regexp-match, symbol)
18759 (widget-coding-system-prompt-value)
18760 (widget-key-sequence-value-to-external, sexp)
18761 (widget-sexp-value-to-internal, character, vector, cons)
18762 (widget-choice-prompt-value, widget-boolean-prompt-value)
18763 (widget-color--choose-action): Mark unused parameters.
18764 (widget-item-match-inline, widget-choice-match-inline)
18765 (widget-checklist-match, widget-checklist-match-inline)
18766 (widget-group-match): Rename parameter VALUES to VALS.
18767 (widget-field-value-set): Remove unused variable `size'.
18768 (widget-color-action): Remove unused variables `value' and `start'.
18769
18770 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18771 variable `dir'. Doc fix.
06b60517
JB
18772 (windmove-find-other-window): Don't pass it.
18773
18774 * window.el (count-windows): Mark unused parameter.
18775 (bw-adjust-window): Remove unused variable `err'.
18776
18777 * woman.el (woman-file-name): Remove unused variable `default'.
18778 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18779 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18780 (global-font-lock-mode): Declare.
18781 (woman-decode-region): Mark unused parameter.
18782 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18783
18784 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18785 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18786 (x-dnd-handle-moz-url): Remove unused variable `title'.
18787 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18788
18789 * xml.el (xml-parse-tag, xml-parse-attlist):
18790 Remove unused variable `pos'.
18791
bc4f7f3d
GM
187922011-04-19 Glenn Morris <rgm@gnu.org>
18793
18794 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18795 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18796 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18797 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18798 * calendar/cal-html.el (cal-html-insert-minical):
18799 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18800 (calendar-mark-date-pattern):
18801 Prefix "unused" locals.
18802
18803 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18804 optional argument `style'.
18805
18806 * calendar/appt.el (appt-make-list):
18807 * calendar/cal-china.el (calendar-chinese-date-string):
18808 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18809 (diary-hebrew-yahrzeit):
18810 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18811 * calendar/calendar.el (calendar-generate-window):
18812 * calendar/time-date.el (time-to-days):
18813 Remove unused local variables.
18814
16a43933
CY
188152011-04-18 Chong Yidong <cyd@stupidchicken.com>
18816
18817 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18818 glyphless-char-display table.
18819 (tabulated-list-glyphless-char-display): New var.
18820
7eed1860
SS
188212011-04-18 Sam Steingold <sds@gnu.org>
18822
18823 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18824 to acknowledgments.
18825
4d2d1ccd
GM
188262011-04-17 Glenn Morris <rgm@gnu.org>
18827
18828 * calendar/diary-lib.el (diary-sexp-entry):
18829 * calendar/holidays.el (holiday-sexp):
18830 Set debug-on-error rather than the removed stack-trace-on-error.
18831
239da61d
GM
188322011-04-16 Glenn Morris <rgm@gnu.org>
18833
18834 * progmodes/f90.el: Use lexical-binding.
18835 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18836
8b05752a
SM
188372011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18838
daca8ba5
SM
18839 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18840 (mail-mode): Setup mailalias completion here instead.
18841 * mail/mailalias.el: Use lexical-binding.
18842 (pattern, mailalias-done): Declare dynamic.
18843 (mail-completion-at-point-function): New function, from mail-complete.
18844 (mail-complete): Use it.
18845 (mail-completion-expand): New function.
18846 (mail-get-names): Use it.
18847 (mail-directory, mail-directory-process, mail-directory-stream):
18848 Don't use `pattern' for lexically bound arg.
18849
6f542485
SM
18850 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18851
037e7c3f
SM
18852 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18853 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18854 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18855
8b05752a
SM
18856 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18857 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18858 (byte-interactive-p): Define them again, for use when inlining
18859 old code.
18860
49093f60
JB
188612011-04-15 Juanma Barranquero <lekktu@gmail.com>
18862
18863 * loadup.el: Use `string-to-number', not `string-to-int'.
18864
b5b8e7de
SM
188652011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18866
18867 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18868 gud-gdb-complete-command.
18869 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18870 (gud-gdb-completion-at-point): New function.
18871 (gud-gdb-completions): Remove.
18872
f42efeb5
MA
188732011-04-14 Michael Albinus <michael.albinus@gmx.de>
18874
49093f60
JB
18875 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18876 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18877 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18878 whether `executable-find' is bound.
f42efeb5
MA
18879
18880 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18881
e240cc21
SM
188822011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18883
18884 * minibuffer.el (completion-in-region-mode-predicate)
18885 (completion-in-region-mode--predicate): New vars.
18886 (completion-in-region, completion-in-region--postch)
18887 (completion-in-region-mode): Use them.
18888 (completion--capf-wrapper): Also return the hook function.
18889 (completion-at-point, completion-help-at-point):
18890 Adjust and provide a predicate.
c2bd2ab0
SM
18891
18892 Preserve arg names for advice of subr and lexical functions (bug#8457).
18893 * help-fns.el (help-function-arglist): Consolidate the subr and
18894 new-byte-code cases. Add argument `preserve-names' to extract names
18895 from the docstring when needed.
18896 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18897 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18898 (ad-arglist): Use help-function-arglist's new arg.
18899 (ad-definition-type): Use cond.
18900
c183f693
JB
189012011-04-13 Juanma Barranquero <lekktu@gmail.com>
18902
06641a47
JB
18903 * autorevert.el (auto-revert-handler):
18904 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18905 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18906 Don't quote lambda.
18907
c183f693
JB
18908 * image-mode.el (image-transform-set-scale):
18909 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18910
1e3b6001
G
189112011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18912
18913 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18914 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18915 Upgrades via gnutls-cli are too slow to be done opportunistically.
18916
2d6af8dd
JB
189172011-04-12 Juanma Barranquero <lekktu@gmail.com>
18918
18919 * dframe.el (dframe-current-frame): Remove spurious quote.
18920
c0749a51
GM
189212011-04-12 Glenn Morris <rgm@gnu.org>
18922
088d0d61
GM
18923 * calendar/cal-tex.el (cal-tex-end-document):
18924 Try to automatically use latin1 input if needed.
18925
c0749a51
GM
18926 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18927 Don't try to cons a mark onto an empty element.
18928
5c90fde0
LL
189292011-04-11 Leo Liu <sdl.web@gmail.com>
18930
18931 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18932 buffers.
18933 (ido-kill-buffer-at-head): Support killing virtual buffers.
18934
369e974d
CY
189352011-04-10 Chong Yidong <cyd@stupidchicken.com>
18936
18937 * minibuffer.el (completion-show-inline-help): New var.
18938 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18939 (minibuffer-force-complete, minibuffer-complete-word):
18940 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18941
18942 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18943 to avoid interference from inline help (Bug#5849).
18944
37f1c930
LL
189452011-04-10 Leo Liu <sdl.web@gmail.com>
18946
099c39a4
JB
18947 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18948 Fix typo.
37f1c930 18949
a32d4040
CY
189502011-04-09 Chong Yidong <cyd@stupidchicken.com>
18951
18952 * image-mode.el (image-toggle-display-image): Signal an error if
18953 not in Image mode.
18954 (image-transform-mode, image-transform-resize)
18955 (image-transform-set-rotation): Doc fix.
daca8ba5 18956 (image-transform-set-resize): Delete.
a32d4040
CY
18957 (image-transform-set-scale, image-transform-fit-to-height)
18958 (image-transform-fit-to-width): Handle image-toggle-display-image
18959 and image-transform-resize directly.
18960
099c39a4 189612011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18962
18963 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18964 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18965 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18966 (doc-view-mode-map): Add bindings for the new functions.
18967
099c39a4 189682011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18969
4d61f28d 18970 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18971 Fix typo in docstring.
18972
3726838a
EZ
189732011-04-08 Eli Zaretskii <eliz@gnu.org>
18974
04f33f1e
EZ
18975 * files.el (file-size-human-readable): Produce one digit after
18976 decimal, like "ls -lh" does.
18977
18978 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18979 the file size representation.
18980
3726838a
EZ
18981 * simple.el (list-processes): If async subprocesses are not
18982 available, error out with a clear error message.
18983
cbb59342
CY
189842011-04-08 Chong Yidong <cyd@stupidchicken.com>
18985
18986 * help.el (help-form-show): New function, to be called from C.
18987 Put help-form output in a buffer named differently than *Help*.
18988
e3971c44
EZ
189892011-04-08 Eli Zaretskii <eliz@gnu.org>
18990
18991 * files.el (file-size-human-readable): New function.
18992
18993 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18994 computing the representation inline. Don't require `cl'.
18995
12544bbe
GM
189962011-04-08 Glenn Morris <rgm@gnu.org>
18997
a1de6c6a
GM
18998 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18999
3c4671f4
GM
19000 * net/browse-url.el (browse-url-firefox):
19001 Test system-type, not system-configuration.
19002
b605679c
GM
19003 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19004 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19005 Use log-edit-empty-buffer-p. (Bug#7598)
19006
56442f0c
GM
19007 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19008 (rlogin-mode-map): Initialize in the defvar.
19009 (rlogin): Use ignore-errors.
19010
12544bbe
GM
19011 * replace.el (occur-mode-map): Some fixes for menu items.
19012
eb237b0f
AH
190132011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19014
19015 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19016
7d668f2c
CY
190172011-04-06 Chong Yidong <cyd@stupidchicken.com>
19018
e67a13ab
CY
19019 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19020 issuing unused warnings.
19021
19022 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19023 macro directly.
19024
7d668f2c
CY
19025 * simple.el: Lisp reimplement of list-processes. Based on an
19026 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19027 (process-menu-mode): New major mode.
19028 (list-processes--refresh, list-processes):
19029 (process-menu-visit-buffer): New functions.
19030
19031 * files.el (save-buffers-kill-emacs): Don't assume any return
19032 value of list-processes, which is undocumented anyway.
19033
a83ec3c9
CY
190342011-04-06 Chong Yidong <cyd@stupidchicken.com>
19035
19036 * emacs-lisp/tabulated-list.el: New file.
19037
e91a96fe
CY
19038 * emacs-lisp/package.el: Use Tabulated List mode.
19039 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19040 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19041 table format using Tabulated List mode variables.
19042 (package--push): New macro, replacing package-list-maybe-add.
19043 (package-menu--generate): Use package--push. Renamed from
19044 package--generate-package-list.
19045 (package-menu-refresh, list-packages): Use it.
daca8ba5 19046 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19047 Return insertion data instead of inserting it directly.
099c39a4
JB
19048 (package-menu-describe-package, package-menu-execute):
19049 Use tabulated-list-get-id.
e91a96fe
CY
19050 (package-menu-mark-delete, package-menu-mark-install)
19051 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19052 (package-menu-mark-obsolete-for-deletion):
19053 Use tabulated-list-put-tag.
e91a96fe
CY
19054 (package--list-packages, package-menu-revert)
19055 (package-menu-get-package, package-menu-get-version)
19056 (package-menu-sort-by-column): Functions deleted.
19057 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19058 (package-menu--status-predicate, package-menu--version-predicate)
19059 (package-menu--name-predicate)
19060 (package-menu--description-predicate): Handle arguments in the
19061 Tabulated List format.
19062 (package-list-packages-no-fetch): Call list-packages.
19063
3e214b50
JB
190642011-04-06 Juanma Barranquero <lekktu@gmail.com>
19065
19066 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19067 (after-find-file): Don't bind it.
3e214b50
JB
19068 (revert-buffer-in-progress-p): New variable.
19069 (revert-buffer): Bind it.
19070 Pass nil for `after-find-file-from-revert-buffer'.
19071
19072 * saveplace.el (save-place-find-file-hook): Use new variable
19073 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19074
3f0f1700
GM
190752011-04-06 Glenn Morris <rgm@gnu.org>
19076
c0274801
GM
19077 * Makefile.in (AUTOGEN_VCS): New variable.
19078 (autoloads): Use $AUTOGEN_VCS.
19079
3f0f1700
GM
19080 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19081 * calendar/calendar.el (calendar-mode-map):
19082 Check for toolkit scroll bars. (Bug#8305)
19083
41ea9e48
CY
190842011-04-05 Chong Yidong <cyd@stupidchicken.com>
19085
19086 * minibuffer.el (completion-in-region--postch)
19087 (completion-in-region-mode): Remove unnecessary messages.
19088
6194c800
JB
190892011-04-05 Juanma Barranquero <lekktu@gmail.com>
19090
33256f14
JB
19091 * font-lock.el (font-lock-refresh-defaults):
19092 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19093 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19094
6194c800
JB
19095 * info.el (Info-directory-list, Info-read-node-name-2)
19096 (Info-split-parameter-string): Doc fixes.
19097 (Info-virtual-nodes): Reflow docstring.
19098 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19099 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19100 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19101 Fix typos in docstrings.
19102 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19103 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19104 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19105 (Info-restore-desktop-buffer): Mark unused parameters.
19106 (Info-directory-find-file, Info-directory-find-node)
19107 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19108 (Info-virtual-index-find-node, Info-apropos-find-file)
19109 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19110 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19111 (Info-virtual-index): Remove unused local variable `nodename'.
19112
b87a8200 191132011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19114
b87a8200
DD
19115 * net/rcirc.el: Update my e-mail address.
19116 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19117
3b2ff876
CY
191182011-04-05 Chong Yidong <cyd@stupidchicken.com>
19119
19120 * startup.el (command-line): Save the cursor's theme-face
19121 directly, instead of using face-override-spec.
19122
19123 * custom.el (load-theme): Minor optimization in assigning faces.
19124
8d17e7ca
JB
191252011-04-04 Juanma Barranquero <lekktu@gmail.com>
19126
19127 * help-fns.el (describe-variable): Complete all variables having
19128 documentation, including keywords.
19129 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19130
2fbc1934
JB
191312011-04-04 Juanma Barranquero <lekktu@gmail.com>
19132
19133 Convert to lexical-binding.
19134
19135 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19136 (bs--get-marked-string, bs--get-modified-string)
19137 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19138 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19139 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19140
19141 * ehelp.el (electric-help-execute-extended)
19142 (electric-help-ctrl-x-prefix):
19143 * hexl.el (hexl-revert-buffer-function):
19144 * linum.el (linum-after-change, linum-after-scroll):
19145 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19146
19147 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19148
74f50695
DU
191492011-04-04 Daiki Ueno <ueno@unixuser.org>
19150
19151 * epa-dired.el:
19152 * epa-mail.el:
19153 * epa-hook.el:
19154 * epa-file.el:
19155 * epa.el:
19156 * epg.el: Use lexical binding.
19157
c11325f7
CY
191582011-04-03 Chong Yidong <cyd@stupidchicken.com>
19159
0d9e9a12
CY
19160 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19161
c11325f7 19162 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19163 dictionary case for flyspell-mark-duplications-exceptions.
19164 Use regexp matching for languages.
c11325f7
CY
19165 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19166 default dictionary (Bug#7926).
19167
da91b5f2
CY
191682011-04-02 Chong Yidong <cyd@stupidchicken.com>
19169
099c39a4
JB
19170 * emacs-lisp/package.el (package--with-work-buffer):
19171 Recognize https URLs.
da91b5f2 19172
099c39a4
JB
19173 * net/network-stream.el: Move from gnus/proto-stream.el.
19174 Change prefix to network-stream throughout.
da91b5f2
CY
19175 (open-protocol-stream): Merge into open-network-stream, leaving
19176 open-protocol-stream as an alias. Handle nil BUFFER args.
19177
19178 * subr.el (open-network-stream): Move to net/network-stream.el.
19179
afa8e9f6
GM
191802011-04-02 Glenn Morris <rgm@gnu.org>
19181
1d2e369d
GM
19182 * find-dired.el (find-exec-terminator): New option.
19183 (find-ls-option): Test for -ls support.
19184 (find-ls-subdir-switches): Test for -b in find-ls-option.
19185 (find-dired, find-grep-dired): Doc fixes.
19186 (find-dired): Use find-exec-terminator.
19187
8abb7da8 19188 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19189 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19190 (find-name-arg): Remove purecopy.
8abb7da8 19191
f3ca7378
GM
19192 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19193 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19194 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19195 accordingly. Don't add the null-device if not needed.
19196
afa8e9f6
GM
19197 * files.el (save-some-buffers): Doc fix.
19198
35eae264
EZ
191992011-04-02 Eli Zaretskii <eliz@gnu.org>
19200
19201 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19202
26b51db5
JB
192032011-04-01 Juanma Barranquero <lekktu@gmail.com>
19204
19205 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19206 Use `dolist' rather than `mapcar'.
19207
7200d79c
SM
192082011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19209
03408648 19210 Add lexical binding.
7200d79c 19211
03408648
SM
19212 * subr.el (apply-partially): Use new closures rather than CL.
19213 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19214 (dolist, dotimes): Use slightly different expansion for lexical code.
19215 (functionp): Move to C.
19216 (letrec): New macro.
19217 (with-wrapper-hook): Use it and apply-partially instead of CL.
19218 (eval-after-load): Preserve lexical-binding.
19219 (save-window-excursion, with-output-to-temp-buffer): Turn them
19220 into macros.
7200d79c 19221
03408648
SM
19222 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19223
19224 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19225 than the arglist.
19226 (help-add-fundoc-usage): Don't add `Not documented'.
19227 (help-function-arglist): Handle closures, subroutines, and new
19228 byte-code-functions.
19229 (help-make-usage): Remove leading underscores.
19230 (describe-function-1): Handle closures.
19231 (describe-variable): Use special-variable-p for completion.
19232
19233 * files.el (lexical-binding): Declare safe.
f488fb65 19234
03408648
SM
19235 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19236 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19237 (pcase): Add `let' pattern.
19238 Change memoization so it actually works.
19239 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19240 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19241 <let>: New case.
f488fb65 19242
03408648
SM
19243 * emacs-lisp/macroexp.el: Use lexical binding.
19244 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19245 Don't convert ' to #' without checking that it's indeed quoting
19246 a lambda.
19247
19248 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19249 Use eval-sexp-add-defvars.
03408648
SM
19250 (eval-sexp-add-defvars): New fun.
19251
19252 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19253
19254 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19255 Don't autoload.
19256 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19257 than the internal `byte-compile-lambda'.
19258 (defmethod): Don't hide code under quotes.
19259 (eieio-defmethod): New `code' argument.
19260
19261 * emacs-lisp/eieio-comp.el: Remove.
19262
19263 * emacs-lisp/edebug.el (edebug-eval-defun)
19264 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19265 (edebug-toggle): Avoid `eval'.
19266
19267 * emacs-lisp/disass.el (disassemble-internal): Handle new
19268 `closure' objects.
19269 (disassemble-1): Handle new byte codes.
19270
19271 * emacs-lisp/cl.el (pushnew): Silence warning.
19272
19273 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19274 (cl-byte-compile-throw): Remove.
19275 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19276
19277 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19278 closures.
19279
19280 * emacs-lisp/cconv.el: New file.
19281
19282 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19283 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19284 (byte-compile-initial-macro-environment):
19285 Handle declare-function here.
19286 (byte-compile--lexical-environment): New var.
19287 (byte-stack-ref, byte-stack-set, byte-discardN)
19288 (byte-discardN-preserve-tos): New lap codes.
19289 (byte-interactive-p): Don't use any more.
19290 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19291 New macros.
19292 (byte-compile-lapcode): Use them and handle new lap codes.
19293 (byte-compile-obsolete): Remove.
19294 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19295 (byte-compile-arglist-warn): Check late def of inlinable funs.
19296 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19297 since they should have been expanded by now.
19298 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19299 (byte-compile-from-buffer): Remove unused second arg.
19300 (byte-compile-preprocess): New function.
19301 (byte-compile-toplevel-file-form): New function to distinguish
19302 file-form calls from outside from file-form calls from hunk-handlers.
19303 (byte-compile-file-form): Simplify.
19304 (byte-compile-file-form-defsubst): Remove.
19305 (byte-compile-file-form-defmumble): Simplify now that
19306 byte-compile-lambda always returns a byte-code-function.
19307 (byte-compile): Preprocess.
19308 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19309 Remove, not used any more.
19310 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19311 (byte-compile-make-args-desc): New funs.
19312 (byte-compile-lambda): Handle lexical functions. Always return
19313 a byte-code-function.
19314 (byte-compile-reserved-constants): New var, to make up room for
19315 closed-over variables.
19316 (byte-compile-constants-vector): Obey it.
19317 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19318 (byte-compile-macroexpand-declare-function): New function.
19319 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19320 byte-code-functions.
19321 (byte-compile-form): Check obsolescence here.
19322 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19323 (byte-compile-variable-ref): Remove.
19324 (byte-compile-dynamic-variable-op): New fun.
19325 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19326 (byte-compile-variable-set): New funs.
19327 (byte-compile-discard): Add 2 args.
19328 (byte-compile-stack-ref, byte-compile-stack-set)
19329 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19330 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19331 macroexpand-all instead.
19332 (byte-compile-quote-form): Remove.
19333 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19334 (byte-compile-bind, byte-compile-unbind): New funs.
19335 (byte-compile-let): Handle let* and lexical binding.
19336 (byte-compile-let*): Remove.
19337 (byte-compile-catch, byte-compile-unwind-protect)
19338 (byte-compile-track-mouse, byte-compile-condition-case):
19339 Handle a new :fun-body form, used for lexical scoping.
19340 (byte-compile-save-window-excursion)
19341 (byte-compile-with-output-to-temp-buffer): Remove.
19342 (byte-compile-defun): Simplify.
19343 (byte-compile-stack-adjustment): New fun.
19344 (byte-compile-out): Use it.
19345 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19346
19347 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19348 handler any more.
19349
19350 * emacs-lisp/byte-opt.el: Use lexical binding.
19351 (byte-inline-lapcode): Remove (to bytecomp).
19352 (byte-compile-inline-expand): Pay attention to inlining to/from
19353 lexically bound code.
19354 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19355 any more.
19356 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19357 any more and don't call compiler-macros.
19358 (byte-compile-splice-in-already-compiled-code): Remove.
19359 (byte-code): Don't inline any more.
19360 (disassemble-offset): Receive `bytes' as argument rather than via
19361 dynamic scoping.
19362 (byte-compile-tag-number): Declare before first use.
19363 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19364 `return' even if make-spliceable.
19365 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19366 obsolete interactive-p.
19367 (byte-optimize-lapcode): Optimize new lap-codes.
19368 Don't trip up on new form of `byte-constant' lap code.
19369
19370 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19371
19372 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19373
19374 * custom.el (custom-initialize-default, custom-declare-variable):
19375 Use `defvar'.
19376
19377 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19378 New variables.
19379 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19380 (COMPILE_FIRST): Add macroexp and cconv.
19381 * makefile.w32-in: Mirror changes in Makefile.in.
19382
19383 * vc/cvs-status.el:
19384 * vc/diff-mode.el:
19385 * vc/log-edit.el:
19386 * vc/log-view.el:
19387 * vc/smerge-mode.el:
19388 * textmodes/bibtex-style.el:
090bd7cb 19389 * textmodes/css-mode.el:
03408648
SM
19390 * startup.el:
19391 * uniquify.el:
da91b5f2
CY
19392 * minibuffer.el:
19393 * newcomment.el:
19394 * reveal.el:
19395 * server.el:
19396 * mpc.el:
19397 * emacs-lisp/smie.el:
19398 * doc-view.el:
19399 * dired.el:
03408648
SM
19400 * abbrev.el: Use lexical binding.
19401
0f0c1f27
EZ
194022011-04-01 Eli Zaretskii <eliz@gnu.org>
19403
19404 * info.el (info-display-manual): New function.
19405
c82b2579
SM
194062011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19407
19408 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19409
221ddf68
TH
194102011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19411
19412 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19413 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19414
cba6e77e
GM
194152011-03-31 Glenn Morris <rgm@gnu.org>
19416
e040639f
GM
19417 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19418
cba6e77e
GM
19419 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19420
6d0f1c9e
CS
194212011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19422
19423 * progmodes/python.el (python-default-interpreter)
19424 (python-python-command-args, python-jython-command-args)
19425 (python-which-shell, python-which-args, python-which-bufname)
19426 (python-file-queue, python-comint-output-filter-function)
19427 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19428 variables and functions.
19429
3e2d70fd
SM
194302011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19431
19432 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19433 (completion-in-region-mode): New minor mode.
19434 (completion-in-region): Use it.
19435 (completion-in-region--data, completion-in-region-mode-map): New vars.
19436 (completion-in-region--postch): New function.
19437 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19438 New vars.
19439 (completion--capf-wrapper): New function.
19440 (completion-at-point): Use it to track well-behavedness of
19441 hook functions.
19442 (completion-help-at-point): New command.
19443
f3e4086c
JM
194442011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19445
19446 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19447 syntax class to search for whitespace on a single line
19448 (Message-ID: <4D938140.4030905@redhat.com>).
19449
eb7ffc14
LL
194502011-03-30 Leo Liu <sdl.web@gmail.com>
19451
19452 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19453 New commands.
19454 (edit-abbrevs-map): Bind them here.
19455 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19456
d806ab68
KM
194572011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19458
19459 * allout.el (allout-hide-by-annotation, allout-flag-region):
19460 Reduce possibility of overlay leakage by making them volatile.
19461
19462 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19463 hash is not shared between buffers. Mode initialization is
19464 responsible for giving it a useful starting value.
19465 (allout-item-span): Reduce possibility of overlay leakage by
19466 making them volatile.
19467 (allout-widgets-count-buttons-in-region): Add diagnostic function
19468 for tracking down button overlay leaks.
19469
ea622834
LL
194702011-03-29 Leo Liu <sdl.web@gmail.com>
19471
19472 * ido.el (ido-read-internal): Use the default history var
19473 minibuffer-history if no HISTORY is specified.
19474
b62f8267
G
194752011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19476
03408648
SM
19477 * net/imap.el (imap-shell-open, imap-process-connection-type):
19478 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19479 Kerberos, SSL, other subprocesses.
19480
947b6566
LL
194812011-03-28 Leo Liu <sdl.web@gmail.com>
19482
19483 * abbrev.el (abbrev-table-empty-p): New function.
19484 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19485 nonempty ones. (Bug#5937)
19486
5ffb62aa
JD
194872011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19488
19489 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19490
7a097943
LL
194912011-03-27 Leo Liu <sdl.web@gmail.com>
19492
19493 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19494 for foreground and background colors.
19495 (ansi-color-make-color-map): Adapt.
19496
c5b40130
LL
194972011-03-25 Leo Liu <sdl.web@gmail.com>
19498
1f48f7d2
LL
19499 * midnight.el (midnight-time-float): Remove. Note it calculates
19500 the microsecond component incorrectly and seconds-to-time does the
19501 same job.
625897ec 19502 Remove redundant (require 'timer).
1f48f7d2 19503
c5b40130
LL
19504 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19505 (ido-completions): Remove unused arguments. (Bug#8329)
19506
d86d2721
SM
195072011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19508
19509 * minibuffer.el (completion--flush-all-sorted-completions):
19510 Remove itself from hook.
19511 (completion-at-point): Let the functions perform the completion
19512 immediately and return nil or t.
19513 * comint.el (comint-dynamic-complete-functions): Now identical to
19514 completion-at-point-functions.
19515 (comint-dynamic-list-input-ring): Remove unused var `index'.
19516 (comint--match-partial-filename, comint--unquote&expand-filename):
19517 New funs, split from comint-match-partial-filename.
19518 (comint-dynamic-complete): Use completion-at-point.
19519 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19520
e8974c48
DA
195212011-03-24 Drew Adams <drew.adams@oracle.com>
19522
19523 * thingatpt.el: Support `defun'.
19524
def71b5e
LL
195252011-03-23 Leo Liu <sdl.web@gmail.com>
19526
cb5af48e
LL
19527 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19528
def71b5e
LL
19529 * help-mode.el (help-mode-finish): Tweak regexp.
19530
927c53e7
GM
195312011-03-23 Glenn Morris <rgm@gnu.org>
19532
18d05bed
GM
19533 * eshell/esh-opt.el (eshell-eval-using-options):
19534 Do not bind unused local variable `eshell-option-stub'.
19535
927c53e7
GM
19536 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19537
9d0da923
JB
195382011-03-22 Juanma Barranquero <lekktu@gmail.com>
19539
19540 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19541 keymap variable in `with-no-warnings' to avoid a warning when the
19542 keymap has been already `defconst'ed.
19543
4b978a67
LL
195442011-03-22 Leo Liu <sdl.web@gmail.com>
19545
19546 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19547 encode all chars in abbrevs; otherwise use emacs-mule or
19548 utf-8-emacs. (Bug#8308)
19549
5fd62452
JB
195502011-03-22 Juanma Barranquero <lekktu@gmail.com>
19551
0b1596c6
JB
19552 * simple.el (backward-delete-char-untabify):
19553 Avoid warning about using `delete-backward-char'.
19554
5fd62452
JB
19555 * image.el (image-type-file-name-regexps): Make it variable.
19556 `imagemagick-register-types' modifies it, and the user may want
19557 to add new extensions for known image types.
19558 (imagemagick-register-types): Throw error if not using ImageMagick.
19559
0b4e93f1
LL
195602011-03-22 Leo Liu <sdl.web@gmail.com>
19561
19562 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19563 located before rcirc-prompt-end-marker.
19564 (rcirc-complete): Error if point is not after rcirc prompt.
19565 Handle the case when table is nil.
9882e214 19566 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19567
fccee4ab
CY
195682011-03-22 Chong Yidong <cyd@stupidchicken.com>
19569
19570 * custom.el (custom--inhibit-theme-enable): Make it affect only
19571 custom-theme-set-variables and custom-theme-set-faces.
19572 (provide-theme): Ignore custom--inhibit-theme-enable.
19573 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19574 (custom-enabling-themes): Delete variable.
d86d2721
SM
19575 (enable-theme): Accept only loaded themes as arguments.
19576 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19577 (custom-enabled-themes): Forbid themes from setting this.
19578 Eliminate use of custom-enabling-themes.
19579 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19580
af896da6
LL
195812011-03-21 Leo Liu <sdl.web@gmail.com>
19582
19583 * ido.el (ido-read-internal): Add ido-selected to history instead
19584 of user input.
19585
78f64af0
SM
195862011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19587
19588 * subr.el (deferred-action-list, deferred-action-function):
19589 Mark obsolete.
19590
b16ac1ec
LL
195912011-03-21 Leo Liu <sdl.web@gmail.com>
19592
810f7698
LL
19593 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19594 change on 2011-02-13 (bug#8309).
19595
b16ac1ec
LL
19596 * minibuffer.el (read-file-name-function): Change default value.
19597 (read-file-name--defaults): Rename from read-file-name-defaults.
19598 (read-file-name-default): Rename from read-file-name.
19599 (read-file-name): Call read-file-name-function.
19600
4e05e67e
GM
196012011-03-21 Glenn Morris <rgm@gnu.org>
19602
19603 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19604 Doc fixes.
19605
4359915b
CY
196062011-03-21 Chong Yidong <cyd@stupidchicken.com>
19607
19608 * cus-theme.el: Add missing provide statement.
19609 (customize-create-theme): Extract theme value correctly.
19610 (custom-theme-visit-theme): Autoload.
19611 (customize-create-theme): Prompt before inserting default faces.
19612
1fe275ee
JB
196132011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19614
19615 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19616 units and musical notes.
19617
cd394be1 196182011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19619
19620 * ido.el (ido-read-internal): Use completing-read-default.
19621 (ido-completing-read): Fix compatibility with completing-read.
19622
7d476bde
CO
196232011-03-20 Christian Ohler <ohler@gnu.org>
19624
19625 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19626 (ert-delete-all-tests): Use `called-interactively-p' rather than
19627 `interactive-p'.
19628 (ert--make-xrefs-region): Respect END.
19629
fe0fb33e
CY
196302011-03-19 Chong Yidong <cyd@stupidchicken.com>
19631
ff854b0b
CY
19632 * dired-aux.el (dired-create-directory): Signal an error if the
19633 directory already exists (Bug#8246).
19634
fe0fb33e
CY
19635 * facemenu.el (list-colors-display): Call list-faces-display
19636 inside with-help-window.
19637 (list-colors-print): Use display property to align the final
19638 column, instead of checking window-width.
19639
576bce32
EZ
196402011-03-19 Eli Zaretskii <eliz@gnu.org>
19641
4d61f28d 19642 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19643 windows-nt systems.
19644 (emerge-protect-metachars): Quote correctly for ms-dos and
19645 windows-nt systems.
19646
89c41d68 196472011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19648
19649 * info.el (info-initialize): Replace all uses of `:' with
19650 path-separator for compatibility with non-Unix systems.
19651 Cache quoting of path-separator. (Bug#8258)
19652
b14e3e21 196532011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19654
19655 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19656 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19657 (mouse-avoidance-mode): Fix typos in docstrings.
19658
4525ce3e
CY
196592011-03-19 Chong Yidong <cyd@stupidchicken.com>
19660
19661 * startup.el (package-subdirectory-regexp): Move from package.el.
19662 Omit \\` and \\', and let callers add them.
19663
19664 * emacs-lisp/package.el (package-strip-version)
19665 (package-load-all-descriptors): Add \\` and \\' to
19666 package-subdirectory-regexp before using it.
19667 (package-untar-buffer): New arg DIR; ensure that file untars only
19668 into this expected directory. Remove superfluous delete-region.
19669 (package-unpack): Caller changed.
19670 (package-tar-file-info): Use package-subdirectory-regexp.
19671
a904a09a 196722011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19673
a904a09a
SM
19674 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19675 diff-mode-shared-map (bug#8284).
19676 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19677
196782011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19679
19680 * calendar/time-date.el (format-seconds): Use assoc instead of
19681 assoc-string, since assoc-string doesn't exist in XEmacs.
19682
171fc304
JB
196832011-03-17 Juanma Barranquero <lekktu@gmail.com>
19684
19685 * custom.el (custom-known-themes): Reflow docstring.
19686 (custom-theme-load-path): Fix typo in docstring.
19687 (load-theme): Fix typo in error message.
19688 (custom-available-themes, custom-variable-theme-value):
19689 Use `let', not `let*'.
19690
d71990a1
JB
196912011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19692
19693 * calc/README: Mention inclusion of musical notes.
19694
19695 * calc/calc-units.el (calc-lu-quant): Rename from
19696 `calc-logunits-quantity'.
19697 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19698 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19699 (calc-db): Rename from `calc-dblevel'.
19700 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19701 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19702 (calc-np): Rename from `calc-nplevel'.
19703 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19704 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19705 (calc-lu-plus): Rename from `calc-logunits-add'.
19706 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19707 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19708 (calc-lu-minus): Rename from `calc-logunits-sub'.
19709 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19710 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19711 (calc-lu-times): Rename from `calc-logunits-mul'.
19712 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19713 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19714 (calc-lu-divide): Rename from `calc-logunits-div'.
19715 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19716 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19717
19718 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19719 functions being autoloaded.
19720
19721 * calc/calc.el (calc-lu-power-reference): Rename from
19722 `calc-logunits-power-reference'.
19723 (calc-lu-field-reference): Rename from
19724 `calc-logunits-field-reference'.
19725
7a71b18d
GM
19726 * calc/calc-help.el (calc-l-prefix-help):
19727 Mention musical note functions.
d71990a1 19728
40c2934b
SM
197292011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19730
19731 * minibuffer.el (completion-all-sorted-completions):
19732 Use :completion-cycle-penalty text property if present.
19733
b0911414
KM
197342011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19735
19736 * allout.el (allout-yank-processing): Adjust for new rebulleting
19737 regime so bullet being yanked is used without prompting the user
19738 for a choice.
19739
8a05b668
JB
197402011-03-16 Juanma Barranquero <lekktu@gmail.com>
19741
19742 * startup.el (command-line): Warn the user that _emacs is deprecated.
19743
5ba5fb81
JB
197442011-03-16 Juanma Barranquero <lekktu@gmail.com>
19745
19746 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19747 (delphi-verbose, delphi-comment-face, delphi-string-face)
19748 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19749 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19750 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19751 (delphi-new-comment-line, delphi-font-lock-defaults)
19752 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19753 Fix typos in docstrings.
19754
2dab465b
KM
197552011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19756
5ba5fb81 19757 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19758 Invert the roles of character and string values for INSTEAD, so a
19759 string is used for the more common case of a defaulting prompt.
19760
0adf5618
SM
197612011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19762
19763 * progmodes/ruby-mode.el (ruby-backward-sexp):
19764 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19765 * play/gamegrid.el (gamegrid-make-face):
19766 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19767 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19768 * notifications.el (notifications-notify):
19769 * net/xesam.el (xesam-search-engines):
19770 * net/quickurl.el (quickurl-list-insert):
19771 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19772
d72700e5
CY
197732011-03-15 Chong Yidong <cyd@stupidchicken.com>
19774
19775 * startup.el (command-line): Update package subdirectory regexp.
19776
49c5410a
SM
197772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19778
c6eee9aa
SM
19779 * allout.el (allout-abbreviate-flattened-numbering)
19780 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19781
49c5410a
SM
19782 * subr.el (read-char-choice): Only show the cursor after the prompt,
19783 not after the answer.
19784
047b2bb9
KR
197852011-03-15 Kevin Ryde <user42@zip.com.au>
19786
19787 * help-fns.el (variable-at-point): Skip leading quotes, if any
19788 (bug#8253).
19789
0a57d256
SM
197902011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19791
19792 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19793 warning message.
19794
77c992bc
MA
197952011-03-14 Michael Albinus <michael.albinus@gmx.de>
19796
19797 * shell.el (shell): When called interactively, offer to change the
19798 shell file name on remote hosts.
19799
eebc475d
TZ
198002011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19801
19802 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19803 integration for LDAP parameters. The host, base, user or binddn,
19804 and secret tokens can be specified in a netrc file, for instance.
19805 This is optional because an `auth-source' parameter must be
19806 specified in the search attributes.
19807
9d05d1ba
JB
198082011-03-13 Juanma Barranquero <lekktu@gmail.com>
19809
19810 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19811
09d9db2c
GM
198122011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19813
19814 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19815 into declaration. Remove redundant and harmful binding.
19816
198172011-03-12 Eli Zaretskii <eliz@gnu.org>
19818
19819 * files.el (file-ownership-preserved-p): Pass `integer' as an
19820 explicit 2nd argument to `file-attributes'. If the file's owner
19821 is the Administrators group on Windows, and the current user is
19822 Administrator, consider that a match.
19823
19824 * server.el (server-ensure-safe-dir): Consider server directory
19825 safe on MS-Windows if its owner is the Administrators group while
19826 the current Emacs user is Administrator. Use `=' to compare
19827 numerical UIDs, since they could be integers or floats.
19828
219bd536
JB
198292011-03-12 Juanma Barranquero <lekktu@gmail.com>
19830
19831 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19832
f3afd36b
MA
198332011-03-12 Michael Albinus <michael.albinus@gmx.de>
19834
19835 Sync with Tramp 2.2.1.
19836
19837 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19838
19839 * net/trampver.el: Update release number.
19840
3aaaa6f1
SM
198412011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19842
94642599
SM
19843 * progmodes/compile.el (compilation--previous-directory): Fix up
19844 various nil/dead-marker mismatches (bug#8014).
19845 (compilation-directory-properties, compilation-error-properties):
19846 Don't call it at a position past the one we're about to change.
19847
3aaaa6f1
SM
19848 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19849 Disable obsolescence warnings in the file that declares it.
19850
14239447
KM
198512011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19852
099c39a4
JB
19853 * allout-widgets.el (allout-widgets-tally):
19854 Initialize allout-widgets-tally as a hash table rather than nil to
19855 prevent mode-line redisplay warnings. Also, clarify the module
19856 description and fix a comment typo.
14239447 19857
135e287c
JB
198582011-03-11 Juanma Barranquero <lekktu@gmail.com>
19859
19860 * help-fns.el (describe-variable): Don't complete keywords.
19861 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19862
ffbf300e
CY
198632011-03-10 Chong Yidong <cyd@stupidchicken.com>
19864
ba08b241
CY
19865 * emacs-lisp/package.el (package-version-join): Impose a standard
19866 string representation for pre/alpha/beta version lists.
19867 (package-unpack-single): Standardize the directory name by passing
19868 it through package-version-join.
19869 (package-strip-rcs-id): Accept any version string that does not
19870 signal an error in version-to-list.
ffbf300e 19871
f346fd6b
MA
198722011-03-10 Michael Albinus <michael.albinus@gmx.de>
19873
19874 * simple.el (delete-trailing-whitespace): Return nil for the
19875 benefit of `write-file-functions'.
19876
ccb55d27
GM
198772011-03-10 Glenn Morris <rgm@gnu.org>
19878
5ceaac0c
GM
19879 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19880
02da65ff
GM
19881 * vc/vc-git.el (vc-git-program): New option.
19882 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19883 (vc-git--call): Use it.
19884
b2f603cc
GM
19885 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19886
5772caab
GM
19887 * cus-edit.el (Custom-newline): If no button at point, look
19888 for a subgroup button at start-of-line. (Bug#2298)
19889
ccb55d27
GM
19890 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19891
ec6ecaed
JD
198922011-03-10 Julien Danjou <julien@danjou.info>
19893
19894 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19895 `cursor-type' is nil.
19896
9d5aa01d
JB
198972011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19898
19899 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19900
b6a5875b
KM
199012011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19902
7a71b18d 19903 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19904 preserves the existing header prefix, rebulleting it if necessary,
19905 rather than replacing it. This is necessary for proper operation
19906 of cooperative addons like allout-widgets.
1154d12e
JB
19907 (allout-make-topic-prefix, allout-rebullet-heading):
19908 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19909 value as alternate bullet to be used, instead of prompting the user
19910 for a bullet character.
b6a5875b 19911
ee545c35
MA
199122011-03-09 Michael Albinus <michael.albinus@gmx.de>
19913
d86d2721
SM
19914 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19915 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19916 `tramp-default-port'.
19917
c47971d7
DD
199182011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19919
19920 * net/rcirc.el (rcirc-handler-001): Remove useless
19921 with-rcirc-process-buffer.
19922 (rcirc-check-auth-status): Swap arguments to string-match.
19923
13522cb4
GM
199242011-03-09 Glenn Morris <rgm@gnu.org>
19925
0be6f4f1
GM
19926 * shell.el (shell-mode):
19927 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19928
13522cb4
GM
19929 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19930 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19931
515de2e3
CY
199322011-03-08 Chong Yidong <cyd@stupidchicken.com>
19933
19934 * emacs-lisp/package.el (package-refresh-contents)
19935 (package-menu-execute): Use condition-case-no-debug.
19936
b511b994
MA
199372011-03-08 Michael Albinus <michael.albinus@gmx.de>
19938
19939 * simple.el (shell-command-to-string): Use `process-file'.
19940
19941 * emacs-lisp/package.el (package-tar-file-info): Handle also
19942 remote files.
19943
d86d2721
SM
19944 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19945 Use `equal' for upload base check.
b511b994 19946
25bbfb31
AM
199472011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19948
19949 * textmodes/texinfo.el (texinfo-environments):
19950 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19951
be996521
GM
199522011-03-08 Glenn Morris <rgm@gnu.org>
19953
e9c8529f
GM
19954 * cus-start.el (cursor-in-non-selected-windows):
19955 Fix :set quoting oddness. (Bug#8192)
19956
be996521
GM
19957 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19958 in some setf expressions. (Bug#2159)
19959
2bb5649e
CY
199602011-03-08 Chong Yidong <cyd@stupidchicken.com>
19961
19962 * custom.el (custom-available-themes): Return themes in
19963 alphabetical order.
19964
33383987 19965See ChangeLog.15 for earlier changes.
e3d51b27
MR
19966
19967;; Local Variables:
19968;; coding: utf-8
e3d51b27
MR
19969;; End:
19970
acaf905b 19971 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19972
19973 This file is part of GNU Emacs.
19974
19975 GNU Emacs is free software: you can redistribute it and/or modify
19976 it under the terms of the GNU General Public License as published by
19977 the Free Software Foundation, either version 3 of the License, or
19978 (at your option) any later version.
19979
19980 GNU Emacs is distributed in the hope that it will be useful,
19981 but WITHOUT ANY WARRANTY; without even the implied warranty of
19982 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19983 GNU General Public License for more details.
19984
19985 You should have received a copy of the GNU General Public License
19986 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.