]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* calendar/todos.el: Implement saving top priority items buffers,
[gnu-emacs] / lisp / ChangeLog
1 2013-01-14 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el: Implement saving top priority items buffers,
4 improve implementation of item filtering commands and
5 infrastucture, and fix two bugs.
6 (todos-prefix-overlays): Use todos-top-priority face only in Todos
7 mode.
8 (todos-multiple-filter-files): Get file-truename of Todos file.
9 (todos-filter-items): Pass a list of files from the caller instead
10 of building it here, and move handling of cancelled file selection
11 dialog to callers. Correct omission of file-wide default number
12 of top priorities.
13 (todos-filtered-buffer-name): Treat file-list argument only as a list.
14 (todos-find-item, todos-check-top-priorities)
15 (todos-top-priorities-filename)
16 (todos-save-top-priorities-buffer): New functions.
17 (todos-save): Use todos-save-top-priorities-buffer.
18 (todos-jump-to-item): Refactor and use todos-find-item.
19 (todos-top-priorities): Simplify semantics of prefix argument.
20 Check if top priorities file exists and if so, visit it, reporting
21 whether it is up to date. Add optional argument and use it to
22 handle multiple files.
23 (todos-diary-items, todos-regexp-items): Add optional argument and
24 use it to handle multiple files.
25 (todos-top-priorities-multifile, todos-diary-items-multifile)
26 (todos-regexp-items-multifile): Refactor, using corresponding
27 non-multifile command.
28 (auto-mode-alist): Add pattern for top priorities files to visit
29 these in Todos Filtered Items mode.
30
31 2013-01-08 Stephen Berman <stephen.berman@gmx.net>
32
33 * calendar/todos.el: Fix tabular alignment in Todos Categories mode.
34 (todos-adjusted-category-label-length): New function.
35 (todos-padded-string): Use it.
36
37 2013-01-08 Stephen Berman <stephen.berman@gmx.net>
38
39 * calendar/todos.el (todos-move-item): Allow moving done items to
40 done section of another category.
41
42 2013-01-06 Stephen Berman <stephen.berman@gmx.net>
43
44 * calendar/todos.el: Display numerical priority string of top
45 priority items in category in a distinctive face.
46 (todos-prefix-string): Make doc string more precise.
47 (todos-top-priority): New defface.
48 (todos-done, todos-done-sep): Use more compact face definition
49 \(taken from font-lock.el).
50 (todos-comment): Give a complete face definition, instead of
51 inheriting from todos-done.
52 (todos-font-lock-keywords): Use todos-comment-face for
53 todos-comment-string-matcher.
54 (todos-prefix-overlays): Use todos-top-priority as the face
55 property of top priority items; don't condition reapplying item
56 prefix overlay on whether the string changed, since that prevents
57 updating display after changing number of top priorities.
58 (todos-set-top-priorities): Call todos-prefix-overlays to update
59 display.
60
61 2013-01-04 Stephen Berman <Stephen.Berman@rub.de>
62
63 * calendar/todos.el (todos-reset-global-current-todos-file)
64 (todos-display-categories-1): Use absolute name of
65 todos-default-todos-file.
66
67 2013-01-04 Stephen Berman <Stephen.Berman@rub.de>
68
69 * calendar/todos.el (todos-insert-item): Fix copy and paste error
70 from previous change.
71
72 2013-01-03 Stephen Berman <stephen.berman@gmx.net>
73
74 * calendar/todos.el: Implement extended category completions.
75 (todos-default-todos-file): Change default value to correct custom
76 type.
77 (todos-category-completions-files): New defcustom.
78 (todos-reevaluate-category-completions-files-defcustom)
79 (todos-absolute-file-name, todos-category-completions): New defuns.
80 (todos-reevaluate-filelist-defcustoms):
81 Add todos-category-completions-files and
82 todos-reevaluate-category-completions-files-defcustom.
83 (todos-allcats-file, todos-all-categories-alist)
84 (todos-jump-to-category-other-file, todos-jump-to-any-category)
85 (todos-move-item-to-file): Remove (todos-all-categories-alist both
86 as defvar and as defun).
87 (todos-read-category): Rewrite using extended category completions
88 and better handling of completion against existing or non-existing
89 categories.
90 (todos-validate-name): Correct doc string; use local instead of
91 dynamic variables in function body.
92 (todos-insert-category-line): Adjust use of todos-jump-to-category
93 to new argument list.
94 (todos-key-bindings, todos-menu): Delete entries for removed
95 commands.
96 (todos-show): Get absolute name of todos-default-todos-file;
97 add `nowarn' argument to find-file-noselect; adjust use of
98 todos-add-category to new argument list.
99 (todos-jump-to-category): Rewrite using extended category
100 completions; reverse argument list, adapting FILE argument to new
101 completion mechanism; add autoload cookie; call todos-show if
102 there are no Todos files.
103 (todos-add-category): Rewrite using extended category completions;
104 add FILE argument to accommodate new completion mechanism.
105 (todos-merge-category): Adapt to extended category completions,
106 adding prefix argument.
107 (todos-insert-item): Adapt to extended category completions; use
108 todos-read-category instead of todos-jump-to-category in prefix
109 argument calls; call todos-show if there are no Todos files; if
110 item is inserted at end of category, recenter to ensure the items
111 above it are displayed in the window.
112 (todos-move-item): Adapt to extended category completions, making
113 argument prefix argument; allow moving within category (for the
114 sake of code simplification); add `nowarn' argument to
115 find-file-noselect.
116 (todos-archive-done-item): Prevent error when attempting to
117 archive not-done todo item; adjust use of todos-add-category to
118 new argument list.
119
120 2012-12-15 Stephen Berman <stephen.berman@gmx.net>
121
122 * calendar/todos.el (todos-archive-done-item): Fix archiving of
123 all done items in a category and resulting display of todo file.
124
125 2012-12-14 Stephen Berman <stephen.berman@gmx.net>
126
127 * calendar/todos.el (todos-priorities-rules): Fix customization
128 type to prevent mismatch error.
129 (todos-set-top-priorities): Fix rule construction; fix input check;
130 improve prompt.
131
132 2012-12-14 Stephen Berman <stephen.berman@gmx.net>
133
134 * calendar/todos.el (todos-insert-item): If user exits Calendar
135 before choosing a date, cancel item insertion.
136 (todos-set-date-from-calendar): If user exits Calendar before
137 choosing a date, clean up properly.
138
139 2012-12-12 Stephen Berman <stephen.berman@gmx.net>
140
141 * calendar/todos.el: Extend and improve handling of item editing,
142 especially of date/time header.
143 (todos-month-name-array, todos-month-abbrev-array): New defconsts.
144 (todos-date-pattern): Use explicitly numbered groups.
145 (todos-read-date): Optionally read and return just one of the date
146 string components year, month or monthname, day.
147 (todos-key-bindings): Add bindings for new item header editing
148 commands.
149 (todos-edit-item): Exclude date/time header from minibuffer by
150 default; include it by passing a prefix argument.
151 (todos-edit-item-header-1): New function containing the guts of
152 the commands for editing item date/time headers.
153 (todos-edit-item-header): Use it. Condition editing of time
154 string on value of `todos-always-add-time-string'.
155 (todos-edit-item-date-from-calendar): Use todos-edit-item-header-1.
156 (todos-edit-item-date-to-today): Rename from
157 todos-edit-item-date-is-today and use todos-edit-item-header-1.
158 (todos-edit-item-date): Remove.
159 (todos-edit-item-date-day-name, todos-edit-item-date-year)
160 (todos-edit-item-date-month, todos-edit-item-date-day): New commands.
161
162 2012-12-02 Stephen Berman <stephen.berman@gmx.net>
163
164 * calendar/todos.el (todos-show): Fix a comment.
165 (todos-add-category): Prompt for a new category if passed category
166 is the empty string, not nil.
167
168 2012-11-26 Stephen Berman <stephen.berman@gmx.net>
169
170 * calendar/todos.el (todos-make-categories-list)
171 (todos-convert-legacy-files, todos-jump-to-item)
172 (todos-move-category, todos-merge-category)
173 (todos-archive-done-item, todos-unarchive-items): Include end of
174 line in regex searches for beginning of category, in order not to
175 get a category whose name contains the searched for category name.
176
177 2012-11-15 Stephen Berman <stephen.berman@gmx.net>
178
179 * calendar/todos.el (todos-forward-category): Fix typo.
180
181 2012-10-30 Stephen Berman <stephen.berman@gmx.net>
182
183 * calendar/todos.el (todos-define-insertion-command):
184 Let generated insertion commands accept a prefix argument.
185
186 2012-10-08 Stephen Berman <Stephen.Berman@rub.de>
187
188 * calendar/todos.el (todos-move-item): If user quits before
189 completing movement, restore display of initial category; if item
190 is moved to end of target category, make sure the items above it
191 are displayed in the window.
192
193 2012-10-08 Stephen Berman <stephen.berman@gmx.net>
194
195 * calendar/todos.el: Fixes to todos-move-item and some of its
196 subroutines.
197 (todos-move-item): When there are marked items, point need not be
198 on an item; remove obsolete use of todos-add-category, since this
199 is now already done in todos-read-category; fix typo.
200 (todos-diary-item-p): Exclude empty lines.
201 (todos-read-category): Restore point and narrowing after adding
202 new category, to avoid moving to beginning of file when moving
203 marked items to a new category.
204 (todos-set-item-priority): Prompt for priority only when the
205 category has at least one todo item; only use non-nil priority to
206 calculate insertion location.
207 (todos-read-category): Don't reset todos-categories when a new
208 category is added due to todos-move-item or todos-jump-to-item.
209
210 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
211
212 Changes from 2012-07-14 (revision 110020).
213 * calendar/todos.el (todos-copy-item): New command.
214 (todos-insertion-map): Add key binding for it.
215
216 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
217
218 Changes from 2012-07-13 (revision 110019).
219 * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
220 (todos-item-undo): Use it.
221 (todos-allcats-file, todos-all-categories-alist): New variables.
222 (todos-all-categories-alist): New function.
223 (todos-jump-to-any-category): New command.
224 (todos-move-item): Remove mark overlays from buffer items were
225 moved from; update todos-categories-with-marks,
226
227 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
228
229 Changes from 2012-06-27 (revision 110018).
230 * calendar/todos.el: Further code rearrangement; further new and
231 revised comments.
232 (todos-reevaluate-filelist-defcustoms): Rename from
233 todos-reevaluate-defcustoms and adjust callers.
234 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
235 (todos-date-string-start, todos-done-string-start)
236 (todos-item-start): Change from defvar to defconst.
237 (todos-set-top-priorities): Use read-number and simplify.
238 (todos-insert-item): Check whether date-type argument is a string.
239 (todos-set-date-from-calendar): Check whether
240 todos-date-from-calendar is a string; simplify cond clause.
241 (todos-archive-done-item, todos-unarchive-items):
242 Use buffer-substring-no-properties.
243
244 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
245
246 Changes from 2012-06-25 (revision 110017).
247 * calendar/todos.el (todos-item-undo): Fix restoration on
248 cancelling; use buffer-substring-no-properties; comment out code
249 removing mark overlay; fix insertion of undone items; display any
250 remaining done items.
251
252 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
253
254 Changes from 2012-06-24 (revision 110016).
255 * calendar/todos.el: Further significant code rearrangement;
256 further comment revision.
257 (todos-mode-display): New defgroup.
258 (todos-prefix, todos-number-priorities)
259 (todos-done-separator-string, todos-done-string)
260 (todos-comment-string, todos-show-with-done)
261 (todos-mode-line-function, todos-skip-archived-categories)
262 (todos-highlight-item, todos-wrap-lines)
263 (todos-line-wrapping-function): Use it.
264 (todos-item-insertion): New defgroup.
265 (todos-include-in-diary, todos-diary-nonmarking)
266 (todos-nondiary-marker, todos-always-add-time-string)
267 (todos-use-only-highlighted-region): Use it.
268 (todos-forward-button, todos-backward-button): New commands.
269 (todos-categories-mode-map): Use them, replacing forward-button
270 and backward-button.
271 (todos-merge-category): Fix and improve implementation; handle
272 archived items.
273 (todos-insert-item, todos-set-date-from-calendar): Handle setting
274 date by calling todos-insert-item-from-calendar.
275 (todos-delete-item): Fix overlay handling.
276 (todos-move-item): Highlight item to be moved.
277 (todos-item-undo): Handle marked items.
278 (todos-insert-item-from-calendar): Rewrite using
279 todos-date-from-calendar.
280
281 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
282
283 Changes from 2012-06-21 (revision 110015).
284 * calendar/todos.el: Further comment revision.
285 (todos-sorted-column): Change default value, also taking tty into
286 account.
287 (todos-reset-done-separator): Fix faulty variable binding.
288 (todos-reset-and-enable-done-separator): Save match data; comment
289 out code that causes problems for Edebug.
290 (todos-item-start): Handle empty line between todo and done items
291 when done items are hidden.
292 (todos-read-date): Use a leap year for `*' to allow
293 calendar-last-day-of-month to return Feb. 29.
294 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
295 (todos-filtered-items-mode): Delete faulty parentheses.
296 (todos-quit): Save Todos and archive files unconditionally.
297 (todos-forward-item): Accept only positive prefix argument.
298 (todos-backward-item): Accept only positive prefix argument; don't
299 move point to beginning of buffer if it is on the first item.
300 (todos-hide-show-date-time): Remove obsolete interactive spec.
301 (todos-move-category): Improve prompt string; ensure file moved to
302 is different from file moved from.
303 (todos-merge-categories): Remove.
304 (todos-set-category-priority): New command.
305 (todos-raise-category-priority, todos-lower-category-priority):
306 Use it to define these commands.
307 (todos-set-item-priority): Rewrite and generalize.
308 (todos-raise-item-priority, todos-lower-item-priority): Use it to
309 define these commands.
310
311 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
312
313 Changes from 2012-06-15 (revision 110014).
314 * calendar/todos.el (todos-reset-done-separator)
315 (todos-reset-and-enable-done-separator): New functions.
316 (todos-reset-done-separator-string): Rewrite using
317 todos-reset-done-separator for string longer than 1 character.
318 (todos-mode): Add todos-reset-and-enable-done-separator to
319 window-configuration-change-hook, replacing previous anonymous
320 function.
321 (todos-unload-hook): And remove it.
322
323 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
324
325 Changes from 2012-06-14 (revision 110013).
326 * calendar/todos.el (todos-done-separator-string): New defcustom.
327 (todos-done-separator): New variable replacing defcustom of the
328 same name.
329 (todos-reset-done-separator-string, todos-done-separator):
330 New functions.
331 (todos-mode): Make function added to
332 window-configuration-change-hook do a better job of updating the
333 done items separator string overlay.
334 (todos-unload-hook): Remove it here.
335 (todos-item-undo): Fix search for item's end.
336
337 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
338
339 Changes from 2012-06-03 (revision 110012).
340 * calendar/todos.el: Further comment revision.
341 (todos-sorted-column): Change default value.
342 (todos-item-start): Handle empty category (needed in
343 todos-filter-items).
344 (todos-read-date): Don't use calendar-read; make code cleaner.
345 (todos-multiple-filter-files): Rename this variable from
346 todos-multiple-files and adjust users.
347 (todos-multiple-filter-files-widget): Rename from
348 todos-multiple-files-widget and adjust users.
349 (todos-multiple-filter-files): Rename this function from
350 todos-multiple-files and adjust callers.
351 (todos-filter-items): Remove unused code.
352 (todos-insert-category-line): Add space so highlighting of last
353 column is consistent with the others; adjust display of column
354 highlighting.
355 (todos-menu): Remove obsolete entry.
356 (todos-categories-mode-map): Add new bindings.
357 (todos-display-categories-alphabetically-or-by-priority): New command.
358 (todos-display-categories-sorted-by-todo)
359 (todos-display-categories-sorted-by-diary)
360 (todos-display-categories-sorted-by-done)
361 (todos-display-categories-sorted-by-archived): Restore and fix
362 implementation.
363
364 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
365
366 Changes from 2012-06-02 (revision 110011).
367 * calendar/todos.el: Significant code rearrangement; further
368 comment revision.
369 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
370 adjust users.
371 (todos-filtered-buffer-name): Rename from
372 todos-special-buffer-name and adjust users.
373 (todos-filtered-items-mode-map): Rename from
374 todos-filter-items-mode-map and adjust users.
375 (todos-mode-external-set): Use todos-categories instead of
376 todos-set-categories (and add comment to check if this DTRT).
377 (todos-filtered-items-mode): Rename from todos-filter-items-mode
378 and adjust users.
379 (todos-add-category): Don't call todos-validate-name, since
380 todos-read-category does.
381 (todos-edit-quit): Use todos-repair-categories-sexp.
382 (todos-done-item-add-edit-or-delete-comment): Rename from
383 todos-done-item-add-or-edit-comment and adjust users; add optional
384 argument to prompt to delete comment.
385 (todos-item-undo): Delete done item comment on undoing if user
386 confirms.
387
388 2012-09-22 Stephen Berman <stephen.berman@gmx.net>
389
390 Changes from 2012-06-02 (revision 110010).
391 * calendar/todos.el: Further code rearrangement and comment
392 revision.
393 (todos-item-start): Handle empty line between todo and done items
394 when done items are displayed.
395 (todos-key-bindings): Comment out bindings meant only for
396 todos-archive-mode.
397 (todos-archive-mode-map): Fix typo.
398 (todos-archive-mode): Derive from special-mode instead of
399 todos-mode to prevent its key bindings from being available here.
400 (todos-archive-done-item): Remove obsolete code; fix item count
401 updating.
402 (todos-unarchive-items): Simplify; fix unarchiving of all items in
403 category; fix item count updating; fix typo.
404
405 2012-09-22 Stephen Berman <stephen.berman@gmx.net>
406
407 Changes from 2012-06-01 (revision 110009).
408 * calendar/todos.el: Further code rearrangement and comment
409 revision.
410 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
411 (todos-file-buffers): New variable.
412 (todos-reset-global-current-todos-file): Use it to simplify
413 implementation of this function.
414 (todos-filtered): New defgroup.
415 (todos-filter-buffer, todos-top-priorities-buffer)
416 (todos-diary-items-buffer, todos-regexp-items-buffer)
417 (todos-priorities-rules, todos-show-priorities)
418 (todos-filter-files, todos-filter-done-items): Use it.
419 (todos-skip-archived-categories): Rename from
420 todos-ignore-archived-categories and adjust users.
421 (todos-display-as-todos-file): Rename from todos-after-find-file
422 and adjust callers.
423 (todos-reset-highlight-item, todos-mode-external-set)
424 (todos-jump-to-category, todos-jump-to-item)
425 (todos-raise-category-priority, todos-insert-item)
426 (todos-move-item): Use find-file-visiting.
427 (todos-make-categories-list): Use file-truename.
428 (todos-display-categories-1): Adjust title text for archive files;
429 use done label for item counts in archive files.
430 (todos-modes-set-3): Add todos-display-as-todos-file to
431 find-file-hook.
432 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
433 todos-update-buffer-list post-command-hook.
434 (todos-unload-hook): And remove them.
435 (todos-show): Only when interactively invoked from an archive,
436 switch to corresponding Todos file.
437 (todos-archive-done-item): Remove obsolete code; fix handling of
438 marked items; fix search for existing category; check whether
439 archive exists and write to file if not; improve display handling.
440
441 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
442
443 Changes from 2012-05-29 (revision 110008).
444 * calendar/todos.el: Further comment revision.
445 (todos-item-end): Replace use of command todos-forward-item by
446 regexp searches using internal variables.
447 (todos-raise-category-priority): Improve and comment.
448 (todos-insert-item): Fix insertion of empty time string.
449
450 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
451
452 Changes from 2012-05-29 (revision 110007).
453 * calendar/todos.el (todos-ignore-archived-categories):
454 Revert last change; remove :initialize and :set functions; change
455 use and change users accordingly.
456 (todos-reset-categories, todos-categories-full)
457 (todos-truncate-categories-list): Remove.
458 (todos-set-categories, todos-update-categories-sexp):
459 Use todos-categories instead of todos-categories-full; remove use
460 of todos-ignore-archived-categories and
461 todos-truncate-categories-list.
462 (todos-check-format, todos-repair-categories-sexp):
463 Use todos-categories instead of todos-categories-full.
464 (todos-read-category): Improve last change.
465 (todos-validate-name): Use completing-read.
466 (todos-categories-category-number): Rename from
467 todos-category-number and adjust users.
468 (todos-update-categories-display, todos-mode-external-set)
469 (todos-delete-category, todos-move-category, todos-merge-category)
470 (todos-unarchive-items): Remove use of todos-categories-full and
471 todos-ignore-archived-categories.
472 (todos-modes-set-3, todos-add-category): Remove use of
473 todos-categories-full.
474 (todos-edit-mode): Fix typo.
475 (todos-forward-category): Use todos-ignore-archived-categories.
476
477 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
478
479 Changes from 2012-05-28 (revision 110006).
480 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
481 (todos-ignore-archived-categories): Change default value.
482
483 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
484
485 Changes from 2012-05-27 (revision 110005).
486 * calendar/todos.el: Further comment revision.
487 (todos-reset-global-current-todos-file):
488 Try to make this not slow down kill-buffer.
489 (todos-update-categories-sexp): Handle the case where there is no
490 categories sexp yet, i.e. after inserting the first item in the
491 file, so todos-display-categories works.
492 (todos-read-file-name): Improve implementation.
493 (todos-validate-name): Use variable todos-files.
494 (todos-category-number): New variable.
495 (todos-insert-category-line, todos-update-categories-display)
496 (todos-raise-category-priority): Use it.
497 (todos-add-file): Remove unused remnant code.
498
499 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
500
501 Changes from 2012-05-25 (revision 110004).
502 * calendar/todos.el: Further comment revision.
503 (todos-set-item-top-priority): New command.
504 (todos-reset-global-current-todos-file):
505 Use todos-files-function instead of todos-files.
506 (todos-read-category): Add optional argument to test whether
507 caller adds new category; if so, don't prompt for new category and
508 don't restore original todos-categories list.
509 (todos-categories-mode-map): Update to renamed commands.
510 (todos-filter-items-mode-map): Add binding for new command.
511 (todos-mode): Fix typo.
512 (todos-show): If called from archive file, show corresponding
513 category in Todos file, if it exists.
514 (todos-jump-to-category): Remove code to add new category, since
515 todos-read-category can do that.
516 (todos-add-file): Remove obsolete code; visit new file in selected
517 window.
518 (todos-add-category): Simplify.
519 (todos-rename-category): Use force-mode-line-update instead of
520 setting mode-line-buffer-identification.
521 (todos-delete-category): Improve logic of prompts; use
522 todos-categories-full and check todos-ignore-archived-categories.
523 (todos-raise-category-priority, todos-lower-category-priority):
524 Rename from todos-{raise,lower}-category and adjust callers.
525 (todos-move-category, todos-merge-category):
526 Set todos-categories-full; on setting todos-categories check
527 todos-ignore-archived-categories.
528 (todos-insert-item): Let-bind use-empty-active-region and use
529 use-region-p instead of transient-mark-mode.
530 (todos-raise-item-priority): Improve implementation.
531 (todos-archive-done-item): Rename from
532 todos-archive-done-item-or-items and adjust callers; confine to
533 Todos mode.
534 (todos-unarchive-items): On setting todos-categories check
535 todos-ignore-archived-categories.
536
537 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
538
539 Changes from 2012-05-23 (revision 110003).
540 * calendar/todos.el (todos-key-bindings): Remove binding of
541 deleted command.
542 (todos-menu): Remove entry of deleted command.
543 (todos-show-archive): Fix last change.
544 (todos-done-item-add-or-edit-comment): Rename from
545 todos-comment-done-item and adjust callers; prompt to edit an
546 existing comment.
547
548 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
549
550 Changes from 2012-05-22 (revision 110002).
551 * calendar/todos.el (todos-set-show-current-file): Rename from
552 todos-toggle-show-current-file and adjust callers.
553 (todos-number-priorities): Rename from todos-number-prefix and
554 adjust users.
555 (todos-update-count): Rename from todos-set-count and adjust
556 callers.
557 (todos-hide-show-item-numbering): Rename from
558 todos-toggle-item-numbering and adjust callers.
559 (todos-hide-show-done-items): Rename from
560 todos-toggle-view-done-items and adjust callers.
561 (todos-show-done-only): Rename from todos-toggle-show-done-only.
562 (todos-view-archived-items): Comment out.
563 (todos-show-archive): Prompt to choose another archive file if
564 current Todos file lacks an archive; prompt to visit archive
565 anyway when current category has no archived items.
566
567 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
568
569 Changes from 2012-05-21 (revision 110001).
570 * calendar/todos.el: Further comment revision and code
571 rearrangement.
572 (todos-item-end): Revert last change.
573 (todos-key-bindings, todos-menu, todos-archive-mode-map)
574 (todos-filter-items-mode-map): Use renamed commands.
575 (todos-hide-show-date-time): Rename from
576 todos-toggle-display-date-time.
577 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
578 adjust caller.
579 (todos-backward-item): Exempt special handling only from
580 todos-regexp-items-buffer instead of todos-filter-items-mode.
581 (todos-raise-item-priority): Don't allow item reprioritizing in
582 Todos filter items mode except for top priority items.
583
584 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
585
586 Changes from 2012-05-19 (revision 110000).
587 * calendar/todos.el: Add and revise further doc strings and
588 comments.
589 (todos-filter-function, todos-custom-items)
590 (todos-custom-items-multifile): Remove.
591 (todos-filter-done-items): New defcustom.
592 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
593 (todos-filter-items): Check return value of caller first; tag
594 archived items for todos-jump-to-item; delete categories sexp
595 before processing filter; check todos-filter-done-items for
596 whether to leave done items; remove custom filter; fix regexp for
597 file and category tags; don't invoke buffer fontification.
598 (powerset-recursive): Fix typo.
599 (todos-key-bindings): Remove unused bindings.
600 (todos-top-priorities-multifile, todos-diary-items-multifile)
601 (todos-regexp-items-multifile): Use variable todos-multiple-files.
602 (todos-jump-to-item): Fix regexp; handle archive tags; take
603 todos-filter-done-items into account.
604 (todos-insert-item-from-calendar): Relocate to end of file
605 together with key-binding as addition to calendar.el.
606
607 2012-09-20 Stephen Berman <stephen.berman@gmx.net>
608
609 Changes from 2012-05-17 (revision 109999).
610 * calendar/todos.el: Add and revise further doc strings and
611 comments; major code rearrangement.
612 (todos-merged-files, todos-prompt-merged-files)
613 (todos-print-priorities, todos-tmp-buffer-name)
614 (todos-top-priorities-widgets, todos-update-merged-files)
615 (todos-merged-top-priorities, todos-merged-diary-items)
616 (todos-merged-regexp-items, todos-merged-custom-items)
617 (todos-raw-mode, todos-change-default-file)
618 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
619 (todos-toggle-diary-nonmarking, todos-validate-category-name):
620 Remove.
621 (todos-category-string-matcher): Comment out.
622 (todos-categories): New defgroup.
623 (todos-initial-file, todos-filter-buffer)
624 (todos-top-priorities-buffer, todos-categories-category-label)
625 (todos-diary-items-buffer, todos-regexp-items-buffer)
626 (todos-custom-items-buffer, todos-filter-files)
627 (todos-highlight-item, todos-todo-mode-date-time-regexp):
628 New defcustoms.
629 (todos-diary-expired): New face.
630 (todos-print-buffer, todos-multiple-files)
631 (todos-multiple-files-widget, todos-key-bindings): New variables.
632 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
633 (todos-special-buffer-name)
634 (todos-reevaluate-filter-files-defcustom)
635 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
636 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
637 (todos-diary-expired-matcher, todos-category-string-matcher-1)
638 (todos-category-string-matcher-2, todos-repair-categories-sexp)
639 (todos-validate-name, todos-multiple-files)
640 (todos-display-categories-1, todos-update-categories-display)
641 (todos-modes-set-3, todos-mode-external-set): New functions.
642 (todos-set-top-priorities-in-file)
643 (todos-set-top-priorities-in-category)
644 (todos-top-priorities-multifile, todos-diary-items-multifile)
645 (todos-regexp-items-multifile, todos-custom-items-multifile)
646 (todos-convert-legacy-files, todos-jump-to-item)
647 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
648 (todos-edit-item-diary-inclusion)
649 (todos-edit-category-diary-inclusion)
650 (todos-edit-item-diary-nonmarking)
651 (todos-edit-category-diary-nonmarking): New commands.
652 (todos, todos-faces): Update :version.
653 (todos-done-separator, todos-completion-ignore-case):
654 Change default value.
655 (todos-done-separator): Change :set function.
656 (todos-indent-to-here): Add :validate function to :type.
657 (todos-prefix-string, todos-mark, todos-button)
658 (todos-sorted-column, todos-archived-only, todos-search)
659 (todos-done, todos-done-sep): Provide full face definitions
660 instead of inheriting.
661 (todos-edit-buffer, todos-categories-buffer): Change from
662 defcustom to defvar.
663 (todos-category-beg, todos-category-done): Change from defvar to
664 defconst.
665 (todos-files): Check if todos-files-directory exists.
666 (todos-default-todos-file, todos-mode-line-control, todos-print):
667 Use todos-short-file-name.
668 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
669 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
670 todos-category-string-matcher-2, todos-diary-expired-matcher.
671 (todos-category-select): Use todos-done-string-start, and
672 condition search on todos-show-with-done; don't make display
673 overlay for done items separator string if there already is one;
674 use todos-highlight-item, require hl-line and activate
675 hl-line-mode here in order to avoid a hang if done in todos-mode
676 or the mode hook.
677 (todos-update-categories-sexp): Use todos-categories-full if set,
678 otherwise todos-categories.
679 (todos-make-categories-list): Don't test for archive file when
680 processing a legacy todo-mode file.
681 (todos-check-format): Add check for todos-categories sexp.
682 (todos-diary-item-p): Use todos-nondiary-start instead of
683 todos-date-pattern.
684 (todos-marked-item-p): Rename from todos-item-marked-p.
685 (todos-read-file-name): Don't accept empty name; validate.
686 (todos-read-category): Validate new name before prompting whether
687 to add new category; force quit if user answers no.
688 (todos-filter-items): Improve implementation.
689 (todos-set-top-priorities): Rewrite as a noninteractive function
690 using minibuffer input instead of widgets.
691 (todos-insert-sort-button): Call todos-display-sorted with
692 argument nil to display categories in numerical order, instead of
693 calling todos-display-categories.
694 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
695 Common Lisp powerset function at
696 http://rosettacode.org/wiki/Power_set#Common_Lisp.
697 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
698 powerset function at http://rosettacode.org/wiki/Power_set#C.
699 (todos-powerset): Defalias to powerset-bitwise.
700 (todos-mode-map): Generate from todos-key-bindings instead of
701 listing each key definition.
702 (todos-categories-mode-map): Add two bindings.
703 (todos-filter-items-mode-map): Add some bindings, remove others.
704 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
705 function setting todos-done-separator to
706 window-configuration-change-hook.
707 (todos-unload-hook): Remove function setting todos-done-separator
708 from window-configuration-change-hook.
709 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
710 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
711 (todos-categories-mode): Derive from special-mode; use
712 todos-mode-external-set.
713 (todos-filter-items-mode): Derive from special-mode.
714 (todos-quit): Save archive file if it hasn't yet been saved.
715 (todos-display-categories): Delegate all functionality to
716 todos-display-categories-1 and todos-update-categories-display.
717 (todos-toggle-view-done-items): Improve implementation.
718 (todos-highlight-item): Require hl-line.
719 (todos-toggle-display-date-time): Remove argument and make it
720 apply only to whole file.
721 (todos-top-priorities, todos-diary-items, todos-regexp-items)
722 (todos-custom-items): Use todos-special-buffer-name.
723 (todos-add-file): Use todos-short-file-name and
724 todos-reevaluate-defcustoms; remove validation, since it's now
725 done in todos-read-file-name.
726 (todos-add-category): Also update todos-categories-full if non-nil.
727 (todos-delete-category): Delete file after confirmation if only
728 category is deleted.
729 (todos-move-category): Use todos-short-file-name and
730 todos-reevaluate-defcustoms.
731 (todos-insert-item): Fix getting date from the calendar and
732 insertion of time string.
733 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
734 display of diary entries.
735 (todos-edit-multiline): Add optional argument to restrict editing
736 buffer to current item, otherwise make entire buffer (i.e. whole
737 file) editable.
738 (todos-edit-quit): When whole file is editable, check file format
739 validity before killing buffer, and if valid, recalculate
740 categories sexp to be safe.
741 (todos-edit-item-header): Allow choosing date from calendar.
742 (todos-item-done): Handle marked items.
743
744 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
745
746 Changes from 2011-12-03 (revision 109998).
747 * calendar/todos.el (todos-item-start): Restore commented out code
748 to prevent wrongly moving point in widened buffer.
749
750 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
751
752 Changes from 2011-12-02 (revision 109997).
753 * calendar/todos.el: Remove old commentary from todo-mode.el; add
754 and revise further doc strings and comments; require cl.el at
755 compile time for remove-duplicates; use function powerset from
756 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
757 code rearrangement. Add adapted version of diary-goto-entry as comment.
758 (todos-file-top, todos-archived-categories-buffer)
759 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
760 (todos-save-top-priorities, todos-reset-separator)
761 (todos-switch-todos-file, todos-item-string-start, todos-counts)
762 (todos-string-count-lines, todos-string-multiline-p)
763 (todos-display-categories-alphabetically): Remove.
764 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
765 (todos-insert-item-ask-date-time-for-diary)
766 (todos-insert-item-ask-date-time-for-diary-here)
767 (todos-insert-item-ask-date-time-here)
768 (todos-insert-item-ask-date-maybe-notime)
769 (todos-insert-item-ask-date-maybe-notime-for-diary)
770 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
771 (todos-insert-item-ask-date-maybe-notime-here)
772 (todos-insert-item-ask-date-for-diary)
773 (todos-insert-item-ask-date-for-diary-here)
774 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
775 (todos-insert-item-ask-dayname-time)
776 (todos-insert-item-ask-dayname-time-for-diary)
777 (todos-insert-item-ask-dayname-time-for-diary-here)
778 (todos-insert-item-ask-dayname-time-here)
779 (todos-insert-item-ask-dayname-maybe-notime)
780 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
781 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
782 (todos-insert-item-ask-dayname-maybe-notime-here)
783 (todos-insert-item-ask-dayname-for-diary)
784 (todos-insert-item-ask-dayname-for-diary-here)
785 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
786 (todos-insert-item-ask-time-for-diary)
787 (todos-insert-item-ask-time-for-diary-here)
788 (todos-insert-item-ask-time-here)
789 (todos-insert-item-maybe-notime)
790 (todos-insert-item-maybe-notime-for-diary)
791 (todos-insert-item-maybe-notime-for-diary-here)
792 (todos-insert-item-maybe-notime-here)
793 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
794 (todos-insert-item-here): Remove; all of these are now generated
795 on loading (some with the same name, most with other names.)
796 (todos-item-counts, todos-display-categories-alphabetically)
797 (todos-display-categories-sorted-by-todo)
798 (todos-display-categories-sorted-by-diary)
799 (todos-display-categories-sorted-by-done)
800 (todos-display-categories-sorted-by-archived): Comment out.
801 (todos-comment-string, todos-mode-line-function)
802 (todos-filter-function, todos-priorities-rules)
803 (todos-visit-files-commands, todos-categories-totals-label)
804 (todos-use-only-highlighted-region, todos-diary-nonmarking):
805 New defcustoms.
806 (todos-mark, todos-comment): New faces.
807 (todos-comment-face): Corresponding new variable.
808 (todos-categories-full, todos-global-current-todos-file)
809 (todos-first-visit, todos-insertion-commands-args-genlist)
810 (todos-insertion-commands-args, todos-insertion-commands-names)
811 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
812 (todos-top-priorities-widgets, todos-date-from-calendar)
813 (todos-item-mark, todos-categories-with-marks): New variables.
814 (todos-mode-line-control, todos-reset-global-current-todos-file)
815 (todos-gen-arglists, todos-insertion-command-name)
816 (todos-insertion-key-bindings, todos-unload-hook)
817 (todos-filter-items, todos-set-date-from-calendar)
818 (todos-comment-string-matcher, todos-after-find-file)
819 (todos-reset-nondiary-marker, todos-reset-done-string)
820 (todos-reset-comment-string, todos-show-current-file)
821 (todos-item-marked-p, todos-total-item-counts): New functions.
822 (todos-define-insertion-command): New macro.
823 (todos-toggle-mark-item, todos-mark-category)
824 (todos-unmark-category, todos-set-top-priorities)
825 (todos-merged-diary-items, todos-regexp-items)
826 (todos-merged-regexp-items, todos-custom-items)
827 (todos-merged-custom-items, todos-comment-done-item)
828 (todos-archive-category-done-items, todos-unarchive-items)
829 (todos-print-to-file): New commands.
830 (todos-done-separator): Change :set function.
831 (todos-done-string): Uncomment :initialize and :set functions.
832 (todos-files): Use file-truename.
833 (todos-show-current-file): Rename from
834 todos-auto-switch-todos-file and change :set function accordingly.
835 (todos-font-lock-keywords): Use todos-comment-string-matcher;
836 change names of other matcher functions to new *-matcher.
837 (todos-category-number): Change initial value.
838 (todos-insertion-map): Use todos-insertion-key-bindings to
839 generate key definitions.
840 (todos-mode-map): Don't suppress digit keys, so they can supply
841 prefix arguments; add new and change some existing bindings.
842 (todos-archive-mode-map): Change a key binding.
843 (todos-categories-mode-map): Comment out a key binding.
844 (todos-filter-items-mode-map): Rename from
845 todos-top-priorities-mode-map.
846 (todos-mode): Make todos-current-todos-file,
847 todos-categories-full, todos-categories, todos-first-visit,
848 todos-category-number, todos-show-done-only,
849 todos-categories-with-marks local variables and set them; add
850 todos-show-current-file to pre-command-hook, todos-after-find-file
851 to post-command-hook and todos-reset-global-current-todos-file to
852 kill-buffer-hook.
853 (todos-archive-mode): Make todos-current-todos-file,
854 todos-categories and todos-category-number local variables and set
855 them; add todos-after-find-file to post-command-hook.
856 (todos-raw-mode): New derived major mode.
857 (todos-categories-mode): Don't set font-lock-defaults and
858 buffer-read-only; make todos-current-todos-file and
859 todos-categories local variables and set them.
860 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
861 (todos-quit): Don't reset todos-categories on quitting
862 todos-categories-mode; handle quitting todos-filter-items-mode.
863 (todos-show): Simplify; when visiting an archive file switch to
864 corresponding Todos file; use todos-first-visit.
865 (todos-view-archived-items): Simplify; call todos-category-number.
866 (todos-show-archive): Rename from todos-switch-to-archive and
867 adjust callers; simplify.
868 (todos-toggle-display-date-time): Add optional argument to toggle
869 display in entire file.
870 (todos-top-priorities): Use todos-filter-items, which now contains
871 the previous core of this command.
872 (todos-merged-top-priorities, todos-diary-items):
873 Use todos-filter-items.
874 (todos-forward-category): Add optional argument to go to the
875 previous category.
876 (todos-backward-category): Use todos-forward-category.
877 (todos-jump-to-category): Refine implementation.
878 (todos-forward-item, todos-backward-item): Fix movement from todo
879 to done item and vice versa.
880 (todos-add-file): Remove argument and simplify.
881 (todos-rename-category): Use todos-current-todos-file and
882 todos-mode-line-function; set todos-categories with
883 todos-set-categories.
884 (todos-delete-category): Ask what to do if category has archived items.
885 (todos-raise-category): Ensure modified todos-categories is added
886 to file's categories sexp.
887 (todos-move-category): Improve implementation, especially handling
888 of archived categories.
889 (todos-merge-category): Tweak; set item counts.
890 (todos-insert-item): Improve handling of various argument values;
891 add new argument values to control marking of diary items and to
892 use region for item body.
893 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
894 (todos-delete-item, todos-edit-item-header): Handle marked items.
895 (todos-edit-item): Incorporate functionality of removed
896 todos-string-multiline-p.
897 (todos-edit-multiline): Use set-window-buffer instead of
898 switch-to-buffer.
899 (todos-edit-quit): Don't save on quitting; use todos-show instead
900 of todos-category-select.
901 (todos-raise-item-priority): Add argument to lower priority;
902 improve handling of top priority items in todos-filter-items-mode;
903 restore marks.
904 (todos-lower-item-priority): Use todos-raise-item-priority.
905 (todos-set-item-priority): Increment maximum number if item is new.
906 (todos-move-item): Handle marked items; delay changing category
907 moved from till after movement to avoid restoring if user cancels
908 before insertion.
909 (todos-item-done): Add optional argument to insert comment; fix
910 item counts and update sexp.
911 (todos-item-undo): Fix item counts and update.
912 (todos-archive-done-item-or-items): Rename from
913 todos-archive-done-items; add optional argument to archive all
914 items in category; handle marked items.
915 (todos-unarchive-category): Use todos-unarchive-items.
916 (todos-toggle-diary-inclusion): Incorporate functionality of
917 removed todos-toggle-item-diary-inclusion; handle marked items.
918 (todos-print): Add optional argument to print to file.
919 (todos-done-string-start): Don't use todos-nondiary-start.
920 (todos-date-string-matcher, todos-time-string-matcher)
921 (todos-done-string-matcher, todos-category-string-matcher): Rename
922 from *-match and adjust callers.
923 (todos-wrap-and-indent): Use set instead of setq for local variables.
924 (todos-prefix-overlays): Improve overlay handling.
925 (todos-reset-categories): Fix and complete implementation.
926 (todos-toggle-show-current-file): Rename from
927 todos-toggle-switch-todos-file-noninteractively.
928 (todos-category-select): Use todos-mode-line-function.
929 (todos-item-start): Comment out code used by removed function.
930 (todos-remove-item): Handle presence of both prefix/number and
931 mark overlays.
932 (todos-get-count): Simplify.
933 (todos-set-count): Change argument list and adjust callers; simplify.
934 (todos-set-categories): Handle new archive files; use
935 todos-categories-full and todos-ignore-archived-categories.
936 (todos-truncate-categories-list): Use todos-categories-full.
937 (todos-update-categories-sexp): Use kill-region instead of
938 kill-line; use todos-categories-full.
939 (todos-read-file-name): Add argument to require existing file and
940 adjust callers; use file-truename.
941 (todos-read-category): Remove argument to require existing
942 category and delegate it to completing-read in function body.
943 (todos-validate-category-name): Make empty string prompt only for
944 initial category name.
945 (todos-read-date): Use = instead of eq for testing if month = 13,
946 and if it is, set monthname to *.
947 (todos-display-categories): Use todos-global-current-todos-file;
948 use set-window-buffer instead of switch-to-buffer; add a line
949 showing item count totals.
950 (todos-padded-string): Use the longest of category name or label.
951 (todos-descending-counts): Rename from
952 todos-descending-counts-store and adjust users.
953 (todos-insert-category-line): Adjust format; use mapconcat; kill
954 buffer after jumping to category.
955
956 2012-09-18 Stephen Berman <stephen.berman@gmx.net>
957
958 Changes from 2011-05-16 (revision 109996).
959 * calendar/todos.el Add and revise various doc strings, remove
960 further commented out code; add further comments; further code
961 rearrangement.
962 (todos-file-do, todos-archive-file, todos-mode-hook)
963 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
964 (todos-view-archive, todos-search-string)
965 (todos-jump-to-category-noninteractively, todos-initial-setup):
966 Remove.
967 (todos-files): Remove this defcustom.
968 (todos-initial-category, todos-display-categories-first)
969 (todos-auto-switch-todos-file, todos-default-todos-file)
970 (todos-categories-category-label, todos-categories-todo-label)
971 (todos-categories-diary-label, todos-categories-done-label)
972 (todos-categories-archived-label)
973 (todos-categories-number-separator, todos-categories-align)
974 (todos-ignore-archived-categories, todos-nondiary-marker):
975 New defcustoms.
976 (todos-prefix, todos-done-separator, todos-file-top)
977 (todos-categories-buffer, todos-archived-categories-buffer)
978 (todos-edit-buffer, todos-always-add-time-string, todos-button):
979 Change default value.
980 (todos-done-string): Add todos-reset-done-string as :set function,
981 but keep this commented out.
982 (todos-files, todos-archives, todos-insertion-map)
983 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
984 (todos-show-done-only, todos-date-string-start)
985 (todos-done-string-start): New variables.
986 (todos-files-directory, todos-files-function, todos-merged-files)
987 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
988 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
989 (todos-toggle-switch-todos-file-noninteractively)
990 (todos-switch-todos-file, todos-counts, todos-get-count)
991 (todos-set-count, todos-set-categories)
992 (todos-truncate-categories-list, todos-update-categories-sexp)
993 (todos-read-file-name, todos-sort, todos-display-sorted)
994 (todos-label-to-key, todos-insert-sort-button): New functions.
995 (todos-display-categories-sorted-by-todo)
996 (todos-display-categories-sorted-by-diary)
997 (todos-display-categories-sorted-by-done)
998 (todos-display-categories-sorted-by-archived)
999 (todos-update-merged-files, todos-switch-to-archive)
1000 (todos-choose-archive, todos-merged-top-priorities)
1001 (todos-jump-to-category-other-file, todos-clear-matches)
1002 (todos-add-file, todos-change-default-file, todos-move-category)
1003 (todos-merge-category, todos-merge-categories)
1004 (todos-edit-item-time, todos-move-item-to-file)
1005 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
1006 (todos-toggle-diary-nonmarking): New commands.
1007 (todos-toggle-show-done-only): New command replacing todos-view-archive.
1008 (todos-faces): New defgroup; use in all face definitions.
1009 (todos-sorted-column, todos-archived-only, todos-search): New faces.
1010 (todos-font-lock-keywords): Use subexpression 1 with matcher
1011 todos-category-string-match.
1012 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
1013 (todos-categories-mode-map): Add new key bindings; change some
1014 existing bindings.
1015 (todos-top-priorities-mode-map): New keymap.
1016 (todos-menu): Add submenues and new entries.
1017 (auto-mode-alist): Add extension of Todos and Todos archive files.
1018 (todos-mode, todos-archive-mode): Make derived mode; use
1019 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
1020 and todos-switch-todos-file; make todos-show-done-only local
1021 variable.
1022 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
1023 (todos-categories-mode): Make derived mode.
1024 (todos-top-priorities-mode): New derived major mode.
1025 (todos-save): Remove unused code.
1026 (todos-quit): Handle todos-categories-mode; save archive buffer.
1027 (todos-show): Add optional argument to prompt for a Todos file; if
1028 called interactively or with prefix arg or from an archive, don't
1029 make a no-op but reset todos-current-todos-file, todos-categories
1030 and todos-category-number; use todos-read-file-name,
1031 todos-display-categories-first, todos-ignore-archived-categories.
1032 (todos-display-categories): Change argument name; refactor code
1033 for inserting table labels and lines, using
1034 todos-ignore-archived-categories, todos-sort,
1035 todos-categories-number-separator, todos-insert-sort-button,
1036 todos-categories-*-labels, and todos-insert-category-line.
1037 (todos-display-categories-alphabetically): Use todos-display-sorted.
1038 (todos-toggle-view-done-items): Use todos-done-string-start and
1039 todos-get-count.
1040 (todos-toggle-display-date-time): Use todos-done-string-start.
1041 (todos-top-priorities): Remove autoload cookie; partially rewrite:
1042 new argument list; allow combining top priorities of multiple
1043 Todos files; change display to include category (and file) name as
1044 part of item header; use todos-top-priorities-mode.
1045 (todos-diary-items): Reimplement using only todos-top-priorities.
1046 (todos-forward-category, todos-backward-category): Adjust to
1047 1-based numbering of categories; move point to top of category.
1048 (todos-jump-to-category): Rewrite, adding optional arguments to
1049 provide a category in non-interactive uses and to prompt for which
1050 Todos file to jump to.
1051 (todos-search): Reimplement; highlight each match as found, say
1052 how many matches remain and prompt whether to go to next one; at
1053 end of search prompt whether to remove highlighting.
1054 (todos-add-category): Remove autoload cookie; assign new category
1055 the highest category number; associate zero-initialized vector of
1056 item counts, instead of property list, with new category; use
1057 todos-validate-category-name and todos-update-categories-sexp.
1058 (todos-rename-category): Use todos-validate-category-name and
1059 todos-update-categories-sexp; take archive files into account.
1060 (todos-delete-category): Use todos-get-count and
1061 todos-update-categories-sexp, let-bind variable that were
1062 mistakenly global; use delete-region instead of kill-region;
1063 adjust to 1-based numbering of categories; move point to top of
1064 category.
1065 (todos-raise-category): Handle item count vectors; use
1066 todos-insert-category-line and todos-update-categories-sexp.
1067 (todos-insert-item): Use nil time-string argument to omit time
1068 string; use todos-nondiary-start and todos-nondiary-end and
1069 todos-update-categories-sexp; if category named to insert into
1070 does not exist, add it; take new diary items into account.
1071 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1072 (todos-insert-item-ask-date-time-for-diary)
1073 (todos-insert-item-ask-date-time-for-diary-here)
1074 (todos-insert-item-ask-date-time-here)
1075 (todos-insert-item-ask-date-maybe-notime)
1076 (todos-insert-item-ask-date-maybe-notime-for-diary)
1077 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1078 (todos-insert-item-ask-date-maybe-notime-here)
1079 (todos-insert-item-ask-date-for-diary)
1080 (todos-insert-item-ask-date-for-diary-here)
1081 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1082 (todos-insert-item-ask-dayname-time)
1083 (todos-insert-item-ask-dayname-time-for-diary)
1084 (todos-insert-item-ask-dayname-time-for-diary-here)
1085 (todos-insert-item-ask-dayname-time-here)
1086 (todos-insert-item-ask-dayname-maybe-notime)
1087 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1088 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1089 (todos-insert-item-ask-dayname-maybe-notime-here)
1090 (todos-insert-item-ask-dayname-for-diary)
1091 (todos-insert-item-ask-dayname-for-diary-here)
1092 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1093 (todos-insert-item-ask-time-for-diary)
1094 (todos-insert-item-ask-time-for-diary-here)
1095 (todos-insert-item-ask-time-here)
1096 (todos-insert-item-maybe-notime)
1097 (todos-insert-item-maybe-notime-for-diary)
1098 (todos-insert-item-maybe-notime-for-diary-here)
1099 (todos-insert-item-maybe-notime-here)
1100 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
1101 New insertion commands.
1102 (todos-insert-item-from-calendar): Use todos-current-todos-file.
1103 (todos-delete-item): Handle diary items;
1104 use todos-update-categories-sexp.
1105 (todos-edit-item): Check if point is with item string;
1106 use read-string instead of read-from-minibuffer;
1107 use todos-date-string-start; after editing put point at start of
1108 item text.
1109 (todos-edit-multiline): Narrow to item before invoking
1110 todos-edit-mode; show key binding of todos-edit-quit in a message.
1111 (todos-edit-quit): Use todos-save; kill buffer.
1112 (todos-edit-item-header): Add optional argument to prompt for
1113 editing only date string or only time string;
1114 use todos-date-string-start.
1115 (todos-edit-item-date, todos-edit-item-date-is-today)
1116 (todos-raise-item-priority, todos-lower-item-priority): Rename
1117 from todos-{raise, lower}-item and make them DTRT in
1118 todos-top-priorities-mode.
1119 (todos-set-item-priority): Make interactive; use todos-get-count
1120 and todos-insert-with-overlays; interactively, just relocate the
1121 item within its category.
1122 (todos-move-item): Add optional argument to prompt for a category
1123 in another Todos file; handle diary items; fix restoration after
1124 cancelling before inserting.
1125 (todos-item-done): Handle diary items; simplify handling of
1126 insertion in done items section.
1127 (todos-item-undo): Handle diary items.
1128 (todos-archive-done-items): Adjust to new handling of archive
1129 files (in parallel with Todos files); handle diary items; use
1130 todos-done-string-start.
1131 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
1132 todos-nondiary-end and todos-item-counts.
1133 (todos-toggle-diary-inclusion): Use todos-category-done instead of
1134 todos-category-end.
1135 (todos-print): Remove autoload cookie; rewrite to make overlays,
1136 line wrapping and wrap prefixes printable.
1137 (todos-date-pattern): Make parenthesized groups shy.
1138 (todos-date-string-match): Use todos-date-string-start; make
1139 todos-date-pattern an explicitly numbered group.
1140 (todos-time-string-match): Use todos-date-string-start.
1141 (todos-done-string-match): Use todos-done-string-start.
1142 (todos-category-string-match): Rewrite to match new category and
1143 category+filename patterns in todos-top-priorities-mode.
1144 (todos-prefix-overlays): Use todos-done-string-start and
1145 todos-category-done.
1146 (todos-reset-prefix): Handle archive files; restore point after
1147 changing prefix.
1148 (todos-reset-separator): Handle archive files.
1149 (todos-category-number): Make category number one more than its
1150 list index.
1151 (todos-current-category): Adjust to 1-based numbering of categories.
1152 (todos-category-select): Simplify handling of done items and done
1153 separator string overlay.
1154 (todos-item-start): Use todos-date-string-start and
1155 todos-done-string-start.
1156 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
1157 (todos-item-string): Restore point after getting item bounds; use
1158 buffer-substring-no-properties.
1159 (todos-done-item-p): Use todos-done-string-start.
1160 (todos-make-categories-list): Add optional argument to force
1161 looping through file to get categories and their item counts,
1162 otherwise set todos-categories from sexp in first line; use
1163 vectors of item counts instead of plists; count diary items.
1164 (todos-item-counts): Use todos-counts, todos-set-counts,
1165 todos-get-counts, and todos-update-categories-sexp instead of
1166 getting and setting properties; handle diary items.
1167 (todos-read-category): Add argument to set prompt; don't offer
1168 default category.
1169 (todos-validate-category-name): Rename from
1170 todos-check-category-name; take into account whether there are
1171 already categories or not.
1172 (todos-read-date): Accept `*' as an unspecified month, day, or year.
1173 (todos-padded-string): Accommodate new structure of
1174 todos-categories as alists; use todos-categories-align.
1175 (todos-descending-counts-store): New variable.
1176 (todos-insert-category-line): Rename from
1177 todos-insert-category-name and reimplement using labels and
1178 todos-get-counts instead of properties; use
1179 todos-ignore-archived-categories; highlight sorted column.
1180
1181 2012-09-14 Stephen Berman <stephen.berman@gmx.net>
1182
1183 Changes from 2010-07-09 (revision 109995).
1184 * calendar/todos.el Remove lots of commented out code; add various
1185 comments; further code rearrangement.
1186 (todos-insert-item-here-ask-date-time)
1187 (todos-insert-item-ask-date-time)
1188 (todos-insert-item-ask-dayname-time)
1189 (todos-insert-item-for-diary)
1190 (todos-insert-item-for-diary-ask-date-time)
1191 (todos-make-categories-alist, todos-categories-alist): Remove.
1192 (todos-categories-list): Comment out.
1193 (todos-make-categories-list): New function replacing
1194 todos-make-categories-alist, using category plists to get item
1195 counts and taking archive into account.
1196 (todos-current-todos-file): New variable.
1197 (todos-mode-map): Update key bindings.
1198 (todos-save): Add as comment code to make sure todos-categories
1199 sexp is current on saving.
1200 (todos-quit): Call todos-show on quitting Todos archive buffer.
1201 (todos-show): If todos-current-todos-file is not set to Todos
1202 file, set it as a new file; set todos-categories from
1203 todos-make-categories-alist.
1204 (todos-display-categories): Use a different display format for
1205 archive file; put point initially on the first button.
1206 (todos-toggle-view-done-items): Check the category's `done'
1207 property to determine if there are done items.
1208 (todos-view-archive): Set todos-current-todos-file to the archive
1209 file; jump from the Todos file to the same category in the
1210 archive, if it exists, else jump to the first category; use
1211 message instead of error.
1212 (todos-add-category): Intern a special symbol for the new category
1213 and set its property list to holds counts of the numbers of todo,
1214 done and archived items in the category; assign the new category
1215 the current highest category number.
1216 (todos-rename-category): Don't use todos-categories-alist.
1217 (todos-delete-category): Check the category's `todo' and `done'
1218 properties to determine if it is empty; ensure that the end of the
1219 last category is found; after deleting the category, empty its
1220 plist and unintern its special symbol.
1221 (todos-insert-item-here): Fix argument list of todos-insert-item.
1222 (todos-delete-item, todos-raise-item, todos-lower-item):
1223 Use message instead of error.
1224 (todos-move-item): If the category to be moved to does not exist,
1225 add it as a new category.
1226 (todos-item-done, todos-reset-separator):
1227 Use todos-category-select instead of todos-show.
1228 (todos-archive-done-items): Make buffer writeable; conditionalize
1229 search for end of category; save after adding to archive in case
1230 the file is new, so it can be found.
1231 (todos-category-select): Wrap search in if instead of or+and;
1232 don't hide done items in an archive.
1233 (todos-set-item-priority): Check the category's `todo'
1234 property to determine if there are not done todo items.
1235 (todos-jump-to-category-noninteractively): Just switch to buffer
1236 visiting todos-current-todos-file, since this can be either a
1237 Todos file or an archive.
1238 (todos-item-counts): Use category's plist instead of an alist.
1239 (todos-longest-category-name-length): Argument is now a list of
1240 category names, not an alist, so just test each element, not each
1241 element's the car.
1242 (todos-padded-string): Use todos-categories instead of
1243 todos-categories-alist.
1244 (todos-insert-category-name): Use category plist to get item
1245 counts; take archived items into account.
1246
1247 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
1248
1249 Changes from 2010-06-18 (revision 109994).
1250 * calendar/todos.el: Numerous spelling and comment fixes, doc
1251 string fixes to conform with checkdoc, further rearrangement of
1252 definitions, etc.
1253 (todos-previous-line, todos-previous-answer)
1254 (todos-insert-item-ask-date, todos-change-date)
1255 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1256 (todos-count-items-in-category, todos-count-all-items): Remove.
1257 (todos-update-numbered-prefix, todos-item-start-overlays)
1258 (todos-add-item-non-interactively): Comment out, also in uses.
1259 (todos-done-separator): Change default value.
1260 (todos-always-add-time-string): Rename from todos-add-time-string
1261 and adjust uses.
1262 (todos-read-category): Rename from todos-completing-read and
1263 adjust callers; use todos-current-category.
1264 (todos-make-categories-alist): Rename from function
1265 todos-categories-alist.
1266 (todos-categories-alist): New variable.
1267 (todos-indent-to-here): New defcustom.
1268 (todos-button): New face.
1269 (todos-display-categories-alphabetically, todos-raise-category)
1270 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1271 (todos-insert-item-here-ask-date-time)
1272 (todos-insert-item-ask-date-time)
1273 (todos-insert-item-ask-dayname-time): New commands.
1274 (todos-edit-item-header): New command replacing todos-change-date.
1275 (todos-category-number, todos-indent, todos-item-counts)
1276 (todos-check-category-name, todos-read-date, todos-read-dayname)
1277 (todos-read-time, todos-padded-string)
1278 (todos-insert-category-name): New functions.
1279 (todos-set-item-priority): New function replacing
1280 todos-add-item-non-interactively.
1281 (todos-mode-map): Remap newline to newline-and-indent.
1282 (todos-edit-mode-map): Make sparse keymap; remap newline to
1283 newline-and-indent.
1284 (todos-categories-mode-map): New keymap.
1285 (todos-mode, todos-edit-mode): Make indent-line-function local
1286 variable and set to todos-indent.
1287 (todos-categories-mode): New major mode.
1288 (todos-display-categories): List categories initially in their
1289 numerical order; add optional argument to switch to alphabetical
1290 listing.
1291 (todos-toggle-view-done-items): Simplify implementation.
1292 (todos-toggle-display-date-time): Fix regexp search string.
1293 (todos-backward-item, todos-forward-item): Use variable
1294 todos-item-start.
1295 (todos-add-category): Use todos-check-category-name and
1296 todos-categories-alist.
1297 (todos-rename-category): Use todos-current-category,
1298 todos-check-category-name and todos-categories-alist.
1299 (todos-delete-category): Use todos-check-category-name and
1300 todos-categories-alist and take done items into account.
1301 (todos-insert-item): Use separate arguments to handle insertion of
1302 date/dayname and time strings, add new argument to mark item for
1303 diary inclusion, use new todos-read-* functions,
1304 todos-set-item-priority and todos-item-counts.
1305 (todos-insert-item-here, todos-insert-item-for-diary)
1306 (todos-insert-item-from-calendar): Adapt to new version of
1307 todos-insert-item.
1308 (todos-delete-item, todos-item-done): Use todos-item-counts.
1309 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1310 char follows.
1311 (todos-lower-item): Ensure only not-done items can be lowered.
1312 (todos-move-item): Use todos-current-category, todos-read-category
1313 and todos-item-counts.
1314 (todos-archive-done-items): Use todos-current-category and
1315 todos-item-counts; fix regexp search string.
1316 (todos-item-undo): Use todos-current-category,
1317 todos-set-item-priority, todos-insert-with-overlays and
1318 todos-item-counts; restore if user quits before inserting undone
1319 item.
1320 (todos-date-pattern): Rewrite without using
1321 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1322 (todos-date-string-match): Do not make todos-date-pattern an
1323 unnumbered group.
1324 (todos-time-string-match): Make todos-date-pattern a shy group.
1325 (todos-wrap-and-indent): Use todos-indent-to-here.
1326 (todos-reset-prefix): Revert to using todos-show instead of
1327 todos-category-select.
1328 (todos-prefix-overlays): Fix numbering of done items and updating
1329 of prefix.
1330 (todos-category-select): Use todos-current-category; fix display
1331 of separator string; don't move point to top of category.
1332 (todos-jump-to-category-noninteractively): Use todos-category-number.
1333 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1334 (todos-item-start): New variable.
1335 (todos-item-start): Use it to define this function.
1336 (todos-item-end): Adjust if item is last unfinished one before
1337 displayed done items.
1338 (todos-remove-item): Use todos-item-start and todos-item-end
1339 instead of todos-forward-item and todos-backward-item.
1340 (todos-longest-category-name-length): Add argument for list of
1341 categories.
1342
1343 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
1344
1345 Changes from 2010-05-25 (revision 109993).
1346 * calendar/todos.el: Comment out calendar require, since diary-lib
1347 requires calendar. Rearrange file to group definitions according
1348 to their use (types of commands, internal functions, etc.)
1349 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1350 (todos-date-string, todos-time-string, todos-check-overlay)
1351 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1352 Comment out.
1353 (todos-current-date, todos-item-end-overlays)
1354 (todos-list-categories): Remove.
1355 (todos-item-end): Remove (the variable, not the function).
1356 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
1357 callers.
1358 (todos-done-separator, todos-done-string, todos-show-with-done)
1359 (todos-files, todos-archive-file, todos-categories-buffer)
1360 (todos-archived-categories-buffer, todos-wrap-lines)
1361 (todos-line-wrapping-function): New defcustoms.
1362 (todos-done, todos-done-sep): New faces.
1363 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1364 (todos-search-string, todos-date-nodayname-pattern)
1365 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1366 (todos-done-string-match, todos-category-string-match)
1367 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1368 (todos-current-category, todos-count-items-in-category)
1369 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1370 (todos-longest-category-name-length): New functions.
1371 (todos-categories-list): New buffer-specific function replacing
1372 todos-list-categories.
1373 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1374 (todos-search, todos-view-archive, todos-diary-items)
1375 (todos-toggle-display-date-time, todos-insert-item-no-time)
1376 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1377 (todos-insert-item-from-calendar, todos-edit-quit)
1378 (todos-change-date, todos-item-done, todos-archive-done-items)
1379 (todos-item-undo): New commands.
1380 (todos-archive-mode): New major mode.
1381 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1382 (todos-category-beg): Change value.
1383 (todos-number-prefix): Change default value.
1384 (todos-edit-buffer): Change from defvar to defcustom.
1385 (todos-font-lock-keywords): Use todos-done-string-match and
1386 todos-category-string-match.
1387 (todos-backward-item, todos-forward-item): Use todos-done-string
1388 and todos-date-pattern.
1389 (todos-display-categories): Reimplement using buttons from
1390 button.el instead of widgets.
1391 (todos-top-priorities): Use with-current-buffer; take done items
1392 into account; ensure buffers gets fontified.
1393 (todos-add-category): Ensure new category does not begin with
1394 empty lines.
1395 (todos-jump-to-category): Use todos-category-select instead of
1396 todos-show.
1397 (todos-rename-category): Prompt for new name in body instead of in
1398 interactive spec.
1399 (todos-insert-item): Don't insert in done items section of
1400 category. Add two optional arguments to control insertion: (i) to
1401 insert near point without prompting for priority; (ii) to use
1402 defaults for date and time strings, to prompt for these, or to
1403 choose date from the Calendar.
1404 (todos-insert-item-here): Reimplement using todos-insert-item.
1405 (todos-delete-item): Don't move point after deleting last item.
1406 (todos-raise-item, todos-lower-item): Take done items into account.
1407 (todos-move-item): Don't move done items; update item numbering;
1408 restore if user quits before inserting moved item.
1409 (todos-print): Prompt for confirmation to print.
1410 (todos-reset-prefix): Search backward from end of file instead of
1411 forward from top.
1412 (todos-jump-to-category-noninteractively): Take Todos archive into
1413 account.
1414 (todos-category-select): Show or hide done items according to
1415 todos-show-with-done; if shown, coordinate separator and prefix
1416 overlays.
1417 (todos-add-item-non-interactively): Replace binary insertion
1418 algorithm with prompting for numerical priority.
1419 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1420 (todos-item-start): Take done items into account; use
1421 todos-date-pattern.
1422 (todos-item-end): Reimplement using todos-forward-item.
1423 (todos-remove-item): Reimplement using todos-forward-item and
1424 todos-backward-item; redo overlay handling.
1425 (todos-mode-map): Add some new key bindings and change numerous
1426 existing bindings; use "i" as prefix key for item insertion
1427 commands.
1428 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1429 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1430 spec; set buffer-read-only to t and consequently let-bind this
1431 variable in all Todos commands that change buffer content.
1432 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1433 (todos-save): Don't save top priorities buffer.
1434 (todos-show): Make a no-op if called interactively in narrowed
1435 Todos mode, since, also to work around item prefix reduplication
1436 bug with show-paren-mode enabled; use todos-categories-list.
1437
1438 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1439
1440 Changes from 2009-11-07 (revision 109992).
1441 * calendar/todos.el: Comment out time-stamp require; require
1442 calendar and diary-lib.
1443 (todos-prefix): Change default value and doc string to reflect new
1444 meaning; add :initialize and :set functions.
1445 (todos-time-string-format, todos-entry-prefix-function)
1446 (todos-initials, todos-entry-timestamp-initials)
1447 (todos-prefix-face, todos-category-sep, todos-category-end)
1448 (todos-cp): Comment out.
1449 (todos-prefix-string): Inherit from font-lock-comment-face.
1450 (todos-item-header, todos-item-header-face): Remove.
1451 (todos-date, todos-time): New faces.
1452 (todos-date-face, todos-time-face): Corresponding new variables.
1453 (todos-add-time-string, todos-include-in-diary)
1454 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1455 New defcustoms.
1456 (todos-item-end, todos-item-start-overlays)
1457 (todos-item-end-overlays): New variables.
1458 (todos-date-string-match, todos-time-string-match): New functions.
1459 (todos-font-lock-keywords): Use them.
1460 (todos-current-date, todos-date-string, todos-time-string)
1461 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1462 (todos-reset-prefix, todos-update-numbered-prefix)
1463 (todos-check-overlay, todos-item-overlays)
1464 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1465 (todos-highlight-item): New command.
1466 (todos-category-beg): Change value.
1467 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1468 (todos-backward-item): Add optional count argument; use it and
1469 todos-item-start.
1470 (todos-forward-item): Use todos-check-overlay, todos-item-start
1471 and variable todos-item-end.
1472 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1473 todos-update-numbered-prefix, todos-item-overlays.
1474 (todos-add-category, todos-rename-category)
1475 (todos-list-categories): Use new category format.
1476 (todos-delete-category): Allow deleting non-empty category;
1477 use new category format.
1478 (todos-add-item-non-interactively): Comment out unnecessary
1479 save-excursion; use todos-insert-with-overlays.
1480 (todos-insert-item): Comment out unnecessary save-excursion; use
1481 new item format for date/time header and diary inclusion marking.
1482 (todos-insert-item-here): Use new item format for date/time header
1483 and diary inclusion marking; use todos-insert-with-overlays.
1484 (todos-raise-item): Make a no-op if point is on an empty line; use
1485 todos-insert-with-overlays.
1486 (todos-lower-item): Use todos-insert-with-overlays.
1487 (todos-top-priorities): Move call to todos-show inside
1488 save-excursion; add save-current-buffer after save-restriction.
1489 (todos-item-start): Use variable todos-item-end.
1490 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1491 (todos-remove-item): Take item overlays into account.
1492 (todos-mode): Change calculation of wrap-prefix; make
1493 hl-line-range-function a local variable and set it to highlight
1494 todo item.
1495 (todos-show): Ensure point stays at top of category.
1496
1497 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1498
1499 Changes from 2009-07-04 (revision 109991).
1500 * calendar/todos.el (todos-window-configuration): Comment out.
1501 (todos-display-categories): Comment out use of
1502 todos-window-configuration; use switch-to-buffer instead of
1503 pop-to-buffer.
1504 (todos-jump-to-category-noninteractively): Comment out use of
1505 todos-window-configuration.
1506 (todos-edit-item): Don't allow editing of date/time item header.
1507 (todos-insert-item, todos-insert-item-here): Insert date/time
1508 header in front of new item string.
1509 (todos-mode): Tweak wrap-prefix.
1510
1511 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1512
1513 Changes from 2009-06-26 (revision 109989).
1514 * calendar/todos.el (todos-file-do, todos-file-done):
1515 Change default location to directory "~/.emacs.d/".
1516 (todos-completion-ignore-case, todos-categories-buffer):
1517 New defcustoms.
1518 (todos-prefix-string, todos-item-header): New faces.
1519 (todos-prefix-face, todos-item-header-face): Corresponding
1520 new variables.
1521 (todos-rename-category, todos-delete-category)
1522 (todos-display-categories, todos-move-item): New commands.
1523 (todos-mode-map): Add key bindings for new commands and for
1524 todos-add-category, which had no key binding.
1525 (todos-jump-to-category-noninteractively): New function.
1526 (todos-top-priorities): Comment out code using a previously
1527 deleted variable.
1528 (todos-completing-read): Allow SPC to insert a space when entering
1529 a new category name; use todos-completion-ignore-case.
1530 (todos-font-lock-keywords, todos-window-configuration):
1531 New variables.
1532 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1533 word-wrap, and wrap-prefix local variables.
1534
1535 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1536
1537 Changes from 2009-02-16 (revision 109988).
1538 * calendar/todos.el (todos-list-categories): Fix typos.
1539 (todos-show): Ensure file is in todos-mode.
1540
1541 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1542
1543 Changes from 2009-02-12 (revision 109987).
1544 * calendar/todos.el (todos-header): Remove defvar.
1545 (todos-add-category): Comment out code that inserts and updates
1546 the file local variables first line of the file todos-file-do.
1547 (todos-list-categories): New function.
1548 (todos-show): Use it; remove use of a previously deleted variable.
1549
1550 2012-09-11 Stephen Berman <stephen.berman@gmx.net>
1551
1552 Changes from 2009-02-12 (revision 109986).
1553 * calendar/todos.el: New file. This is a copy of todo-mode.el
1554 from revision 94343 except for the following changes: replace all
1555 occurrences of the namespace prefix "todo-" with "todos-", delete
1556 the defvar todo-cats (the old name of todo-categories) and its use
1557 in todos-add-category, delete all defaliases of old command names.
1558
1559 2012-09-11 Bastien Guerry <bzg@gnu.org>
1560
1561 * subr.el (set-temporary-overlay-map): Add a docstring.
1562 (bug#12346)
1563
1564 2012-09-11 Bastien Guerry <bzg@gnu.org>
1565
1566 * minibuffer.el (completion-table-subvert): Fix docstring.
1567 (bug#12347)
1568
1569 2012-09-11 Bastien Guerry <bzg@gnu.org>
1570
1571 * help-fns.el (describe-variable): Fix typo. (bug#12346)
1572
1573 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1574
1575 * progmodes/sql.el: Version 3.1
1576 (sql-db2-escape-newlines): New variable.
1577 (sql-escape-newlines-filter): Use it.
1578
1579 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1580
1581 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1582
1583 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1584
1585 * vc/diff-mode.el (diff-mode-menu): Bind
1586 diff-remove-trailing-whitespace.
1587
1588 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1591 (emacs-lisp-byte-code-comment)
1592 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1593 New functions.
1594 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1595 (eval-defun-2): Remove bogus interactive spec.
1596 (lisp-indent-line): Remove redundant whole-exp code, now done in
1597 indent-according-to-mode.
1598 (save-match-data): Remove redundant indent data.
1599
1600 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1601 Use `declare'.
1602
1603 2012-09-09 Juri Linkov <juri@jurta.org>
1604
1605 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1606 (replace-lax-whitespace, query-replace-regexp)
1607 (query-replace-regexp-eval, replace-regexp): Doc fix.
1608 (perform-replace, replace-highlight): Let-bind
1609 isearch-lax-whitespace to replace-lax-whitespace and
1610 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1611
1612 * isearch.el (isearch-query-replace): Let-bind
1613 replace-lax-whitespace to isearch-lax-whitespace and
1614 replace-regexp-lax-whitespace to
1615 isearch-regexp-lax-whitespace. (Bug#10885)
1616
1617 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1620
1621 2012-09-09 Alan Mackenzie <acm@muc.de>
1622
1623 * progmodes/cc-engine.el (c-state-cache-init):
1624 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1625 (c-record-parse-state-state):
1626 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1627
1628 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1629
1630 * register.el (register-separator): Rename from
1631 separator-register. All uses changed. Doc fix.
1632 (register): Fix version.
1633
1634 2012-09-09 Chong Yidong <cyd@gnu.org>
1635
1636 * replace.el (query-replace-map): Bind four new symbols for
1637 requesting window scrolling.
1638
1639 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1640 query-replace-map (Bug#8948).
1641
1642 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1643
1644 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1645 since they are now in query-replace-map.
1646
1647 * window.el (scroll-other-window-down): Make the arg optional.
1648
1649 2012-09-09 Chong Yidong <cyd@gnu.org>
1650
1651 * files.el (hack-local-variables-confirm): Use quit-window to kill
1652 the *Local Variables* buffer.
1653
1654 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1655
1656 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1657 not just expect to be at its beginning. Adjust callees.
1658 Succeed when do-end block has no space before the pipe character.
1659 (ruby-brace-to-do-end): When the original block is one-liner,
1660 convert to multiline. Reindent the result.
1661
1662 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1663
1664 * register.el (register): New group.
1665 (register-separator): New user option.
1666 (increment-register): Route it to `append-to-register', if
1667 register contains text. Implication is that `C-x r +' can now be
1668 used for appending to a text register (bug#12217).
1669 (append-to-register, prepend-to-register): Add separator based on
1670 `register-separator.
1671
1672 2012-09-08 Alan Mackenzie <acm@muc.de>
1673
1674 AWK Mode: make auto-newline work when there's "==" in the pattern.
1675 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1676 correctly.
1677 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1678 Test more rigorously for "=" token.
1679
1680 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1681
1682 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1683 Only fail when reached LIMIT.
1684
1685 2012-09-08 Chong Yidong <cyd@gnu.org>
1686
1687 * dired.el (dired-mode-map): Don't bind M-=.
1688
1689 * dired-aux.el (dired-diff): Use backup file as default.
1690
1691 2012-09-08 Drew Adams <drew.adams@oracle.com>
1692
1693 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1694
1695 2012-09-08 Chong Yidong <cyd@gnu.org>
1696
1697 * subr.el (syntax-after, syntax-class): Doc fix.
1698
1699 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1700
1701 * window.el (display-buffer-in-previous-window): New buffer
1702 display action function.
1703
1704 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1705 (debugger-previous-window): New variable.
1706 (debug): Rewrite using display-buffer-in-previous-window,
1707 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1708
1709 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1712
1713 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1714
1715 * progmodes/python.el (python-shell-send-string):
1716 When default-directory is remote, create temp file on remote
1717 filesystem.
1718 (python-shell-send-file): When file is remote, pass local view of
1719 file paths to remote Python interpreter. (Bug#12340)
1720
1721 2012-09-07 Chong Yidong <cyd@gnu.org>
1722
1723 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1724
1725 * files.el (after-find-file): Don't fail on a read-only buffer if
1726 require-final-newline is `visit' or `visit-save' (Bug#11156).
1727
1728 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1729
1730 * userlock.el (ask-user-about-supersession-threat):
1731 Use read-char-choice (Bug#12093).
1732
1733 2012-09-07 Chong Yidong <cyd@gnu.org>
1734
1735 * subr.el (buffer-narrowed-p): New function.
1736
1737 * ses.el (ses-widen):
1738 * simple.el (count-words--buffer-message):
1739 * net/browse-url.el (browse-url-of-buffer): Use it
1740
1741 * simple.el (count-words-region): Don't signal an error if there
1742 is a non-nil prefix arg and the mark is not set.
1743
1744 * help.el (describe-key-briefly): Allow the message to be seen
1745 when invoked from the minibuffer (Bug#7014).
1746
1747 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1748
1749 * progmodes/ruby-mode.el (ruby-end-of-defun)
1750 (ruby-beginning-of-defun): Simplify, allow indentation before
1751 block beginning and end keywords.
1752 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1753 (ruby-end-of-defun): Expect that the point is at the beginning of
1754 the defun.
1755
1756 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1759 (bug#12367).
1760 (cl--make-usage-args): Strip _ from argument names.
1761
1762 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1763
1764 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1765 obsolete alias speedbar-key-map.
1766 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1767 (vhdl-index-menu-init): Don't use obsolete variable
1768 font-lock-maximum-size.
1769
1770 2012-09-06 Chong Yidong <cyd@gnu.org>
1771
1772 * frame.el (window-system-version): Mark as obsolete.
1773
1774 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1775 of obsolete variable speedbar-key-map.
1776
1777 2012-09-06 Juri Linkov <juri@jurta.org>
1778
1779 * replace.el (replace-lax-whitespace): New defcustom.
1780 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1781 (replace-string, replace-regexp): Mention it in docstrings.
1782 (perform-replace, replace-highlight): Let-bind
1783 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1784 to the values of replace-lax-whitespace and regexp-flag.
1785 Don't let-bind search-whitespace-regexp. (Bug#10885)
1786
1787 * isearch.el (isearch-query-replace): Let-bind
1788 replace-lax-whitespace instead of let-binding
1789 replace-search-function and replace-re-search-function.
1790 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1791 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1792 (isearch-toggle-symbol): Set isearch-regexp to nil
1793 in isearch-word mode (like in isearch-toggle-word).
1794
1795 2012-09-06 Juri Linkov <juri@jurta.org>
1796
1797 * replace.el (replace-search-function)
1798 (replace-re-search-function): Set default values to nil.
1799 (perform-replace): Let-bind isearch-related variables based on
1800 replace-related values, call `isearch-search-fun' and let-bind
1801 the result to `search-function'. Remove code that sets
1802 `search-function' and `search-string' separately for
1803 `delimited-flag'.
1804 (replace-highlight): Add new argument `delimited-flag' and
1805 rename other arguments to the names used in `perform-replace'.
1806 Let-bind `isearch-word' to the argument `delimited-flag'.
1807 (Bug#10885, bug#10887)
1808
1809 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1810
1811 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1812 ruby-beginning-of-indent, simplify, allow all keywords to have
1813 indentation before them.
1814 (ruby-beginning-of-indent): Adjust for above. Search until the
1815 found point is not inside a string or comment.
1816 (ruby-font-lock-keywords): Allow symbols to start with "@"
1817 character, give them higher priority than variables.
1818 (ruby-syntax-propertize-function)
1819 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1820 matchers. Expression expansions are not comments when inside a
1821 string, and there comment syntax status is irrelevant.
1822 (ruby-match-expression-expansion): New function. Check that
1823 expression expansion is inside a string, and it's not escaped.
1824 (ruby-font-lock-keywords): Use it.
1825
1826 2012-09-05 Martin Rudalics <rudalics@gmx.at>
1827
1828 * help.el (temp-buffer-max-height): New default value.
1829 (temp-buffer-resize-frames): New option.
1830 (resize-temp-buffer-window): Optionally resize frame.
1831
1832 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1833 (fit-frame-to-buffer): New function.
1834
1835 2012-09-05 Glenn Morris <rgm@gnu.org>
1836
1837 * emulation/cua-rect.el (cua--init-rectangles):
1838 * textmodes/picture.el (picture-mode-map):
1839 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1840 like forward-char and backward-char. (Bug#12317)
1841
1842 2012-09-05 Leo Liu <sdl.web@gmail.com>
1843
1844 * progmodes/flymake.el (flymake-warning-re): New variable.
1845 (flymake-parse-line): Use it.
1846
1847 2012-09-05 Glenn Morris <rgm@gnu.org>
1848
1849 * calendar/holidays.el (holiday-christian-holidays):
1850 Rename an entry. (Bug#12289)
1851
1852 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1855 (bug#12222).
1856
1857 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * loadup.el: Load macroexp. Remove hack.
1860 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1861 (macroexp--expand-all): Use it to get better warnings.
1862 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1863 (internal-macroexpand-for-load): New functions.
1864 (macroexp--pending-eager-loads): New var.
1865 (emacs-startup-hook): New hack to replace one in loadup.el.
1866 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1867 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1868 (cl-psetf): Simplify.
1869 (cl-defstruct): Add indent rule.
1870
1871 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1872
1873 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1874 over `user-mail-address' for the SMTP MAIL FROM envelope.
1875 (smtpmail-via-smtp): Ditto.
1876
1877 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1878
1879 * progmodes/ruby-mode.el: Clean up keybindings.
1880 (ruby-mode-map): Don't bind ruby-electric-brace,
1881 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1882 backward-kill-word, reindent-then-newline-and-indent.
1883 (ruby-mark-defun): Remove.
1884 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1885 (ruby-mode): Set local beginning-of-defun-function and
1886 end-of-defun-function values.
1887
1888 2012-09-03 Martin Rudalics <rudalics@gmx.at>
1889
1890 * window.el (temp-buffer-window-setup-hook)
1891 (temp-buffer-window-show-hook): New hooks.
1892 (temp-buffer-window-setup, temp-buffer-window-show)
1893 (with-temp-buffer-window): New functions.
1894 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1895 (special-display-popup-frame): Make sure the window used shows BUFFER.
1896
1897 * help.el (temp-buffer-resize-mode): Fix doc-string.
1898 (resize-temp-buffer-window): New optional argument WINDOW.
1899
1900 * files.el (recover-file, save-buffers-kill-emacs):
1901 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1902
1903 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
1904
1905 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1906 remote definition of `default-directory', ensure we can connect.
1907
1908 2012-09-02 Juri Linkov <juri@jurta.org>
1909
1910 Toggle whitespace matching mode with M-s SPC.
1911 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1912
1913 * isearch.el (search-whitespace-regexp): Doc fix.
1914 Remove cons cell customization.
1915 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1916 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1917 New variables.
1918 (isearch-forward, isearch-forward-regexp): Doc fix.
1919 (isearch-toggle-lax-whitespace): New command.
1920 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1921 (re-search-forward-lax-whitespace)
1922 (re-search-backward-lax-whitespace): New functions.
1923 (isearch-whitespace-regexp): Remove function.
1924 (isearch-query-replace): Let-bind replace-search-function and
1925 replace-re-search-function.
1926 (isearch-occur): Let-bind search-spaces-regexp according to the
1927 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1928 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1929 condition for C-q SPC.
1930 (isearch-search-fun-default): Use new functions mentioned above.
1931 (isearch-search-forward, isearch-search-backward): Remove functions.
1932 (isearch-search): Don't let-bind search-spaces-regexp.
1933 (isearch-lazy-highlight-space-regexp): Remove variable.
1934 (isearch-lazy-highlight-lax-whitespace)
1935 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1936 (isearch-lazy-highlight-new-loop): Use them.
1937 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1938
1939 2012-09-02 Chong Yidong <cyd@gnu.org>
1940
1941 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1942
1943 2012-09-02 Glenn Morris <rgm@gnu.org>
1944
1945 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1946
1947 2012-09-01 Glenn Morris <rgm@gnu.org>
1948
1949 * term.el: Tidy up menu definitions.
1950 (term-mode-map): Use easymenu for In/Out, Complete menus.
1951 (term-pager-break-map): Initialize in the defvar.
1952 (term-terminal-menu, term-signals-menu): Define with easymenu.
1953 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1954 (term-pager-menu): New, extracted from term-process-pager.
1955 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1956 (term-update-mode-line): Propertize line/char and page items.
1957 (term-process-pager): Move keymap initialization elsewhere.
1958
1959 2012-09-01 Martin Rudalics <rudalics@gmx.at>
1960
1961 * window.el (switch-to-prev-buffer): Handle additional values of
1962 BURY-OR-KILL argument. Don't switch in minibuffer window.
1963 (switch-to-next-buffer): Don't switch in minibuffer window.
1964 (quit-restore-window): New function based on quit-window.
1965 Handle additional values of former KILL argument.
1966 (quit-window): Call quit-restore-window with appropriate
1967 interpretation of KILL argument.
1968 (display-buffer-below-selected): New buffer display action
1969 function.
1970
1971 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * minibuffer.el (completion-at-point-functions): Complete docstring
1974 (bug#12254).
1975
1976 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1977
1978 Better seed support for (random).
1979 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1980 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1981 * play/mpuz.el, play/tetris.el, play/zone.el:
1982 * calc/calc-comb.el (math-init-random-base):
1983 * play/blackbox.el (bb-init-board):
1984 * play/life.el (life):
1985 * server.el (server-use-tcp):
1986 * type-break.el (type-break):
1987 Remove unnecessary call to (random t).
1988 * net/sasl.el (sasl-unique-id-function):
1989 Change (random t) to (random), now that the latter is more random.
1990 * play/life.el (life-initialized): Remove no-longer-needed var.
1991
1992 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1993
1994 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1995 Consider frame's buffer predicate when choosing the buffer.
1996 (Bug#12081)
1997
1998 2012-08-30 Richard Stallman <rms@gnu.org>
1999
2000 * simple.el (special-mode-map): Delete binding for `z'.
2001
2002 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2003
2004 * progmodes/compile.el (compilation-always-kill): Doc fix.
2005
2006 2012-08-30 Chong Yidong <cyd@gnu.org>
2007
2008 * window.el (display-buffer-reuse-frames): Make the obsolescence
2009 message more informative.
2010
2011 2012-08-30 Glenn Morris <rgm@gnu.org>
2012
2013 * paren.el (show-paren-delay):
2014 Add a :set function. Doc fix. (Bug#12297)
2015
2016 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2017
2018 * progmodes/compile.el (compilation-always-kill): New var.
2019 (compilation-start): Use it.
2020
2021 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2024 * files.el (read-only-mode): Move to simple.el.
2025
2026 * files.el (read-only-mode): New minor mode.
2027 (toggle-read-only): Use it and mark obsolete.
2028 (find-file--read-only):
2029 * vc/vc.el (vc-next-action, vc-checkout):
2030 * vc/vc-cvs.el (vc-cvs-checkout):
2031 * obsolete/vc-mcvs.el (vc-mcvs-update):
2032 * ffap.el (ffap--toggle-read-only): Update callers.
2033
2034 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2035
2036 * eshell/esh-ext.el (eshell-external-command): Do not examine
2037 remote shell scripts.
2038 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2039
2040 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2041 "/usr/local/sbin".
2042
2043 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2046
2047 2012-08-28 Leo Liu <sdl.web@gmail.com>
2048
2049 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2050 completion-at-point. (Bug#12220)
2051
2052 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2053
2054 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2055
2056 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2059 be buffer-local; add delete-trailing-whitespace (bug#12259).
2060
2061 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2062
2063 * progmodes/hideif.el (hif-compress-define-list):
2064 Fix typo. (Bug#11951)
2065
2066 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2067
2068 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2069 buffer local setting.
2070
2071 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2072 rcirc-encode-coding-system.
2073
2074 2012-08-28 Leo Liu <sdl.web@gmail.com>
2075
2076 * net/rcirc.el (rcirc-split-message): New function.
2077 (rcirc-send-message): Use it. (Bug#12051)
2078
2079 2012-08-28 Juri Linkov <juri@jurta.org>
2080
2081 * info.el (Info-fontify-node): Hide empty lines at the end of
2082 the node. (Bug#12272)
2083
2084 2012-08-27 Drew Adams <drew.adams@oracle.com>
2085
2086 * dired.el (dired-pop-to-buffer): Make window start at beginning
2087 of buffer (Bug#12281).
2088
2089 2012-08-26 Chong Yidong <cyd@gnu.org>
2090
2091 * window.el (special-display-regexps, special-display-frame-alist)
2092 (special-display-buffer-names, special-display-function)
2093 (display-buffer-reuse-frames): Mark as obsolete.
2094
2095 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2096
2097 * help.el (help-print-return-message): Don't treat
2098 display-buffer-reuse-frames specially.
2099
2100 2012-08-26 Chong Yidong <cyd@gnu.org>
2101
2102 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2103 New variable, replacing gdb-frame-parameters.
2104 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2105 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2106 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2107 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2108 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2109 the functions directly with gdb-display-buffer-other-frame-action.
2110 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2111 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2112 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2113 (gdb-display-registers-buffer): Define directly.
2114 (def-gdb-display-buffer): Macro deleted.
2115 (gdb-display-buffer): Remove second and third args, callers don't
2116 use them. Defer to the default display-buffer behavior, apart
2117 from making windows dedicated.
2118 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2119
2120 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2121
2122 * window.el (display-buffer-pop-up-frame): Handle a
2123 pop-up-frame-parameters alist entry.
2124 (display-buffer): Document it.
2125
2126 2012-08-26 Chong Yidong <cyd@gnu.org>
2127
2128 * isearch.el (search-whitespace-regexp): Make string and nil
2129 values apply to both ordinary and regexp search. Allow a cons
2130 cell value to distinguish between the two.
2131 (isearch-whitespace-regexp, isearch-search-forward)
2132 (isearch-search-backward): New functions.
2133 (isearch-occur, isearch-search-fun-default, isearch-search)
2134 (isearch-lazy-highlight-new-loop): Use them.
2135 (isearch-forward, isearch-forward-regexp): Doc fix.
2136
2137 2012-08-26 Chong Yidong <cyd@gnu.org>
2138
2139 * faces.el (help-argument-name): Always inherit from italic
2140 (Bug#12213).
2141
2142 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2143
2144 * window.el (window--even-window-heights): Even heights when
2145 WINDOW and the selected window form a vertical combination.
2146 (display-buffer-use-some-window): Provide that window used gets
2147 sized back by quit-window. (Bug#11880) and (Bug#12091)
2148
2149 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2150
2151 Fix file time stamp problem with bzr and CVS (Bug#12001).
2152 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2153 in the file's time stamp, since the version control system loses
2154 that information.
2155
2156 2012-08-22 Juri Linkov <juri@jurta.org>
2157
2158 * info.el (Info-fontify-node): Hide the suffix of the
2159 Info file name in the header line. (Bug#12187)
2160
2161 2012-08-22 Glenn Morris <rgm@gnu.org>
2162
2163 * calendar/cal-tex.el (cal-tex-weekly-common):
2164 Restore leading blank page.
2165
2166 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2167
2168 * misc.el (forward-to-word, backward-to-word): Activate or extend
2169 the region under `shift-select-mode'. (Bug#12231)
2170
2171 2012-08-22 Bastien Guerry <bzg@gnu.org>
2172
2173 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2174 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2175 gives details on why the space is never needed.
2176
2177 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2178
2179 * window.el (walk-window-tree, window-with-parameter):
2180 New optional argument MINIBUF to control whether these functions
2181 should run on the minibuffer window.
2182 (window-at-side-list): Don't operate on minibuffer window.
2183 (window-in-direction): Simplify and rewrite doc-string.
2184 (window--size-ignore): Rename to window--size-ignore-p.
2185 Update callers.
2186 (display-buffer-in-atom-window, window--major-non-side-window)
2187 (window--major-side-window, display-buffer-in-major-side-window)
2188 (delete-side-window, display-buffer-in-side-window):
2189 New functions.
2190 (window--side-check, window-deletable-p, delete-window)
2191 (delete-other-windows, split-window): Handle side windows and
2192 atomic windows appropriately.
2193 (window--display-buffer): Call display-buffer-record-window also
2194 when the window buffer did not change.
2195
2196 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2197
2198 * help-fns.el (help-fns--key-bindings):
2199 Abbreviate non-symbol remap targets. (Bug#12174)
2200
2201 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2202
2203 * dired.el (dired-mark-remembered): Don't clobber point.
2204 (Bug#11795)
2205
2206 2012-08-22 Glenn Morris <rgm@gnu.org>
2207
2208 * progmodes/bug-reference.el (bug-reference): New custom group.
2209 (bug-reference-bug-regexp): Make it a defcustom.
2210
2211 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2212
2213 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2214 (js-paren-indent-offset, js-square-indent-offset)
2215 (js-curly-indent-offset): Add :safe (Bug#12257).
2216
2217 2012-08-22 Edward O'Connor <hober0@gmail.com>
2218
2219 * json.el (json-key-format): Add error properties.
2220 (json-encode-key): New function.
2221 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2222 Use json-encode-key.
2223
2224 2012-08-22 Glenn Morris <rgm@gnu.org>
2225
2226 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2227 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2228 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2229 Update for above change.
2230
2231 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2232
2233 * cus-face.el (custom-face-attributes): Fix customize type for the
2234 :underline attribute. (Bug#11805)
2235
2236 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2237
2238 * window.el (window-point-1, set-window-point-1): Remove.
2239 (window-in-direction, record-window-buffer)
2240 (set-window-buffer-start-and-point, split-window-below)
2241 (window--state-get-1, display-buffer-record-window):
2242 Replace calls to window-point-1 and set-window-point-1 by calls to
2243 window-point and set-window-point respectively.
2244
2245 2012-08-21 Glenn Morris <rgm@gnu.org>
2246
2247 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2248 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2249 Use it.
2250
2251 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2252 (cal-tex-shortday): New function.
2253 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2254 (cal-tex-cursor-filofax-daily): Use the above.
2255
2256 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2257 New functions.
2258 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2259 (cal-tex-cursor-filofax-week): Use them.
2260
2261 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2262 New constants.
2263 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2264 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2265
2266 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2267 (cal-tex-end-document): Don't rely on buffer name.
2268
2269 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2270 Use cal-tex-vspace.
2271 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2272 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2273 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2274 Use cal-tex-arg.
2275
2276 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2277 (cal-tex-cursor-week, cal-tex-cursor-week2)
2278 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2279 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2280 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2281 (cal-tex-insert-preamble, cal-tex-b-document)
2282 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2283 Improve cal-tex-cmd usage.
2284
2285 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2286 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2287 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2288 (cal-tex-weekly-paper): New function.
2289 (cal-tex-cursor-week, cal-tex-cursor-week2)
2290 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2291 (cal-tex-cursor-day): Use it.
2292
2293 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2294 (cal-tex-cursor-filofax-week): Remove leading blank page.
2295
2296 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2297 Add autoload cookie. For now at least, don't use color, since
2298 no other cal-tex function does.
2299
2300 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2301 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2302 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2303
2304 2012-08-21 Juri Linkov <juri@jurta.org>
2305
2306 * info.el (Info-file-attributes): New variable.
2307 (info-insert-file-contents): Add file attributes to
2308 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2309 `Info-toc-nodes' when previous modtime of the Info file is less
2310 than new modtime.
2311 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2312 of info.el. (Bug#12230)
2313
2314 2012-08-20 Glenn Morris <rgm@gnu.org>
2315
2316 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2317 * calendar/holidays.el (calendar-holiday-list):
2318 Report errors with display-warning rather than beep'n'sleep.
2319
2320 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2321
2322 * net/tramp.el (tramp-accept-process-output): Accept only output
2323 from PROC. Otherwise, process filters and sentinels might be
2324 confused. (Bug#12145)
2325
2326 2012-08-20 Chong Yidong <cyd@gnu.org>
2327
2328 * descr-text.el (describe-text-properties-1): Use overlays-in to
2329 report on empty overlays (Bug#3322).
2330
2331 2012-08-20 Glenn Morris <rgm@gnu.org>
2332
2333 * mail/rmailout.el (rmail-output-read-file-name):
2334 Trap and report errors in rmail-output-file-alist elements.
2335
2336 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2337 since most non-font-lock faces are not also variables).
2338
2339 2012-08-20 Edward Reingold <reingold@iit.edu>
2340
2341 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2342 New function. (Bug12160)
2343
2344 2012-08-19 Glenn Morris <rgm@gnu.org>
2345
2346 * mail/rmailout.el (rmail-output-read-file-name):
2347 Fix previous change (when the alist is nil or does not match).
2348
2349 2012-08-19 Chong Yidong <cyd@gnu.org>
2350
2351 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2352 (Bug#12228).
2353
2354 2012-08-18 Chong Yidong <cyd@gnu.org>
2355
2356 * simple.el (yank-handled-properties): New defcustom.
2357 (yank-excluded-properties): Add font-lock-face and category.
2358 (yank): Doc fix.
2359
2360 * subr.el (remove-yank-excluded-properties):
2361 Obey yank-handled-properties. The special handling of font-lock-face
2362 and category is now done this way, instead of being hard-coded.
2363 (insert-for-yank-1): Remove font-lock-face handling.
2364 (yank-handle-font-lock-face-property)
2365 (yank-handle-category-property): New function.
2366
2367 2012-08-17 Glenn Morris <rgm@gnu.org>
2368
2369 * mail/rmailout.el (rmail-output-read-file-name):
2370 Check rmail-output-file-alist against the full message body
2371 in the correct rmail buffer. (Bug#12214)
2372
2373 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2374
2375 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2376 Eliminate superfluous prompt. (Bug#12203)
2377
2378 2012-08-17 Chong Yidong <cyd@gnu.org>
2379
2380 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2381 font spec, set the font directly (Bug#3228).
2382
2383 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2384
2385 * window.el (delete-window): Fix last fix.
2386
2387 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2388
2389 * window.el (window-valid-p): Move to window.c.
2390 (window-child, window-child-count, window-last-child)
2391 (window-normalize-window, window-combined-p)
2392 (window-combinations, window-atom-root, window-min-size)
2393 (window-sizable, window-sizable-p, window-size-fixed-p)
2394 (window-min-delta, window-max-delta, window--resizable)
2395 (window--resizable-p, window-resizable, window-total-size)
2396 (window-full-height-p, window-full-width-p, window-body-size)
2397 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2398 (minimize-window, window-deletable-p, delete-window)
2399 (delete-other-windows, set-window-buffer-start-and-point)
2400 (next-buffer, previous-buffer, split-window, balance-windows-2)
2401 (set-window-text-height, window-buffer-height)
2402 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2403 (truncated-partial-width-window-p): Minor code adjustments.
2404 In doc-strings state whether the argument window has to denote a
2405 live, valid or any window.
2406
2407 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2408
2409 * progmodes/subword.el (subword-forward-function)
2410 (subword-backward-function, subword-forward-regexp)
2411 (subword-backward-regexp): New variables.
2412 (subword-forward, subword-forward-internal, subword-backward-internal):
2413 Use new variables, eg so that different "word" definitions
2414 can be easily used. (Bug#11411)
2415
2416 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2417
2418 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2419 for composite selectors.
2420 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2421 operation just because we can't find a previous revision.
2422
2423 2012-08-15 Chong Yidong <cyd@gnu.org>
2424
2425 * frame.el (set-frame-font): Accept font objects.
2426
2427 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2430
2431 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2432
2433 * man.el (Man-overstrike-face, Man-underline-face)
2434 (Man-reverse-face): Remove variables.
2435 (Man-overstrike, Man-underline, Man-reverse): New faces.
2436 (Man-fontify-manpage): Use them instead of the variables.
2437 (Man-cleanup-manpage): Comment change.
2438 (Man-ansi-color-map): New variable.
2439 (Man-fontify-manpage): Use it.
2440 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2441
2442 Implement ANSI SGR parameters 22-27 (bug#12146).
2443 * ansi-color.el (ansi-colors): Doc fix.
2444 (ansi-color-context, ansi-color-context-region): Doc fix.
2445 (ansi-color--find-face): New function.
2446 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2447 Rename the local variable `face' to `codes' since it is now a list of
2448 ansi codes. Doc fix.
2449 (ansi-color-get-face): Remove.
2450 (ansi-color-parse-sequence): New function, derived from
2451 ansi-color-get-face.
2452 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2453 codes 22-27.
2454
2455 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * subr.el (read-passwd): Allow use from a minibuffer.
2458
2459 2012-08-14 Eli Zaretskii <eliz@gnu.org>
2460
2461 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2462 inside comments and strings as identifiers.
2463
2464 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2465 expression to evaluate. This allows to evaluate expressions with
2466 embedded whitespace.
2467 (gud-tooltip-tips): Add a blank before the newline in the
2468 message-box text, for the benefit of message-box emulation on
2469 MS-Windows.
2470
2471 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2472 messages from GDB, pop them up in a tooltip to give feedback to
2473 user.
2474 (gdb-tooltip-print-1): Quote the expression to evaluate.
2475 This allows to evaluate expressions with embedded whitespace.
2476 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2477 if the TTY name is nil or empty (which happens when communicating
2478 with the inferior via pipes, e.g. on MS-Windows).
2479 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2480 don't send that to the GUD buffer.
2481
2482 2012-08-14 Glenn Morris <rgm@gnu.org>
2483
2484 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2485 Optimize away setq-default with no args, as for setq. (Bug#12195)
2486
2487 2012-08-14 Chong Yidong <cyd@gnu.org>
2488
2489 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2490
2491 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2492 (Bug#12085).
2493
2494 2012-08-14 Glenn Morris <rgm@gnu.org>
2495
2496 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2497
2498 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
2499
2500 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2501 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2502 Use cached shell name.
2503
2504 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2505
2506 * progmodes/python.el (python-shell-send-string):
2507 (python-shell-send-setup-code): Do not use `format' with `message'.
2508
2509 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2510
2511 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2512 (ruby-percent-literal-beg-re): New constant.
2513 (ruby-syntax-general-delimiters-goto-beg): Rename to
2514 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2515 (ruby-syntax-propertize-general-delimiters): Rename to
2516 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2517 popular term. Adjust comments everywhere.
2518 (ruby-syntax-propertize-percent-literal): Only propertize when not
2519 inside a simple string or comment. When the literal is unclosed,
2520 leave the text after it unpropertized.
2521 (ruby-syntax-methods-before-regexp): New constant.
2522 (ruby-syntax-propertize-function): Use it to recognize regexps.
2523 Don't look at the text after regexp, just use the whitelist.
2524
2525 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2526
2527 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2528 non-nil always load the compiled file if it exists. (Bug#12197)
2529
2530 2012-08-14 Chong Yidong <cyd@gnu.org>
2531
2532 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2533 (hi-lock-set-pattern): When deciding whether to use font lock or
2534 overlays, look at font-lock-mode instead of font-lock-fontified
2535 (Bug#12168).
2536 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2537 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2538
2539 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2540
2541 * subr.el (internal--after-with-selected-window): Fix typo
2542 (Bug#12193).
2543
2544 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2545
2546 Use `completion-table-dynamic' for completion functions.
2547 * progmodes/python.el
2548 (python-shell-completion--do-completion-at-point)
2549 (python-shell-completion--get-completions):
2550 Remove functions.
2551 (python-shell-completion-complete-at-point): New function.
2552 (python-completion-complete-at-point): Use it.
2553
2554 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2555
2556 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2557 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2558
2559 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * subr.el (function-get): Refine `autoload' arg so it can also
2562 autoload functions for gv.el (bug#12191).
2563 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2564 autoloads macros.
2565
2566 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2567 Prefer pcase-let over destructuring-bind.
2568 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2569 Also, remove whitespace as we go, rather than after accumulating the
2570 various places.
2571
2572 * subr.el (internal--before-with-selected-window)
2573 (internal--after-with-selected-window): Fix typo seleted->selected.
2574 (with-selected-window): Adjust callers.
2575 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2576
2577 2012-08-13 Bastien Guerry <bzg@gnu.org>
2578
2579 * window.el (special-display-popup-frame): Minor docstring
2580 enhancement. (Bug#12172)
2581
2582 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2583
2584 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2585 type 1-6.
2586 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2587 extended headers.
2588
2589 * files.el (hack-local-variables-filter): Remove useless eval.
2590
2591 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2592
2593 * subr.el (with-selected-window): Fix last change.
2594
2595 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2596
2597 * subr.el (internal--before-with-seleted-window)
2598 (internal--after-with-seleted-window): New functions.
2599 (with-selected-window): Use them, to replace dependency on
2600 tty-top-frame.
2601
2602 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2603
2604 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2605 binding for `newline'.
2606 (ruby-move-to-block): When moving backward, stop at block opening,
2607 not indentation.
2608 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2609 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2610 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2611 `ruby-toggle-block'.
2612
2613 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2614
2615 * ibuffer.el (ibuffer-do-toggle-read-only):
2616 * dired.el (dired-toggle-read-only):
2617 * buff-menu.el (Buffer-menu-toggle-read-only):
2618 * bindings.el (mode-line-toggle-read-only):
2619 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2620
2621 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2622
2623 * descr-text.el (describe-char): Put the overlays over the
2624 "displayed as" character.
2625
2626 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2627
2628 * calc/calc-units.el (math-default-units-table): Give an
2629 initial value.
2630 (math-put-default-units): Add options to put composite units and
2631 unit systems in the default units table.
2632 (calc-convert-units): Send composite units to
2633 `math-put-default-units' when appropriate.
2634
2635 2012-08-11 Glenn Morris <rgm@gnu.org>
2636
2637 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2638
2639 * tutorial.el (help-with-tutorial):
2640 * emacs-lisp/copyright.el (copyright-update-directory):
2641 * emacs-lisp/autoload.el (autoload-find-generated-file)
2642 (autoload-find-file): Disable local eval: (for insurance).
2643
2644 * files.el (hack-local-variables-filter): If an eval: form is not
2645 known to be safe, and enable-local-variables is :safe, then ignore
2646 the form totally, as is done for non-eval forms. (Bug#12155)
2647 This is CVE-2012-3479.
2648
2649 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2651 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2652 (rx-form): Simplify.
2653
2654 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2655
2656 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2657 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2658 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2659 (ruby-syntax-propertize-function): Adjust for changes in
2660 `ruby-syntax-propertize-heredoc'.
2661
2662 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2663
2664 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2665 binding (use `M-;' instead).
2666 (ruby-singleton-class-p): New function.
2667 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2668
2669 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2672
2673 2012-08-10 Chong Yidong <cyd@gnu.org>
2674
2675 * progmodes/python.el (python-shell-get-process-name): Don't mess
2676 with same-window-buffer-names.
2677
2678 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2679 (eshell-remove-from-window-buffer-names): Make obsolete.
2680 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2681 (eshell): Just use pop-to-buffer-same-window instead.
2682
2683 2012-08-10 Chong Yidong <cyd@gnu.org>
2684
2685 * bindings.el: Bind M-= back to count-words-region.
2686
2687 * simple.el (count-words-region): Accept a prefix arg for acting
2688 on the entire buffer.
2689 (count-words--buffer-message): New helper function.
2690
2691 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2694 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2695 (event-start, event-end): Use posn-at-point to return a more
2696 informative posn.
2697 (posnp): New function.
2698 * mouse.el (popup-menu-normalize-position): Use it.
2699
2700 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2701
2702 * mouse.el (popup-menu-normalize-position): New function.
2703 (popup-menu): Use `popup-menu-normalize-position' to normalize
2704 the form for POSITION argument.
2705
2706 * term/x-win.el (x-menu-bar-open):
2707 Use the value returend from (posn-at-point) as position
2708 passed to `popup-menu'.
2709
2710 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2711
2712 * calc/calccomp.el (math-compose-expr): Add extra argument
2713 indicating that parentheses should be put around products in
2714 denominators. Give multiplication precedence over division during
2715 composition.
2716
2717 2012-08-09 Chong Yidong <cyd@gnu.org>
2718
2719 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2720 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2721 (Man-untabify-command, manual-program): Convert to defcustom
2722 (Bug#10429).
2723
2724 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2725
2726 * descr-text.el (describe-char): Don't insert extra newlines
2727 (Bug#10127).
2728
2729 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2730 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2731
2732 * align.el (align-region): Delete temporary markers (Bug#10047).
2733 Plus some code cleanups.
2734
2735 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2736
2737 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2738 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2739 (python-shell-internal-last-output): Use make-local-variable
2740 instead of make-variable-buffer-local.
2741
2742 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2743
2744 * progmodes/python.el: Enhancements to forward-sexp.
2745 (python-nav-forward-sexp): Rename from
2746 python-nav-forward-sexp-function.
2747 (python-nav--forward-sexp, python-nav--backward-sexp):
2748 New functions.
2749
2750 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2751
2752 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2753 modes and simplification modes.
2754
2755 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2756
2757 * delsel.el (delete-selection-pre-hook): Don't propagate the
2758 file-supersession signals (bug#12161).
2759
2760 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2763 (cl-map-extents): Add compatibility aliases (bug#12135).
2764
2765 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2766
2767 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2768 tests by `ignore-error'.
2769 (tramp-find-shell): Open also a new shell, when cache is already
2770 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2771
2772 2012-08-08 Juri Linkov <juri@jurta.org>
2773
2774 * bookmark.el: Add `defaults' property to the bookmark record.
2775 (bookmark-current-buffer): Doc fix.
2776 (bookmark-make-record): Add `defaults' property with default values
2777 to the bookmark record.
2778 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2779 with `bookmark-insert-current-bookmark'.
2780 (bookmark-set): Get `defaults' property from the bookmark record
2781 and use it in `read-from-minibuffer'.
2782 (bookmark-insert-current-bookmark): Remove function.
2783
2784 * info.el (Info-bookmark-make-record): Add `defaults' property
2785 with values of canonical Info node name, the current Info file
2786 name and the current Info node name. (Bug#12107)
2787
2788 2012-08-08 Juri Linkov <juri@jurta.org>
2789
2790 * files.el (basic-save-buffer): Use `buffer-name' as the default
2791 of `read-file-name' when buffer is not visiting a file (bug#12128).
2792
2793 2012-08-08 Juri Linkov <juri@jurta.org>
2794
2795 * info.el (Info-isearch-search): Doc fix.
2796 (Info-search): Change search-failed message from "initial node" to
2797 "end of node" (bug#12078).
2798 (Info-isearch-search): Change `isearch-string-state' to
2799 `isearch--state-string'.
2800
2801 2012-08-08 Glenn Morris <rgm@gnu.org>
2802
2803 * language/persian.el: Remove file.
2804 * language/misc-lang.el: Move unique part of persian.el here.
2805 * loadup.el: Remove language/persian.
2806
2807 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2808
2809 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2810
2811 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2812
2813 * progmodes/python.el Fixed defsubst warning.
2814 (python-syntax-context) Rename from python-info-ppss-context.
2815 (python-syntax-context-type): Rename from
2816 python-info-ppss-context-type.
2817 (python-syntax-comment-or-string-p): Rename from
2818 python-info-ppss-comment-or-string-p.
2819
2820 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2821
2822 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2823
2824 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2825
2826 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2827 a defcustom that is quoted with backquote.
2828
2829 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2830 Fix handling of interactive spec when the body uses return.
2831 (math-do-arg-check, math-define-function-body): Use backquote forms.
2832 * calc/calc-ext.el (math-defcache): Likewise.
2833 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2834 * allout.el (allout-new-exposure): Likewise.
2835 * calc/calcalg2.el (math-tracing-integral): Likewise.
2836 * info.el (Info-last-menu-item): Likewise.
2837 * emulation/vip.el (vip-loop): Likewise.
2838 * textmodes/artist.el (artist-funcall): Likewise.
2839 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2840 Construct menu-item directly.
2841
2842 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2843 Don't declare.
2844
2845 2012-08-07 Chong Yidong <cyd@gnu.org>
2846
2847 * simple.el (deactivate-mark): Preserve text properties when
2848 saving the primary selection (Bug#8384).
2849
2850 2012-08-07 Kevin Ryde <user42@zip.com.au>
2851
2852 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2853 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2854 and continue processing (Bug#12110).
2855
2856 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2859 syntax-propertize-function (bug#10095).
2860
2861 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2864 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2865 describe-function-1.
2866 (describe-function-1): Use them. Move compiler macro after sig.
2867 (help-fns--compiler-macro): Use function-get. Assume we're already in
2868 standard-output. Adjust layout to new call order.
2869
2870 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2871 re-binding a symbol that has a symbol-macro (bug#12119).
2872
2873 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2874
2875 * language/persian.el: New file. (Bug#11812)
2876 * loadup.el: Add language/persian.el.
2877
2878 2012-08-06 Chong Yidong <cyd@gnu.org>
2879
2880 * window.el (window--maybe-raise-frame): New function.
2881 (window--display-buffer): Split off from here.
2882 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2883 (display-buffer-pop-up-window, display-buffer-use-some-window):
2884 Obey an inhibit-switch-frame action alist entry.
2885 (display-buffer): Update doc.
2886
2887 * replace.el (occur-after-change-function): Avoid losing focus by
2888 using the inhibit-switch-frame display parameter (Bug#12139).
2889
2890 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2891
2892 Make internal shell process buffer names start with space.
2893 * progmodes/python.el (python-shell-make-comint): Add optional
2894 argument INTERNAL.
2895 (run-python-internal): Use it.
2896 (python-shell-internal-get-or-create-process): Check for new
2897 internal buffer names.
2898
2899 2012-08-06 Glenn Morris <rgm@gnu.org>
2900
2901 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2902 Do less getting and setting of environment variables.
2903
2904 2012-08-05 Chong Yidong <cyd@gnu.org>
2905
2906 * proced.el (proced): Add substitution string to docstring to
2907 trigger autoloading of the proced library on C-h f (Bug#1768).
2908
2909 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2910 Don't show defvars which have no second argument (Bug#8638).
2911
2912 * imenu.el (imenu-generic-expression): Move documentation here
2913 from imenu--generic-function.
2914 (imenu--generic-function): Refer to imenu-generic-expression.
2915
2916 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
2917
2918 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2919 indentation declaration.
2920 (viper-loop): Add indentation declaration (Bug#7025).
2921
2922 2012-08-05 Chong Yidong <cyd@gnu.org>
2923
2924 * help-fns.el (describe-variable): Add hyperlink for
2925 directory-local variables files. Improve buffer-local and
2926 permanent-local reporting; suggested by MON KEY (Bug#6644).
2927
2928 * help-mode.el (help-dir-local-var-def): New button type.
2929
2930 * files.el (kill-buffer-hook): Provide a defvar.
2931
2932 2012-08-05 Glenn Morris <rgm@gnu.org>
2933
2934 * eshell/esh-ext.el (eshell/addpath):
2935 Also update eshell-path-env. (Bug#12013)
2936
2937 2012-08-05 Chong Yidong <cyd@gnu.org>
2938
2939 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2940
2941 * fringe.el (fringe-styles): Add docstring.
2942 (fringe--check-mode): New function.
2943 (set-fringe-mode, set-fringe-style): Use it.
2944 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2945
2946 * files.el (set-auto-mode): Fix invalid setq call.
2947
2948 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * isearch.el: Misc simplification; use defstruct.
2951 (isearch-mode-map): Dense maps now work like sparse ones.
2952 (isearch--state): New defstruct.
2953 (isearch-string-state, isearch-message-state, isearch-point-state)
2954 (isearch-success-state, isearch-forward-state)
2955 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2956 (isearch-wrapped-state, isearch-barrier-state)
2957 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2958 replaced by defstruct's accessors.
2959 (isearch--set-state): Rename from isearch-top-state and change
2960 calling convention.
2961 (isearch-push-state): Use new isearch--get-state.
2962 (isearch-toggle-word): Disable regexp when enabling word.
2963 (isearch-message-prefix): Remove unused arg _c-q-hack.
2964 (isearch-message-suffix): Remove unused arg _ellipsis.
2965
2966 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2967
2968 * simple.el (list-processes--refresh): For a server use :host or
2969 :local as the address.
2970 (list-processes): Doc fix.
2971
2972 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2973
2974 * lisp/mpc.el: Support password in host argument.
2975 (mpc--proc-connect): Parse and use new password element.
2976 Set mpc-proc variable instead of returning process.
2977 (mpc-proc): Adjust accordingly.
2978
2979 2012-08-03 Eli Zaretskii <eliz@gnu.org>
2980
2981 * whitespace.el (whitespace-display-mappings): Use Unicode
2982 codepoints, instead of emacs-mule codepoints. See
2983 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2984 for the details.
2985
2986 * files.el (file-truename): Don't skip symlink-chasing part on
2987 windows-nt. Incorporate the resolution of 8+3 short aliases on
2988 Windows into the loop that recursively chases symlinks.
2989 Compare directory and its parent case-insensitively on MS-Windows and
2990 MS-DOS.
2991
2992 2012-08-03 Chong Yidong <cyd@gnu.org>
2993
2994 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2995
2996 * sort.el (sort-regexp-fields): Doc fix.
2997
2998 2012-08-03 Tassilo Horn <tsdh@gnu.org>
2999
3000 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3001 labels regex position point at the expected place.
3002
3003 2012-08-03 MON KEY <monkey@sandpframing.com>
3004
3005 * net/imap.el (imap-interactive-login, imap-authenticate)
3006 (imap-mailbox-lsub, imap-mailbox-list)
3007 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3008 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3009 (imap-parse-response): Doc fix.
3010
3011 2012-08-03 João Távora <joaotavora@gmail.com>
3012
3013 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3014 if sexp scanning does not move point (Bug#5734).
3015
3016 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3017
3018 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3019 Add listings, minted, and ctable packages.
3020 (reftex-label-alist-builtin): Move listings, minted, and ctable
3021 entries before LaTeX.
3022 (reftex-label-alist): Docfix.
3023
3024 2012-08-02 Bastien Guerry <bzg@gnu.org>
3025
3026 * replace.el (occur): Fix docstring (bug#12122).
3027
3028 2012-08-02 Glenn Morris <rgm@gnu.org>
3029
3030 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3031
3032 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3033
3034 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3035 * international/mule-cmds.el: Create
3036 inactivate-current-input-method-function as an obsolete alias for
3037 deactivate-current-input-method-function. See Katsumi Yamaoka in
3038 <http://bugs.gnu.org/10150#46>.
3039
3040 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3041
3042 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3043 of nested `if's.
3044
3045 2012-08-01 Glenn Morris <rgm@gnu.org>
3046
3047 * progmodes/autoconf.el (autoconf-definition-regexp):
3048 Add AH_TEMPLATE, adjust submatch numbering.
3049 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3050 (autoconf-current-defun-function): Update for above change.
3051 (autoconf-current-defun-function): First skip to end of current word.
3052
3053 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3054
3055 * calendar/cal-html.el (cal-html-insert-agenda-days):
3056 Fix typo. (Bug#12018)
3057
3058 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3059
3060 Shell processes: enhancements to startup and CEDET compatibility.
3061 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3062 (python-shell-make-comint): accept-process-output at startup.
3063 (run-python-internal): Set inferior-python-mode-hook to nil.
3064 (python-shell-internal-get-or-create-process): call sit-for.
3065 (python-preoutput-result): Add obsolete alias.
3066 (python-shell-internal-send-string): Use it.
3067 (python-shell-send-setup-code): Remove call to
3068 accept-process-output.
3069
3070 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3071
3072 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3073 (Bug#12108)
3074
3075 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3076
3077 * calc-mode.el (calc-basic-simplification-mode): Rename from
3078 `calc-limited-simplification-mode'.
3079 (calc-alg-simplification-mode): New function.
3080 (calc-set-simplify-mode): Adjust message.
3081
3082 * calc.el (calc-set-mode-line): Adjust mode line display for
3083 basic simplification mode.
3084
3085 * calc-help.el (calc-m-prefix-help): Update help message.
3086
3087 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3088 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3089
3090 2012-07-31 Bastien Guerry <bzg@gnu.org>
3091
3092 * man.el (man): Fix comment. (bug#12101)
3093
3094 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3095
3096 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3097 Don't return a non-nil value when no suitable buffer was found.
3098
3099 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3100
3101 * progmodes/python.el (run-python-internal): Disable font lock for
3102 internal shells.
3103
3104 2012-07-30 Stefan Merten <smerten@oekonux.de>
3105
3106 * rst.el: Silence `checkdoc-ispell'.
3107 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3108 (rst-official-version, rst-official-cvs-rev)
3109 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3110 (rst-mode-map): New key binding.
3111
3112 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3113
3114 Update .PHONY listings in makefiles.
3115 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3116 autoloads, update-subdirs, updates, bzr-update, update-authors,
3117 compile-onefile, compile-calc, backup-compiled-files,
3118 compile-after-backup, compile-one-process, mh-autoloads,
3119 bootstrap-clean, distclean, maintainer-clean.
3120
3121 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3122
3123 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3124 (calc-set-mode-line): Don't display "AlgSimp ".
3125
3126 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3127 (calc-lim-simplify-mode): New function.
3128 (calc-set-simplify-mode): Default to 'alg.
3129 (calc-default-simplify-mode): Make algebraic simplifications
3130 the default.
3131
3132 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3133 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3134
3135 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3136 indicate new simplification modes.
3137
3138 * calc/README: Mention new default simplification mode.
3139
3140 * calc/calc.el (math-normalize-error): New variable.
3141 (math-normalize): Set `math-normalize-error' to t
3142 when there's an error.
3143
3144 * calc/calc-alg.el (math-simplify): Don't simplify when
3145 `math-normalize' returns an error.
3146
3147 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3148
3149 * international/mule-cmds.el (set-locale-environment): Revert last
3150 change, since display-graphic-p returns nil when this function is
3151 called during startup. Instead...
3152
3153 * term/w32console.el (terminal-init-w32console): ...setup the
3154 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3155
3156 2012-07-29 Juri Linkov <juri@jurta.org>
3157
3158 * simple.el (goto-line): Don't display default line number in the
3159 prompt because it should be displayed by `read-number' (bug#9952).
3160 Add the current line number to the defaults of `goto-line' to
3161 allow its easier modification by users with `M-n' (bug#9201).
3162
3163 * subr.el (read-number): Support multiple default values like in
3164 other minibuffer reading functions. Replace `read' with
3165 `string-to-number' for consistency with `number-to-string'.
3166
3167 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3168
3169 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3170 * emulation/viper-init.el (viper-deactivate-input-method-action):
3171 Rename from viper-inactivate-input-method-action.
3172 (viper-deactivate-input-method):
3173 Rename from viper-inactivate-input-method.
3174 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3175 * international/mule-cmds.el (deactivate-input-method):
3176 Rename from inactivate-input-method.
3177 Also run input-method-deactivate-hook.
3178 (deactivate-current-input-method-function):
3179 Rename from inactivate-current-input-method-function.
3180 (input-method-deactivate-hook): New hook.
3181 (input-method-inactivate-hook): Mark obsolete.
3182 (inactivate-input-method): Mark obsolete.
3183
3184 * international/quail.el (quail-activate):
3185 Also run quail-deactivate-hook.
3186 (quail-deactivate): Rename from quail-inactivate.
3187 * international/robin.el (robin-activate):
3188 Also run robin-deactivate-hook.
3189 (robin-deactivate): Rename from robin-inactivate.
3190
3191 2012-07-29 Chong Yidong <cyd@gnu.org>
3192
3193 * simple.el (indicate-copied-region): New function.
3194 (kill-ring-save): Split off from here.
3195
3196 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3197 (kill-rectangle): Set deactivate-mark to t on read-only error.
3198
3199 * register.el (copy-to-register, copy-rectangle-to-register):
3200 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3201 (append-to-register, prepend-to-register):
3202 Call 2012-07-29 Juri Linkov <juri@jurta.org>
3203
3204 * simple.el (async-shell-command-buffer): New defcustom.
3205 (shell-command): Use it. (Bug#4719)
3206
3207 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3208
3209 * international/mule-cmds.el (set-locale-environment): In a
3210 console session on MS-Windows, set up keyboard and terminal
3211 encoding from the OEM codepage, not the ANSI codepage.
3212 (Bug#12055)
3213
3214 2012-07-28 Chong Yidong <cyd@gnu.org>
3215
3216 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3217 gdb-get-location.
3218
3219 2012-07-28 Leo Liu <sdl.web@gmail.com>
3220
3221 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3222 the alist (bug#12029).
3223
3224 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3225
3226 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3227 (compile-always, compile-first)
3228 ($(lisp)/calendar/cal-loaddefs.el)
3229 ($(lisp)/calendar/diary-loaddefs.el)
3230 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3231 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3232 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3233 instead of on update-subdirs.
3234 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3235
3236 2012-07-28 Chong Yidong <cyd@gnu.org>
3237
3238 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3239 directory if vc-deduce-backend returns nil (Bug#7350).
3240
3241 * simple.el (delete-trailing-lines): New option.
3242 (delete-trailing-whitespace): Obey it (Bug#11879).
3243
3244 2012-07-28 David Engster <deng@randomsample.de>
3245
3246 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3247 Explanation of new 'symbol-qnames feature in doc-strings.
3248 (xml-maybe-do-ns): Return expanded names as plain symbols if
3249 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3250 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3251
3252 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3253
3254 Consistent completion in inferior python with emacs -nw.
3255 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3256 binding in inferior-python-mode-map with "\t".
3257 (python-shell-completion-complete-at-point)
3258 (python-completion-complete-at-point): Remove interactive spec.
3259
3260 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3261
3262 * calc/calccomp.el (math-compose-expr): Undo previous change.
3263
3264 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3265
3266 * progmodes/python.el (python-mode-map): Add keybinding for
3267 run-python.
3268 (python-shell-make-comint): Fix pop-to-buffer call.
3269 (run-python): Autoload. New arg SHOW.
3270 (python-shell-get-or-create-process): Do not pop python process
3271 buffer.
3272
3273 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3274
3275 * notifications.el (notifications-on-action-signal)
3276 (notifications-on-closed-signal): Use also the bus address for the map.
3277 (notifications-notify, notifications-close-notification)
3278 (notifications-get-capabilities): Add optional argument BUS.
3279
3280 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3281
3282 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3283 Add support for the lstlisting and minted environments, and for the
3284 ctable macro.
3285 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3286 labels written in keyvals syntax.
3287
3288 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3289
3290 * calc/calccomp.el (math-compose-expr): Use parentheses when
3291 there is a product in the denominator of a fraction.
3292
3293 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3294
3295 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3296 ($(lisp)/calendar/diary-loaddefs.el)
3297 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3298 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3299 Fixes failures in parallel bootstrap because subdirs.el is being
3300 rewritten while the autoload files are built at the same time,
3301 which needs to load subdirs.el.
3302
3303 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3304
3305 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3306 (mouse-drag-line): Don't exit tracking when a switch-frame or
3307 switch-window event occurs (Bug#12006).
3308
3309 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * mouse.el (popup-menu): Fix last change.
3312
3313 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 Autoload from Lisp with more care. Follow aliases when looking for
3316 function properties.
3317 * subr.el (autoloadp): New function.
3318 (symbol-file): Use it.
3319 (function-get): New function.
3320 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3321 autoload-do-load.
3322 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3323 (lisp-indent-function):
3324 * emacs-lisp/gv.el (gv-get):
3325 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3326 * emacs-lisp/byte-opt.el (byte-optimize-form):
3327 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3328 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3329 Use function-get.
3330 * emacs-lisp/cl.el: Don't propagate function properties any more.
3331
3332 * speedbar.el (speedbar-add-localized-speedbar-support):
3333 * emacs-lisp/disass.el (disassemble-internal):
3334 * desktop.el (desktop-load-file):
3335 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3336 (describe-function-1):
3337 * emacs-lisp/find-func.el (find-function-noselect):
3338 * emacs-lisp/elp.el (elp-instrument-function):
3339 * emacs-lisp/advice.el (ad-has-proper-definition):
3340 * apropos.el (apropos-safe-documentation, apropos-macrop):
3341 * emacs-lisp/debug.el (debug-on-entry):
3342 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3343 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3344 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3345
3346 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3347
3348 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3349 function, not an obsolete variable (Bug#12046).
3350
3351 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3352
3353 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3354
3355 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3356
3357 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3358 window only if it is still live (Bug#12034).
3359
3360 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3361
3362 * subr.el (redirect-frame-focus): Add advertised calling
3363 convention (Bug#12030).
3364
3365 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3366
3367 Prefer typical American spelling for "acknowledgment".
3368 * vc/add-log.el (change-log-acknowledgment): Rename from
3369 change-log-acknowledgement, with an alias for the old name.
3370
3371 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3372
3373 * calc-alg.el (math-simplify-divide): Don't cross multiply
3374 in an equation when the lhs is a variable.
3375
3376 2012-07-24 Julien Danjou <julien@danjou.info>
3377
3378 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3379 Remove, unused.
3380
3381 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3382
3383 * startup.el (command-line): Don't display an empty user name in
3384 the error message about non-existent home directory, when
3385 init-file-user was set to an empty string. See
3386 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3387 for the details and context.
3388
3389 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3390
3391 * ses.el (ses-cell-formula-aset): New macro.
3392 (ses-cell-references-aset): New macro.
3393 (ses-cell-p): New function.
3394 (ses-rename-cell): Do no longer rely on complex operations like
3395 ses-cell-set-formula or ses-set-cell to change the cell and handle
3396 the undo at the same time, but rather use lower level new macros
3397 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3398 the undo directly. Refresh the mode line.
3399
3400 2012-07-21 Leo Liu <sdl.web@gmail.com>
3401
3402 * progmodes/cc-cmds.el (c-defun-name):
3403 Use match-string-no-properties instead for consistency.
3404
3405 2012-07-20 Leo Liu <sdl.web@gmail.com>
3406
3407 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3408 (Bug#7879)
3409
3410 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3411
3412 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3413
3414 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3415 * progmodes/bug-reference.el, misearch.el: Provide themselves
3416 (bug#11915).
3417
3418 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3419 of narrowed buffer (bug#11966).
3420
3421 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3422
3423 * ses.el (ses-rename-cell): Set new name also in reference list of
3424 cells of which the renamed cell depends.
3425
3426 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3427
3428 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3429 to check whether menu-bar is shown or not. If not shown,
3430 show the menu-bar as a popup menu instead of using tmm.
3431 * mouse.el (popup-menu): Accept `point' as `position' argument.
3432
3433 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3434
3435 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3436 up inside string symbol literal (bug#11923).
3437
3438 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3439
3440 * startup.el (fancy-startup-text): Read the whole tutorial, not
3441 just its first 256 bytes. Prevents gibberish in display of the
3442 tutorial title.
3443
3444 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3445
3446 Drop idle buffer compaction due to an absence of the
3447 proved efficiency.
3448 * compact.el: Remove.
3449
3450 2012-07-19 Sam Steingold <sds@gnu.org>
3451
3452 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3453 vc-bzr-pull & vc-bzr-merge-branch.
3454 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3455 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3456 for consistency with compilation-error-regexp-alist.
3457 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3458 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3459 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3460 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3461
3462 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * emacs-lisp/chart.el: Use lexical-binding.
3465 (chart-emacs-storage): Don't hardcode the list of entries.
3466
3467 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3468
3469 Next round of tweaks caused by Fgarbage_collect changes.
3470 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3471
3472 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3473
3474 Compact buffers when idle.
3475 * compact.el: New file.
3476
3477 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * subr.el (eventp): Presume that if it looks vaguely like an event,
3480 it's an event (bug#10190).
3481
3482 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3483
3484 Enhancements to ppss related code (thanks Stefan).
3485 * progmodes/python.el (python-indent-context)
3486 (python-indent-calculate-indentation, python-indent-dedent-line)
3487 (python-indent-electric-colon, python-nav-forward-block)
3488 (python-mode-abbrev-table)
3489 (python-info-assignment-continuation-line-p): Simplify checks
3490 for ppss context.
3491 (python-info-continuation-line-p): Cleanup.
3492 (python-info-ppss-context): Do not catch 'quote.
3493 (python-info-ppss-context-type)
3494 (python-info-ppss-comment-or-string-p): Simplify.
3495
3496 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3497
3498 * progmodes/python.el: Enhancements to eldoc support.
3499 (python-info-current-symbol): New function.
3500 (python-eldoc-at-point): Use python-info-current-symbol.
3501 (python-info-current-defun): Fix cornercase on first defun scan.
3502 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3503 and signal error when no inferior python process is available.
3504
3505 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3506
3507 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3508 assume it's always t.
3509 (vc-git-registered): Remove caching, the function is only called
3510 once.
3511 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3512
3513 2012-07-18 Chong Yidong <cyd@gnu.org>
3514
3515 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3516
3517 * simple.el (count-words): Report on narrowing (Bug#9959).
3518
3519 * bindings.el: Bind M-= to count-words.
3520
3521 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3522
3523 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3524
3525 * progmodes/sh-script.el (sh-imenu-generic-expression):
3526 Capture a function with `function' keyword and without parentheses
3527 like "function FOO" (bug#11856).
3528
3529 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3530
3531 * window.el (split-window-sensibly): Make WINDOW argument
3532 optional.
3533
3534 2012-07-18 Chong Yidong <cyd@gnu.org>
3535
3536 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3537
3538 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3539 and make C-x 8 RET exit isearch (Bug#11439).
3540
3541 * international/iso-transl.el: Move isearch-mode-map key
3542 definitions to isearch.el.
3543
3544 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3547 (eieio-defclass): Use gv-define-setter when possible.
3548
3549 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3550
3551 Reflect recent changes in Fgarbage_collect.
3552 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3553 reflect new format of data returned by Fgarbage_collect.
3554
3555 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3556
3557 New utility functions + python-info-ppss-context fix (Bug#11910).
3558 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3559 (python-info-ppss-comment-or-string-p): New functions.
3560 (python-info-ppss-context): Small fix for string check.
3561
3562 2012-07-17 Juri Linkov <juri@jurta.org>
3563
3564 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3565 (dired-do-async-shell-command): Don't add `*' at the end of the
3566 command (Bug#11815).
3567 (dired-do-shell-command): Doc fix.
3568 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3569 Join the individual commands using either "&" or ";" as the
3570 separator depending on the values of these trailing characters.
3571 At the end re-add the trailing "&". (Bug#10598)
3572
3573 * simple.el (async-shell-command): Sync the interactive spec with
3574 `shell-command'. Doc fix.
3575 (shell-command): Doc fix.
3576
3577 2012-07-17 Juri Linkov <juri@jurta.org>
3578
3579 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3580
3581 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3582
3583 Final renames and doc fixes for movement commands (bug#11899).
3584 * progmodes/python.el (python-nav-beginning-of-statement):
3585 Rename from python-nav-statement-start.
3586 (python-nav-end-of-statement): Rename from
3587 python-nav-statement-end.
3588 (python-nav-beginning-of-block): Rename from
3589 python-nav-block-start.
3590 (python-nav-end-of-block): Rename from python-nav-block-end.
3591
3592 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3593
3594 * progmodes/python.el (python-shell-send-string-no-output):
3595 Allow accept-process-output to quit, keeping shell process ready for
3596 future interactions (Bug#11868).
3597
3598 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3599
3600 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3601
3602 * emacs-lisp/elint.el (elint-find-args-in-code):
3603 Use help-function-arglist, so as to handle lexical byte-code.
3604
3605 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3606 change (bug#11826).
3607
3608 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3611 Avoid spuriously marking the buffer as modified because of c-is-sws.
3612
3613 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3614 as not-a-comment (bug#11946).
3615
3616 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3617 for uninterned vars.
3618
3619 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3620 Use read-event since we don't really want to read chars but bytes.
3621
3622 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3623 $$..$$ but also $..$ using regexps (bug#11953).
3624 Use tex-verbatim for \url and \path.
3625 (tex-font-lock-keywords): Define as defconst like the others.
3626 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3627
3628 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3629
3630 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3631 alias for insert-char.
3632
3633 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3634
3635 * progmodes/python.el: Simplified imenu implementation.
3636 (python-nav-jump-to-defun): Remove command.
3637 (python-mode-map): Use `imenu' instead.
3638 (python-nav-list-defun-positions-cache)
3639 (python-imenu-include-defun-type, python-imenu-make-tree)
3640 (python-imenu-subtree-root-label, python-imenu-index-alist):
3641 Remove vars.
3642 (python-nav-list-defun-positions, python-nav-read-defun)
3643 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3644 (python-imenu-make-tree, python-imenu-create-index):
3645 Remove functions.
3646 (python-mode): Update to interact with imenu by setting
3647 `imenu-extract-index-name-function' only.
3648
3649 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3650
3651 * progmodes/python.el: Enhancements to navigation commands.
3652 (python-nav-backward-sentence)
3653 (python-nav-forward-sentence): Remove.
3654 (python-nav-backward-statement, python-nav-forward-statement)
3655 (python-nav-statement-start, python-nav-statement-end)
3656 (python-nav-backward-block, python-nav-forward-block)
3657 (python-nav-block-start, python-nav-block-end)
3658 (python-nav-forward-sexp-function)
3659 (python-info-current-line-comment-p)
3660 (python-info-current-line-empty-p): New functions.
3661 (python-indent-context): Use `python-nav-statement-start'.
3662
3663 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3664
3665 * eshell/em-ls.el (eshell/ls): Use `apply'.
3666
3667 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3668 multi-hops, instead of Tramp internals.
3669
3670 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3671
3672 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3673 when F1 and F2 are located on different hosts.
3674
3675 2012-07-14 Chong Yidong <cyd@gnu.org>
3676
3677 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3678 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3679 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3680 (xterm-mouse--read-event-sequence-1000)
3681 (xterm-mouse--read-event-sequence-1006): New functions. For old
3682 mouse protocol, handle M-mouse-X events correctly.
3683 (xterm-mouse-event): New arg specifying mouse protocol.
3684 (turn-on-xterm-mouse-tracking-on-terminal)
3685 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3686 sequence to toggle extended coordinates on newer XTerms.
3687 This appears to be harmless on terminals which do not support this.
3688
3689 2012-07-14 Leo Liu <sdl.web@gmail.com>
3690
3691 Add fringe bitmap indicators for flymake. (Bug#11253)
3692 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3693 (flymake-make-overlay): New arg BITMAP.
3694 (flymake-error-bitmap, flymake-warning-bitmap)
3695 (flymake-fringe-indicator-position): New user variables.
3696
3697 * fringe.el: New bitmap exclamation-mark.
3698
3699 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3700
3701 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3702 also (Bug#7879).
3703
3704 2012-07-14 Chong Yidong <cyd@gnu.org>
3705
3706 * electric.el (electric-pair-post-self-insert-function): Fix pair
3707 insertion in empty-region case (Bug#11520).
3708
3709 2012-07-14 Chong Yidong <cyd@gnu.org>
3710
3711 * bindings.el: Consolidate ctl-x-r-map bindings.
3712 Bind copy-rectangle-as-kill to C-x r w.
3713
3714 * rect.el, register.el: Move bindings to bindings.el.
3715
3716 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3717
3718 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3719
3720 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3721
3722 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3723
3724 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3725
3726 * bindings.el (top): Use `mapc' instead of `mapcar'.
3727
3728 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3729
3730 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3731
3732 * progmodes/sql.el (sql-comint): Suppress the check for program on
3733 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3734 (Bug#11908)
3735
3736 2012-07-13 Chong Yidong <cyd@gnu.org>
3737
3738 * bindings.el: Assign a non-nil permanent-local property to
3739 per-buffer variables which lack a default value (Bug#11930).
3740
3741 * help-fns.el (describe-variable): In the "automatically becomes
3742 local" notice, take note of permanent-local variables.
3743
3744 2012-07-13 Chong Yidong <cyd@gnu.org>
3745
3746 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3747 to allow printing the message when called from Lisp.
3748
3749 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3750 Remove toggle-read-only.
3751
3752 * bs.el (bs-toggle-readonly):
3753 * buff-menu.el (Buffer-menu-toggle-read-only):
3754 Remove with-no-warnings around toggle-read-only.
3755
3756 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3757 Remove with-no-warnings around toggle-read-only.
3758 (ffap-read-only, ffap-read-only-other-window)
3759 (ffap-read-only-other-frame): Callers changed.
3760
3761 * help-mode.el: Don't require view package.
3762 (help-mode-finish): Set buffer-read-only instead of calling
3763 toggle-read-only.
3764
3765 * bindings.el (mode-line-toggle-read-only):
3766 * dired.el (dired-toggle-read-only):
3767 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3768 with non-nil second arg.
3769
3770 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3771 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3772 directly.
3773
3774 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3775
3776 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3777 not incf.
3778
3779 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 More CL cleanups and reduction of use of cl.el.
3782 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3783 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3784 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3785 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3786 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3787 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3788 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3789 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3790 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3791 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3792 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3793 * eshell/em-cmpl.el, eshell/em-banner.el:
3794 * calendar/parse-time.el: Use cl-lib.
3795 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3796 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3797 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3798 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3799 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3800 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3801 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3802 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3803 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3804 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3805 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3806 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3807 `lambda' rather than with `quote'.
3808 (eshell-do-opt): Adjust accordingly.
3809 (eshell-process-option): Simplify.
3810 * eshell/esh-var.el:
3811 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3812 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3813 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3814 to `pcase--dontcare'.
3815 * emacs-lisp/cl.el (labels): Mark obsolete.
3816 (cl--letf, letf): Move to cl-lib.
3817 (cl--letf*, letf*): Remove.
3818 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3819 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3820 (cl-progv): Rewrite.
3821 (cl--letf, cl-letf): Move from cl.el.
3822 (cl-letf*): New macro.
3823 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3824
3825 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
3826
3827 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3828
3829 2012-07-11 Chong Yidong <cyd@gnu.org>
3830
3831 * vc/log-edit.el (log-edit-vc-backend): New variable.
3832 (log-edit): Doc fix.
3833
3834 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3835 argument of log-edit to set up all local variables.
3836 (vc-start-logentry): New optional arg specifying VC backend.
3837
3838 * vc/vc.el (vc-checkin): Use it.
3839 (vc-deduce-fileset): Handle Log Edit buffers.
3840 (vc-diff): Make first argument optional too.
3841
3842 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3843
3844 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
3845
3846 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3847 command, just in case. The function is not needed anymore.
3848 (eshell-external-command): Do not call `eshell-remote-command'.
3849
3850 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 Reduce use of (require 'cl).
3853 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3854 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3855 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3856 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3857 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3858 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3859 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3860 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3861 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3862 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3863 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3864 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3865 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3866 (byte-compile-unfold-bcf, byte-compile-check-variable):
3867 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3868 (byte-compile-nilconstp):
3869 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3870 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3871
3872 * emacs-lisp/gv.el (cond): Make it a valid place.
3873 (if): Simplify slightly.
3874
3875 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3876 (pcase--self-quoting-p): New function.
3877 (pcase--u1): Use it.
3878
3879 2012-07-10 Glenn Morris <rgm@gnu.org>
3880
3881 * emacs-lisp/authors.el (authors-fixed-entries):
3882 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3883
3884 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3885
3886 Rename configure.in to configure.ac (Bug#11603).
3887 * emacs-lisp/authors.el (authors-canonical-file-name):
3888 * progmodes/autoconf.el (autoconf-mode):
3889 Prefer configure.ac to configure.in.
3890
3891 2012-07-08 Chong Yidong <cyd@gnu.org>
3892
3893 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3894 Implement the mouse-1-click-follows-link handling properly.
3895
3896 * info.el (Info-link-keymap): Use follow-link mechanism for
3897 header-line links (Bug#374).
3898
3899 * simple.el (deactivate-mark): Do not set the primary selection
3900 if another program has acquired it (Bug#11772).
3901
3902 2012-07-07 Kevin Ryde <user42@zip.com.au>
3903
3904 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3905 (woman-decode-region): Replace escaped-escapes without destroying
3906 bold or underline (Bug#11552).
3907 (woman2-process-escapes): Handle nofill regions (Bug#11591).
3908
3909 2012-07-07 Chong Yidong <cyd@gnu.org>
3910
3911 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3912 (interprogram-cut-function, interprogram-paste-function):
3913 Mention that we typically mean the clipboard.
3914
3915 2012-07-06 Glenn Morris <rgm@gnu.org>
3916
3917 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3918
3919 * files.el (toggle-read-only): Restrict message to interactive use.
3920
3921 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
3922
3923 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3924
3925 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3926
3927 2012-07-06 Glenn Morris <rgm@gnu.org>
3928
3929 * Makefile.in (compile-one-process): Rename from "recompile".
3930
3931 * Makefile.in (bzr-update): "compile" is the same as "recompile
3932 autoloads", but parallelizable, so use that instead.
3933
3934 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3935
3936 * window.el (quit-window): Always restore window height when
3937 it's saved in quit-restore parameter (Bug#11810).
3938
3939 2012-07-06 Glenn Morris <rgm@gnu.org>
3940
3941 * simple.el (kill-whole-line): Doc tweak.
3942
3943 2012-07-06 Eli Zaretskii <eliz@gnu.org>
3944
3945 * files.el (file-relative-name): Compare file names
3946 case-insensitively if on MS-Windows or MS-DOS, or if
3947 read-file-name-completion-ignore-case is non-nil. Don't use
3948 case-fold-search for this purpose. (Bug#11827)
3949
3950 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3951
3952 * calendar/cal-dst.el (calendar-current-time-zone):
3953 Return calendar-current-time-zone-cache if non-nil.
3954
3955 2012-07-17 Masatake YAMATO <yamato@redhat.com>
3956 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3957
3958 * calendar/cal-dst.el (calendar-current-time-zone):
3959 Return calendar-current-time-zone-cache if non-nil.
3960
3961 2012-07-06 Glenn Morris <rgm@gnu.org>
3962
3963 * Makefile.in (cvs-update): Remove old alias.
3964
3965 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
3966
3967 Sync with Tramp 2.2.6-pre.
3968
3969 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3970 compatible declaration.
3971
3972 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3973 Protect `list-load-path-shadows' call.
3974
3975 * net/tramp-compat.el (top): Require packages, which aren't
3976 autoloaded anymore for XEmacs. Protect call of
3977 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3978 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3979 it hurts at least for SXEmacs.
3980 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3981 standard-value for `temporary-file-directory'.
3982
3983 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3984 Redirect stderr to /dev/null.
3985 (tramp-sh-handle-write-region): uid and gid can be floats.
3986 Reported by Russell Sim <russell.sim@gmail.com>.
3987 (tramp-sh-handle-vc-registered): Hide errors.
3988 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3989 and `start-file-process'.
3990 (tramp-maybe-open-connection): Check also whether `non-essential'
3991 is bound.
3992
3993 2012-07-04 Chong Yidong <cyd@gnu.org>
3994
3995 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3996 (xml-parse-tag): Likewise, and avoid changing entity tables.
3997 (xml-syntax-table): Define from scratch, making sure not to give
3998 x2000 and other Unicode spaces whitespace syntax, since those are
3999 not spaces in XML.
4000 (xml-parse-fragment): Delete unused function.
4001 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4002 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4003 (xml-entity-ref, xml-pe-reference-re)
4004 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4005 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4006 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4007 (xml-entity-value-re): Use syntax references in regexps where
4008 possible; no need to define inside a let-binding.
4009 (xml-parse-dtd): Use xml-pe-reference-re.
4010 (xml-entity-or-char-ref-re): New defconst.
4011 (xml-parse-string, xml-substitute-special): Use it.
4012
4013 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4016 (find-file--read-only): New function.
4017 (find-file-read-only, find-file-read-only-other-window)
4018 (find-file-read-only-other-frame): Use it.
4019 (insert-file-contents-literally): Don't `fset'.
4020 (get-free-disk-space): Use locate-dominating-file.
4021
4022 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4023 function is already compiled.
4024
4025 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4026
4027 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4028
4029 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4030 files on the same host.
4031
4032 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4033
4034 * help-fns.el (describe-function-1): Only call
4035 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4036
4037 2012-07-03 Chong Yidong <cyd@gnu.org>
4038
4039 * xml.el: Protect parser against XML bombs.
4040 (xml-entity-expansion-limit): New variable.
4041 (xml-parse-string, xml-substitute-special): Use it.
4042 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4043
4044 2012-07-03 Glenn Morris <rgm@gnu.org>
4045
4046 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4047 Allow linking to specific messages in debbugs reports (eg 123#5).
4048
4049 2012-07-02 Chong Yidong <cyd@gnu.org>
4050
4051 * xml.el: Fix entity and character reference expansion, allowing
4052 them to expand into markup as per XML spec.
4053 (xml-default-ns): New variable.
4054 (xml-entity-alist): Use XML spec definitions for lt and amp.
4055 (xml-parse-region): Make first two arguments optional.
4056 Discard text properties.
4057 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4058 All callers changed.
4059 (xml-parse-tag): Call xml-parse-tag-1. For backward
4060 compatibility, this function should not modify buffer contents.
4061 (xml-parse-tag-1): Fix opening-tag regexp.
4062 (xml-parse-string): Rewrite, handling entity and character
4063 references properly.
4064 (xml--entity-replacement-text): Signal an error if a parameter
4065 entity is undefined.
4066
4067 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * comint.el (comint-output-filter): Filter out repeated prompts.
4070
4071 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4072 and file-name-absolute-p.
4073 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4074 internal calls.
4075
4076 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4077
4078 Spelling fixes.
4079 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4080 Rename from byte-compile--refiy-function. All uses changed.
4081
4082 2012-07-01 Chong Yidong <cyd@gnu.org>
4083
4084 * xml.el (xml--parse-buffer): New function. Move most of
4085 xml-parse-region here.
4086 (xml-parse-region): Copy region into a temporary buffer, since
4087 parameter entity substitution requires changing buffer contents.
4088 Use xml--parse-buffer.
4089 (xml-parse-file): Use xml--parse-buffer.
4090 (xml-parse-dtd): Make parameter entity substitution work right.
4091 Use proper regexps for ELEMENT declarations (Bug#7172).
4092
4093 2012-06-30 Glenn Morris <rgm@gnu.org>
4094
4095 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4096
4097 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4098 Remove outdated and unnecessary dbus declarations.
4099
4100 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4101
4102 * emacs-lisp/timer.el (timer-until): Subtract results of
4103 float-time, instead of taking float-time of the result of
4104 time-subtract, since float-time signals an error for negative time
4105 arguments.
4106
4107 2012-06-30 Chong Yidong <cyd@gnu.org>
4108
4109 * xml.el (xml-*-re): Convert defvars into defconsts, and
4110 eval-and-compile them so eval-and-compile works on derivatives.
4111 (xml--entity-replacement-text): Use eval-and-comple.
4112
4113 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4114
4115 * vc/vc-git.el (vc-git-registered): Use cache property
4116 `git-registered'.
4117 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4118 `vc-git-working-revision' in order to benefit from the cache.
4119 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4120
4121 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4122
4123 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4124 removed (likely outside Emacs). (Bug#11757)
4125
4126 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * emacs-lisp/cl-lib.el: Require macroexp.
4129
4130 2012-06-30 Chong Yidong <cyd@gnu.org>
4131
4132 * xml.el: Implement XML parameter entities.
4133 (xml-parameter-entity-alist): New variable.
4134 (xml-parse-region, xml-parse-fragment): Preserve previous values
4135 of xml-entity-alist and xml-parameter-entity-alist, so that
4136 repeated calls on different documents do not change them.
4137 (xml-parse-tag): Fix doctype regexp.
4138 (xml--entity-replacement-text): New function.
4139 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4140 properly requires url retrieval which is unimplemented.
4141 (xml-escape-string): Doc fix.
4142
4143 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4146
4147 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4148
4149 * fringe.el (fringe-mode): Doc fix.
4150
4151 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4152
4153 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4154 is non-nil.
4155 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4156 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4157
4158 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4159
4160 * calendar/cal-dst.el (calendar-current-time-zone):
4161 Return calendar-current-time-zone-cache if non-nil.
4162
4163 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4164
4165 * progmodes/which-func.el (which-func-format):
4166 Add mouse-face. (Bug#11698)
4167
4168 2012-06-29 Leo Liu <sdl.web@gmail.com>
4169
4170 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4171
4172 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * minibuffer.el (minibuffer-confirm-exit-commands):
4175 Add completion-at-point (bug#11725).
4176
4177 2012-06-29 Glenn Morris <rgm@gnu.org>
4178
4179 * progmodes/f90.el (f90-font-lock-keywords-2):
4180 Add some preprocessor elements. (Bug#10499)
4181
4182 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4183
4184 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4185 Use syntax-propertize (bug#11739).
4186
4187 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4188
4189 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4190
4191 2012-06-28 Julien Danjou <julien@danjou.info>
4192
4193 * term.el (term-handle-colors-array): Use a set of new faces to
4194 color the terminal. Also uses :inverse-video property.
4195 (term-default-fg-color): Set to nil by default, deprecate in favor
4196 of `term-face'.
4197 (term-default-bg-color): Set to nil by default, deprecate in favor
4198 of `term-face'.
4199 (term-current-face): Use `term-face' by default.
4200 (term-bold-attribute): Variable deleted.
4201
4202 2012-06-28 Glenn Morris <rgm@gnu.org>
4203
4204 * simple.el (completion-list-mode-finish):
4205 Don't use toggle-read-only. (Since completion-list-mode has
4206 a special mode-class, it wasn't doing anything extra anyway.)
4207
4208 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 Make inlining of other-mode interpreted functions work (bug#11799).
4211 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4212 (byte-compile): Use it to fix compilation of lexical-binding closures.
4213 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4214 function, if needed.
4215
4216 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * help-mode.el (help-make-xrefs): Don't just withstand
4219 cyclic-variable-indirection but any error in documentation-property.
4220
4221 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4222 memory use.
4223 * bindings.el (bindings--define-key): New function.
4224 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4225 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4226 * bindings.el: Use it to purecopy define-key bindings.
4227
4228 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4229
4230 * emacs-lisp/cl.el (flet): Mark obsolete.
4231 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4232 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4233 * progmodes/js.el (js-c-fill-paragraph):
4234 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4235 (ebrowse-switch-member-buffer-to-derived-class):
4236 * play/5x5.el (5x5-solver): Use cl-flet.
4237
4238 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4239 (cl--symbol-function): New macro.
4240 (cl--letf, cl--letf*): Use it.
4241
4242 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4243 Strip "toggle-" if any.
4244
4245 2012-06-27 Glenn Morris <rgm@gnu.org>
4246
4247 * info.el (Info-default-directory-list): Move here from paths.el.
4248 * paths.el: Remove file, which is now empty.
4249 * loadup.el: No longer load "paths".
4250
4251 * custom.el (custom-initialize-delay): Doc fix.
4252
4253 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4254 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4255 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4256 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4257 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4258 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4259 * eshell/eshell.el (eshell-defgroup): Remove alias.
4260
4261 2012-06-27 Chong Yidong <cyd@gnu.org>
4262
4263 * help.el (help-enable-auto-load): New variable.
4264
4265 * help-fns.el (help-fns--autoloaded-p): New function.
4266 (describe-function-1): Refer to a function as "autoloaded" if it
4267 was autoloaded at any time in the past. Perform autoloading if
4268 help-enable-auto-load is non-nil.
4269
4270 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4271
4272 * makefile.w32-in (compile, compile-always): Depend on
4273 update-subdirs, not on subdirs.el. Otherwise, several different
4274 sub-targets of 'bootstrap' running in parallel could
4275 simultaneously write to subdirs.el, producing a garbled file.
4276
4277 2012-06-26 Sam Steingold <sds@gnu.org>
4278
4279 * files.el (file-name-base): New convenience function.
4280 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4281 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4282 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4283 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4284 * textmodes/ispell.el, textmodes/reftex-ref.el:
4285 * textmodes/tex-mode.el: Use it.
4286 Did not touch cedet and org because they are maintained elsewhere.
4287
4288 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4289
4290 * calendar/calendar.el (calendar-exit): Don't try to delete or
4291 iconify last frame. See:
4292 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4293
4294 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4295
4296 * server.el (server-process-filter): Remember dir in the
4297 process's `server-client-directory' properties.
4298
4299 2012-06-24 Chong Yidong <cyd@gnu.org>
4300
4301 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4302 non-tag text.
4303
4304 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4305
4306 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4307
4308 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4309
4310 * help-fns.el (describe-variable): Don't croak when doc is not found.
4311 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4312 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4313 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4314 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4315 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4316 ((lambda ..) ..).
4317 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4318
4319 2012-06-23 Chong Yidong <cyd@gnu.org>
4320
4321 * info.el (Info-mouse-follow-link): Accept symbol values of
4322 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4323 (Info-fontify-node): Use Info-link-keymap for all navigation
4324 buttons, with link-args property to perform the desired action.
4325 (Info-link-keymap): Doc fix.
4326 (Info-next-link-keymap, Info-prev-link-keymap)
4327 (Info-up-link-keymap): Delete now-unused keymaps.
4328
4329 2012-06-23 Chong Yidong <cyd@gnu.org>
4330
4331 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4332
4333 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4334 system abbrevs.
4335
4336 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4337
4338 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4341 (bug#11719).
4342
4343 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4344 the requote function doesn't work properly (bug#11714).
4345
4346 2012-06-23 Glenn Morris <rgm@gnu.org>
4347
4348 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4349
4350 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 Further GV/CL cleanups.
4353 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4354 gv-expander.
4355 (gv--defun-declaration): New function.
4356 (defun-declarations-alist): Use it.
4357 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4358 (gv-place): Autoload.
4359 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4360 original definition of dotimes and dolist.
4361 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4362 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4363 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4364 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4365 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4366 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4367 to the function's definition.
4368 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4369 * window.el:
4370 * files.el:
4371 * faces.el:
4372 * env.el: Don't use CL.
4373
4374 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4375
4376 Support higher-resolution time stamps (Bug#9000).
4377
4378 * calendar/time-date.el (with-decoded-time-value): New arg
4379 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4380 (encode-time-value): New optional arg PICO. New type 3.
4381 (time-to-seconds) [!float-time]: Support the new picoseconds
4382 component if it's used.
4383 (seconds-to-time, time-subtract, time-add):
4384 Support ps-resolution time stamps as well.
4385
4386 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4387 (timerp): Timer vectors now have length 9, not 8.
4388 (timer--time): Support new-style (4-part) time stamps.
4389 (timer-next-integral-multiple-of-time): Time stamps now have
4390 picosecond resolution, so take a bit more care about rounding.
4391 (timer-relative-time, timer-inc-time): New optional arg psecs.
4392 (timer-set-time-with-usecs): Set psecs to 0.
4393 (timer--activate): Check psecs component, too.
4394
4395 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4396
4397 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4398
4399 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4400 Move the non-essential binding to the post/pre-command-hook where it is
4401 more obviously correct.
4402
4403 * subr.el (read-passwd): Don't use a history at all.
4404 * savehist.el (savehist-save): Remove password saved accidentally
4405 because of the above bug.
4406
4407 2012-06-22 Bastien Guerry <bzg@gnu.org>
4408
4409 * files.el (toggle-read-only): Display a message telling whether
4410 the buffer is read-only or not (bug#11726).
4411
4412 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * emacs-lisp/gv.el: New file.
4415 * subr.el (push, pop): Extend to generalized variables.
4416 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4417 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4418 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4419 gv-define-simple-setter, and gv-define-expander.
4420 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4421 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4422 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4423 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4424 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4425 gv-letplace.
4426 (cl-defstruct): Don't define setf-method any more.
4427 * emacs-lisp/cl.el (flet): Don't autoload.
4428 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4429 (define-setf-expander, defsetf, define-modify-macro)
4430 (cl-struct-setf-expander): Move from cl-lib.el.
4431 * emacs-lisp/syntax.el:
4432 * emacs-lisp/ewoc.el:
4433 * emacs-lisp/smie.el:
4434 * emacs-lisp/cconv.el:
4435 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4436 (timer--time): Use gv-define-simple-setter.
4437 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4438 to avoid coding-system problems in subr.el. Adjust all users.
4439 (macroexp--maxsize, macroexp-small-p): New functions.
4440 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4441 * scroll-bar.el (scroll-bar-mode):
4442 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4443 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4444 * winner.el (winner-configuration, winner-make-point-alist)
4445 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4446 * files.el (locate-file-completion-table): Avoid list*.
4447
4448 2012-06-22 Chong Yidong <cyd@gnu.org>
4449
4450 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4451 (dired-create-files): Doc fix (Bug#11329).
4452 (dired-do-copy): Doc fix (Bug#11334).
4453 (dired-mark-read-string): Doc fix (Bug#11553).
4454
4455 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4456 Doc fix (Bug#11326).
4457 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4458 (dired-dwim-target): Doc fix.
4459
4460 * wdired.el (wdired-mode): Doc fix.
4461
4462 2012-06-22 Glenn Morris <rgm@gnu.org>
4463
4464 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4465 (pcmpl-rpm-cache-stamp-file): New constant.
4466 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4467 (pcmpl-rpm-packages): Optionally cache list of packages.
4468
4469 * pcmpl-rpm.el (pcmpl-rpm): New group.
4470 (pcmpl-rpm-query-options): New option.
4471 (pcmpl-rpm-packages): No need to inline it.
4472 Use pcmpl-rpm-query-options.
4473
4474 * calendar/calendar.el (calendar-in-read-only-buffer):
4475 Avoid some needless mode changes.
4476
4477 2012-06-21 Chong Yidong <cyd@gnu.org>
4478
4479 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4480 (desktop-path): Remove . from the default value (Bug#10977).
4481 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4482
4483 2012-06-20 Chong Yidong <cyd@gnu.org>
4484
4485 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4486
4487 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4488
4489 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4490 (bug#11201).
4491
4492 2012-06-20 Chong Yidong <cyd@gnu.org>
4493
4494 * term.el (term-window-width): Handle the case of a missing right
4495 fringe (Bug#8837).
4496 (term-check-size): Use window-text-height (Bug#5445).
4497 (term-mode): Use define-derived-mode. Minor cleanups.
4498 Set font-lock-defaults (Bug#7692).
4499 (term-move-columns, term-insert-char, term-emulate-terminal)
4500 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4501
4502 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4503
4504 * net/ange-ftp.el (ange-ftp-get-passwd):
4505 Bind `enable-recursive-minibuffers'.
4506 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4507
4508 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4509
4510 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4511
4512 2012-06-19 Glenn Morris <rgm@gnu.org>
4513
4514 * progmodes/python.el (python-mode): Derive from prog-mode.
4515
4516 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4517
4518 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4519 (edt-user-menu-bar-update-buffers): New functions.
4520 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4521
4522 2012-06-19 Chong Yidong <cyd@gnu.org>
4523
4524 * subr.el (with-selected-window): Preserve the selected window's
4525 terminal's top-frame (Bug#4702).
4526
4527 * window.el (save-selected-window): Likewise.
4528
4529 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * progmodes/python.el (python-rx-constituents): Move backquote.
4532 (python-skeleton-define, python-define-auxiliary-skeleton):
4533 Use `declare'.
4534
4535 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
4536
4537 * minibuffer.el (read-file-name-default): Revert the patch from
4538 2012-06-17.
4539
4540 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4543 (pcase--u1, pcase--q1): Don't use apply-partially.
4544
4545 2012-06-18 Glenn Morris <rgm@gnu.org>
4546
4547 * progmodes/python.el (python-proc, python-buffer)
4548 (python-send-receive, python-send-string): Fix obsolete versions.
4549
4550 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4551
4552 * window.el (special-display-p): Completely remove stringp
4553 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4554
4555 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4556
4557 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4558
4559 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4560
4561 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4562 * net/tramp-sh.el (tramp-maybe-open-connection):
4563 Throw if `non-essential' is non-nil.
4564
4565 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4566
4567 * window.el (special-display-p): Signal an error if BUFFER-NAME
4568 is not a string (Bug#11713).
4569
4570 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4571
4572 * progmodes/python.el (python-info-beginning-of-backslash):
4573 Rename from python-info-beginning-of-backlash, as a spelling fix.
4574
4575 2012-06-17 Chong Yidong <cyd@gnu.org>
4576
4577 * term.el (term-emulate-terminal): If term-check-size is called,
4578 move point to the process mark without resetting point (Bug#4635).
4579
4580 2012-06-17 Glenn Morris <rgm@gnu.org>
4581
4582 * international/mule-cmds.el (mule-menu-keymap)
4583 (set-language-environment, set-locale-environment): Doc tweaks.
4584
4585 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4586
4587 * cus-face.el (custom-face-attributes): Add wave-style underline
4588 attribute.
4589 * faces.el (set-face-attribute): Update docstring to describe
4590 wave-style underline attribute.
4591
4592 2012-06-16 Chong Yidong <cyd@gnu.org>
4593
4594 * term/xterm.el (terminal-init-xterm): Discard input before
4595 querying background mode (Bug#10959).
4596
4597 2012-06-16 Stefan Merten <smerten@oekonux.de>
4598
4599 * textmodes/rst.el: Added and corrected some comments.
4600 (rst-re-alist-def): Improve symbol syntax.
4601 (rst-mode-syntax-table): Correct syntax entries.
4602 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4603 (rst-official-version, rst-official-cvs-rev): Update version
4604 information.
4605
4606 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4607
4608 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4609 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4610
4611 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4612
4613 * progmodes/python.el: New python.el merge.
4614 (python-guess-indent): Obsolete var.
4615 (python-indent-guess-indent-offset): New defcustom.
4616 (python-indent): Obsolete var.
4617 (python-indent-offset): New defcustom.
4618 (python-python-command, python-jython-command): Delete var.
4619 (python-shell-interpreter): New defcustom.
4620 (python-pdbtrack-do-tracking-p): Delete var.
4621 (python-pdbtrack-activate): New defcustom.
4622 (python-use-skeletons): Obsolete var.
4623 (python-skeleton-autoinsert): New defcustom.
4624 (inferior-python-filter-regexp, python-continuation-offset)
4625 (python-honour-comment-indentation, python-indent-string-contents)
4626 (python-jython-packages, python-mode-hook)
4627 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4628 (python-shell-prompt-alist)
4629 (python-source-modes): Delete defcustoms.
4630 (python-check-buffer-name, python-eldoc-setup-code)
4631 (python-eldoc-string-code, python-ffap-setup-code)
4632 (python-ffap-string-code, python-fill-comment-function)
4633 (python-fill-decorator-function, python-fill-paren-function)
4634 (python-fill-string-function, python-imenu-include-defun-type)
4635 (python-imenu-make-tree, python-imenu-subtree-root-label)
4636 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4637 (python-shell-compilation-regexp-alist)
4638 (python-shell-completion-module-string-code)
4639 (python-shell-completion-pdb-string-code)
4640 (python-shell-completion-setup-code)
4641 (python-shell-completion-string-code)
4642 (python-shell-enable-font-lock, python-shell-exec-path)
4643 (python-shell-extra-pythonpaths)
4644 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4645 (python-shell-process-environment)
4646 (python-shell-prompt-block-regexp)
4647 (python-shell-prompt-output-regexp)
4648 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4649 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4650 (python-shell-virtualenv-path): New defcustoms.
4651 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4652 (inferior-python-mode-syntax-table, python--prompt-regexp)
4653 (python-buffer, python-command python-python-command)
4654 (python-default-template, python-imports, python-indent-index)
4655 (python-indent-list, python-indent-list-length)
4656 (python-mode-running, python-pdbtrack-is-tracking-p)
4657 (python-preoutput-continuation, python-preoutput-leftover)
4658 (python-preoutput-result, python-preoutput-skip-next-prompt)
4659 (python-prev-dir/file, python-recursing)
4660 (python-saved-check-command, python-version-checked)
4661 (python-which-func-length-limit)
4662 (view-return-to-alist): Delete vars.
4663 (python-check-custom-command, python-dotty-syntax-table)
4664 (python-imenu-index-alist, python-indent-current-level)
4665 (python-indent-dedenters, python-indent-levels)
4666 (python-nav-beginning-of-defun-regexp)
4667 (python-nav-list-defun-positions-cache)
4668 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4669 (python-shell-internal-buffer)
4670 (python-skeleton-available): New vars.
4671 (def-python-skeleton): Delete macro.
4672 (python-skeleton-define): New macro.
4673 (python-define-auxiliary-skeleton, python-rx): New macros.
4674 (python-insert-class): Delete command.
4675 (python-skeleton-class): New command.
4676 (python-insert-def): Delete command.
4677 (python-skeleton-def): New command.
4678 (python-insert-for): Delete command.
4679 (python-skeleton-for): New command.
4680 (python-insert-if): Delete command.
4681 (python-skeleton-if): New command.
4682 (python-insert-try/except, python-insert-try/finally): Delete commands.
4683 (python-skeleton-try): New command.
4684 (python-insert-while): Delete command.
4685 (python-skeleton-while): New command.
4686 (python-backspace): Delete command.
4687 (python-indent-dedent-line-backspace): New command.
4688 (python-electric-colon): Delete command.
4689 (python-indent-electric-colon): New command.
4690 (python-guess-indent): Delete command.
4691 (python-indent-guess-indent-offset): New command.
4692 (python-shift-left): Delete command.
4693 (python-indent-shift-left): New command.
4694 (python-shift-right): Delete command.
4695 (python-indent-shift-right): New command.
4696 (python-find-function): Delete command.
4697 (python-nav-jump-to-defun): New command.
4698 (python-next-statement): Delete command.
4699 (python-nav-forward-sentence): New command.
4700 (python-previous-statement): Delete command.
4701 (python-nav-backward-sentence): New command.
4702 (python-fill-paragraph): Delete command.
4703 (python-fill-paragraph-function): New command.
4704 (python-send-buffer): Delete command.
4705 (python-shell-send-buffer): New command.
4706 (python-send-defun): Delete command.
4707 (python-shell-send-defun): New command.
4708 (python-send-region, python-send-region-and-go): Delete commands.
4709 (python-shell-send-region)
4710 (python-shell-switch-to-shell): New commands.
4711 (python-send-string): Delete command.
4712 (python-shell-send-string): New command.
4713 (python-switch-to-python): Delete command.
4714 (python-shell-switch-to-shell): New command.
4715 (python-describe-symbol): Delete command.
4716 (python-eldoc-at-point): New command.
4717 (python--set-prompt-regexp, python-args-to-list)
4718 (python-after-info-look, python-check-version)
4719 (python-check-comint-prompt, python-find-imports)
4720 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4721 (python-unload-function, python-expand-template)
4722 (python-maybe-jython, python-preoutput-filter)
4723 (python-pdbtrack-get-source-buffer)
4724 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4725 (python-pdbtrack-toggle-stack-tracking)
4726 (python-pdbtrack-track-stack-file, python-initial-text)
4727 (python-first-word, python-comment-line-p, python-send-command)
4728 (python-setup-brm, python-sentinel, python-set-proc)
4729 (python-skip-out, python-input-filter, python-outdent-p)
4730 (python-outline-level, python-backslash-continuation-line-p)
4731 (python-end-of-block, python-end-of-statement, python-mark-block)
4732 (python-beginning-of-block, python-beginning-of-statement)
4733 (python-blank-line-p, python-beginning-of-string)
4734 (python-open-block-statement-p): Delete functions.
4735 (python-indent-line, python-indent-line-1): Delete functions.
4736 (python-indent-line): New function.
4737 (python-indentation-levels): Delete function.
4738 (python-indent-calculate-levels): New function.
4739 (python-proc): Delete function.
4740 (python-shell-get-process): New function.
4741 (python-send-receive): Delete function.
4742 (python-shell-send-string-no-output): New function.
4743 (python-module-path): Delete function.
4744 (python-ffap-module-path): New function.
4745 (python-completion-at-point)
4746 (python-symbol-completions): Delete functions.
4747 (python-completion-complete-at-point): New function.
4748 (python-load-file): Delete function.
4749 (python-shell-send-file): New function.
4750 (python-calculate-indentation): Delete function.
4751 (python-indent-calculate-indentation): New function.
4752 (python-skip-comments/blanks): Delete function.
4753 (python-util-forward-comment): New function.
4754 (python-continuation-line-p): Delete function.
4755 (python-info-continuation-line-p): New function.
4756 (python-which-func, python-current-defun): Delete function.
4757 (python-info-current-defun): New function.
4758 (python-beginning-of-defun): Delete function.
4759 (python-nav-beginning-of-defun): New function.
4760 (python-close-block-statement-p)
4761 (python-block-end-p): Delete function.
4762 (python-info-closing-block): New function.
4763 (python-comint-output-filter-function)
4764 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4765 (python-fill-comment, python-fill-decorator, python-fill-paren)
4766 (python-fill-string, python-imenu-make-element-tree)
4767 (python-imenu-make-tree, python-imenu-tree-assoc)
4768 (python-indent-context, python-indent-dedent-line)
4769 (python-indent-line-function)
4770 (python-indent-post-self-insert-function)
4771 (python-indent-toggle-levels)
4772 (python-info-assignment-continuation-line-p)
4773 (python-info-beginning-of-backlash)
4774 (python-info-block-continuation-line-p)
4775 (python-info-closing-block-message)
4776 (python-info-line-ends-backslash-p)
4777 (python-info-looking-at-beginning-of-defun)
4778 (python-info-ppss-context, python-info-ppss-context-type)
4779 (python-nav-list-defun-positions, python-nav-read-defun)
4780 (python-nav-sentence-end, python-nav-sentence-start)
4781 (python-pdbtrack-comint-output-filter-function)
4782 (python-pdbtrack-set-tracked-buffer)
4783 (python-shell-calculate-exec-path)
4784 (python-shell-calculate-process-environment)
4785 (python-shell-completion--do-completion-at-point)
4786 (python-shell-completion--get-completions)
4787 (python-shell-completion-complete-at-point)
4788 (python-shell-completion-complete-or-indent)
4789 (python-shell-get-or-create-process)
4790 (python-shell-get-process-name)
4791 (python-shell-internal-get-or-create-process)
4792 (python-shell-internal-get-process-name)
4793 (python-shell-internal-send-string, python-shell-make-comint)
4794 (python-shell-parse-command, python-shell-send-setup-code)
4795 (python-skeleton-add-menu-items)
4796 (python-util-clone-local-variables, python-util-position)
4797 (run-python-internal, python-indentation-levels)
4798 (python-nav-beginning-of-defun)
4799 (python-completion-complete-at-point): New functions.
4800 (run-python): Change arguments. New API requirements.
4801
4802 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4803
4804 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4805 (bug#11649).
4806
4807 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4808 (macroexp--expand-all): Use it.
4809
4810 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4811 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4812 Use `cl-function' instead.
4813
4814 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
4815
4816 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4817 Suggested by Stefan Monnier while discussing bug#11657.
4818
4819 2012-06-14 Sam Steingold <sds@gnu.org>
4820
4821 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4822
4823 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4824
4825 * play/doctor.el (doctor-doc): Remove parameter and use
4826 doctor-sent instead of sent.
4827 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4828
4829 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * files.el: Require cl-lib.
4832 (file-name-non-special): Replace case -> cl-case.
4833
4834 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4835
4836 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4837 mapping from #' to function*.
4838
4839 2012-06-13 Chong Yidong <cyd@gnu.org>
4840
4841 * mouse.el (mouse-drag-track): Do not set the mark if the user
4842 releases the mouse without selecting anything (Bug#11588).
4843
4844 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4847 as well (bug#11646).
4848
4849 * loadup.el: Count byte-code functions as well.
4850
4851 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4852 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4853
4854 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4855 (bug#11649). Add cl-defun and cl-defmacro.
4856
4857 2012-06-13 Drew Adams <drew.adams@oracle.com>
4858
4859 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4860 Fix last change.
4861
4862 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
4863
4864 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4865 Otherwise, it blocks in batch mode.
4866
4867 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
4868
4869 * help-mode.el (bookmark-make-record-default): Declare.
4870
4871 2012-06-13 Chong Yidong <cyd@gnu.org>
4872
4873 * emacs-lisp/package.el (list-packages): Compute a list of
4874 packages that are newly-available since the last list-packages
4875 invocation.
4876 (package-menu--new-package-list): New var.
4877 (package-menu--generate, package-menu--print-info)
4878 (package-menu--status-predicate, package-menu-mark-install):
4879 Handle new status label "new".
4880
4881 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4884 conversion to backquotes.
4885
4886 2012-06-12 Chong Yidong <cyd@gnu.org>
4887
4888 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4889 Rename from gud-inhibit-global-bindings.
4890
4891 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4892
4893 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4894 hook from nxml-glyph-set-hook.
4895
4896 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4897 declaration.
4898
4899 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4900
4901 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4902 Convert to defcustom.
4903
4904 2012-06-12 Drew Adams <drew.adams@oracle.com>
4905
4906 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4907 New functions.
4908 (help-mode): Use them.
4909
4910 2012-06-11 Glenn Morris <rgm@gnu.org>
4911
4912 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4913 Use preprocessor face for directives.
4914 (fortran-directive-re): Doc fix.
4915
4916 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4919 conversion to backquotes (bug#11652).
4920
4921 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4922 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4923 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4924 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4925 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4926 (cl-ninth, cl-tenth): Mark them as inlinable.
4927 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4928 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4929 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4930 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4931 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4932 (cl-list*, cl-adjoin): Don't put an autoload manually.
4933 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4934 (cl--compiler-macro-list*): Add autoload cookie.
4935 (cl--compiler-macro-cXXr): New function.
4936
4937 * help-fns.el (help-fns--compiler-macro): New function extracted from
4938 describe-function-1; follow aliases and use `compiler-macro' property.
4939 (describe-function-1): Use it.
4940
4941 2012-06-11 Chong Yidong <cyd@gnu.org>
4942
4943 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4944 is uninstalled, if imagemagick is installed.
4945
4946 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4947
4948 * emacs-lisp/cl-lib.el: Use lexical-binding.
4949 (cl-map-extents, cl-maclisp-member): Remove.
4950 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4951 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4952 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4953 * emacs-lisp/cl-extra.el: Use lexical-binding.
4954 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4955 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4956 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4957 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4958 * emacs-lisp/cl-seq.el: Use lexical-binding.
4959 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4960 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4961 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4962 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4963 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4964 CL's internals.
4965
4966 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
4967
4968 Sync with Tramp 2.2.6-pre.
4969
4970 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4971 `print-length' and `print-level' to nil, in order to avoid
4972 truncation. Reported by Christopher Schmidt
4973 <christopher@ristopher.com>.
4974
4975 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4976
4977 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4978 New defmacro.
4979 (tramp-compat-copy-directory): Add optional argument
4980 COPY-CONTENTS. It is not handled yet.
4981
4982 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4983 (tramp-ftp-file-name-p): Simplify.
4984
4985 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4986 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4987 connection vector.
4988
4989 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4990 (tramp-methods): Do not use `tramp-password-end-of-line'.
4991 (tramp-completion-function-alist-putty): Handle UNIX case.
4992 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4993 (tramp-do-file-attributes-with-stat)
4994 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4995 gid as real numbers. They could run out of integer range on cygwin.
4996 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4997 (tramp-sh-handle-expand-file-name): Handle hops.
4998 (tramp-open-connection-setup-interactive-shell):
4999 Use `tramp-cleanup'. Move check for busyboxes ...
5000 (tramp-find-shell): ... here. Simplify implementation.
5001 Set "remote-shell" property also for alternative shells.
5002 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5003 If failing, a regular file would be written otherwise.
5004 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5005 (tramp-find-inline-encoding): Cache the coding commands in the
5006 process cache. Apply test command on the remote side, if defined.
5007 (tramp-find-inline-compress): Cache the compress commands in the
5008 process cache.
5009 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5010 when requested. Handle hops.
5011 (tramp-current-connection): New defvar.
5012 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5013 Throw `suppress', if there was a failed connection shortly before.
5014 Handle user interrupt. (Bug#10187)
5015 (tramp-get-inline-compress, tramp-get-inline-coding):
5016 Read connection properties from the process cache.
5017
5018 * net/tramp-smb.el (tramp-smb-server-version)
5019 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5020 New defconsts.
5021 (tramp-smb-prompt): Extend for powershell prompt.
5022 (tramp-smb-file-name-handler-alist): Add handlers for
5023 `process-file', `shell-command' and `start-file-process'.
5024 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5025 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5026 (tramp-smb-file-name-p): Simplify.
5027 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5028 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5029 (tramp-smb-shell-quote-argument): New defuns.
5030 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5031 Implement using "tar". By this, time-stamps are preserved.
5032 (tramp-smb-handle-copy-file): Handle also the case of directories.
5033 (tramp-smb-do-file-attributes-with-stat)
5034 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5035 Use `tramp-get-connection-buffer').
5036 (tramp-smb-handle-rename-file): Use "rename", when source and
5037 target are on the same share.
5038 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5039 Use `tramp-smb-server-version'.
5040 (tramp-smb-wait-for-output): Remove prompt.
5041
5042 * net/tramp.el (top): Require 'cl.
5043 (tramp-methods, tramp-rsh-end-of-line):
5044 Remove `tramp-password-end-of-line' from docstring.
5045 (tramp-save-ad-hoc-proxies): New defcustom.
5046 (tramp-completion-function-alist): Adapt docstring.
5047 (tramp-default-password-end-of-line): Remove defcustom.
5048 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5049 (tramp-user-regexp, tramp-file-name-regexp-unified)
5050 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5051 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5052 (tramp-remote-file-name-spec-regexp): New defconst.
5053 (tramp-file-name-structure): Extend structure for hops.
5054 (tramp-get-method-parameter): Move up.
5055 (tramp-file-name-p, tramp-dissect-file-name)
5056 (with-parsed-tramp-file-name): Handle hops.
5057 (tramp-file-name-hop): New defun.
5058 (tramp-make-tramp-file-name): New optional arg HOP.
5059 (tramp-message-show-progress-reporter-message): New defvar.
5060 (tramp-with-progress-reporter): Use it. We cannot use
5061 `tramp-message-show-message' here, because this suppresses also
5062 error buffers.
5063 (tramp-error-with-buffer): Suppress buffer view, if
5064 `tramp-message-show-message' is nil.
5065 Use `tramp-get-connection-buffer'.
5066 (tramp-cleanup): New defun.
5067 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5068 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5069 an error unchanged.
5070 (tramp-completion-handle-file-name-all-completions): Handle hops.
5071 Fix an error when called from ido.
5072 (tramp-completion-dissect-file-name): Use better local variable
5073 name. Add hop to the vector.
5074 (tramp-handle-insert-file-contents): Use progress-reporter for the
5075 whole scenario.
5076 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5077 to `t'.
5078 (tramp-check-for-regexp): Simplify search.
5079 (tramp-enter-password): Remove it. Move implementation ...
5080 (tramp-action-password): ... here.
5081 (tramp-mode-string-to-int, tramp-local-host-p)
5082 (tramp-make-tramp-temp-file, tramp-read-passwd)
5083 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5084 Set tramp-autoload cookie.
5085
5086 * net/trampver.el: Update release number.
5087
5088 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5089 Michael Albinus <michael.albinus@gmx.de>
5090
5091 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5092 (tramp-parse-group, tramp-parse-file)
5093 (tramp-parse-shostkeys-sknownhosts): New defuns.
5094 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5095 (tramp-parse-shosts-group, tramp-parse-sconfig)
5096 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5097 (tramp-parse-sknownhosts, tramp-parse-hosts)
5098 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5099 Use them.
5100 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5101 (tramp-parse-putty-group): Don't narrow.
5102 (tramp-parse-putty): Make a loop.
5103 (tramp-file-name-handler): Catch the `suppress' signal.
5104
5105 2012-06-11 Chong Yidong <cyd@gnu.org>
5106
5107 * image.el (imagemagick-register-types): Put the ImageMagick entry
5108 at the end of image-type-file-name-regexps.
5109
5110 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5111
5112 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5113 (pcase, pcase-let*, pcase-dolist): Use them.
5114
5115 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * emacs-lisp/pcase.el (pcase--let*): New function.
5118 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5119 (pcase--expand): Use macroexp-let².
5120
5121 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5122
5123 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5124 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5125 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5126 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5127 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5128 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5129
5130 2012-06-10 Glenn Morris <rgm@gnu.org>
5131
5132 * mail/rmail.el (rmail-yank-current-message): Leave point at
5133 correct position. (Bug#11660)
5134
5135 2012-06-10 Chong Yidong <cyd@gnu.org>
5136
5137 * allout-widgets.el: Fix code header.
5138
5139 2012-06-10 Chong Yidong <cyd@gnu.org>
5140
5141 * cus-edit.el (customize-changed-options-previous-release):
5142 Bump to 24.1.
5143
5144 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5145
5146 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5147
5148 2012-06-09 Chong Yidong <cyd@gnu.org>
5149
5150 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5151
5152 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5153
5154 * window.el (special-display-popup-frame): Don't use
5155 window--display-buffer (Bug#11651).
5156
5157 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5158
5159 Fix parallel builds: make sure loaddefs.el is not being written
5160 while Lisp files are compiled.
5161 (compile): Don't depend on 'mh-autoloads'.
5162 (compile-CMD, compile-SH): Depend on 'autoloads'.
5163 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5164
5165 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5166
5167 2012-06-09 Chong Yidong <cyd@gnu.org>
5168
5169 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5170 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5171 Doc fixes (Bug#11225).
5172
5173 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5176 a function if there's a clear indication that it has a compiler-macro.
5177 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5178 (macro-declarations-alist): Add arglist to declaration functions.
5179 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5180 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5181 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5182 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5183 Also add autoload to find the compiler macro.
5184 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5185 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5186 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5187 (cl--compiler-macro-get): New functions, replacing calls to
5188 cl-define-compiler-macro.
5189 (cl-typep) [compiler-macro]: Use macroexp-let².
5190
5191 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5192
5193 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5194 string properly, fixes Bug#11473.
5195
5196 2012-06-08 Chong Yidong <cyd@gnu.org>
5197
5198 * faces.el (set-face-attribute): Doc fix.
5199 (modify-face): Don't use :bold and :italic.
5200 (error, warning, success): Tweak definitions.
5201
5202 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5203 (custom-modified, custom-set, custom-changed, custom-themed)
5204 (custom-saved, custom-button, custom-button-mouse)
5205 (custom-button-pressed, custom-state, custom-comment-tag)
5206 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5207 (custom-group-subtitle): Use new-style face specs.
5208 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5209 (custom-set-face, custom-changed-face, custom-saved-face)
5210 (custom-button-face, custom-button-pressed-face)
5211 (custom-documentation-face, custom-state-face)
5212 (custom-comment-face, custom-comment-tag-face)
5213 (custom-variable-tag-face, custom-variable-button-face)
5214 (custom-face-tag-face, custom-group-tag-face-1)
5215 (custom-group-tag-face): Remove obsolete face alias.
5216
5217 * epa.el (epa-validity-high, epa-validity-medium)
5218 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5219 (epa-field-name, epa-field-body):
5220 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5221 (font-lock-keyword-face, font-lock-builtin-face)
5222 (font-lock-function-name-face, font-lock-variable-name-face)
5223 (font-lock-type-face, font-lock-constant-face):
5224 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5225 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5226 * speedbar.el (speedbar-button-face, speedbar-file-face)
5227 (speedbar-directory-face, speedbar-tag-face)
5228 (speedbar-selected-face, speedbar-highlight-face)
5229 (speedbar-separator-face):
5230 * whitespace.el (whitespace-newline, whitespace-space)
5231 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5232 (whitespace-line, whitespace-space-before-tab)
5233 (whitespace-space-after-tab, whitespace-indentation)
5234 (whitespace-empty):
5235 * emulation/cua-base.el (cua-global-mark):
5236 * eshell/em-prompt.el (eshell-prompt):
5237 * net/newst-plainview.el (newsticker-new-item-face)
5238 (newsticker-old-item-face, newsticker-immortal-item-face)
5239 (newsticker-obsolete-item-face, newsticker-date-face)
5240 (newsticker-statistics-face, newsticker-default-face):
5241 * net/newst-reader.el (newsticker-feed-face)
5242 (newsticker-extra-face, newsticker-enclosure-face):
5243 * net/newst-treeview.el (newsticker-treeview-face)
5244 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5245 (newsticker-treeview-immortal-face)
5246 (newsticker-treeview-obsolete-face)
5247 (newsticker-treeview-selection-face):
5248 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5249 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5250 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5251 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5252 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5253 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5254 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5255 (mpuz-text):
5256 * progmodes/vera-mode.el (vera-font-lock-number)
5257 (vera-font-lock-function, vera-font-lock-interface):
5258 * textmodes/table.el (table-cell): Use new-style face specs, and
5259 don't use the old :bold and :italic attributes.
5260
5261 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5262 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5263 (ebrowse-member-class, ebrowse-progress): Likewise.
5264 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5265 (ebrowse-file-name-face, ebrowse-default-face)
5266 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5267 (ebrowse-progress-face): Remove obsolete faces.
5268
5269 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5270 Inherit from error and warning faces respectively.
5271
5272 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5273 Likewise.
5274 (flyspell-incorrect-face, flyspell-duplicate-face):
5275 Remove obsolete aliases.
5276
5277 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5278
5279 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5280 Avoid infloop.
5281
5282 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * startup.el (argv, argi): Make lexically scoped.
5285 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5286 * emacs-lisp/cl-macs.el: Use lexical-binding.
5287 Rename cl-bind-* to cl--bind-*.
5288 * files.el: Don't require `cl' since it doesn't use it.
5289 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5290
5291 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5292
5293 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5294 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5295 instead of calling external sort utility.
5296 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5297
5298 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5299
5300 * descr-text.el (describe-char): Mention how to insert the
5301 character, if the current input method doesn't support it.
5302 See the discussion in this thread for the details:
5303 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5304
5305 2012-06-08 Sam Steingold <sds@gnu.org>
5306
5307 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5308 XF86Back to previous-buffer.
5309 (minibuffer-local-map): Bind them to next-history-element and
5310 previous-history-element respectively.
5311 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5312 help-go-back respectively.
5313 * info.el (Info-mode-map): Bind them to Info-history-forward and
5314 Info-history-back respectively.
5315 These are the keys next to Up on the ThinkPad keyboard.
5316
5317 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5320 * emacs-lisp/cl-macs.el: Provide itself.
5321 (cl--labels-convert-cache): New var.
5322 (cl--labels-convert): New function.
5323 (cl-flet, cl-labels): New implementation with new semantics, relying on
5324 lexical-binding.
5325 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5326 (cl-closure-vars, cl--function-convert-cache)
5327 (cl--function-convert): Move from cl-macs.el.
5328 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5329 rename by removing the "cl-" prefix.
5330 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5331
5332 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5335 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5336 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5337 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5338 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5339 (cl-hash-table-count): Add old compatibility aliases.
5340
5341 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5342 Use macroexpand-all-environment instead.
5343 (cl--old-macroexpand): New var.
5344 (cl--sm-macroexpand): New function.
5345 (cl-symbol-macrolet): Use it during macro expansion.
5346 (cl--function-convert-cache): New var.
5347 (cl--function-convert): New function, extracted from
5348 cl-macroexpand-all.
5349 (cl-lexical-let): Use it.
5350
5351 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5352 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5353 (cl-member): Remove old alias.
5354
5355 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5356 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5357 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5358 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5359 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5360 (cl-macroexpand-cmacs): Remove var.
5361 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5362 Use macroexpand-all instead.
5363
5364 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5367 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5368 (macroexp-copyable-p): New functions and macros.
5369 * emacs-lisp/edebug.el (edebug-unwrap):
5370 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5371 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5372 (pcase--let*): Remove.
5373 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5374 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5375 macroexp-const-p instead.
5376 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5377
5378 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5379 instead of "cl-" for internal definitions. Use macroexp-const-p.
5380 (cl-old-bc-file-form): Remove var.
5381 (cl-const-exprs-p): Remove fun.
5382 (cl-labels, cl-macrolet): Use backquote.
5383 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5384 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5385 (cl-define-setf-expander): Rename from cl-define-setf-method.
5386 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5387
5388 * international/mule-cmds.el: Don't require CL.
5389 (view-hello-file): Don't use `letf'.
5390
5391 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * tmm.el (tmm-prompt): Use string-prefix-p.
5394 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5395 (tmm-add-prompt): Use minibuffer-completion-help.
5396 (tmm-delete-map): Remove.
5397
5398 * subr.el (kbd): Make it its own function.
5399
5400 2012-06-07 Stefan Merten <smerten@oekonux.de>
5401
5402 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5403 Silence compiler warnings. Fix versions.
5404 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5405 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5406 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5407 (rst-package-emacs-version-alist): Correct Emacs version to
5408 represent major merge with upstream.
5409 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5410
5411 2012-06-06 Glenn Morris <rgm@gnu.org>
5412
5413 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5414 Only print environment variables if set.
5415
5416 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5419 (macroexp--cons): Rename from maybe-cons.
5420 (macroexp--accumulate): Rename from macroexp-accumulate.
5421 (macroexp--all-forms): Rename from macroexpand-all-forms.
5422 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5423 (macroexp--expand-all): Rename from macroexpand-all-1.
5424
5425 2012-06-06 Sam Steingold <sds@gnu.org>
5426
5427 * calendar/calendar.el (calendar-in-read-only-buffer):
5428 Call `special-mode' to enable the standard read-only keybindings.
5429
5430 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5431
5432 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5433 with "loading" messages (bug#11635).
5434
5435 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5436
5437 * files.el (enable-remote-dir-locals): New option.
5438 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5439
5440 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5441 Ensure, that the temp directory is local.
5442
5443 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5444 `temporary-file-directory'.
5445
5446 * progmodes/python.el (python-send-region): Ensure, that the
5447 temporary file is created also in the remote case.
5448
5449 2012-06-06 Glenn Morris <rgm@gnu.org>
5450
5451 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5452 (vc-rcs-update-changelog): Use it.
5453
5454 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5455
5456 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5457 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5458 (vc-sccs-diff): Replace use of the external vcdiff script.
5459
5460 2012-06-05 Glenn Morris <rgm@gnu.org>
5461
5462 * ledit.el: Move to obsolete/.
5463
5464 2012-06-05 Sam Steingold <sds@gnu.org>
5465
5466 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5467 patch (Bug#11140).
5468
5469 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5470
5471 * emacs-lisp/cust-print.el: Move to obsolete.
5472
5473 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5474 compiler-macro expansion.
5475
5476 Add native compiler-macro support.
5477 * emacs-lisp/macroexp.el (macroexpand-all-1):
5478 Support compiler-macros directly. Properly follow aliases and apply
5479 the compiler macros more thoroughly.
5480 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5481 macroexpand now properly follows aliases.
5482 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5483 (cl-compiler-macroexpand): Use new prop.
5484 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5485
5486 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5487
5488 2012-06-05 Martin Rudalics <rudalics@gmx.at>
5489
5490 * window.el (get-lru-window, get-mru-window, get-largest-window):
5491 New argument NOT-SELECTED to avoid picking the selected window.
5492 (window--display-buffer-1, window--display-buffer-2): Replace by
5493 new function window--display-buffer
5494 (display-buffer-same-window, display-buffer-reuse-window)
5495 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5496 Use window--display-buffer.
5497 (display-buffer-use-some-window): Remove temporary dedication
5498 hack by calling get-lru-window and get-largest-window with
5499 NOT-SELECTED argument non-nil. Call window--display-buffer.
5500
5501 2012-06-05 Glenn Morris <rgm@gnu.org>
5502
5503 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5504 Replace external vcdiff script.
5505
5506 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5509
5510 2012-06-04 Chong Yidong <cyd@gnu.org>
5511
5512 * image.el (imagemagick-types-inhibit): Revert last change.
5513 Add INFO and M.
5514 (imagemagick-enabled-types): Remove CIN and EPS*.
5515
5516 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * emacs-lisp/cl-lib.el: Rename from cl.el.
5519 * emacs-lisp/cl.el: New compatibility file.
5520 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5521 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5522 to obey the "cl-" prefix.
5523 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5524
5525 2012-06-03 Glenn Morris <rgm@gnu.org>
5526
5527 * emacs-lisp/authors.el (authors-aliases): Addition.
5528
5529 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5530 Fix :version.
5531
5532 2012-06-03 Stefan Merten <smerten@oekonux.de>
5533
5534 * textmodes/rst.el: Add comments.
5535 (rst-transition, rst-adornment): New faces.
5536 (rst-adornment-faces-alist): Make default safe to reevaluate.
5537 Fixes
5538 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5539 Improve customization tags.
5540 (rst-define-level-faces): Clarify meaning.
5541
5542 2012-06-03 Chong Yidong <cyd@gnu.org>
5543
5544 * progmodes/compile.el (compilation-mode-line-fail)
5545 (compilation-mode-line-run, compilation-mode-line-exit):
5546 New faces.
5547 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5548
5549 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5550
5551 * progmodes/which-func.el (which-func-update-ediff-windows):
5552 New function. Use it in ediff-select-hook (Bug#11478).
5553
5554 2012-06-03 Chong Yidong <cyd@gnu.org>
5555
5556 * bindings.el: Remove explicit help text from format-mode-line.
5557 It is now supplied by mode-line-default-help-echo.
5558 (mode-line-front-space, mode-line-end-spaces)
5559 (mode-line-misc-info): New variables.
5560 (mode-line-modes, mode-line-position): Move the default value to
5561 the variable definition.
5562 (mode-line-default-help-echo): New defcustom.
5563 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5564 (mode-line-modified-help-echo): New functions.
5565 (mode-line-mule-info, mode-line-modified): Use them.
5566 (mode-line-eol-desc, propertized-buffer-identification):
5567 Consistency fixes for help text.
5568 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5569 set-buffer-file-coding-system (Bug#289).
5570 (mode-line-mule-info-help-echo): Update help text.
5571
5572 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * simple.el (execute-extended-command): Set real-this-command
5575 (bug#11506).
5576
5577 2012-06-02 Chong Yidong <cyd@gnu.org>
5578
5579 Remove incorrect uses of "modeline" in comments, docstrings, and
5580 function/variable names (Bug#10329).
5581
5582 * cus-edit.el (mode-line):
5583 * dframe.el (dframe-mouse-hscroll):
5584 * emacs-lisp/re-builder.el:
5585 * emacs-lisp/easy-mmode.el (define-minor-mode):
5586 * frame.el (set-frame-name):
5587 * help.el (lookup-minor-mode-from-indicator):
5588 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5589 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5590 (c-toggle-hungry-state):
5591 * progmodes/antlr-mode.el (antlr-language-alist):
5592 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5593 * progmodes/vhdl-mode.el (vhdl-mode):
5594 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5595 * term/ns-win.el (ns-face-at-pos):
5596 * term/sup-mouse.el (sup-mouse-report):
5597 * textmodes/flyspell.el (flyspell-mode-line-string):
5598 * textmodes/ispell.el (ispell-highlight-face):
5599 * textmodes/reftex-global.el:
5600 * vc/vc-arch.el (vc-arch-mode-line-string):
5601 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5602 * vc/vc-git.el (vc-git-mode-line-string):
5603 * vc/vc-hooks.el (vc-display-status)
5604 (vc-default-mode-line-string):
5605 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5606
5607 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5608
5609 * dired.el (dired-sort-set-mode-line): Rename from
5610 dired-sort-set-modeline. All callers changed.
5611
5612 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5613 eshell-status-in-modeline.
5614
5615 * foldout.el (foldout-mode-line-string): Rename from
5616 foldout-modeline-string. All callers changed.
5617 (foldout-update-mode-line): Rename from foldout-update-modeline.
5618
5619 * subr.el (redraw-modeline): Make into obsolete alias.
5620
5621 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5622 timeclock-modeline-display. Make old name an alias.
5623 (timeclock-update-mode-line): Likewise. All callers changed.
5624 (timeclock-mode-line-display): No need to check before using
5625 add-hook.
5626 (timeclock-relative, timeclock-day-over-hook)
5627 (timeclock-use-elapsed, timeclock-mode-string)
5628 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5629
5630 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5631 crisp-mode-modeline-string.
5632
5633 * play/solitaire.el (solitaire-build-mode-line): Rename from
5634 solitaire-build-modeline. All callers changed.
5635
5636 * play/zone.el (zone-hiding-mode-line): Rename from
5637 zone-hiding-modeline. All callers changed.
5638 (zone): Remove unusued `modeline-hidden-level' property.
5639
5640 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5641 xscheme-modeline-initialize. All callers changed.
5642
5643 * strokes.el (strokes-lighter): Rename from
5644 strokes-modeline-string.
5645
5646 * textmodes/sgml-mode.el (html-face-tag-alist)
5647 (html-tag-face-alist): Use mode-line face instead of obsolete
5648 alias modeline.
5649
5650 2012-06-02 Stefan Merten <smerten@oekonux.de>
5651
5652 * textmodes/rst.el: Always require `cl'.
5653 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5654
5655 2012-06-02 Chong Yidong <cyd@gnu.org>
5656
5657 * image.el (imagemagick-enabled-types): Rename from
5658 imagemagick-types-enable. Add many more types.
5659 (imagemagick-types-inhibit): Change default to nil.
5660 (imagemagick-filter-types): Caller changed.
5661
5662 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * emacs-lisp/cl-macs.el: Use backquotes.
5665 (cl-transform-function-property): Use eval-and-compile rather than
5666 abusing `require'.
5667 (defstruct): Use declare-function instead of with-no-warnings.
5668
5669 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5670 (byte-compile-output-docform): Re-add the print-circle bindings.
5671 (byte-compile-fix-header): Use #$ just because it's shorter.
5672 (byte-compile-output-file-form): Remove defun/defmacro.
5673
5674 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5675
5676 * simple.el (choose-completion): Remove now obsolete binding for
5677 owindow.
5678
5679 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5680
5681 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5682 in order to avoid "Stack overflow in regexp matcher".
5683
5684 2012-05-31 Glenn Morris <rgm@gnu.org>
5685
5686 * image.el: For clarity, call imagemagick-register-types at
5687 top-level, rather than relying on a custom :initialize.
5688 (imagemagick-types-enable): New option. (Bug#11557)
5689 (imagemagick-filter-types): New function. (Bug#7406)
5690 (imagemagick-register-types): Use imagemagick-filter-types.
5691 If disabling support, remove elements altogether rather
5692 than using an impossible regexp.
5693 (imagemagick-types-inhibit): Give it the default init function.
5694
5695 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5698 Handle arbitrary file name lengths (Bug#11585).
5699
5700 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5701
5702 * desktop.el (desktop-read): Clear previous and next buffers for
5703 all windows and bury *Messages* buffer (bug#11556).
5704
5705 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 Add `declare' for `defun'. Align `defmacro's with it.
5708 * emacs-lisp/easy-mmode.el (define-minor-mode)
5709 (define-globalized-minor-mode): Don't autoload the var definitions.
5710 * emacs-lisp/byte-run.el: Use lexical-binding.
5711 (defun-declarations-alist, macro-declarations-alist): New vars.
5712 (defmacro, defun): Use them.
5713 (make-obsolete, define-obsolete-function-alias)
5714 (make-obsolete-variable, define-obsolete-variable-alias):
5715 Use `declare'.
5716 (macro-declaration-function): Mark obsolete.
5717 * emacs-lisp/autoload.el: Use lexical-binding.
5718 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5719
5720 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5721
5722 * textmodes/ispell.el (ispell-with-no-warnings):
5723 Define as a macro.
5724 (ispell-kill-ispell, ispell-change-dictionary):
5725 Use `called-interactively-p' for Emacs instead of obsolete
5726 `interactive-p'.
5727
5728 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5729
5730 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5731 (macro-declaration-function): Move var from C code.
5732 (macro-declaration-function): Define function with defalias.
5733 * emacs-lisp/macroexp.el (macroexpand-all-1):
5734 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5735 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5736 defun/defmacro any more.
5737 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5738 Provide fallback for unknown arglist.
5739 (byte-compile-arglist-warn): Change calling convention.
5740 (byte-compile-output-file-form): Move print-vars binding.
5741 (byte-compile-output-docform): Simplify accordingly.
5742 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5743 (byte-compile-defmacro-declaration): Remove.
5744 (byte-compile-file-form-defmumble): Generalize to defalias.
5745 (byte-compile-output-as-comment): Return byte-positions.
5746 Simplify callers accordingly.
5747 (byte-compile-lambda): Use `assert'.
5748 (byte-compile-defun, byte-compile-defmacro): Remove.
5749 (byte-compile-file-form-defalias):
5750 Use byte-compile-file-form-defmumble.
5751 (byte-compile-defalias-warn): Remove.
5752
5753 2012-05-29 Stefan Merten <smerten@oekonux.de>
5754
5755 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5756 possible. Fix authors. Improve comments. Improve loading of `cl'.
5757
5758 (rst-mode-abbrev-table): Merge definition.
5759 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5760 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5761
5762 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5763
5764 * calendar/icalendar.el
5765 (icalendar-export-region): Export UID properly.
5766
5767 2012-05-29 Leo Liu <sdl.web@gmail.com>
5768 * calendar/icalendar.el (icalendar-import-format):
5769 Add `icalendar-import-format-uid' (Bug#11525).
5770 (icalendar-import-format-uid): New.
5771 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5772 Export UID.
5773
5774 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5775
5776 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5777 different alternative patterns.
5778 (pcase-codegen): Be more careful to preserve identity.
5779 (pcase--u1): Don't forget to mark vars as used.
5780
5781 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5782 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5783 (byte-compile-from-buffer): ...rather than here.
5784
5785 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5786 functions from byte-compile-function-environment.
5787
5788 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5789
5790 * window.el (window-deletable-p): Avoid deleting the root window
5791 of a frame with an active minibuffer.
5792
5793 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5794
5795 * simple.el (choose-completion): Use quit-window (Bug#11567).
5796
5797 2012-05-29 Chong Yidong <cyd@gnu.org>
5798
5799 * whitespace.el (whitespace-cleanup): Fix usage of
5800 whitespace-empty-at-bob-regexp (Bug#11492).
5801
5802 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5803
5804 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5805 revert (Bug#11488).
5806
5807 2012-05-29 Juri Linkov <juri@jurta.org>
5808
5809 * isearch.el (isearch-mode-map): Bind `M-s _' to
5810 `isearch-toggle-symbol'. Bind `M-s c' to
5811 `isearch-toggle-case-fold'.
5812 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5813 (isearch-forward): Add `M-s _' to the docstring.
5814 (isearch-forward-symbol, isearch-toggle-case-fold)
5815 (isearch-symbol-regexp): New functions. (Bug#11381)
5816
5817 2012-05-29 Juri Linkov <juri@jurta.org>
5818
5819 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5820 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5821 a function, call it to get the regexp.
5822 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5823 property `isearch-message-prefix' instead of the string "word ".
5824 (isearch-search-fun-default): For the case of `isearch-word',
5825 return a lambda that calls re-search-forward/re-search-backward
5826 with a regexp returned by `word-search-regexp' or by the function
5827 in `isearch-word'.
5828
5829 2012-05-29 Juri Linkov <juri@jurta.org>
5830
5831 * isearch.el (isearch-search-fun-default): New function.
5832 (isearch-search-fun): Move default part to the new function
5833 `isearch-search-fun-default'.
5834 (isearch-search-fun-function): Set the default value to
5835 `isearch-search-fun-default'. (Bug#11381)
5836
5837 * comint.el (comint-history-isearch-end):
5838 Use `isearch-search-fun-default'.
5839 (comint-history-isearch-search): Use `isearch-search-fun-default'
5840 and remove spacial case for `isearch-word'.
5841 (comint-history-isearch-wrap): Remove spacial case for
5842 `isearch-word'.
5843
5844 * hexl.el (hexl-isearch-search-function):
5845 Use `isearch-search-fun-default'.
5846
5847 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5848 Use `word-search-regexp' for `isearch-word'.
5849
5850 * misearch.el (multi-isearch-search-fun):
5851 Use `isearch-search-fun-default'.
5852
5853 * simple.el (minibuffer-history-isearch-search):
5854 Use `isearch-search-fun-default' and remove spacial case for
5855 `isearch-word'.
5856 (minibuffer-history-isearch-wrap): Remove spacial case for
5857 `isearch-word'.
5858
5859 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5860 Remove spacial case for `isearch-word'.
5861 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5862
5863 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5864
5865 Decrease XEmacs incompatibilities.
5866 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5867 Use `string-match'.
5868 (flyspell-delete-region-overlays): Use alternative definition for
5869 XEmacs.
5870 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5871 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5872 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5873 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5874 `define-obsolete-face-alias' under XEmacs, but old method.
5875
5876 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5877 `with-no-warnings' definition or Emacs alias.
5878 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5879 (ispell-word): Do not use `region-p' if XEmacs.
5880
5881 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5882
5883 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5884 Check for `ispell-dictionary-base-alist' instead of full
5885 `ispell-dictionary-alist'.
5886 (ispell-init-process): Show spellchecker when starting new Ispell
5887 process.
5888
5889 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5892 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5893
5894 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
5895
5896 * version.el (motif-version-string, gtk-version-string)
5897 (ns-version-string): Declare.
5898
5899 2012-05-27 Juri Linkov <juri@jurta.org>
5900
5901 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5902 after the `eval-defun-1' specialcaseing
5903 like in `edebug-eval-defun' (bug#10181).
5904
5905 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5906 like in `eval-defun-1'.
5907
5908 2012-05-27 Eli Zaretskii <eliz@gnu.org>
5909
5910 * mail/sendmail.el (mail-yank-region):
5911 Recognize rmail-yank-current-message in addition to insert-buffer.
5912 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5913 a *mail* buffer created through rmail-start-mail with sendmail as
5914 mail-user-agent.
5915
5916 2012-05-27 Chong Yidong <cyd@gnu.org>
5917
5918 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5919 Default to 256 (Bug#11267).
5920
5921 * help.el (describe-mode): Doc fix.
5922
5923 2012-05-26 Glenn Morris <rgm@gnu.org>
5924
5925 * w32-fns.el (w32-init-info): Remove.
5926 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5927
5928 * info.el (info-initialize): For self-contained NS builds, put the
5929 included info/ directory at the front. (Bug#2791)
5930
5931 * paths.el (Info-default-directory-list): Make it a defcustom,
5932 mainly so that we can use custom-initialize-delay.
5933
5934 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * subr.el (buffer-has-markers-at): Mark obsolete.
5937
5938 * subr.el (lambda): Use declare.
5939
5940 * emacs-lisp/lisp-mode.el (lambda):
5941 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5942
5943 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5944
5945 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5946
5947 2012-05-26 Glenn Morris <rgm@gnu.org>
5948
5949 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5950
5951 2012-05-25 Glenn Morris <rgm@gnu.org>
5952
5953 * paths.el: Remove no-byte-compile.
5954 * loadup.el: No need to load paths.el uncompiled.
5955
5956 * image.el (imagemagick-types-inhibit): Doc fix.
5957
5958 * version.el: Remove no-byte-compile and associated formatting.
5959 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5960 is ancient code from when there was an "inc-vers.el".
5961
5962 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5963
5964 * progmodes/gdb-mi.el: Minor style changes.
5965 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5966 Turn into minor modes.
5967 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5968 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5969 (gdb-shell): Remove unneeded let-binding.
5970 (gdb-get-many-fields): Eliminate O(n²) behavior.
5971
5972 2012-05-25 Eli Zaretskii <eliz@gnu.org>
5973
5974 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5975 platforms that don't link in fontset.c.
5976
5977 2012-05-25 Juri Linkov <juri@jurta.org>
5978
5979 Use the same diff color scheme as in modern VCSes (bug#10181).
5980
5981 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5982 to avoid confusion with `diff-added' that now uses green colors.
5983 (diff-removed): Use shades of red.
5984 (diff-added): Use shades of green.
5985 (diff-changed): Leave just the yellow color.
5986 (diff-use-changed-face): New variable.
5987 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5988 how to highlight context diff changes.
5989 (diff-refine-change): Use shades of yellow.
5990 (diff-refine-removed): New face that uses shades of red.
5991 (diff-refine-added): New face that uses shades of green.
5992 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5993 `diff-refine-removed' in the call to `smerge-refine-subst'
5994 depending on the value of `diff-use-changed-face'.
5995
5996 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5997 (smerge-other): Use shades of green.
5998 (smerge-base): Use shades of yellow.
5999 (smerge-refined-change): Empty face.
6000 (smerge-refined-removed): New face that uses shades of red.
6001 (smerge-refined-added): New face that uses shades of green.
6002 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6003 args `props-r' and `props-a', and use them. Doc fix.
6004 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6005 on its value use different faces `smerge-refined-change',
6006 `smerge-refined-removed', `smerge-refined-added' in the call to
6007 `smerge-refine-subst'.
6008
6009 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6010 Add face condition `min-colors 88' with shades of red.
6011 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6012 `min-colors 88' with shades of green.
6013 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6014 `min-colors 88' with shades of yellow.
6015
6016 2012-05-24 Glenn Morris <rgm@gnu.org>
6017
6018 * paths.el (prune-directory-list, remote-shell-program): Move to...
6019 * files.el (prune-directory-list, remote-shell-program): ...here.
6020 For the latter, delay initialization, prefer ssh, just search PATH.
6021
6022 * paths.el (term-file-prefix): Move to faces.el (the only user).
6023 * faces.el (term-file-prefix): Move here, make it a defcustom.
6024
6025 * paths.el (news-directory, news-path, news-inews-program):
6026 Move to gnus/nnspool.el.
6027
6028 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6029
6030 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6031 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6032 Make the latter a defcustom, with a delayed initialization.
6033
6034 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6035 These were deleted from Gnus itself late 2010.
6036
6037 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6038
6039 * progmodes/which-func.el (which-func-ff-hook):
6040 Check against user-error, not error.
6041
6042 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6043 cl-specs.el, which no longer exists.
6044
6045 2012-05-22 Glenn Morris <rgm@gnu.org>
6046
6047 * info.el (info-emacs-bug): New command.
6048 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6049 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6050
6051 2012-05-21 Glenn Morris <rgm@gnu.org>
6052
6053 * makefile.w32-in (update-subdirs-SH):
6054 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6055
6056 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6057
6058 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6059
6060 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6061 Simplify Maven regexp, and make sure the file can't start with a space
6062 (bug#11517).
6063
6064 2012-05-21 Glenn Morris <rgm@gnu.org>
6065
6066 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6067 Scrap superfluous subshells.
6068
6069 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6072 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6073
6074 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6075
6076 * calc/calc.el (calc-ensure-consistent-units): New variable.
6077
6078 * calc/calc-units.el (math-consistent-units-p)
6079 (math-check-unit-consistency): New functions.
6080 (calc-quick-units, calc-convert-units):
6081 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6082 is non-nil.
6083 (calc-extract-units): Fix typo.
6084
6085 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6086
6087 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6088
6089 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6090 (flyspell-default-deplacement-commands): Don't spell check after
6091 repeated window/frame switches (e.g. triggered by mouse-movement).
6092 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6093 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6094 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6095 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6096 Remove unused vars.
6097 (flyspell-get-casechars, flyspell-get-not-casechars):
6098 Simplify; Don't bother removing a ] just to add it back.
6099 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6100
6101 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6102
6103 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6104 New functions.
6105 (math-function-table): Add support for more C functions.
6106
6107 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6108
6109 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6110 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6111 Protect delay handling for otherchars against empty otherchars.
6112
6113 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6116 their respective macro declarations.
6117 * skeleton.el (define-skeleton):
6118 * progmodes/compile.el (define-compilation-mode):
6119 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6120 (define-ibuffer-filter):
6121 * emacs-lisp/generic.el (define-generic-mode):
6122 * emacs-lisp/easy-mmode.el (define-minor-mode)
6123 (define-globalized-minor-mode):
6124 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6125 * emacs-lisp/byte-run.el (defsubst):
6126 * custom.el (deftheme): Add doc-string metadata.
6127
6128 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6131
6132 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6135
6136 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6137 * emacs-lisp/cl-macs.el: Idem.
6138 * emacs-lisp/cl-specs.el: Remove.
6139
6140 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 Minor renaming of internal CL functions and variables.
6143 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6144 (cl--position): Rename from cl-position.
6145 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6146 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6147 (cl--random-state): Rename from *random-state*.
6148
6149 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6150
6151 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6152 parens around the arg list (bug#11499).
6153
6154 2012-05-17 Juri Linkov <juri@jurta.org>
6155
6156 * isearch.el (word-search-regexp, word-search-backward)
6157 (word-search-forward, word-search-backward-lax)
6158 (word-search-forward-lax): Move functions from search.c
6159 (bug#10145, bug#11381).
6160
6161 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6162
6163 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6164 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6165 Delay for otherchars as for normal word components.
6166
6167 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6168
6169 * minibuffer.el (completion--sifn-requote): Fix last change.
6170 (minibuffer-local-must-match-filename-map):
6171 Move define-obsolete-variable-alias before its var.
6172
6173 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6176
6177 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6178 behavior.
6179 (completion--string-equal-p): New function.
6180 (completion--twq-all): Use it to get better assertion failure data.
6181
6182 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6183 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6184 (shell--requote-argument): New functions.
6185 (shell-completion-vars): Use them.
6186 (shell--parse-pcomplete-arguments): Rename from
6187 shell-parse-pcomplete-arguments.
6188 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6189 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6190 Obey comint-file-name-quote-list.
6191
6192 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6193 (smie-indent-keyword): Use it.
6194
6195 2012-05-14 Stefan Merten <smerten@oekonux.de>
6196
6197 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6198
6199 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6200
6201 * net/rlogin.el (rlogin-mode-map): Fix last change.
6202
6203 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6204
6205 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6206 the following \r\n using a single `process-send-string', since the
6207 Lotus SMTP server refuses to accept any commands if they are sent
6208 with two `process-send-string's (Bug#11444).
6209
6210 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6211
6212 * shell.el (shell-parse-pcomplete-arguments):
6213 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6214
6215 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6216
6217 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6218 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6219 (image-transform-width, image-transform-fit-width): New functions.
6220 (image-transform-properties): Use them.
6221 (image-transform-check-size): New function.
6222 (image-toggle-display-image): Use it (for testing).
6223 (image-transform-set-rotation): Reduce angle mod 360.
6224 Delete obsolete comment.
6225
6226 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6227
6228 * image-mode.el: Fix scaling (bug#11399).
6229 (image-transform-resize): Doc fix.
6230 (image-transform-properties): Default scale is 1 and height should
6231 be an integer.
6232
6233 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6234
6235 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6236 than hard-coding `car', to fix misbehavior when moving forward.
6237
6238 2012-05-13 Chong Yidong <cyd@gnu.org>
6239
6240 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6241 (tabulated-list-entries, tabulated-list-padding)
6242 (tabulated-list-sort-key): Make permanent-local.
6243
6244 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6245 (electric-buffer-list): Put electric buffer menu
6246 command descriptions in this docstring, instead of the docstring
6247 of electric-buffer-menu-mode. Code cleanups.
6248 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6249 Electric-buffer-menu-mode.
6250 (electric-buffer-update-highlight): Minor code cleanup.
6251
6252 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6253
6254 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6255 (Bug#11447)
6256
6257 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 Move define-obsolete-variable-alias before the var's definition.
6260 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6261 * tooltip.el (tooltip-hook):
6262 * textmodes/reftex-toc.el (reftex-toc-map):
6263 * textmodes/reftex-sel.el (reftex-select-label-map)
6264 (reftex-select-bib-map):
6265 * textmodes/reftex-index.el (reftex-index-map)
6266 (reftex-index-phrases-map):
6267 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6268 * progmodes/meta-mode.el (meta-mode-map):
6269 * novice.el (disabled-command-hook):
6270 * loadhist.el (unload-hook-features-list):
6271 * frame.el (blink-cursor):
6272 * files.el (find-file-not-found-hooks, write-file-hooks)
6273 (write-contents-hooks):
6274 * emulation/tpu-edt.el (GOLD-map):
6275 * emacs-lock.el (emacs-lock-from-exiting):
6276 * emacs-lisp/generic.el (generic-font-lock-defaults):
6277 * emacs-lisp/chart.el (chart-map):
6278 * dos-fns.el (register-name-alist):
6279 * dired-x.el (dired-omit-files-p):
6280 * desktop.el (desktop-enable):
6281 * cus-edit.el (custom-mode-hook):
6282 * buff-menu.el (buffer-menu-mode-hook):
6283 * bookmark.el (bookmark-read-annotation-text-func)
6284 (bookmark-exit-hooks):
6285 * allout.el (allout-mode-deactivate-hook)
6286 (allout-exposure-change-hook, allout-structure-added-hook)
6287 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6288 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6289 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6290 comes before the corresponding variable's definition.
6291
6292 2012-05-12 Chong Yidong <cyd@gnu.org>
6293
6294 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6295 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6296 (Buffer-menu-mode-map): Bind it.
6297 (Buffer-menu--pretty-name): Add a mouse-face property.
6298
6299 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6300
6301 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6302 (prolog-upper-case-string, prolog-lower-case-string)
6303 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6304 (prolog-use-smie, prolog-smie-grammar): New vars.
6305 (prolog-smie-forward-token, prolog-smie-backward-token)
6306 (prolog-smie-rules): New funs.
6307 (prolog-comment-indent): Remove.
6308 (prolog-mode-variables): Use default comment indentation instead.
6309 Setup SMIE.
6310 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6311 (prolog-mode): Don't call them any more.
6312 (prolog-electric-colon, prolog-electric-dash)
6313 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6314
6315 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6316
6317 * minibuffer.el (completion--twq-all): Again, allow case differences.
6318
6319 * term.el: Move keymap initialization code to be more idiomatic.
6320 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6321 (term-terminal-menu): Move initialization into declaration.
6322 (term-escape-char): Let the user set it in her .emacs.
6323
6324 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6325 Provide SMIE-based indentation (not enabled by default yet).
6326 (sh-mode-map): Don't bind electric keys.
6327 Use electric-pair-mode instead of skeleton-pair.
6328 (sh-assignment-regexp): Fit within 80 columns.
6329 (sh-indent-supported): Specify actual shell name instead of boolean.
6330 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6331 (sh-maybe-here-document): Use it. Make obsolete.
6332 (sh-electric-here-document-mode) New minor mode.
6333 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6334 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6335 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6336 (sh-smie-rc-grammar, sh-use-smie): New vars.
6337 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6338 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6339 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6340 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6341 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6342 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6343 (sh-set-shell): Use smie-setup if requested.
6344
6345 * term.el (term-set-escape-char): Properly set term-escape-char.
6346 See http://stackoverflow.com/questions/10524656.
6347
6348 2012-05-10 Chong Yidong <cyd@gnu.org>
6349
6350 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6351 Use url-generic-parse-url, and handle host names and Windows
6352 filenames properly.
6353 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6354 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6355 URL schemes to work on.
6356 (ffap--toggle-read-only): New function.
6357 (ffap-read-only, ffap-read-only-other-window)
6358 (ffap-read-only-other-frame): Use it.
6359 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6360 necessary for ffap-url-unwrap-remote.
6361
6362 2012-05-10 Dave Abrahams <dave@boostpro.com>
6363
6364 * cus-start.el (create-lockfiles): Add it.
6365
6366 2012-05-09 Chong Yidong <cyd@gnu.org>
6367
6368 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6369 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6370
6371 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6372
6373 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6374
6375 2012-05-09 Chong Yidong <cyd@gnu.org>
6376
6377 * ansi-color.el (ansi-color-process-output): Check for validity of
6378 comint-last-output-start before using it. This avoids a bad
6379 interaction with gdb-mi's input/output buffer.
6380
6381 2012-05-09 Glenn Morris <rgm@gnu.org>
6382
6383 * files.el (dir-locals-read-from-file):
6384 Mention dir-locals in any error message.
6385
6386 2012-05-09 Chong Yidong <cyd@gnu.org>
6387
6388 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6389 package (Bug#11410).
6390
6391 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6392 variables into description.
6393
6394 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6397 shell-delimiter-argument-list (bug#11348).
6398 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6399
6400 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6401
6402 * textmodes/rst.el: Silence byte-compiler warnings.
6403 (rst-re-alist, rst-reset-section-caches): Move around.
6404 (rst-re): Use `characterp', not `char-valid-p'.
6405 (font-lock-beg, font-lock-end): Declare.
6406
6407 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6408 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6409
6410 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6411
6412 2012-05-08 Glenn Morris <rgm@gnu.org>
6413
6414 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6415
6416 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * vc/log-edit.el: Add GNU coding standards highlighting.
6419 (log-edit-font-lock-gnu-style)
6420 (log-edit-font-lock-gnu-keywords): New vars.
6421 (log-edit-font-lock-keywords): New fun.
6422 (log-edit-mode): Don't fold case in font-lock.
6423 (log-edit-font-lock-keywords): Do not assume case-folding.
6424
6425 * imenu.el: Misc cleanup. Make docstrings out of comments.
6426 Use lexical-binding.
6427 (imenu--index-alist, imenu--last-menubar-index-alist)
6428 (imenu-menubar-modified-tick): Use defvar-local.
6429 (imenu--split-menu): Remove unused var.
6430 (imenu--cleanup-seen): Declare as global.
6431 (imenu--cleanup): Use dolist.
6432
6433 * subr.el (defvar-local): Add debug spec and doc-string position.
6434
6435 2012-05-08 Glenn Morris <rgm@gnu.org>
6436
6437 * language/burmese.el, language/cham.el, language/czech.el:
6438 * language/english.el, language/georgian.el, language/greek.el:
6439 * language/japanese.el, language/khmer.el, language/korean.el:
6440 * language/lao.el, language/misc-lang.el, language/romanian.el:
6441 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6442 * language/thai.el, language/utf-8-lang.el:
6443 Remove no-byte-compile setting.
6444
6445 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6446
6447 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6448
6449 * progmodes/make-mode.el (makefile-browse):
6450 Remove unnecessary interactive. (Bug#11324)
6451
6452 2012-05-07 Glenn Morris <rgm@gnu.org>
6453
6454 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6455
6456 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6457
6458 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6459
6460 * loadup.el: Preload newcomment.el.
6461 * newcomment.el: Move autoload-only code to toplevel.
6462
6463 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6464 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6465 Handle new :right-align column property.
6466 (tabulated-list-print-col): Idem, plus use `display' text-property to
6467 try and preserve alignment for variable pitch fonts.
6468
6469 2012-05-07 Chong Yidong <cyd@gnu.org>
6470
6471 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6472 (tabulated-list-use-header-line): New var.
6473 (tabulated-list-init-header): Use it.
6474 (tabulated-list-print-fake-header): New function.
6475 (tabulated-list-print): Use it.
6476 (tabulated-list-sort-button-map): Add non-header-line commands.
6477 (tabulated-list-init-header): Add column name property to basic
6478 labels as well.
6479 (tabulated-list-col-sort): Handle non-header-line button case.
6480 (tabulated-list--sort-by-column-name): Fix a corner case.
6481
6482 * buff-menu.el (list-buffers--refresh):
6483 Handle Buffer-menu-use-header-line.
6484
6485 2012-05-06 Chong Yidong <cyd@gnu.org>
6486
6487 * buff-menu.el: Convert to Tabulated List mode.
6488 (Buffer-menu-buffer+size-width): Make obsolete.
6489 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6490 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6491 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6492 documentation into docstring of buffer-menu.
6493 (Buffer-menu-toggle-files-only): Add an informative message.
6494 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6495 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6496 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6497 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6498 (Buffer-menu-execute, Buffer-menu-select)
6499 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6500 (Buffer-menu-bury): Use Tabulated List machinery.
6501 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6502 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6503 Delete.
6504 (list-buffers--refresh): New function.
6505 (list-buffers-noselect): Use it.
6506 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6507 (Buffer-menu--pretty-file-name): New helper functions.
6508
6509 * loadup.el: Preload tabulated-list.
6510
6511 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6512 tabulated-list-sort-column.
6513 (tabulated-list-init-header): Add the initial aligning space even
6514 if tabulated-list-padding is zero.
6515
6516 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6517
6518 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6519 whose cdr is not a cons cell correctly (bug#11038).
6520
6521 2012-05-06 Chong Yidong <cyd@gnu.org>
6522
6523 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6524 Accept additional plist in column descriptors.
6525 (tabulated-list-init-header): Obey it.
6526 (tabulated-list-get-entry): New function.
6527 (tabulated-list-put-tag): Use it. Use string-width instead of
6528 length.
6529 (tabulated-list--column-number): New function.
6530 (tabulated-list-print): Use it.
6531 (tabulated-list-print-col): New function.
6532 Set `tabulated-list-column-name' property on each column's text.
6533 (tabulated-list-print-entry): Use it.
6534 (tabulated-list-delete-entry, tabulated-list-set-col):
6535 New functions.
6536 (tabulated-list-sort-column): New command (Bug#11337).
6537
6538 * buff-menu.el (list-buffers): Move C-x C-b binding from
6539 buff-menu.el to bindings.el.
6540
6541 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6542 :advertised-binding feature.
6543
6544 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6545
6546 * progmodes/compile.el (compilation-internal-error-properties):
6547 Calculate start position correctly when end-col is set but
6548 end-line is not (Bug#11382).
6549
6550 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6551
6552 * man.el (Man-unindent): Use text-property-default-nonsticky to
6553 prevent untabify from inheriting face properties (Bug#11408).
6554
6555 2012-05-05 Stefan Merten <smerten@oekonux.de>
6556
6557 * textmodes/rst.el: Major merge with upstream development up to
6558 Docutils SVN r7399 / rst.el V1.2.1.
6559
6560 Clarify maintainership and authors.
6561
6562 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6563 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6564 (rst-official-version, rst-official-cvs-rev, rst-version)
6565 (rst-package-emacs-version-alist): New functions and variables
6566 for version information.
6567
6568 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6569 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6570 (rst-mode-syntax-table, rst-mode): New and corrected functions
6571 and variables representing reStructuredText features.
6572
6573 (rst-re): New function for reStructuredText regexes. Use in
6574 many places.
6575
6576 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6577 (rst-mode-map): Rebind keys.
6578
6579 (rst-mode-lazy, rst-font-lock-keywords)
6580 (rst-font-lock-extend-region)
6581 (rst-font-lock-extend-region-internal)
6582 (rst-font-lock-extend-region-extend)
6583 (rst-font-lock-find-unindented-line-limit)
6584 (rst-font-lock-find-unindented-line-match)
6585 (rst-adornment-level, rst-font-lock-adornment-level)
6586 (rst-font-lock-adornment-match)
6587 (rst-font-lock-handle-adornment-pre-match-form)
6588 (rst-font-lock-handle-adornment-matcher): Major revision of
6589 font-locking. Integrate with other code. Use `jit-lock-mode'.
6590
6591 (rst-preferred-adornments, rst-adjust-hook)
6592 (rst-new-adornment-down, rst-preferred-bullets)
6593 (rst-preferred-bullets, rst-indent, rst-indent-width)
6594 (rst-indent-field, rst-indent-literal-normal)
6595 (rst-indent-literal-minimized, rst-indent-comment): Change,
6596 extend and improve customization.
6597
6598 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6599 (rst-normalize-cursor-position, rst-get-decoration)
6600 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6601 (rst-rstrip, rst-toc-insert-find-delete-contents)
6602 (rst-shift-fill-region, rst-compute-bullet-tabs)
6603 (rst-debug-print-tabs, rst-debug-mark-found)
6604 (rst-shift-region-guts, rst-shift-region-right)
6605 (rst-shift-region-left, rst-use-char-classes)
6606 (rst-font-lock-keywords-function)
6607 (rst-font-lock-indentation-point)
6608 (rst-font-lock-find-unindented-line-begin)
6609 (rst-font-lock-find-unindented-line-end)
6610 (rst-font-lock-find-unindented-line)
6611 (rst-font-lock-adornment-point, rst-font-lock-level)
6612 (rst-adornment-level-alist): Remove functions and variables.
6613
6614 (rst-compare-adornments, rst-get-adornment-match)
6615 (rst-suggest-new-adornment, rst-get-adornments-around)
6616 (rst-adornment-complete-p, rst-get-next-adornment)
6617 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6618 (rst-straighten-adornments): Standardize function names to
6619 use "adornment" instead of "decoration". Correct callers.
6620 Similar standardizing in many places.
6621
6622 (rst-update-section, rst-adjust, rst-promote-region)
6623 (rst-enumerate-region, rst-bullet-list-region)
6624 (rst-repeat-last-character): Correct use of `interactive'.
6625
6626 (rst-classify-adornment, rst-find-all-adornments)
6627 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6628 (rst-find-leftmost-column, rst-repeat-last-character):
6629 Refactor functions.
6630
6631 (rst-find-title-line, rst-reset-section-caches)
6632 (rst-get-adornments-around, rst-adjust-adornment-work)
6633 (rst-arabic-to-roman, rst-roman-to-arabic)
6634 (rst-insert-list-pos, rst-insert-list-new-item)
6635 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6636 New functions.
6637
6638 (rst-all-sections, rst-section-hierarchy)
6639 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6640 New variables.
6641
6642 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6643 configuration instead of only buffer. Change where necessary.
6644
6645 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6646 (rst-shift-region, rst-adaptive-fill): New functions for
6647 indentation and filling.
6648
6649 (rst-comment-line-break, rst-comment-indent)
6650 (rst-comment-insert-comment, rst-comment-region)
6651 (rst-uncomment-region): New functions for handling comments.
6652
6653 (rst-compile): Quote shell arguments.
6654
6655 (rst-compile-pdf-preview, rst-compile-slides-preview):
6656 Delete temporary files after use.
6657
6658 2012-05-05 Glenn Morris <rgm@gnu.org>
6659
6660 * calendar/cal-html.el: Optionally include holidays in the output.
6661 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6662 (cal-html-holidays): New option.
6663 (cal-html-css-default): Add holiday entry.
6664 (holiday-in-range): Autoload it.
6665 (cal-html-htmlify-entry): Add optional class argument.
6666 (cal-html-htmlify-list): Add optional holidays argument.
6667 (cal-html-insert-agenda-days): Include holidays in the output.
6668 (cal-html-one-month): Maybe include holidays.
6669
6670 * calendar/holidays.el (holiday-in-range):
6671 Move here from cal-tex-list-holidays.
6672 * calendar/cal-tex.el (cal-tex-list-holidays):
6673 Make it an obsolete alias for holiday-in-range. Update all callers.
6674
6675 2012-05-05 Chong Yidong <cyd@gnu.org>
6676
6677 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6678 Nextstep.
6679
6680 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6681
6682 * files.el (file-auto-mode-skip): New var.
6683 (set-auto-mode-1): Use it.
6684
6685 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * repeat.el: Use lexical-binding.
6688 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6689 (repeat-undo-count): Remove.
6690 (repeat):
6691 * progmodes/octave-mod.el (octave-abbrev-start):
6692 * progmodes/f90.el (f90-abbrev-start):
6693 * face-remap.el (text-scale-adjust):
6694 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6695
6696 * emacs-lisp/pcase.el (pcase--let*): New function.
6697 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6698 a bit more.
6699 (pcase--split-pred): Be more clever about ruling out overlap between
6700 a predicate and some constant pattern.
6701 (pcase--q1): Use `null' instead of (eq foo nil).
6702
6703 * subr.el (setq-local, defvar-local): New macros.
6704 (kbd): Redefine as an alias.
6705 (with-selected-window): Leave unrelated frames alone.
6706 (set-temporary-overlay-map): New function.
6707
6708 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * subr.el (user-error): New function.
6711 * window.el (switch-to-buffer):
6712 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6713 (smerge-match-conflict):
6714 * simple.el (previous-matching-history-element)
6715 (next-matching-history-element, goto-history-element, undo-more)
6716 (undo-start):
6717 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6718 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6719 (next-file, tags-loop-scan, list-tags, complete-tag):
6720 * progmodes/compile.el (compilation-loop):
6721 * mouse.el (mouse-minibuffer-check):
6722 * man.el (Man-bgproc-sentinel, Man-goto-page):
6723 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6724 (Info-history-forward, Info-follow-reference, Info-menu)
6725 (Info-extract-menu-item, Info-extract-menu-counting)
6726 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6727 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6728 (Info-next-reference, Info-prev-reference, Info-index)
6729 (Info-index-next, Info-follow-nearest-node)
6730 (Info-copy-current-node-name):
6731 * imenu.el (imenu--make-index-alist)
6732 (imenu-default-create-index-function, imenu-add-to-menubar):
6733 * files.el (basic-save-buffer, recover-file):
6734 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6735 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6736 (checkdoc-message-text, checkdoc-defun):
6737 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6738 * cus-edit.el (customize-changed-options, customize-rogue)
6739 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6740 (custom-variable-mark-to-reset-standard)
6741 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6742 (custom-file):
6743 * completion.el (check-completion-length):
6744 * comint.el (comint-search-arg)
6745 (comint-previous-matching-input-string-position)
6746 (comint-previous-matching-input)
6747 (comint-replace-by-expanded-history-before-point, comint-send-input)
6748 (comint-copy-old-input, comint-backward-matching-input)
6749 (comint-goto-process-mark, comint-set-process-mark):
6750 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6751 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6752
6753 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6754
6755 * dabbrev.el (dabbrev--ignore-case-p): New function.
6756 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6757 Use it.
6758
6759 * files.el (automount-dir-prefix): Mark as obsolete.
6760
6761 2012-05-04 Glenn Morris <rgm@gnu.org>
6762
6763 * patcomp.el, play/bruce.el: Move to obsolete/.
6764
6765 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6766
6767 Fix minor Y10k bugs.
6768 * arc-mode.el (archive-unixdate):
6769 * autoinsert.el (auto-insert-alist):
6770 * calc/calc-forms.el (math-this-year):
6771 * emacs-lisp/copyright.el (copyright-current-year)
6772 (copyright-update-year, copyright):
6773 * tar-mode.el (tar-clip-time-string):
6774 * time.el (display-time-update):
6775 Don't assume years have 4 digits.
6776
6777 2012-05-04 Chong Yidong <cyd@gnu.org>
6778
6779 * dos-w32.el (file-name-buffer-file-type-alist)
6780 (direct-print-region-use-command-dot-com):
6781 * ffap.el (ffap-menu-regexp):
6782 * find-file.el (ff-special-constructs):
6783 * follow.el (follow-debug):
6784 * forms.el (forms--debug):
6785 * iswitchb.el (iswitchb-all-frames):
6786 * ido.el (ido-all-frames):
6787 * emacs-lisp/timer.el (timer-max-repeats):
6788 * mail/feedmail.el (feedmail-mail-send-hook)
6789 (feedmail-mail-send-hook-queued):
6790 * mail/footnote.el (footnote-signature-separator):
6791 * mail/mailabbrev.el (mail-alias-separator-string)
6792 (mail-abbrev-mode-regexp):
6793 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6794 * progmodes/idlwave.el (idlwave-libinfo-file)
6795 (idlwave-default-completion-case-is-down)
6796 (idlwave-library-routines): Convert defvars to defcustoms.
6797
6798 * mail/rmail.el (rmail-decode-mime-charset):
6799 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6800 (idlwave-shell-fix-inserted-breaks)
6801 (idlwave-shell-activate-alt-keybindings)
6802 (idlwave-shell-use-breakpoint-glyph):
6803 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6804
6805 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6808
6809 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6810
6811 * progmodes/verilog-mode.el (font-lock-keywords):
6812 Fix mis-highligting auto. Reported by Craig Barner.
6813 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6814 defines from global name space. Reported by Dan Dever.
6815 (verilog-auto-reset, verilog-auto-reset-widths)
6816 (verilog-auto-tieoff): Support using unbased numbers for
6817 AUTORESET and AUTOTIEOFF.
6818 (verilog-submit-bug-report): Update variable list.
6819 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6820 parenthesis from not matching. Reported by Michael Rytting.
6821 (verilog-auto-template-lint): Fix hash error when linting modules
6822 with no used templates.
6823 (verilog-warn, verilog-warn-error)
6824 (verilog-warn-fatal): When non-interactive report multiple
6825 warnings before exiting. Suggested by Brad Dobbie.
6826 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6827 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6828 to report unused template errors. Reported by Brad Dobbie.
6829 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6830 nets, bug438. Reported by Vns Blore.
6831 (verilog-auto-inout-module, verilog-auto-reg)
6832 (verilog-read-decls, verilog-read-sub-decls-sig)
6833 (verilog-signals-edit-wire-reg, verilog-signals-with):
6834 Fix passing of Verilog data types in ANSI input/output ports
6835 such as "output logic" into the AUTOs. Special case "wire" and
6836 "reg" for backwards compatibility presuming Verilog 2001.
6837 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6838 (verilog-preprocess): Fix replication of preprocess output.
6839 Reported by Brad Dobbie.
6840 (verilog-auto-inst-interfaced-ports):
6841 Create verilog-auto-inst-interfaced-ports, bug429.
6842 Reported by Julian Gorfajn.
6843 (verilog-after-save-font-hook)
6844 (verilog-before-save-font-hook): New variable.
6845 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6846 (verilog-save-font-mods): Wrap disabling fontification, reported
6847 by David Rogoff.
6848 (verilog-do-indent, verilog-pretty-declarations-auto)
6849 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6850 Reported by Pierre-David Pfister.
6851 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6852 of class declarations, bug292. Reported by Kevin Heilman.
6853 (verilog-read-decls): Fix 'parameter type' not appearing in
6854 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6855 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6856 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6857 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6858 Reported by David Kravitz.
6859
6860 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
6861
6862 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6863 assignment with tests in ifs and for loops.
6864 (verilog-extended-complete-re, verilog-complete-reg): Change so
6865 that DPI inport functions don't look like fuction declarations.
6866 (verilog-pretty-expr): Don't line up assignment
6867 operations to the test and increment in if and for loops
6868 (verilog-extended-complete-re, verilog-complete-reg): Change so
6869 that DPI inport functions don't look like fuction declarations.
6870
6871 2012-05-03 Kenichi Handa <handa@m17n.org>
6872
6873 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6874 decoding, and show a warning message without signaling an error
6875 (Bug#11282).
6876
6877 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * emacs-lisp/bytecomp.el
6880 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6881 since cconv.el might have introduced :fun-body, internal-make-closure,
6882 and friends for bytecomp to handle (bug#11391).
6883 * custom.el (defcustom): Avoid ((λ ..) ..).
6884
6885 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6888
6889 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
6890
6891 * notifications.el (dbus-debug):
6892 * term/linux.el (gpm-mouse-enable):
6893 * term/screen.el (xterm-register-default-colors): Declare.
6894
6895 2012-05-02 Chong Yidong <cyd@gnu.org>
6896
6897 * cus-start.el (gc-cons-percentage, exec-suffixes)
6898 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6899 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6900 (make-cursor-line-fully-visible, void-text-area-pointer)
6901 (font-list-limit): Add customization data.
6902
6903 * allout.el (allout-exposure-change-functions)
6904 (allout-structure-added-functions)
6905 (allout-structure-deleted-functions)
6906 (allout-structure-shifted-functions): Rename abnormal hooks from
6907 *-hook, and convert to defcustoms.
6908 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6909 Convert to defcustoms.
6910 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6911
6912 * allout-widgets.el: Hook callers changed.
6913
6914 2012-05-02 Eli Zaretskii <eliz@gnu.org>
6915
6916 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6917 the yanked message in preference to the default value of
6918 buffer-file-coding-system.
6919
6920 2012-05-02 Martin Rudalics <rudalics@gmx.at>
6921
6922 * window.el (display-buffer--action-function-custom-type):
6923 Fix entry.
6924
6925 2012-05-02 Alan Mackenzie <acm@muc.de>
6926
6927 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6928
6929 2012-05-01 Glenn Morris <rgm@gnu.org>
6930
6931 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6932
6933 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6934
6935 * cus-edit.el (custom-variable-documentation): Simplify with format.
6936
6937 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6938 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * simple.el (suggest-key-bindings, execute-extended-command):
6941 Move from keyboard.c.
6942
6943 2012-05-01 Chong Yidong <cyd@gnu.org>
6944
6945 * follow.el: Eliminate advice.
6946 (set-process-filter, process-filter, sit-for): Advice deleted.
6947 (follow-mode-off-hook): Obsolete hook removed.
6948 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6949 Vars deleted.
6950 (follow-auto): Use a :set function.
6951 (follow-mode): Rewritten. Don't advise process filters.
6952 (follow-switch-to-current-buffer-all, follow-scroll-up)
6953 (follow-scroll-down): Assume follow-mode is bound.
6954 (follow-comint-scroll-to-bottom)
6955 (follow-align-compilation-windows): New functions.
6956 (follow--window-sorter): New function.
6957 (follow-all-followers): Use it to explicitly sort windows by their
6958 positions; don't make assumptions about next-window order.
6959 (follow-windows-start-end, follow-delete-other-windows-and-split)
6960 (follow-calc-win-start): Doc fix.
6961 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6962 vertical-motion unnecessarily.
6963 (follow-adjust-window): New function.
6964 (follow-post-command-hook): Use it.
6965 (follow-call-set-process-filter, follow-call-process-filter)
6966 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6967 (follow-stop-intercept-process-output, follow-generic-filter):
6968 Functions deleted.
6969 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6970 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6971 New functions, replacing advice on scroll-bar-* commands.
6972 (follow-mwheel-scroll): New function (Bug#4112).
6973
6974 * comint.el (comint-adjust-point): New function.
6975 (comint-postoutput-scroll-to-bottom): Use it.
6976 Call follow-comint-scroll-to-bottom for Follow mode buffers.
6977
6978 2012-05-01 Glenn Morris <rgm@gnu.org>
6979
6980 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6981 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6982 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6983 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6984 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6985 Remove no-byte-compile setting.
6986
6987 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6990 all-completions code to not return a number in the last cdr.
6991
6992 2012-04-30 Leo Liu <sdl.web@gmail.com>
6993
6994 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6995 read-only error.
6996
6997 2012-04-29 Chong Yidong <cyd@gnu.org>
6998
6999 * follow.el (follow-calc-win-end): Rewrite to handle partial
7000 screen lines correctly (Bug#8390).
7001 (follow-avoid-tail-recenter): Minor cleanup.
7002
7003 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 Avoid the obsolete `assoc' package.
7006 * speedbar.el (speedbar-refresh): Avoid adelete.
7007 (speedbar-file-lists): Simplify and avoid aput.
7008 * man.el (Man--sections, Man--refpages): New vars, replacing
7009 Man-sections-alist and Man-refpages-alist.
7010 (Man-build-section-alist, Man-build-references-alist):
7011 Use them; avoid aput.
7012 (Man--last-section, Man--last-refpage): New vars.
7013 (Man-follow-manual-reference): Use them.
7014 Use the `default' arg of completing-read.
7015 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7016
7017 2012-04-27 Chong Yidong <cyd@gnu.org>
7018
7019 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7020
7021 * startup.el (x-apply-session-resources): New function.
7022
7023 * term/ns-win.el (ns-initialize-window-system):
7024 * term/w32-win.el (w32-initialize-window-system):
7025 * term/x-win.el (x-initialize-window-system): Use it to properly
7026 set menu-bar-mode and other vars from X resources, even if the
7027 initial frame is not a window-system frame (Bug#2299).
7028
7029 * subr.el (read-key): Avoid running filter function when setting
7030 up temporary tool bar entries (Bug#9922).
7031
7032 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7033
7034 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7035 (Bug#11344)
7036
7037 2012-04-27 Chong Yidong <cyd@gnu.org>
7038
7039 * select.el (xselect--encode-string): New function, split from
7040 xselect-convert-to-string.
7041 (xselect-convert-to-string): Use it.
7042 (xselect-convert-to-filename, xselect-convert-to-os)
7043 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7044 returned strings are properly encoded (Bug#11315).
7045
7046 2012-04-27 Chong Yidong <cyd@gnu.org>
7047
7048 * simple.el (delete-active-region): Move to killing custom group.
7049
7050 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7051
7052 * progmodes/which-func.el (which-func-current): Quote %
7053 characters for mode-line processing.
7054
7055 2012-04-27 Chong Yidong <cyd@gnu.org>
7056
7057 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7058 reaching eob (Bug#11286).
7059
7060 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7061
7062 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7063 (gdb): Make it buffer-local and init to zero.
7064 (gdb-control-commands-regexp): New variable.
7065 (gdb-send): Don't wrap in "-interpreter-exec console" if
7066 gdb-control-level is positive. Increment gdb-control-level
7067 whenever the command matches gdb-control-commands-regexp, and
7068 decrement it each time the command is "end". (Bug#11279)
7069
7070 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7071
7072 * window.el (adjust-window-trailing-edge, enlarge-window)
7073 (shrink-window, window-resize):
7074 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7075 windows (Bug#11276).
7076
7077 2012-04-27 Chong Yidong <cyd@gnu.org>
7078
7079 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7080 fix "missing prefix" warning. All callers changed.
7081
7082 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * emacs-lisp/assoc.el: Move to obsolete/.
7085
7086 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7089
7090 * term/ns-win.el (ns-define-service):
7091 * progmodes/pascal.el (pascal-goto-defun):
7092 * progmodes/js.el (js--read-tab):
7093 * progmodes/etags.el (tags-lazy-completion-table):
7094 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7095 * emacs-lisp/ewoc.el (ewoc--wrap):
7096 * emacs-lisp/assoc.el (aput, adelete, amake):
7097 * doc-view.el (doc-view-convert-current-doc):
7098 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7099
7100 2012-04-26 Chong Yidong <cyd@gnu.org>
7101
7102 * image.el (image-type-from-buffer): Only return supported image
7103 type (Bug#9045).
7104
7105 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7106 value, for symmetry with diff-end-of-hunk.
7107 (diff-split-hunk, diff-find-source-location)
7108 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7109 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7110 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7111 compute the relevant hunk or file properly (Bug#6005).
7112 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7113
7114 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * vc/vc-mtn.el:
7117 * vc/vc-hg.el:
7118 * vc/vc-git.el:
7119 * vc/vc-dir.el:
7120 * vc/vc-cvs.el:
7121 * vc/vc-bzr.el:
7122 * vc/vc-arch.el:
7123 * vc/vc.el: Replace lexical-let by lexical-binding.
7124 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7125 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7126 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7127
7128 2012-04-26 Chong Yidong <cyd@gnu.org>
7129
7130 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7131 (diff-mode-shared-map): Bind it to / and [remap undo].
7132
7133 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7134 (ediff-window-setup-function): Use it as the default, to set up
7135 windows based on whether the current frame is graphical (Bug#2138).
7136 (ediff-choose-window-setup-function-automatically): Make obsolete.
7137
7138 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7139
7140 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * ffap.el: Remove old code for obsolete package.
7143 (ffap-complete-as-file-p): Remove.
7144
7145 Use completion-table-with-quoting for comint and pcomplete.
7146 * comint.el (comint--unquote&requote-argument)
7147 (comint--unquote-argument, comint--requote-argument): New functions.
7148 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7149 (comint-quote-filename): Use regexp-opt-charset.
7150 (comint--common-suffix, comint--common-quoted-suffix)
7151 (comint--table-subvert): Remove.
7152 (comint-unquote-function, comint-requote-function): New vars.
7153 (comint--complete-file-name-data): Use them with
7154 completion-table-with-quoting.
7155 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7156 * pcomplete.el (pcomplete-arg-quote-list)
7157 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7158 (pcomplete-unquote-argument-function): Default to non-nil.
7159 (pcomplete-unquote-argument): Simplify.
7160 (pcomplete--common-quoted-suffix): Remove.
7161 (pcomplete-requote-argument-function): New var.
7162 (pcomplete--common-suffix): New function.
7163 (pcomplete-completions-at-point): Use completion-table-with-quoting
7164 and completion-table-subvert.
7165
7166 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7167 (minibuffer--double-dollars): Preserve properties.
7168 (completion--sifn-requote): New function.
7169 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7170
7171 * minibuffer.el: Add support for completion of quoted/escaped data.
7172 (completion-table-with-quoting, completion-table-subvert): New funs.
7173 (completion--twq-try, completion--twq-all): New functions.
7174 (completion--nth-completion): New function.
7175 (completion-try-completion, completion-all-completions): Use it.
7176
7177 2012-04-25 Leo Liu <sdl.web@gmail.com>
7178
7179 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7180 Use compilation-message if available to find real filename.
7181
7182 2012-04-25 Chong Yidong <cyd@gnu.org>
7183
7184 * vc/diff-mode.el (diff-setup-whitespace): New function.
7185 (diff-mode): Use it.
7186
7187 * vc/diff.el (diff-sentinel):
7188 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7189 Whitespace mode variables based on diff style (Bug#8612).
7190
7191 2012-04-25 Leo Liu <sdl.web@gmail.com>
7192
7193 * progmodes/python.el (python-send-region): Add suffix .py to the
7194 temp file.
7195
7196 * files.el (auto-mode-alist): Use javascript-mode instead.
7197
7198 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7199
7200 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7201
7202 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7203 (soap-resolve-references-for-array-type): Hack to prevent self
7204 references, see Bug#9.
7205 (soap-parse-envelope): Report the contents of the 'detail' node
7206 when receiving a fault reply.
7207 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7208
7209 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7210 (soap-inspect-simple-type): New function.
7211
7212 * net/soap-client.el (soap-simple-type): New struct.
7213 (soap-default-xsd-types, soap-default-soapenc-types)
7214 (soap-decode-basic-type, soap-encode-basic-type):
7215 support unsignedInt and double basic types.
7216 (soap-resolve-references-for-simple-type)
7217 (soap-parse-simple-type, soap-encode-simple-type): New function.
7218 (soap-parse-schema): Parse xsd:simpleType declarations.
7219
7220 * net/soap-client.el (soap-default-xsd-types)
7221 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7222 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7223 the local name of "soapenc:Array".
7224 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7225 decoding integer, byte and anyURI xsd types.
7226
7227 2012-04-25 Chong Yidong <cyd@gnu.org>
7228
7229 * cus-edit.el (custom-buffer-create-internal): Update header text.
7230
7231 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7232
7233 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7234 settings on 'system-type', not on 'window-system'. On MS-Windows,
7235 set interactive-mode on in GDB.
7236
7237 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7238
7239 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7240 (ruby-syntax-propertize-regexp): Remove.
7241 (ruby-syntax-propertize-function): Split regexp into chunks.
7242 Match following code directly.
7243
7244 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7245
7246 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7247 (ruby-syntax-propertize-regexp): New function.
7248 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7249 by a special keyword.
7250
7251 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7252 (ruby-syntax-general-delimiters-goto-beg)
7253 (ruby-syntax-propertize-general-delimiters): New functions.
7254 (ruby-syntax-propertize-function): Use them to handle GDL.
7255 (ruby-font-lock-keywords): Move old handling of GDL...
7256 (ruby-font-lock-syntactic-keywords): .. to here.
7257 (ruby-calculate-indent): Adjust indentation for GDL.
7258
7259 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7260
7261 * notifications.el (top): Remove unneeded declarations.
7262 (notifications-specification-version): Change to "1.2".
7263 (notifications-interface, notifications-notify-method)
7264 (notifications-close-notification-method): Fix docstring.
7265 (notifications-get-capabilities-method): New defconst.
7266 (notifications-notify): Add :action-items, :resident and
7267 :transient hints. Change "image_data" to "image-data" and
7268 "image_path" to "image-path".
7269 (notifications-get-capabilities): New defun.
7270
7271 2012-04-24 Leo Liu <sdl.web@gmail.com>
7272
7273 * progmodes/python.el: Move hideshow setup to the end.
7274
7275 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7276
7277 * window.el (handle-select-window): Clear echo area since this is
7278 no more done by read_char (Bug#11304).
7279
7280 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7283 and `/ M' to filter-derived-mode.
7284 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7285 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7286 (ibuffer-mark-by-mode): Use default rather than initial-input.
7287 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7288
7289 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7290
7291 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7292 (ibuffer-filter-by-derived-mode): New filter.
7293 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7294
7295 2012-04-23 Andreas Politz <politza@fh-trier.de>
7296
7297 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7298
7299 2012-04-23 Chong Yidong <cyd@gnu.org>
7300
7301 * cus-edit.el (customize-apropos, customize-apropos-options):
7302 Disable matching of non-option variables (Bug#11176).
7303 (customize-option, customize-option-other-window)
7304 (customize-changed-options): Doc fix.
7305 (customize-apropos-options, customize-apropos-faces)
7306 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7307
7308 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7309 Fix word list splitting (Bug#11132).
7310 (apropos-symbol, apropos-keybinding, apropos-label)
7311 (apropos-property, apropos-function-button)
7312 (apropos-variable-button, apropos-misc-button): New faces.
7313 (apropos-symbol-face, apropos-keybinding-face)
7314 (apropos-label-face, apropos-property-face, apropos-match-face):
7315 Variables removed (Bug#8396).
7316 (apropos-library-button, apropos-format-plist, apropos-print)
7317 (apropos-print-doc, apropos-describe-plist): Callers changed.
7318
7319 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7320
7321 * net/xesam.el (xesam-mode-map): Use let-bound map in
7322 initialization. (Bug#11292)
7323
7324 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7325
7326 Preserve ispell session localwords when switching back to
7327 original buffer.
7328
7329 * textmodes/ispell.el (ispell-buffer-session-localwords):
7330 New buffer-local variable to hold buffer session localwords.
7331 (ispell-kill-ispell): Add option 'clear to delete session
7332 localwords.
7333 (ispell-command-loop, ispell-change-dictionary)
7334 (ispell-buffer-local-words): Preserve session localwords when
7335 needed.
7336
7337 * textmodes/flyspell.el (flyspell-process-localwords)
7338 (flyspell-do-correct): Preserve session localwords when needed.
7339
7340 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7341
7342 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7343 using obsolete `translation-table-for-input'.
7344 (ispell-word, ispell-process-line, ispell-complete-word):
7345 Use plain `insert' instead of removed `ispell-insert-word'.
7346
7347 2012-04-22 Chong Yidong <cyd@gnu.org>
7348
7349 * cus-edit.el (custom-variable-menu)
7350 (custom-variable-reset-saved, custom-face-menu)
7351 (custom-face-reset-saved): If there is no saved value, make the
7352 "reset-saved" operation bring back the default (Bug#9509).
7353 (custom-face-state): Properly detect themed faces.
7354
7355 * faces.el (face-spec-set): Stop supporting deprecated form of
7356 third arg.
7357
7358 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7359
7360 Move functions from C to Lisp. Make non-blocking method calls
7361 the default. Implement further D-Bus standard interfaces.
7362
7363 * net/dbus.el (dbus-message-internal): Declare function.
7364 Remove unneeded function declarations.
7365 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7366 (dbus-message-type-method-return, dbus-message-type-error)
7367 (dbus-message-type-signal): Declare variables. Remove local
7368 definitions.
7369 (dbus-interface-dbus, dbus-interface-peer)
7370 (dbus-interface-introspectable, dbus-interface-properties)
7371 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7372 Adapt docstring.
7373 (dbus-interface-objectmanager): New defconst.
7374 (dbus-call-method, dbus-call-method-asynchronously)
7375 (dbus-send-signal, dbus-method-return-internal)
7376 (dbus-method-error-internal, dbus-register-service)
7377 (dbus-register-signal, dbus-register-method): New defuns, moved
7378 from dbusbind.c
7379 (dbus-call-method-handler, dbus-setenv)
7380 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7381 New defuns.
7382 (dbus-call-method-non-blocking): Make it an obsolete function.
7383 (dbus-unregister-object, dbus-unregister-service)
7384 (dbus-handle-event, dbus-register-property)
7385 (dbus-property-handler): Obey the new structure of
7386 `bus-registered-objects'.
7387 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7388 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7389 Use `dbus-call-method'.
7390
7391 2012-04-22 Chong Yidong <cyd@gnu.org>
7392
7393 * cus-edit.el (custom-commands, custom-reset-menu)
7394 (Custom-reset-standard): Tweak labels.
7395 (custom-reset-button-menu): Change default to t.
7396 (custom-buffer-create-internal): For the custom-reset-button-menu
7397 case, put the revert button first.
7398 (custom-group-subtitle): New face.
7399 (custom-group-value-create): Align docstring to a specific column.
7400
7401 * wid-edit.el (widget-documentation-link-add): Don't handle
7402 indentation in this function.
7403 (widget-documentation-string-indent-to): New function.
7404 (widget-documentation-string-value-create): Use it.
7405
7406 * autorevert.el (auto-revert):
7407 * epg-config.el (epg):
7408 * ibuffer.el (ibuffer):
7409 * mpc.el (mpc):
7410 * ses.el (ses):
7411 * eshell/eshell.el (eshell):
7412 * net/ange-ftp.el (ange-ftp):
7413 * progmodes/ebnf2ps.el (postscript):
7414 * progmodes/flymake.el (flymake):
7415 * progmodes/prolog.el (prolog):
7416 * progmodes/verilog-mode.el (verilog-mode):
7417 * progmodes/which-func.el (which-func):
7418 * term/xterm.el (xterm):
7419 * textmodes/picture.el (picture):
7420 * textmodes/tildify.el (tildify):
7421 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7422 customization buffers.
7423
7424 2012-04-22 Alan Mackenzie <acm@muc.de>
7425
7426 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7427 Adding a ) can hide the resulting (..) from searches. Fix it.
7428 Bound the backward search to the position of the existing (.
7429
7430 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7431
7432 * progmodes/verilog-mode.el (verilog-mode): Check whether
7433 which-func-modes is t before adding verilog-mode.
7434 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7435
7436 2012-04-21 Leo Liu <sdl.web@gmail.com>
7437
7438 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7439
7440 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7441
7442 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7443 filling of the last column of a table (Bug#5635).
7444 (woman-find-next-control-line): New arg, specifying an additional
7445 regexp component for the control line.
7446 (woman2-roff-buffer): Use it.
7447 (woman-break-table): New function.
7448 (woman2-TS): Use it.
7449
7450 2012-04-21 Chong Yidong <cyd@gnu.org>
7451
7452 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7453 (woman-horizontal-escapes, woman-negative-vertical-space)
7454 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7455 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7456
7457 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * minibuffer.el (completion-file-name-table): Complete user names.
7460
7461 2012-04-20 Leo Liu <sdl.web@gmail.com>
7462
7463 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7464 and pcase-let*.
7465
7466 2012-04-20 Chong Yidong <cyd@gnu.org>
7467
7468 * server.el (server-execute): Respect initial-buffer-choice if it
7469 is a string and there are no files to open (Bug#2825).
7470 (server-create-window-system-frame, server-create-tty-frame):
7471 Don't switch buffers here.
7472 (server-process-filter): Only try to open a window system frame if
7473 compiled with graphical support (Bug#8314).
7474
7475 2012-04-20 Dan Nicolaescu <dann@gnu.org>
7476
7477 * battery.el (battery-echo-area-format): Display remaining time
7478 for sysfs backend too (Bug#11269).
7479 (battery-linux-sysfs): Fix conditional for the charge.
7480
7481 2012-04-20 Chong Yidong <cyd@gnu.org>
7482
7483 * progmodes/gdb-mi.el (gdb): Revert previous change.
7484 (gdb-inferior-io--init-proc): New function.
7485 (gdb-init-1): Use it.
7486 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7487 responsible for allocating a new pty and hooking it to gdb when
7488 the old pty gets an EIO due to process exit.
7489 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7490 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7491 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7492
7493 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7494
7495 * window.el (window-min-size, window-sizable, window-min-delta)
7496 (window-max-delta, window--resizable, window-resizable)
7497 (window-total-size, window-full-height-p, window-full-width-p)
7498 (window-in-direction, window--resize-mini-window, window-resize)
7499 (window--resize-child-windows-normal)
7500 (window--resize-child-windows, window--resize-siblings)
7501 (window--resize-this-window, adjust-window-trailing-edge)
7502 (enlarge-window, shrink-window): Doc fixes.
7503
7504 2012-04-20 Chong Yidong <cyd@gnu.org>
7505
7506 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7507 New function to call delete-process on the gdb-inferior buffer's pty.
7508 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7509 pty process (Bug#11273).
7510 (gdb-update): New arg to suppress talking to the gdb process.
7511 (gdb-done-or-error): Use it.
7512 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7513 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7514 sentinel not being called.
7515
7516 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7517
7518 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7519
7520 2012-04-20 Glenn Morris <rgm@gnu.org>
7521
7522 * net/network-stream.el (open-network-stream): Doc fix.
7523
7524 2012-04-20 Chong Yidong <cyd@gnu.org>
7525
7526 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7527
7528 2012-04-20 Alan Mackenzie <acm@muc.de>
7529
7530 Ensure searching for keywords is case sensitive.
7531
7532 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7533 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7534 (c-defun-name, c-mark-function, c-cpp-define-name)
7535 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7536 (c-context-line-break): Bind case-fold-search to nil.
7537
7538 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7539 Bind case-fold-search to nil.
7540
7541 2012-04-20 Chong Yidong <cyd@gnu.org>
7542
7543 * mail/sendmail.el (mail-bury): Call return action with the right
7544 Rmail buffer (Bug#11242).
7545
7546 * server.el (server-process-filter): Handle corner case where both
7547 tty and nowait options are present (Bug#11102).
7548
7549 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7550
7551 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7552 (top level): Put into the executable the ident-style '$Id:' tag on
7553 windows-nt as well.
7554
7555 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * electric.el (electric-indent-post-self-insert-function): Check that
7558 electric-indent-mode is enabled in current buffer.
7559
7560 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7561
7562 * imenu.el (imenu-progress-message): Restore; it is "used" in
7563 erc/erc-imenu.el and net/snmp-mode.el.
7564
7565 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7566
7567 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7568 (mouse-avoidance-nudge-mouse): Remove unused binding.
7569
7570 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7571
7572 * descr-text.el (describe-char):
7573 * progmodes/python.el (python-describe-symbol):
7574 Don't call `toggle-read-only', set `buffer-read-only'.
7575
7576 * imenu.el (imenu-default-goto-function): Mark unused args.
7577 (imenu-progress-message): Remove obsolete macro; all callers changed.
7578
7579 * subr.el (keymap-canonicalize): Remove unused binding.
7580 (read-passwd): Mark unused arg.
7581
7582 * tutorial.el (tutorial--display-changes): Remove unused binding.
7583 (tutorial--save-tutorial-to): Remove unused variable.
7584
7585 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7586 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7587 (package-generate-autoloads, package-menu--generate)
7588 (package-menu--find-upgrades): Remove unused bindings.
7589
7590 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7591 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7592 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7593 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7594 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7595 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7596 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7597 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7598 (cua-delete-char-rectangle): Mark unused args.
7599 (cua-align-rectangle): Remove unused binding.
7600
7601 * mail/rmail.el (compilation--message->loc)
7602 (epa--find-coding-system-for-mime-charset): Declare.
7603
7604 * net/dbus.el (dbus-register-service): Declare.
7605 (dbus-name-owner-changed-handler): Remove unused binding.
7606
7607 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7608 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7609 (nxml-scan-backward-within): Mark unused arg.
7610 (nxml-dynamic-markup-word): Remove unused binding.
7611
7612 * mouse.el (mouse-menu-major-mode-map):
7613 * emacs-lisp/authors.el (authors-scan-change-log)
7614 (authors-add-to-author-list):
7615 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7616 * emacs-lisp/smie.el (smie-auto-fill):
7617 * mail/sendmail.el (mail-bury):
7618 * mail/unrmail.el (unrmail):
7619 * net/tls.el (open-tls-stream):
7620 * textmodes/picture.el (picture-mouse-set-point):
7621 Remove unused bindings.
7622
7623 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7624
7625 * net/tramp.el (tramp-action-password): Let-bind
7626 `enable-recursive-minibuffers' to t.
7627
7628 2012-04-18 Sam Steingold <sds@gnu.org>
7629
7630 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7631 instead of 'string to accommodate values like [f11].
7632 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7633 * progmodes/gdb-mi.el: Likewise.
7634
7635 2012-04-18 Leo Liu <sdl.web@gmail.com>
7636
7637 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7638 current buffer.
7639 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7640 LOCAL is nil.
7641
7642 2012-04-18 Chong Yidong <cyd@gnu.org>
7643
7644 * simple.el (line-move): Use forward-line if in batch mode
7645 (Bug#11053).
7646
7647 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7648
7649 * files.el (after-find-file): Do not try to add a final newline if
7650 the buffer is read-only (Bug#11156).
7651
7652 2012-04-17 Richard Stallman <rms@gnu.org>
7653
7654 * mail/rmail.el (rmail-start-mail):
7655 Pass (rmail-mail-return...) for the return-action.
7656 Pass (rmail-yank-current-message...) for the yank-action.
7657 (rmail-yank-current-message): New function.
7658 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7659 (rmail-reply): Likewise.
7660 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7661
7662 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7663 buffer, not the last. Reject temp buffers. Use the rmail-mode
7664 buffer, not newbuf.
7665
7666 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7667
7668 * server.el (server-ensure-safe-dir): Simplify.
7669
7670 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7671
7672 * emacs-lisp/smie.el: Provide smarter auto-filling.
7673 (smie-auto-fill): New function.
7674 (smie-setup): Use it.
7675
7676 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7677
7678 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7679
7680 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7681 (comment-indent): Use it.
7682
7683 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7684
7685 * ses.el: The overall change is to add cell renaming, that is
7686 setting fancy names for cell symbols other than name matching
7687 "\\`[A-Z]+[0-9]+\\'" regexp .
7688 (ses-localvars): Add ses--renamed-cell-symb-list.
7689 (ses-create-cell-variable): New defun.
7690 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7691 (ses-relocate-formula): Relocate formulas only for cells the
7692 symbols of which are not renamed, i.e. symbols whose names do not
7693 match regexp "\\`[A-Z]+[0-9]+\\'".
7694 (ses-relocate-all): Relocate values only for cells the symbols of
7695 which are not renamed.
7696 (ses-load): Create cells variables as the (ses-cell ...) are read,
7697 in order to check row col consistency with cell symbol name only
7698 for cells that are not renamed.
7699 (ses-replace-name-in-formula): New defun.
7700 (ses-rename-cell): New defun.
7701
7702 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7703
7704 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7705 New option (bug#11118).
7706 (perl-calculate-indent): Respect it.
7707
7708 2012-04-17 Glenn Morris <rgm@gnu.org>
7709
7710 * dired-aux.el (dired-mark-read-string): Doc fix.
7711
7712 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7713
7714 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7715 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7716
7717 2012-04-17 Glenn Morris <rgm@gnu.org>
7718
7719 * mouse.el (mouse-drag-track):
7720 * speedbar.el (speedbar-frame-mode):
7721 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7722
7723 2012-04-16 Leo Liu <sdl.web@gmail.com>
7724
7725 * progmodes/python.el: Trivial cleanup.
7726
7727 2012-04-16 Glenn Morris <rgm@gnu.org>
7728
7729 * vc/vc.el (vc-string-prefix-p):
7730 * vc/pcvs-util.el (cvs-string-prefix-p):
7731 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7732 * mpc.el (mpc-string-prefix-p):
7733 Make all of these into obsolete aliases for string-prefix-p.
7734 Update callers.
7735 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7736
7737 * textmodes/two-column.el: Move custom options to the start.
7738 (frame-width): Remove compat definition.
7739 (2C-associate-buffer, 2C-dissociate):
7740 Use with-current-buffer rather than save-excursion.
7741 (2C-dissociate): Force a mode-line update.
7742 (2C-autoscroll): Use ignore-errors.
7743
7744 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7745 Autoload trivia.
7746
7747 * emacs-lisp/cl-extra.el (*random-state*):
7748 Remove unnecessary declaration.
7749
7750 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7751
7752 * play/cookie1.el (cookie-snarf):
7753 Give an explicit error if input file cannot be read.
7754
7755 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7756
7757 * progmodes/perl-mode.el (c-macro-expand):
7758 Remove unnecessary autoload (it is in loaddefs.el).
7759
7760 * textmodes/picture.el (picture-desired-column)
7761 (picture-update-desired-column): Convert comments to doc-strings.
7762 (picture-substitute): Remove function.
7763 (picture-mode-map): Initialize in the defvar.
7764
7765 * woman.el: Remove eval-after-load for tar-mode.
7766 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7767 (woman-tar-extract-file): Autoload it.
7768
7769 * frame.el (automatic-hscrolling): Make this alias obsolete.
7770
7771 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7772
7773 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7774 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7775 (ispell-dictionary-base-alist): Revert to original XEmacs
7776 friendly version for default. [:alpha:] will be added in
7777 `ispell-set-spellchecker-params' if needed.
7778
7779 2012-04-16 Chong Yidong <cyd@gnu.org>
7780
7781 * image.el (imagemagick--file-regexp): New variable.
7782 (imagemagick-register-types): Use it.
7783 (imagemagick-types-inhibit): Add :set function. Allow new value
7784 of t to inhibit all types.
7785
7786 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7787 so we can preload it.
7788
7789 * loadup.el (fboundp): Preload regexp-opt, needed by
7790 imagemagick-register-types.
7791
7792 2012-04-15 Chong Yidong <cyd@gnu.org>
7793
7794 * frame.el (scrolling): Remove nearly unused customization group.
7795
7796 * scroll-all.el (scroll-all-mode): Move to windows group.
7797
7798 2012-04-15 Chong Yidong <cyd@gnu.org>
7799
7800 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7801
7802 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7803
7804 Avoid the use of ((lambda ...) ...) in lexical-binding code.
7805 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7806
7807 2012-04-15 Glenn Morris <rgm@gnu.org>
7808
7809 * simple.el (process-file-side-effects): Doc fix.
7810
7811 2012-04-15 Glenn Morris <rgm@gnu.org>
7812
7813 * international/mule-cmds.el (set-language-environment): Doc fix.
7814
7815 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7816
7817 * server.el (server-auth-key, server-generate-key): Doc fixes.
7818 (server-get-auth-key): Doc fix. Use `string-match-p'.
7819 (server-start): Reflow docstring.
7820
7821 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7822
7823 * server.el (server-generate-key): `called-interactively-p'
7824 requires a parameter.
7825
7826 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
7827
7828 * server.el (server-auth-key): New variable.
7829 (server-generate-key, server-get-auth-key): New function.
7830 (server-start): Use the new variable and functions to allow
7831 setting a permanent server key (bug#9423).
7832
7833 2012-04-14 Leo Liu <sdl.web@gmail.com>
7834
7835 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7836
7837 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7838
7839 Spelling fixes.
7840 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7841 Emacs uses American spelling.
7842
7843 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7844
7845 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7846 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7847 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7848 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7849
7850 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * progmodes/which-func.el (which-func-modes): Change default.
7853
7854 2012-04-14 Kim F. Storm <storm@cua.dk>
7855
7856 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7857 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7858
7859 2012-04-14 Chong Yidong <cyd@gnu.org>
7860
7861 * custom.el (custom-theme-set-variables): Doc fix.
7862
7863 2012-04-14 Glenn Morris <rgm@gnu.org>
7864
7865 * international/mule.el (set-auto-coding-for-load): Doc fix.
7866
7867 2012-04-14 Alan Mackenzie <acm@muc.de>
7868
7869 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7870 imenu work again for Objective C Mode. Correct the *-index values,
7871 these having been disturbed by a previous change in 2011-08.
7872
7873 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7874 Correct two search limits.
7875
7876 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7877
7878 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7879
7880 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
7881
7882 * international/characters.el: Fix sorting.
7883
7884 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7885
7886 * international/characters.el: Add more missing Latin case pairs.
7887
7888 2012-04-14 Glenn Morris <rgm@gnu.org>
7889
7890 * files.el (dir-locals-set-class-variables): Doc fix.
7891
7892 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7893
7894 * international/characters.el: Add set-case-syntax-pair call for
7895 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7896 counterpart. (Bug#11209)
7897
7898 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7899
7900 2012-04-14 Glenn Morris <rgm@gnu.org>
7901
7902 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7903
7904 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7905
7906 * textmodes/ispell.el (ispell-dictionary-base-alist):
7907 Add data for Hebrew.
7908
7909 2012-04-14 Chong Yidong <cyd@gnu.org>
7910
7911 * net/rcirc.el (rcirc-cmd-quit):
7912 Revert 2012-03-18 change (Bug#11192).
7913
7914 2012-04-14 Glenn Morris <rgm@gnu.org>
7915
7916 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7917
7918 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7919
7920 * minibuffer.el (completion-in-region-mode-map):
7921 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
7922
7923 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7924
7925 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7926
7927 2012-04-13 Masatake YAMATO <yamato@redhat.com>
7928
7929 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7930 to allow `C-M-f' and `C-M-b' to move to the nearest path
7931 separator (bug#9511).
7932
7933 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7934
7935 * avoid.el: Require cl when compiling. And also move the
7936 `provide' to the end.
7937
7938 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7939
7940 * avoid.el (mouse-avoidance-banish-position): New variable.
7941 (mouse-avoidance-banish-destination): Use it (bug#10165).
7942
7943 2012-04-13 Leo Liu <sdl.web@gmail.com>
7944
7945 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7946
7947 2012-04-13 Ken Brown <kbrown@cornell.edu>
7948
7949 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7950 this is no longer needed now that cygstart understands file:// URLs.
7951 (browse-url-filename-alist): For the same reason, don't modify
7952 file:// URLs on Cygwin.
7953
7954 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7957 the region on shift if the binding is already shifted (bug#11221).
7958
7959 2012-04-12 Glenn Morris <rgm@gnu.org>
7960
7961 * mail/mailpost.el: Move to obsolete/.
7962
7963 2012-04-12 Drew Adams <drew.adams@oracle.com>
7964
7965 * imenu.el (imenu--generic-function): Ignore invisible definitions
7966 (bug#10123).
7967
7968 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7969
7970 * hexl.el (hexl-bits): New variable.
7971 (hexl-options): Mention the variable in the doc string.
7972 (hexl-rulerise, hexl-line-displen): New functions.
7973 (hexl-mode): Mention the new variable.
7974 (hexl-mode, hexl-current-address, hexl-current-address):
7975 Use the displen.
7976 (hexl-ascii-start-column): New function.
7977 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7978 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7979
7980 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7981
7982 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7983 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7984 the encoding, as expected by hunspell.
7985
7986 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * battery.el (battery--linux-sysfs-regexp): New const.
7989 (battery-status-function): Use it. Remove yeeloong special case.
7990 (battery-yeeloong-sysfs): Remove.
7991 (battery-echo-area-format): Remove yeeloong special case.
7992
7993 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7994
7995 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7996 Reported by Noah Friedman.
7997
7998 * subr.el (read-passwd): Use read-string.
7999
8000 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8001
8002 * vcursor.el (vcursor-move): Increase the priority of the overlay
8003 (bug#9663).
8004
8005 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8006
8007 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8008 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8009
8010 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8011
8012 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8013 define-minor-mode (bug#10760).
8014
8015 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8016
8017 * progmodes/grep.el (rgrep): Tweak the find command line so
8018 that directories matching `grep-find-ignored-files' won't be
8019 pruned (bug#10351).
8020
8021 2012-04-11 Chong Yidong <cyd@gnu.org>
8022
8023 * startup.el (command-line): Remove support for long-obsolete
8024 variable font-lock-face-attributes.
8025
8026 2012-04-11 Glenn Morris <rgm@gnu.org>
8027
8028 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8029
8030 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8031
8032 * window.el (window--state-get-1): Obey window-point-insertion-type.
8033
8034 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8035
8036 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8037 to previous function when point is on the first character of a
8038 function. Take care of that in `narrow-to-defun' (bug#6157).
8039
8040 2012-04-11 Glenn Morris <rgm@gnu.org>
8041
8042 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8043 not just file-errors.
8044
8045 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8046 (vc-bzr-sha1): Use internal sha1.
8047
8048 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8049
8050 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8051
8052 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8053
8054 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8055 that start in the middle of the line (bug#10496).
8056
8057 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8058
8059 * battery.el (battery-linux-proc-acpi): Only one battery is
8060 discharged at a time, but that seems to confuse battery.el when
8061 computing `rate-type' for the battery not being discharged
8062 (bug#10332).
8063
8064 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8065
8066 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8067
8068 * international/quail.el: Use dolist and simplify.
8069 (quail-define-package, quail-update-keyboard-layout)
8070 (quail-define-rules): Use dolist.
8071 (quail-insert-kbd-layout, quail-get-translation): CSE.
8072
8073 * tmm.el: Use dolist, remove left over hook.
8074 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8075 Use dolist.
8076 (calendar-load-hook): Don't mess with it.
8077
8078 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8079 Use derived-mode-p. Run the diff asynchronously.
8080
8081 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8082
8083 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8084
8085 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8086
8087 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8088 (list-dynamic-libraries--loaded): New function.
8089 (list-dynamic-libraries--refresh): Use it.
8090
8091 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8092
8093 * progmodes/python.el (python-fill-paragraph):
8094 Make python-fill-region in a multiline string work when font-lock is
8095 disabled (bug#7018).
8096
8097 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8098
8099 * language/european.el (cp775): Add oem/legacy (en)coding on
8100 DOS/MS Windows for the Baltic languages. There are still plenty
8101 of texts written in this encoding/codepage (bug#6519).
8102
8103 2012-04-10 Glenn Morris <rgm@gnu.org>
8104
8105 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8106 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8107
8108 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8109
8110 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8111 next-line "n" and previous-line "p" in order to make recentf more
8112 consistent with ibuffer, dired or org-mode (bug#9387).
8113
8114 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8115
8116 * image.el (put-image): Return the overlay created instead of the
8117 optional input string (bug#7834). Note that this may break code
8118 that is (for some reason or other) depending on `put-image'
8119 returning the string.
8120
8121 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8122
8123 * simple.el (zap-to-char): Allow zapping using input methods
8124 (bug#1580).
8125
8126 * textmodes/fill.el (fill-region): Leave point and mark where they
8127 were before filling (bug#5399).
8128
8129 2012-04-09 Glenn Morris <rgm@gnu.org>
8130
8131 * version.el (emacs-bzr-get-version):
8132 Handle lightweight checkouts of local branches.
8133
8134 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8135
8136 * international/characters.el: Recover lost case pairs. (Bug#11209)
8137
8138 2012-04-09 Chong Yidong <cyd@gnu.org>
8139
8140 * custom.el (custom-variable-p): Return nil for non-symbol
8141 arguments instead of signaling an error.
8142 (user-variable-p): Obsolete alias for custom-variable-p.
8143
8144 * apropos.el (apropos-variable):
8145 * files-x.el (read-file-local-variable):
8146 * simple.el (set-variable):
8147 * woman.el (woman-mini-help):
8148 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8149
8150 2012-04-09 Glenn Morris <rgm@gnu.org>
8151
8152 * startup.el (normal-top-level): Don't look for leim-list.el
8153 in places where it will not be found. (Bug#910)
8154
8155 * international/mule-cmds.el (set-default-coding-systems):
8156 * files.el (normal-mode):
8157 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8158 This function was removed with ucs-tables.el in 2008.
8159
8160 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8161
8162 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8163 ispell-encoding8-command to "-i", without a trailing space.
8164 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8165 separate command-line arguments, to specify the encoding, since
8166 that's how hunspell expects it.
8167
8168 2012-04-08 Glenn Morris <rgm@gnu.org>
8169
8170 * loadup.el: Load bindings before cus-start.
8171 This reduces somewhat the number of "rogue" settings in emacs -Q.
8172
8173 2012-04-07 Glenn Morris <rgm@gnu.org>
8174
8175 * version.el (emacs-bzr-get-version): New function.
8176 (emacs-bzr-version): New variable.
8177 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8178 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8179
8180 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8181
8182 * international/uni-bidi.el, international/uni-category.el:
8183 * international/uni-combining.el, international/uni-decimal.el:
8184 * international/uni-decomposition.el, international/uni-digit.el:
8185 * international/uni-lowercase.el, international/uni-mirrored.el:
8186 * international/uni-name.el, international/uni-numeric.el:
8187 * international/uni-titlecase.el, international/uni-uppercase.el:
8188 Update for Unicode 6.1.
8189
8190 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8191
8192 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8193
8194 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8195
8196 * window.el (shrink-window): Mention the `window-min-height'
8197 variable in the doc string.
8198
8199 2012-04-05 Bastien Guerry <bzg@altern.org>
8200
8201 * color.el (color-lighten-name): Fix typo.
8202
8203 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8204
8205 * server.el (server--on-display-p): New function.
8206 (server--on-display-p): Use it.
8207
8208 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8209
8210 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8211 (bug#11145).
8212
8213 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8214
8215 * comint.el (comint--common-quoted-suffix): Check string boundary
8216 before comparing (bug#11158).
8217 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8218
8219 2012-04-04 Chong Yidong <cyd@gnu.org>
8220
8221 * minibuffer.el (completion-extra-properties): Doc fix.
8222
8223 * subr.el (delayed-warnings-hook): Doc fix.
8224
8225 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8226
8227 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8228 selection (Bug#11159).
8229 (epa-insert-keys): Inform that the default public key will be
8230 exported if no key is selected.
8231
8232 2012-04-04 Richard Stallman <rms@gnu.org>
8233
8234 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8235
8236 2012-04-03 Chong Yidong <cyd@gnu.org>
8237
8238 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8239 mail-insert-file, not its obsolete alias mail-attach-file.
8240
8241 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8242
8243 * notifications.el (notifications-notify): Fix docstring.
8244
8245 2012-04-02 Glenn Morris <rgm@gnu.org>
8246
8247 * emacs-lisp/authors.el (authors-aliases): Another addition.
8248
8249 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8250
8251 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8252 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8253 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8254
8255 2012-04-01 Chong Yidong <cyd@gnu.org>
8256
8257 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8258 Handle root directory properly.
8259 (copy-directory): Caller changed.
8260
8261 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8262 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8263
8264 2012-03-31 Glenn Morris <rgm@gnu.org>
8265
8266 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8267
8268 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8269
8270 * calendar/calendar.el (calendar-window-list)
8271 (calendar-hide-window): Restore. (Bug#11140)
8272 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8273
8274 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8275
8276 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8277
8278 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8279 Check if file is a symlink (Bug#10489).
8280
8281 * files.el (copy-directory): Likewise.
8282
8283 2012-03-30 Chong Yidong <cyd@gnu.org>
8284
8285 * image.el (imagemagick-types-inhibit)
8286 (imagemagick-register-types): Doc fix.
8287
8288 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8289
8290 * textmodes/ispell.el (ispell-get-extended-character-mode):
8291 Disable extended-char-mode for hunspell. hunspell does not support it
8292 and treats ~word as ordinary words in pipe mode.
8293
8294 2012-03-30 Glenn Morris <rgm@gnu.org>
8295
8296 * tutorial.el (help-with-tutorial): Ensure local variables don't
8297 happen to make the buffer read-only. (Bug#11127)
8298
8299 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8302 (perl-calculate-indent): Return `noindent' in strings.
8303
8304 2012-03-28 Sam Steingold <sds@gnu.org>
8305
8306 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8307 instead of the broken adhockery which does not prevent calendar
8308 buffers from being displayed at random after exit.
8309 (calendar-window-list, calendar-hide-window): Remove the broken
8310 adhockery.
8311
8312 2012-03-28 Glenn Morris <rgm@gnu.org>
8313
8314 * replace.el (query-replace-map): Doc fix.
8315
8316 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8317
8318 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8319 contents. (Bug#11109)
8320
8321 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8322
8323 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8324 (bug#11077).
8325 (avl-tree--check, avl-tree--check-node): New funs.
8326
8327 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8328
8329 * window.el (switch-to-visible-buffer): New option.
8330 (switch-to-prev-buffer, switch-to-next-buffer):
8331 Observe switch-to-visible-buffer. Make sure that checking for a window
8332 showing a buffer already is done on the same frame.
8333
8334 2012-03-27 Glenn Morris <rgm@gnu.org>
8335
8336 * startup.el (mail-host-address): Doc fix.
8337
8338 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8339
8340 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8341 than 197 variables.
8342
8343 2012-03-26 Ami Fischman <ami@fischman.org>
8344
8345 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8346
8347 2012-03-26 Glenn Morris <rgm@gnu.org>
8348
8349 * files.el (save-buffers-kill-emacs): Doc fix.
8350
8351 * startup.el (normal-top-level, command-line, command-line-1):
8352 Give them doc strings.
8353
8354 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8355
8356 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8357 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8358
8359 2012-03-25 Chong Yidong <cyd@gnu.org>
8360
8361 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8362 theme if it was previously enabled before (Bug#11031).
8363
8364 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8365 spec with custom-face-get-current-spec if its :shown-value is not
8366 determined yet (Bug#9337).
8367 (customize-create-theme, custom-theme-revert): Doc fixes.
8368
8369 * button.el (button-at): Minor addition to docstring.
8370
8371 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8372
8373 * vc/vc.el (vc-merge): Fix a prompt.
8374
8375 2012-03-24 Chong Yidong <cyd@gnu.org>
8376
8377 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8378 point (Bug#9623).
8379
8380 * button.el (button-at): Minor addition to docstring.
8381
8382 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * newcomment.el (comment-choose-indent): No space after BOL.
8385
8386 2012-03-22 Sam Steingold <sds@gnu.org>
8387
8388 * window.el (switch-to-prev-buffer): Revert last patch because the
8389 bug turned out to be an advertised feature (Elisp manual 28.14).
8390
8391 2012-03-22 Glenn Morris <rgm@gnu.org>
8392
8393 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8394 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8395
8396 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8397
8398 * net/network-stream.el (network-stream-open-starttls): Make error
8399 message under Windows be less misleading.
8400
8401 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8402
8403 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8404 understands (bug#9942).
8405
8406 2012-03-22 Chong Yidong <cyd@gnu.org>
8407
8408 * simple.el (end-of-visible-line): Handle return value of
8409 next-single-property-change properly (Bug#9371).
8410
8411 2012-03-22 Kenichi Handa <handa@m17n.org>
8412
8413 * international/quail.el (quail-insert-kbd-layout): Fix previous
8414 change. To avoid unwanted bidi reordering, use
8415 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8416
8417 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8418
8419 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8420 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8421 (ruby-beginning-of-indent): Be more careful with the difference
8422 between word-boundary and symbol boundary.
8423 (ruby-mode-syntax-table): Make : a symbol constituent.
8424
8425 2012-03-21 Andreas Politz <politza@fh-trier.de>
8426
8427 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8428
8429 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * progmodes/etags.el (tags-completion-at-point-function):
8432 Improve last fix.
8433
8434 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8435
8436 2012-03-21 Sam Steingold <sds@gnu.org>
8437
8438 * progmodes/etags.el (tags-completion-at-point-function):
8439 Avoid the error when point is inside the pattern.
8440
8441 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8442
8443 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8444 line (Bug#10855).
8445
8446 2012-03-21 Drew Adams <drew.adams@oracle.com>
8447
8448 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8449
8450 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8451
8452 * ido.el (ido-set-current-directory, ido-read-internal)
8453 (ido-choose-completion-string, ido-completion-help): Handle nil
8454 value of ido-completion-buffer (Bug#11008).
8455
8456 2012-03-21 Sam Steingold <sds@gnu.org>
8457
8458 * window.el (switch-to-prev-buffer): Do not switch to a visible
8459 window previous buffer, just like with the frame previous buffers.
8460
8461 2012-03-21 Chong Yidong <cyd@gnu.org>
8462
8463 * faces.el (make-face, make-empty-face, copy-face):
8464 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8465 Doc fixes.
8466
8467 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8468
8469 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8470 (widget-complete): Remove broken use of it.
8471
8472 2012-03-20 Chong Yidong <cyd@gnu.org>
8473
8474 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8475 Use string-width and truncate-string-width to handle arbitrary
8476 characters.
8477
8478 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8479
8480 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8481 to draw rectangles, not squares. (Regression introduced by revno
8482 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8483
8484 2012-03-18 Chong Yidong <cyd@gnu.org>
8485
8486 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8487 it is not yet defined (for temacs).
8488
8489 2012-03-18 Leo Liu <sdl.web@gmail.com>
8490
8491 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
8492
8493 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8494
8495 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8496 (ispell-choices-win-default-height, ispell-silently-savep)
8497 (ispell-dictionary-alist, ispell-encoding8-command)
8498 (ispell-check-version, ispell-aspell-find-dictionary)
8499 (ispell-valid-dictionary-list, ispell-words-keyword)
8500 (ispell-get-word, ispell-internal-change-dictionary)
8501 (ispell-region, ispell-skip-region-list)
8502 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8503 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8504 (ispell-message-text-end, ispell-message)
8505 (ispell-buffer-local-parsing): Doc fix.
8506
8507 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8508
8509 * htmlfontify.el: Add support for code block fontification for ODT
8510 export (Bug #9914).
8511 (hfy-optimisations): Define new option
8512 `body-text-only'
8513 (hfy-fontify-buffer): Honor above setting.
8514 (hfy-begin-span, hfy-end-span): New routines factored out form
8515 `hfy-fontify-buffer'.
8516 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8517 that permit insertion of custom tags.
8518 (hfy-fontify-buffer): Use above handlers.
8519 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8520 (hfy-face-to-css): Re-defined to be a variable.
8521 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8522 over multiple runs. This is made possible by having the caller let
8523 bind a special variable `hfy-user-sheet-assoc'.
8524 (htmlfontify-string): New defun.
8525 (hfy-compile-face-map): Make sure that the last char in the
8526 buffer is correctly fontified.
8527 (hfy-face-resolve-face): Whitespace only change.
8528
8529 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8530
8531 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8532 message more clear.
8533
8534 2012-03-16 Leo Liu <sdl.web@gmail.com>
8535
8536 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8537
8538 2012-03-16 Alan Mackenzie <acm@muc.de>
8539
8540 Further optimise the handling of large macros.
8541
8542 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8543 limit to a call of `c-literal-limits'.
8544 (c-determine-+ve-limit): New function.
8545 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8546 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8547 In CASE 5B, restrict a search limit to 500.
8548 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8549
8550 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8551 Restrict macro bounds to +-500 from after-change's BEG END.
8552
8553 2012-03-16 Leo Liu <sdl.web@gmail.com>
8554
8555 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8556
8557 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8558
8559 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8560 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8561
8562 2012-03-16 Glenn Morris <rgm@gnu.org>
8563
8564 * view.el (view-buffer, view-buffer-other-window)
8565 (view-buffer-other-frame): Doc fixes re special mode-class.
8566
8567 * subr.el (eval-after-load): If named feature is provided not from
8568 a file, run after-load forms. (Bug#10946)
8569
8570 * calendar/calendar.el (calendar-insert-at-column):
8571 Handle non-unit-width characters a bit better. (Bug#10978)
8572
8573 2012-03-15 Chong Yidong <cyd@gnu.org>
8574
8575 * emacs-lisp/ring.el (ring-extend): New function.
8576 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8577
8578 * comint.el (comint-read-input-ring)
8579 (comint-add-to-input-history): Grow comint-input-ring lazily.
8580
8581 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8582
8583 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8584 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8585
8586 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8587 (imenu-add-to-menubar): Don't add a redundant index.
8588 (imenu-update-menubar): Handle a dynamically composed keymap.
8589
8590 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8591
8592 * mail/sendmail.el (mail-encode-header):
8593 Bind rfc2047-encode-encoded-words to nil.
8594
8595 2012-03-13 Glenn Morris <rgm@gnu.org>
8596
8597 * calendar/calendar.el (calendar-string-spread):
8598 Handle non-unit-width characters a bit better. (Bug#10978)
8599
8600 2012-03-13 Leo Liu <sdl.web@gmail.com>
8601
8602 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8603 directory and file as argument (Bug#10822).
8604
8605 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8606
8607 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8608 For dynamically generated code, follow $PC.
8609 (gdb-disassembly-handler-custom): Handle no function name case.
8610
8611 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8612
8613 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8614 * emulation/ws-mode.el (ws-query-replace):
8615 * sort.el (sort-regexp-fields):
8616 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8617
8618 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * dabbrev.el: Fix cycle completion order (bug#10963).
8621 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8622 (dabbrev-completion): Don't use an obarray; provide
8623 a cycle-sort-function.
8624
8625 2012-03-12 Leo Liu <sdl.web@gmail.com>
8626
8627 * simple.el (kill-new): Use equal-including-properties for comparison.
8628 (kill-do-not-save-duplicates): Doc fix.
8629
8630 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8631
8632 * dabbrev.el: Fix cycle completion (bug#10963).
8633 Use lexical binding and wrap to 80 columns.
8634 (dabbrev-completion): Delay computing the list of completions.
8635
8636 2012-03-12 Kenichi Handa <handa@m17n.org>
8637
8638 * international/quail.el (quail-insert-kbd-layout): Surround each
8639 row by LRO and PDF instead of inserting many LRMs. Pad the left
8640 and right of each non-spacing marks. Insert invisible space
8641 between lower and upper characters to prevent composition.
8642
8643 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * minibuffer.el (minibuffer-complete): Don't get confused when the
8646 function is run twice via different commands (bug#10958).
8647 (complete-with-action): Fix docstring.
8648
8649 2012-03-12 Chong Yidong <cyd@gnu.org>
8650
8651 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8652 (nxml-completion-at-point-function): New function.
8653 (nxml-mode): Use it.
8654 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8655
8656 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8657 Load generated autoloads file before byte compiling (Bug#10970).
8658 (package--make-autoloads-and-compile): New helper fun.
8659
8660 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8661
8662 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8663
8664 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8665
8666 * autorevert.el (auto-revert-handler): Ensure, that
8667 file-readable-p is applied only for local files or in
8668 auto-revert-tail-mode.
8669
8670 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8671
8672 * server.el (server-eval-at): Handle non-tcp connections.
8673 Decode result string.
8674
8675 * server.el (server-msg-size): New constant.
8676 (server-reply-print): New function.
8677 (server-eval-and-print): Use it.
8678 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8679 Handle -print-nonl.
8680
8681 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8682
8683 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8684 (Bug#10987).
8685
8686 2012-03-11 Chong Yidong <cyd@gnu.org>
8687
8688 * simple.el (goto-line): Doc fix (Bug#9938).
8689
8690 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8691
8692 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8693 when finished (Bug#10963).
8694
8695 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8696
8697 * window.el (split-window-below): Fix bug in case where
8698 split-window-keep-point is nil (Bug#10971).
8699
8700 2012-03-11 Juri Linkov <juri@jurta.org>
8701
8702 * replace.el (replace-highlight): Set isearch-word to nil
8703 unconditionally. (Bug#10887)
8704
8705 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8706
8707 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8708 mairix-replace-illegal-chars; all callers changed. Don't remove
8709 ^, ~, and = characters: they are meaningful in mairix search specs.
8710 (mairix-widget-create-query): Add usage information about mairix
8711 search forms: negating words, searching for substrings, etc.
8712
8713 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8714
8715 * international/fontset.el (font-encoding-alist): Add an entry for
8716 ksx1001 (Bug#5667).
8717
8718 2012-03-10 Richard Stallman <rms@gnu.org>
8719
8720 * mail/sendmail.el (mail-encode-header):
8721 Set rfc2047-encode-encoded-words.
8722
8723 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8724
8725 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8726 view buffer means not swapped.
8727 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8728 (rmail-write-region-annotate): Error if real text has disappeared.
8729
8730 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8731
8732 2012-03-10 Chong Yidong <cyd@gnu.org>
8733
8734 * emulation/cua-rect.el (cua--init-rectangles):
8735 * emulation/cua-base.el (cua--init-keymaps):
8736 Add delete-forward-char to remappings (Bug#9666).
8737
8738 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8739
8740 * speedbar.el (speedbar-unhighlight-one-tag-line):
8741 Avoid unhighlighting due to frame switching (Bug#10275).
8742
8743 2012-03-10 Chong Yidong <cyd@gnu.org>
8744
8745 * minibuffer.el (completion-in-region, completion-help-at-point):
8746 Give the completion field overlay a high priority (Bug#6830).
8747
8748 * dired.el (dired-goto-file): Recognize absolute file name
8749 listings (Bug#7126).
8750 (dired-goto-file-1): New helper function.
8751 (dired-toggle-read-only): Inhibit warnings.
8752
8753 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8754
8755 * net/dbus.el (dbus-property-handler): Return empty array if
8756 there are no properties.
8757
8758 2012-03-09 Leo Liu <sdl.web@gmail.com>
8759
8760 * savehist.el (savehist-printable): Stricter check for string
8761 value (Bug#10937).
8762
8763 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8764
8765 * mail/smtpmail.el (smtpmail-send-it):
8766 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8767 valid mbox format.
8768
8769 2012-03-09 Glenn Morris <rgm@gnu.org>
8770
8771 * files.el (dir-locals-find-file):
8772 Don't check result is regular, readable.
8773 (dir-locals-read-from-file): Demote errors.
8774
8775 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8776
8777 * international/quail.el (quail-insert-kbd-layout):
8778 Insert invisible LRM characters before each character in a keyboard
8779 layout cell, to prevent their reordering by bidi display engine.
8780 For details, see the discussion in
8781 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8782
8783 2012-03-08 Alan Mackenzie <acm@muc.de>
8784
8785 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8786 the starting position; make it extend the marked region when
8787 invoked repeatedly - all under appropriate circumstances.
8788 Fixes bugs #5525, #10906.
8789
8790 2012-03-08 Glenn Morris <rgm@gnu.org>
8791
8792 * files.el (locate-dominating-file, dir-locals-find-file):
8793 Undo 2012-03-06 change.
8794
8795 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8796
8797 * international/quail.el (quail-help):
8798 Force bidi-paragraph-direction be left-to-right. See discussion in
8799 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8800 for the reason.
8801
8802 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
8803
8804 Avoid superfluous registering of signals. (Bug#10807)
8805
8806 * notifications.el (notifications-on-action-object)
8807 (notifications-on-close-object): New defvars.
8808 (notifications-on-action-signal, notifications-on-closed-signal):
8809 Unregister the signal if not needed any longer.
8810 (notifications-notify): Register `notifications-action-signal' or
8811 `notifications-closed-signal', if :on-action or :on-close has been
8812 passed as argument.
8813
8814 2012-03-07 Chong Yidong <cyd@gnu.org>
8815
8816 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8817 non-X platforms.
8818
8819 2012-03-06 Glenn Morris <rgm@gnu.org>
8820
8821 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8822 (x-disown-selection-internal, x-get-selection-internal):
8823 Doc fix (add arglist signatures). (Bug#10783)
8824
8825 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8826
8827 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8828 Handle breakpoints with no "type".
8829
8830 2012-03-06 Glenn Morris <rgm@gnu.org>
8831
8832 * files.el (locate-dominating-file): Add optional predicate argument.
8833 (dir-locals-find-file): Make use of above change.
8834
8835 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8836
8837 * info.el (Info-insert-dir): Also try "dir.gz".
8838
8839 2012-03-06 Glenn Morris <rgm@gnu.org>
8840
8841 * files.el (dir-locals-find-file):
8842 Ignore non-readable or non-regular files. (Bug#10928)
8843
8844 * files.el (locate-dominating-file): Doc fix.
8845
8846 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8847
8848 * calendar/calendar.el (calendar-set-mode-line):
8849 `getenv' returns a string. (Bug#10951)
8850
8851 2012-03-05 Leo Liu <sdl.web@gmail.com>
8852
8853 * simple.el (backward-delete-char-untabify): Constrain point to
8854 field (Bug#10939).
8855
8856 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8857
8858 2012-03-05 Chong Yidong <cyd@gnu.org>
8859
8860 * simple.el (count-words): If called from Lisp, return the word
8861 count, for symmetry with `count-lines'. Arglist changed.
8862 (count-words--message): Args changed. Consolidate counting code
8863 from count-words and count-words-region.
8864 (count-words-region): Caller changed.
8865 (count-lines-region): Make it an obsolete alias.
8866
8867 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8868
8869 * saveplace.el (save-place-to-alist)
8870 (save-place-ignore-files-regexp): Allow value nil to disable this
8871 feature.
8872
8873 2012-03-04 Chong Yidong <cyd@gnu.org>
8874
8875 * faces.el (face-spec-reset-face): For the default face, reset the
8876 attributes to default values (Bug#10748).
8877
8878 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8879
8880 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8881 previous patch: Check `message-send-mail-function', and not the
8882 default function (bug#10897).
8883
8884 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
8885
8886 * notifications.el (notifications-on-action-signal)
8887 (notifications-on-closed-signal): Check for unique service name of
8888 incoming event. Fix error in removing entry.
8889 (top): Register for signals with wildcard service name.
8890 (notifications-notify): Use daemon unique service name for map entries.
8891
8892 2012-03-04 Chong Yidong <cyd@gnu.org>
8893
8894 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8895
8896 2012-03-04 Glenn Morris <rgm@gnu.org>
8897
8898 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8899 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8900 (expand-abbrev, define-abbrev-table): Doc fixes.
8901
8902 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8903
8904 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8905 `message-default-send-mail-function' and not `send-mail-function'
8906 when doing the prompting for `sendmail-query-once' before sending
8907 in Message buffers (bug#10897).
8908
8909 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8910 This is inconsistent with all the other stream functions, which leave
8911 the setting up to the higher levels (if so wanted) (bug#10931).
8912
8913 2012-03-02 Alan Mackenzie <acm@muc.de>
8914
8915 Depessimize the handling of very large macros.
8916
8917 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8918 (c-macro-cache-syntactic): New variables to implement a one
8919 element macro cache.
8920 (c-invalidate-macro-cache): New function.
8921 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8922 Adapt to use the new cache.
8923 (c-state-safe-place): Use better the cache of safe positions.
8924 (c-state-semi-nonlit-pos-cache)
8925 (c-state-semi-nonlit-pos-cache-limit):
8926 New variables for...
8927 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8928 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8929 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8930 Use c-state-semi-safe-place.
8931
8932 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8933 Add c-invalidate-macro-cache to the C, C++, Obj entries.
8934
8935 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
8936
8937 * jka-compr.el (jka-compr-call-process):
8938 Apply `file-accessible-directory-p' only when the default directory is
8939 not remote.
8940
8941 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
8942
8943 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8944 access of FILE2, if FILE1 does not exist.
8945
8946 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8947 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8948
8949 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8950 Add "PAGER=" to `process-environment'.
8951
8952 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8953
8954 * progmodes/sql.el: Bug fix
8955 (sql-get-login-ext): Save login values in globals.
8956 (sql-get-login): Use new version of `sql-get-login-ext'.
8957 (sql-interactive-mode): Set global `sql-connection' to nil.
8958 (sql-connect): Set global values for connection.
8959 (sql-product-interactive): Save global values as buffer local.
8960
8961 2012-02-29 Leo Liu <sdl.web@gmail.com>
8962
8963 * abbrev.el (define-abbrevs): Reset sys to nil.
8964
8965 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8966
8967 * files.el (file-equal-p): Rename from `files-equal-p'.
8968 Return nil when one or both files don't exist.
8969 (file-subdir-of-p): Now only top directory must exists,
8970 return nil if it doesn't.
8971 (copy-directory): No need to test with `file-subdir-of-p' after
8972 creating dir.
8973 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8974 to `file-equal-p'.
8975
8976 2012-02-28 Glenn Morris <rgm@gnu.org>
8977
8978 * shell.el (shell-mode):
8979 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8980 * play/landmark.el (landmark-font-lock-face-O):
8981 * play/handwrite.el (handwrite):
8982 * play/gomoku.el (gomoku-O):
8983 * net/browse-url.el (browse-url-browser-display):
8984 * international/mule.el (define-charset):
8985 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8986 * filesets.el (filesets-find-file-delay):
8987 * eshell/em-xtra.el (eshell-xtra):
8988 * eshell/em-unix.el (eshell-grep):
8989 * emulation/viper.el (viper-mode):
8990 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8991 * emacs-lisp/easymenu.el (easy-menu-define):
8992 * calendar/timeclock.el (timeclock-use-display-time):
8993 * bs.el (bs-mode):
8994 * bookmark.el (bookmark-save-flag):
8995 Doc fix (standardize possessive apostrophe usage).
8996
8997 2012-02-27 Chong Yidong <cyd@gnu.org>
8998
8999 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9000 Fix key-binding lookup for ESC key (Bug#9146).
9001
9002 * font-lock.el (font-lock-specified-p): Rename from
9003 font-lock-spec-present. Callers changed.
9004
9005 2012-02-27 Daniel Hackney <dan@haxney.org>
9006
9007 * emacs-lisp/package.el (package-compute-transaction):
9008 Handle holding a package version to t in package-load-list.
9009
9010 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9011
9012 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9013 (tramp-get-inode, tramp-get-device): Use cached values.
9014
9015 2012-02-26 Alan Mackenzie <acm@muc.de>
9016
9017 Check there is a font-lock specification before doing initial
9018 fontification.
9019
9020 * font-core.el (font-lock-mode): Move the conditional from
9021 :after-hook to font-lock-initial-fontify.
9022 (font-lock-default-function): Move the check for a specification
9023 to font-lock-spec-present.
9024
9025 * font-lock.el (font-lock-initial-fontify): Call ...
9026 (font-lock-spec-present): New function.
9027
9028 2012-02-26 Jim Blandy <jimb@red-bean.com>
9029
9030 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9031 (gdb-send): Apply it to the operand of the '-interpreter-exec
9032 console' command, so that we can pass arguments with (say) quotes
9033 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9034
9035 2012-02-26 Chong Yidong <cyd@gnu.org>
9036
9037 * help-fns.el (describe-function-1): Clarify description of
9038 remapping (Bug#10844).
9039
9040 * files.el (files-equal-p): Doc fix.
9041 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9042 and quit the loop once a mismatch is found.
9043
9044 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9045
9046 * bs.el (bs--show-with-configuration): Don't throw an error
9047 if the window cannot be split; otherwise, subsequent calls to
9048 bs-show fail, restoring a stale window config. (Bug#10882)
9049
9050 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9051
9052 * term/ns-win.el (global-map): Bind ns-drag-file to
9053 ns-find-file (Bug#5855, Bug#10050).
9054
9055 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9056
9057 * calendar/parse-time.el (parse-time-string): Allow extractor to
9058 return nil.
9059
9060 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9061
9062 * net/tramp.el (tramp-file-name-for-operation):
9063 Add `files-equal-p' and `file-subdir-of-p'.
9064
9065 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9066 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9067 Add COPY-CONTENTS argument.
9068
9069 2012-02-25 Chong Yidong <cyd@gnu.org>
9070
9071 Add custom groups for VC backends, for consistency with vc-bzr.
9072
9073 * vc/vc-arch.el (vc-arch):
9074 * vc/vc-cvs.el (vc-cvs):
9075 * vc/vc-git.el (vc-git):
9076 * vc/vc-hg.el (vc-hg):
9077 * vc/vc-mtn.el (vc-mtn):
9078 * vc/vc-rcs.el (vc-rcs):
9079 * vc/vc-sccs.el (vc-sccs):
9080 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9081 All relevant defcustoms reassigned.
9082
9083 2012-02-25 Chong Yidong <cyd@gnu.org>
9084
9085 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9086
9087 * term/x-win.el (x-initialize-window-system): Reduce default for
9088 x-selection-timeout to 5 seconds (Bug#8869).
9089
9090 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9091
9092 * files.el (files-equal-p, file-subdir-of-p): New functions.
9093 (copy-directory): Error when trying to copy a directory on itself.
9094 Add missing copy-contents arg to tramp handler.
9095 * dired-aux.el (dired-copy-file-recursive): Same.
9096 (dired-create-files): Modify destination when source is equal to
9097 dest when copying files.
9098 Return also when dest is a subdir of source. (Bug#10489)
9099
9100 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9101
9102 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9103 (Bug#10874)
9104
9105 2012-02-23 Alan Mackenzie <acm@muc.de>
9106
9107 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9108 parameter "after-hook:" to allow the expansion to run code after
9109 the execution of the mode hooks.
9110
9111 * font-lock.el (font-lock-initial-fontify): New function extracted
9112 from font-lock-mode-internal.
9113
9114 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9115 :after-hook.
9116
9117 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9120 (completion--cache-all-sorted-completions): New function.
9121 (completion-all-sorted-completions): Use it.
9122 (completion--do-completion, minibuffer-force-complete):
9123 Use it to re-instate the flush hook.
9124
9125 * icomplete.el (icomplete-completions): Replace last fix with a better
9126 one (bug#10850).
9127
9128 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9129
9130 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9131 when it might call us back infinitely (bug#10797).
9132
9133 2012-02-23 Glenn Morris <rgm@gnu.org>
9134
9135 * minibuffer.el (completion-category-overrides): Doc fix.
9136
9137 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9138
9139 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9140 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9141
9142 2012-02-23 Glenn Morris <rgm@gnu.org>
9143
9144 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9145 (authors-obsolete-files-regexps, authors-ignored-files)
9146 (authors-ambiguous-files, authors-renamed-files-alist):
9147 Add more entries.
9148
9149 2012-02-23 Juri Linkov <juri@jurta.org>
9150
9151 * isearch.el (isearch-occur): Sync interactive spec with occur's
9152 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9153
9154 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9155
9156 2012-02-22 Juri Linkov <juri@jurta.org>
9157
9158 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9159 (ucs-insert): Doc fix. Check for hex digits in the string.
9160 Don't display `nil' in the error message. (Bug#10857)
9161
9162 2012-02-22 Alan Mackenzie <acm@muc.de>
9163
9164 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9165
9166 2012-02-22 Glenn Morris <rgm@gnu.org>
9167
9168 * ffap.el (ffap-c-path):
9169 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9170
9171 2012-02-22 Chong Yidong <cyd@gnu.org>
9172
9173 * custom.el (load-theme): Doc fix.
9174
9175 2012-02-22 Glenn Morris <rgm@gnu.org>
9176
9177 * dired-x.el (dired-guess-shell-alist-default):
9178 Remove escape sequences from nroff output. (Bug#172)
9179
9180 2012-02-21 Glenn Morris <rgm@gnu.org>
9181
9182 * vc/emerge.el (emerge-defvar-local):
9183 Set `permanent-local' property rather than unused `preserved'.
9184
9185 * textmodes/picture.el (picture-delete-char): New alias.
9186 (picture-mode-map): Use it. (Bug#10860)
9187 (picture-mode): Doc fix.
9188
9189 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9190
9191 * newcomment.el (uncomment-region-default): Remove unused binding.
9192
9193 2012-02-21 Glenn Morris <rgm@gnu.org>
9194
9195 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9196 (picture-self-insert, picture-tab-chars): Doc fix.
9197 (picture-mode-map): Fix C-a, C-e.
9198
9199 2012-02-20 Glenn Morris <rgm@gnu.org>
9200
9201 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9202
9203 2012-02-20 Leo Liu <sdl.web@gmail.com>
9204
9205 * icomplete.el (icomplete-completions): Check FROM arg before
9206 passing to substring (Bug#10850).
9207
9208 2012-02-19 Chong Yidong <cyd@gnu.org>
9209
9210 * comint.el: Require ansi-color.
9211 (comint-output-filter-functions): Add ansi-color-process-output.
9212
9213 * ansi-color.el: Don't set comint-output-filter-functions; it is
9214 now in the initial value defined in comint.el.
9215 (ansi-color-apply-face-function): New variable.
9216 (ansi-color-apply-on-region): Use it.
9217 (ansi-color-apply-overlay-face): New function.
9218
9219 * shell.el (shell): No need to require ansi-color.
9220 (shell-mode): Use ansi-color-apply-face-function to highlight
9221 color escapes using font-lock-face property (Bug#10835).
9222
9223 2012-02-19 Chong Yidong <cyd@gnu.org>
9224
9225 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9226 mode-line formats (Bug#10839).
9227
9228 2012-02-18 Glenn Morris <rgm@gnu.org>
9229
9230 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9231
9232 * mail/undigest.el (unforward-rmail-message): Doc fix.
9233
9234 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9235
9236 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9237
9238 * international/characters.el (script-list): Sync with the latest
9239 Unicode Character Database.
9240
9241 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9242
9243 * international/titdic-cnv.el: Remove duplicate coding tag.
9244 * language/cham.el: Likewise.
9245 * language/tai-viet.el: Likewise.
9246
9247 2012-02-18 Glenn Morris <rgm@gnu.org>
9248
9249 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9250 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9251 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9252 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9253 * calendar/holidays.el (holiday-bahai-holidays)
9254 (calendar-holidays, list-holidays):
9255 Use utf-8 Bahá'í in doc-strings, menus, etc.
9256
9257 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9258
9259 * saveplace.el (save-place-ignore-files-regexp): New variable
9260 allowing for excluding files from saving their location of point.
9261 The default value matches the temporary commit message editing
9262 files from Git, SVN, Bazaar, and Mercurial.
9263 (save-place-to-alist): Use it.
9264
9265 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9266 Stefan Monnier <monnier@iro.umontreal.ca>
9267
9268 * newcomment.el (uncomment-region-default): Don't leave extra space
9269 when an arg is provided (bug#8150).
9270
9271 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9272
9273 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9274
9275 2012-02-17 Glenn Morris <rgm@gnu.org>
9276
9277 * net/socks.el: Require network-stream. (Bug#10599)
9278
9279 2012-02-17 Kenichi Handa <handa@m17n.org>
9280
9281 * international/charprop.el:
9282 * international/uni-name.el:
9283 * international/uni-old-name.el:
9284 * international/uni-comment.el: Regenerate.
9285
9286 2012-02-16 Glenn Morris <rgm@gnu.org>
9287
9288 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9289 Interactively in calendar buffer, give an error if not on a date.
9290
9291 2012-02-15 Glenn Morris <rgm@gnu.org>
9292
9293 * shell.el (shell-delimiter-argument-list):
9294 Revert 2011-02-17 change. (Bug#8027)
9295
9296 2012-02-15 Chong Yidong <cyd@gnu.org>
9297
9298 * minibuffer.el (completion-at-point-functions): Doc fix.
9299
9300 * custom.el (defcustom): Doc fix; note use of defvar.
9301
9302 2012-02-15 Glenn Morris <rgm@gnu.org>
9303
9304 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9305 Doc fixes.
9306
9307 2012-02-14 Glenn Morris <rgm@gnu.org>
9308
9309 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9310
9311 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9312
9313 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9314 way the ports list is computed.
9315 (smtpmail-query-smtp-server): Prompt the user for a port number if
9316 we can't connect to any of the standard ports (bug#10810).
9317
9318 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9319
9320 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9321
9322 2012-02-13 Glenn Morris <rgm@gnu.org>
9323
9324 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9325
9326 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9327
9328 * net/gnutls.el (gnutls-trustfiles): New variable.
9329 (gnutls-negotiate): Use it.
9330
9331 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9332
9333 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9334 does its stuff if Gnus is running.
9335
9336 2012-02-13 Alan Mackenzie <acm@muc.de>
9337
9338 Fix a loop in c-set-fl-decl-start.
9339
9340 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9341 c-backward-syntactic-ws actually moves backwards.
9342
9343 2012-02-13 Leo Liu <sdl.web@gmail.com>
9344
9345 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9346 beginning so that all \C-o chars are removed.
9347
9348 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9349
9350 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9351
9352 2012-02-12 Alan Mackenzie <acm@muc.de>
9353
9354 Fix infinite loop with long macros.
9355 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9356
9357 2012-02-12 Chong Yidong <cyd@gnu.org>
9358
9359 * window.el (display-buffer): Doc fix (Bug#10785).
9360
9361 2012-02-12 Glenn Morris <rgm@gnu.org>
9362
9363 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9364 (x-disown-selection-internal, x-get-selection-internal):
9365 Sync docs with the xselect.c versions.
9366
9367 * allout-widgets.el: Add missing license notice.
9368
9369 2012-02-11 Glenn Morris <rgm@gnu.org>
9370
9371 * select.el (x-get-selection-internal, x-own-selection-internal)
9372 (x-disown-selection-internal):
9373 * x-dnd.el (x-get-selection-internal): Update declarations.
9374
9375 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9376
9377 * window.el (window-sides-slots):
9378 * tool-bar.el (tool-bar-position):
9379 * term/xterm.el (xterm-extra-capabilities):
9380 * ses.el (ses-self-reference-early-detection):
9381 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9382 (verilog-auto-wire-type)
9383 (verilog-auto-delete-trailing-whitespace)
9384 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9385 (verilog-auto-tieoff-declaration):
9386 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9387 (sql-oracle-statement-starters, sql-oracle-scan-on):
9388 * progmodes/prolog.el (prolog-align-comments-flag)
9389 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9390 (prolog-left-indent-regexp, prolog-paren-indent-p)
9391 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9392 (prolog-types, prolog-mode-specificators)
9393 (prolog-determinism-specificators, prolog-directives)
9394 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9395 (prolog-electric-dot-flag)
9396 (prolog-electric-dot-full-predicate-template)
9397 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9398 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9399 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9400 (prolog-program-switches, prolog-prompt-regexp)
9401 (prolog-debug-on-string, prolog-debug-off-string)
9402 (prolog-trace-on-string, prolog-trace-off-string)
9403 (prolog-zip-on-string, prolog-zip-off-string)
9404 (prolog-use-standard-consult-compile-method-flag)
9405 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9406 (prolog-imenu-max-lines, prolog-info-predicate-index)
9407 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9408 (prolog-char-quote-workaround):
9409 * progmodes/cc-vars.el (c-defun-tactic):
9410 * net/tramp.el (tramp-encoding-command-interactive)
9411 (tramp-local-end-of-line):
9412 * net/soap-client.el (soap-client):
9413 * net/netrc.el (netrc-file):
9414 * net/gnutls.el (gnutls):
9415 * minibuffer.el (completion-category-overrides)
9416 (completion-cycle-threshold)
9417 (completion-pcm-complete-word-inserts-delimiters):
9418 * man.el (Man-name-local-regexp):
9419 * mail/feedmail.el (feedmail-display-full-frame):
9420 * international/characters.el (glyphless-char-display-control):
9421 * eshell/em-ls.el (eshell-ls-date-format):
9422 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9423 (lisp-lambda-list-keyword-parameter-indentation)
9424 (lisp-lambda-list-keyword-parameter-alignment):
9425 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9426 * dired-x.el (dired-omit-verbose):
9427 * cus-theme.el (custom-theme-allow-multiple-selections):
9428 * calc/calc.el (calc-highlight-selections-with-faces)
9429 (calc-lu-field-reference, calc-lu-power-reference)
9430 (calc-note-threshold):
9431 * battery.el (battery-mode-line-limit):
9432 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9433 (archive-7z-update):
9434 * allout.el (allout-prefixed-keybindings)
9435 (allout-unprefixed-keybindings)
9436 (allout-inhibit-auto-fill-on-headline)
9437 (allout-flattened-numbering-abbreviation):
9438 * allout-widgets.el (allout-widgets-auto-activation)
9439 (allout-widgets-icons-dark-subdir)
9440 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9441 (allout-widgets-theme-dark-background)
9442 (allout-widgets-theme-light-background)
9443 (allout-widgets-item-image-properties-emacs)
9444 (allout-widgets-item-image-properties-xemacs)
9445 (allout-widgets-run-unit-tests-on-load)
9446 (allout-widgets-time-decoration-activity)
9447 (allout-widgets-hook-error-post-time)
9448 (allout-widgets-track-decoration):
9449 Add missing :version tags to new defcustoms and defgroups.
9450
9451 * progmodes/sql.el (sql-ansi-statement-starters)
9452 (sql-oracle-statement-starters): Add custom type.
9453
9454 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9455 (prolog-system-version): Give it a type.
9456
9457 2012-02-11 Eli Zaretskii <eliz@gnu.org>
9458
9459 * term/pc-win.el (x-select-text, x-selection-owner-p)
9460 (x-own-selection-internal, x-disown-selection-internal)
9461 (x-get-selection-internal): Sync doc strings and argument lists
9462 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9463
9464 2012-02-11 Leo Liu <sdl.web@gmail.com>
9465
9466 * progmodes/python.el (python-end-of-statement): Fix infinite
9467 loop. (Bug#10788)
9468
9469 2012-02-10 Glenn Morris <rgm@gnu.org>
9470
9471 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9472 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9473
9474 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9475
9476 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9477 about SMTP before checking the From header.
9478
9479 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9480 into own function for reuse by emacsbug.el.
9481
9482 2012-02-10 Leo Liu <sdl.web@gmail.com>
9483
9484 * subr.el (condition-case-unless-debug): Rename from
9485 condition-case-no-debug. All callers changed.
9486 (with-demoted-errors): Fix caller.
9487
9488 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9489 * nxml/rng-valid.el (rng-do-some-validation):
9490 * emacs-lisp/package.el (package-refresh-contents)
9491 (package-menu-execute):
9492 * desktop.el (desktop-create-buffer):
9493 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9494
9495 2012-02-10 Glenn Morris <rgm@gnu.org>
9496
9497 * textmodes/bibtex.el:
9498 Add missing :version tags for new/changed defcustoms.
9499
9500 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9501
9502 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9503
9504 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9505 (smtpmail-via-smtp): Use it, or fall back on the From address.
9506 (smtpmail-send-it): Ditto.
9507
9508 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9511 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9512 (byte-compile-tmp-var): New const.
9513 (byte-compile-defvar): Use it to minimize .elc size.
9514 Just use `defvar' rather than simulate it (bug#10761).
9515
9516 2012-02-09 Glenn Morris <rgm@gnu.org>
9517
9518 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9519
9520 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9521 Add :version tags.
9522
9523 * progmodes/compile.el (compilation-error-screen-columns)
9524 (compilation-first-column, compilation-filter-start): Doc fixes.
9525
9526 * vc/log-view.el (log-view-toggle-entry-display):
9527 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9528
9529 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9530 (report-emacs-bug-can-use-xdg-email):
9531 (report-emacs-bug-insert-to-mailer): Doc fixes.
9532 (report-emacs-bug): Message fix.
9533
9534 * net/browse-url.el (browse-url-can-use-xdg-open)
9535 (browse-url-xdg-open): Doc fixes.
9536
9537 * electric.el (electric-indent-mode, electric-pair-mode)
9538 (electric-layout-rules, electric-layout-mode): Doc fixes.
9539 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9540
9541 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9542
9543 * server.el (server-unselect-display): Don't inadvertently kill
9544 the current buffer. (Bug#10729)
9545
9546 2012-02-08 Glenn Morris <rgm@gnu.org>
9547
9548 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9549 (sql-list-table): Doc fixes.
9550
9551 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9552 Comment out (does nothing).
9553
9554 * completion.el (dynamic-completion-mode):
9555 * dirtrack.el (dirtrack-debug-mode):
9556 * electric.el (electric-layout-mode):
9557 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9558 * face-remap.el (text-scale-mode, buffer-face-mode):
9559 * iimage.el (iimage-mode):
9560 * image-mode.el (image-transform-mode):
9561 * minibuffer.el (completion-in-region-mode):
9562 * scroll-lock.el (scroll-lock-mode):
9563 * simple.el (next-error-follow-minor-mode):
9564 * tar-mode.el (tar-subfile-mode):
9565 * tooltip.el (tooltip-mode):
9566 * vcursor.el (vcursor-use-vcursor-map):
9567 * wid-browse.el (widget-minor-mode):
9568 * emulation/tpu-edt.el (tpu-edt-mode):
9569 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9570 * international/iso-ascii.el (iso-ascii-mode):
9571 * language/thai-util.el (thai-word-mode):
9572 * mail/supercite.el (sc-minor-mode):
9573 * net/goto-addr.el (goto-address-mode):
9574 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9575 * progmodes/cwarn.el (cwarn-mode):
9576 * progmodes/flymake.el (flymake-mode):
9577 * progmodes/glasses.el (glasses-mode):
9578 * progmodes/hideshow.el (hs-minor-mode):
9579 * progmodes/pascal.el (pascal-outline-mode):
9580 * textmodes/enriched.el (enriched-mode):
9581 * vc/smerge-mode.el (smerge-mode):
9582 Doc fixes (minor mode argument).
9583
9584 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9585
9586 * ls-lisp.el (ls-lisp-sanitize): New function.
9587 (ls-lisp-insert-directory): Use it to fix or remove any elements
9588 in file-alist with missing attributes. (Bug#4673)
9589
9590 2012-02-07 Alan Mackenzie <acm@muc.de>
9591
9592 Fix spurious recognition of c-in-knr-argdecl.
9593
9594 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9595 putative K&R region.
9596
9597 2012-02-07 Alan Mackenzie <acm@muc.de>
9598
9599 * progmodes/cc-engine.el (c-forward-objc-directive):
9600 Prevent looping in "#pragma mark @implementation".
9601
9602 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9603
9604 * notifications.el (notifications-on-closed-signal): Make `reason'
9605 optional. (Bug#10744)
9606
9607 2012-02-07 Glenn Morris <rgm@gnu.org>
9608
9609 * emacs-lisp/easy-mmode.el (define-minor-mode):
9610 Doc fixes for the macro and the mode it defines.
9611
9612 * image.el (imagemagick-types-inhibit): Doc fix.
9613
9614 * cus-start.el (imagemagick-render-type): Add it.
9615
9616 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9617
9618 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9619 Set the default at load time, too, so that `font-lock-fontify-buffer'
9620 can be called without setting up the entire mode first. This fixes
9621 a bug in `mm-inline-text' with C MIME parts.
9622
9623 2012-02-06 Chong Yidong <cyd@gnu.org>
9624
9625 * simple.el (list-processes--refresh): Delete exited processes
9626 (Bug#8094).
9627
9628 * comint.el (comint-next-prompt): next-single-char-property-change
9629 and prev-single-char-property-change never return nil (Bug#8657).
9630
9631 * custom.el (defcustom): Doc fix (Bug#9711).
9632
9633 2012-02-05 Chong Yidong <cyd@gnu.org>
9634
9635 * cus-edit.el (custom-variable-reset-backup): Quote the value
9636 before storing it in the customized-value property (Bug#6712).
9637 (custom-display): Add a customization type tag.
9638 (custom-buffer-create-internal): Improve tooltip message.
9639
9640 * wid-edit.el (widget-field-value-get): New optional arg to
9641 suppress trailing whitespace truncation.
9642 (character): Use it (Bug#2689).
9643
9644 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9645
9646 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9647 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9648
9649 2012-02-05 Chong Yidong <cyd@gnu.org>
9650
9651 * cus-edit.el (custom-variable-value-create): For mismatched
9652 types, show the current value (Bug#7600).
9653
9654 * custom.el (defcustom): Doc fix.
9655
9656 2012-02-05 Glenn Morris <rgm@gnu.org>
9657
9658 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9659
9660 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9661
9662 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9663 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9664 (pp-last-sexp): Use `looking-at-p'.
9665
9666 2012-02-04 Glenn Morris <rgm@gnu.org>
9667
9668 * files.el (revert-buffer):
9669 Doc fix (mention revert-buffer-in-progress-p).
9670
9671 * emacs-lisp/ert-x.el (ert-simulate-command):
9672 Check deferred-action-list (which is obsolete) is bound.
9673
9674 * subr.el (with-wrapper-hook): Doc fixes.
9675
9676 * simple.el (filter-buffer-substring-functions)
9677 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9678
9679 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9680
9681 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9682 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9683
9684 2012-02-04 Leo Liu <sdl.web@gmail.com>
9685
9686 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9687
9688 2012-02-04 Glenn Morris <rgm@gnu.org>
9689
9690 * image.el (image-extension-data): Add obsolete alias.
9691
9692 * isearch.el (isearch-update): Doc fix.
9693
9694 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9695
9696 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9697
9698 2012-02-03 Glenn Morris <rgm@gnu.org>
9699
9700 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9701 (image-animate-timeout): Doc fix.
9702
9703 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9704
9705 2012-02-02 Glenn Morris <rgm@gnu.org>
9706
9707 * server.el (server-auth-dir): Doc fix.
9708 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9709
9710 * subr.el (run-mode-hooks): Doc fix.
9711
9712 2012-02-02 Juri Linkov <juri@jurta.org>
9713
9714 * image-mode.el (image-toggle-display-image): Remove tautological
9715 `major-mode' from the `derived-mode-p' test.
9716
9717 2012-02-02 Kenichi Handa <handa@m17n.org>
9718
9719 * composite.el (compose-region): Cancel previous change.
9720
9721 2012-02-02 Kenichi Handa <handa@m17n.org>
9722
9723 * composite.el (compose-region, compose-string): Signal error for
9724 a null string component (Bug#6988).
9725
9726 2012-02-01 Chong Yidong <cyd@gnu.org>
9727
9728 * view.el (view-buffer-other-window, view-buffer-other-frame):
9729 Handle special modes like view-buffer (Bug#10650).
9730 (view-buffer): Simplify.
9731
9732 * frame.el (set-frame-font): Tweak meaning of third argument.
9733
9734 * dynamic-setting.el (font-setting-change-default-font):
9735 Use set-frame-font (Bug#9982).
9736
9737 2012-02-01 Glenn Morris <rgm@gnu.org>
9738
9739 * progmodes/compile.el (compilation-internal-error-properties):
9740 Respect compilation-first-column in the "*compilation*" buffer.
9741
9742 * emacs-lisp/easy-mmode.el (define-minor-mode):
9743 Relax :variable's test for a named function.
9744
9745 2012-01-31 Alan Mackenzie <acm@muc.de>
9746
9747 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9748 off by one error.
9749
9750 2012-01-31 Chong Yidong <cyd@gnu.org>
9751
9752 * frame.el (set-frame-font): New arg ALL-FRAMES.
9753
9754 * menu-bar.el (menu-set-font): Use set-frame-font.
9755
9756 * faces.el (face-spec-reset-face): Don't apply unspecified
9757 attribute values to the default face.
9758
9759 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9760
9761 * progmodes/cwarn.el (cwarn): Remove dead link.
9762 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9763 Remove * from defcustom docstrings.
9764 (turn-on-cwarn-mode): Make obsolete.
9765 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9766 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9767
9768 2012-01-31 Glenn Morris <rgm@gnu.org>
9769
9770 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9771 Fix :variable handling of mode a symbol not equal to modefun.
9772 Allow named functions to be used as the cdr of :variable.
9773
9774 2012-01-30 Glenn Morris <rgm@gnu.org>
9775
9776 * emacs-lisp/authors.el (authors-fixed-entries):
9777 Remove reference to deleted file rnewspost.el.
9778
9779 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9780
9781 * window.el (window-with-parameter): Remove unused variable `windows'.
9782 (window--side-check): Remove unused variable `code'.
9783 (window--resize-siblings): Remove unused variable `first'.
9784 (adjust-window-trailing-edge): Remove unused variable `failed'.
9785 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9786 Use `let', not `let*'.
9787 (balance-windows-2): Remove unused variable `found'.
9788 (window--state-put-2): Remove unused variable `splits'.
9789 (window-state-put): Remove unused variable `selected'.
9790 (same-window-p): Use `string-match-p'.
9791 (display-buffer-assq-regexp): Remove unused variable `value'.
9792 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9793 Mark argument ALIST as ignored.
9794 (pop-to-buffer): Remove unused variable `old-window'.
9795
9796 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9797
9798 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9799 and .lzma compressed files.
9800
9801 2012-01-29 Chong Yidong <cyd@gnu.org>
9802
9803 * frame.el (window-system-default-frame-alist): Doc fix.
9804
9805 * dynamic-setting.el (font-setting-change-default-font): Don't
9806 change the default face if SET-FONT argument is non-nil (Bug#9982).
9807
9808 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9809
9810 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9811
9812 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
9813
9814 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9815 breakpoints in files outside current directory (Bug#6098).
9816
9817 2012-01-29 Chong Yidong <cyd@gnu.org>
9818
9819 * progmodes/python.el: Require ansi-color at top-level.
9820
9821 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9822 Define and use in Emacs Lisp mode (Bug#9360).
9823 (lisp-mode-abbrev-table): Add doc.
9824 (lisp-mode-variables): Don't set local-abbrev-table.
9825 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9826
9827 2012-01-28 Roland Winkler <winkler@gnu.org>
9828
9829 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9830
9831 2012-01-28 Roland Winkler <winkler@gnu.org>
9832
9833 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9834 (bibtex-set-dialect): Use it. Either set global values of
9835 dialect-dependent variables or bind these variables buffer-locally
9836 (Bug#10254).
9837 (bibtex-mode): Call bibtex-set-dialect via
9838 hack-local-variables-hook.
9839 (bibtex-dialect): Update docstring.
9840 Add safe-local-variable predicate.
9841 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9842 bibtex-set-dialect.
9843 (bibtex-mode-map): Define menu for each dialect.
9844 (bibtex-entry): Fix docstring.
9845
9846 2012-01-28 Chong Yidong <cyd@gnu.org>
9847
9848 * eshell/esh-arg.el (eshell-quote-argument): New function.
9849
9850 * eshell/esh-ext.el (eshell-invoke-batch-file):
9851 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9852 first arg to eshell-parse-command (Bug#10523).
9853
9854 2012-01-28 Drew Adams <drew.adams@oracle.com>
9855
9856 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9857 `default-directory' is non-nil.
9858
9859 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9860
9861 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9862 line that displays system-configuration-options. (Bug#9924)
9863
9864 2012-01-28 Drew Adams <drew.adams@oracle.com>
9865
9866 * descr-text.el (describe-char): Show information about POS, in
9867 addition to information about the character at POS. Improve and
9868 update the doc string. Change "code point" to "code point in
9869 charset", to avoid confusion with the character's Unicode code
9870 point shown above that. (Bug#10129)
9871
9872 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9873
9874 * descr-text.el (describe-char): Show the raw character, not only
9875 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9876 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9877 for the reasons.
9878
9879 2012-01-28 Phil Hagelberg <phil@hagelb.org>
9880
9881 * emacs-lisp/package.el (package-install):
9882 Run package-refresh-contents if there is no archive yet (Bug#9798).
9883
9884 2012-01-28 Chong Yidong <cyd@gnu.org>
9885
9886 * emacs-lisp/package.el (package-maybe-load-descriptor):
9887 New function, split from package-maybe-load-descriptor.
9888 (package-maybe-load-descriptor): Use it.
9889 (package-download-transaction): Fully load required packages
9890 inside the loop, so that `require' calls work (Bug#10593).
9891 (package-install): No need to call package-initialize now.
9892
9893 2012-01-28 Chong Yidong <cyd@gnu.org>
9894
9895 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9896
9897 * tooltip.el (tooltip-mode): Doc fix.
9898 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9899
9900 * frame.el (set-cursor-color): Doc fix (Bug#352).
9901
9902 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9903 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9904
9905 * cus-edit.el (custom-buffer-create-internal): Fix search button
9906 action (Bug#10542).
9907 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9908
9909 2012-01-27 Eduard Wiebe <usenet@pusto.de>
9910
9911 * dired.el (dired-mark-files-regexp):
9912 Include any subdirectory components. (Bug#10445)
9913
9914 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9915
9916 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9917 Handle [host]:port syntax. (Bug#10533)
9918
9919 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
9920
9921 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9922
9923 2012-01-26 Glenn Morris <rgm@gnu.org>
9924
9925 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9926 * term.el (term-raw-escape-map): Use Control-X-prefix.
9927 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9928
9929 2012-01-25 Martin Rudalics <rudalics@gmx.at>
9930
9931 * window.el (window-state-get, window--state-get-1): Don't deal
9932 with fixed-sizeness of windows. Simplify code.
9933
9934 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9935
9936 * window.el (window--state-get-1, window--state-put-2):
9937 Don't save and restore the mark.
9938
9939 2012-01-25 Chong Yidong <cyd@gnu.org>
9940
9941 * custom.el (custom-variable-p): Doc fix.
9942
9943 2012-01-25 Glenn Morris <rgm@gnu.org>
9944
9945 * dired.el (dired-goto-file): Handle some of the more common
9946 characters that `ls -b' escapes. (Bug#10596)
9947
9948 * progmodes/compile.el (compilation-next-error-function):
9949 Respect compilation-first-column in the "*compilation*" buffer.
9950 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9951
9952 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9953
9954 2012-01-24 Glenn Morris <rgm@gnu.org>
9955
9956 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9957
9958 2012-01-24 Julien Danjou <julien@danjou.info>
9959
9960 * color.el (color-rgb-to-hsl): Fix value computing.
9961 (color-hue-to-rgb): New function.
9962 (color-hsl-to-rgb): New function.
9963 (color-clamp, color-saturate-hsl, color-saturate-name)
9964 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9965 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9966
9967 2012-01-24 Glenn Morris <rgm@gnu.org>
9968
9969 * vc/vc-rcs.el (vc-rcs-create-tag):
9970 * vc/vc-sccs.el (vc-sccs-create-tag):
9971 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9972
9973 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9974
9975 * eshell/esh-util.el (eshell-read-hosts-file):
9976 Skip comment lines. (Bug#10549)
9977
9978 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9979
9980 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
9981
9982 * subr.el (display-delayed-warnings): Doc fix.
9983 (collapse-delayed-warnings): New function to collapse identical
9984 adjacent warnings.
9985 (delayed-warnings-hook): Add it.
9986
9987 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
9988
9989 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9990
9991 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9992 (tramp-default-user-alist): Don't add "pscp".
9993 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9994 property "login-as", if set. (Bug#10530)
9995
9996 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
9997
9998 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9999 "plink1" and "psftp". (Bug#10530)
10000
10001 2012-01-21 Kenichi Handa <handa@m17n.org>
10002
10003 * international/mule-cmds.el (prefer-coding-system): Show a
10004 warning message if the default value of file-name-coding-system
10005 was not changed.
10006
10007 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10008
10009 * windmove.el (windmove-reference-loc):
10010 Fix windmove-reference-loc miscalculation.
10011
10012 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10013
10014 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10015 default unit.
10016
10017 2012-01-21 Glenn Morris <rgm@gnu.org>
10018
10019 * international/mule.el (auto-coding-alist): Add .tbz.
10020
10021 * files.el (local-enable-local-variables): Doc fix.
10022 (inhibit-local-variables-regexps): Rename from
10023 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10024 Doc fix. Add some extensions from auto-coding-alist.
10025 (inhibit-local-variables-suffixes):
10026 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10027 (inhibit-local-variables-p):
10028 New function, extracted from set-auto-mode-1.
10029 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10030 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10031 (hack-local-variables): Doc fix. Make the mode-only case
10032 respect enable-local-variables and friends.
10033 Respect inhibit-local-variables-regexps for file-locals, but
10034 not for directory-locals.
10035 (set-visited-file-name):
10036 Take account of inhibit-local-variables-regexps.
10037 Whether it applies may change as the file name is changed.
10038 * jka-cmpr-hook.el (jka-compr-install):
10039 * jka-compr.el (jka-compr-uninstall):
10040 Update for inhibit-first-line-modes-suffixes name change.
10041
10042 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10043
10044 * help-macro.el (make-help-screen): Temporarily restore original
10045 binding for minor-mode-map-alist (Bug#10454).
10046
10047 2012-01-19 Julien Danjou <julien@danjou.info>
10048
10049 * color.el (color-name-to-rgb): Use the white color to find the max
10050 color component value and return correctly computed values.
10051 (color-name-to-rgb): Add missing float conversion for max value.
10052
10053 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10054
10055 * window.el (window--state-get-1, window-state-get): Do not use
10056 special state value for window-persistent-parameters.
10057 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10058 (window--state-put-2): Reset all window parameters to nil before
10059 assigning values of persistent parameters.
10060
10061 2012-01-18 Alan Mackenzie <acm@muc.de>
10062
10063 Eliminate sluggishness and hangs in fontification of "semicolon
10064 deserts".
10065
10066 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10067 Change value 10000 -> 3000.
10068 (c-state-safe-place): Reformulate so it doesn't stack up an
10069 infinite number of wrong entries in c-state-nonlit-pos-cache.
10070 (c-determine-limit-get-base, c-determine-limit): New functions to
10071 determine backward search limits disregarding literals.
10072 (c-find-decl-spots): Amend commenting.
10073 (c-cheap-inside-bracelist-p): New function which detects "={".
10074
10075 * progmodes/cc-fonts.el
10076 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10077 backward search.
10078 (c-font-lock-declarations): Fix an occurrence of point being
10079 undefined. Check additionally for point being in a bracelist or
10080 near a macro invocation without a semicolon so as to avoid a
10081 fruitless time consuming search for a declarator. Give a more
10082 precise search limit for declarators using the new
10083 c-determine-limit.
10084
10085 2012-01-18 Glenn Morris <rgm@gnu.org>
10086
10087 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10088 (set-auto-mode): Doc fixes.
10089
10090 2012-01-17 Glenn Morris <rgm@gnu.org>
10091
10092 * isearch.el (search-nonincremental-instead): Fix doc typo.
10093
10094 * dired.el (dired-insert-directory): Handle newlines in directory name.
10095 (dired-build-subdir-alist): Unescape newlines in directory name.
10096
10097 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10098
10099 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10100 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10101 (tramp-action-terminal): Use it. (Bug#10530)
10102
10103 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10104
10105 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10106
10107 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10108
10109 * window.el (window-state-ignored-parameters): Remove variable.
10110 (window--state-get-1): Rename argument MARKERS to IGNORE.
10111 Handle persistent window parameters. Make copy of clone-of
10112 parameter only if requested. (Bug#10348)
10113 (window--state-put-2): Install a window parameter only if it has
10114 a non-nil value or an existing parameter shall be overwritten.
10115
10116 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10117
10118 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10119
10120 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10121
10122 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10123 don't pass the (nil) value of `upnode' to string-match.
10124
10125 2012-01-14 Chong Yidong <cyd@gnu.org>
10126
10127 * startup.el (command-line): Fix X resource class for cursorColor.
10128 Fix values recognized by the cursorBlink resource.
10129
10130 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10131
10132 * epg.el (epg--make-temp-file): Avoid permission race condition
10133 when running on old Emacs versions (bug#10403).
10134
10135 2012-01-14 Glenn Morris <rgm@gnu.org>
10136
10137 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10138
10139 2012-01-13 Alan Mackenzie <acm@muc.de>
10140
10141 Fix filling for when filladapt mode is enabled.
10142
10143 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10144 c-mask-paragraph, pass in `fill-paragraph' rather than
10145 `fill-region-as-paragraph'. (This is a reversion of a previous
10146 change.)
10147 * progmodes/cc-mode.el (c-basic-common-init):
10148 Make fill-paragraph-handle-comment buffer local and set it to nil.
10149
10150 2012-01-13 Glenn Morris <rgm@gnu.org>
10151
10152 * dired.el (dired-switches-escape-p): New function.
10153 (dired-insert-directory): Use dired-switches-escape-p.
10154 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10155
10156 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10157
10158 2012-01-12 Glenn Morris <rgm@gnu.org>
10159
10160 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10161 changes in adaptive-fill-regexp. (Bug#10276)
10162
10163 2012-01-11 Alan Mackenzie <acm@muc.de>
10164
10165 Fix Emacs bug #10463 - put `widen's around the critical spots.
10166
10167 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10168 widen around each invocation of c-state-pp-to-literal. Remove an
10169 unused let variable.
10170
10171 2012-01-11 Glenn Morris <rgm@gnu.org>
10172
10173 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10174 Doc fix.
10175
10176 2012-01-10 Chong Yidong <cyd@gnu.org>
10177
10178 * net/network-stream.el (network-stream-open-starttls):
10179 Avoid emitting a confusing error message when the server gives a bad
10180 response to the capability command.
10181
10182 2012-01-10 Glenn Morris <rgm@gnu.org>
10183
10184 * mail/unrmail.el (unrmail): Tweak previous change.
10185
10186 2012-01-09 Chong Yidong <cyd@gnu.org>
10187
10188 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10189
10190 2012-01-08 Alan Mackenzie <acm@muc.de>
10191
10192 Optimise font locking in long enum definitions.
10193
10194 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10195 arm to a cond form to handle enums.
10196 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10197 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10198
10199 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10200
10201 * files.el (move-file-to-trash): Preserve default file modes on error.
10202 (Bug#10401)
10203
10204 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10205
10206 * faces.el (set-face-attribute): Clarify the meaning of the nil
10207 frame (bug#10294).
10208
10209 * subr.el (with-selected-frame): Mention that the selected frame
10210 is restored (bug#9980).
10211
10212 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10213 (bug#9759).
10214
10215 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10216 (password-read): Don't autoload unused function.
10217
10218 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10219
10220 * progmodes/which-func.el (which-func-mode): Turn into a
10221 non-interactive function and mark as obsolete (bug#10428).
10222
10223 2012-01-06 Chong Yidong <cyd@gnu.org>
10224
10225 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10226 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10227 functions, along with 1 and -1.
10228
10229 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10230
10231 * time.el (display-time-load-average)
10232 (display-time-default-load-average): Doc fixes. See the thread
10233 starting at
10234 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10235 for the details.
10236
10237 2012-01-06 Glenn Morris <rgm@gnu.org>
10238
10239 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10240 has no messages. (Bug#10377)
10241
10242 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10243 than Info-edit. (Bug#10385)
10244
10245 * time.el (display-time-load-average, display-time-next-load-average):
10246 Doc fixes.
10247
10248 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10249 local setting of buffer-read-only to the input buffer. (Bug#10419)
10250
10251 * calendar/calendar.el (calendar-mode):
10252 Locally set scroll-margin to 0. (Bug#10379)
10253
10254 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10255
10256 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10257
10258 2012-01-05 Glenn Morris <rgm@gnu.org>
10259
10260 * eshell/em-unix.el (diff-no-select): Autoload it.
10261 (eshell/diff): Use diff-no-select. (Bug#10420)
10262
10263 2012-01-05 Chong Yidong <cyd@gnu.org>
10264
10265 * shell.el (shell-dynamic-complete-functions): Revert last change.
10266 (shell-command-completion-function): New function.
10267 (shell-completion-vars): Use it to implement
10268 shell-completion-execonly (Bug#10417).
10269
10270 * custom.el (enable-theme): Don't set custom-safe-themes.
10271
10272 * cus-theme.el (custom-theme-merge-theme):
10273 Ignore custom-enabled-themes and custom-safe-themes.
10274
10275 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10276
10277 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10278 first prompt in `sql-interacive-mode'.
10279 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10280 keywords.
10281 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10282 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10283 context of original buffer. Invoke `sql-login-hook'.
10284
10285 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10286
10287 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10288 letters in cite-prefix.
10289
10290 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10291
10292 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10293
10294 2012-01-03 Chong Yidong <cyd@gnu.org>
10295
10296 * shell.el (shell-dynamic-complete-functions):
10297 Put pcomplete-completions-at-point, so as to try
10298 comint-filename-completion first (Bug#10417).
10299
10300 2012-01-02 Richard Stallman <rms@gnu.org>
10301
10302 * battery.el (battery-status-function):
10303 Detect when to use battery-yeeloong-sysfs.
10304 (battery-echo-area-format): Add string for Yeeloong.
10305 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10306 (battery-yeeloong-sysfs): New function.
10307
10308 2012-01-02 Chong Yidong <cyd@gnu.org>
10309
10310 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10311 (dirtrack): Merge code for handling relative filenames in prompt
10312 from shell-dir-cookie-watcher.
10313 (dirtrack-debug-message): New arg to avoid excess format calls.
10314
10315 * shell.el (shell-dir-cookie-re): Variable deleted.
10316 (shell-dir-cookie-watcher): Function deleted.
10317 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10318 with dirtrack-mode.
10319
10320 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10321
10322 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10323 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10324 libgnutls-26.dll.
10325
10326 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10327
10328 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10329
10330 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10331
10332 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10333 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10334
10335 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10336
10337 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10338 also for alternative shells.
10339 (tramp-open-connection-setup-interactive-shell): Check, whether
10340 the shell is a busybox.
10341 (tramp-send-command): Don't suppress multiple prompts for
10342 busyboxes, it hurts.
10343
10344 2011-12-28 Chong Yidong <cyd@gnu.org>
10345
10346 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10347 (gdb-get-source-file): Move mode line update to
10348 gdb-get-source-file (Bug#10087).
10349
10350 2011-12-25 Chong Yidong <cyd@gnu.org>
10351
10352 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10353 gud-gdb-marker-filter without taking it as an argument.
10354 (gud-gdb-run-command-fetch-lines): Caller changed.
10355 (gud-gdb-completion-function): New variable.
10356 (gud-gdb-completion-at-point): Use it.
10357 (gud-gdb-completions-1): Split from gud-gdb-completions.
10358
10359 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10360 function as separate arguments.
10361 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10362 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10363 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10364 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10365 (gdb-stopped, def-gdb-auto-update-trigger)
10366 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10367 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10368 Callers changed.
10369 (gud-gdbmi-completions): New function.
10370 (gdb): Use it for generating the completion table.
10371
10372 2011-12-24 Alan Mackenzie <acm@muc.de>
10373
10374 Introduce a mechanism to widen the region used in context font
10375 locking. Use this to protect declarations from losing their contexts.
10376
10377 * progmodes/cc-langs.el (c-before-font-lock-functions):
10378 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10379 (c-before-context-fontification-functions): New defvar, a list of
10380 functions to be run just before context (etc.) font locking.
10381
10382 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10383 New, functionality extracted from
10384 c-neutralize-syntax-in-and-mark-CPP.
10385 (c-in-after-change-fontification): New variable.
10386 (c-after-change): Set c-in-after-change-fontification.
10387 (c-set-fl-decl-start): Rejig its interface, so it can be called
10388 from both after-change and context fontifying.
10389 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10390 New functions.
10391 (c-standard-font-lock-fontify-region-function): New variable.
10392 (c-font-lock-fontify-region): New function.
10393
10394 2011-12-24 Juri Linkov <juri@jurta.org>
10395
10396 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10397 (Bug#10348)
10398
10399 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10400
10401 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10402 existence of source file. (Bug#10325)
10403
10404 2011-12-23 Alan Mackenzie <acm@muc.de>
10405
10406 Fix unstable fontification inside templates.
10407
10408 * progmodes/cc-langs.el (c-before-font-lock-functions):
10409 Newly created from the singular version. The (c c++ objc) entry now
10410 additionally has c-set-fl-decl-start. The other languages (apart
10411 from AWK) have that as a single entry.
10412
10413 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10414 The functionality for "local" declarations has been extracted to
10415 c-set-fl-decl-start.
10416
10417 * progmodes/cc-mode.el (c-common-init, c-after-change):
10418 Changes due to pluralisation of c-before-font-lock-functions.
10419 (c-set-fl-decl-start): New function, extracted from
10420 c-font-lock-enclosing-decls and enhanced.
10421
10422 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10423
10424 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10425
10426 2011-12-22 Juri Linkov <juri@jurta.org>
10427
10428 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10429
10430 2011-12-22 Chong Yidong <cyd@gnu.org>
10431
10432 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10433
10434 2011-12-21 Drew Adams <drew.adams@oracle.com>
10435
10436 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10437
10438 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10439
10440 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10441
10442 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10443
10444 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10445 highlighting and support. Fix up comments for capitalization.
10446 (cfengine-mode-debug): New var.
10447 (cfengine3-mode): Change the modeline indicator to "CFE3".
10448 (cfengine3-font-lock-keywords): Improve defun highlighting.
10449 (cfengine2-actions): Rename from `cfengine-actions'.
10450 (cfengine2-font-lock-keywords): Rename from
10451 `cfengine-font-lock-keywords'.
10452 (cfengine2-imenu-expression): Rename from
10453 `cfengine-imenu-expression'.
10454 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10455 (cfengine2-beginning-of-defun): Rename from
10456 `cfengine-beginning-of-defun'.
10457 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10458 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10459 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10460 modeline indicator to "CFE2".
10461 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10462 (cfengine-mode-abbrevs): Mark obsolete.
10463
10464 2011-12-21 Chong Yidong <cyd@gnu.org>
10465
10466 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10467 filename argument.
10468
10469 2011-12-20 Martin Rudalics <rudalics@gmx.at>
10470
10471 * window.el (window-normalize-buffer-to-display): Remove.
10472 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10473
10474 2011-12-19 Chong Yidong <cyd@gnu.org>
10475
10476 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10477 Don't signal an error in a predicate function; return non-nil.
10478 (vc-dir-mark-file): Move the error here.
10479 (vc-dir-mark-unmark): If acting on the region, keep going if one
10480 of the entries cannot be marked/unmarked.
10481 (vc-dir-mark-all-files): If current entry is a directory, mark
10482 only child files, as documented.
10483
10484 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10485
10486 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10487 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10488 addition.
10489
10490 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10491
10492 * term/ns-win.el (ns-get-selection-internal)
10493 (ns-store-selection-internal): Declare.
10494 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10495 Declare as obsolete.
10496 (ns-get-pasteboard, ns-paste-secondary):
10497 Use ns-get-selection-internal.
10498 (ns-set-pasteboard, ns-copy-including-secondary):
10499 Use ns-store-selection-internal.
10500
10501 2011-12-17 Chong Yidong <cyd@gnu.org>
10502
10503 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10504 (vc-deduce-fileset): Doc fix.
10505
10506 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10507
10508 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10509
10510 2011-12-13 Sam Steingold <sds@gnu.org>
10511
10512 * man.el (Man-getpage-in-background): When running under a
10513 window-system, ignore $MANWIDTH and $COLUMNS.
10514
10515 2011-12-15 Kenichi Handa <handa@m17n.org>
10516
10517 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10518 (setup-ethiopic-environment-internal): Comment out key-binding for
10519 ethio-toggle-punctuation.
10520
10521 2011-12-13 Alan Mackenzie <acm@muc.de>
10522
10523 Add the switch statement to AWK Mode.
10524
10525 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10526 "default" to the keywords regexp.
10527
10528 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10529 expression as the rest.
10530 (c-nonlabel-token-key): Allow string literals for AWK.
10531 Refactor for the other modes.
10532
10533 Large brace-block initialisation makes CC Mode slow: Fix.
10534 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10535 routines. Limit backward searching in c-font-lock-enclosing.decl.
10536
10537 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10538 pp-state and literal type in addition to the limits.
10539 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10540 (c-state-literal-at): Use the above new defun.
10541 (c-slow-in-literal, c-fast-in-literal): Remove.
10542 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10543
10544 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10545 being in a literal. Add a limit for backward searching.
10546
10547 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10548 c-slow-in-literal.
10549
10550 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10551
10552 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10553
10554 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10555
10556 * window.el (delete-other-windows): Use correct frame in call to
10557 window-with-parameter.
10558
10559 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10560
10561 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10562 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10563 (makefile-gmake-statements, makefile-makepp-statements):
10564 Use it and add new makepp keywords.
10565 (makefile-makepp-font-lock-keywords): Add new patterns.
10566 (makefile-match-function-end): Match new [...] and [[...]].
10567
10568 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10569
10570 * ses.el (ses-call-printer-return, ses-cell-property-get)
10571 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10572 (ses-create-cell-variable, ses-reset-header-string)
10573 (ses-cell-set-formula, ses-repair-cell-reference-all)
10574 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10575 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10576 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10577 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10578 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10579 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10580 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10581 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10582 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10583 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10584 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10585 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10586
10587 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10588
10589 * ses.el: The overall change is to add cell renaming, that is
10590 setting fancy names for cell symbols other than name matching
10591 "\\`[A-Z]+[0-9]+\\'" regexp .
10592 (ses-create-cell-variable): New defun.
10593 (ses-relocate-formula): Relocate formulas only for cells the
10594 symbols of which are not renamed, i.e. symbols whose names do not
10595 match regexp "\\`[A-Z]+[0-9]+\\'".
10596 (ses-relocate-all): Relocate values only for cells the symbols of
10597 which are not renamed.
10598 (ses-load): Create cells variables as the (ses-cell ...) are read,
10599 in order to check row col consistency with cell symbol name only
10600 for cells that are not renamed.
10601 (ses-replace-name-in-formula): New defun.
10602 (ses-rename-cell): New defun.
10603
10604 2011-12-11 Chong Yidong <cyd@gnu.org>
10605
10606 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10607 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10608
10609 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10610
10611 * window.el (other-window): Fix docstring.
10612
10613 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10614
10615 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10616 `from' or `to' address before taking its substring.
10617 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10618 encoded name is chopped in the middle of the encoded string, and
10619 thus displayed encoded.
10620
10621 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10622
10623 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10624
10625 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10626
10627 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10628 to use texinfo-update-node and commands that call it if the
10629 Texinfo file uses @node lines without next/prev/up pointers.
10630 Correct outdated description about texinfo-master-menu.
10631 (texinfo-all-menus-update, texinfo-master-menu)
10632 (texinfo-update-node, texinfo-every-node-update)
10633 (texinfo-multiple-files-update): Doc fix. Warn against updating
10634 all the @node lines.
10635 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10636 argument is numeric. Explain better in the doc string what the
10637 function really does.
10638 (texinfo-insert-master-menu-list): Improve the error message
10639 displayed if there's no menu in the Top node.
10640 (Bug#2975) See also this thread:
10641 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10642
10643 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10644
10645 * speedbar.el (speedbar-supported-extension-expressions):
10646 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10647
10648 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10649
10650 * printing.el (pr-mode-alist):
10651 * simple.el (filter-buffer-substring-functions)
10652 (completion-list-insert-choice-function):
10653 * window.el (window-with-parameter, window-atom-root)
10654 (window-sides-slots, window-size-fixed, window-min-delta)
10655 (window-max-delta, window--resize-mini-window)
10656 (window--resize-child-windows-normal, window-tree)
10657 (delete-other-windows, quit-window, split-window)
10658 (display-buffer-record-window, special-display-buffer-names)
10659 (special-display-regexps, special-display-popup-frame)
10660 (same-window-p, split-window-sensibly)
10661 (display-buffer-overriding-action, display-buffer-alist)
10662 (display-buffer-base-action, display-buffer, switch-to-buffer)
10663 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10664 (fit-window-to-buffer, recenter-positions)
10665 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10666 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10667 and remove unneeded backslashes in docstrings.
10668
10669 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10670
10671 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10672
10673 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10674 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10675 end in ".mk".
10676 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10677 when reading the makefile (bug#10116).
10678
10679 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10680
10681 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10682 (bug#10116).
10683
10684 2011-12-06 Glenn Morris <rgm@gnu.org>
10685
10686 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10687
10688 2011-12-06 Chong Yidong <cyd@gnu.org>
10689
10690 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10691
10692 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10693
10694 * textmodes/table.el (table-shorten-cell): Fix typo.
10695
10696 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10697
10698 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10699
10700 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10701
10702 * descr-text.el (describe-char): Fix display of strong
10703 right-to-left characters and directional embeddings and overrides.
10704
10705 * simple.el (what-cursor-position): Fix display of codepoints of
10706 strong right-to-left characters.
10707
10708 2011-12-05 Chong Yidong <cyd@gnu.org>
10709
10710 * faces.el (read-color): Doc fix.
10711
10712 2011-12-05 Glenn Morris <rgm@gnu.org>
10713
10714 * align.el (align--set-marker): Add doc-string.
10715 Don't try to move something that is not a marker. (Bug#10216)
10716
10717 2011-12-04 Glenn Morris <rgm@gnu.org>
10718
10719 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10720 overly zealous deletion of trailing whitespace.
10721
10722 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10723
10724 * server.el (server-delete-client): On Windows, do not try to delete
10725 the only terminal.
10726 (server-process-filter): On Windows, treat requests for a tty frame as
10727 if they were for a GUI frame if the running server is in GUI mode.
10728
10729 2011-12-03 Glenn Morris <rgm@gnu.org>
10730
10731 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10732
10733 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * electric.el: Streamline electric-indent's hook.
10736 (electric-indent-chars): Revert to simple list.
10737 (electric-indent-functions): New var.
10738 (electric-indent-post-self-insert-function): Use it.
10739
10740 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10741 there's no inferior buffer (bug#10196).
10742 (prolog-consult-compile): Don't use toggle-read-only.
10743
10744 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10745
10746 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10747 interrupt. (Bug#10187)
10748
10749 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10750
10751 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10752 (bug#9160).
10753
10754 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10755 (bug#10191).
10756
10757 2011-12-02 Juri Linkov <juri@jurta.org>
10758
10759 * info.el (Info-search): Display "end of manual" when Isearch
10760 reaches the end of single-file Info manual. (Bug#9918)
10761
10762 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10763
10764 * isearch.el (isearch-message-prefix): Run the input method part
10765 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10766
10767 2011-12-02 Juri Linkov <juri@jurta.org>
10768
10769 * isearch.el (isearch-occur): Use `word-search-regexp' for
10770 `isearch-word'.
10771 (isearch-search-and-update): Add condition for `isearch-word' and
10772 call `word-search-regexp'. (Bug#10145)
10773
10774 2011-12-01 Glenn Morris <rgm@gnu.org>
10775
10776 * eshell/em-hist.el (eshell-hist-initialize):
10777 Handle eshell-history-size nil and HISTSIZE set or unset.
10778 (eshell-history-file-name, eshell-history-size): Fix custom type.
10779
10780 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10781
10782 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10783
10784 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10785
10786 * progmodes/verilog-mode.el (verilog-pretty-expr):
10787 Rework verilog-pretty-expr to handle new assignment operators in system
10788 verilog, such as += *= and the like.
10789 (verilog-assignment-operator-re): Regular expression to find the
10790 assigment operator in a verilog assignment.
10791 (verilog-assignment-operation-re): Regular expression to find an
10792 assignment statement for pretty-expr.
10793 (verilog-in-attribute-p): Query returns true if point is in an
10794 attribute context; used to skip these for expression line up from
10795 pretty-expr.
10796 (verilog-in-parameter-p): Query returns true if point is in an
10797 parameter definition context; used to skip these for expression
10798 line up from pretty-expr.
10799 (verilog-in-parenthesis-p): Query returns true if point is in a
10800 parenthetical expression, specifically ( ) but not [ ] or { };
10801 used by pretty-expr.
10802 (verilog-just-one-space): If there is no space, don't add one.
10803 (verilog-get-lineup-indent-2): Specifically skip just attribute
10804 contexts for expression lineup, rather than skipping all
10805 parenthetical expressions.
10806 (verilog-calculate-indent): Fix comment, and fix indent.
10807 (verilog-do-indent): Indent declarations in lists (suggested by
10808 Joachim Lechner).
10809 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10810 skeleton items.
10811 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10812 by Alain Mellan).
10813
10814 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
10815
10816 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10817 parameters with embedded comments. Reported by Ray Stevens.
10818 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10819 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10820 Reported by Tim Holt.
10821 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10822 instantiated by upper module causing wrong expansion until AUTOed a
10823 second time. Reported by K C Buckenmaier.
10824 (verilog-diff-auto): Fix showing .* as a difference when
10825 `verilog-auto-star-save' off. Reported by Dan Dever.
10826 (verilog-auto-reset, verilog-read-always-signals)
10827 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10828 temporary signals in reset list if
10829 verilog-auto-reset-blocking-in-non is nil, and match assignment
10830 style to each signal's assignment type, bug381.
10831 Reported by Thomas Esposito.
10832 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10833 (verilog-uvm-statement-re): Support UVM indentation and
10834 highlighting, with old OVM keywords only.
10835 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10836 Support AUTOTIEOFF creating non-wire data types.
10837 Suggested by Jonathan Greenlaw.
10838 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10839 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10840 (verilog-inject-sense, verilog-read-inst-pins)
10841 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10842 Fix mismatching parenthesis inside commented out code when deleting
10843 AUTOINST, bug383. Reported by Jonathan Greenlaw.
10844 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10845 non-numeric vector width. Reported by Alex Reed.
10846 (verilog-auto-ascii-enum): Add "onehot" option to work around not
10847 detecting signals with parameter widths. Reported by Alex Reed.
10848 (verilog-auto-delete-trailing-whitespace):
10849 With `verilog-auto-delete-trailing-whitespace' remove trailing
10850 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10851 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10852 Fix verilog-scan-cache corruption when running user AUTO expansion
10853 hooks that call indentation routines.
10854 (verilog-simplify-range-expression): Fix typo ignoring lower case
10855 identifiers.
10856 (verilog-delete-auto): Fix delete-autos to also remove user created
10857 automatics, as long as they start with AUTO.
10858 (verilog-batch-diff-auto, verilog-diff-auto)
10859 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10860 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10861 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10862 (verilog-in-paren-quick, verilog-re-search-backward-quick)
10863 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10864 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10865 is disabled and its cache will get corrupt, causing AUTOS not to
10866 expand. Instead use only -quick functions.
10867 (verilog-scan-region): Fix scanning over escaped quotes.
10868 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10869 (verilog-re-search-backward-quick)
10870 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10871 related functions now ignore strings, to fix misparsing of strings
10872 with magic comments embedded in them.
10873 (verilog-read-auto-template):
10874 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10875 Reported by Brad Dobbie.
10876 (verilog-read-auto-template):
10877 Fix 'verilog-auto-inst-template-numbers' with comments.
10878 Reported by Brad Dobbie.
10879 (verilog-auto-inst, verilog-auto-inst-param)
10880 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10881 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10882 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10883 debugging templates without merge conflicts, bug357.
10884 Reported by Brad Dobbie.
10885 (verilog-read-auto-template):
10886 Fix verilog-auto-inst-template-numbers with multiple templates.
10887 Reported by Brad Dobbie.
10888 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10889 abbrevs so user won't be asked to save.
10890 (verilog-read-auto-lisp-present): Fix to start at beginning of
10891 buffer in case called outside of verilog-auto.
10892 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10893 to "X-2". Reported by Matthew Myers.
10894 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10895 all inputs from module templates. Reported by Leith Johnson.
10896 (verilog-module-inside-filename-p): Fix locating programs as with
10897 modules.
10898 (verilog-auto-inst-port): Fix vl-width expressions when using
10899 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10900 (verilog-decls-get-regs, verilog-decls-get-signals,
10901 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10902 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10903 verilog-read-decls): Combine reg and wire structures into one var
10904 structure to represent SystemVerilog concepts.
10905 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10906 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10907 (verilog-auto-wire-type, verilog-insert-definition):
10908 Add verilog-auto-wire-type and AUTOLOGIC to support using
10909 SystemVerilog "logic" keyword instead of "wire"/"reg".
10910 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10911 to declares outputs that also have assignments (presumably in an
10912 ifdef or generate if so there's not a driver conflict).
10913 Reported by Matthew Myers.
10914 (verilog-auto-declare-nettype, verilog-insert-definition):
10915 Add verilog-auto-declare-nettype to fix declarations using
10916 `default_nettype none. Reported by Julian Gorfajn.
10917 (verilog-read-always-signals-recurse, verilog-read-decls)
10918 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10919 malformed end statement, bug325. Reported by Joshua Wise and
10920 Andrew Drake.
10921 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10922 (verilog-inst-comment-re): Fix not deleting Interfaced comment
10923 when expanding .* in interfaces, bug320.
10924 Reported by Pierre-David Pfister.
10925 (verilog-read-module-name): Fix import statements between module
10926 name and open parenthesis, bug317.
10927 Reported by Pierre-David Pfister.
10928 (verilog-simplify-range-expression): Fix simplification of
10929 multiplications inside AUTOWIRE connections, bug303.
10930 (verilog-auto-inst-port): Support parameter expansion in
10931 multidimensional arrays.
10932 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10933 after "assert property". Reported by Julian Gorfajn.
10934 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10935 with multiplication, bug303.
10936 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10937 Reported by Jan Frode Lonnum.
10938
10939 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
10940
10941 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10942 (hfy-shell-file-name, hfy-shell):
10943 * international/fontset.el (x-decompose-font-name): Fix typos.
10944
10945 2011-11-29 Ken Brown <kbrown@cornell.edu>
10946
10947 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10948 (gdb-version): Remove defvar.
10949 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10950 (gdb-gud-context-command, gdb-non-stop-handler)
10951 (gdb-current-context-command, gdb-stopped): Use it.
10952 (gdb-init-1): Enable pretty printing here.
10953 (gdb-non-stop-handler): Don't enable pretty-printing here.
10954 Check to see if the target supports non-stop mode; if not, turn off
10955 non-stop mode. Use the following.
10956 (gdb-check-target-async): New defun.
10957 (gud-watch, gdb-stopped): Fix whitespace.
10958 (gdb-get-source-file): Don't try to display the source file if
10959 `gdb-main-file' is nil.
10960
10961 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10962
10963 * align.el: Try to generate fewer markers (bug#10047).
10964 (align--set-marker): New macro.
10965 (align-region): Use it.
10966
10967 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10968
10969 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10970
10971 2011-11-29 Chong Yidong <cyd@gnu.org>
10972
10973 * indent.el (indent-for-tab-command, indent-according-to-mode):
10974 Doc fix.
10975 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10976
10977 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
10978
10979 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10980 aware of remote file names. (Bug#10124)
10981
10982 2011-11-29 Chong Yidong <cyd@gnu.org>
10983
10984 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10985
10986 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * files.el (find-file): Don't use force-same-window (bug#10144).
10989 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10990 use pop-to-buffer if the selected window can't be used.
10991 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10992
10993 2011-11-28 Eli Zaretskii <eliz@gnu.org>
10994
10995 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10996 special-mode-map.
10997
10998 2011-11-28 Chong Yidong <cyd@gnu.org>
10999
11000 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11001
11002 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11003
11004 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11005 gdb-get-source-file-list on gdb-create-source-file-list.
11006
11007 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11008
11009 * whitespace.el (whitespace-newline): Use a different foreground
11010 color for 16-color light-background displays.
11011
11012 2011-11-24 Chong Yidong <cyd@gnu.org>
11013
11014 * window.el (display-buffer--special-action): Doc fix.
11015
11016 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11017
11018 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11019 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11020 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11021 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11022 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11023 (avl-tree-stack-first):
11024 * emacs-lisp/cconv.el (cconv--analyse-use):
11025 * net/gnutls.el (gnutls-negotiate): Fix typos.
11026
11027 2011-11-24 Glenn Morris <rgm@gnu.org>
11028
11029 * lpr.el (lpr-windows-system, lpr-lp-system):
11030 * mail/binhex.el (binhex-begin-line):
11031 * progmodes/grep.el (grep-history, grep-find-history):
11032 * textmodes/flyspell.el:
11033 * vc/pcvs-defs.el (cvs-global-menu):
11034 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11035 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11036 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11037
11038 * net/tls.el: Fix case of "GnuTLS".
11039
11040 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11041
11042 * version.el (emacs-build-system): Give it a doc-string.
11043
11044 2011-11-24 Juri Linkov <juri@jurta.org>
11045
11046 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11047
11048 2011-11-24 Glenn Morris <rgm@gnu.org>
11049
11050 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11051 if called on a non-mime message just toggle the headers. (Bug#8006)
11052
11053 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11054
11055 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11056 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11057 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11058 (allout-rebullet-heading, allout-open-sibtopic)
11059 (allout-toggle-current-subtree-encryption)
11060 (allout-toggle-subtree-encryption, allout-encrypt-string)
11061 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11062 (allout-distinctive-bullets-string, allout-auto-activation):
11063 * window.el (window-normalize-buffer-to-display):
11064 * progmodes/verilog-mode.el (verilog-batch-indent):
11065 * textmodes/bibtex.el (bibtex-field-braces-opt)
11066 (bibtex-field-strings-opt):
11067 * vc/cvs-status.el (cvs-tree-merge):
11068 Fix typos.
11069
11070 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11071
11072 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11073 `non-essential' to t, in order to avoid remote connections.
11074
11075 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11076
11077 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11078 On MS-DOS and MS-Windows, compare with loaddefs.el
11079 case-insensitively.
11080
11081 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11082
11083 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11084
11085 2011-11-23 Glenn Morris <rgm@gnu.org>
11086
11087 * paths.el (rmail-file-name): Reformat the doc-string so that it
11088 is picked up.
11089
11090 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11091 (rmail-auto-file): Ignore case in the "special" field names,
11092 as mail-fetch-field does for all others.
11093
11094 * mail/rmail.el (rmail-forward):
11095 * mail/rmailkwd.el (rmail-set-label):
11096 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11097 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11098
11099 * mail/rmail.el (rmail-current-message): Doc fix.
11100
11101 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11102
11103 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11104
11105 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11106
11107 2011-11-22 Glenn Morris <rgm@gnu.org>
11108
11109 * mail/rmailmm.el (test-rmail-mime-handler)
11110 (test-rmail-mime-bulk-handler)
11111 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11112
11113 2011-11-21 Juri Linkov <juri@jurta.org>
11114
11115 * calc/calc.el (calc-read-key-sequence):
11116 Let-bind `input-method-function' to nil. (Bug#10018)
11117
11118 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11119
11120 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11121 Tell the caller that the next line needs recomputation, even
11122 though it doesn't start a sexp (bug#10094).
11123
11124 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11125
11126 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11127
11128 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11129
11130 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11131 Use force-same-window.
11132
11133 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11134
11135 * descr-text.el (describe-char-unicode-data):
11136 * json.el (json-string-escape):
11137 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11138 (Footnote-unicode, Footnote-style-p):
11139 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11140
11141 2011-11-20 Chong Yidong <cyd@gnu.org>
11142
11143 * window.el (replace-buffer-in-windows): Restore interactive spec.
11144
11145 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11146
11147 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11148
11149 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11150 (byte-compile-global-not-obsolete-vars): New var.
11151 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11152 Use it.
11153 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11154
11155 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11156
11157 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11158 * progmodes/pascal.el (electric-pascal-equal):
11159 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11160 * xml.el (xml-substitute-special): Fix typos.
11161
11162 2011-11-20 Glenn Morris <rgm@gnu.org>
11163
11164 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11165 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11166 Doc fixes.
11167 (rmail-decode-mime-charset): Mark as obsolete.
11168
11169 * mail/rmailsum.el (rmail-message-regexp-p-1):
11170 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11171 Before using mime functions, check they are set. (Bug#10077)
11172
11173 2011-11-19 Juri Linkov <juri@jurta.org>
11174
11175 * info.el (Info-finder-find-node): Use `package--builtins' instead
11176 of `package-alist'. Use node names formed by the pattern "Keyword "
11177 and the keyword name.
11178
11179 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11180
11181 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11182
11183 2011-11-19 Juri Linkov <juri@jurta.org>
11184
11185 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11186 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11187 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11188 `old-history', `old-history-forward'. Add let-binding
11189 `window-selected'. Remove calls to `kill-buffer',
11190 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11191 before calling `Info-find-node', so `Info-find-node-2' will reread
11192 the Info file. Restore window positions only when `window-selected'
11193 is non-nil.
11194
11195 2011-11-19 Juri Linkov <juri@jurta.org>
11196
11197 * isearch.el (isearch-lazy-highlight-new-loop):
11198 Remove condition `(not isearch-error)'. (Bug#9918)
11199
11200 * misearch.el (multi-isearch-search-fun): Add condition
11201 `(not bound)' to ignore lazy-highlighting search.
11202 Add the search-failed message "end of multi" when the end of
11203 multi-sequence is reached. Uncapitalize the search-failed
11204 message "Repeat for next buffer".
11205
11206 * info.el (Info-search): Add the search-failed message
11207 "end of the manual" when the end of the manual is reached
11208 in Isearch mode.
11209
11210 2011-11-19 Juri Linkov <juri@jurta.org>
11211
11212 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11213 Use non-destructive `remove' instead of `delete' because
11214 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11215 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11216
11217 2011-11-19 Juri Linkov <juri@jurta.org>
11218
11219 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11220 to nil instead of binding `search-ring' and `regexp-search-ring'.
11221 (Bug#9185)
11222
11223 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11224
11225 * simple.el (line-move): Force movement by logical lines for any
11226 hscrolled window, not only when auto-hscroll-mode is on.
11227 (line-move-visual): Update doc string to that effect. (Bug#10076)
11228
11229 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11230
11231 * language/european.el (macintosh): Define as alias for mac-roman.
11232
11233 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11234
11235 * mail/rmailmm.el (rmail-mime-display-header)
11236 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11237 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11238 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11239 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11240 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11241 of a raw aref.
11242 (rmail-mime-entity-segment): To get past the tagline, move forward
11243 2 more lines, to account for the 2 empty lines that precede and
11244 follow the line with the buttons.
11245 (rmail-mime-update-tagline): Move one more line, to get past the
11246 empty line that follows the buttons in the tagline. (Bug#9520)
11247
11248 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11249
11250 * window.el (window-max-delta-1, window-min-delta-1)
11251 (window-min-size-1, window-state-get-1, window-state-put-1)
11252 (window-state-put-2): Use "window--" prefix.
11253
11254 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11257 (smie-warning-count): New var.
11258 (smie-set-prec2tab): Use it.
11259 (smie-bnf->prec2): Improve warnings. Add docstring.
11260 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11261 (smie-bnf--set-class): New function.
11262 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11263 corner case.
11264
11265 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11266 (compilation-error-properties, compilation-move-to-column):
11267 Handle compilation-first-column while in the target buffer.
11268
11269 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11270 Don't hardcode point-min==1.
11271
11272 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11273 (eshell-rewrite-for-command): Remove workaround.
11274 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11275 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11276 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11277
11278 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11279
11280 2011-11-17 Glenn Morris <rgm@gnu.org>
11281
11282 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11283 Ignore buffer-local generated-autoload-file if it is the same
11284 as the global value. (Bug#10049)
11285
11286 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11287
11288 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11289 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11290 (reftex-toc-previous-heading, reftex-toc-max-level)
11291 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11292 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11293 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11294 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11295 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11296 (reftex-toc-rename-label, reftex-toc-visit-location)
11297 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11298 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11299 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11300 leaving "*toc*" only for references to the buffer.
11301
11302 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11303
11304 * window.el (window-resize, delete-window, split-window):
11305 Replace window-splits by window-combination-resize.
11306 * cus-start.el (window-splits): Replace by window-combination-resize.
11307
11308 2011-11-17 Glenn Morris <rgm@gnu.org>
11309
11310 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11311 Make bash entry derive from sh entry, not shell entry.
11312
11313 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11314
11315 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11316 local file name.
11317
11318 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11319
11320 * menu-bar.el (menu-bar-file-menu):
11321 * printing.el (pr-ps-utility):
11322 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11323 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11324 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11325 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11326 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11327 (icalendar--convert-cyclic-to-ical)
11328 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11329 (icalendar--convert-ical-to-diary)
11330 (icalendar--convert-recurring-to-diary)
11331 (icalendar--convert-non-recurring-all-day-to-diary)
11332 (icalendar-import-format-sample):
11333 * progmodes/idlw-shell.el (idlwave-shell-mode):
11334 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11335 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11336 (vhdl-ps-print-init): Fix typos.
11337
11338 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11339
11340 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11341 FSF and collapse date sequence, obscure author/maintainer email address
11342 better, remove extra version line, track relocation of author's webpage.
11343
11344 * progmodes/python.el (python-pdbtrack-input-prompt)
11345 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11346 regular python pdb prompts. Adjustments shamelessly taken exactly as
11347 suggested in EmacsWiki page (tiny change):
11348 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11349
11350 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11351
11352 * expand.el (expand-pos, expand-index, expand-point):
11353 Remove redundant info from docstring.
11354 (expand-add-abbrevs): Doc fix.
11355 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11356 (expand-sample-perl-mode-expand-list): Fix typos.
11357
11358 * net/dbus.el (dbus-event-member-name):
11359 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11360 * term/pc-win.el (msdos-create-frame-with-faces):
11361 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11362
11363 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11364
11365 * window.el (split-window, window-state-get-1)
11366 (window-state-put-1, window-state-put-2): Rename occurrences of
11367 window-nest to window-combination-limit.
11368 * cus-start.el (window-nest): Rename to window-combination-limit.
11369
11370 2011-11-16 Chong Yidong <cyd@gnu.org>
11371
11372 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11373 regexp (Bug#10033).
11374
11375 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11376
11377 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11378 `completing-read' will remove *Completions* and will preserve
11379 current-buffer for us.
11380 (tmm-add-prompt): Users of *Completions* will always (re)set its
11381 major mode.
11382 (tmm-old-comp-map): Remove.
11383
11384 2011-11-16 Glenn Morris <rgm@gnu.org>
11385
11386 * mail/rmailedit.el: Require rmailmm when compiling.
11387 (rmail-old-mime-state): New declaration.
11388 (rmail-edit-current-message): If editing a mime message,
11389 edit the "raw" message from the mbox buffer.
11390 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11391
11392 2011-11-15 Glenn Morris <rgm@gnu.org>
11393
11394 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11395 which wasn't being used. Add optional arg to force given state.
11396 (rmail-mime): Add optional arg to force given state.
11397
11398 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11401 * frame.el (display-mm-dimensions-alist):
11402 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11403 (outline-move-subtree-down):
11404 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11405 (newsticker--treeview-do-get-node):
11406 * net/quickurl.el (quickurl-list-buffer-name):
11407 * progmodes/dcl-mode.el (dcl-mode):
11408 * progmodes/gdb-mi.el (gdb-mapcar*):
11409 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11410
11411 2011-11-15 Glenn Morris <rgm@gnu.org>
11412
11413 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11414 in a boolean sense, so just make it a boolean, and fix the doc.
11415 (rmail-show-mime-function, rmail-mime-feature)
11416 (rmail-require-mime-maybe): Doc fixes.
11417 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11418
11419 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11420
11421 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11422
11423 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11424 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11425 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11426 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11427
11428 2011-11-15 Glenn Morris <rgm@gnu.org>
11429
11430 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11431 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11432 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11433 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11434 (rmail-mime, rmail-show-mime): Doc fixes.
11435
11436 * term/ns-win.el (mode-line-frame-identification):
11437 Leave it alone. (Bug#10051)
11438
11439 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11440
11441 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11442 Handle empty buffers. (Bug#9978)
11443
11444 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11445
11446 * international/mule.el (define-charset):
11447 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11448 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11449 * progmodes/verilog-mode.el (verilog-backward-token):
11450 * textmodes/ispell.el (lookup-words):
11451 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11452
11453 2011-11-14 Glenn Morris <rgm@gnu.org>
11454
11455 * progmodes/executable.el
11456 (executable-make-buffer-file-executable-if-script-p):
11457 Handle file-modes returning nil.
11458
11459 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11460 message - not necessary, and causes problems. (Bug#9831)
11461
11462 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11463
11464 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11465
11466 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11467 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11468 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11469
11470 2011-11-12 Martin Rudalics <rudalics@gmx.at>
11471
11472 * window.el (window-resize, delete-window): Use window-splits
11473 variable instead of function.
11474 (window-state-get-1, window-state-put-2, window-state-put):
11475 Don't deal with windows' splits status.
11476
11477 2011-11-12 Glenn Morris <rgm@gnu.org>
11478
11479 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11480 (apropos-documentation): Doc fixes.
11481
11482 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
11483
11484 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11485 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11486
11487 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * electric.el (electric-indent-post-self-insert-function): Make it
11490 possible for a char to only indent in some circumstances.
11491 (electric-indent-mode): Simplify.
11492
11493 2011-11-11 Martin Rudalics <rudalics@gmx.at>
11494
11495 * window.el (windows-with-parameter): Remove unused function.
11496 (windows-at-side): Rename to window-at-side-list.
11497 (window-check, window-atom-check, window-atom-check-1)
11498 (window-side-check, window-size-ignore, window-size-fixed-1)
11499 (window-in-direction-2): Prefix with "window--".
11500 (window-tree-1): Rename to window--subtree, fix doc-string.
11501
11502 2011-11-11 Glenn Morris <rgm@gnu.org>
11503
11504 * subr.el (eval-after-load): If FILE is already loaded,
11505 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11506
11507 2011-11-10 Glenn Morris <rgm@gnu.org>
11508
11509 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11510 Call svn via vc-svn-command rather than vc-do-command.
11511 (vc-svn-command): Add --non-interactive. (Bug#9993)
11512 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11513
11514 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11515 Add toggle-read-only. (Bug#7292)
11516 * files.el (toggle-read-only): Mention that it should only
11517 be used interactively. (Bug#10006)
11518
11519 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11520
11521 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11522 Adjust regexp for OCaml warnings.
11523
11524 * electric.el (electric-pair-post-self-insert-function): Let user
11525 turn it off buffer-locally (bug#9932).
11526
11527 * progmodes/python.el (python-beginning-of-statement):
11528 Rewrite (bug#2703).
11529
11530 * progmodes/compile.el: Better handle TABs (bug#9749).
11531 (compilation-internal-error-properties)
11532 (compilation-next-error-function): Obey the target buffer's
11533 compilation-error-screen-columns.
11534
11535 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
11536
11537 * progmodes/meta-mode.el: Remove obsolete comments.
11538 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11539 Fix typos in docstrings.
11540
11541 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11542
11543 * window.el (window-size-fixed-p): Rewrite doc-string.
11544 (window-resizable-p): Rename to window--resizable-p. Update callers.
11545 (window--resizable): New function. Make all callers of
11546 window-resizable call window--resizable instead.
11547 (window-resizable): Rewrite in terms of window--resizable.
11548
11549 2011-11-08 Glenn Morris <rgm@gnu.org>
11550
11551 * progmodes/delphi.el (delphi-mode-syntax-table):
11552 Let define-derived-mode define a proper syntax table. (Bug#9994)
11553
11554 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 * window.el: Stay away from defsubst.
11557 (window-list-no-nils): Remove.
11558 (window-state-get-1, window-state-get): Use backquote instead.
11559
11560 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11561
11562 * emacs-lisp/find-func.el (find-function-read):
11563 Fix incorrect use of default argument in `completing-read'.
11564
11565 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11566
11567 * window.el (display-buffer-function, special-display-function):
11568 Mention display-buffer-record-window but do not mention
11569 help-setup parameter in doc-strings.
11570 (window-min-delta): Fix doc-string typo.
11571
11572 2011-11-08 Chong Yidong <cyd@gnu.org>
11573
11574 * window.el (window-total-height, window-total-width): Doc fix.
11575 (window-body-size): Move from C.
11576 (window-body-height, window-body-width): Move to C.
11577
11578 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 * window.el: Make special-display like display-buffer-alist (bug#9532).
11581 (display-buffer--special-action): New function, morphed
11582 from display-buffer--special.
11583 (display-buffer): Use it to handle special-display-buffers at higher
11584 priority (just after display-buffer-alist).
11585 (display-buffer-fallback-action, display-buffer--other-frame-action)
11586 (pop-to-buffer-same-window): Remove display-buffer--special.
11587
11588 2011-11-07 Glenn Morris <rgm@gnu.org>
11589
11590 * calendar/cal-menu.el (cal-menu-set-date-title):
11591 Do nothing if not in a calendar. (Bug#9976)
11592
11593 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11594
11595 * files.el (find-file): Always use selected-window.
11596
11597 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11598
11599 * window.el (window-combinations): Make WINDOW argument
11600 mandatory. Rewrite doc-string.
11601 (walk-window-subtree, window-atom-check, window-min-delta)
11602 (window-max-delta, window--resize-this-window)
11603 (window--resize-root-window-vertically, window-tree)
11604 (balance-windows, window-state-put): Rewrite doc-strings as to
11605 not mention the term "subwindow".
11606 (window--resize-subwindows-skip-p): Rename to
11607 window--resize-child-windows-skip-p.
11608 (window--resize-subwindows-normal): Rename to
11609 window--resize-child-windows-normal.
11610 (window--resize-subwindows): Rename to
11611 window--resize-child-windows.
11612 (window-or-subwindow-p): Rename to window--in-subtree-p.
11613
11614 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11615
11616 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11617 Ensure that mbox format messages end in two newlines (Bug#9974).
11618
11619 2011-11-06 Chong Yidong <cyd@gnu.org>
11620
11621 * window.el (window-combination-p): Function deleted; its
11622 side-effect is not used in any existing code.
11623 (window-combinations, window-combined-p): Call window-*-child
11624 directly.
11625
11626 2011-11-05 Chong Yidong <cyd@gnu.org>
11627
11628 * window.el (window-valid-p): Rename from window-any-p.
11629 (window-size-ignore, window-state-get): Callers changed.
11630 (window-normalize-window): Rename from window-normalize-any-window.
11631 New arg LIVE-ONLY, replacing window-normalize-live-window.
11632 (window-normalize-live-window): Delete.
11633 (window-combination-p, window-combined-p, window-combinations)
11634 (walk-window-subtree, window-atom-root, window-min-size)
11635 (window-sizable, window-sizable-p, window-size-fixed-p)
11636 (window-min-delta, window-max-delta, window-resizable)
11637 (window-resizable-p, window-full-height-p, window-full-width-p)
11638 (window-current-scroll-bars, window-point-1, set-window-point-1)
11639 (window-at-side-p, window-in-direction, window-resize)
11640 (adjust-window-trailing-edge, maximize-window, minimize-window)
11641 (window-deletable-p, delete-window, delete-other-windows)
11642 (record-window-buffer, unrecord-window-buffer)
11643 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11644 (quit-window, split-window, window-state-put)
11645 (set-window-text-height, fit-window-to-buffer)
11646 (shrink-window-if-larger-than-buffer): Callers changed.
11647
11648 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11649
11650 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11651 rfc2047-decode-string.
11652 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11653 warnings.
11654
11655 * window.el (window-body-height, window-body-width): Mention in
11656 the doc string that the return values are in frame's canonical
11657 units. (Bug#9949)
11658
11659 2011-11-03 Alan Mackenzie <acm@muc.de>
11660
11661 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11662 change in cc-engine.el.
11663
11664 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11667
11668 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11669
11670 * window.el (quit-window): Call unrecord-window-buffer after
11671 showing another buffer in the window. (Bug#9937)
11672 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11673
11674 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11675
11676 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11677 Accept status with more than 9 shelves. (Bug#9935)
11678 Reported by Colin D Bennett <colin@gibibit.com>.
11679
11680 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11681
11682 * help.el (with-help-window): Don't reference
11683 temp-buffer-show-specifiers in doc-string.
11684
11685 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11686
11687 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11688 menu-item.
11689
11690 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11691
11692 * whitespace.el: New version 13.2.2.
11693 (whitespace-newline-mode): Disable properly. Reported by Sarah
11694 <EmacsWiki>.
11695
11696 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11697
11698 * net/newst-treeview.el: Remove "Time-stamp".
11699 (newsticker--group-manage-orphan-feeds): Do not call
11700 newsticker--treeview-tree-update.
11701 (newsticker-treeview-update, newsticker-treeview):
11702 Call newsticker--treeview-tree-update if necessary.
11703
11704 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11705
11706 * window.el (window-iso-combination-p, window-iso-combined-p)
11707 (window-iso-combinations): Remove "iso-" infix.
11708 Suggested by Chong Yidong.
11709 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11710 (window-max-delta-1, window-resize, window--resize-siblings)
11711 (window--resize-this-window, adjust-window-trailing-edge)
11712 (split-window, balance-windows-1)
11713 (shrink-window-if-larger-than-buffer):
11714 * calendar/calendar.el (calendar-generate-window):
11715 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11716
11717 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11720 in place (bug#9907).
11721 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11722 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11723 (eshell-structure-basic-command, eshell-rewrite-while-command)
11724 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11725 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11726 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11727 (eshell-do-pipelines-synchronously, eshell-eval-command):
11728 Use backquotes and prefer setq to set.
11729 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11730 (eshell-macrop): Use functionp.
11731 (eshell-do-eval): Handle multiple expressions in `while' body.
11732
11733 2011-10-30 Chong Yidong <cyd@gnu.org>
11734
11735 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11736 instead of set-mark (Bug#9810).
11737
11738 2011-10-30 Chong Yidong <cyd@gnu.org>
11739
11740 * window.el (split-window-below, split-window-right): Rename from
11741 split-window-above-each-other and split-window-side-by-side
11742 respectively. All callers changed.
11743 (split-window-sensibly, split-window-sensibly): Use them.
11744 (split-window-keep-point): Doc fix.
11745
11746 * isearch.el: Add isearch-scroll property to split-window-below
11747 and split-window-right.
11748
11749 * follow.el (follow-mode):
11750 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11751 * progmodes/ada-xref.el (ada-gdb-application):
11752 * emulation/vip.el (vip-buffer-in-two-windows):
11753 * image-dired.el (image-dired-dired-with-window-configuration):
11754 * dired-x.el (dired-do-find-marked-files):
11755 * dired.el (dired-pop-to-buffer):
11756 * bs.el (bs--show-with-configuration):
11757 * vc/emerge.el (emerge-setup-windows):
11758 * textmodes/two-column.el (2C-two-columns):
11759 * textmodes/reftex-toc.el (reftex-toc):
11760 * progmodes/gdb-mi.el (gdb-setup-windows):
11761 * progmodes/fortran.el (fortran-window-create):
11762 * net/newst-treeview.el (newsticker--treeview-window-init):
11763 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11764 * emulation/tpu-edt.el (tpu-gold-map):
11765 * emulation/crisp.el (crisp-mode-map):
11766 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11767
11768 2011-10-29 Chong Yidong <cyd@gnu.org>
11769
11770 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11771
11772 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11773
11774 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11775 forged Ispell output (Bug#7904).
11776
11777 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11778
11779 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * doc-view.el: Avoid ugly errors about not finding nil.
11782 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11783 (doc-view-dvipdf-program, doc-view-unoconv-program)
11784 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11785 Avoid nil or absolute file name as default value.
11786 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11787
11788 2011-10-28 Alan Mackenzie <acm@muc.de>
11789
11790 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11791
11792 2011-10-28 Alan Mackenzie <acm@muc.de>
11793
11794 Amend the handling of c-beginning/end-of-defun in nested declaration
11795 scopes.
11796
11797 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11798 cc-langs.el. Change it to a defcustom.
11799
11800 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11801 cc-vars.el.
11802
11803 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11804 Prevent "class foo : bar" being spuriously recognized as a label.
11805
11806 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11807 Add parameter `inclusive' (to include enclosing braces in the region).
11808 (c-widen-to-enclosing-decl-scope): New function.
11809 (c-while-widening-to-decl-block): New macro.
11810 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11811 outward for defun boundaries, and correspondingly change symbol
11812 `respect-enclosure' to `go-outward'.
11813 (c-declaration-limits): Change algorithm to report only the "innermost"
11814 defun's boundaries.
11815
11816 2011-10-28 Deniz Dogan <deniz@dogan.se>
11817
11818 * net/rcirc.el (rcirc-mode): Use hard newlines.
11819
11820 2011-10-28 Alan Mackenzie <acm@muc.de>
11821
11822 Amend to indent and fontify macros "which include their own semicolon"
11823 correctly, using the "virtual semicolon" mechanism.
11824
11825 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11826
11827 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11828 Recode to scan one line at a time rather than having \n and \r
11829 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11830 (c-forward-label): Amend for virtual semicolons.
11831 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11832
11833 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11834 of the new C macros.
11835
11836 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11837 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11838 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11839 (c-opt-cpp-macro-define): Make into a full language variable.
11840 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11841 AWK Mode (including \n, \r) removed, no longer needed.
11842
11843 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11844 Invoke c-make-macro-with-semi-re.
11845
11846 * progmodes/cc-vars.el (c-macro-with-semi-re):
11847 (c-macro-names-with-semicolon): New variables.
11848 (c-make-macro-with-semi-re): New function.
11849
11850 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11851
11852 * vc/log-edit.el: Fill empty field rather than adding new one.
11853 (log-edit-add-field): New function.
11854 (log-edit-insert-changelog): Use it.
11855
11856 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11857
11858 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11859
11860 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11861
11862 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11863 (gdb--check-interpreter): New function.
11864 (gdb): Use it.
11865
11866 2011-10-27 Glenn Morris <rgm@gnu.org>
11867
11868 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11869 (least-positive-float, least-negative-float)
11870 (least-positive-normalized-float, least-negative-normalized-float)
11871 (float-epsilon, float-negative-epsilon):
11872 Remove unnecessary declarations.
11873
11874 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11875 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11876 (least-positive-float, least-negative-float)
11877 (least-positive-normalized-float, least-negative-normalized-float)
11878 (float-epsilon, float-negative-epsilon): Add doc-strings,
11879 based on those in cl.texi.
11880
11881 * files.el (set-visited-file-name): If the major-mode changed,
11882 reload the local variables. (Bug#9796)
11883
11884 2011-10-27 Chong Yidong <cyd@gnu.org>
11885
11886 * subr.el (change-major-mode-after-body-hook): New hook.
11887 (run-mode-hooks): Run it.
11888
11889 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11890 Use change-major-mode-before-body-hook.
11891
11892 * simple.el (fundamental-mode):
11893 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11894 change introducing fundamental-mode-hook.
11895
11896 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
11897
11898 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11899
11900 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
11901
11902 * ido.el (ido-file-name-all-completions-1): Do not require
11903 tramp.el explicitly. (Bug#7583)
11904
11905 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11906
11907 * progmodes/octave-mod.el:
11908 * progmodes/octave-inf.el: Update maintainer.
11909
11910 2011-10-26 Chong Yidong <cyd@gnu.org>
11911
11912 * subr.el (with-wrapper-hook): Rewrite doc.
11913
11914 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
11915
11916 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11917 filenames "/method:foo:". (Bug#9793)
11918
11919 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11922 (bug#9865).
11923
11924 2011-10-24 Glenn Morris <rgm@gnu.org>
11925
11926 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11927
11928 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
11929
11930 * notifications.el: Add the requirement of a running D-Bus session
11931 bus to the Commentary.
11932
11933 2011-10-24 Juri Linkov <juri@jurta.org>
11934
11935 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11936 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11937 (Bug#9364)
11938
11939 2011-10-24 Juri Linkov <juri@jurta.org>
11940
11941 * info.el (Info-following-node-name-re): Add newline to the list
11942 of allowed characters for leading space. (Bug#9824)
11943
11944 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * progmodes/octave-inf.el (inferior-octave-mode-map):
11947 Fix C-c C-h binding.
11948 * progmodes/octave-mod.el (octave-help): Remove.
11949
11950 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
11951
11952 Sync with Tramp 2.2.3.
11953
11954 * net/tramp-cache.el (top): Pacify byte-compiler using
11955 `init-file-user' and `site-run-file'.
11956
11957 * net/trampver.el: Update release number.
11958
11959 2011-10-23 Chong Yidong <cyd@gnu.org>
11960
11961 * files.el (toggle-read-only): Remove obsolete comment about
11962 version control.
11963
11964 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11965 for toggle-read-only. Note that this hasn't called vc-next-action
11966 since 2008-05-02, though it wasn't documented at the time.
11967
11968 * vc/ediff-init.el (ediff-toggle-read-only-function):
11969 Use toggle-read-only.
11970
11971 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11972
11973 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11974 of c-parse-state.
11975
11976 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11977 correct faulty logical expression.
11978 (c-parse-state-state, c-record-parse-state-state):
11979 (c-replay-parse-state-state): New defvar/defuns.
11980 (c-debug-parse-state): Use new functions.
11981
11982 2011-10-22 Martin Rudalics <rudalics@gmx.at>
11983
11984 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11985 last fix. Use window-in-direction correctly.
11986
11987 2011-10-21 Chong Yidong <cyd@gnu.org>
11988
11989 * progmodes/idlwave.el (idlwave-mode):
11990 * progmodes/vera-mode.el (vera-mode): No need to set
11991 require-final-newline; that's done in prog-mode.
11992 Suggested by Stefan Monnier.
11993
11994 2011-10-21 Martin Rudalics <rudalics@gmx.at>
11995
11996 * mouse.el (mouse-drag-window-above)
11997 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11998 (mouse-drag-mode-line-1, mouse-drag-header-line)
11999 (mouse-drag-vertical-line-rightward-window): Remove.
12000 (mouse-drag-line): New function.
12001 (mouse-drag-mode-line, mouse-drag-header-line)
12002 (mouse-drag-vertical-line): Call mouse-drag-line.
12003 * window.el (window-at-side-p, windows-at-side): New functions.
12004
12005 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12006
12007 * tar-mode.el (tar-grind-file-mode):
12008 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12009
12010 2011-10-21 Chong Yidong <cyd@gnu.org>
12011
12012 * progmodes/idlwave.el (idlwave-mode):
12013 * progmodes/vera-mode.el (vera-mode):
12014 Use mode-require-final-newline.
12015
12016 2011-10-20 Glenn Morris <rgm@gnu.org>
12017
12018 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12019
12020 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12021
12022 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12023
12024 2011-10-20 Chong Yidong <cyd@gnu.org>
12025
12026 * emulation/cua-base.el (cua-mode):
12027 * mail/footnote.el (footnote-mode):
12028 * mail/mailabbrev.el (mail-abbrevs-mode):
12029 * net/xesam.el (xesam-minor-mode):
12030 * progmodes/bug-reference.el (bug-reference-mode):
12031 * progmodes/cap-words.el (capitalized-words-mode):
12032 * progmodes/compile.el (compilation-minor-mode)
12033 (compilation-shell-minor-mode):
12034 * progmodes/gud.el (gud-tooltip-mode):
12035 * progmodes/hideif.el (hide-ifdef-mode):
12036 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12037 * progmodes/subword.el (subword-mode):
12038 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12039 * progmodes/which-func.el (which-function-mode):
12040 * term/tvi970.el (tvi970-set-keypad-mode):
12041 * term/vt100.el (vt100-wide-mode):
12042 * textmodes/flyspell.el (flyspell-mode):
12043 * textmodes/ispell.el (ispell-minor-mode):
12044 * textmodes/nroff-mode.el (nroff-electric-mode):
12045 * textmodes/paragraphs.el (use-hard-newlines):
12046 * textmodes/refill.el (refill-mode):
12047 * textmodes/reftex.el (reftex-mode):
12048 * textmodes/rst.el (rst-minor-mode):
12049 * textmodes/sgml-mode.el (html-autoview-mode)
12050 (sgml-electric-tag-pair-mode):
12051 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12052 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12053 * emulation/crisp.el (crisp-mode):
12054 * emacs-lisp/eldoc.el (eldoc-mode):
12055 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12056 minor mode behavior.
12057
12058 2011-10-19 Juri Linkov <juri@jurta.org>
12059
12060 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12061 the list of hard-coded chars with escape-glyph face.
12062
12063 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12066
12067 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12068
12069 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12070 running process.
12071
12072 2011-10-19 Glenn Morris <rgm@gnu.org>
12073
12074 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12075 Ignore ignored files. (Bug#9726)
12076
12077 2011-10-19 Chong Yidong <cyd@gnu.org>
12078
12079 Doc fix for minor modes, stating that an omitted argument enables
12080 the mode unconditionally when called from Lisp.
12081
12082 * abbrev.el (abbrev-mode):
12083 * allout.el (allout-mode):
12084 * autoinsert.el (auto-insert-mode):
12085 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12086 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12087 (global-auto-revert-mode):
12088 * battery.el (display-battery-mode):
12089 * composite.el (global-auto-composition-mode)
12090 (auto-composition-mode):
12091 * delsel.el (delete-selection-mode):
12092 * desktop.el (desktop-save-mode):
12093 * dired-x.el (dired-omit-mode):
12094 * dirtrack.el (dirtrack-mode):
12095 * doc-view.el (doc-view-minor-mode):
12096 * double.el (double-mode):
12097 * electric.el (electric-indent-mode, electric-pair-mode):
12098 * emacs-lock.el (emacs-lock-mode):
12099 * epa-hook.el (auto-encryption-mode):
12100 * follow.el (follow-mode):
12101 * font-core.el (font-lock-mode):
12102 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12103 * help.el (temp-buffer-resize-mode):
12104 * hilit-chg.el (highlight-changes-mode)
12105 (highlight-changes-visible-mode):
12106 * hi-lock.el (hi-lock-mode):
12107 * hl-line.el (hl-line-mode, global-hl-line-mode):
12108 * icomplete.el (icomplete-mode):
12109 * ido.el (ido-everywhere):
12110 * image-file.el (auto-image-file-mode):
12111 * image-mode.el (image-minor-mode):
12112 * iswitchb.el (iswitchb-mode):
12113 * jka-cmpr-hook.el (auto-compression-mode):
12114 * linum.el (linum-mode):
12115 * longlines.el (longlines-mode):
12116 * master.el (master-mode):
12117 * mb-depth.el (minibuffer-depth-indicate-mode):
12118 * menu-bar.el (menu-bar-mode):
12119 * minibuf-eldef.el (minibuffer-electric-default-mode):
12120 * mouse-sel.el (mouse-sel-mode):
12121 * msb.el (msb-mode):
12122 * mwheel.el (mouse-wheel-mode):
12123 * outline.el (outline-minor-mode):
12124 * paren.el (show-paren-mode):
12125 * recentf.el (recentf-mode):
12126 * reveal.el (reveal-mode, global-reveal-mode):
12127 * rfn-eshadow.el (file-name-shadow-mode):
12128 * ruler-mode.el (ruler-mode):
12129 * savehist.el (savehist-mode):
12130 * scroll-all.el (scroll-all-mode):
12131 * scroll-bar.el (scroll-bar-mode):
12132 * server.el (server-mode):
12133 * shell.el (shell-dirtrack-mode):
12134 * simple.el (auto-fill-mode, transient-mark-mode)
12135 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12136 (line-number-mode, column-number-mode, size-indication-mode)
12137 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12138 * strokes.el (strokes-mode):
12139 * time.el (display-time-mode):
12140 * t-mouse.el (gpm-mouse-mode):
12141 * tool-bar.el (tool-bar-mode):
12142 * tooltip.el (tooltip-mode):
12143 * type-break.el (type-break-mode-line-message-mode)
12144 (type-break-query-mode):
12145 * view.el (view-mode):
12146 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12147 (global-whitespace-mode, global-whitespace-newline-mode):
12148 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12149
12150 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12151 Fix autogenerated docstring.
12152
12153 2011-10-19 Juri Linkov <juri@jurta.org>
12154
12155 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12156 by checking environment variables "DESKTOP_SESSION" and
12157 "XDG_CURRENT_DESKTOP". (Bug#9779)
12158
12159 2011-10-19 Juri Linkov <juri@jurta.org>
12160
12161 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12162 (browse-url-chromium-program, browse-url-chromium-arguments):
12163 New defcustoms.
12164 (browse-url-default-browser): Check for `browse-url-chromium' and
12165 call `browse-url-chromium-program'.
12166 (browse-url-chromium): New command. (Bug#9779)
12167
12168 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12169
12170 * facemenu.el (list-colors-duplicates): On Windows, detect more
12171 duplicates by assuming that only colors matching "^System" are
12172 special "system colors". (Bug#9722)
12173
12174 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12175
12176 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12177 to distinguish the author from the committer.
12178
12179 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12180
12181 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12182
12183 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12184
12185 * international/mule.el (sgml-html-meta-auto-coding-function):
12186 Add support for detecting encoding in HTML5 specified only as
12187 <meta charset="UTF-8">. Implementation just makes http-equiv and
12188 content-type parts from HTML4 encoding string optional. (Bug#9716)
12189
12190 2011-10-18 Glenn Morris <rgm@gnu.org>
12191
12192 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12193
12194 2011-10-18 Chong Yidong <cyd@gnu.org>
12195
12196 * faces.el (cursor): Doc fix.
12197
12198 2011-10-17 Chong Yidong <cyd@gnu.org>
12199
12200 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12201
12202 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12203
12204 * dirtrack.el (dirtrack): Support shell buffers with path
12205 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12206
12207 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12208
12209 * json.el: Bump version to 1.3 and note change in History.
12210 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12211
12212 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12213
12214 * comint.el (comint-insert-input, comint-send-input)
12215 (comint-get-old-input-default, comint-backward-matching-input)
12216 (comint-next-prompt): Use nil instead of `input' for field property of
12217 past user input (bug#114).
12218
12219 * minibuffer.el (completion--replace): Inherit surrounding properties
12220 (bug#114).
12221 (minibuffer-complete-and-exit): Use it.
12222
12223 * comint.el (comint--table-subvert): Quote the all-completions output
12224 (bug#9160).
12225
12226 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12227
12228 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12229
12230 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12231 window on right of selected. (Bug#9350) Reword other window
12232 entries and separate them from frame entries.
12233
12234 2011-10-15 Glenn Morris <rgm@gnu.org>
12235
12236 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12237 Doc fixes.
12238
12239 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12240
12241 * net/network-stream.el (network-stream-open-starttls):
12242 Improve detection of failure due to lack of TLS support.
12243
12244 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12245 putting the input text in front and in bold.
12246
12247 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12250
12251 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12252 empty buffer.
12253
12254 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12255 unread-command-events rather than pushing yet-another event.
12256
12257 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12258
12259 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12260 the explanation of the possible choices. Make the options passed
12261 to completing-read shorter.
12262
12263 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12264
12265 * textmodes/flyspell.el (flyspell-large-region): Make sure
12266 extended character mode is used if defined (Bug#1339).
12267
12268 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12269
12270 * simple.el (what-cursor-position): Fix the display of the
12271 character info for LRE, LRO, RLE, and RLO characters by appending
12272 an invisible PDF.
12273
12274 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12275
12276 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12277 even in case of error; add debug spec; simplify data flow.
12278 (with-timeout-handler): Remove.
12279
12280 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12281
12282 Fix Bug#6019, Bug#9315.
12283
12284 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12285 complete `buffer-file-name', the local file name part could look
12286 remotely (for example on VMS).
12287
12288 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12289 `tramp-run-real-handler'.
12290 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12291 already quoted by '"'.
12292
12293 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12294 Let `file-name-handler-alist' be nil, the local file name part
12295 could look remotely (for example on VMS).
12296
12297 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12300 from here...
12301 (flyspell-post-command-hook): ...to here.
12302
12303 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12304
12305 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12306 if not needed.
12307 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12308 using completion. Protect against "slow" callers.
12309 Remove the "message hack".
12310
12311 2011-10-11 Juri Linkov <juri@jurta.org>
12312
12313 * isearch.el (isearch-lazy-highlight-word): New variable.
12314 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12315 Use it. (Bug#9727)
12316
12317 2011-10-11 Glenn Morris <rgm@gnu.org>
12318
12319 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12320 like f90-previous-statement does.
12321
12322 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12323
12324 * eshell/eshell.el (eshell-command): History should be saved
12325 only in interactive use, to avoid error.
12326
12327 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12328
12329 * minibuffer.el (completion-file-name-table): Fix last change,
12330 i.e. ignore normal errors but not the other ones.
12331
12332 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12333
12334 * window.el (special-display-buffer-names)
12335 (special-display-regexps): Remove some remnants of earlier
12336 changes from doc-strings.
12337 (quit-windows-on): New function.
12338
12339 * vc/vc.el (vc-revert, vc-rollback):
12340 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12341 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12342 (Bug#6183) (Bug#7074) (Bug#7447)
12343
12344 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12345
12346 * window.el (frame-auto-hide-function): Add version tag.
12347 (Bug#9699)
12348
12349 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12350
12351 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12352 condition.
12353
12354 2011-10-09 Leo Liu <sdl.web@gmail.com>
12355
12356 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12357 (Bug#9701)
12358
12359 2011-10-08 Glenn Morris <rgm@gnu.org>
12360
12361 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12362 before the first code statement zero indent. (Bug#9690)
12363
12364 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12365
12366 * simple.el (count-words-region): Always count in the region.
12367 Report the number of lines and characters too.
12368 (count-words): New command, which counts in the buffer if the
12369 region is inactive, as count-words-region used to.
12370 (count-words--message): New function. Handle plurals.
12371 (count-lines-region): Make it an alias for count-words-region.
12372
12373 * bindings.el (esc-map): Replace count-lines-region with
12374 count-words-region.
12375
12376 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12377
12378 * window.el (window--delete): Delete dedicated frame
12379 unconditionally when argument KILL is non-nil. (Bug#9699)
12380 (switch-to-buffer): Fix doc-string typo.
12381
12382 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12383
12384 * eshell/eshell.el (eshell-command): Avoid using hooks.
12385
12386 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12387
12388 * bindings.el ([M-left],[M-right]): Bind to left-word and
12389 right-word respectively.
12390
12391 2011-10-07 Glenn Morris <rgm@gnu.org>
12392
12393 * cus-start.el (debug-on-quit): Fix custom type.
12394
12395 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12396
12397 * subr.el (define-key-after): Clarify that the function is not
12398 useful for non-menu keymaps.
12399
12400 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12401
12402 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12403
12404 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12405 in current minibuffer (Fix bug with recursive minibuffers).
12406
12407 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12408
12409 * progmodes/gdb-mi.el (gdb): Doc fix.
12410
12411 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12412
12413 * window.el (frame-auto-hide-function): New option replacing
12414 frame-auto-delete. Suggested by Stefan Monnier.
12415 (window--delete): Call frame-auto-hide-function instead of
12416 investigating frame-auto-delete.
12417 (window-point-1, set-window-point-1): New functions.
12418 (window-in-direction, record-window-buffer, window-state-get-1)
12419 (display-buffer-record-window): Use window-point-1 instead of
12420 window-point.
12421 (set-window-buffer-start-and-point): Use set-window-point-1.
12422
12423 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12426
12427 2011-10-05 Glenn Morris <rgm@gnu.org>
12428
12429 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12430 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12431
12432 2011-10-05 Leo Liu <sdl.web@gmail.com>
12433
12434 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12435 works with buffer object.
12436
12437 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12438
12439 * mpc.el (mpc-tool-bar-map): Add labels.
12440
12441 2011-10-04 Glenn Morris <rgm@gnu.org>
12442
12443 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12444
12445 2011-10-04 Martin Rudalics <rudalics@gmx.at>
12446
12447 * window.el (window--delete): New function.
12448 (frame-auto-delete): Resuscitate option.
12449 (bury-buffer, replace-buffer-in-windows)
12450 (quit-window): Rewrite using window--delete.
12451 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12452 Pass display-buffer-mark-dedicated to window--display-buffer-2
12453 (Bug#9639).
12454
12455 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12456
12457 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12458 returns a list (bug#9554). Add remote file name completion.
12459 * comint.el (comint--table-subvert): Curry and get quote&unquote
12460 functions as arguments.
12461 (comint--complete-file-name-data): Adjust call accordingly.
12462 * pcomplete.el (pcomplete--table-subvert): Remove.
12463 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12464
12465 * minibuffer.el (completion-table-case-fold): Use currying.
12466 (completion--styles-type, completion--cycling-threshold-type):
12467 New constants.
12468 (completion-styles, completion-category-overrides)
12469 (completion-cycle-threshold): Use them.
12470 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12471 completion-table-case-fold.
12472
12473 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
12474
12475 * minibuffer.el (completion-category-overrides): Fix type of styles
12476 and add more user friendly tags (bug#9660).
12477
12478 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12479
12480 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12481 (mule-input-method-string): New widget.
12482 (default-input-method, language-info-custom-alist): Use it.
12483
12484 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12485
12486 * pcomplete.el: Require comint.
12487 (pcomplete--common-suffix): Remove.
12488 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12489 (pcomplete--table-subvert): Sync with comint--table-subvert.
12490 (pcomplete--entries): Use comint-completion-file-name-table.
12491 * comint.el (comint-unquote-filename): Simplify.
12492 (comint-completion-file-name-table): New function (bug#9616).
12493 (comint--complete-file-name-data): Use it.
12494
12495 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12496 (pcmpl-gnu-tar-buffer): Remove.
12497 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12498 around. Make sure pcomplete-suffix-list is only changed temporarily.
12499 Don't look inside the tar's file if it's too large.
12500
12501 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12502
12503 * cus-edit.el (custom-mode-map):
12504 * epa.el (epa-key-list-mode-map):
12505 * man.el (Man-mode-map):
12506 * startup.el (splash-screen-keymap):
12507 * simple.el (special-mode-map): Use scroll-up-command and
12508 scroll-down-command.
12509
12510 * progmodes/idlw-help.el (idlwave-help-mode-map):
12511 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12512 * net/newst-plainview.el (newsticker-mode-map):
12513 * emulation/ws-mode.el (wordstar-mode-map):
12514 * emulation/vi.el (vi-com-map):
12515 * calc/calc-graph.el (calc-graph-show-dumb):
12516 * term/sun.el (terminal-init-sun):
12517 * term/ns-win.el (global-map):
12518 * progmodes/grep.el (grep-mode-map):
12519 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12520 * mail/rmail.el (rmail-mode-map):
12521 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12522
12523 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12524 custom-safe-themes as special.
12525
12526 2011-10-01 Julien Danjou <julien@danjou.info>
12527
12528 * notifications.el (notifications-notify): Fix docstring.
12529
12530 2011-10-01 Per Starbäck <per@starback.se>
12531
12532 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12533
12534 2011-09-30 Martin Rudalics <rudalics@gmx.at>
12535
12536 * startup.el (command-line-1): Fix last fix by inserting
12537 initial-scratch-message into *scratch* before displaying it.
12538 (Bug#9605) and (Bug#9636)
12539
12540 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12541
12542 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12543 window is hscrolled, move by logical lines. (Bug#9607)
12544 (line-move-visual): Update the doc string to the above effect.
12545
12546 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12547
12548 * window.el (display-buffer-record-window): When WINDOW is the
12549 selected window use `point' instead of `window-point'. (Bug#9626)
12550
12551 * startup.el (command-line-1): Use insert-before-markers when
12552 inserting initial-scratch-message. (Bug#9605)
12553
12554 * help.el (help-window): Remove variable.
12555
12556 2011-09-29 Glenn Morris <rgm@gnu.org>
12557
12558 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12559
12560 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12561
12562 * descr-text.el (describe-char-categories): Accept category
12563 descriptions more than one line long.
12564
12565 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12566
12567 * simple.el (delete-trailing-whitespace): Fix last change.
12568
12569 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12570 Don't confuse "y => 3" as the beginning of a `y' operation.
12571
12572 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12573 object has more than 4 slots (bug#9613).
12574
12575 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12576
12577 * subr.el (with-output-to-temp-buffer):
12578 * net/quickurl.el (quickurl, quickurl-browse-url):
12579 Fix typos in docstrings.
12580
12581 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12582
12583 * minibuffer.el (completion-styles)
12584 (completion-category-overrides): Cross reference each other in doc
12585 strings.
12586
12587 2011-09-27 Glenn Morris <rgm@gnu.org>
12588
12589 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12590 to split-string. (Bug#9606)
12591
12592 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12593
12594 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12595 (bug#9615).
12596
12597 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12598
12599 * emacs-lisp/package.el (list-packages): Fix echo area message.
12600
12601 2011-09-27 Leo Liu <sdl.web@gmail.com>
12602
12603 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12604
12605 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12606
12607 * net/dbus.el (dbus-unregister-object): Don't release services for
12608 registered signals. (Bug#9581)
12609
12610 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12611
12612 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12613 function that picks between cfengine 2 and 3 support
12614 automatically. Update docs accordingly.
12615
12616 2011-09-22 Kenichi Handa <handa@m17n.org>
12617
12618 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12619 ZERO.
12620 (indian-itrans-v5-table-for-tamil): New variable.
12621 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12622
12623 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12624
12625 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12626 that's true if the current command involved collapsing of text.
12627 It's reset to false at the beginning of the next command.
12628 (allout-post-command-business): Move the cursor to the beginning
12629 of entry if the cursor is hidden and collapsing activity just
12630 happened.
12631
12632 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12633
12634 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12635 tracking (Bug#9541).
12636
12637 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12638
12639 * net/newst-reader.el (newsticker-html-renderer)
12640 (newsticker-show-news): Automatically load html rendering package
12641 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12642 because w3m-fill-column is let-bound" and the error "Symbol's value
12643 as variable is void: w3m-fill-column".
12644
12645 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12646
12647 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12648 Release services only if they are defined. (Bug#9581)
12649
12650 2011-09-23 Richard Stallman <rms@gnu.org>
12651
12652 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12653 distinguish start of paragraph from start of its text.
12654
12655 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12656
12657 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12658 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12659 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12660
12661 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12662
12663 * international/mule-diag.el (mule-diag): Insert a newline after
12664 each fontset description.
12665
12666 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * simple.el (delete-trailing-whitespace):
12669 Document last change; simplify.
12670
12671 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12672
12673 * simple.el (delete-trailing-whitespace): Also delete
12674 extra newlines at the end of the buffer.
12675
12676 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12677 (picture-newline): Use forward-line so as to ignore fields.
12678
12679 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12680
12681 * subr.el (with-wrapper-hook): Fix edebug spec.
12682
12683 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12684
12685 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12686 (bug#4538).
12687
12688 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12689
12690 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12691 Fix nasty bug using wrong cached values.
12692
12693 2011-09-23 Alan Mackenzie <acm@muc.de>
12694
12695 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12696
12697 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12698
12699 * window.el (pop-to-buffer): Ensure right window is selected if we
12700 chose another frame.
12701
12702 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12703
12704 * simple.el (what-cursor-position): Use get-char-property-change
12705 and next-single-char-property-change, to be able to show display
12706 properties that come from overlays as well as text properties.
12707
12708 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12709
12710 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12711
12712 * cmuscheme.el (run-scheme, switch-to-scheme):
12713 * cus-edit.el (customize-group, custom-buffer-create)
12714 (customize-browse):
12715 * info.el (info):
12716 * shell.el (shell):
12717 * mail/sendmail.el (mail):
12718 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12719
12720 2011-09-22 Richard Stallman <rms@gnu.org>
12721
12722 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12723 move back only to line beg, don't move back over blank lines.
12724
12725 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12726
12727 * files.el (copy-directory): Set directory attributes only in case
12728 they could be retrieved from the source directory. (Bug#9565)
12729
12730 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12731
12732 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12733 (hs-find-block-beginning, hs-hide-level-recursive):
12734 Ignore strings as well as comments. (Bug#9502)
12735
12736 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12737
12738 * progmodes/sql.el (sql-comint-postgres):
12739 Convert port number to a string. (Bug#9566)
12740
12741 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12742
12743 * window.el (quit-window): Undedicate window when switching to
12744 previous buffer. Reported by Thierry Volpiatto
12745 <thierry.volpiatto@gmail.com>.
12746 (special-display-popup-frame): When popping up a new frame reset
12747 its previous buffers to nil. Simplify code.
12748
12749 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12750
12751 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12752 and process filter, as done also in `shell-command'.
12753
12754 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12755
12756 * window.el (set-window-buffer-start-and-point):
12757 Call set-window-start with NOFORCE argument t.
12758 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12759 (quit-window): Reword doc-string. Handle new format of
12760 quit-restore parameter. Don't delete window if it has a
12761 previous buffer we can show instead of the present one.
12762 (display-buffer-record-window): Rewrite using a new format for
12763 the quit-restore window parameter
12764 (special-display-popup-frame, display-buffer-same-window)
12765 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12766 (display-buffer-pop-up-window, display-buffer-use-some-window):
12767 Adapt symbol passed to display-buffer-record-window.
12768 * help.el (help-window-setup): Handle new format of quit-restore
12769 parameter.
12770
12771 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12772
12773 * faces.el (face-list): Fix docstring (bug#9564).
12774
12775 * window.el (display-buffer--action-function-custom-type):
12776 Don't include internal functions in the Custom interface.
12777
12778 2011-09-20 Juri Linkov <juri@jurta.org>
12779
12780 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12781 (Info-forward-node, Info-backward-node, Info-next-preorder)
12782 (Info-last-preorder): Use it. (Bug#9528)
12783
12784 2011-09-20 Juri Linkov <juri@jurta.org>
12785
12786 * info.el (Info-last-preorder): Visit last menu item only when
12787 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12788
12789 2011-09-20 Julien Danjou <julien@danjou.info>
12790
12791 * password-cache.el (password-cache-remove): Remove entries even if the
12792 value is nil, so that password with a nil value (negative caching) is
12793 possible to invalidate.
12794
12795 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12796
12797 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12798 all whitespace around breakpoint. (Bug#9553)
12799 (f90-find-breakpoint): Only break at whitespace inside a comment.
12800
12801 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12802
12803 * minibuffer.el (completion-file-name-table): Keep track of errors.
12804 (completion-table-with-predicate): Handle the case where pred1 is nil.
12805 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12806
12807 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12808
12809 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12810 (debugger-return-value): Signal an error if the debugging context does
12811 not await any return value.
12812
12813 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12814 * image-mode.el (image-toggle-display-text)
12815 (image-toggle-display-image): Stay away from evil `intangible'.
12816
12817 2011-09-19 Leo Liu <sdl.web@gmail.com>
12818
12819 * replace.el (occur-revert-arguments): Make it permanent-local.
12820 (occur-mode): Don't call font-lock-defontify.
12821
12822 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
12823
12824 * net/ldap.el (ldap-search-internal): Don't push empty search
12825 result (Bug#9508).
12826
12827 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12828
12829 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12830
12831 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
12832
12833 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12834 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12835
12836 2011-09-18 Juri Linkov <juri@jurta.org>
12837
12838 * buff-menu.el (Buffer-menu-mode-map):
12839 * dired.el (dired-mode-map):
12840 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12841 (lisp-interaction-mode-map):
12842 * emacs-lisp/package.el (package-menu-mode-map):
12843 * epa.el (epa-key-list-mode-map):
12844 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12845 (menu-bar-options-menu):
12846 * outline.el (outline-mode-menu-bar-map):
12847 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12848 * vc/vc-dir.el (vc-dir-menu-map):
12849 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12850 Capitalize non-function content words in menu item strings.
12851
12852 * dired.el (dired-mode-map): Add menu item for
12853 `image-dired-dired-toggle-marked-thumbs'.
12854
12855 2011-09-18 Juri Linkov <juri@jurta.org>
12856
12857 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12858 to `isearch-case-fold-search' and restore its original value
12859 after the `isearch-mode' call.
12860
12861 2011-09-18 Juri Linkov <juri@jurta.org>
12862
12863 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12864 because `zgrep' returns 1 for successful matches (bug#9226).
12865
12866 2011-09-18 Juri Linkov <juri@jurta.org>
12867
12868 * info.el (Info-extract-menu-node-name): Check the second match
12869 for empty string (second test-case of bug#9528).
12870 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12871 intermediate nodes to the history (first test-case of bug#9528).
12872
12873 2011-09-18 Juri Linkov <juri@jurta.org>
12874
12875 * info.el (Info-mode-syntax-table): New variable.
12876 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12877
12878 2011-09-18 Juri Linkov <juri@jurta.org>
12879
12880 * info.el (Info-file-supports-index-cookies):
12881 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12882 outputs one more line for long file names (bug#4142).
12883
12884 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12885
12886 * newcomment.el (comment-normalize-vars): If prompting for
12887 comment-start, set comment-start-skip too (Bug#8424).
12888
12889 2011-09-18 Johan Bockgård <bojohan@gnu.org>
12890
12891 * icomplete.el: Fix previous fix of Bug#5849.
12892 (icomplete-mode): Don't set completion-show-inline-help.
12893 (icomplete-minibuffer-setup): Set completion-show-inline-help
12894 locally during icompletion.
12895
12896 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12897
12898 * woman.el (woman2-process-escapes): Don't delete unrecognized
12899 escapes (Bug#7843).
12900
12901 * files.el (inhibit-first-line-modes-regexps): Add image files.
12902 (hack-local-variables-prop-line): Return nil for malformed
12903 prop-lines (Bug#9044).
12904
12905 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
12906
12907 * net/tramp.el (top): Don't require 'shell.
12908 (tramp-methods): Fix docstring.
12909 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12910 Return complete remote file name. Handle "smb" case.
12911 Use `tramp-tmpdir', if defined for the respective method.
12912 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12913
12914 * net/tramp-compat.el (top): Require 'shell.
12915
12916 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12917 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12918 `tramp-current-host'.
12919 (tramp-get-remote-tmpdir): Remove.
12920
12921 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12922 `tramp-tmpdir' entries.
12923 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12924 (tramp-smb-handle-file-attributes): Ignore errors.
12925 (tramp-smb-wait-for-output): Check also for process end.
12926
12927 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12928
12929 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12930 when sending QUIT (bug#9312).
12931
12932 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
12933
12934 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12935 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12936 occur-mode-display-occurrence.
12937 (occur-edit-mode): Add usage message.
12938 (occur-cease-edit): New command.
12939 (occur-after-change-function): Use text properties to find the
12940 position of the prefix text.
12941 (occur-engine): Set stickiness of prefix text properties.
12942
12943 2011-09-17 Glenn Morris <rgm@gnu.org>
12944
12945 * progmodes/etags.el (complete-tag):
12946 Fix call to completion-in-region. (Bug#9526)
12947
12948 2011-09-17 Juri Linkov <juri@jurta.org>
12949
12950 * textmodes/ispell.el (ispell-word): Add to the error message
12951 the word, ispell program name and current dictionary (bug#9121).
12952 (ispell-tex-arg-end): Capitalize "error" in the error message.
12953
12954 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12955
12956 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12957 check. (Bug#4251)
12958
12959 2011-09-17 Juri Linkov <juri@jurta.org>
12960
12961 * window.el (window-safe-min-height, window-safe-min-width):
12962 Fix typos (followup to bug#9522).
12963
12964 2011-09-17 Sven Joachim <svenjoac@gmx.de>
12965
12966 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12967
12968 2011-09-16 Eli Zaretskii <eliz@gnu.org>
12969
12970 * simple.el (line-move): If goal-column is set, move by logical
12971 lines, not by display lines. (Bug#971)
12972 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12973 to reflect the above change.
12974
12975 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * image.el (imagemagick-register-types): Use regexp-opt.
12978
12979 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12980
12981 * window.el (display-buffer-base-action): Rename from
12982 display-buffer-default-action. Make default value empty.
12983 (display-buffer-overriding-action): Convert to defvar.
12984 (display-buffer-fallback-action): New var.
12985
12986 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12987
12988 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12989 declaration.
12990 (package--add-to-archive-contents): If there is a duplicate entry
12991 with an older version, remove it.
12992 (package-menu-mark-delete, package-menu-mark-install)
12993 (package-menu-mark-unmark): Make unused args optional.
12994 (package-menu-mark-obsolete-for-deletion):
12995 Use package-menu-get-status instead of a regexp search.
12996 (package-menu-get-status): Use tabulated-list-entry.
12997 (package-menu-mark-upgrades): New command.
12998 (package-menu-mode-map): Bind it to U. Add it to menu bar.
12999 (package-menu-execute): Do installation before deletion.
13000 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13001 instead of checking major-mode.
13002 (package-menu--find-upgrades): New function.
13003
13004 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13005
13006 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13007 passwords in the log buffer.
13008 (smtpmail-process-filter): Update the process marker so that the
13009 "broken by peer" status message is inserted in the right place.
13010
13011 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13014 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13015 bibtex-completion-at-point-function.
13016 (bibtex-completion-at-point-function): Use them.
13017
13018 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13019
13020 * mpc.el (mpc-constraints-tag-lookup): New function.
13021 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13022 also to browser "album|playlist".
13023
13024 2011-09-14 Juri Linkov <juri@jurta.org>
13025
13026 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13027 (isearch-edit-string): Use length of `isearch-string' when
13028 `isearch-fail-pos' returns nil.
13029 (isearch-message): Remove duplicate code and call
13030 `isearch-fail-pos' with arg `t'.
13031
13032 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13033
13034 * replace.el (occur-mode-goto-occurrence): Don't force using other
13035 window (Bug#9499).
13036
13037 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13038
13039 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13040
13041 * window.el (display-buffer-window): Remove.
13042 (display-buffer-record-window): Use help-setup window parameter
13043 instead of variable display-buffer-window.
13044 (display-buffer-function, special-display-buffer-names)
13045 (special-display-function): Mention help-setup parameter instead
13046 of display-buffer-window in doc-string.
13047 * help.el (help-window-setup): New argument help-window.
13048 Use help-window-setup parameter instead of display-buffer-window.
13049 Reword some messages.
13050 (with-help-window): Pass window used for displaying the buffer
13051 to help-window-setup. Don't set display-buffer-window.
13052
13053 2011-09-13 Glenn Morris <rgm@gnu.org>
13054
13055 * emacs-lisp/debug.el (debugger-make-xrefs):
13056 Preserve point. (Bug#9462)
13057
13058 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13059
13060 * window.el (window-deletable-p): Use next-frame.
13061
13062 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13063
13064 * window.el (window-auto-delete): Remove.
13065 (window-deletable-p): Remove argument FORCE. Don't deal with
13066 dedication and previous buffers.
13067 (switch-to-prev-buffer): Don't delete window.
13068 (delete-windows-on): Delete a window's frame if and only if the
13069 window is dedicated.
13070 (replace-buffer-in-windows): Delete buffer's window or frame if
13071 and only if window is dedicated.
13072 (quit-window): Handle quit-restore as before last change.
13073 (bury-buffer): Delete window only if window-deletable-p returns t.
13074
13075 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13076
13077 * window.el (window-deletable-p): Never delete the last frame on a
13078 given terminal.
13079
13080 2011-09-13 Glenn Morris <rgm@gnu.org>
13081
13082 * help.el (describe-key-briefly): Copy previous standard-output change.
13083
13084 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13085
13086 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13087
13088 2011-09-13 Glenn Morris <rgm@gnu.org>
13089
13090 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13091 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13092
13093 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13094
13095 * dired-aux.el (dired-mark-read-string): Don't return default
13096 value on empty input (Bug#9361).
13097 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13098 Omit initial minibuffer contents.
13099 (dired-do-chmod): Signal an error on empty input.
13100 (dired-mark-read-string): Don't return default on empty input.
13101
13102 * files.el (file-modes-symbolic-to-number): Doc fix.
13103
13104 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13105
13106 * international/mule-cmds.el (ucs-completions): Remove.
13107 (read-char-by-name): Use complete-with-action instead; add metadata.
13108
13109 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13110
13111 * window.el (display-buffer--action-function-custom-type)
13112 (display-buffer--action-custom-type): New vars.
13113 (display-buffer-alist, display-buffer-default-action)
13114 (display-buffer-overriding-action): Add defcustom types.
13115
13116 * frame.el (delete-other-frames): Doc fix (Bug#276).
13117
13118 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13119
13120 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13121
13122 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13123
13124 Change modes that used same-window-* vars to use switch-to-buffer.
13125
13126 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13127 Use switch-to-buffer.
13128
13129 * cus-edit.el (customize-group, custom-buffer-create)
13130 (customize-browse, custom-buffer-create-other-window):
13131 Use switch-to-buffer or switch-to-buffer-other-window.
13132
13133 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13134 (Info-prev, Info-up, Info-speedbar-goto-node)
13135 (info-display-manual): Use switch-to-buffer.
13136 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13137
13138 * mail/sendmail.el (mail): Use switch-to-buffer.
13139 (mail-recover): Use switch-to-buffer-other-window.
13140
13141 * cmuscheme.el (run-scheme, switch-to-scheme):
13142 * ielm.el (ielm):
13143 * shell.el (shell):
13144 * net/rlogin.el (rlogin):
13145 * net/telnet.el (telnet, rsh):
13146 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13147
13148 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13149
13150 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13151
13152 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13153
13154 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13155 so don't mention it (bug#9301).
13156 (dired-sort-toggle-or-edit): Clarify string further.
13157
13158 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13159 match `x', `w32' and `ns', like the manual says (bug#9029).
13160
13161 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13162 (process-kill-buffer-query-function): Mention the buffer name in
13163 the query.
13164
13165 * image-mode.el (image-next-line): The line parameter is mandatory
13166 (bug#9258).
13167
13168 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13169 which can be useful (bug#9301).
13170
13171 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13172
13173 * subr.el (match-string): Mention that the current buffer should
13174 be the same as the search was done in (bug#9282).
13175
13176 * facemenu.el: Disable the remove-* commands if the mark isn't
13177 active (bug#9162).
13178
13179 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13180
13181 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13182 of display-buffer.
13183 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13184
13185 * replace.el (occur-mode-goto-occurrence)
13186 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13187 and display-buffer.
13188
13189 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13190 display-buffer.
13191
13192 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13193 special-display and same-window variables.
13194 (mail-other-window): Use switch-to-buffer-other-window.
13195 (mail-other-frame): USe switch-to-buffer-other-frame.
13196
13197 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13198 Use display-buffer-other-frame.
13199 (gdb-display-gdb-buffer): Use pop-to-buffer.
13200
13201 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13202
13203 * progmodes/python.el: Don't set same-window-buffer-names.
13204
13205 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13206
13207 * window.el (display-buffer-alist): Add *Python*.
13208
13209 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13210
13211 * window.el (display-buffer-alist): Add entry for buffers
13212 previously handled same-window-*.
13213 (display-buffer-alist, display-buffer-default-action)
13214 (display-buffer-overriding-action): Mark as risky.
13215 (display-buffer-alist): Document action function changes.
13216 (display-buffer--same-window-action)
13217 (display-buffer--other-frame-action): New variables.
13218 (switch-to-buffer, display-buffer-other-frame): Use them.
13219 (display-buffer): Rename reuse-frame entry to reusable-frames.
13220 (display-buffer-reuse-selected-window): Function deleted.
13221 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13222 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13223 (display-buffer-special): New function.
13224 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13225 display-buffer-reuse-or-pop-window. Split off special-display
13226 part into display-buffer-special.
13227 (display-buffer-use-some-window): Don't perform any special
13228 pop-up-frames handling.
13229 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13230 (display-buffer--maybe-same-window): Rename from
13231 display-buffer-maybe-same-window.
13232
13233 * info.el: Don't set same-window-regexps.
13234 (info-setup): New function.
13235 (info-other-window, info): Call it.
13236
13237 * cus-edit.el: Don't set same-window-regexps.
13238 (customize-group): New argument.
13239 (customize-group-other-window): Use it.
13240 (customize-face, customize-face-other-window): Likewise.
13241 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13242
13243 * net/rlogin.el:
13244 * net/telnet.el:
13245 * progmodes/gud.el: Don't set same-window-regexps.
13246
13247 * cmuscheme.el:
13248 * ielm.el:
13249 * shell.el:
13250 * mail/sendmail.el:
13251 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13252
13253 2011-09-10 Juri Linkov <juri@jurta.org>
13254
13255 * isearch.el (isearch-edit-string): Remove obsolete mention of
13256 `C-w' (`isearch-yank-word-or-char') from docstring.
13257 (isearch-query-replace): Fix typo in docstring (bug#9466).
13258
13259 2011-09-10 Juri Linkov <juri@jurta.org>
13260
13261 * paren.el (show-paren-function): Don't show escaped parens.
13262 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13263
13264 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13265
13266 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13267 (mm-default-file-encoding): Remove autoload forms, they are
13268 replaced with autoload cookies in mml.el and mm-encode.el.
13269 (mail-add-attachment): New command.
13270 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13271 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13272 the doc string.
13273 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13274
13275 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13276
13277 * simple.el (count-words-region): Use buffer if there's no region
13278 (bug#9429).
13279
13280 2011-09-09 Juri Linkov <juri@jurta.org>
13281
13282 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13283 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13284 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13285
13286 2011-09-09 Alan Mackenzie <acm@muc.de>
13287
13288 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13289 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13290
13291 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13292
13293 Fix for Savannah bug#9392.
13294 * simple.el (mail-encode-mml): New defvar.
13295
13296 * mail/rmail.el (mail-encode-mml): Add a defvar.
13297 (rmail-enable-mime-composing): Default to t.
13298 (rmail-forward): Use MIME method of forwarding only if both
13299 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13300 Set mail-encode-mml non-nil if the MIME method was used.
13301
13302 * mail/sendmail.el (mml-to-mime): Add autoload form.
13303 (mail-encode-mml): Add a defvar.
13304 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13305 to nil.
13306 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13307 message through mml-to-mime, and reset mail-encode-mml to nil.
13308
13309 2011-09-09 Glenn Morris <rgm@gnu.org>
13310
13311 * woman.el (woman-if-body): When processing an .el block,
13312 do not delete the next .el block as well. (Bug#9447)
13313 (woman-special-characters): Add oq, cq, and hy characters.
13314
13315 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13316
13317 * window.el (window-deletable-p): Make sure window is live before
13318 invoking window-prev-buffers.
13319
13320 2011-09-08 Leo Liu <sdl.web@gmail.com>
13321
13322 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13323
13324 2011-09-08 Juri Linkov <juri@jurta.org>
13325
13326 * progmodes/compile.el (compilation-environment): Make it
13327 a defcustom (bug#8340).
13328
13329 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13330
13331 * window.el (frame-auto-delete): Rename to window-auto-delete.
13332 Make it control auto-deletion of windows and/or frames.
13333 (window-deletable-p): New argument FORCE. Rewrite conditions
13334 for deleting window/frame. (Bug#9419)
13335 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13336 Rewrite handling of case when window/frame can be deleted.
13337 (delete-windows-on): Call window-deletable-p with new FORCE
13338 argument t. (Bug#9456)
13339
13340 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13341
13342 * help-mode.el (help-mode): Restore autoload.
13343
13344 2011-09-07 Juri Linkov <juri@jurta.org>
13345
13346 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13347 `compilation-environment'. Set buffer-local
13348 `compilation-environment' to `thisenv' later after (funcall mode).
13349 (Bug#8340)
13350
13351 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13352 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13353 instead of replacing its value. (Bug#8340)
13354
13355 2011-09-07 Juri Linkov <juri@jurta.org>
13356
13357 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13358 based on text properties put by `grep-filter' instead of matching
13359 escape sequences.
13360 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13361 to the value of `grep-error-screen-columns' (bug#9438).
13362
13363 2011-09-07 Juri Linkov <juri@jurta.org>
13364
13365 * simple.el (next-error-highlight, next-error-highlight-no-select):
13366 Doc fix (bug#9432).
13367
13368 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13369
13370 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13371 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13372
13373 2011-09-07 Leo Liu <sdl.web@gmail.com>
13374
13375 * net/rcirc.el (rcirc-mode): Conditionally initialize
13376 rcirc-input-ring.
13377
13378 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13379
13380 * emacs-lisp/find-func.el (find-function-C-source): Only set
13381 find-function-C-source-directory after checking that we found a source
13382 file there (bug#9440).
13383
13384 2011-09-06 Alan Mackenzie <acm@muc.de>
13385
13386 * isearch.el (isearch-other-meta-char): Wherever a key list is
13387 unread, "unread" the prefix arg, too. This fixes bug #8901.
13388
13389 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13390
13391 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13392
13393 2011-09-05 Juri Linkov <juri@jurta.org>
13394
13395 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13396
13397 2011-09-05 Juri Linkov <juri@jurta.org>
13398
13399 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13400 keeping point where processing of grep matches begins, and
13401 continue to delete remaining escape sequences from the same point.
13402 (grep-filter): Make leading zero optional in "0?1;31m" because
13403 git-grep emits "\033[1;31m" escape sequences unlike expected
13404 "\033[01;31m" as GNU Grep does (bug#9408).
13405 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13406
13407 2011-09-05 Juri Linkov <juri@jurta.org>
13408
13409 * subr.el (y-or-n-p): Capitalize "yes".
13410
13411 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13412
13413 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13414 `tramp-cache-unload-hook' where appropriate.
13415 (tramp-methods): Rename `tramp-remote-sh' to
13416 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13417 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13418
13419 * net/tramp-sh.el (top): Don't require 'shell.
13420 (tramp-methods): Add `tramp-remote-shell' and
13421 `tramp-remote-shell-args' entries.
13422 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13423 (tramp-sh-handle-shell-command): Remove.
13424 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13425 Use `tramp-remote-shell'.
13426
13427 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13428
13429 * mail/sendmail.el (sendmail-query-once-function): Delete.
13430 (sendmail-query-once): Save directly to send-mail-function.
13431 Update message-send-mail-function too.
13432
13433 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13434
13435 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13436
13437 * progmodes/python.el (python-mode-map): Use correct function to
13438 start python interpreter from menu-bar (as reported by Geert
13439 Kloosterman).
13440 (inferior-python-mode-map): Fix typo.
13441 (python-shell-map): Remove.
13442
13443 2011-09-03 Deniz Dogan <deniz@dogan.se>
13444
13445 * net/rcirc.el (rcirc-print): Simplify code for
13446 rcirc-scroll-show-maximum-output. There is no need to walk
13447 through all windows to find the right one.
13448
13449 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13450
13451 * help.el (help-return-method): Doc fix.
13452
13453 2011-09-03 Martin Rudalics <rudalics@gmx.at>
13454
13455 * window.el (window-deletable-p): Don't return a non-nil value
13456 when there's a buffer that was shown in the window before.
13457 (Bug#9419)
13458 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13459 Set window's previous buffers to nil.
13460
13461 2011-09-03 Eli Zaretskii <eliz@gnu.org>
13462
13463 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13464 newline before and after the tag line, so it doesn't interfere
13465 with determining the paragraph direction of bidirectional text.
13466
13467 2011-09-03 Leo Liu <sdl.web@gmail.com>
13468
13469 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13470
13471 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13472
13473 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13474 (pop-to-buffer): Change interactive spec. Pass second argument
13475 directly to display-buffer.
13476 (display-buffer): Fix interactive spec. Use functionp to
13477 distinguish between a function and a list of functions.
13478
13479 * abbrev.el (edit-abbrevs):
13480 * arc-mode.el (archive-extract):
13481 * autoinsert.el (auto-insert):
13482 * bookmark.el (bookmark-bmenu-list):
13483 * files.el (find-file):
13484 * view.el (view-buffer):
13485 * progmodes/compile.el (compilation-goto-locus):
13486 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13487
13488 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13489
13490 * window.el (display-buffer-alist): Doc fix.
13491 (display-buffer): Add docstring. Don't treat
13492 display-buffer-default specially.
13493 (display-buffer-reuse-selected-window)
13494 (display-buffer-same-window, display-buffer-maybe-same-window)
13495 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13496 (display-buffer-pop-up-window)
13497 (display-buffer-reuse-or-pop-window)
13498 (display-buffer-use-some-window): New functions.
13499 (display-buffer-default-action): Use them.
13500 (display-buffer-default): Delete.
13501 (pop-to-buffer-1): Fix choice of actions.
13502
13503 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13504
13505 * minibuffer.el (completion--insert-strings): Don't get confused by
13506 completion entries that end with an LF char.
13507
13508 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13509
13510 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13511
13512 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13513
13514 * window.el (display-buffer): Restore interactive spec.
13515 (display-buffer-same-window, display-buffer-other-window):
13516 New functions.
13517 (pop-to-buffer-1): New function. Use the above.
13518 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13519 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13520
13521 * view.el (view-buffer-other-window, view-buffer-other-frame):
13522 Just use pop-to-buffer.
13523
13524 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13525
13526 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13527
13528 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13529
13530 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13531
13532 2011-08-31 Richard Stallman <rms@gnu.org>
13533
13534 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13535 of the separation of rmail-view-buffer from rmail-buffer.
13536 If you say no to "replace original", the decrypt is in the
13537 view buffer. If you say yes, the decrypt goes into the
13538 rmail buffer also.
13539
13540 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13541
13542 * window.el (display-buffer-window): Rewrite doc-string.
13543 (display-buffer-record-window): New function.
13544 (display-buffer-macro-specifiers)
13545 (display-buffer-even-window-sizes, display-buffer-set-height)
13546 (display-buffer-set-width, display-buffer-in-window)
13547 (display-buffer-reuse-window, display-buffer-split-specifiers)
13548 (display-buffer-side-specifiers, display-buffer-split-window-1)
13549 (display-buffer-split-window, display-buffer-split-atom-window)
13550 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13551 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13552 (display-buffer-other-window-means-other-frame)
13553 (display-buffer-normalize-special)
13554 (display-buffer-normalize-default)
13555 (display-buffer-normalize-argument)
13556 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13557 (display-buffer-normalize-specifiers, display-buffer-frame)
13558 (display-buffer-same-window, display-buffer-same-frame)
13559 (display-buffer-other-window)
13560 (display-buffer-same-frame-other-window)
13561 (display-buffer-other-frame, pop-to-buffer-same-window)
13562 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13563 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13564 (switch-to-buffer-same-frame)
13565 (switch-to-buffer-other-window-same-frame)
13566 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13567 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13568 (display-buffer-alist-set): Remove.
13569 (display-buffer-function, special-display-buffer-names)
13570 (special-display-regexps, special-display-function):
13571 In doc-string refer to display-buffer-window and quit-restore
13572 parameter.
13573 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13574 (special-display-frame-alist, special-display-popup-frame)
13575 (same-window-buffer-names, same-window-regexps, same-window-p)
13576 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13577 (split-window-preferred-function, split-height-threshold)
13578 (split-width-threshold, window-splittable-p)
13579 (split-window-sensibly, window--try-to-split-window)
13580 (window--frame-usable-p, even-window-heights)
13581 (window--even-window-heights, window--display-buffer-1)
13582 (window--display-buffer-2, display-buffer-other-frame):
13583 Restore old Emacs 23 code, order and doc-strings where applicable.
13584 (display-buffer-default, display-buffer-assq-regexp): New functions.
13585 (display-buffer-alist): Rewrite doc-string.
13586 (display-buffer-default-action)
13587 (display-buffer-overriding-action): New variables.
13588 (display-buffer, switch-to-buffer): Rewrite.
13589 (pop-to-buffer): Restore Emacs 23 behavior but use
13590 window-normalize-buffer-to-display.
13591 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13592 Restore Emacs 23 behavior but use
13593 window-normalize-buffer-to-switch-to.
13594 (pop-to-buffer-same-window): Rewrite.
13595 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13596 Rewrite using Emacs 23 options.
13597
13598 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13599
13600 * net/tramp.el (tramp-root-regexp): Remove.
13601 (tramp-completion-file-name-regexp-unified)
13602 (tramp-completion-file-name-regexp-separate)
13603 (tramp-completion-file-name-regexp-url): Don't use leading volume
13604 letter on w32 systems. (Bug#5303, Bug#9311)
13605 (tramp-drop-volume-letter): Simplify definition.
13606 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13607
13608 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13609
13610 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13611 (bug#9356).
13612
13613 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13614
13615 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13616
13617 2011-08-29 Juri Linkov <juri@jurta.org>
13618
13619 * isearch.el (isearch-done): Don't display message "Mark saved"
13620 when arg `edit' is non-nil to prevent its flicker in the echo area.
13621
13622 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13623
13624 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13625 obsolete packages for deletion.
13626
13627 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13628
13629 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13630 (help-mode): Derive help-mode from special-mode. Don't invoke
13631 view-mode from help-mode.
13632 (help-xref-override-view-map): Remove.
13633 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13634 view-mode is not used anymore.
13635
13636 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13637
13638 * server.el (server-port): Doc fix.
13639
13640 * cus-theme.el (custom-theme-choose-mode): Inherit from
13641 special-mode (Bug#9124).
13642 (custom-theme-choose-mode-map): Add special-mode to parent.
13643
13644 2011-08-28 Alan Mackenzie <acm@muc.de>
13645
13646 * progmodes/cc-fonts.el
13647 (c-make-font-lock-BO-decl-search-function): New function.
13648 (c-basic-matchers-after - "Fontify the clauses after various
13649 keywords"): Extract the three keyword lists for the 3 erroneous
13650 constructs from the list of four, and use the new function above
13651 in place of an old one.
13652
13653 2011-08-28 Deniz Dogan <deniz@dogan.se>
13654
13655 * net/rcirc.el (rcirc-insert-prev-input)
13656 (rcirc-insert-next-input): Remove unused argument.
13657
13658 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13661
13662 2011-08-27 Alan Mackenzie <acm@muc.de>
13663
13664 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13665 handle function pointer parameters properly.
13666
13667 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13668
13669 * window.el (display-buffer-reuse-window): Fix case where
13670 selected window was reused with non-nil OTHER-WINDOW argument.
13671 (Bug#9381)
13672
13673 2011-08-27 Deniz Dogan <deniz@dogan.se>
13674
13675 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13676 oftc's NickServ messages.
13677
13678 2011-08-27 Glenn Morris <rgm@gnu.org>
13679
13680 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13681
13682 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13683
13684 * emacs-lisp/package.el (package-install): Call package-initialize
13685 if called interactively.
13686
13687 2011-08-26 Leo Liu <sdl.web@gmail.com>
13688
13689 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13690
13691 2011-08-25 Juri Linkov <juri@jurta.org>
13692
13693 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13694 `search-whitespace-regexp' (bug#9364).
13695
13696 2011-08-25 Juri Linkov <juri@jurta.org>
13697
13698 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13699 `regexp-search-ring' to their global values to protect from
13700 updating by `read-from-minibuffer' (bug#9185).
13701
13702 2011-08-25 Juri Linkov <juri@jurta.org>
13703
13704 * textmodes/ispell.el (ispell-command-loop): Add newline
13705 at the end of the "Use option `i'..." line.
13706
13707 2011-08-25 Juri Linkov <juri@jurta.org>
13708
13709 * battery.el (display-battery-mode): If `battery-status-function'
13710 or `battery-mode-line-format' is nil, display the message and set
13711 `display-battery-mode' to nil (bug#9363).
13712
13713 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13714
13715 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13716 bidi-string-mark-left-to-right; they are unnecessary now.
13717
13718 2011-08-25 Deniz Dogan <deniz@dogan.se>
13719
13720 * net/quickurl.el: Documentation typo fixes.
13721
13722 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13723
13724 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13725
13726 2011-08-25 Glenn Morris <rgm@gnu.org>
13727
13728 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13729
13730 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13731 (smtpmail-via-smtp): Handle nil response from smtp.
13732
13733 2011-08-24 Juri Linkov <juri@jurta.org>
13734
13735 * proced.el (proced-marked): Inherit from `error' instead of
13736 `font-lock-warning-face'.
13737
13738 * ibuffer.el (ibuffer-marked-face): Change default face from
13739 `font-lock-warning-face' to `warning'.
13740 (ibuffer-deletion-face): Change default face from
13741 `font-lock-type-face' to `error'.
13742
13743 * battery.el (battery-update): Use the face `error' instead of
13744 `font-lock-warning-face' (bug#6117).
13745
13746 2011-08-24 Juri Linkov <juri@jurta.org>
13747
13748 * faces.el (success): Change face color from "Green3" to
13749 "ForestGreen" on light background (bug#9353).
13750
13751 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13752
13753 * window.el (quit-window): Rename from quit-restore-window.
13754 Use same arglist as old quit-window.
13755 (frame-auto-delete): Doc fix.
13756
13757 * view.el (view-mode-exit): Use quit-window.
13758
13759 2011-08-24 Juri Linkov <juri@jurta.org>
13760
13761 * isearch.el (isearch-ring-adjust1): Start visiting previous
13762 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13763 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13764 for empty search string (when the last search string is reused
13765 automatically) to adjust the isearch ring to the last element and
13766 prepare the correct index for further M-p commands (bug#9185).
13767
13768 2011-08-24 Kenichi Handa <handa@m17n.org>
13769
13770 * international/ucs-normalize.el: If decomposition property of
13771 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13772 nil.
13773 (nfd, nfkd): Likewise.
13774
13775 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13776
13777 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13778 from process filters aren't reliably transmitted to the surrounding
13779 accept-process-output.
13780 (mpc-proc-check): New function.
13781 (mpc-proc-sync): Use it (bug#8293)
13782
13783 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13784
13785 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13786 Add compatibility functions (bug#9313).
13787
13788 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13789
13790 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13791
13792 * international/uni-bidi.el: Regenerate.
13793
13794 2011-08-23 Kenichi Handa <handa@m17n.org>
13795
13796 * international/charprop.el:
13797 * international/uni-bidi.el:
13798 * international/uni-category.el:
13799 * international/uni-combining.el:
13800 * international/uni-comment.el:
13801 * international/uni-decimal.el:
13802 * international/uni-decomposition.el:
13803 * international/uni-digit.el:
13804 * international/uni-lowercase.el:
13805 * international/uni-mirrored.el:
13806 * international/uni-name.el:
13807 * international/uni-numeric.el:
13808 * international/uni-old-name.el:
13809 * international/uni-titlecase.el:
13810 * international/uni-uppercase.el: Regenerate.
13811
13812 2011-08-23 Martin Rudalics <rudalics@gmx.at>
13813
13814 * help.el (help-window-setup): Fix message displayed when other
13815 window is reused. (Bug#9341)
13816
13817 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13818
13819 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13820 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13821
13822 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13823 Mark obsolete.
13824 * shell.el (shell-parse-pcomplete-arguments): New function.
13825 (shell-completion-vars): Use it instead (bug#9160).
13826
13827 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13828
13829 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13830 strings and comments (bug#9333).
13831
13832 * emacs-lisp/debug.el (debug-arglist): New function.
13833 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13834 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13835
13836 2011-08-22 Juri Linkov <juri@jurta.org>
13837
13838 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13839 Revert regexp that highlights output switches to its old
13840 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13841
13842 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13843 to check for empty output (bug#9226).
13844
13845 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
13846
13847 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13848 symbol-constituent as the default, as that stops font-lock from
13849 working properly (Bug#8843).
13850
13851 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13852
13853 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13854 `coding-system-for-*' around the process open call to avoid
13855 auth-source side effects.
13856 (smtpmail-try-auth-methods): Expand the secret password.
13857 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13858 probe hangs.
13859
13860 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13861
13862 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13863
13864 * emacs-lisp/find-func.el (find-function-noselect): New arg
13865 lisp-only.
13866
13867 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13868 signal an error for built-in functions (Bug#6664).
13869
13870 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13871
13872 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13873 (smtpmail-try-auth-methods): Use it.
13874
13875 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13876
13877 * font-lock.el (font-lock-fontify-region)
13878 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13879 (font-lock-default-unfontify-buffer)
13880 (font-lock-default-fontify-region)
13881 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13882
13883 * progmodes/compile.el (compilation-error-properties):
13884 Fix confusion between file struct and message struct (Bug#9319).
13885 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13886 `ant' regexp.
13887
13888 * net/browse-url.el (browse-url-firefox): Don't call
13889 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13890
13891 2011-08-20 Glenn Morris <rgm@gnu.org>
13892
13893 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13894
13895 * tutorial.el (tutorial--default-keys): Update some default bindings.
13896
13897 * files.el (hack-local-variables): Fully ignore case for "mode:".
13898
13899 2011-08-20 Alan Mackenzie <acm@muc.de>
13900
13901 Resolve invalid use of a regexp in regexp-opt.
13902
13903 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13904 detection for a java annotation.
13905
13906 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13907 detection for a java annotation.
13908
13909 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13910 handling for java.
13911 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13912
13913 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
13914
13915 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13916 (Bug#9274).
13917
13918 2011-08-20 Alan Mackenzie <acm@muc.de>
13919
13920 Fontify CPP expressions correctly when starting in the middle of
13921 such a construct. Mainly for when jit-lock etc. starts a chunk
13922 here.
13923
13924 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13925 variable.
13926 (c-make-font-lock-search-form): New function, extracted from
13927 c-make-font-lock-search-function.
13928 (c-make-font-lock-search-function): Use the above function.
13929 (c-make-font-lock-context-search-function): New function.
13930 (c-cpp-matchers): Enhance the preprocessor expression case with
13931 the above function
13932 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13933 which takes an expression.
13934
13935 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13936
13937 2011-08-20 Martin Rudalics <rudalics@gmx.at>
13938
13939 * window.el (display-buffer-reuse-window)
13940 (display-buffer-pop-up-window): Don't reuse or split a side
13941 window.
13942
13943 2011-08-19 Glenn Morris <rgm@gnu.org>
13944
13945 * files.el (hack-local-variables-prop-line, hack-local-variables):
13946 Downcase "Mode:". (Bug#9331)
13947
13948 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
13949
13950 * international/characters.el: Add L and R categories.
13951
13952 * subr.el (bidi-string-mark-left-to-right): Rename from
13953 string-mark-left-to-right. Use category search.
13954
13955 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13956
13957 2011-08-18 Juri Linkov <juri@jurta.org>
13958
13959 * faces.el (error, warning, success): New faces with definitions
13960 copied from old default values of `font-lock-warning-face',
13961 `compilation-warning', `compilation-info' (bug#6117).
13962
13963 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13964
13965 * progmodes/compile.el (compilation-error): Inherit from `error'.
13966 (compilation-warning): Inherit from `warning'.
13967 (compilation-info): Inherit from `success'.
13968
13969 * dired.el (dired-marked): Inherit from `warning'.
13970 (dired-flagged): Inherit from `error'.
13971
13972 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13973
13974 * mail/smtpmail.el (auth-source): Require to avoid problems with
13975 binding variables (bug#9298). Also clean up some unused
13976 autoloads.
13977
13978 * net/network-stream.el (network-stream-open-starttls):
13979 Support using starttls.el without using gnutls-cli.
13980
13981 2011-08-17 Juri Linkov <juri@jurta.org>
13982
13983 * progmodes/grep.el (rgrep): Handle the case when
13984 `grep-find-command' is a cons cell (bug#9278).
13985
13986 2011-08-17 Martin Rudalics <rudalics@gmx.at>
13987
13988 * window.el (display-buffer-pop-up-frame): Run frame creation
13989 function with BUFFER current (as special-display-popup-frame
13990 does). Reported by Drew Adams.
13991
13992 2011-08-17 Daiki Ueno <ueno@unixuser.org>
13993
13994 * epa-mail.el: Simplify GnuPG group expansion using
13995 epg-expand-group.
13996 (epa-mail-group-alist, epa-mail-group-modtime)
13997 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13998 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13999 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14000 Remove.
14001
14002 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14003
14004 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14005
14006 2011-08-16 Alan Mackenzie <acm@muc.de>
14007
14008 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14009 Correct, to avoid the inside of macros.
14010
14011 2011-08-16 Richard Stallman <rms@gnu.org>
14012
14013 * epa-mail.el: Handle GnuPG group definitions.
14014 (epa-mail-group-alist, epa-mail-group-modtime)
14015 (epa-mail-gnupg-conf-file): New variables.
14016 (epa-mail-parse-groups, epa-mail-sync-groups)
14017 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14018 (epa-mail-expand-recipients): New functions.
14019 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14020
14021 * mail/rmail.el (rmail-epa-decrypt): New command.
14022
14023 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14024 Don't bind buffer-read-only, just inhibit-read-only.
14025 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14026 (epa-decrypt-armor-in-region): Make error message clearer.
14027
14028 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14029
14030 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14031 and "a2b" to "ab" for `prefix'.
14032
14033 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14034
14035 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14036 filter groups.
14037 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14038 Fourquet (Bug#8804).
14039
14040 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14041
14042 * startup.el (argi): Declare as global variable (bug#9275).
14043
14044 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14045
14046 * subr.el (string-mark-left-to-right): Search the entire string
14047 for RTL script, not just the terminating character. Doc fix.
14048
14049 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14050
14051 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14052 New function.
14053 (js--regexp-literal, js-syntax-propertize-function): Remove.
14054 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14055 (js-mode-map): Don't rebind electric keys.
14056 (js-insert-and-indent): Remove.
14057 (js-mode): Setup electric-layout and electric-indent instead.
14058
14059 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14060
14061 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14062
14063 * epa.el (epa-progress-callback-function): Fix the logic of
14064 displaying progress.
14065 * epa-file.el (epa-file-insert-file-contents): Make progress
14066 display more user-friendly.
14067 (epa-file-write-region): Ditto.
14068
14069 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14070
14071 * subr.el (string-mark-left-to-right): New function.
14072
14073 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14074 Use string-mark-left-to-right.
14075 (list-buffers-noselect): Caller changed.
14076
14077 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14078 Use string-mark-left-to-right.
14079 (tabulated-list-print): Recenter after moving point.
14080
14081 2011-08-10 Juri Linkov <juri@jurta.org>
14082
14083 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14084 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14085 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14086
14087 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14088
14089 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14090 (Bug#7554).
14091
14092 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14093
14094 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14095 character. (Bug#6594)
14096
14097 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14098
14099 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14100 (image-dired--with-db-file): New macro.
14101 (image-dired-write-tags, image-dired-remove-tag)
14102 (image-dired-create-gallery-lists, image-dired-write-comments)
14103 (image-dired-get-comment, image-dired-mark-tagged-files)
14104 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14105 (image-dired-gallery-generate): Use insert-file-contents.
14106
14107 * time.el (display-time-world-list, display-time-world-display):
14108 * time-stamp.el (time-stamp-string):
14109 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14110 set-time-zone-rule (Bug#7337).
14111
14112 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14113
14114 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14115 (epg-error-to-string, epg-errors-to-string): New function.
14116 (epg-wait-for-completion): Reverse errors list.
14117 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14118 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14119 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14120 (epg-sign-keys, epg-generate-key-from-file)
14121 (epg-generate-key-from-string): Format errors by using
14122 epg-errors-to-string (bug#9255).
14123 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14124
14125 2011-08-07 Juri Linkov <juri@jurta.org>
14126
14127 * faces.el (list-faces-display): Remove extra angle bracket
14128 from `help-mode-map'.
14129
14130 * info.el (Info-history-toc-nodes): Doc fix.
14131
14132 * longlines.el (longlines-mode): Doc fix.
14133
14134 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14135
14136 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14137 of statements and in a few more cases (bug#9183).
14138
14139 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14140 New functions.
14141 (cl-transform-lambda): Use them (bug#9239).
14142
14143 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14144
14145 * window.el (display-buffer-same-window)
14146 (display-buffer-same-frame, display-buffer-other-window)
14147 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14148 (pop-to-buffer-other-window)
14149 (pop-to-buffer-same-frame-other-window)
14150 (pop-to-buffer-other-frame): Make them defuns.
14151 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14152
14153 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14154
14155 * subr.el (make-composed-keymap): Move from C. Change calling
14156 convention, and improve docstring to bring attention to a subtle point.
14157 * minibuffer.el (completing-read-default): Adjust accordingly.
14158
14159 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14160
14161 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14162 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14163
14164 * net/trampver.el: Update release number.
14165
14166 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14167
14168 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14169 "in" (bug#9190).
14170
14171 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14172
14173 * mail/sendmail.el (sendmail-query-once): Restore the current
14174 buffer after querying (bug#9074).
14175
14176 * dired.el (dired-flagged): Use different faces for marked and
14177 flagged files (bug#6117).
14178
14179 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14180 (bug#4433).
14181
14182 * ido.el (ido-mode): Switch off the message if called
14183 non-interactively.
14184
14185 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14186 before 587, since it appears that that's more likely to work for
14187 more people.
14188
14189 * cus-edit.el (custom-file): When running under emacs -q, always
14190 refuse to save the customizations, even if the .emacs file doesn't
14191 exist.
14192
14193 * info.el: Remove the `Info-beginning-of-buffer' function
14194 (bug#8325).
14195
14196 * net/network-stream.el (network-stream-open-starttls):
14197 Use `starttls-available-p' to see whether starttls.el can be used.
14198
14199 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14200
14201 * window.el (display-buffer-in-window): Don't set dedicated status
14202 of window here (Bug#9215).
14203 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14204 (display-buffer-pop-up-side-window)
14205 (display-buffer-in-side-window): Set dedicated status of window here.
14206
14207 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14208
14209 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14210 before binding generated-autoload-file.
14211
14212 2011-08-01 Deniz Dogan <deniz@dogan.se>
14213
14214 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14215
14216 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14217
14218 Sync with Tramp 2.2.2.
14219
14220 * net/trampver.el: Update release number.
14221
14222 2011-07-30 Juri Linkov <juri@jurta.org>
14223
14224 * dired-aux.el (dired-touch-initial): Remove function.
14225 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14226 current time, and `default' to the last modification time of the
14227 current marked file (bug#6887).
14228
14229 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14230
14231 * simple.el (goto-line): Use string-to-number to provide a
14232 numeric argument to read-number (bug#9163).
14233
14234 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14235
14236 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14237 connection process, it could be nil.
14238
14239 2011-07-27 Leo Liu <sdl.web@gmail.com>
14240
14241 Simplify url handling in rcirc-mode.
14242
14243 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14244 (rcirc-browse-url-at-mouse): Remove.
14245 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14246
14247 2011-07-26 Alan Mackenzie <acm@muc.de>
14248
14249 Fontify bitfield declarations properly.
14250
14251 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14252 (c-symbol-chars): Now exported as a lang variable.
14253 (c-not-primitive-type-keywords): New lang variable.
14254
14255 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14256 QT keyword "more" to prevent "more slots: ...." being spuriously
14257 parsed as a bitfield declaration.
14258
14259 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14260 Refactor and enhance to handle bitfield declarations.
14261 (c-punctuation-in): New function.
14262 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14263 declarations properly.
14264
14265 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14266
14267 * calendar/icalendar.el (icalendar--all-events): Take care of
14268 multiple vcalendars in a single file.
14269 (icalendar--convert-float-to-ical): Checkdoc fixes.
14270
14271 2011-07-25 Deniz Dogan <deniz@dogan.se>
14272
14273 * image.el (insert-image): Clarifying docstring.
14274
14275 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14276
14277 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14278 `tramp-send-command-and-check' if there is no error.
14279 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14280
14281 2011-07-22 Alan Mackenzie <acm@muc.de>
14282
14283 Prevent cc-langs.elc being loaded at run time.
14284
14285 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14286 cc-langs.
14287
14288 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14289 "(require 'cc-langs)". Quote a form so it will evaluate at
14290 (cc-mode's) compilation time.
14291
14292 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14293
14294 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14295 loading. (Bug#9114)
14296
14297 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14298
14299 * window.el (display-buffer-pop-up-window)
14300 (display-buffer-pop-up-side-window)
14301 (display-buffer-in-side-window): Call display-buffer-set-height
14302 and display-buffer-set-width after setting the new window's
14303 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14304
14305 2011-07-20 Sam Steingold <sds@gnu.org>
14306
14307 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14308 (etags-tags-included-tables): Call `convert-standard-filename' on
14309 the file names contained in TAGS so that windows Emacs can handle
14310 TAGS files created by cygwin ctags.
14311
14312 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14313
14314 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14315 which apparently didn't work.
14316
14317 2011-07-19 Roland Winkler <winkler@gnu.org>
14318
14319 * proced.el (proced-send-signal): For *Marked Processes* buffer
14320 put point at beginning of buffer.
14321
14322 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14323
14324 * proced.el (proced-format): Make header lines align with the text
14325 (bug#1779).
14326
14327 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14328
14329 * view.el (view-buffer): Allow running in `special' modes if we're
14330 visiting a file (bug#8615).
14331
14332 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14333
14334 * window.el (display-buffer-alist-of-strings-p)
14335 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14336 New functions.
14337 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14338 more accurately.
14339
14340 2011-07-18 Alan Mackenzie <acm@muc.de>
14341
14342 Fontify declarators properly when, e.g., a jit-lock chunk begins
14343 inside a declaration.
14344
14345 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14346
14347 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14348 New function.
14349 (c-complex-decl-matchers): Insert reference to
14350 c-font-lock-enclosing-decls.
14351
14352 * progmodes/cc-engine.el (c-backward-single-comment):
14353 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14354 to nil around calls to (forward-comment -1).
14355
14356 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14357
14358 * image.el (put-image): Doc typo fix.
14359
14360 * progmodes/etags.el (tags-search): Doc typo fix.
14361
14362 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14363 password if we get errors 550 to 554.
14364
14365 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14366
14367 * net/gnutls.el (gnutls-log-level): Remove.
14368
14369 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14370 indentation character (bug#6380).
14371
14372 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14373
14374 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14375 to clarify what the problem is (bug#4291).
14376
14377 * simple.el (current-kill): Clarify what
14378 `interprogram-paste-function' does (bug#7500).
14379 (auto-fill-mode): Document `auto-fill-function' in relation to
14380 `auto-fill-mode' (bug#2470).
14381
14382 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14383
14384 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14385 method if slot is read-only (bug#9035).
14386
14387 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14388
14389 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14390 * window.el (pop-to-buffer): Select window used even if it was
14391 selected before, see discussion of (Bug#8615), (Bug#6954).
14392 Pass argument NORECORD on to select-frame-set-input-focus.
14393
14394 2011-07-15 Glenn Morris <rgm@gnu.org>
14395
14396 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14397 Respect help-form.
14398
14399 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14400
14401 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14402 (gnutls-negotiate): Use it.
14403
14404 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14405
14406 * net/gnutls.el (gnutls-negotiate):
14407 Upcase `gnutls-algorithm-priority'.
14408
14409 2011-07-15 Glenn Morris <rgm@gnu.org>
14410
14411 * jka-compr.el (jka-compr-verbose): Move from here...
14412 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14413 Add missing :version tag.
14414 * info.el: No need to require jka-compr when compiling.
14415
14416 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14417
14418 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14419 (gnutls-negotiate): Use it.
14420
14421 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14422
14423 * info.el (Info-beginning-of-buffer): New command.
14424 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14425 announcing `b' as the key (bug#8325).
14426 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14427
14428 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14429
14430 * international/mule-cmds.el
14431 (describe-specified-language-support): Make the error message
14432 clearer (bug#8905).
14433
14434 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14435
14436 * isearch.el (isearch-barrier): Add a doc string, since it's
14437 mentioned in a function doc string (bug#8678).
14438
14439 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14440
14441 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14442 buffer argument (Bug#9083) and self-identifying label argument.
14443
14444 2011-07-15 Glenn Morris <rgm@gnu.org>
14445
14446 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14447
14448 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14449
14450 * man.el (Man-fontify-manpage): Fix message when formatting the
14451 man page (bug#7929).
14452
14453 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14454
14455 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14456 argument LRM; if non-nil, append an invisible LRM character to the
14457 buffer name.
14458 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14459 last argument non-nil, when formatting buffer names.
14460 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14461 paragraph direction.
14462
14463 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14464
14465 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14466 the man page name (bug#7929).
14467
14468 * image.el (put-image): Mention the `put-image' overlay property
14469 (bug#7834).
14470
14471 * scroll-bar.el (set-scroll-bar-mode): Mention that
14472 `scroll-bar-mode' lists the values (bug#7772).
14473
14474 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14475 command (bug#7729).
14476
14477 * rect.el (apply-on-rectangle): Return the point after the last
14478 operation.
14479 (string-rectangle): Go to the point after the last operation
14480 (bug#7522).
14481
14482 * printing.el (pr-toggle-region): Clarify the documentation
14483 slightly (bug#7493).
14484
14485 * time.el (display-time-update):
14486 Allow `display-time-mail-function' to return nil (bug#7158).
14487 Fix suggested by Detlev Zundel.
14488
14489 * vc/diff.el (diff): Clarify the order the file names are read
14490 (bug#7111).
14491
14492 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14493 the doc string (bug#7015).
14494
14495 * font-lock.el (font-lock-maximum-decoration): Mention what
14496 numeric levels mean (bug#6935).
14497
14498 * startup.el (initial-buffer-choice): Don't mention the `none'
14499 selection, which is against policy.
14500
14501 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14502
14503 * window.el (display-buffer-normalize-special):
14504 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14505
14506 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14507
14508 * subr.el (version<, version<=, version=): Mention "-CVS" and
14509 "-12345" alpha version numbers.
14510
14511 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14512
14513 * bindings.el: Add advertised binding for set-mark-command
14514 (Bug#5772).
14515
14516 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14517
14518 * bindings.el (mode-line-other-buffer):
14519 * bookmark.el (bookmark-bmenu-2-window):
14520 * bs.el (bs-cycle-next, bs-cycle-previous):
14521 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14522 switch-to-buffer.
14523
14524 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14525 Delete.
14526
14527 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14528
14529 * follow.el (follow-debug-message, follow-redisplay):
14530 * jka-cmpr-hook.el (with-auto-compression-mode):
14531 Fix typos in docstrings.
14532
14533 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14534
14535 * subr.el (with-silent-modifications): Clarify somewhat what the
14536 macro inhibits (bug#6525).
14537
14538 * simple.el (eval-expression): Note what it does if called
14539 interactively (bug#6495).
14540
14541 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14542
14543 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14544 Use pop-to-buffer buffer-or-name if it is nil.
14545
14546 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14547 Remove switch-to-buffer.
14548
14549 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14550
14551 * files.el (make-directory): Clarify that an error will be raised
14552 if there's an error (bug#6397).
14553
14554 * startup.el (initial-buffer-choice): Add `none' as a choice
14555 (bug#6234).
14556
14557 * subr.el (add-hook): Clarify section about buffer-local hooks
14558 (bug#6218).
14559
14560 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14561
14562 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14563
14564 * tabify.el (untabify): Preserve the current column so that point
14565 doesn't move (bug#6032).
14566
14567 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14568
14569 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14570 Rewrite to avoid awkward possessive "s" (bug#5986).
14571
14572 2011-07-13 Glenn Morris <rgm@gnu.org>
14573
14574 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14575 (dired-insert-directory): Give a message the first time
14576 if ls is found not to support --dired.
14577
14578 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14579
14580 * simple.el (toggle-truncate-lines): Clarify what is toggled
14581 (bug#5580). Text by Drew Adams.
14582
14583 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14584
14585 * simple.el (blink-matching-open): Make the error message from the
14586 last change less verbose.
14587
14588 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14589
14590 * font-lock.el (font-lock-comment-face): Use the high contrast
14591 "yellow" color for font-lock-comment-face on low color terminals
14592 using a dark background color (bug#4221).
14593
14594 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14595
14596 * dired.el (dired-insert-set-properties): Make the doc string
14597 reflect what it does now (bug#5325).
14598
14599 * simple.el (blink-matching-open): Say that we were unable to find
14600 the match within the limit, if we're limited (bug#5122).
14601
14602 * international/mule-cmds.el (prefer-coding-system): Add an
14603 example (bug#4869).
14604
14605 * progmodes/etags.el (tags-search): Document `file-list-form'
14606 (bug#4731).
14607
14608 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14609
14610 * net/browse-url.el (browse-url-default-browser)
14611 (browse-url-browser-function): Make the default browser choice a
14612 bit more logical (bug#4300). Also clean up the doc string.
14613
14614 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14615
14616 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14617 binary endings (bug#4440).
14618
14619 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14620
14621 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14622 which can be pretty annoying (bug#8971).
14623
14624 * jka-compr.el (jka-compr-verbose): New variable, and use
14625 throughout (bug#8971).
14626
14627 * info.el (Info-find-file): Fall back on the installation
14628 directory if we can't find the info node anywhere else.
14629
14630 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14631
14632 * vc/vc.el (vc-revert-file):
14633 Don't set file time-stamp in the past. (Bug#5181)
14634
14635 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14636
14637 * files.el (after-find-file): Give a better error message when
14638 trying to find a symlink that points to a file that doesn't exist
14639 (bug#4398).
14640
14641 * progmodes/cc-vars.el: Remove (probably) misleading comment
14642 (bug#4396).
14643
14644 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14645
14646 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14647
14648 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14649
14650 * mouse-sel.el: Hack restoring functionality, while keeping
14651 compatibility with 2010-07-03 changes to mouse selection.
14652 (mouse-sel-primary-overlay): New var.
14653 (mouse-sel-selection-alist): Use it.
14654 (mouse-sel-mode): Doc fix; remove points that are default features
14655 of mouse.el.
14656
14657 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14658
14659 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14660 Fix previous fix (bug#2490).
14661
14662 2011-07-12 Roland Winkler <winkler@gnu.org>
14663
14664 * textmodes/bibtex.el (bibtex-initialize):
14665 Use pop-to-buffer-same-window.
14666 (bibtex-search-entries): Fix interactive call.
14667
14668 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14669
14670 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14671 Fontise bytecomp Error lines more correctly (bug#2490).
14672 Fix suggested by Johan Bockgård.
14673
14674 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14675
14676 * dired-x.el (dired-guess-default): Use `delete-dups'.
14677
14678 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14679
14680 * dired.el (dired-mark-prompt):
14681 * dired-aux.el (dired-read-shell-command): Doc fix.
14682
14683 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14684
14685 * mail/sendmail.el (sendmail-query-once):
14686 Use `customize-save-variable' unconditionally, now that it works under
14687 emacs -Q.
14688
14689 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14690
14691 * cus-edit.el (custom-file): Take an optional no-error variable.
14692 (customize-save-variable): Set the variable, and give a warning if
14693 running under "emacs -q".
14694
14695 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14696
14697 * loadhist.el (unload-feature-special-hooks):
14698 Add `auto-coding-functions', `fill-nobreak-predicate' and
14699 `find-directory-functions' (bug#5327).
14700
14701 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14702
14703 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14704
14705 * cus-edit.el (custom-guess-name-alist): -alist variables should
14706 use the `alist' type (bug#3120). Suggested by Drew Adams.
14707
14708 * printing.el: Add documentation to all the `pr-toggle-' commands.
14709
14710 2011-07-11 Leo Liu <sdl.web@gmail.com>
14711
14712 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14713 backends where it makes sense (bug#2623).
14714
14715 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14716
14717 * dired-x.el (dired-guess-default): Remove duplicate shell command
14718 entries (bug#2028).
14719 (dired-guess-default): Fix grammar in doc string (bug#2028).
14720 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14721
14722 * subr.el (remove-duplicates): New conveniency function.
14723
14724 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14725
14726 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14727 (bug#1526).
14728
14729 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14730
14731 * window.el (display-buffer-normalize-default): Don't invert
14732 meaning of even-window-heights. Reported by Eli Zaretskii
14733 <eliz@gnu.org>.
14734
14735 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14736
14737 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14738
14739 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14740
14741 * window.el (display-buffer): Fix arguments to
14742 display-buffer-reuse-window in last change.
14743
14744 * faces.el (link): Use a less saturated blue on light backgrounds.
14745
14746 * startup.el (fancy-startup-text, fancy-about-text)
14747 (fancy-startup-tail): Use font-lock faces, for background safety.
14748
14749 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14750
14751 * emulation/viper-cmd.el (viper-change-state-to-vi):
14752 Limit triggering of abbrev expansion (Bug#9038).
14753
14754 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14755
14756 * window.el (display-buffer-default-specifiers): Remove.
14757 (display-buffer-macro-specifiers): Remove default specifiers.
14758 (display-buffer-alist): Default to nil.
14759 (display-buffer-reuse-window): New optional argument other-window.
14760 (display-buffer-pop-up-window): Allow splitting internal
14761 windows. Check whether a live window was created.
14762 (display-buffer-other-window-means-other-frame)
14763 (display-buffer-normalize-arguments): Rename to
14764 display-buffer-normalize-argument and rewrite. Set the
14765 other-window specifier.
14766 (display-buffer-normalize-special): New function.
14767 (display-buffer-normalize-options): Rename to
14768 display-buffer-normalize-default and rewrite.
14769 (display-buffer-normalize-options-inhibit): Remove.
14770 (display-buffer-normalize-specifiers): Rewrite.
14771 (display-buffer): Process other-window specifier and call
14772 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14773 more faithfully.
14774 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14775 (display-buffer-alist-set): Don't handle 'unset default values.
14776 (display-buffer-in-window, display-buffer-alist-set):
14777 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14778 <tassilo@member.fsf.org>.
14779
14780 2011-07-09 Leo Liu <sdl.web@gmail.com>
14781
14782 * register.el (insert-register): Restore accidental change on
14783 2011-06-26. (Bug#9028)
14784
14785 2011-07-09 Glenn Morris <rgm@gnu.org>
14786
14787 * subr.el (remq): Handle the empty list. (Bug#9024)
14788
14789 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14790
14791 * mail/sendmail.el (send-mail-function): No longer delay custom
14792 initialization.
14793 * custom.el (custom-initialize-delay): Doc fix.
14794
14795 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14796
14797 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14798
14799 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14800
14801 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14802 human-friendly prompt.
14803
14804 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14807 provided by a particular plugin.
14808
14809 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14810
14811 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14812 save customizations (with "emacs -Q"), just set the variable
14813 instead of erroring out.
14814
14815 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14816
14817 2011-07-08 Juri Linkov <juri@jurta.org>
14818
14819 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14820 (archive-zip-update-case): Use 7z if found by `executable-find'.
14821 The order of searching the available programs is the same as in
14822 `archive-zip-extract' (bug#8968).
14823
14824 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14825
14826 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14827 (menu-bar-options-menu): Tweak descriptions.
14828
14829 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14830
14831 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14832 menu items into verb phrases (bug#1421). Also refill to fit under
14833 80 columns.
14834
14835 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14836
14837 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14838 (Info-read-node-name): Doc fix (Bug#1084).
14839
14840 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14841 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14842 (end-of-sexp, beginning-of-sexp)
14843 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14844 (forward-symbol, forward-same-syntax, word-at-point)
14845 (sentence-at-point): Doc fix (Bug#1144).
14846
14847 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14848
14849 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14850 should cover it (bug#1281).
14851
14852 * cus-edit.el (custom-show): Mark as obsolete.
14853
14854 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14855 negotiation fails, then possibly try again with a non-encrypted
14856 connection (bug#9017).
14857
14858 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14859 be used.
14860
14861 2011-07-07 Richard Stallman <rms@gnu.org>
14862
14863 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14864 property, and handle its changed format.
14865 Look for the correct line number.
14866 Use file's line contents (but not past first =) to find
14867 correct line in message.
14868
14869 2011-07-07 Kenichi Handa <handa@m17n.org>
14870
14871 * international/characters.el (build-unicode-category-table):
14872 Delete it.
14873 (unicode-category-table): Set it by unicode-property-table-internal.
14874
14875 * international/mule-cmds.el (char-code-property-alist): Move to
14876 to src/chartab.c.
14877 (get-char-code-property): Call unicode-property-table-internal to
14878 load a file. Call get-unicode-property-internal where necessary.
14879 (put-char-code-property): Call unicode-property-table-internal to
14880 load a file. Call put-unicode-property-internal where necessary.
14881 put-unicode-property-internal where necessary.
14882 (char-code-property-description):
14883 Call unicode-property-table-internal to load a file.
14884
14885 * international/charprop.el:
14886 * international/uni-bidi.el:
14887 * international/uni-category.el:
14888 * international/uni-combining.el:
14889 * international/uni-comment.el:
14890 * international/uni-decimal.el:
14891 * international/uni-decomposition.el:
14892 * international/uni-digit.el:
14893 * international/uni-lowercase.el:
14894 * international/uni-mirrored.el:
14895 * international/uni-name.el:
14896 * international/uni-numeric.el:
14897 * international/uni-old-name.el:
14898 * international/uni-titlecase.el:
14899 * international/uni-uppercase.el: Regenerate.
14900
14901 * loadup.el: Load international/charprop.el before
14902 international/characters.
14903
14904 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14905
14906 * window.el (next-buffer, previous-buffer): Signal an error if
14907 called from a minibuffer window.
14908
14909 * bindings.el: Revert 2011-07-04 change.
14910
14911 2011-07-06 Richard Stallman <rms@gnu.org>
14912
14913 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14914 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14915 Treat markers like ints.
14916 (rmail-mime-entity): Doc fix.
14917
14918 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14919
14920 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14921 defcustom again for backwards compatibility.
14922
14923 * simple.el (shell-command-on-region): Fill.
14924
14925 * dired-aux.el (dired-kill-line): Add a doc string.
14926
14927 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14928 to "\\sw\\|\\s_" (bug#358).
14929
14930 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14931 (dired-unmark-backward): Ditto.
14932 (dired-flag-backup-files): Ditto.
14933
14934 * dired-x.el (dired-mark-sexp): Ditto.
14935
14936 2011-07-06 Richard Stallman <rms@gnu.org>
14937
14938 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14939 (rmail-mime-entity): New arg TRUNCATED.
14940 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14941 New functions.
14942 (rmail-mime-save): Warn if entity is truncated.
14943 (rmail-mime-toggle-hidden): Likewise, for showing.
14944 (rmail-mime-process-multipart): Record when an entity is truncated.
14945
14946 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14947 if ENTITY is a string.
14948
14949 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14950
14951 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14952 of faces when `M-C-x'-ing their definitions (bug#8378).
14953 Also clean up the code slightly.
14954
14955 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14956 because that makes the colors go away.
14957
14958 * mail/sendmail.el (send-mail-function): Change the default to
14959 `sendmail-query-once'.
14960 (sendmail-query-once): Add an autoload cookie.
14961
14962 * net/network-stream.el (network-stream-open-starttls): Try using
14963 a plain connection even if the server offered STARTTLS, and we
14964 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14965 capability. This should make smtpmail.el work in slightly more
14966 configurations.
14967
14968 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
14969
14970 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14971 New defun.
14972 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14973
14974 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14975
14976 * progmodes/sql.el: Version 3.0
14977 (sql-product-alist): Add product :completion-object,
14978 :completion-column, and :statement attributes.
14979 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14980 (sql-mode-syntax-table): Mark all punctuation.
14981 (sql-font-lock-keywords-builder): Temporarily remove fallback on
14982 ansi keywords.
14983 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14984 (sql-mode-oracle-font-lock-keywords): Improve.
14985 (sql-oracle-show-reserved-words): New function for development.
14986 (sql-product-font-lock): Simplify for source code buffers.
14987 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14988 New functions.
14989 (sql-highlight-product): Set product specific syntax table.
14990 (sql-mode-map): Add statement movement functions.
14991 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14992 New variable.
14993 (sql-statement-regexp, sql-beginning-of-statement)
14994 (sql-end-of-statement, sql-signum): New functions.
14995 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14996 (sql-show-sqli-buffer): Bug fix.
14997 (sql-interactive-mode): Store connection data as buffer local.
14998 (sql-connect): Add NEW-NAME parameter. Redesign interaction
14999 with sql-interactive-mode.
15000 (sql-save-connection): Save buffer local settings.
15001 (sql-connection-menu-filter): Change menu entry name.
15002 (sql-product-interactive): Bug fix.
15003 (sql-preoutput-hold): New variable.
15004 (sql-interactive-remove-continuation-prompt): Bug fixes.
15005 (sql-debug-redirect): New variable.
15006 (sql-str-literal): New function.
15007 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15008 Redesign.
15009 (sql-oracle-save-settings, sql-oracle-restore-settings)
15010 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15011 (sql-completion-object, sql-completion-column)
15012 (sql-completion-sqlbuf): New variables.
15013 (sql-build-completions-1, sql-build-completions)
15014 (sql-try-completion): New functions.
15015 (sql-read-table-name): Use them.
15016 (sql-contains-names): New buffer local variable.
15017 (sql-list-all, sql-list-table): Use it.
15018 (sql-oracle-completion-types): New variable.
15019 (sql-oracle-completion-object, sql-sqlite-completion-object)
15020 (sql-postgres-completion-object): New functions.
15021
15022 2011-07-06 Glenn Morris <rgm@gnu.org>
15023
15024 * window.el (pop-to-buffer): Doc fix.
15025
15026 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15027
15028 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15029
15030 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15031
15032 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15033
15034 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15035
15036 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15037
15038 * button.el (button): Inherit from link face. Suggested by Dan
15039 Nicolaescu.
15040
15041 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15042
15043 * progmodes/gdb-mi.el: Fit in 80 columns.
15044 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15045 switch-to-buffer.
15046
15047 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15048 if imenu is simply not configured (bug#8941).
15049
15050 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15051
15052 * allout.el (allout-post-undo-hook): New allout outline-change
15053 event hook to signal undo activity.
15054 (allout-post-command-business): Run allout-post-undo-hook if an
15055 undo just occurred.
15056 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15057 * allout-widgets.el (allout-widgets-after-undo-function):
15058 Ensure the integrity of the current item's decoration after it has been
15059 in the vicinity of an undo.
15060 (allout-widgets-mode): Include allout-widgets-after-undo-function
15061 on the new allout-post-undo-hook.
15062
15063 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15064
15065 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15066 Let define-derived-mode define it.
15067 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15068 cycles of abbrev-table inheritance (bug#8998).
15069
15070 2011-07-05 Roland Winkler <winkler@gnu.org>
15071
15072 * textmodes/bibtex.el: Add support for biblatex.
15073 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15074 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15075 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15076 (bibtex-entry-alist, bibtex-field-alist): New variables.
15077 (bibtex-entry-field-alist): Obsolete alias for
15078 bibtex-BibTeX-entry-alist.
15079 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15080 (bibtex-set-dialect): New command.
15081 (bibtex-entry-type, bibtex-entry-head)
15082 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15083 Bind via bibtex-set-dialect.
15084 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15085 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15086 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15087 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15088 Define via bibtex-set-dialect.
15089 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15090 Obey bibtex-no-opt-remove-re.
15091 (bibtex-vec-push, bibtex-vec-incr): New functions.
15092 (bibtex-format-entry, bibtex-field-list)
15093 (bibtex-print-help-message, bibtex-validate)
15094 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15095
15096 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15097
15098 * progmodes/compile.el (compilation-goto-locus):
15099 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15100 * bs.el (bs-cycle-next, bs-cycle-previous):
15101 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15102 * bindings.el (mode-line-other-buffer):
15103 * autoinsert.el (auto-insert):
15104 * arc-mode.el (archive-extract):
15105 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15106
15107 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15108
15109 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15110 Fix check of `emacs-lock-unlockable-modes'.
15111 Coerce true values of `emacs-lock--try-unlocking' to t.
15112
15113 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15114
15115 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15116 * emacs-lock.el: New file.
15117
15118 2011-07-05 Julien Danjou <julien@danjou.info>
15119
15120 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15121 than `boundp' to check if face is set.
15122
15123 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15124
15125 * register.el (registerv-make):
15126 * window.el (window-min-height): Fix typos in docstrings.
15127
15128 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15129
15130 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15131 Update doc string.
15132
15133 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15134
15135 * server.el (server-execute): Catch quit and call
15136 `server-return-error' to pass the error back to emacsclient and
15137 close the connection (bug#8942).
15138
15139 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15140
15141 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15142 insecure exception for current topic. Also note that auto-saves
15143 are handled differently.
15144
15145 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15146 State variables for tracking auto-save inhibition situation.
15147
15148 (allout-write-contents-hook-handler): Rename from
15149 'allout-write-file-hook-handler', and describe how it depends on
15150 write-contents-functions sensitivity to non-nil value to prevent
15151 file write.
15152
15153 (allout-auto-save-hook-handler): Remove. auto-save does not check
15154 this in individual buffers, only in the starting buffer, so this
15155 is not the right way for us to inhibit auto-save in a buffer
15156 according to its condition.
15157
15158 (allout-mode): Use new allout-write-contents-hook-handler, and
15159 only with write-contents-functions. Remove auto-save provisions -
15160 they're implemented elsewhere.
15161
15162 (allout-before-change-handler): If undo is in progress, note that
15163 for attention of allout-post-command-business.
15164
15165 (allout-post-command-business): If the command we're following was
15166 an undo, check for change in the status of encrypted items and
15167 adjust auto-save inhibitions accordingly.
15168
15169 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15170 according to whether there are or aren't any plain-text topics
15171 pending encryption.
15172
15173 (allout-inhibit-auto-save-info-for-decryption):
15174 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15175 if there are plain-text topics pending encryption.
15176
15177 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15178 buffer-saved-size and some allout state to not inhibit auto-saves
15179 if there are no longer any plain-text topics pending encryption.
15180
15181 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15182 No longer provide for exemption of the current topic.
15183
15184 2011-07-04 Juri Linkov <juri@jurta.org>
15185
15186 Add 7z operations to delete and save changed members (bug#8968).
15187 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15188 New defcustoms.
15189 (archive-7z-write-file-member): New function.
15190 (archive-7z-summarize): Fix the number of dashes in the
15191 listing output.
15192
15193 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15194
15195 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15196 (bug#8958).
15197
15198 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15199
15200 * bindings.el: Ignore next-buffer and previous-buffer in
15201 minibuffer-local-map.
15202
15203 * font-lock.el (font-lock-builtin-face): Change light background
15204 color to dark slate blue (Bug#6693).
15205
15206 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15207
15208 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15209
15210 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15211
15212 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15213 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15214 Add switch-to-buffer.
15215
15216 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15217
15218 * isearch.el (isearch-search-fun-function): Clarify further the
15219 meaning of the function returned.
15220
15221 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15222
15223 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15224
15225 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15226 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15227 Use it.
15228 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15229 `tramp-default-remote-path' does not exist.
15230 (tramp-send-command-and-read): New optional argument NOERROR.
15231 (tramp-open-connection-setup-interactive-shell)
15232 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15233 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15234 (tramp-process-sentinel): Flush also process' connection property.
15235 (tramp-sh-handle-start-file-process): Do not set process
15236 sentinel. It is done now ...
15237 (tramp-maybe-open-connection): ... here. (Bug#8929)
15238
15239 2011-07-04 MON KEY <monkey@sandpframing.com>
15240
15241 * play/animate.el (animate-string): Doc fixes and allow changing
15242 the buffer name (bug#5417).
15243
15244 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15245
15246 * play/animate.el (animation-buffer-name): Rename from *animate*.
15247
15248 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15249
15250 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15251 This is simpler and helps future-proof the code.
15252 (timer-until): Use time-subtract and float-time.
15253 (timer--time-less-p): Use time-less-p.
15254
15255 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15256
15257 * type-break.el (timep): Use the value of `float-time' to avoid a
15258 byte-compiler warning.
15259
15260 * server.el (server-eval-and-print): Return any result, even nil.
15261
15262 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15263
15264 * type-break.el: Accept time formats that the builtins accept.
15265 (timep, type-break-time-difference): Accept any format that
15266 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15267 This is simpler and helps future-proof the code.
15268 (type-break-time-difference): Round rather than ignoring
15269 subseconds components.
15270
15271 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15272
15273 * info.el (Info-apropos-matches): Make non-interactive, since it
15274 doesn't seem to do anything useful as a command (bug#8829).
15275
15276 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15277
15278 * frame.el (frame-background-mode, frame-set-background-mode):
15279 Move from faces.el.
15280 (frame-default-terminal-background): New function.
15281
15282 * custom.el (custom-push-theme): Don't record faces in `changed'
15283 theme; this doesn't work correctly for per-frame face settings.
15284 (disable-theme): Use face-set-after-frame-default to reset faces.
15285 (custom--frame-color-default): New function.
15286
15287 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15288
15289 * dired.el (dired-flagging-regexp): Remove unused variable
15290 (bug#8769).
15291
15292 2011-03-29 Kevin Ryde <user42@zip.com.au>
15293
15294 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15295 `perl-Test2' extend to match possible "fail #N" rep count
15296 (bug#8377).
15297
15298 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15299
15300 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15301 `smtpmail-via-smtp' now returns the error instead of nil.
15302
15303 * isearch.el (isearch-search-fun-function): Clarify the doc string
15304 (bug#8101).
15305
15306 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15307
15308 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15309 unnecessary spaces (bug#8987).
15310
15311 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15312
15313 * net/network-stream.el (open-network-stream): Use the
15314 :end-of-capability command thoughout.
15315
15316 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15317
15318 * net/network-stream.el (open-network-stream): Add the
15319 :end-of-capability command parameter, used by pop3.el.
15320
15321 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15322
15323 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15324
15325 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15326 for list)" (bug#6475).
15327
15328 * files.el (file-expand-wildcards): Ignore non-readable
15329 sub-directories while trying to find matches instead of signaling
15330 an error (bug#6297).
15331
15332 * man.el (Man-reference-regexp): Allow matching possible
15333 word-wrapped references (bug#6289).
15334
15335 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15336 for consistency with the other vc buffers (bug#6197).
15337 (vc-checkin): Ditto.
15338
15339 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15340
15341 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15342
15343 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15344
15345 * custom.el (defcustom): Clarify that :set is only used in the
15346 Customize user interface (bug#6089).
15347
15348 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15349 associated with a file, refuse to run instead of erroring out
15350 (bug#6084).
15351
15352 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15353 the doc string, since it appears that using `fill-column' always
15354 controls the width (bug#7845).
15355
15356 * simple.el (shell-command-on-region): Say where the error output
15357 went if `shell-command-default-error-buffer' is set (bug#6857).
15358
15359 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15360
15361 * allout.el (allout-yank-processing): Adjust cursor position for
15362 backwards-deleted space.
15363
15364 (allout-rebullet-heading): Register changes with
15365 allout-exposure-changed-hook, so the modified topic is properly
15366 decorated.
15367
15368 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15369
15370 * minibuffer.el (completion-in-region): Document PREDICATE
15371 (bug#7136).
15372
15373 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15374 of keyword/argument pairs (bug#6904).
15375
15376 * replace.el (multi-occur):
15377 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15378
15379 2011-07-02 Drew Adams <drew.adams@oracle.com>
15380
15381 * dired.el (dired-mark-if): Make the message about whether it's
15382 marking or unmarking clearer (bug#8523).
15383
15384 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15385
15386 * disp-table.el (display-table-print-array): New function.
15387 (describe-display-table): Use it to print the vectors more pretty
15388 (Bug#8859).
15389
15390 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15391
15392 * window.el (window-state-get-1): Don't assign clone numbers.
15393 Add clone-of item to list of window parameters.
15394 (window-state-put-2): Don't process clone numbers.
15395 (display-buffer-alist): Fix doc-string.
15396
15397 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15398
15399 * subr.el (remq): Don't allocate if it's not needed.
15400 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15401 (keymap--merge-bindings): New functions.
15402 (keymap-canonicalize): Use them to refine the canonicalization.
15403 * minibuffer.el (minibuffer-local-completion-map)
15404 (minibuffer-local-must-match-map): Move initialization from C.
15405 (minibuffer-local-filename-completion-map): Move initialization from C;
15406 don't inherit from anything here.
15407 (minibuffer-local-filename-must-match-map): Make obsolete.
15408 (completing-read-default): Use make-composed-keymap to combine
15409 minibuffer-local-filename-completion-map with either
15410 minibuffer-local-must-match-map or
15411 minibuffer-local-filename-completion-map.
15412
15413 2011-07-01 Glenn Morris <rgm@gnu.org>
15414
15415 * type-break.el (type-break-time-sum): Use dolist.
15416
15417 * textmodes/flyspell.el (flyspell-word-search-backward):
15418 Replace CL function.
15419
15420 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15421
15422 * mouse.el (mouse--strip-first-event): New function.
15423 (function-key-map): Use it to map fringe clicks to normal clicks
15424 by default.
15425
15426 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15427 (vc-bzr-revision-completion-table): Add support for annotate and date.
15428
15429 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15430 inherit from parent.
15431
15432 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15433
15434 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15435 (dired-show-file-type): Doc fixup (bug#8818).
15436
15437 * dired.el (dired-mode): Fix up the doc string as suggested by
15438 Drew Adams (bug#8817).
15439
15440 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15441 cookie, since the manual says that it should be possible to add
15442 this function to `find-file-hook' (bug#8709).
15443
15444 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15445
15446 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15447 here. Noted Ted Zlatanov as the maintainer.
15448 (cfengine-common-settings, cfengine-common-syntax): New functions
15449 to set up common things between `cfengine-mode' and
15450 `cfengine3-mode'.
15451 (cfengine3-mode): New mode.
15452 (cfengine3-defuns cfengine3-defuns-regex
15453 (cfengine3-class-selector-regex cfengine3-category-regex)
15454 (cfengine3-vartypes cfengine3-font-lock-keywords)
15455 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15456 (cfengine3-indent-line): Add from cfengine3.el.
15457
15458 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
15459
15460 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15461
15462 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15463
15464 2011-07-01 Martin Rudalics <rudalics@gmx.at>
15465
15466 * window.el (same-window-buffer-names, same-window-regexps)
15467 (same-window-p, special-display-frame-alist)
15468 (special-display-popup-frame, special-display-function)
15469 (special-display-buffer-names, special-display-regexps)
15470 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15471 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15472 (split-window-preferred-function, split-height-threshold)
15473 (split-width-threshold, even-window-heights)
15474 (display-buffer-mark-dedicated, window-splittable-p)
15475 (split-window-sensibly, window-safely-shrinkable-p):
15476 Un-obsolete.
15477 (display-buffer): Don't spread args with function specifier
15478 because special-display-popup-frame won't like it.
15479
15480 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15481
15482 Time-stamp simplifications and fixes.
15483 These improve accuracy slightly, and future-proof the code
15484 against some potential changes to current-time format.
15485
15486 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15487 by using time-since and float-time.
15488
15489 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15490 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15491 + NNN microseconds".
15492
15493 * type-break.el (type-break-time-sum): Rewrite using time-add.
15494
15495 * play/hanoi.el (hanoi-current-time-float): Remove.
15496 All uses replaced by float-time.
15497
15498 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15499 This yields a more-accurate answer.
15500 (rng-time-to-float): Remove; no longer needed.
15501
15502 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15503
15504 * calendar/timeclock.el (timeclock-seconds-to-time):
15505 Defalias to seconds-to-time, since they're the same thing.
15506
15507 * emacs-lisp/elp.el (elp-elapsed-time):
15508 * emacs-lisp/benchmark.el (benchmark-elapse):
15509 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15510
15511 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15512
15513 * window.el (bury-buffer): Don't iconify the only frame.
15514 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15515 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15516
15517 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15518
15519 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15520 Add mouse-yank-primary.
15521
15522 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15523
15524 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15525
15526 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15527
15528 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15529 (find-library-name): Use it to find relative load names when provided
15530 absolute file name (bug#8803).
15531
15532 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15533
15534 * textmodes/flyspell.el (flyspell-word): Consider words that
15535 differ only in case as potential doublons (bug#5687).
15536
15537 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15538 Remove two rather uninteresting debugging-like messages to make
15539 debbugs.el more silent.
15540
15541 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15542 a password-like phrase.
15543
15544 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15545
15546 * progmodes/cc-guess.el: New file.
15547
15548 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15549
15550 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15551 derived from `c-basic-common-init'.
15552
15553 * progmodes/cc-mode.el (top-level): Require cc-guess.
15554 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15555
15556 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15557
15558 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15559
15560 2011-06-30 Alan Mackenzie <acm@muc.de>
15561
15562 * progmodes/cc-engine.el (c-guess-continued-construct):
15563 Correct the handling of template-args-cont, particularly for when font
15564 lock is disabled. Name this case as "CASE G".
15565
15566 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15567
15568 * allout.el (allout-yank-processing): Fix injection of extra space
15569 between bullet and non-whitespace character in first topic when
15570 pasting, ensuring that the actual spacing in the pasted topic
15571 following the bullet char is preserved. This extra space was
15572 causing pasted encrypted topics to get a decrypted status even
15573 when the content was actually still encrypted. Now the decryption
15574 status from before the paste is preserved.
15575
15576 (allout-flag-region): Set all allout overlays so they evaporate
15577 when reduced to zero length (evanescent), to prevent overlay
15578 leakage.
15579
15580 2011-06-30 Glenn Morris <rgm@gnu.org>
15581
15582 * w32-fns.el (w32-charset-info-alist): Declare.
15583
15584 * find-dired.el (find-grep-options): Simplify.
15585
15586 * term/ns-win.el (ns-set-resource): Declare.
15587
15588 * ses.el (row, col): Declare dynamic variables honestly.
15589
15590 * textmodes/reftex-parse.el (index-tags): Declare.
15591
15592 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15593
15594 * cus-edit.el (customize-push-and-save): New function.
15595
15596 * files.el (hack-local-variables-confirm): Use it.
15597
15598 * custom.el (load-theme): New arg NO-CONFIRM.
15599 Use customize-push-and-save (Bug#8720).
15600 (custom-enabled-themes): Doc fix.
15601
15602 * cus-theme.el (customize-create-theme)
15603 (custom-theme-merge-theme): Callers to load-theme changed.
15604
15605 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15606
15607 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15608 short URLs have at least one dot in them (bug #7614).
15609
15610 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15611 nil, because using a pty is apparently too slow (bug #895).
15612
15613 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15614
15615 * mail/sendmail.el (sendmail-query-once): New function.
15616 (sendmail-query-once-function): New variable.
15617
15618 2011-06-29 Glenn Morris <rgm@gnu.org>
15619
15620 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15621
15622 * ses.el (top-level): Require cl when compiling.
15623 (ses-set-localvars): Fix error statement.
15624 Call it at compile time to silence a storm of warnings.
15625
15626 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15627
15628 * window.el (normalize-live-buffer): Rename to
15629 window-normalize-buffer.
15630 (normalize-live-frame): Rename to window-normalize-frame.
15631 (normalize-any-window): Rename to window-normalize-any-window.
15632 (normalize-live-window): Rename to window-normalize-live-window.
15633 (make-window-atom): Rename to window-make-atom.
15634 (window-resize-reset): Rename to window--resize-reset.
15635 (window-resize-reset-1): Rename to window--resize-reset-1.
15636 (resize-mini-window): Rename to window--resize-mini-window.
15637 (resize-subwindows-skip-p): Rename to
15638 window--resize-subwindows-skip-p.
15639 (resize-subwindows-normal): Rename to
15640 window--resize-subwindows-normal.
15641 (resize-subwindows): Rename to window--resize-subwindows.
15642 (resize-other-windows): Rename to window--resize-siblings.
15643 (resize-this-window): Rename to window--resize-this-window.
15644 (resize-root-window): Rename to window--resize-root-window.
15645 (resize-root-window-vertically): Rename to
15646 window--resize-root-window-vertically.
15647 (normalize-buffer-to-display): Rename to
15648 window-normalize-buffer-to-display.
15649 (normalize-buffer-to-switch-to): Rename to
15650 window-normalize-buffer-to-switch-to.
15651 Correspondingly update all callers of the functions listed
15652 above.
15653 (display-buffer-alist, display-buffer-normalize-arguments)
15654 (display-buffer-normalize-options, display-buffer)
15655 (display-buffer-alist-set): Use "function" instead of
15656 "fun-with-args".
15657
15658 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15659
15660 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15661 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15662 debbugs.gnu.org. Mention acknowledgment email.
15663
15664 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15665
15666 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15667 buffer multibyteness, since it shouldn't matter.
15668
15669 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15670
15671 * window.el (display-buffer-in-side-window): Handle dedicated
15672 windows as in display-buffer-reuse-window.
15673 (display-buffer-normalize-alist): Use value of override
15674 specifier.
15675 (display-buffer-normalize-specifiers): Use value of
15676 other-window-means-other-frame specifier.
15677 (display-buffer-alist): Rewrite some texts in widgets.
15678 (display-buffer): Spread arguments when calling function
15679 specified by fun-with-args.
15680
15681 2011-06-28 Deniz Dogan <deniz@dogan.se>
15682
15683 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15684 Unnest `let'.
15685
15686 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15687 selectors (Bug#5732).
15688 (css-proprietary-nmstart-re): Use `regexp-opt'.
15689
15690 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15691
15692 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15693 (eshell-ls-date-format): New defcustom.
15694 (eshell-ls-file): Use it.
15695
15696 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15697
15698 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15699
15700 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15701
15702 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15703 (ange-ftp-make-tmp-name): New arg.
15704 (ange-ftp-file-local-copy): Use it.
15705
15706 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15707
15708 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15709 no-conversion (Bug#8870).
15710
15711 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15712
15713 * window.el (window-right, window-left, window-child)
15714 (window-child-count, window-last-child)
15715 (window-iso-combination-p, walk-window-tree-1)
15716 (window-atom-check-1, window-tree-1, delete-window)
15717 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15718 new naming conventions - window-vchild, window-hchild,
15719 window-next and window-prev are now called window-top-child,
15720 window-left-child, window-next-sibling and window-prev-sibling
15721 respectively.
15722 (resize-window-reset): Rename to window-resize-reset.
15723 (resize-window-reset-1): Rename to window-resize-reset-1.
15724 (resize-window): Rename to window-resize.
15725 (window-min-height, window-min-width)
15726 (resize-mini-window, resize-this-window, resize-root-window)
15727 (resize-root-window-vertically, adjust-window-trailing-edge)
15728 (enlarge-window, shrink-window, maximize-window)
15729 (minimize-window, delete-window, quit-restore-window)
15730 (split-window, balance-windows, balance-windows-area-adjust)
15731 (balance-windows-area, window-state-put-2)
15732 (display-buffer-even-window-sizes, display-buffer-set-height)
15733 (display-buffer-set-width, set-window-text-height)
15734 (fit-window-to-buffer): Rename all "resize-window" prefixed
15735 calls to use the "window-resize" prefix convention.
15736 (display-buffer-alist): Fix symbol for label specifier.
15737 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15738 corresponding specifier.
15739 Reported by Juanma Barranquero <lekktu@gmail.com>.
15740
15741 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15742
15743 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15744 convention.
15745 (ses-call-printer): Does not pass an empty string to formatter when the
15746 cell is empty to keep from barking printer Calc math-format-value.
15747
15748 2011-06-27 Richard Stallman <rms@gnu.org>
15749
15750 * battery.el (battery-mode-line-limit): New variable.
15751 (battery-update): Handle it.
15752
15753 * mail/rmailmm.el (rmail-mime-process-multipart):
15754 Handle truncated messages.
15755
15756 2011-06-27 Glenn Morris <rgm@gnu.org>
15757
15758 * progmodes/flymake.el (flymake-err-line-patterns):
15759 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15760
15761 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15762
15763 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15764 (ses--clean-!, ses--clean-_): New functions.
15765 (ses-range): Add configurability of readout order, and conversion
15766 to Calc vector.
15767
15768 * ses.el (ses-repair-cell-reference-all): New function.
15769 (ses-cell-symbol): Set macro as safe, so that it can be used in
15770 formulas.
15771
15772 * ses.el: Update cycle detection algorithm.
15773 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15774 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15775 (ses-set-localvars): New function.
15776 (ses-make-cell): Add property-list as a cell element.
15777 (ses-cell-property-get-fun, ses-cell-property-get)
15778 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15779 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15780 New functions.
15781 (ses-cell-property-set, ses-cell-property-pop)
15782 (ses-cell-property-get-handle): New macro.
15783 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15784 New aliases, used for code readability.
15785 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15786 cycle detection.
15787 (ses-self-reference-early-detection): New defcustom.
15788 (ses-formula-references): Robustify against self-referring cells.
15789 (ses-mode): Use ses-set-localvars.
15790 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15791 before lauching the update processing.
15792 (ses-initialize-Dijkstra-attempt): New function.
15793 (ses-recalculate-cell): Update for cycle detection based on
15794 Dijkstra algorithm.
15795
15796 * ses.el: Fix commenting and indenting convention.
15797
15798 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15799
15800 * bs.el (bs-cycle-next): Complete last change.
15801
15802 2011-06-27 Drew Adams <drew.adams@oracle.com>
15803
15804 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15805
15806 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15807
15808 * net/network-stream.el (network-stream-open-starttls):
15809 Don't re-get capabilities unless we've reestablished connection.
15810 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15811
15812 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15813 to binary to possibly avoid line encoding issues on Windows (among
15814 other things).
15815
15816 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15817
15818 * net/network-stream.el (open-network-stream): Return an :error
15819 saying what the problem was, if possible.
15820
15821 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15822 server.
15823
15824 * net/network-stream.el (network-stream-open-starttls): If we
15825 wanted to use STARTTLS, and the server offered it, but we weren't
15826 able to because we had no STARTTLS support, then close the connection.
15827 (open-network-stream): Return an :error element, if present.
15828
15829 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15830
15831 * hl-line.el (hl-line-sticky-flag): Doc fix.
15832 (global-hl-line-sticky-flag): New option (Bug#8323).
15833 (global-hl-line-highlight): Obey it.
15834
15835 * vc/vc.el (vc-revert-show-diff): Default to t.
15836
15837 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15838
15839 * allout-widgets.el (allout-widgets-post-command-business):
15840 Stop decorating intermediate isearch matches. They're not being
15841 undecorated when an isearch is continued past, and isearch
15842 automatically collapses them. This leads to "widget leaks", where
15843 decorated items accumulate in collapsed areas. Lines with lots of
15844 hidden widgets can slow down cursor travel, substantially.
15845 Too much complicated machinery would be needed to ensure undecoration,
15846 so we're doing without this nicety.
15847
15848 (allout-widgets-tally-string): Don't try to do a hash-table-count
15849 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15850 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15851 *Messages* when allout-widgets-maintain-tally is t.
15852
15853 2011-06-26 Martin Rudalics <rudalics@gmx.at>
15854
15855 * window.el (display-buffer-normalize-argument): Rename to
15856 display-buffer-normalize-arguments. Handle special meaning of
15857 LABEL argument. Respect special-display-function when popping up
15858 a new frame. Fix code searching for a window showing the buffer
15859 on another frame.
15860 (display-buffer-normalize-specifiers):
15861 Call display-buffer-normalize-arguments.
15862 (display-buffer-in-window): Don't undedicate the window if its
15863 buffer remains the same.
15864 Reported by Drew Adams <drew.adams@oracle.com>.
15865 (display-buffer-alist): Add choice for same-window macro
15866 specfier.
15867 (display-buffer): Mention special meaning of LABEL argument in
15868 doc-string. Fix quoting. Don't pop up a new frame even as
15869 fallback.
15870
15871 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
15872
15873 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15874 avoid deleting the current window in some cases (bug#8911).
15875
15876 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15877
15878 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15879 (Bug#8934)
15880
15881 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15882
15883 * net/network-stream.el (network-stream-open-starttls):
15884 Use built-in TLS support if `gnutls-available-p' is true.
15885 (network-stream-open-tls): Ditto.
15886
15887 2011-06-26 Leo Liu <sdl.web@gmail.com>
15888
15889 * register.el (registerv): New struct.
15890 (registerv-make): New function.
15891 (jump-to-register, describe-register-1, insert-register):
15892 Support the jump-func, print-func and insert-func slot of a registerv
15893 struct. (Bug#8415)
15894
15895 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15896
15897 * vc/vc.el (vc-revert-show-diff): New defcustom.
15898 (vc-diff-internal): New arg specifying diff buffer.
15899 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15900 reuse an existing *vc-diff* buffer (Bug#8927).
15901
15902 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15903
15904 2011-06-26 Glenn Morris <rgm@gnu.org>
15905
15906 * progmodes/f90.el (f90-critical-indent): New option.
15907 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15908 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15909 (f90-mode): Doc fix.
15910 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15911 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15912 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15913 (f90-match-end): Handle block, critical.
15914
15915 2011-06-25 Glenn Morris <rgm@gnu.org>
15916
15917 * calendar/diary-lib.el (diary-included-files): Doc fix.
15918 (diary-include-files): New function, extracted from
15919 diary-include-other-diary-files and diary-mark-included-diary-files.
15920 (diary-include-other-diary-files, diary-mark-included-diary-files):
15921 Just call diary-include-files.
15922 (diary-mark-entries): Reset diary-included-files on first call.
15923
15924 * calendar/diary-lib.el (diary-mark-entries)
15925 (diary-mark-included-diary-files):
15926 Visit included diary-files in temp buffers.
15927
15928 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15929 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15930 (f90-start-block-re, f90-imenu-generic-expression)
15931 (f90-looking-at-program-block-start, f90-no-block-limit):
15932 Add support for submodules.
15933
15934 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15935 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15936
15937 2011-06-25 Eli Zaretskii <eliz@gnu.org>
15938
15939 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15940 buffer-file-type before setting its value, to avoid disastrous
15941 global effects on decoding files for DOS/Windows systems. (Bug#8780)
15942
15943 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15944
15945 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15946
15947 * ses.el (ses-unload-function):
15948 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15949
15950 * proced.el (proced-unload-function):
15951 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15952
15953 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15954
15955 * server.el (server-create-window-system-frame): Add parameters arg.
15956 (server-process-filter): Doc fix. Handle frame-parameters.
15957
15958 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15959
15960 Fix bug#8730, bug#8781.
15961
15962 * loadhist.el (unload--set-major-mode): New function.
15963 (unload-feature): Use it.
15964
15965 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15966 (python-unload-function): New function.
15967
15968 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15969
15970 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15971
15972 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15973
15974 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15975 the candidates list.
15976
15977 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
15978
15979 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15980
15981 2011-06-23 Richard Stallman <rms@gnu.org>
15982
15983 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15984 (rmail-variables): Set next-error-move-function.
15985 (rmail-what-message): Take argument POS.
15986 (rmail-next-error-move): New function.
15987
15988 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15989
15990 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15991 messages for adjacent non-terminals.
15992
15993 2011-06-23 Richard Stallman <rms@gnu.org>
15994
15995 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15996 (rmail-show-message-1): Preserve buffer modified flag.
15997 (rmail-start-mail): Don't specify use of rmail-mail-return;
15998 that's done by mail-bury now.
15999 (rmail-mail-return): Handle arg NEWBUF.
16000
16001 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16002
16003 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16004 SIZE is a number.
16005
16006 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16007
16008 * window.el (get-lru-window, get-mru-window)
16009 (get-largest-window): Never return a minibuffer window.
16010 (display-buffer-pop-up-window): Fix a bug that could lead to
16011 reusing the minibuffer window.
16012 (display-buffer): Pass original specifier argument to
16013 display-buffer-function instead of the normalized one.
16014 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16015
16016 2011-06-22 Leo Liu <sdl.web@gmail.com>
16017
16018 * minibuffer.el (completing-read-function)
16019 (completing-read-default): Move from minibuf.c
16020
16021 2011-06-22 Richard Stallman <rms@gnu.org>
16022
16023 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16024 to Rmail even if not started by a special Rmail command.
16025
16026 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16027 Copy the buffer currently showing just one message.
16028
16029 2011-06-22 Roland Winkler <winkler@gnu.org>
16030
16031 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16032 (bibtex-clean-entry): First delete the old key so that a
16033 customized algorithm for generating the new key does not get
16034 confused by the old key.
16035 (bibtex-url): Obey regexp of first step.
16036 (bibtex-search-entries): Do not use add-to-list with local
16037 list-var.
16038
16039 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16040
16041 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16042 stored a user name, then query for the password first, instead of
16043 waiting for SMTP to give an error message and the trying again.
16044
16045 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16046
16047 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16048 BUFFER in call-process.
16049
16050 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16051
16052 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16053 QUIT twice.
16054 (smtpmail-try-auth-methods): Require user name and password from
16055 auth-source.
16056
16057 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16058
16059 * window.el (display-buffer-default-specifiers)
16060 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16061 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16062 (split-window): Normalize SIDE argument (Bug#8916).
16063
16064 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16065 (special-display-frame-alist, special-display-popup-frame):
16066 Remove duplicate declarations. These are now in window.el.
16067
16068 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16069
16070 * mail/smtpmail.el (smtpmail-via-smtp):
16071 Set :use-starttls-if-possible so that we always use STARTTLS if the
16072 server supports it. SMTP servers that support STARTTLS commonly
16073 require it.
16074
16075 * net/network-stream.el (network-stream-open-starttls): Support
16076 upgrading to STARTTLS always, even if we don't have built-in support.
16077 (open-network-stream): Add the :always-query-capabilities keyword.
16078
16079 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16080 upgrades with `open-network-stream', and rely solely on
16081 auth-source for all credentials. Big changes throughout the file,
16082 but in particular:
16083 (smtpmail-auth-credentials): Remove.
16084 (smtpmail-starttls-credentials): Remove.
16085 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16086 MAIL FROM, too.
16087
16088 * net/network-stream.el (network-stream-open-starttls):
16089 Provide support for client certificates both for external and built-in
16090 STARTTLS.
16091 (auth-source): Require.
16092 (open-network-stream): Document the :client-certificate keyword.
16093 (network-stream-certificate): Change cert-cert to cert and
16094 cert-key to key.
16095
16096 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16097
16098 * net/tramp-cache.el (top): Don't load the persistency file when
16099 "emacs -Q" has been called.
16100
16101 2011-06-21 Tim Harper <timcharper@gmail.com>
16102
16103 * term/ns-win.el (ns-initialize-window-system):
16104 Set application-specific `ApplePressAndHoldEnabled' system
16105 resource to NO as it is not yet supported by the NS port.
16106
16107 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16108
16109 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16110 (list-dynamic-libraries): ...not here.
16111
16112 2011-06-21 Leo Liu <sdl.web@gmail.com>
16113
16114 * subr.el (sha1): Implement sha1 using secure-hash.
16115
16116 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16117
16118 * window.el (display-buffer-alist): In default value do not
16119 enforce searching a window on any but the selected frame.
16120 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16121 (display-buffer-select-window): Remove function.
16122 (display-buffer-in-window): When a window on another frame gets
16123 reused, do not select it any more but just raise its frame if
16124 necessary (Bug#8851) and (Bug#8856).
16125 (display-buffer-normalize-options): Handle pop-up-frames related
16126 options more faithfully.
16127 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16128 window if it is on another frame.
16129 (display-buffer-alist, display-buffer-default-specifiers):
16130 Don't make new frame unsplittable by default.
16131 (display-buffer-normalize-argument): Fix doc-string typo and use
16132 'same-frame-other-window instead of 'other-window when associating
16133 with display-buffer-macro-specifiers.
16134
16135 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16136
16137 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16138 New functions.
16139 (5x5-mode-map, 5x5-mode-menu): Bind them.
16140 (5x5-draw-grid): Tweak the solver's rendering.
16141
16142 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16143
16144 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16145 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16146
16147 2011-06-21 Drew Adams <drew.adams@oracle.com>
16148
16149 * menu-bar.el: Use function variable instead of switch-to-buffer.
16150 (menu-bar-select-buffer-function): New variable.
16151 (menu-bar-update-buffers): Use it (bug#8876).
16152
16153 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16154
16155 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16156 variable's status.
16157
16158 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16159
16160 * x-dnd.el (x-dnd-version-from-flags)
16161 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16162 and long as number (Bug#8899).
16163 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16164
16165 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16166
16167 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16168 (completion-try-completion, completion-all-completions): Compute the
16169 metadata argument if it's missing; make it optional (bug#8795).
16170
16171 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16172 (widget-complete): Use new :completion-function property.
16173 (widget-completions-at-point): New function.
16174 (default): Use :completion-function instead of :complete.
16175 (widget-default-completions): Rename from widget-default-complete;
16176 Rewrite.
16177 (widget-string-complete, widget-file-complete, widget-color-complete):
16178 Remove functions.
16179 (file, symbol, function, variable, coding-system, color):
16180 * international/mule-cmds.el (default-input-method, charset)
16181 (language-info-custom-alist):
16182 * cus-edit.el (face): Use new property :completions.
16183
16184 * progmodes/pascal.el (pascal-completions-at-point): New function.
16185 (pascal-mode): Use it.
16186 (pascal-mode-map): Use completion-at-point.
16187 (pascal-toggle-completions): Make obsolete.
16188 (pascal-complete-word, pascal-show-completions):
16189 * progmodes/octave-mod.el (octave-complete-symbol):
16190 Redefine as obsolete alias.
16191 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16192 Signal absence of completion info for old Octave,
16193 (inferior-octave-complete): Redefine as obsolete alias.
16194 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16195 (meta-completions-at-point): Rename from meta-complete-symbol and
16196 adapt it for use on completion-at-point-functions.
16197 (meta-common-mode): Use it.
16198 (meta-looking-at-backward, meta-match-buffer): Remove.
16199 (meta-complete-symbol): Redefine as obsolete alias.
16200 (meta-common-mode-map): Use completion-at-point.
16201 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16202 (makefile-mode-map): Use completion-at-point.
16203 (makefile-completions-at-point): Rename from makefile-complete and
16204 adapt it for use on completion-at-point-functions.
16205 (makefile-mode): Use it.
16206 (makefile-complete): Redefine as obsolete alias.
16207
16208 2011-06-20 Deniz Dogan <deniz@dogan.se>
16209
16210 * net/rcirc.el: Delete trailing whitespaces once and for all.
16211
16212 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16213
16214 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16215
16216 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16217
16218 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16219
16220 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16221
16222 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16223
16224 * window.el (display-buffer-other-window-means-other-frame):
16225 Call display-buffer-normalize-alist.
16226 (display-buffer-normalize-specifiers-1): Rename to
16227 display-buffer-normalize-argument. New argument other-frame.
16228 Rewrite.
16229 (display-buffer-normalize-specifiers-2): Rename to
16230 display-buffer-normalize-options.
16231 (display-buffer-normalize-alist-1): New function.
16232 (display-buffer-normalize-specifiers-3): Rename to
16233 display-buffer-normalize-alist.
16234 Call display-buffer-normalize-alist-1.
16235 (display-buffer-normalize-options-inhibit): New variable.
16236 (display-buffer-normalize-specifiers): Rewrite calling
16237 display-buffer-normalize-alist,
16238 display-buffer-normalize-argument, and
16239 display-buffer-normalize-options. Don't call the latter if
16240 display-buffer-normalize-options-inhibit is non-nil.
16241 (frame-auto-delete): New option.
16242 (window-deletable-p): Use frame-auto-delete.
16243 (window-list-no-nils, window-state-ignored-parameters)
16244 (window-state-get-1, window-state-get, window-state-put-list)
16245 (window-state-put-1, window-state-put-2, window-state-put):
16246 New functions.
16247 (display-buffer-normalize-options): Move special-display-p group
16248 after pop-up-frame group (Bug#8851) and (Bug#8856).
16249
16250 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16251
16252 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16253 groups (Bug#8776).
16254 (rx-submatch-n): New function.
16255 (rx): Document it.
16256
16257 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16258 (Bug#8768).
16259
16260 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16261
16262 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16263
16264 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16265 anytime existing face settings are present (Bug#8889).
16266
16267 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16268 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16269 Remove unused argument.
16270
16271 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16272
16273 * window.el (display-buffer-default-specifiers):
16274 Remove pop-up-frame. Add pop-up-window-min-height,
16275 pop-up-window-min-width, and another reuse-window specifier
16276 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16277 (display-buffer-normalize-specifiers-2):
16278 Handle split-height-threshold and split-width-threshold also when
16279 pop-up-windows is unset. Add a reuse-window specifier for the
16280 case popping up a new window fails.
16281 (special-display-popup-frame): Remove double quoting.
16282 (display-buffer-normalize-specifiers-1): Fix thinko.
16283
16284 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16285
16286 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16287 according to comint-completion-addsuffix.
16288
16289 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16290 (pcomplete-suffix-list): Mark as obsolete.
16291 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16292 pcomplete-seen in the closure.
16293 (pcomplete-comint-setup): Setup completion-at-point as well.
16294 (pcomplete--entries): New function.
16295 (pcomplete--env-regexp): New var.
16296 (pcomplete-entries): Rewrite to work with partial-completion and
16297 without relying on pcomplete-suffix-list.
16298 (pcomplete-pare-list): Remove, unused.
16299
16300 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16301
16302 * window.el (display-buffer-alist): Set pop-up-window-min-height
16303 and pop-up-window-min-width in default value. Reported by
16304 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16305 other-window-means-other-frame.
16306 (display-buffer-macro-specifiers): Comment out entry for
16307 other-window specifier.
16308 (display-buffer-other-window-means-other-frame): New function.
16309 (display-buffer-normalize-specifiers-1): New arguments
16310 buffer-name and label. Treat other-window case specially.
16311 (display-buffer-normalize-specifiers-2): Treat other-window case
16312 specially.
16313 (display-buffer-normalize-specifiers-3): New function.
16314 (display-buffer-normalize-specifiers):
16315 Call display-buffer-normalize-specifiers-3.
16316
16317 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16318
16319 * window.el (same-window-p): Fix two typos introduced when
16320 adding with-no-warnings.
16321 (display-buffer-normalize-specifiers-1): Don't check
16322 pop-up-frames for 'unset initialization.
16323 (display-buffer-normalize-specifiers-2): Major rewrite using
16324 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16325 (pop-up-frames, display-buffer-reuse-frames)
16326 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16327 Suggested by David Engster <deng@randomsample.de>.
16328 (even-window-heights): Initialize to 'unset.
16329 (display-buffer-alist-set): Handle new 'unset initializations.
16330 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16331 other window case.
16332
16333 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16334
16335 * window.el (display-buffer-normalize-specifiers-1):
16336 Respect current value of pop-up-frames for most reasonable values of
16337 second argument of display-buffer (Bug#8865).
16338 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16339 (switch-to-buffer-other-window-same-frame)
16340 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16341 Adams (Bug#8875).
16342 (display-buffer): Don't check noninteractive when calling
16343 display-buffer-pop-up-frame.
16344 (display-buffer-pop-up-frame): Never pop up a frame in
16345 noninteractive mode (Bug#8857).
16346 (enlarge-window, shrink-window): Don't report an error when the
16347 window can't be resized as requested (Bug#8862).
16348
16349 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16350
16351 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16352
16353 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16354
16355 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16356
16357 2011-06-15 Alan Mackenzie <acm@muc.de>
16358
16359 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16360 for declarators, disable knr checking to speed up for normal files.
16361 2: Refactor, replacing a sequence of nested if forms by a cond form.
16362
16363 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16364
16365 * net/network-stream.el (open-network-stream): Add the keyword
16366 :always-query-capabilities for the case where you want to force a
16367 `plain' network connection, but the protocol still requires the
16368 capabilitiy command (i.e., SMTP and EHLO).
16369
16370 * subr.el (process-live-p): Rename from `process-alive-p' for
16371 consistency with other `-live-p' functions.
16372
16373 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16374
16375 * window.el (same-window-buffer-names, same-window-regexps)
16376 (special-display-frame-alist, special-display-popup-frame)
16377 (special-display-function, special-display-buffer-names)
16378 (special-display-regexps, pop-up-frame-alist)
16379 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16380 (pop-up-windows, split-window-preferred-function)
16381 (split-height-threshold, split-width-threshold, even-window-heights)
16382 (display-buffer-mark-dedicated): Don't encourage the use of
16383 display-buffer-alist from Elisp code.
16384
16385 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16386
16387 * progmodes/python.el (python-mode): Derive from prog-mode.
16388 * progmodes/ps-mode.el (ps-mode):
16389 * progmodes/mixal-mode.el (mixal-mode):
16390 * progmodes/cfengine.el (cfengine-mode):
16391 * progmodes/ld-script.el (ld-script-mode): Likewise.
16392
16393 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16394
16395 * window.el (display-buffer-alist): Trim default value to avoid
16396 popping up a new frame (Bug#8857) or reusing an arbitrary window
16397 on another frame.
16398 (display-buffer): Do not fall back on popping up a new frame in
16399 batch mode (Bug#8857).
16400
16401 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16402
16403 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16404 (custom-theme-summary): New function.
16405 (customize-themes): Use it.
16406
16407 2011-06-13 Glenn Morris <rgm@gnu.org>
16408
16409 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16410
16411 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16412
16413 * help.el (help-window): Remove variable.
16414 (help-window-point-marker, temp-buffer-max-height)
16415 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16416 (help-print-return-message): Don't set help-window.
16417 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16418 (help-window-setup-finish): Remove.
16419 (help-window-display-message, help-window-setup)
16420 (with-help-window): Major rewrite based on new
16421 display-buffer-window variable.
16422
16423 * help-mode.el (help-mode-finish): Remove help-window related
16424 code.
16425
16426 * view.el (view-exits-all-viewing-windows): Remove reference to
16427 view-return-to-alist in doc-string.
16428 (view-return-to-alist): Make obsolete.
16429 (view-buffer): Call pop-to-buffer-same-window and remove
16430 undo-window code.
16431 (view-buffer-other-window): Call pop-to-buffer-other-window and
16432 simplify code. Ignore second argument.
16433 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16434 simplify code. Ignore second argument.
16435 (view-return-to-alist-update): Make obsolete.
16436 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16437 Rewrite using quit-restore window parameters.
16438 (view-mode-exit): Rename second argument to EXIT-ONLY.
16439 Rewrite using quit-restore-window.
16440 (View-exit, View-exit-and-edit, View-leave, View-quit)
16441 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16442 appropriate arguments.
16443 (view-end-message): Use quit-restore window parameter.
16444
16445 * window.el (display-buffer-function): Rewrite doc-string.
16446 (display-buffer-window, display-buffer-alist): New variables.
16447 (display-buffer-split-specifiers)
16448 (display-buffer-side-specifiers)
16449 (display-buffer-macro-specifiers): New constants.
16450 (display-buffer-even-window-sizes, display-buffer-set-height)
16451 (display-buffer-set-width, display-buffer-select-window)
16452 (display-buffer-in-window, display-buffer-reuse-window)
16453 (display-buffer-split-window-1, display-buffer-split-window)
16454 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16455 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16456 (display-buffer-in-side-window, normalize-buffer-to-display)
16457 (display-buffer-normalize-specifiers-1)
16458 (display-buffer-normalize-specifiers-2)
16459 (display-buffer-normalize-specifiers, display-buffer-frame):
16460 New functions.
16461 (display-buffer): Major rewrite.
16462 (display-buffer-other-window, display-buffer-other-frame)
16463 (pop-to-buffer, switch-to-buffer-other-window)
16464 (switch-to-buffer-other-frame): Rewrite.
16465 (display-buffer-same-window, display-buffer-same-frame)
16466 (display-buffer-same-frame-other-window)
16467 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16468 (pop-to-buffer-other-window)
16469 (pop-to-buffer-same-frame-other-window)
16470 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16471 (switch-to-buffer-other-window-same-frame): New functions.
16472 (same-window-p, special-display-p): Rewrite disabling warnings.
16473 Make obsolete.
16474 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16475 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16476 Make obsolete
16477 (same-window-buffer-names, same-window-regexps)
16478 (special-display-frame-alist, special-display-popup-frame)
16479 (special-display-function, special-display-buffer-names)
16480 (special-display-regexps, pop-up-frame-alist)
16481 (pop-up-frame-function, split-window-preferred-function)
16482 (split-height-threshold, split-width-threshold)
16483 (even-window-heights): Make obsolete.
16484
16485 2011-06-12 Glenn Morris <rgm@gnu.org>
16486
16487 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16488 Misc simplifications.
16489
16490 2011-06-12 Martin Rudalics <rudalics@gmx.at>
16491
16492 * window.el (window-safely-shrinkable-p): Restore function which
16493 was inadvertently removed in change from 2011-06-11. Declare as
16494 obsolete.
16495
16496 * calendar/calendar.el (calendar-generate-window):
16497 Use window-iso-combined-p instead of combination of one-window-p and
16498 window-safely-shrinkable-p.
16499
16500 2011-06-12 Glenn Morris <rgm@gnu.org>
16501
16502 * progmodes/fortran.el (fortran-mode-syntax-table):
16503 * progmodes/f90.el (f90-mode-syntax-table):
16504 Set % to punctuation. (Bug#8820)
16505 (f90-find-tag-default): Remove, no longer needed.
16506
16507 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16508
16509 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16510
16511 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16512
16513 * image.el (image-animated-p): Return animation delay in seconds.
16514 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16515 (image-animate-timeout): Remove DELAY argument. Don't assume
16516 every subimage has the same delay; get it from image-animated-p.
16517 (image-animate): Caller changed.
16518
16519 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16520
16521 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16522 to ignored backtrace functions.
16523
16524 2011-06-11 Glenn Morris <rgm@gnu.org>
16525
16526 * calendar/appt.el (appt-disp-window-function): Doc fix.
16527 (appt-check): Handle overlapping appointments. (Bug#8337)
16528
16529 2011-06-11 Martin Rudalics <rudalics@gmx.at>
16530
16531 * window.el (window-tree-1, window-tree): New functions, moving
16532 the latter to window.el.
16533 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16534 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16535 (bw-refresh-edges): Remove.
16536 (balance-windows-1, balance-windows-2): New functions.
16537 (balance-windows): Rewrite in terms of window tree functions,
16538 balance-windows-1 and balance-windows-2.
16539 (bw-adjust-window): Remove.
16540 (balance-windows-area-adjust): New function with functionality of
16541 bw-adjust-window but using resize-window.
16542 (set-window-text-height): Rewrite doc-string.
16543 Use normalize-live-window and resize-window.
16544 (enlarge-window-horizontally, shrink-window-horizontally):
16545 Rename argument to DELTA.
16546 (window-buffer-height): New function.
16547 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16548 Rewrite using new window resize routines.
16549 (kill-buffer-and-window, mouse-autoselect-window-select):
16550 Use ignore-errors instead of condition-case.
16551 (quit-window): Call delete-frame instead of delete-windows-on
16552 for the only buffer on frame.
16553
16554 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16555
16556 * loadup.el (top-level): Load window before files for the sake
16557 of replace-buffer-in-windows.
16558
16559 * files.el (read-buffer-to-switch)
16560 (switch-to-buffer-other-window)
16561 (switch-to-buffer-other-frame, display-buffer-other-frame):
16562 Move to window.el.
16563
16564 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16565 (previous-buffer): Move to window.el.
16566
16567 * bindings.el (unbury-buffer): Move to window.el.
16568
16569 * window.el (delete-other-windows-vertically): Move after
16570 definition of delete-other-windows.
16571 (other-window, delete-windows-on, replace-buffer-in-windows):
16572 Move here from window.c.
16573 (record-window-buffer, unrecord-window-buffer)
16574 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16575 (switch-to-next-buffer): New functions.
16576 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16577 from simple.el. Call switch-to-next-buffer.
16578 (previous-buffer): Move here from simple.el.
16579 Call switch-to-prev-buffer.
16580 (bury-buffer): Move here from buffer.c. Switch to previous
16581 buffer when window cannot be deleted.
16582 (unbury-buffer): Move here from bindings.el.
16583 (ctl-x-map): Move binding for other-window from window.c to
16584 here.
16585 (read-buffer-to-switch, switch-to-buffer-other-window)
16586 (switch-to-buffer-other-frame): Move here from files.el.
16587 (normalize-buffer-to-switch-to): New functions.
16588 (switch-to-buffer): Move here from buffer.c.
16589 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16590
16591 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16592
16593 * window.el (window-min-height, window-min-width): Move here
16594 from window.c. Add defcustoms and rewrite doc-strings.
16595 (resize-mini-window, resize-window): New functions.
16596 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16597 Move here from window.c.
16598 (maximize-window, minimize-window): New functions.
16599 (delete-window, delete-other-windows, split-window): Move here
16600 from window.c.
16601 (window-split-min-size): New function.
16602 (split-window-keep-point): Mention split-window-above-each-other
16603 instead of split-window-vertically.
16604 (split-window-above-each-other, split-window-vertically):
16605 Rename split-window-vertically to split-window-above-each-other
16606 and provide defalias for old definition.
16607 (split-window-side-by-side, split-window-horizontally):
16608 Rename split-window-horizontally to split-window-side-by-side
16609 and provide defalias for the old definition.
16610 (ctl-x-map): Move bindings for delete-window,
16611 delete-other-windows and enlarge-window here from window.c.
16612 Replace bindings for split-window-vertically and
16613 split-window-horizontally by bindings for
16614 split-window-above-each-other and split-window-side-by-side.
16615
16616 * cus-start.el (all): Remove entries for window-min-height and
16617 window-min-width. Add entries for window-splits and
16618 window-nest.
16619
16620 2011-06-09 Glenn Morris <rgm@gnu.org>
16621
16622 * calendar/appt.el (appt-mode-line): New function.
16623 (appt-check, appt-disp-window): Use it.
16624
16625 * files.el (hack-one-local-variable-eval-safep):
16626 Allow minor-modes with explicit +/-1 arguments.
16627
16628 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16629
16630 * term/xterm.el (xterm): Add defgroup.
16631 (xterm-extra-capabilities): Add defcustom to supply known xterm
16632 capabilities, skip querying them, or query them (default).
16633 (terminal-init-xterm): Use it.
16634 (terminal-init-xterm-modify-other-keys): New function to set up
16635 modifyOtherKeys support to simplify `terminal-init-xterm'.
16636
16637 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16638
16639 * window.el (resize-window-reset, resize-window-reset-1)
16640 (resize-subwindows-skip-p, resize-subwindows-normal)
16641 (resize-subwindows, resize-other-windows, resize-this-window)
16642 (resize-root-window, resize-root-window-vertically)
16643 (window-deletable-p, window-or-subwindow-p)
16644 (frame-root-window-p): New functions.
16645
16646 2011-06-09 Glenn Morris <rgm@gnu.org>
16647
16648 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16649 (ange-ftp-get-files): Use it.
16650
16651 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16652
16653 * mail/sendmail.el (mail-recover-1, mail-recover):
16654 * files.el (recover-file, recover-session):
16655 Handle dired-listing-switches not being just a single short option.
16656
16657 2011-06-09 Glenn Morris <rgm@gnu.org>
16658
16659 * calendar/appt.el (appt-display-message, appt-disp-window):
16660 Handle lists of appointments.
16661
16662 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16663
16664 * window.el (one-window-p): Move down in code.
16665 Rewrite doc-string.
16666 (window-current-scroll-bars): Rewrite doc-string.
16667 Normalize live window argument.
16668 (walk-windows, get-window-with-predicate, count-windows):
16669 Rewrite doc-string. Use window-list-1.
16670 (window-in-direction-2, window-in-direction, get-mru-window):
16671 New functions.
16672
16673 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16674
16675 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16676 Doc fix (Bug#8713).
16677
16678 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16679
16680 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16681
16682 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16683
16684 * loadhist.el (unload-feature-special-hooks):
16685 Add `comint-output-filter-functions'.
16686
16687 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16688
16689 * calendar/appt.el (appt-check): Move some initializations into the let.
16690
16691 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16692
16693 * window.el (window-height): Defalias to window-total-height.
16694 (window-width): Defalias to window-body-width.
16695
16696 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16697
16698 * image-mode.el (image-toggle-animation): New command.
16699 (image-mode-map): Bind it to RET.
16700 (image-mode): Update message.
16701 (image-toggle-display-image): Avoid a spurious cache flush.
16702 (image-transform-rotation): Doc fix.
16703 (image-transform-properties): Return quickly in the normal case.
16704 (image-animate-loop): Rename from image-animate-max-time.
16705
16706 * image.el (image-animate-max-time): Move to image-mode.el.
16707 (create-animated-image): Remove unnecessary function.
16708 (image-animate): Rename from image-animate-start. New arg.
16709 (image-animate-stop): Remove; just use image-animate-timer.
16710 (image-animate-timer): Use car-safe.
16711 (image-animate-timeout): Rename argument.
16712
16713 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16714
16715 * window.el (get-lru-window, get-largest-window): Move here from
16716 window.c. Rename first argument to ALL-FRAMES.
16717 Rephrase doc-strings.
16718 (get-buffer-window-list): Rewrite using window-list-1.
16719 Rephrase doc-string.
16720 (window-safe-min-height, window-safe-min-width): New constants.
16721 (window-size-ignore, window-min-size, window-min-size-1)
16722 (window-sizable, window-sizable-p, window-size-fixed-1)
16723 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16724 (window-max-delta-1, window-max-delta, window-resizable)
16725 (window-resizable-p, window-total-height, window-total-width)
16726 (window-body-width): New functions.
16727 (window-full-height-p, window-full-width-p): Rewrite using
16728 window-total-size.
16729 (window-body-height): Rewrite using window-body-size.
16730
16731 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16732
16733 * window.el (window-right, window-left, window-child)
16734 (window-child-count, window-last-child, window-any-p)
16735 (normalize-live-buffer, normalize-live-frame)
16736 (normalize-any-window, normalize-live-window)
16737 (window-iso-combination-p, window-iso-combined-p)
16738 (window-iso-combinations)
16739 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16740 (windows-with-parameter, window-with-parameter)
16741 (window-atom-root, make-window-atom, window-atom-check-1)
16742 (window-atom-check, window-side-check, window-check):
16743 New functions.
16744 (ignore-window-parameters, window-sides, window-sides-vertical)
16745 (window-sides-slots): New variables.
16746 (window-size-fixed): Move down in code. Minor doc-string fix.
16747
16748 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16749
16750 * comint.el (comint-dynamic-complete-as-filename)
16751 (comint-dynamic-complete-filename): Correctly call
16752 completion-in-region.
16753
16754 2011-06-05 Deniz Dogan <deniz@dogan.se>
16755
16756 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16757 in last change.
16758
16759 2011-06-05 Deniz Dogan <deniz@dogan.se>
16760
16761 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16762 (rcirc): Use it to prompt for encryption.
16763
16764 2011-06-05 Roland Winkler <winkler@gnu.org>
16765
16766 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16767 (bibtex-search-entries): New command bound to C-c C-a.
16768 (bibtex-display-entries): New function.
16769
16770 2011-06-05 Roland Winkler <winkler@gnu.org>
16771
16772 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16773 (bibtex-insert-kill): After yanking insert newline if necessary.
16774 (bibtex-initialize): Call bibtex-string-files-init only once.
16775 (bibtex-mode): Do not call easy-menu-add.
16776 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16777 (bibtex-yank): Set arg properly if nil.
16778
16779 2011-06-05 Roland Winkler <winkler@gnu.org>
16780
16781 * textmodes/bibtex.el (bibtex-search-entry-globally):
16782 New variable.
16783 (bibtex-search-entry): Use it.
16784
16785 2011-06-05 Roland Winkler <winkler@gnu.org>
16786
16787 * textmodes/bibtex.el (bibtex-entry-format): New option
16788 sort-fields.
16789 (bibtex-format-entry, bibtex-reformat): Honor this option.
16790 (bibtex-parse-entry): Return fields in proper order.
16791
16792 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16793
16794 * doc-view.el (doc-view-remove-if): Move computation of result out
16795 of `dolist' to silence misleading lexical-binding warning.
16796
16797 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16798
16799 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16800 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16801
16802 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16803
16804 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16805 "SunOS 5.10".
16806
16807 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16808
16809 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16810 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16811 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16812 (tramp-parse-putty):
16813 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16814 (tramp-completion-function-alist-ssh)
16815 (tramp-completion-function-alist-telnet)
16816 (tramp-completion-function-alist-su)
16817 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16818 cookie.
16819
16820 * net/tramp-ftp.el:
16821 * net/tramp-sh.el:
16822 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16823 load "tramp.el" `tramp-set-completion-function'.
16824
16825 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16826
16827 * shell.el: Require and use pcomplete.
16828 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16829 (shell-completion-vars): Set pcomplete-default-completion-function.
16830
16831 2011-06-04 Deniz Dogan <deniz@dogan.se>
16832
16833 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16834 `memq' (Bug#8799).
16835
16836 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16837
16838 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16839
16840 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
16841
16842 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16843 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16844 * vc/log-view.el (log-view-beginning-of-defun):
16845 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16846 (smerge-refine-forward, smerge-refine-chopup-region):
16847 Silence warning for unused `dotimes' counter variables.
16848
16849 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16850
16851 * net/tramp.el (tramp-with-progress-reporter): Rename from
16852 with-progress-reporter. Use `declare'.
16853 * net/tramp-smb.el:
16854 * net/tramp-sh.el:
16855 * net/tramp-gvfs.el: Update all uses.
16856
16857 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16858
16859 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16860 buffer isn't killed before making it current.
16861
16862 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16863
16864 Silence various byte-compiler warnings.
16865 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16866 `access-type' and new obsolescence format.
16867 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16868 new format.
16869 (byte-compile-check-variable): New `access-type' argument.
16870 Only warn if the access-type is obsolete.
16871 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16872 (byte-compile-variable-set): Adjust callers.
16873 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16874 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16875 setting it as obsolete.
16876 * simple.el (minibuffer-completing-symbol):
16877 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16878 access as obsolete.
16879 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16880 obsolete yet.
16881 * international/quail.el (quail-mouse-choose-completion): Remove unused
16882 code referring to obsolete var.
16883 (quail-choose-completion-string): Remove.
16884 * server.el (server-clients-with, server-kill-buffer-query-function)
16885 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16886 * proced.el (proced-send-signal):
16887 * emacs-lisp/lisp.el (lisp-complete-symbol):
16888 Replace completion-annotate-function with completion-extra-properties.
16889
16890 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16891
16892 * simple.el (goto-line): Use read-number.
16893 (overriding-map-is-bound): Remove.
16894 (saved-overriding-map): Change default.
16895 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16896 Take the map as argument.
16897 (universal-argument, negative-argument, digit-argument): Use it.
16898 (restore-overriding-map): Adjust.
16899 (do-auto-fill): Use fill-forward-paragraph.
16900 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16901
16902 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16903 (minibuffer-inactive-mode): New major mode.
16904 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16905 the *Messages* buffer" hack.
16906 (mouse-popup-menubar): Don't burp if the event is a normal key.
16907
16908 Miscellaneous tweaks.
16909 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16910 lexical scoping as in subr.el's dolist and dotimes.
16911 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16912 Silence compiler warning.
16913 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16914 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16915 * international/ccl.el (ccl-compile): Trivial simplification.
16916 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16917 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16918 `printflag' argument.
16919 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16920 Purecopy the whole obsolescence data.
16921
16922 2011-06-01 Leo Liu <sdl.web@gmail.com>
16923
16924 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16925 improve doc-string as suggested by Marco Pessotto
16926 <melmothx@gmail.com>.
16927 (rcirc-print): Fix last change.
16928
16929 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16930
16931 * minibuffer.el (complete-with-action): Return nil for the metadata and
16932 boundaries of non-functional tables.
16933 (completion-table-dynamic): Return nil for the metadata.
16934 (completion-table-with-terminator): Add default case, using
16935 complete-with-action.
16936 (completion--metadata): New function.
16937 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16938 to try and avoid pathological performance problems.
16939 (completion--embedded-envvar-table): Return `category' metadata.
16940
16941 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16942
16943 * subr.el (process-alive-p): New tiny convenience function.
16944
16945 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16946
16947 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16948 content but also its previous major mode.
16949
16950 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
16951
16952 * emacs-lisp/debug.el (debug): Restore the previous content of the
16953 *Backtrace* buffer when we exit with C-M-c.
16954
16955 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16956
16957 * minibuffer.el: Add metadata method to completion tables.
16958 (completion-category-overrides): New defcustom.
16959 (completion-metadata, completion--field-metadata)
16960 (completion-metadata-get, completion--styles)
16961 (completion--cycle-threshold): New functions.
16962 (completion-try-completion, completion-all-completions):
16963 Add `metadata' argument to choose completion-styles.
16964 (completion--do-completion): Use metadata to choose cycling.
16965 (completion-all-sorted-completions): Use metadata for sorting.
16966 Remove :completion-cycle-penalty which is not needed any more.
16967 (completion--try-word-completion): Add `metadata' argument.
16968 (minibuffer-completion-help): Check metadata for annotation function
16969 and sorting.
16970 (completion-file-name-table): Return `category' metadata.
16971 (minibuffer-completing-file-name): Make obsolete.
16972 * simple.el (minibuffer-completing-symbol): Make obsolete.
16973 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16974 completion-try-completion.
16975
16976 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16977
16978 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16979
16980 2011-05-30 Leo Liu <sdl.web@gmail.com>
16981
16982 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16983 (rcirc-print): Decode all incoming messages (bug#8744).
16984 (rcirc-decode-coding-system): Allow value nil for automatic coding
16985 system detection.
16986
16987 2011-06-01 Glenn Morris <rgm@gnu.org>
16988
16989 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16990
16991 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16992
16993 * image.el (image-animate-max-time): Allow nil and t values.
16994 Default to nil.
16995 (create-animated-image): Doc fix.
16996 (image-animate-start): Remove second arg; just use
16997 image-animate-max-time.
16998 (image-animate-timeout): Doc fix. Args changed.
16999
17000 * image-mode.el (image-toggle-display-image): Ensure that the
17001 image spec passed to the animate timer is the same object as in
17002 the buffer's display property (Bug#6981).
17003 (image-transform-properties): Doc fix.
17004
17005 * image.el (image-animate-max-time): Default to nil.
17006
17007 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17008
17009 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17010 entire buffer list (Bug#8184).
17011
17012 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17013
17014 * image.el (imagemagick-types-inhibit)
17015 (imagemagick-register-types): Doc fix.
17016
17017 2011-05-29 Deniz Dogan <deniz@dogan.se>
17018
17019 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17020 default.
17021
17022 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17023
17024 * select.el: Don't perform clipboard-manager saving in hooks;
17025 leave the hooks empty.
17026
17027 2011-05-28 Leo Liu <sdl.web@gmail.com>
17028
17029 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17030 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17031 (occur-edit-mode): New major mode (Bug#8463).
17032 (occur-after-change-function): New function.
17033 (occur-engine): Give Occur tags a read-only property.
17034
17035 2011-05-28 Kevin Ryde <user42@zip.com.au>
17036
17037 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17038
17039 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17040
17041 * bindings.el (help-echo): Make the initial non-indicator dash
17042 empty on graphical terminals (Bug#7295).
17043
17044 * files.el (auto-mode-alist): Move config rule after the
17045 in-stripping one (Bug#8547).
17046
17047 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17048
17049 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17050 setting (Bug#8740).
17051
17052 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17053
17054 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17055 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17056 (Bug#8539).
17057
17058 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17059
17060 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17061
17062 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17063
17064 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17065 (hs-hide-block-at-point, hs-find-block-beginning)
17066 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17067 (Bug#8279).
17068
17069 2011-05-28 Glenn Morris <rgm@gnu.org>
17070
17071 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17072
17073 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17074
17075 * help-fns.el (describe-function-1): If the function is a derived
17076 major mode, print the parent mode.
17077
17078 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17079 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17080
17081 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17082
17083 * minibuffer.el (completion--capf-wrapper): Check applicability before
17084 returning non-nil for non-exclusive completion data.
17085 * progmodes/etags.el (tags-completion-at-point-function):
17086 * info-look.el (info-lookup-completions-at-point): Mark as
17087 non-exclusive.
17088 (info-complete): Adjust accordingly.
17089
17090 * info-look.el: Convert to lexical-binding and completion-at-point.
17091 (info-lookup-completions-at-point): New function.
17092 (info-complete): Use it and completion-in-region.
17093
17094 2011-05-28 Drew Adams <drew.adams@oracle.com>
17095
17096 * isearch.el: Let M-e start with point at the first mismatched char.
17097 (isearch-fail-pos): New function.
17098 (isearch-edit-string): Use it.
17099
17100 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17101
17102 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17103
17104 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17105
17106 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17107 traversal functions for avl-trees.
17108 (avl-tree--stack): New struct.
17109 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17110 (avl-tree-enter): Add optional `updatefun' arg.
17111 (avl-tree--do-enter): Add optional `updatefun' arg.
17112 Change return value.
17113 (avl-tree-delete): Add optional `test' and `nilflag' args.
17114 (avl-tree--do-delete): Add `test' and `nilflag' args.
17115 Change return value.
17116 (avl-tree-member): Add optional `nilflag'
17117 (avl-tree-member-p): New function.
17118 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17119 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17120 (avl-tree-stack-empty-p): New functions.
17121
17122 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17123 avl-tree--del-balance1 and make it work both ways.
17124 (avl-tree--del-balance2): Remove.
17125 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17126 make it work both ways.
17127 (avl-tree--enter-balance2): Remove.
17128 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17129 New macros.
17130 (avl-tree--mapc, avl-tree-map): Add direction argument.
17131
17132 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17133
17134 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17135
17136 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17137
17138 * select.el: Support clipboard managers with built-in function
17139 x-clipboard-manager-save, via delete-frame-functions and
17140 kill-emacs-hook.
17141 (xselect-convert-to-targets): Add MULTIPLE target to list.
17142 (xselect-convert-to-save-targets): New function.
17143
17144 2011-05-27 Kenichi Handa <handa@m17n.org>
17145
17146 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17147 let-binding rfc2047-encode-encoded-words to nil.
17148
17149 2011-05-27 Glenn Morris <rgm@gnu.org>
17150
17151 * mail/emacsbug.el: Don't require url-util.
17152
17153 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17154
17155 * files.el (set-auto-mode):
17156 Also respect mode: entries at the end of the file. (Bug#8586)
17157
17158 2011-05-26 Glenn Morris <rgm@gnu.org>
17159
17160 * files.el (hack-local-variables-prop-line, hack-local-variables):
17161 Downcase mode names, as seems to be traditional.
17162 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17163
17164 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17165 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17166
17167 2011-05-25 Julien Danjou <julien@danjou.info>
17168
17169 * textmodes/rst.el (rst-define-level-faces): Do not define face
17170 symbol if it is already defined.
17171
17172 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17173
17174 * play/5x5.el (5x5-new-game, 5x5-randomize):
17175 Reset 5x5-solver-output to nil when a new grid is cast.
17176 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17177 these debugging traces, as defmacro breaks the compiled code.
17178
17179 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17180
17181 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17182
17183 2011-05-24 Leo Liu <sdl.web@gmail.com>
17184
17185 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17186 (vc-bzr-sha1): Adapt.
17187
17188 * sha1.el: Remove. Function `sha1' is now builtin.
17189
17190 * bindings.el: Provide sha1 feature.
17191
17192 2011-05-24 Kenichi Handa <handa@m17n.org>
17193
17194 * mail/sendmail.el: Require `rfc2047'.
17195 (mail-insert-from-field): Do not perform RFC2047 encoding.
17196 (mail-encode-header): New function.
17197 (sendmail-send-it): Set buffer-file-coding-system of the work
17198 buffer to the return value of select-message-coding-system.
17199 Call mail-encode-header.
17200
17201 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17202
17203 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17204
17205 * mail/supercite.el (sc-default-cite-frame):
17206 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17207
17208 2011-05-24 Glenn Morris <rgm@gnu.org>
17209
17210 * progmodes/python.el (brm-menu): Declare.
17211
17212 * emulation/viper.el (viper-set-hooks): Declare.
17213
17214 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17215 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17216 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17217 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17218 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17219 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17220
17221 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17222
17223 Add an :exit-function for completion-at-point.
17224
17225 * minibuffer.el (completion--done): New fun.
17226 (completion--do-completion): Use it. New arg `expect-exact'.
17227 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17228 since completion--do-completion does it for us now.
17229 (minibuffer-force-complete): Use completion--done and
17230 completion--replace. Handle sole-completion case with more care.
17231 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17232 (completion-extra-properties): New var.
17233 (completion-annotate-function): Make obsolete.
17234 (minibuffer-completion-help): Adjust accordingly.
17235 Use completion-list-insert-choice-function.
17236 (completion-at-point, completion-help-at-point):
17237 Bind completion-extra-properties.
17238 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17239 * simple.el (completion-list-insert-choice-function): New var.
17240 (completion-setup-function): Preserve it.
17241 (choose-completion): Pay attention to it, shuffle the code a bit.
17242 (choose-completion-string): New arg `insert-function'.
17243
17244 * textmodes/bibtex.el: Convert to lexical binding.
17245 (bibtex-mode-map): Use completion-at-point.
17246 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17247 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17248 (bibtex-complete): Define as obsolete alias.
17249 (bibtex-complete-internal): Remove.
17250 (bibtex-format-entry): Remove unused sub-group in regexp.
17251 * shell.el (shell--command-completion-data)
17252 (shell-environment-variable-completion):
17253 * pcomplete.el (pcomplete-completions-at-point):
17254 * comint.el (comint--complete-file-name-data): Use :exit-function
17255 instead of completion-table-with-terminator so it also works for
17256 choose-completion.
17257
17258 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17259
17260 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17261
17262 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17263 (bug#8710).
17264
17265 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17266
17267 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17268
17269 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17270 customization variable and implement: If non-nil, auto-fill will
17271 be inhibited while on topic's header line.
17272
17273 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17274
17275 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17276 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17277 always have a solution in grid size = 5 cases.
17278 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17279 (5x5-solver-output, 5x5-log-buffer): New vars.
17280 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17281 Make these variables buffer local to achieve 5x5 multi-session-ness.
17282 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17283 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17284 (5x5-solve-suggest): New funs.
17285 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17286 randomize a grid so that we ensure that there is always a solution.
17287 (5x5-make-random-grid): Allow other movement than flipping.
17288
17289 2011-05-23 Kevin Ryde <user42@zip.com.au>
17290
17291 * emacs-lisp/advice.el (ad-read-advised-function):
17292 Use `function-called-at-point' as the default, if it has
17293 advice and passes PREDICATE.
17294
17295 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17296
17297 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17298 byte-compile-lambda if it's actually a lambda.
17299
17300 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17301 Fix function quoting. Use backquote better.
17302
17303 2011-05-22 Yuanle Song <sylecn@gmail.com>
17304
17305 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17306 matching (Bug#8516).
17307
17308 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17309
17310 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17311 different face (Bug#8178).
17312
17313 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17314
17315 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17316 defface (Bug#8144).
17317
17318 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17319
17320 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17321 funcall as well (bug#8712). Warn when performing those conversions.
17322 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17323
17324 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17325
17326 2011-05-22 Glenn Morris <rgm@gnu.org>
17327
17328 * files.el (hack-local-variables-prop-line): Small simplifications.
17329 (hack-local-variables, hack-local-variables-prop-line):
17330 If MODE-ONLY, return the mode, rather than just `t'.
17331
17332 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17333
17334 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17335
17336 2011-05-21 Glenn Morris <rgm@gnu.org>
17337
17338 * files.el (hack-local-variables-prop-line, hack-local-variables):
17339 If only interested in the mode, don't bother doing the other stuff.
17340
17341 * image-mode.el (image-after-revert-hook):
17342 Redraw all frames on which the image is visible. (Bug#8567)
17343
17344 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17345
17346 * wid-edit.el (widget-checklist-match-inline):
17347 Fix 2011-04-19 change. (Bug#8649)
17348
17349 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17350
17351 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17352 Also allow singlespace after single-letter capitals followed by a dot.
17353
17354 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17355 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17356
17357 2011-05-20 Nix <nix@esperi.org.uk>
17358
17359 * files.el (basic-save-buffer-2):
17360 Fix handling of break-hardlink-on-save with non-existent files.
17361
17362 2011-05-19 Deniz Dogan <deniz@dogan.se>
17363
17364 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17365 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17366
17367 2011-05-19 Glenn Morris <rgm@gnu.org>
17368
17369 * progmodes/f90.el (f90-type-def-re):
17370 Handle "type, bind(c)". (Bug#8691)
17371
17372 * emacs-lisp/autoload.el (batch-update-autoloads):
17373 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17374
17375 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17376
17377 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17378 property for the correct connection in case of multihops.
17379
17380 2011-05-18 Glenn Morris <rgm@gnu.org>
17381
17382 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17383 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17384
17385 Rationalize calendar handling of day and month abbrev-arrays.
17386 * calendar/calendar.el (calendar-customized-p): New function.
17387 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17388 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17389 Add :set function.
17390 (calendar-abbrev-length, calendar-day-abbrev-array)
17391 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17392 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17393 Elements may no longer be nil.
17394 (calendar-day-name, calendar-month-name):
17395 Update for changed nature of abbrev arrays.
17396 * calendar/diary-lib.el (diary-name-pattern):
17397 Update for changed nature of abbrev arrays.
17398 (diary-mark-entries-1): Update calendar-make-alist calls.
17399 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17400 * calendar/cal-html.el (cal-html-day-abbrev-array):
17401 Simply inherit from calendar-day-abbrev-array.
17402
17403 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17404
17405 * progmodes/grep.el (grep-mode): Disable default
17406 compilation-directory-matcher setting (bug#8684).
17407
17408 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17409
17410 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17411 instead of "head" and "tail". There were problems with SunOS 5.9,
17412 and it performs better.
17413
17414 2011-05-17 Glenn Morris <rgm@gnu.org>
17415
17416 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17417
17418 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17419 Replace obsolete function.
17420
17421 * shell.el (pcomplete-parse-arguments-function): Declare.
17422
17423 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17424 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17425 (appt-check): Doc fixes.
17426 (appt-disp-window-function, appt-delete-window-function):
17427 Remove needless special case in custom :type.
17428 (appt-display-count): Default to 0, not nil.
17429 (appt-check): Reset appt-display-count to 0, not nil.
17430
17431 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17432
17433 * progmodes/python.el (python-font-lock-keywords):
17434 Add the Python 3.X keyword "nonlocal" (bug#8639).
17435
17436 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17437
17438 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17439
17440 2011-05-16 Kevin Ryde <user42@zip.com.au>
17441
17442 * info-look.el (makefile-automake-mode): New setups, looking in
17443 automake manual, then makefile-mode.
17444 (makefile-mode): Remove automake manual, have it just in
17445 makefile-automake-mode since there's various things different or
17446 not relevant to plain make.
17447 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17448 believe a hypothetical automake-mode would go to makefile-mode,
17449 not the other way around.
17450
17451 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
17452
17453 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17454 hunk-end tags (Bug#8672).
17455
17456 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17457 vc-annotate-show-diff-revision-at-line (Bug#8671).
17458
17459 2011-05-14 Glenn Morris <rgm@gnu.org>
17460
17461 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17462 in the middle of an existing one with multiple authors. (Bug#8645)
17463 (change-log-font-lock-keywords): Also handle multiple author lines
17464 with leading tabs. (Bug#8644)
17465
17466 * calendar/appt.el (appt-check): Rename some local variables.
17467 Some simplification/reordering.
17468
17469 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17470 (feedmail-sendmail-f-doesnt-sell-me-out)
17471 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17472 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17473 (feedmail-queue-runner-message-sender): Set :version.
17474 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17475 (bbdb-dwim-net-address, vm-mail): Declare.
17476 (feedmail-binmail-gnulinuxish-template):
17477 Rename from feedmail-binmail-linuxish-template.
17478 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17479 Use insert-buffer-substring.
17480
17481 2011-05-14 Bill Carpenter <bill@carpenter.org>
17482
17483 * mail/feedmail.el (feedmail-patch-level): Increase.
17484 (feedmail-debug): New custom group.
17485 (feedmail-confirm-outgoing-timeout)
17486 (feedmail-sendmail-f-doesnt-sell-me-out)
17487 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17488 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17489 (feedmail-sender-line, feedmail-from-line)
17490 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17491 (feedmail-spray-this-address)
17492 (feedmail-spray-address-fiddle-plex-list)
17493 (feedmail-queue-use-send-time-for-date)
17494 (feedmail-queue-use-send-time-for-message-id)
17495 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17496 (feedmail-buffer-eating-function):
17497 Doc fixes.
17498 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17499 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17500 (feedmail-message-action-scroll-down): New functions.
17501 (feedmail-queue-directory, feedmail-queue-draft-directory):
17502 Use expand-file-name.
17503 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17504 Remove C-v help entry.
17505 (feedmail-queue-buffer-file-name): New variable.
17506 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17507 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17508 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17509 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17510 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17511 (feedmail-message-action-toggle-spray)
17512 (feedmail-run-the-queue-no-prompts)
17513 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17514 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17515 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17516 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17517 (feedmail-envelope-deducer, feedmail-fiddle-from)
17518 (feedmail-fiddle-sender, feedmail-default-date-generator)
17519 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17520 (feedmail-fiddle-spray-address)
17521 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17522 (feedmail-fiddle-list-of-fiddle-plexes)
17523 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17524 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17525 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17526 Change default. Doc fix.
17527 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17528 (feedmail-binmail-linuxish-template): New constant.
17529 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17530 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17531 (feedmail-send-it): Add debug call.
17532 Use feedmail-queue-buffer-file-name, and
17533 feedmail-send-it-immediately-wrapper.
17534 (feedmail-message-action-send): Add debug call.
17535 Use feedmail-send-it-immediately-wrapper.
17536 (feedmail-queue-express-to-queue): Add debug call.
17537 Run feedmail-queue-express-hook.
17538 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17539 (feedmail-message-action-help-blat):
17540 Rename from feedmail-queue-send-edit-prompt-help-first.
17541 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17542 Check line-endings. Handle errors better.
17543 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17544 Doc fix. Add debug call.
17545 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17546 Use feedmail-queue-send-edit-prompt-inner.
17547 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17548 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17549 from feedmail-queue-send-edit-prompt.
17550 (feedmail-queue-send-edit-prompt-help)
17551 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17552 (feedmail-tidy-up-slug): Add debug call.
17553 Respect feedmail-queue-slug-suspect-regexp.
17554 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17555 (feedmail-dump-message-to-queue): Add debug call.
17556 Expand queue-directory.
17557 (feedmail-dump-message-to-queue): Change message slightly.
17558 Use feedmail-say-chatter.
17559 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17560 (feedmail-send-it-immediately-wrapper): New function.
17561 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17562 Insert empty string rather than newline. Handle full-frame case.
17563 Use catch/throw. Use feedmail-say-chatter.
17564 (feedmail-fiddle-from): Try mail-host-address.
17565 (feedmail-default-message-id-generator): Doc fix.
17566 Bind system-time-locale. Handle missing end.
17567 (feedmail-fiddle-x-mailer): Add debug call.
17568 Handle feedmail-x-mailer-line being nil.
17569 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17570 Add debug call. Use buffer-substring-no-properties.
17571 (feedmail-say-debug, feedmail-say-chatter): New functions.
17572 (feedmail-find-eoh): Give an explicit error.
17573
17574 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17575
17576 * net/newst-treeview.el (newsticker-treeview-face): Change default
17577 family from helvetica to sans.
17578 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17579 etc/images/newsticker.
17580
17581 * net/newst-reader.el (newsticker-feed-face): Change default
17582 family from helvetica to sans.
17583
17584 * net/newst-plainview.el (newsticker-new-item-face)
17585 (newsticker-old-item-face, newsticker-immortal-item-face)
17586 (newsticker-obsolete-item-face, newsticker-date-face)
17587 (newsticker-statistics-face): Change default family from
17588 helvetica to sans.
17589 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17590 etc/images/newsticker.
17591
17592 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17593 (newsticker--process-auto-mark-filter-match): Tell user about
17594 auto-marking.
17595
17596 2011-05-13 Didier Verna <didier@xemacs.org>
17597
17598 Common Lisp indentation improvements on defmethod and lambda-lists.
17599 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17600 TODO entries.
17601 (lisp-lambda-list-keyword-parameter-indentation)
17602 (lisp-lambda-list-keyword-parameter-alignment)
17603 (lisp-lambda-list-keyword-alignment): New customizable user options.
17604 (lisp-indent-defun-method): Improve docstring.
17605 (extended-loop-p): Fix comment.
17606 (lisp-indent-lambda-list-keywords-regexp): New variable.
17607 (lisp-indent-lambda-list): New function.
17608 (lisp-indent-259): Use it.
17609 (lisp-indent-defmethod): Support for more than one
17610 method qualifier and properly indent methods lambda-lists.
17611 (defgeneric): Provide a missing common-lisp-indent-function property.
17612
17613 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17614
17615 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17616 bounds for the empty string (bug#8667).
17617
17618 2011-05-13 Glenn Morris <rgm@gnu.org>
17619
17620 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17621
17622 * mail/sendmail.el (sendmail-program): Try executable-find first.
17623 (sendmail-send-it): `sendmail-program' cannot be unbound.
17624
17625 * calendar/appt.el (appt-make-list): Simplify.
17626 (appt-time-msg-list): Doc fix.
17627 (appt-check): Change mode-line message at the time of the appointment.
17628
17629 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17630
17631 * progmodes/ld-script.el (ld-script-keywords)
17632 (ld-script-builtins): Update keywords list.
17633
17634 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17635
17636 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17637
17638 * shell.el (shell-completion-vars): New function.
17639 (shell-mode):
17640 * simple.el (read-shell-command): Use it.
17641 (blink-matching-open): No need for " [...]" in minibuffer-message.
17642
17643 2011-05-12 Glenn Morris <rgm@gnu.org>
17644
17645 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17646 (appt-check): Simplify.
17647
17648 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17649
17650 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17651 literal "/dev/null".
17652
17653 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17654
17655 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17656 Fix typo.
17657
17658 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17659
17660 * progmodes/which-func.el (which-function):
17661 Use add-log-current-defun instead of add-log-current-defun-function,
17662 which might not be defined (Bug#8260).
17663
17664 2011-05-12 Glenn Morris <rgm@gnu.org>
17665
17666 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17667 Let byte-compile-initial-macro-environment always take precedence.
17668
17669 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17670
17671 * net/rcirc.el: Add support for SSL/TLS connections.
17672 (rcirc-server-alist): New field `encryption'.
17673 (rcirc): Check `encryption' settings.
17674 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17675 Merge make-local-variable into `set'.
17676 (rcirc--connection-open-p): New function.
17677 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17678 the process is not a network process (e.g. running gnutls-cli).
17679 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17680 Make rcirc-(en|de)code-coding-system local here.
17681 (rcirc-mode): Merge make-local-variable into `set'.
17682 (rcirc-parent-buffer): Make permanent buffer-local.
17683 (rcirc-multiline-minor-mode): Don't do it here.
17684 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17685 there's no server buffer.
17686
17687 2011-05-11 Glenn Morris <rgm@gnu.org>
17688
17689 * newcomment.el (comment-kill): Prefix "unused" local.
17690
17691 * term/w32console.el (get-screen-color): Declare.
17692
17693 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17694 Handle symbol elements of byte-compile-initial-macro-environment.
17695
17696 2011-05-10 Leo Liu <sdl.web@gmail.com>
17697
17698 * bookmark.el (bookmark-bmenu-mode-map):
17699 Bind bookmark-bmenu-search to `/'.
17700
17701 * mail/footnote.el: Convert to utf-8 encoding.
17702 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17703 (Footnote-unicode): New function.
17704 (footnote-style-alist): Add unicode style to the list.
17705 (footnote-style): Doc fix.
17706
17707 2011-05-10 Jim Meyering <meyering@redhat.com>
17708
17709 Fix doubled-word typos.
17710 * international/quail.el (quail-insert-kbd-layout): and and -> and
17711 * kermit.el: and and -> and
17712 * net/ldap.el (ldap-search-internal): to to -> to
17713 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17714 * progmodes/js.el (js-mode): and and -> and
17715 * textmodes/artist.el (artist-move-to-xy): at at -> at
17716 (artist-draw-region-trim-line-endings): if if -> if
17717 And Safetyc -> Safety.
17718 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17719
17720 2011-05-10 Glenn Morris <rgm@gnu.org>
17721 Stefan Monnier <monnier@iro.umontreal.ca>
17722
17723 * files.el (hack-one-local-variable-eval-safep):
17724 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17725
17726 2011-05-10 Glenn Morris <rgm@gnu.org>
17727
17728 * calendar/diary-lib.el (diary-list-entries-hook)
17729 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17730 (diary-nongregorian-marking-hook, diary-list-entries)
17731 (diary-include-other-diary-files, diary-mark-entries)
17732 (diary-mark-included-diary-files): Doc fixes.
17733
17734 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17735
17736 * misc.el: Require tabulated-list.el during compilation.
17737
17738 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17739
17740 * progmodes/compile.el (compilation-start):
17741 Run compilation-filter-hook for the async case too.
17742 (compilation-filter-hook): Doc fix.
17743
17744 2011-05-09 Deniz Dogan <deniz@dogan.se>
17745
17746 * wdired.el: Remove outdated installation comment. Fix usage
17747 comment.
17748
17749 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17750
17751 * misc.el: Implement new command `list-dynamic-libraries'.
17752 (list-dynamic-libraries--loaded-only-p): New variable.
17753 (list-dynamic-libraries--refresh): New function.
17754 (list-dynamic-libraries): New command.
17755
17756 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17757
17758 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17759 Fix the ant regexp to handle end-line and end-column info from jikes.
17760 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17761 higher priority to avoid clobbering by gnu.
17762
17763 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17764
17765 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17766 if the face has existing theme settings (Bug#8454).
17767
17768 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17769
17770 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17771 Only match variables declared via `my' or `our' (Bug#8261).
17772
17773 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17774 special file names `.' and `..' (Bug#8259).
17775
17776 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17777
17778 * progmodes/grep.el (grep-mode-font-lock-keywords):
17779 Remove buffer-changing entries.
17780 (grep-filter): New function.
17781 (grep-mode): Add it to compilation-filter-hook.
17782
17783 * progmodes/compile.el (compilation-filter-hook)
17784 (compilation-filter-start): New defvars.
17785 (compilation-filter): Call compilation-filter-hook prior to
17786 updating the process mark.
17787
17788 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17789
17790 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17791
17792 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17793
17794 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17795 mailclient-send-it even if window-system is nil. (Bug#8595)
17796
17797 * term/w32console.el (terminal-init-w32console):
17798 Call get-screen-color and use its output to set the frame
17799 background-mode. (Bug#8597)
17800
17801 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17802
17803 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17804 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17805 New functions.
17806 (defgeneric, eieio--defmethod): Use them.
17807 (eieio-defgeneric): Remove.
17808 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17809
17810 2011-05-07 Glenn Morris <rgm@gnu.org>
17811
17812 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17813 Use let rather than let*.
17814 (timeclock-find-discrep): Remove unused local.
17815
17816 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17817
17818 * calendar/appt.el (appt-time-msg-list): Doc fix.
17819
17820 2011-05-06 Noah Friedman <friedman@splode.com>
17821
17822 * apropos.el (apropos-print-doc): Only use
17823 emacs-lisp-docstring-fill-column when it is bound to an integer,
17824 per that variable's documentation.
17825
17826 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17827
17828 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17829 and warnings are not silently discarded (e.g. use -d instead of -P).
17830
17831 2011-05-06 Glenn Morris <rgm@gnu.org>
17832
17833 * calendar/appt.el (appt-message-warning-time): Doc fix.
17834 (appt-warning-time-regexp): New option.
17835 (appt-make-list): Respect appt-message-warning-time.
17836
17837 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17838 New options.
17839 (diary-add-to-list): Strip comments from the displayed string.
17840 (diary-mode): Set comment-start and comment-end.
17841
17842 * vc/diff-mode.el (smerge-refine-subst): Declare.
17843 (diff-refine-hunk): Don't require smerge-mode when compiling.
17844
17845 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
17846
17847 * simple.el (list-processes): Return nil as the docstring says.
17848
17849 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17850
17851 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17852 to "".
17853 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17854 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17855 determining of binary transfer. (Bug#7383)
17856
17857 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17858
17859 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17860 Fix port computation bug. (Bug#8618)
17861
17862 2011-05-05 Glenn Morris <rgm@gnu.org>
17863
17864 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17865
17866 * simple.el (shell-dynamic-complete-functions)
17867 (comint-dynamic-complete-functions): Declare.
17868
17869 * net/network-stream.el (gnutls-negotiate):
17870 * simple.el (tabulated-list-print): Fix declarations.
17871
17872 * progmodes/gud.el (syntax-symbol, syntax-point):
17873 Remove unnecessary and incorrect declarations.
17874
17875 * emacs-lisp/check-declare.el (check-declare-scan):
17876 Handle byte-compile-initial-macro-environment in bytecomp.el
17877
17878 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17879
17880 Fix earlier half-done eieio-defmethod change (bug#8338).
17881 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17882 Streamline and change calling convention.
17883 (defmethod): Adjust accordingly and simplify.
17884 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17885 new eieio--defmethod.
17886 (slot-boundp): Minor CSE simplification.
17887
17888 2011-05-05 Milan Zamazal <pdm@zamazal.org>
17889
17890 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17891 (glasses-make-readable): Use glasses-separate-capital-groups.
17892
17893 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
17894
17895 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17896 (warning-series): Doc fix.
17897 (display-warning): Don't try to create the buffer if we just found it.
17898
17899 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
17900
17901 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17902 (autoload-find-generated-file): New function.
17903 (generate-file-autoloads): Bind generated-autoload-file to
17904 buffer-file-name.
17905 (update-file-autoloads, update-directory-autoloads):
17906 Use autoload-find-generated-file. If called interactively, prompt for
17907 output file (Bug#7989).
17908 (batch-update-autoloads): Doc fix.
17909
17910 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
17911
17912 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17913
17914 2011-05-04 Glenn Morris <rgm@gnu.org>
17915
17916 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17917 function, so it follows changes in calendar-date-style.
17918 (diary-fancy-date-matcher): New function.
17919 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17920 (diary-fancy-font-lock-fontify-region-function):
17921 Use diary-fancy-date-pattern as a function.
17922
17923 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17924 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17925
17926 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17927
17928 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17929 instead of positional arguments. Allow :keylist and :crlfiles
17930 arguments.
17931 (open-gnutls-stream): Call it.
17932
17933 * net/network-stream.el (network-stream-open-starttls): Adjust to
17934 call `gnutls-negotiate' with :process and :hostname arguments.
17935
17936 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17937
17938 * minibuffer.el (completion--message): New function.
17939 (completion--do-completion, minibuffer-complete)
17940 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17941 (completion--do-completion): Don't ignore completion-auto-help when in
17942 icomplete-mode.
17943
17944 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17945 internal encoding (e.g. tibetan zero is not whitespace).
17946 (global-whitespace-mode): Prefer save-current-buffer.
17947 (whitespace-trailing-regexp): Remove useless save-match-data.
17948 (whitespace-empty-at-bob-regexp): Minor simplification.
17949
17950 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
17951
17952 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17953
17954 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17955
17956 * textmodes/ispell.el (ispell-add-per-file-word-list):
17957 Use `concat' to create string for insertion.
17958
17959 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17960
17961 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17962 Avoid open-line which runs post-self-insert-hook.
17963 (bibtex-fill-entry): Remove unused `end' var.
17964
17965 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17966
17967 * textmodes/ispell.el (ispell-add-per-file-word-list):
17968 Protect against `nil' value of `comment-start' (Bug#8579).
17969
17970 2011-05-03 Leo Liu <sdl.web@gmail.com>
17971
17972 * isearch.el (isearch-yank-pop): New command.
17973 (isearch-mode-map): Bind it to `M-y'.
17974 (isearch-forward): Mention it.
17975
17976 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17977
17978 * simple.el (minibuffer-complete-shell-command): Remove.
17979 (minibuffer-local-shell-command-map): Use completion-at-point.
17980 (read-shell-command): Setup completion vars here instead.
17981 (read-expression-map): Bind TAB to symbol completion.
17982
17983 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17984 error directly rather via storing it into `results'.
17985
17986 2011-05-02 Leo Liu <sdl.web@gmail.com>
17987
17988 * vc/diff.el: Fix description.
17989
17990 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17991
17992 * server.el (server-eval-at): New function.
17993
17994 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17995
17996 * net/network-stream.el (open-network-stream): Take a :nowait
17997 parameter and pass it on to `make-network-process'.
17998 (network-stream-open-plain): Ditto.
17999
18000 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18001
18002 * faces.el (face-spec-set-match-display): Don't match toolkit
18003 options on terminal frames.
18004
18005 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18006
18007 * progmodes/pascal.el: Use lexical binding.
18008 (pascal-mode-map): Remove author preferences.
18009
18010 * pcomplete.el (pcomplete-std-complete): Don't abuse
18011 completion-at-point.
18012
18013 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18014
18015 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18016 removing code that has been dead since 1991 or so.
18017
18018 * startup.el (command-line): When warning about "_emacs", use a
18019 delayed warning to allow the user to filter it out.
18020
18021 2011-04-28 Deniz Dogan <deniz@dogan.se>
18022
18023 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18024 user has not joined.
18025
18026 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18027
18028 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18029 aren't any completions at point.
18030
18031 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18032
18033 * subr.el (display-delayed-warnings): New function.
18034 (delayed-warnings-hook): New variable.
18035
18036 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18037
18038 * minibuffer.el (completion-at-point, completion-help-at-point):
18039 Don't presume that a given completion-at-point-function will always
18040 use the same calling convention.
18041
18042 * pcomplete.el (pcomplete-completions-at-point):
18043 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18044 pcomplete-seen is non-nil.
18045 (pcomplete-comint-setup): Also recognize the new comint/shell
18046 completion functions.
18047 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18048 pcomplete-seen is non-nil.
18049
18050 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18051
18052 * calendar/icalendar.el (diary-lib): Add require statement.
18053 (icalendar--create-uid): Read out a uid from a text-property on
18054 the first character in the entry. This allows for code to add its
18055 own uid to the entry.
18056 (icalendar--convert-float-to-ical): Add export of
18057 `diary-float'-entries save for those with the optional DAY
18058 argument.
18059
18060 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18061
18062 * subr.el (shell-quote-argument): Use alternate escaping strategy
18063 when we spot a variable reference in a string.
18064
18065 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18066
18067 * cus-start.el (all): Define customization for debug-on-event.
18068
18069 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18070
18071 * subr.el (shell-quote-argument): Escape correctly under Windows.
18072
18073 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18074
18075 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18076
18077 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18078
18079 * net/tramp.el (tramp-process-actions): Add POS argument.
18080 Delete region between POS and (pos).
18081
18082 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18083 Use `nil' position in `tramp-process-actions' call.
18084 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18085
18086 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18087 position in `tramp-process-actions' call.
18088
18089 * net/trampver.el: Update release number.
18090
18091 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18092
18093 * custom.el (defcustom): Obey lexical-binding.
18094
18095 Fix octave-inf completion problems reported by Alexander Klimov.
18096 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18097 Inherit from octave-mode-syntax-table.
18098 (inferior-octave-mode): Set info-lookup-mode.
18099 (inferior-octave-completion-at-point): New function.
18100 (inferior-octave-complete): Use it and completion-in-region.
18101 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18102 comint-filename-completion.
18103 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18104 symbol elements which shouldn't be word elements.
18105 (octave-font-lock-keywords, octave-beginning-of-defun)
18106 (octave-function-header-regexp): Adjust regexps accordingly.
18107 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18108
18109 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18110
18111 * net/gnutls.el (gnutls-errorp): Declare before first use.
18112
18113 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18114
18115 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18116 verify-error, and verify-hostname-error parameters. Check whether
18117 default trustfile exists before going to use it. Add missing
18118 argument to gnutls-message-maybe call. Return value.
18119 Reported by Claudio Bley <claudio.bley@gmail.com>.
18120 (open-gnutls-stream): Add usage example.
18121
18122 * net/network-stream.el (network-stream-open-starttls): Give host
18123 parameter to `gnutls-negotiate'.
18124 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18125 * subr.el (shell-quote-argument): Escape correctly under Windows.
18126
18127 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18128
18129 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18130 Use correct match group (bug#8438).
18131
18132 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18133
18134 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18135 (package-menu--generate): New arg specifying packages to show.
18136 (package-menu-refresh, package-menu-execute, list-packages):
18137 Callers changed.
18138 (package-show-package-list): New function, replacing deleted
18139 package--list-packages (renamed because it is non-internal).
18140
18141 * finder.el (finder-list-matches): Use package-show-package-list
18142 instead of deleted package--list-packages.
18143
18144 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18145 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18146 (vc-annotate-mode-map): Bind it to RET.
18147
18148 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18149
18150 * progmodes/etags.el (next-file): Don't use set-buffer to change
18151 buffers (Bug#8478).
18152
18153 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18154
18155 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18156
18157 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18158 (apropos-accumulator): Doc fix.
18159 (apropos-function, apropos-macro, apropos-command)
18160 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18161 (apropos-plist): Add face property.
18162 (apropos-symbols-internal): Fix indentation.
18163 (apropos-print): Simplify help, and recognize apropos-multi-type.
18164 (apropos-print-doc): Use button-type-get to extract the button's
18165 face property. Fill docstring (Bug#8352).
18166
18167 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18168
18169 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18170
18171 * play/mpuz.el (mpuz-silent): Doc fix.
18172 (mpuz-mode-map): Use mapc.
18173 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18174 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18175 Fix typos in docstrings.
18176
18177 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18178 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18179
18180 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18181
18182 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18183
18184 * minibuffer.el (completion--do-completion): Avoid the "Next char
18185 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18186
18187 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18188 mouse-2 into unread-command-events, it is interpreted correctly.
18189
18190 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18191 (image-toggle-display): Doc fix.
18192
18193 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18194
18195 * textmodes/page.el (what-page): Use line-number-at-pos to
18196 calculate line number (Bug#6825).
18197
18198 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18199
18200 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18201 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18202 Pass argument NO-DEFAULT to `find-tag-interactive'.
18203
18204 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18205
18206 Lexical-binding cleanup.
18207
18208 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18209 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18210 * progmodes/ada-prj.el (ada-prj-initialize-values)
18211 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18212 (ada-prj-show-value):
18213 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18214 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18215 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18216 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18217 * progmodes/bug-reference.el (bug-reference-push-button):
18218 * progmodes/fortran.el (fortran-line-length):
18219 * progmodes/glasses.el (glasses-change):
18220 * progmodes/octave-mod.el (octave-fill-paragraph):
18221 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18222 (python-pdbtrack-grub-for-buffer, python-sentinel):
18223 * progmodes/sql.el (sql-save-connection):
18224 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18225 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18226 Mark unused parameters.
18227
18228 * progmodes/compile.el (compilation--flush-directory-cache)
18229 (compilation--flush-parse, compile-internal): Mark unused parameters.
18230 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18231 (compilation-next-error-function): Remove unused variable `timestamp'.
18232
18233 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18234 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18235
18236 * progmodes/dcl-mode.el (dcl-end-of-command):
18237 Remove unused variable `start'.
18238 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18239 (dcl-option-value-basic, dcl-option-value-offset)
18240 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18241 Mark unused parameters.
18242 (dcl-save-local-variable): Remove unused variable `val'.
18243 (mode): Declare.
18244
18245 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18246 Mark unused parameters.
18247 (delphi-ignore-changes): Move before first use.
18248 (delphi-charset-token-at): Remove unused variable `start'.
18249 (delphi-else-start): Remove unused variable `if-count'.
18250 (delphi-comment-block-start, delphi-comment-block-end):
18251 Remove unused variable `kind'.
18252 (delphi-indent-line): Remove unused variable `new-point'.
18253
18254 * progmodes/ebrowse.el (ebrowse-files-list)
18255 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18256 Mark unused parameters. Don't quote `lambda'.
18257 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18258 Don't quote `lambda'.
18259 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18260 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18261 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18262 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18263 Use `ignore-errors'.
18264 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18265 (ebrowse-view/find-file-and-search-pattern)
18266 (ebrowse-view/find-member-declaration/definition):
18267 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18268 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18269 Rename parameter PREFIX-ARG to PREFIX.
18270 (ebrowse-tags-read-name): Remove unused variables `start' and
18271 `member-info'.
18272 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18273 to `tags-file'.
18274
18275 * progmodes/etags.el (local-find-tag-hook): Declare.
18276 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18277 Mark unused parameters.
18278
18279 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18280 (executable-interpret): Mark unused parameter.
18281
18282 * progmodes/flymake.el (flymake-process-sentinel)
18283 (flymake-after-change-function)
18284 (flymake-create-temp-with-folder-structure)
18285 (flymake-get-include-dirs-dot): Mark unused parameters.
18286 (flymake-safe-delete-directory): Remove unused variable `err'.
18287
18288 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18289 (speedbar-timer-fn, speedbar-line-text)
18290 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18291 (speedbar-center-buffer-smartly): Declare functions.
18292 (gdb-find-watch-expression): Remove unused variable `array'.
18293 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18294 (gdb-starting): Mark unused parameters.
18295 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18296 (gdb-table-string): Remove unused variable `res'.
18297 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18298 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18299 (gdb-display-buffer): Remove unused variable `cur-size'.
18300
18301 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18302 allow lexical-binding compilation.
18303 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18304 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18305 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18306 Mark unused parameters.
18307 (gud-gdb-marker-filter): Remove unused variable `match'.
18308 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18309 lambda expressions and funcall them, instead of using `fset'.
18310
18311 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18312 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18313
18314 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18315 variable `header-beg'; use `let'.
18316
18317 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18318 `restart', `last-sexp' and `at-do'.
18319
18320 * progmodes/js.el (js--debug): Mark unused parameter.
18321 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18322 (js--splice-into-items): Remove unused variable `item'.
18323 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18324
18325 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18326 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18327 (makefile-complete): Remove unused variable `try'.
18328 (makefile-fill-paragraph, makefile-match-function-end):
18329 Mark unused parameters.
18330
18331 * progmodes/octave-inf.el (inferior-octave-complete):
18332 Remove unused variable `proc'.
18333 (inferior-octave-output-digest): Mark unused parameter.
18334
18335 * progmodes/perl-mode.el (perl-calculate-indent):
18336 Remove unused variable `err'.
18337
18338 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18339 (prolog-indent-line): Mark unused parameters.
18340 (prolog-indent-line): Remove unused variable `beg'.
18341
18342 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18343 (reporter-dont-compact-list): Declare.
18344
18345 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18346 Remove unused variable `char'.
18347 (sh-debug): Mark unused parameter.
18348 (sh-get-indent-info): Remove unused variable `start'.
18349 (sh-calculate-indent): Remove unused variable `var'.
18350
18351 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18352 (simula-electric-keyword): Remove unused variable `null'.
18353 (simula-search-backward, simula-search-forward): Remove unused
18354 variables `begin' and `end'.
18355
18356 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18357 Remove unused variable `pos'.
18358 (vera-electric-tab, vera-comment-uncomment-region):
18359 Mark unused parameters.
18360 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18361
18362 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18363
18364 * emacs-lisp/package.el (package--builtins, package-alist)
18365 (package-load-descriptor, package-built-in-p, package-activate)
18366 (define-package, package-installed-p)
18367 (package-compute-transaction, package-buffer-info)
18368 (package--push): Doc fix. Distinguish more clearly between
18369 version strings and version lists.
18370
18371 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18372
18373 Lexical-binding cleanup.
18374
18375 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18376 (5x5-make-mutate-best):
18377 * play/fortune.el (fortune-in-buffer):
18378 * play/gomoku.el (gomoku-init-display):
18379 * play/solitaire.el (solitaire, solitaire-do-check):
18380 * play/tetris.el (tetris-default-update-speed-function):
18381 Mark unused parameters.
18382
18383 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18384 (bubbles--shift): Remove unused variable `char-org'.
18385 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18386 (bubbles--show-images): Remove unused variable `char'.
18387
18388 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18389 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18390 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18391 (decipher-analyze-buffer): Use ?\s.
18392 (decipher-make-checkpoint): Remove unused variable `mapping'.
18393
18394 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18395
18396 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18397 Remove unused variable `result'; use `let'.
18398
18399 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18400 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18401 (gametree-children-shown-p, gametree-compute-reduced-score):
18402 Use `ignore-errors'.
18403
18404 * play/handwrite.el (ps-lpr-switches): Declare.
18405 (handwrite): Remove unused variables `pmin' and `lastp'.
18406
18407 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18408
18409 * play/landmark.el (landmark-init-display)
18410 (landmark-update-naught-weights): Mark unused parameters.
18411 (landmark-y): Remove unused variable `noise'. Simplify.
18412 (landmark-human-plays): Remove unused variable `score'.
18413
18414 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18415 (mpuz-try-proposal): Remove unused variable `game'.
18416
18417 * play/zone.el (life-patterns): Declare.
18418
18419 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18420
18421 * vc/vc.el (ediff-vc-internal): Declare function.
18422
18423 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18424
18425 * shell.el: Use lexical-binding and std completion UI.
18426 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18427 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18428 comint-preoutput-filter-functions rather than on
18429 comint-output-filter-functions.
18430 (shell-command-completion, shell--command-completion-data)
18431 (shell-filename-completion, shell-environment-variable-completion)
18432 (shell-c-a-p-replace-by-expanded-directory): New functions.
18433 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18434 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18435 (shell-dynamic-complete-environment-variable): Use them.
18436 (shell-dynamic-complete-as-environment-variable)
18437 (shell-dynamic-complete-as-command): Remove.
18438 (shell-match-partial-variable): Match past point.
18439 * comint.el: Clean up use of completion-at-point-functions.
18440 (comint-completion-at-point): New function.
18441 (comint-mode): Use it completion-at-point-functions.
18442 (comint-dynamic-complete): Make it obsolete.
18443 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18444 (comint-c-a-p-replace-by-expanded-history): New function.
18445 (comint-dynamic-complete-functions)
18446 (comint-replace-by-expanded-history): Use it.
18447 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18448 termination strings. Try harder to avoid second try-completion.
18449 (completion-in-region-mode-map): Disable bindings that don't work yet.
18450
18451 * comint.el: Use lexical-binding. Require CL.
18452 (comint-dynamic-complete-functions): Use comint-filename-completion.
18453 (comint-completion-addsuffix): Tweak custom type.
18454 (comint-filename-completion, comint--common-suffix)
18455 (comint--common-quoted-suffix, comint--table-subvert)
18456 (comint--complete-file-name-data): New functions.
18457 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18458 (comint-dynamic-list-filename-completions): Use them.
18459 (comint-dynamic-simple-complete): Make obsolete.
18460
18461 * minibuffer.el (completion-in-region-mode):
18462 Keep completion-in-region-mode--predicate global.
18463 (completion-in-region--postch):
18464 Assume completion-in-region-mode--predicate is not null.
18465
18466 * progmodes/flymake.el (flymake-start-syntax-check-process):
18467 Obey `dir'. Simplify.
18468
18469 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18470 we're in VC after all.
18471
18472 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18473
18474 * vc/vc.el (vc-diff-build-argument-list-internal)
18475 (vc-version-ediff, vc-ediff): New commands.
18476 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18477
18478 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18479
18480 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18481 add sanity check.
18482
18483 * obsolete/erc-hecomplete.el: Make obsolete.
18484 * obsolete/: Standardize obsolescence info in the header.
18485
18486 2011-04-20 Glenn Morris <rgm@gnu.org>
18487
18488 * calendar/solar.el (solar-horizontal-coordinates):
18489 Use the longitude argument rather than `calendar-longitude'.
18490 (solar-date-next-longitude): Remove unused locals.
18491
18492 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18493
18494 * whitespace.el: New version 13.2.1.
18495
18496 2011-04-20 felix <EmacsWiki> (tiny change)
18497
18498 * whitespace.el (global-whitespace-mode): Keep highlight when
18499 switching between major modes on a file.
18500
18501 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18502
18503 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18504 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18505 multi-line comments as well.
18506
18507 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18508
18509 Lexical-binding cleanup.
18510
18511 * arc-mode.el (archive-mode-revert):
18512 * cmuscheme.el (scheme-interactively-start-process):
18513 * custom.el (custom-initialize-delay):
18514 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18515 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18516 * emacs-lock.el (emacs-lock-clear-sentinel):
18517 * ezimage.el (defezimage):
18518 * follow.el (follow-avoid-tail-recenter):
18519 * fringe.el (set-fringe-mode-1):
18520 * generic-x.el (bat-generic-mode-compile):
18521 * help-mode.el (help-info-variable, help-do-xref)
18522 (help-mode-revert-buffer):
18523 * help.el (view-emacs-todo):
18524 * iswitchb.el (iswitchb-completion-help):
18525 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18526 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18527 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18528 * locate.el (locate-update):
18529 * longlines.el (longlines-encode-region)
18530 (longlines-after-change-function):
18531 * outline.el (outline-isearch-open-invisible):
18532 * ps-def.el (declare-function, charset-dimension, char-width)
18533 (encode-char):
18534 * ps-mule.el (ps-mule-plot-string):
18535 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18536 (recentf-edit-list-select, recentf-edit-list-validate)
18537 (recentf-open-files-action):
18538 * rect.el (delete-whitespace-rectangle-line)
18539 (rectangle-number-line-callback):
18540 * register.el (window-configuration-to-register)
18541 (frame-configuration-to-register):
18542 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18543 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18544 (xselect-convert-to-targets, xselect-convert-to-delete)
18545 (xselect-convert-to-filename, xselect-convert-to-charpos)
18546 (xselect-convert-to-lineno, xselect-convert-to-colno)
18547 (xselect-convert-to-os, xselect-convert-to-host)
18548 (xselect-convert-to-user, xselect-convert-to-class)
18549 (xselect-convert-to-name, xselect-convert-to-integer)
18550 (xselect-convert-to-atom, xselect-convert-to-identity):
18551 * subr.el (declare, ignore, process-kill-without-query)
18552 (text-clone-maintain):
18553 * terminal.el (te-get-char, te-tic-sentinel):
18554 * tool-bar.el (tool-bar-make-keymap):
18555 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18556 * type-break.el (type-break-mode, type-break-noninteractive-query):
18557 * view.el (View-back-to-mark):
18558 * wid-browse.el (widget-browse-action, widget-browse-widget)
18559 (widget-browse-widgets, widget-browse-sexp):
18560 * widget.el (define-widget-keywords):
18561 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18562 Mark unused parameters.
18563
18564 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18565 (align-areas): Remove unused variable `look'.
18566 (align-region): Remove unused variables `real-end' and `pos-list'.
18567
18568 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18569
18570 * bindings.el (mode-line-modified, mode-line-remote):
18571 Mark unused parameters.
18572 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18573
18574 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18575 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18576
18577 * comint.el (comint-history-isearch-pop-state)
18578 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18579 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18580 (comint-substitute-in-file-name): Doc fix.
18581
18582 * completion.el (cmpl-statistics-block): Mark unused parameter.
18583 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18584 (save-completions-to-file, load-completions-from-file):
18585 Remove unused local variable `e'.
18586
18587 * composite.el (compose-chars): Remove unused variable `len'.
18588 (lgstring-insert-glyph): Remove unused variable `g'.
18589 (compose-glyph-string): Remove unused variables `ascent',
18590 `descent', `lbearing' and `rbearing'.
18591 (compose-glyph-string-relative): Remove unused variables
18592 `lbearing', `rbearing' and `wadjust'.
18593 (compose-gstring-for-graphic): Remove unused variables `header',
18594 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18595 (compose-gstring-for-terminal): Remove unused variables `header'
18596 and `nchars'. Use `let', not `let*'.
18597
18598 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18599 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18600 (Custom-buffer-done, custom-buffer-create-internal)
18601 (custom-browse-visibility-action, custom-browse-group-tag-action)
18602 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18603 (widget-magic-mouse-down-action, custom-toggle-parent)
18604 (custom-add-parent-links, custom-toggle-hide-variable)
18605 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18606 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18607 (custom-face-menu-create, custom-variable-menu-create, get)
18608 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18609 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18610 (customize-apropos): Remove unused variable `tests'.
18611 (custom-group-value-create): Remove unused variable `hidden-p'.
18612 (sort-fold-case): Declare.
18613
18614 * cus-theme.el (custom-reset-standard-faces-list)
18615 (custom-reset-standard-variables-list): Declare.
18616 (customize-create-theme, custom-theme-revert, custom-theme-write)
18617 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18618 Mark unused parameters.
18619
18620 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18621
18622 * delim-col.el (delimit-columns-max): Move defvar before first use.
18623
18624 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18625 (describe-char): Don't quote `lambda'. Mark unused parameter.
18626
18627 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18628 (auto-insert): Declare.
18629 (desktop-restore-file-buffer): Rename desktop-* parameters;
18630 mark unused ones.
18631 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18632 (desktop-buffer): Rename desktop-* parameters.
18633
18634 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18635 (dframe-reposition-frame-xemacs, dframe-help-echo)
18636 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18637 Mark unused parameters.
18638
18639 * dired-aux.el (backup-extract-version-start, overwrite-query)
18640 (overwrite-backup-query, rename-regexp-query)
18641 (rename-non-directory-query): Declare.
18642 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18643 (dired-add-entry): Remove unused variable `orig-file-name'.
18644 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18645 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18646 `dired-copy-preserve-time' directly.
18647 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18648 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18649
18650 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18651 (dired-virtual-revert, dired-make-relative-symlink):
18652 Mark unused parameters.
18653 (manual-program): Declare.
18654 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18655 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18656 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18657
18658 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18659
18660 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18661
18662 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18663 Declare.
18664
18665 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18666
18667 * electric.el (Electric-command-loop): Rename parameter
18668 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18669
18670 * expand.el (expand-in-literal): Remove unused variable `here'.
18671
18672 * facemenu.el (facemenu-add-new-color):
18673 Remove unused variable `docstring'.
18674
18675 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18676 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18677 (face-attr-construct): Mark unused parameter. Doc fix.
18678 (read-color): Remove unused variable `hex-string'.
18679
18680 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18681 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18682 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18683 (display-buffer-other-frame): Remove unused variable `old-window'.
18684 (kill-buffer-hook): Declare.
18685 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18686 Mark unused parameters.
18687 (after-find-file): Pass 1 to `auto-save-mode', not t.
18688
18689 * files-x.el (auto-insert): Declare.
18690 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18691
18692 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18693 variable `buf'. Mark unused parameter.
18694 (find-lisp-insert-directory): Mark unused parameter.
18695
18696 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18697 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18698 (format-common-tail): Remove, unused.
18699 (format-deannotate-region): Remove unused variable `loc'.
18700 (format-annotate-region): Remove unused variable `p'.
18701 (format-annotate-single-property-change): Remove unused variables
18702 `default' and `tail'.
18703
18704 * forms.el (read-file-filter): Declare.
18705 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18706
18707 * frame.el (frame-creation-function-alist): Mark unused parameter.
18708 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18709
18710 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18711 Remove unused parameters.
18712 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18713 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18714
18715 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18716 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18717 (hfy-prepare-tag-map): Mark unused parameters.
18718 (htmlfontify-buffer): Use `called-interactively-p'.
18719
18720 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18721 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18722 (ibuffer-do-occur): Mark unused parameters.
18723 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18724 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18725
18726 * ibuffer.el: Don't quote `lambda'.
18727 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18728 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18729 Mark unused parameters.
18730
18731 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18732 (ido-completing-read): Mark unused parameters.
18733 (ido-copy-current-word): Mark unused parameters;
18734 remove unused variable `name'.
18735 (ido-sort-merged-list): Remove unused parameter `dirs'.
18736
18737 * ielm.el (ielm-input-sender): Mark unused parameter.
18738 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18739 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18740 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18741 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18742 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18743
18744 * image-dired.el (image-dired-display-thumbs): Remove unused
18745 variables `curr-file' and `count'.
18746 (image-dired-remove-tag): Remove unused variable `start'.
18747 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18748 variable `curr-file'
18749 (image-dired-rotate-original): Remove unused variable `temp-file'.
18750 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18751 Remove unused variable `file'.
18752 (image-dired-gallery-generate): Remove unused variable `curr'.
18753 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18754
18755 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18756
18757 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18758
18759 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18760
18761 * isearch.el (minibuffer-history-symbol): Declare.
18762 (isearch-edit-string): Remove unused variable `err'.
18763 (isearch-message-prefix, isearch-message-suffix):
18764 Mark unused parameters.
18765
18766 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18767
18768 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18769
18770 * makesum.el (double-column): Remove unused variable `cnt'.
18771
18772 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18773 (ido-ignore-item-temp-list): Declare.
18774
18775 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18776 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18777 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18778 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18779 `mouse-col-delta'.
18780
18781 * mouse-sel.el (mouse-extend-internal):
18782 Remove unused variable `orig-window-frame'.
18783
18784 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18785 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18786 Move declarations before first use.
18787 (pcomplete-opt): Mark unused parameters; doc fix.
18788
18789 * proced.el (proced-revert): Mark unused parameter.
18790 (proced-send-signal): Remove unused variable `err'.
18791
18792 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18793 Rename parameter PREFIX-ARG to ARG.
18794 (ps-basic-plot-string, ps-basic-plot-whitespace):
18795 Mark unused parameters.
18796
18797 * replace.el (replace-count): Define.
18798 (occur-revert-function): Mark unused parameters.
18799 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18800 (isearch-case-fold-search, isearch-string): Declare.
18801 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18802 bind `case-fold-search'. Remove unused variables `beg' and `end',
18803 and simplify.
18804 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18805 COUNT and bind `replace-count'.
18806 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18807 to COUNT.
18808
18809 * savehist.el (print-readably, print-string-length): Declare.
18810
18811 * shadowfile.el (shadow-expand-cluster-in-file-name):
18812 Remove unused variable `cluster'.
18813 (shadow-copy-file): Remove unused variable `i'.
18814 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18815 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18816 (shadow-define-literal-group, shadow-define-regexp-group)
18817 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18818
18819 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18820 (shell): Use `called-interactively-p'.
18821 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18822
18823 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18824 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18825 (delete-backward-char): Remove unused variable `ocol'.
18826 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18827 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18828 (event-apply-hyper-modifier, event-apply-shift-modifier)
18829 (event-apply-control-modifier, event-apply-meta-modifier):
18830 Mark unused parameters.
18831 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18832 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18833
18834 * speedbar.el (speedbar-ignored-directory-expressions)
18835 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18836 (speedbar-find-file, speedbar-dir-follow)
18837 (speedbar-directory-buttons-follow, speedbar-tag-find)
18838 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18839 (speedbar-buffers-line-directory, speedbar-buffer-click):
18840 Mark unused parameters.
18841 (speedbar-tag-file): Remove unused variable `mode'.
18842 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18843
18844 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18845
18846 * talk.el (talk): Remove unused variable `display'.
18847
18848 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18849 (tar-write-region-annotate): Mark unused parameter.
18850
18851 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18852 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18853 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18854 warning by another.
18855
18856 * time-stamp.el (time-stamp-string-preprocess):
18857 Remove unused variable `require-padding'.
18858
18859 * tree-widget.el (widget-glyph-enable): Declare.
18860 (tree-widget-action): Mark unused parameter.
18861
18862 * w32-fns.el (x-get-selection): Mark unused parameter.
18863 (autoload-make-program, generated-autoload-file): Declare.
18864
18865 * wdired.el (wdired-revert): Mark unused parameters.
18866 (wdired-xcase-word): Remove unused variable `err'.
18867
18868 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18869 (whitespace-help-scroll): Remove unused variable `data-help'.
18870
18871 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18872 (widget-image-insert, widget-after-change, default)
18873 (widget-default-format-handler, widget-default-notify)
18874 (widget-default-prompt-value, widget-info-link-action)
18875 (widget-url-link-action, widget-function-link-action)
18876 (widget-variable-link-action, widget-file-link-action)
18877 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18878 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18879 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18880 (widget-insert-button-action, widget-delete-button-action, visibility)
18881 (widget-documentation-link-action, widget-documentation-string-action)
18882 (widget-const-prompt-value, widget-regexp-match, symbol)
18883 (widget-coding-system-prompt-value)
18884 (widget-key-sequence-value-to-external, sexp)
18885 (widget-sexp-value-to-internal, character, vector, cons)
18886 (widget-choice-prompt-value, widget-boolean-prompt-value)
18887 (widget-color--choose-action): Mark unused parameters.
18888 (widget-item-match-inline, widget-choice-match-inline)
18889 (widget-checklist-match, widget-checklist-match-inline)
18890 (widget-group-match): Rename parameter VALUES to VALS.
18891 (widget-field-value-set): Remove unused variable `size'.
18892 (widget-color-action): Remove unused variables `value' and `start'.
18893
18894 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18895 variable `dir'. Doc fix.
18896 (windmove-find-other-window): Don't pass it.
18897
18898 * window.el (count-windows): Mark unused parameter.
18899 (bw-adjust-window): Remove unused variable `err'.
18900
18901 * woman.el (woman-file-name): Remove unused variable `default'.
18902 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18903 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18904 (global-font-lock-mode): Declare.
18905 (woman-decode-region): Mark unused parameter.
18906 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18907
18908 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18909 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18910 (x-dnd-handle-moz-url): Remove unused variable `title'.
18911 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18912
18913 * xml.el (xml-parse-tag, xml-parse-attlist):
18914 Remove unused variable `pos'.
18915
18916 2011-04-19 Glenn Morris <rgm@gnu.org>
18917
18918 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18919 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18920 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18921 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18922 * calendar/cal-html.el (cal-html-insert-minical):
18923 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18924 (calendar-mark-date-pattern):
18925 Prefix "unused" locals.
18926
18927 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18928 optional argument `style'.
18929
18930 * calendar/appt.el (appt-make-list):
18931 * calendar/cal-china.el (calendar-chinese-date-string):
18932 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18933 (diary-hebrew-yahrzeit):
18934 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18935 * calendar/calendar.el (calendar-generate-window):
18936 * calendar/time-date.el (time-to-days):
18937 Remove unused local variables.
18938
18939 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
18940
18941 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18942 glyphless-char-display table.
18943 (tabulated-list-glyphless-char-display): New var.
18944
18945 2011-04-18 Sam Steingold <sds@gnu.org>
18946
18947 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18948 to acknowledgments.
18949
18950 2011-04-17 Glenn Morris <rgm@gnu.org>
18951
18952 * calendar/diary-lib.el (diary-sexp-entry):
18953 * calendar/holidays.el (holiday-sexp):
18954 Set debug-on-error rather than the removed stack-trace-on-error.
18955
18956 2011-04-16 Glenn Morris <rgm@gnu.org>
18957
18958 * progmodes/f90.el: Use lexical-binding.
18959 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18960
18961 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18962
18963 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18964 (mail-mode): Setup mailalias completion here instead.
18965 * mail/mailalias.el: Use lexical-binding.
18966 (pattern, mailalias-done): Declare dynamic.
18967 (mail-completion-at-point-function): New function, from mail-complete.
18968 (mail-complete): Use it.
18969 (mail-completion-expand): New function.
18970 (mail-get-names): Use it.
18971 (mail-directory, mail-directory-process, mail-directory-stream):
18972 Don't use `pattern' for lexically bound arg.
18973
18974 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18975
18976 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18977 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18978 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18979
18980 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18981 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18982 (byte-interactive-p): Define them again, for use when inlining
18983 old code.
18984
18985 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
18986
18987 * loadup.el: Use `string-to-number', not `string-to-int'.
18988
18989 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18990
18991 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18992 gud-gdb-complete-command.
18993 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18994 (gud-gdb-completion-at-point): New function.
18995 (gud-gdb-completions): Remove.
18996
18997 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
18998
18999 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19000 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19001 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19002 whether `executable-find' is bound.
19003
19004 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19005
19006 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19007
19008 * minibuffer.el (completion-in-region-mode-predicate)
19009 (completion-in-region-mode--predicate): New vars.
19010 (completion-in-region, completion-in-region--postch)
19011 (completion-in-region-mode): Use them.
19012 (completion--capf-wrapper): Also return the hook function.
19013 (completion-at-point, completion-help-at-point):
19014 Adjust and provide a predicate.
19015
19016 Preserve arg names for advice of subr and lexical functions (bug#8457).
19017 * help-fns.el (help-function-arglist): Consolidate the subr and
19018 new-byte-code cases. Add argument `preserve-names' to extract names
19019 from the docstring when needed.
19020 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19021 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19022 (ad-arglist): Use help-function-arglist's new arg.
19023 (ad-definition-type): Use cond.
19024
19025 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19026
19027 * autorevert.el (auto-revert-handler):
19028 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19029 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19030 Don't quote lambda.
19031
19032 * image-mode.el (image-transform-set-scale):
19033 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19034
19035 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19036
19037 * net/network-stream.el (network-stream-open-starttls): Only do
19038 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19039 Upgrades via gnutls-cli are too slow to be done opportunistically.
19040
19041 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19042
19043 * dframe.el (dframe-current-frame): Remove spurious quote.
19044
19045 2011-04-12 Glenn Morris <rgm@gnu.org>
19046
19047 * calendar/cal-tex.el (cal-tex-end-document):
19048 Try to automatically use latin1 input if needed.
19049
19050 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19051 Don't try to cons a mark onto an empty element.
19052
19053 2011-04-11 Leo Liu <sdl.web@gmail.com>
19054
19055 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19056 buffers.
19057 (ido-kill-buffer-at-head): Support killing virtual buffers.
19058
19059 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19060
19061 * minibuffer.el (completion-show-inline-help): New var.
19062 (completion--do-completion, minibuffer-complete)
19063 (minibuffer-force-complete, minibuffer-complete-word):
19064 Inhibit minibuffer messages if completion-show-inline-help is nil.
19065
19066 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19067 to avoid interference from inline help (Bug#5849).
19068
19069 2011-04-10 Leo Liu <sdl.web@gmail.com>
19070
19071 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19072 Fix typo.
19073
19074 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19075
19076 * image-mode.el (image-toggle-display-image): Signal an error if
19077 not in Image mode.
19078 (image-transform-mode, image-transform-resize)
19079 (image-transform-set-rotation): Doc fix.
19080 (image-transform-set-resize): Delete.
19081 (image-transform-set-scale, image-transform-fit-to-height)
19082 (image-transform-fit-to-width): Handle image-toggle-display-image
19083 and image-transform-resize directly.
19084
19085 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19086
19087 * doc-view.el (doc-view-fit-width-to-window)
19088 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19089 New functions for fitting the shown image to the Emacs window size.
19090 (doc-view-mode-map): Add bindings for the new functions.
19091
19092 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19093
19094 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19095 Fix typo in docstring.
19096
19097 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19098
19099 * files.el (file-size-human-readable): Produce one digit after
19100 decimal, like "ls -lh" does.
19101
19102 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19103 the file size representation.
19104
19105 * simple.el (list-processes): If async subprocesses are not
19106 available, error out with a clear error message.
19107
19108 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19109
19110 * help.el (help-form-show): New function, to be called from C.
19111 Put help-form output in a buffer named differently than *Help*.
19112
19113 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19114
19115 * files.el (file-size-human-readable): New function.
19116
19117 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19118 computing the representation inline. Don't require `cl'.
19119
19120 2011-04-08 Glenn Morris <rgm@gnu.org>
19121
19122 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19123
19124 * net/browse-url.el (browse-url-firefox):
19125 Test system-type, not system-configuration.
19126
19127 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19128 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19129 Use log-edit-empty-buffer-p. (Bug#7598)
19130
19131 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19132 (rlogin-mode-map): Initialize in the defvar.
19133 (rlogin): Use ignore-errors.
19134
19135 * replace.el (occur-mode-map): Some fixes for menu items.
19136
19137 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19138
19139 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19140
19141 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19142
19143 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19144 issuing unused warnings.
19145
19146 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19147 macro directly.
19148
19149 * simple.el: Lisp reimplement of list-processes. Based on an
19150 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19151 (process-menu-mode): New major mode.
19152 (list-processes--refresh, list-processes):
19153 (process-menu-visit-buffer): New functions.
19154
19155 * files.el (save-buffers-kill-emacs): Don't assume any return
19156 value of list-processes, which is undocumented anyway.
19157
19158 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19159
19160 * emacs-lisp/tabulated-list.el: New file.
19161
19162 * emacs-lisp/package.el: Use Tabulated List mode.
19163 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19164 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19165 table format using Tabulated List mode variables.
19166 (package--push): New macro, replacing package-list-maybe-add.
19167 (package-menu--generate): Use package--push. Renamed from
19168 package--generate-package-list.
19169 (package-menu-refresh, list-packages): Use it.
19170 (package-menu--print-info): Rename from package-print-package.
19171 Return insertion data instead of inserting it directly.
19172 (package-menu-describe-package, package-menu-execute):
19173 Use tabulated-list-get-id.
19174 (package-menu-mark-delete, package-menu-mark-install)
19175 (package-menu-mark-unmark, package-menu-backup-unmark)
19176 (package-menu-mark-obsolete-for-deletion):
19177 Use tabulated-list-put-tag.
19178 (package--list-packages, package-menu-revert)
19179 (package-menu-get-package, package-menu-get-version)
19180 (package-menu-sort-by-column): Functions deleted.
19181 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19182 (package-menu--status-predicate, package-menu--version-predicate)
19183 (package-menu--name-predicate)
19184 (package-menu--description-predicate): Handle arguments in the
19185 Tabulated List format.
19186 (package-list-packages-no-fetch): Call list-packages.
19187
19188 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19189
19190 * files.el (after-find-file-from-revert-buffer): Remove variable.
19191 (after-find-file): Don't bind it.
19192 (revert-buffer-in-progress-p): New variable.
19193 (revert-buffer): Bind it.
19194 Pass nil for `after-find-file-from-revert-buffer'.
19195
19196 * saveplace.el (save-place-find-file-hook): Use new variable
19197 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19198
19199 2011-04-06 Glenn Morris <rgm@gnu.org>
19200
19201 * Makefile.in (AUTOGEN_VCS): New variable.
19202 (autoloads): Use $AUTOGEN_VCS.
19203
19204 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19205 * calendar/calendar.el (calendar-mode-map):
19206 Check for toolkit scroll bars. (Bug#8305)
19207
19208 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19209
19210 * minibuffer.el (completion-in-region--postch)
19211 (completion-in-region-mode): Remove unnecessary messages.
19212
19213 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19214
19215 * font-lock.el (font-lock-refresh-defaults):
19216 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19217 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19218
19219 * info.el (Info-directory-list, Info-read-node-name-2)
19220 (Info-split-parameter-string): Doc fixes.
19221 (Info-virtual-nodes): Reflow docstring.
19222 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19223 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19224 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19225 Fix typos in docstrings.
19226 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19227 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19228 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19229 (Info-restore-desktop-buffer): Mark unused parameters.
19230 (Info-directory-find-file, Info-directory-find-node)
19231 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19232 (Info-virtual-index-find-node, Info-apropos-find-file)
19233 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19234 Mark unused parameters; fix typos in docstrings.
19235 (Info-virtual-index): Remove unused local variable `nodename'.
19236
19237 2011-04-05 Deniz Dogan <deniz@dogan.se>
19238
19239 * net/rcirc.el: Update my e-mail address.
19240 (rcirc-mode-map): Remove M-o binding.
19241
19242 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19243
19244 * startup.el (command-line): Save the cursor's theme-face
19245 directly, instead of using face-override-spec.
19246
19247 * custom.el (load-theme): Minor optimization in assigning faces.
19248
19249 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19250
19251 * help-fns.el (describe-variable): Complete all variables having
19252 documentation, including keywords.
19253 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19254
19255 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19256
19257 Convert to lexical-binding.
19258
19259 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19260 (bs--get-marked-string, bs--get-modified-string)
19261 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19262 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19263 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19264
19265 * ehelp.el (electric-help-execute-extended)
19266 (electric-help-ctrl-x-prefix):
19267 * hexl.el (hexl-revert-buffer-function):
19268 * linum.el (linum-after-change, linum-after-scroll):
19269 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19270
19271 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19272
19273 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19274
19275 * epa-dired.el:
19276 * epa-mail.el:
19277 * epa-hook.el:
19278 * epa-file.el:
19279 * epa.el:
19280 * epg.el: Use lexical binding.
19281
19282 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19283
19284 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19285
19286 * textmodes/flyspell.el (flyspell-word): Recognize default
19287 dictionary case for flyspell-mark-duplications-exceptions.
19288 Use regexp matching for languages.
19289 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19290 default dictionary (Bug#7926).
19291
19292 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19293
19294 * emacs-lisp/package.el (package--with-work-buffer):
19295 Recognize https URLs.
19296
19297 * net/network-stream.el: Move from gnus/proto-stream.el.
19298 Change prefix to network-stream throughout.
19299 (open-protocol-stream): Merge into open-network-stream, leaving
19300 open-protocol-stream as an alias. Handle nil BUFFER args.
19301
19302 * subr.el (open-network-stream): Move to net/network-stream.el.
19303
19304 2011-04-02 Glenn Morris <rgm@gnu.org>
19305
19306 * find-dired.el (find-exec-terminator): New option.
19307 (find-ls-option): Test for -ls support.
19308 (find-ls-subdir-switches): Test for -b in find-ls-option.
19309 (find-dired, find-grep-dired): Doc fixes.
19310 (find-dired): Use find-exec-terminator.
19311
19312 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19313 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19314 (find-name-arg): Remove purecopy.
19315
19316 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19317 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19318 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19319 accordingly. Don't add the null-device if not needed.
19320
19321 * files.el (save-some-buffers): Doc fix.
19322
19323 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19324
19325 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19326
19327 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19328
19329 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19330 Use `dolist' rather than `mapcar'.
19331
19332 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19333
19334 Add lexical binding.
19335
19336 * subr.el (apply-partially): Use new closures rather than CL.
19337 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19338 (dolist, dotimes): Use slightly different expansion for lexical code.
19339 (functionp): Move to C.
19340 (letrec): New macro.
19341 (with-wrapper-hook): Use it and apply-partially instead of CL.
19342 (eval-after-load): Preserve lexical-binding.
19343 (save-window-excursion, with-output-to-temp-buffer): Turn them
19344 into macros.
19345
19346 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19347
19348 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19349 than the arglist.
19350 (help-add-fundoc-usage): Don't add `Not documented'.
19351 (help-function-arglist): Handle closures, subroutines, and new
19352 byte-code-functions.
19353 (help-make-usage): Remove leading underscores.
19354 (describe-function-1): Handle closures.
19355 (describe-variable): Use special-variable-p for completion.
19356
19357 * files.el (lexical-binding): Declare safe.
19358
19359 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19360 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19361 (pcase): Add `let' pattern.
19362 Change memoization so it actually works.
19363 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19364 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19365 <let>: New case.
19366
19367 * emacs-lisp/macroexp.el: Use lexical binding.
19368 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19369 Don't convert ' to #' without checking that it's indeed quoting
19370 a lambda.
19371
19372 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19373 Use eval-sexp-add-defvars.
19374 (eval-sexp-add-defvars): New fun.
19375
19376 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19377
19378 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19379 Don't autoload.
19380 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19381 than the internal `byte-compile-lambda'.
19382 (defmethod): Don't hide code under quotes.
19383 (eieio-defmethod): New `code' argument.
19384
19385 * emacs-lisp/eieio-comp.el: Remove.
19386
19387 * emacs-lisp/edebug.el (edebug-eval-defun)
19388 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19389 (edebug-toggle): Avoid `eval'.
19390
19391 * emacs-lisp/disass.el (disassemble-internal): Handle new
19392 `closure' objects.
19393 (disassemble-1): Handle new byte codes.
19394
19395 * emacs-lisp/cl.el (pushnew): Silence warning.
19396
19397 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19398 (cl-byte-compile-throw): Remove.
19399 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19400
19401 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19402 closures.
19403
19404 * emacs-lisp/cconv.el: New file.
19405
19406 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19407 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19408 (byte-compile-initial-macro-environment):
19409 Handle declare-function here.
19410 (byte-compile--lexical-environment): New var.
19411 (byte-stack-ref, byte-stack-set, byte-discardN)
19412 (byte-discardN-preserve-tos): New lap codes.
19413 (byte-interactive-p): Don't use any more.
19414 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19415 New macros.
19416 (byte-compile-lapcode): Use them and handle new lap codes.
19417 (byte-compile-obsolete): Remove.
19418 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19419 (byte-compile-arglist-warn): Check late def of inlinable funs.
19420 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19421 since they should have been expanded by now.
19422 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19423 (byte-compile-from-buffer): Remove unused second arg.
19424 (byte-compile-preprocess): New function.
19425 (byte-compile-toplevel-file-form): New function to distinguish
19426 file-form calls from outside from file-form calls from hunk-handlers.
19427 (byte-compile-file-form): Simplify.
19428 (byte-compile-file-form-defsubst): Remove.
19429 (byte-compile-file-form-defmumble): Simplify now that
19430 byte-compile-lambda always returns a byte-code-function.
19431 (byte-compile): Preprocess.
19432 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19433 Remove, not used any more.
19434 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19435 (byte-compile-make-args-desc): New funs.
19436 (byte-compile-lambda): Handle lexical functions. Always return
19437 a byte-code-function.
19438 (byte-compile-reserved-constants): New var, to make up room for
19439 closed-over variables.
19440 (byte-compile-constants-vector): Obey it.
19441 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19442 (byte-compile-macroexpand-declare-function): New function.
19443 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19444 byte-code-functions.
19445 (byte-compile-form): Check obsolescence here.
19446 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19447 (byte-compile-variable-ref): Remove.
19448 (byte-compile-dynamic-variable-op): New fun.
19449 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19450 (byte-compile-variable-set): New funs.
19451 (byte-compile-discard): Add 2 args.
19452 (byte-compile-stack-ref, byte-compile-stack-set)
19453 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19454 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19455 macroexpand-all instead.
19456 (byte-compile-quote-form): Remove.
19457 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19458 (byte-compile-bind, byte-compile-unbind): New funs.
19459 (byte-compile-let): Handle let* and lexical binding.
19460 (byte-compile-let*): Remove.
19461 (byte-compile-catch, byte-compile-unwind-protect)
19462 (byte-compile-track-mouse, byte-compile-condition-case):
19463 Handle a new :fun-body form, used for lexical scoping.
19464 (byte-compile-save-window-excursion)
19465 (byte-compile-with-output-to-temp-buffer): Remove.
19466 (byte-compile-defun): Simplify.
19467 (byte-compile-stack-adjustment): New fun.
19468 (byte-compile-out): Use it.
19469 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19470
19471 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19472 handler any more.
19473
19474 * emacs-lisp/byte-opt.el: Use lexical binding.
19475 (byte-inline-lapcode): Remove (to bytecomp).
19476 (byte-compile-inline-expand): Pay attention to inlining to/from
19477 lexically bound code.
19478 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19479 any more.
19480 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19481 any more and don't call compiler-macros.
19482 (byte-compile-splice-in-already-compiled-code): Remove.
19483 (byte-code): Don't inline any more.
19484 (disassemble-offset): Receive `bytes' as argument rather than via
19485 dynamic scoping.
19486 (byte-compile-tag-number): Declare before first use.
19487 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19488 `return' even if make-spliceable.
19489 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19490 obsolete interactive-p.
19491 (byte-optimize-lapcode): Optimize new lap-codes.
19492 Don't trip up on new form of `byte-constant' lap code.
19493
19494 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19495
19496 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19497
19498 * custom.el (custom-initialize-default, custom-declare-variable):
19499 Use `defvar'.
19500
19501 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19502 New variables.
19503 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19504 (COMPILE_FIRST): Add macroexp and cconv.
19505 * makefile.w32-in: Mirror changes in Makefile.in.
19506
19507 * vc/cvs-status.el:
19508 * vc/diff-mode.el:
19509 * vc/log-edit.el:
19510 * vc/log-view.el:
19511 * vc/smerge-mode.el:
19512 * textmodes/bibtex-style.el:
19513 * textmodes/css-mode.el:
19514 * startup.el:
19515 * uniquify.el:
19516 * minibuffer.el:
19517 * newcomment.el:
19518 * reveal.el:
19519 * server.el:
19520 * mpc.el:
19521 * emacs-lisp/smie.el:
19522 * doc-view.el:
19523 * dired.el:
19524 * abbrev.el: Use lexical binding.
19525
19526 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19527
19528 * info.el (info-display-manual): New function.
19529
19530 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19531
19532 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19533
19534 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19535
19536 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19537 an entry for that server in rcirc-authinfo. (Bug#8385)
19538
19539 2011-03-31 Glenn Morris <rgm@gnu.org>
19540
19541 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19542
19543 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19544
19545 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19546
19547 * progmodes/python.el (python-default-interpreter)
19548 (python-python-command-args, python-jython-command-args)
19549 (python-which-shell, python-which-args, python-which-bufname)
19550 (python-file-queue, python-comint-output-filter-function)
19551 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19552 variables and functions.
19553
19554 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19555
19556 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19557 (completion-in-region-mode): New minor mode.
19558 (completion-in-region): Use it.
19559 (completion-in-region--data, completion-in-region-mode-map): New vars.
19560 (completion-in-region--postch): New function.
19561 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19562 New vars.
19563 (completion--capf-wrapper): New function.
19564 (completion-at-point): Use it to track well-behavedness of
19565 hook functions.
19566 (completion-help-at-point): New command.
19567
19568 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19569
19570 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19571 syntax class to search for whitespace on a single line
19572 (Message-ID: <4D938140.4030905@redhat.com>).
19573
19574 2011-03-30 Leo Liu <sdl.web@gmail.com>
19575
19576 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19577 New commands.
19578 (edit-abbrevs-map): Bind them here.
19579 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19580
19581 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19582
19583 * allout.el (allout-hide-by-annotation, allout-flag-region):
19584 Reduce possibility of overlay leakage by making them volatile.
19585
19586 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19587 hash is not shared between buffers. Mode initialization is
19588 responsible for giving it a useful starting value.
19589 (allout-item-span): Reduce possibility of overlay leakage by
19590 making them volatile.
19591 (allout-widgets-count-buttons-in-region): Add diagnostic function
19592 for tracking down button overlay leaks.
19593
19594 2011-03-29 Leo Liu <sdl.web@gmail.com>
19595
19596 * ido.el (ido-read-internal): Use the default history var
19597 minibuffer-history if no HISTORY is specified.
19598
19599 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19600
19601 * net/imap.el (imap-shell-open, imap-process-connection-type):
19602 Use imap-process-connection-type for 'shell' streams as well as
19603 Kerberos, SSL, other subprocesses.
19604
19605 2011-03-28 Leo Liu <sdl.web@gmail.com>
19606
19607 * abbrev.el (abbrev-table-empty-p): New function.
19608 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19609 nonempty ones. (Bug#5937)
19610
19611 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19612
19613 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19614
19615 2011-03-27 Leo Liu <sdl.web@gmail.com>
19616
19617 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19618 for foreground and background colors.
19619 (ansi-color-make-color-map): Adapt.
19620
19621 2011-03-25 Leo Liu <sdl.web@gmail.com>
19622
19623 * midnight.el (midnight-time-float): Remove. Note it calculates
19624 the microsecond component incorrectly and seconds-to-time does the
19625 same job.
19626 Remove redundant (require 'timer).
19627
19628 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19629 (ido-completions): Remove unused arguments. (Bug#8329)
19630
19631 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19632
19633 * minibuffer.el (completion--flush-all-sorted-completions):
19634 Remove itself from hook.
19635 (completion-at-point): Let the functions perform the completion
19636 immediately and return nil or t.
19637 * comint.el (comint-dynamic-complete-functions): Now identical to
19638 completion-at-point-functions.
19639 (comint-dynamic-list-input-ring): Remove unused var `index'.
19640 (comint--match-partial-filename, comint--unquote&expand-filename):
19641 New funs, split from comint-match-partial-filename.
19642 (comint-dynamic-complete): Use completion-at-point.
19643 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19644
19645 2011-03-24 Drew Adams <drew.adams@oracle.com>
19646
19647 * thingatpt.el: Support `defun'.
19648
19649 2011-03-23 Leo Liu <sdl.web@gmail.com>
19650
19651 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19652
19653 * help-mode.el (help-mode-finish): Tweak regexp.
19654
19655 2011-03-23 Glenn Morris <rgm@gnu.org>
19656
19657 * eshell/esh-opt.el (eshell-eval-using-options):
19658 Do not bind unused local variable `eshell-option-stub'.
19659
19660 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19661
19662 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19663
19664 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19665 keymap variable in `with-no-warnings' to avoid a warning when the
19666 keymap has been already `defconst'ed.
19667
19668 2011-03-22 Leo Liu <sdl.web@gmail.com>
19669
19670 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19671 encode all chars in abbrevs; otherwise use emacs-mule or
19672 utf-8-emacs. (Bug#8308)
19673
19674 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19675
19676 * simple.el (backward-delete-char-untabify):
19677 Avoid warning about using `delete-backward-char'.
19678
19679 * image.el (image-type-file-name-regexps): Make it variable.
19680 `imagemagick-register-types' modifies it, and the user may want
19681 to add new extensions for known image types.
19682 (imagemagick-register-types): Throw error if not using ImageMagick.
19683
19684 2011-03-22 Leo Liu <sdl.web@gmail.com>
19685
19686 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19687 located before rcirc-prompt-end-marker.
19688 (rcirc-complete): Error if point is not after rcirc prompt.
19689 Handle the case when table is nil.
19690 (rcirc-user-authenticated): Define to fix compiler warning.
19691
19692 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19693
19694 * custom.el (custom--inhibit-theme-enable): Make it affect only
19695 custom-theme-set-variables and custom-theme-set-faces.
19696 (provide-theme): Ignore custom--inhibit-theme-enable.
19697 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19698 (custom-enabling-themes): Delete variable.
19699 (enable-theme): Accept only loaded themes as arguments.
19700 Ignore the special custom-enabled-themes variable.
19701 (custom-enabled-themes): Forbid themes from setting this.
19702 Eliminate use of custom-enabling-themes.
19703 (custom-push-theme): Quote "changed" custom var entry.
19704
19705 2011-03-21 Leo Liu <sdl.web@gmail.com>
19706
19707 * ido.el (ido-read-internal): Add ido-selected to history instead
19708 of user input.
19709
19710 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19711
19712 * subr.el (deferred-action-list, deferred-action-function):
19713 Mark obsolete.
19714
19715 2011-03-21 Leo Liu <sdl.web@gmail.com>
19716
19717 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19718 change on 2011-02-13 (bug#8309).
19719
19720 * minibuffer.el (read-file-name-function): Change default value.
19721 (read-file-name--defaults): Rename from read-file-name-defaults.
19722 (read-file-name-default): Rename from read-file-name.
19723 (read-file-name): Call read-file-name-function.
19724
19725 2011-03-21 Glenn Morris <rgm@gnu.org>
19726
19727 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19728 Doc fixes.
19729
19730 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19731
19732 * cus-theme.el: Add missing provide statement.
19733 (customize-create-theme): Extract theme value correctly.
19734 (custom-theme-visit-theme): Autoload.
19735 (customize-create-theme): Prompt before inserting default faces.
19736
19737 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19738
19739 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19740 units and musical notes.
19741
19742 2011-03-20 Leo Liu <sdl.web@gmail.com>
19743
19744 * ido.el (ido-read-internal): Use completing-read-default.
19745 (ido-completing-read): Fix compatibility with completing-read.
19746
19747 2011-03-20 Christian Ohler <ohler@gnu.org>
19748
19749 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19750 (ert-delete-all-tests): Use `called-interactively-p' rather than
19751 `interactive-p'.
19752 (ert--make-xrefs-region): Respect END.
19753
19754 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19755
19756 * dired-aux.el (dired-create-directory): Signal an error if the
19757 directory already exists (Bug#8246).
19758
19759 * facemenu.el (list-colors-display): Call list-faces-display
19760 inside with-help-window.
19761 (list-colors-print): Use display property to align the final
19762 column, instead of checking window-width.
19763
19764 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19765
19766 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19767 windows-nt systems.
19768 (emerge-protect-metachars): Quote correctly for ms-dos and
19769 windows-nt systems.
19770
19771 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19772
19773 * info.el (info-initialize): Replace all uses of `:' with
19774 path-separator for compatibility with non-Unix systems.
19775 Cache quoting of path-separator. (Bug#8258)
19776
19777 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19778
19779 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19780 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19781 (mouse-avoidance-mode): Fix typos in docstrings.
19782
19783 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19784
19785 * startup.el (package-subdirectory-regexp): Move from package.el.
19786 Omit \\` and \\', and let callers add them.
19787
19788 * emacs-lisp/package.el (package-strip-version)
19789 (package-load-all-descriptors): Add \\` and \\' to
19790 package-subdirectory-regexp before using it.
19791 (package-untar-buffer): New arg DIR; ensure that file untars only
19792 into this expected directory. Remove superfluous delete-region.
19793 (package-unpack): Caller changed.
19794 (package-tar-file-info): Use package-subdirectory-regexp.
19795
19796 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19797
19798 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19799 diff-mode-shared-map (bug#8284).
19800 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19801
19802 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19803
19804 * calendar/time-date.el (format-seconds): Use assoc instead of
19805 assoc-string, since assoc-string doesn't exist in XEmacs.
19806
19807 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
19808
19809 * custom.el (custom-known-themes): Reflow docstring.
19810 (custom-theme-load-path): Fix typo in docstring.
19811 (load-theme): Fix typo in error message.
19812 (custom-available-themes, custom-variable-theme-value):
19813 Use `let', not `let*'.
19814
19815 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19816
19817 * calc/README: Mention inclusion of musical notes.
19818
19819 * calc/calc-units.el (calc-lu-quant): Rename from
19820 `calc-logunits-quantity'.
19821 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19822 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19823 (calc-db): Rename from `calc-dblevel'.
19824 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19825 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19826 (calc-np): Rename from `calc-nplevel'.
19827 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19828 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19829 (calc-lu-plus): Rename from `calc-logunits-add'.
19830 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19831 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19832 (calc-lu-minus): Rename from `calc-logunits-sub'.
19833 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19834 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19835 (calc-lu-times): Rename from `calc-logunits-mul'.
19836 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19837 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19838 (calc-lu-divide): Rename from `calc-logunits-div'.
19839 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19840 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19841
19842 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19843 functions being autoloaded.
19844
19845 * calc/calc.el (calc-lu-power-reference): Rename from
19846 `calc-logunits-power-reference'.
19847 (calc-lu-field-reference): Rename from
19848 `calc-logunits-field-reference'.
19849
19850 * calc/calc-help.el (calc-l-prefix-help):
19851 Mention musical note functions.
19852
19853 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19854
19855 * minibuffer.el (completion-all-sorted-completions):
19856 Use :completion-cycle-penalty text property if present.
19857
19858 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19859
19860 * allout.el (allout-yank-processing): Adjust for new rebulleting
19861 regime so bullet being yanked is used without prompting the user
19862 for a choice.
19863
19864 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19865
19866 * startup.el (command-line): Warn the user that _emacs is deprecated.
19867
19868 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19869
19870 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19871 (delphi-verbose, delphi-comment-face, delphi-string-face)
19872 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19873 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19874 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19875 (delphi-new-comment-line, delphi-font-lock-defaults)
19876 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19877 Fix typos in docstrings.
19878
19879 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19880
19881 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19882 Invert the roles of character and string values for INSTEAD, so a
19883 string is used for the more common case of a defaulting prompt.
19884
19885 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19886
19887 * progmodes/ruby-mode.el (ruby-backward-sexp):
19888 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19889 * play/gamegrid.el (gamegrid-make-face):
19890 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19891 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19892 * notifications.el (notifications-notify):
19893 * net/xesam.el (xesam-search-engines):
19894 * net/quickurl.el (quickurl-list-insert):
19895 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19896
19897 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
19898
19899 * startup.el (command-line): Update package subdirectory regexp.
19900
19901 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19902
19903 * allout.el (allout-abbreviate-flattened-numbering)
19904 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19905
19906 * subr.el (read-char-choice): Only show the cursor after the prompt,
19907 not after the answer.
19908
19909 2011-03-15 Kevin Ryde <user42@zip.com.au>
19910
19911 * help-fns.el (variable-at-point): Skip leading quotes, if any
19912 (bug#8253).
19913
19914 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19915
19916 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19917 warning message.
19918
19919 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
19920
19921 * shell.el (shell): When called interactively, offer to change the
19922 shell file name on remote hosts.
19923
19924 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19925
19926 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19927 integration for LDAP parameters. The host, base, user or binddn,
19928 and secret tokens can be specified in a netrc file, for instance.
19929 This is optional because an `auth-source' parameter must be
19930 specified in the search attributes.
19931
19932 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
19933
19934 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19935
19936 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19937
19938 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19939 into declaration. Remove redundant and harmful binding.
19940
19941 2011-03-12 Eli Zaretskii <eliz@gnu.org>
19942
19943 * files.el (file-ownership-preserved-p): Pass `integer' as an
19944 explicit 2nd argument to `file-attributes'. If the file's owner
19945 is the Administrators group on Windows, and the current user is
19946 Administrator, consider that a match.
19947
19948 * server.el (server-ensure-safe-dir): Consider server directory
19949 safe on MS-Windows if its owner is the Administrators group while
19950 the current Emacs user is Administrator. Use `=' to compare
19951 numerical UIDs, since they could be integers or floats.
19952
19953 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
19954
19955 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19956
19957 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
19958
19959 Sync with Tramp 2.2.1.
19960
19961 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19962
19963 * net/trampver.el: Update release number.
19964
19965 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19966
19967 * progmodes/compile.el (compilation--previous-directory): Fix up
19968 various nil/dead-marker mismatches (bug#8014).
19969 (compilation-directory-properties, compilation-error-properties):
19970 Don't call it at a position past the one we're about to change.
19971
19972 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19973 Disable obsolescence warnings in the file that declares it.
19974
19975 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19976
19977 * allout-widgets.el (allout-widgets-tally):
19978 Initialize allout-widgets-tally as a hash table rather than nil to
19979 prevent mode-line redisplay warnings. Also, clarify the module
19980 description and fix a comment typo.
19981
19982 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
19983
19984 * help-fns.el (describe-variable): Don't complete keywords.
19985 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19986
19987 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
19988
19989 * emacs-lisp/package.el (package-version-join): Impose a standard
19990 string representation for pre/alpha/beta version lists.
19991 (package-unpack-single): Standardize the directory name by passing
19992 it through package-version-join.
19993 (package-strip-rcs-id): Accept any version string that does not
19994 signal an error in version-to-list.
19995
19996 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
19997
19998 * simple.el (delete-trailing-whitespace): Return nil for the
19999 benefit of `write-file-functions'.
20000
20001 2011-03-10 Glenn Morris <rgm@gnu.org>
20002
20003 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20004
20005 * vc/vc-git.el (vc-git-program): New option.
20006 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20007 (vc-git--call): Use it.
20008
20009 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20010
20011 * cus-edit.el (Custom-newline): If no button at point, look
20012 for a subgroup button at start-of-line. (Bug#2298)
20013
20014 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20015
20016 2011-03-10 Julien Danjou <julien@danjou.info>
20017
20018 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20019 `cursor-type' is nil.
20020
20021 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20022
20023 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20024
20025 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20026
20027 * allout.el: Change so yank of distinctive-bullet items
20028 preserves the existing header prefix, rebulleting it if necessary,
20029 rather than replacing it. This is necessary for proper operation
20030 of cooperative addons like allout-widgets.
20031 (allout-make-topic-prefix, allout-rebullet-heading):
20032 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20033 value as alternate bullet to be used, instead of prompting the user
20034 for a bullet character.
20035
20036 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20037
20038 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20039 Do not use `tramp-file-name-port', because this returns also
20040 `tramp-default-port'.
20041
20042 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20043
20044 * net/rcirc.el (rcirc-handler-001): Remove useless
20045 with-rcirc-process-buffer.
20046 (rcirc-check-auth-status): Swap arguments to string-match.
20047
20048 2011-03-09 Glenn Morris <rgm@gnu.org>
20049
20050 * shell.el (shell-mode):
20051 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20052
20053 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20054 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20055
20056 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20057
20058 * emacs-lisp/package.el (package-refresh-contents)
20059 (package-menu-execute): Use condition-case-no-debug.
20060
20061 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20062
20063 * simple.el (shell-command-to-string): Use `process-file'.
20064
20065 * emacs-lisp/package.el (package-tar-file-info): Handle also
20066 remote files.
20067
20068 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20069 Use `equal' for upload base check.
20070
20071 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20072
20073 * textmodes/texinfo.el (texinfo-environments):
20074 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20075
20076 2011-03-08 Glenn Morris <rgm@gnu.org>
20077
20078 * cus-start.el (cursor-in-non-selected-windows):
20079 Fix :set quoting oddness. (Bug#8192)
20080
20081 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20082 in some setf expressions. (Bug#2159)
20083
20084 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20085
20086 * custom.el (custom-available-themes): Return themes in
20087 alphabetical order.
20088
20089 See ChangeLog.15 for earlier changes.
20090
20091 ;; Local Variables:
20092 ;; coding: utf-8
20093 ;; End:
20094
20095 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20096
20097 This file is part of GNU Emacs.
20098
20099 GNU Emacs is free software: you can redistribute it and/or modify
20100 it under the terms of the GNU General Public License as published by
20101 the Free Software Foundation, either version 3 of the License, or
20102 (at your option) any later version.
20103
20104 GNU Emacs is distributed in the hope that it will be useful,
20105 but WITHOUT ANY WARRANTY; without even the implied warranty of
20106 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20107 GNU General Public License for more details.
20108
20109 You should have received a copy of the GNU General Public License
20110 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.